uxListRemove (struct ListItem_t * const pxItemToRemove) { struct List_t * const pxList; UBaseType_t D.6028; : pxList = pxItemToRemove->pvContainer; _1 = pxItemToRemove->pxNext; _2 = pxItemToRemove->pxPrevious; _1->pxPrevious = _2; _3 = pxItemToRemove->pxPrevious; _4 = pxItemToRemove->pxNext; _3->pxNext = _4; _5 = pxList->pxIndex; if (pxItemToRemove == _5) goto ; [INV] else goto ; [INV] : _6 = pxItemToRemove->pxPrevious; pxList->pxIndex = _6; : pxItemToRemove->pvContainer = 0B; _7 = pxList->uxNumberOfItems; _8 = _7 + 4294967295; pxList->uxNumberOfItems = _8; D.6028 = pxList->uxNumberOfItems; : : return D.6028; } vListInsert (struct List_t * const pxList, struct ListItem_t * const pxNewListItem) { const TickType_t xValueOfInsertion; struct ListItem_t * pxIterator; : xValueOfInsertion = pxNewListItem->xItemValue; if (xValueOfInsertion == 4294967295) goto ; [INV] else goto ; [INV] : pxIterator = pxList->xListEnd.pxPrevious; goto ; [INV] : pxIterator = &pxList->xListEnd; goto ; [INV] : pxIterator = pxIterator->pxNext; : _1 = pxIterator->pxNext; _2 = _1->xItemValue; if (xValueOfInsertion >= _2) goto ; [INV] else goto ; [INV] : _3 = pxIterator->pxNext; pxNewListItem->pxNext = _3; _4 = pxNewListItem->pxNext; _4->pxPrevious = pxNewListItem; pxNewListItem->pxPrevious = pxIterator; pxIterator->pxNext = pxNewListItem; pxNewListItem->pvContainer = pxList; _5 = pxList->uxNumberOfItems; _6 = _5 + 1; pxList->uxNumberOfItems = _6; return; } vListInsertEnd (struct List_t * const pxList, struct ListItem_t * const pxNewListItem) { struct ListItem_t * const pxIndex; : pxIndex = pxList->pxIndex; pxNewListItem->pxNext = pxIndex; _1 = pxIndex->pxPrevious; pxNewListItem->pxPrevious = _1; _2 = pxIndex->pxPrevious; _2->pxNext = pxNewListItem; pxIndex->pxPrevious = pxNewListItem; pxNewListItem->pvContainer = pxList; _3 = pxList->uxNumberOfItems; _4 = _3 + 1; pxList->uxNumberOfItems = _4; return; } vListInitialiseItem (struct ListItem_t * const pxItem) { : pxItem->pvContainer = 0B; return; } vListInitialise (struct List_t * const pxList) { : _1 = &pxList->xListEnd; pxList->pxIndex = _1; pxList->xListEnd.xItemValue = 4294967295; _2 = &pxList->xListEnd; pxList->xListEnd.pxNext = _2; _3 = &pxList->xListEnd; pxList->xListEnd.pxPrevious = _3; pxList->uxNumberOfItems = 0; return; }