papermario/asm/nonmatchings/os/code_41600_len_40/osDequeueThread.s
2020-09-23 23:16:13 -04:00

24 lines
941 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osDequeueThread
/* 41600 80066200 8C820000 */ lw $v0, ($a0)
/* 41604 80066204 10400009 */ beqz $v0, .L8006622C
/* 41608 80066208 00000000 */ nop
.L8006620C:
/* 4160C 8006620C 54450004 */ bnel $v0, $a1, .L80066220
/* 41610 80066210 00402021 */ addu $a0, $v0, $zero
/* 41614 80066214 8C420000 */ lw $v0, ($v0)
/* 41618 80066218 0801988B */ j .L8006622C
/* 4161C 8006621C AC820000 */ sw $v0, ($a0)
.L80066220:
/* 41620 80066220 8C420000 */ lw $v0, ($v0)
/* 41624 80066224 1440FFF9 */ bnez $v0, .L8006620C
/* 41628 80066228 00000000 */ nop
.L8006622C:
/* 4162C 8006622C 03E00008 */ jr $ra
/* 41630 80066230 00000000 */ nop
/* 41634 80066234 00000000 */ nop
/* 41638 80066238 00000000 */ nop
/* 4163C 8006623C 00000000 */ nop