papermario/asm/nonmatchings/code_7340_len_b00/crash_print_fpr.s
2020-09-23 23:16:13 -04:00

35 lines
1.6 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel crash_print_fpr
/* 76B8 8002C2B8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 76BC 8002C2BC AFBF0018 */ sw $ra, 0x18($sp)
/* 76C0 8002C2C0 8CE30000 */ lw $v1, ($a3)
/* 76C4 8002C2C4 000315C2 */ srl $v0, $v1, 0x17
/* 76C8 8002C2C8 304200FF */ andi $v0, $v0, 0xff
/* 76CC 8002C2CC 2442FFFF */ addiu $v0, $v0, -1
/* 76D0 8002C2D0 2C4200FE */ sltiu $v0, $v0, 0xfe
/* 76D4 8002C2D4 14400003 */ bnez $v0, .L8002C2E4
/* 76D8 8002C2D8 00C0402D */ daddu $t0, $a2, $zero
/* 76DC 8002C2DC 1460000A */ bnez $v1, .L8002C308
/* 76E0 8002C2E0 00000000 */ nop
.L8002C2E4:
/* 76E4 8002C2E4 3C06800A */ lui $a2, 0x800a
/* 76E8 8002C2E8 24C68034 */ addiu $a2, $a2, -0x7fcc
/* 76EC 8002C2EC C4E00000 */ lwc1 $f0, ($a3)
/* 76F0 8002C2F0 46000021 */ cvt.d.s $f0, $f0
/* 76F4 8002C2F4 F7A00010 */ sdc1 $f0, 0x10($sp)
/* 76F8 8002C2F8 0C00B082 */ jal crash_printf_string
/* 76FC 8002C2FC 0100382D */ daddu $a3, $t0, $zero
/* 7700 8002C300 0800B0C6 */ j .L8002C318
/* 7704 8002C304 00000000 */ nop
.L8002C308:
/* 7708 8002C308 3C06800A */ lui $a2, 0x800a
/* 770C 8002C30C 24C68040 */ addiu $a2, $a2, -0x7fc0
/* 7710 8002C310 0C00B082 */ jal crash_printf_string
/* 7714 8002C314 0100382D */ daddu $a3, $t0, $zero
.L8002C318:
/* 7718 8002C318 8FBF0018 */ lw $ra, 0x18($sp)
/* 771C 8002C31C 03E00008 */ jr $ra
/* 7720 8002C320 27BD0020 */ addiu $sp, $sp, 0x20