* 8008ded8: BEQ r5,r0,8008df10
loop preload:
ldr r8,fp+144
<->
match=0
umull r12, r9, r8, r6
adds r10,r10,#18
bpl 0
tst r8,r8
bne 1
str r1,fp+152
str r9,fp+256
str r12,fp+252
branch: internal
b 0 (107312c+fef8cecc)
8008dedc: MULTU r5,r9
* 8008dee0: ADDU r4,r8,r7
<->
add r3,r4,r1
8008dee4: ADDIU r7,r7,-1
str r9,fp+256
str r12,fp+252
<->
sub r1,r1,#-1
8008dee8: MFHI r11
<->
mov r4,r9
8008deec: SRL r3,r11,3
<->
lsr r6,r4,#3
8008def0: SLL r2,r3,2
str r4,fp+168
<->
lsl r2,r6,#2
8008def4: ADDU r2,r2,r3
str r6,fp+136
<->
add r2,r2,r6
8008def8: SLL r2,r2,1
<->
lsl r2,r2,#1
8008defc: SUBU r2,r5,r2
<->
sub r2,r8,r2
8008df00: ADDIU r2,r2,152
<->
add r2,r2,#152
8008df04: SB r2,r4+0
<->
cmp r3,$2097152
bvc 0
mov r4,r3
strb r2,r4+0
ldrb lr,r0,r3 lsr #12
cmp lr,$1
bne 0
8008df08: BGEZ r7,8008ded8
<->
smatch=0
mov r2,r6
cycle count (adj)
adds r10,r10,#24
bpl 0
tst r1,r1
bmi 1
sub r10,r10,#-14
str r2,fp+144
str r8,fp+144
ldr r0,fp+84
ldr r4,fp+156
ldr r6,fp+160
branch: internal
b 0 (10731ac+fef8ce4c)
8008df0c: ADDU r5,r3,r0