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

17 lines
764 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel prenmi
/* 4623C 8006AE3C 8F5B0118 */ lw $k1, 0x118($k0)
/* 46240 8006AE40 2401EFFF */ addiu $at, $zero, -0x1001
/* 46244 8006AE44 0361D824 */ and $k1, $k1, $at
/* 46248 8006AE48 AF5B0118 */ sw $k1, 0x118($k0)
/* 4624C 8006AE4C 3C098009 */ lui $t1, 0x8009
/* 46250 8006AE50 252958FC */ addiu $t1, $t1, 0x58fc
/* 46254 8006AE54 8D2A0000 */ lw $t2, ($t1)
/* 46258 8006AE58 11400004 */ beqz $t2, firstnmi
/* 4625C 8006AE5C 00000000 */ nop
/* 46260 8006AE60 2401EFFF */ addiu $at, $zero, -0x1001
/* 46264 8006AE64 10000026 */ b redispatch
/* 46268 8006AE68 02018024 */ and $s0, $s0, $at