donut-decomp/asm/libnw4r_g3d/g3d_draw_800e3c50.s

2317 lines
118 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global GetIndMtxOp__Q34nw4r3g3d6detailFQ34nw4r3g3d6ResMatQ34nw4r3g3d7ResNodeQ34nw4r3g3d6ResShp
GetIndMtxOp__Q34nw4r3g3d6detailFQ34nw4r3g3d6ResMatQ34nw4r3g3d7ResNodeQ34nw4r3g3d6ResShp:
/* 800E3C50 000DFA90 94 21 FE D0 */ stwu r1, -0x130(r1)
/* 800E3C54 000DFA94 7C 08 02 A6 */ mflr r0
/* 800E3C58 000DFA98 90 01 01 34 */ stw r0, 0x134(r1)
/* 800E3C5C 000DFA9C 39 61 01 00 */ addi r11, r1, 0x100
/* 800E3C60 000DFAA0 DB E1 01 20 */ stfd f31, 0x120(r1)
/* 800E3C64 000DFAA4 F3 E1 01 28 */ psq_st f31, 0x128(r1), 0, qr0
/* 800E3C68 000DFAA8 DB C1 01 10 */ stfd f30, 0x110(r1)
/* 800E3C6C 000DFAAC F3 C1 01 18 */ psq_st f30, 0x118(r1), 0, qr0
/* 800E3C70 000DFAB0 DB A1 01 00 */ stfd f29, 0x100(r1)
/* 800E3C74 000DFAB4 F3 A1 01 08 */ psq_st f29, 0x108(r1), 0, qr0
/* 800E3C78 000DFAB8 4B F2 36 B1 */ bl lbl_80007328
/* 800E3C7C 000DFABC 80 C3 00 00 */ lwz r6, 0x0(r3)
/* 800E3C80 000DFAC0 7C 77 1B 78 */ mr r23, r3
/* 800E3C84 000DFAC4 7C 98 23 78 */ mr r24, r4
/* 800E3C88 000DFAC8 7C B9 2B 78 */ mr r25, r5
/* 800E3C8C 000DFACC 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E3C90 000DFAD0 41 82 00 10 */ beq lbl_800E3CA0
/* 800E3C94 000DFAD4 80 05 00 00 */ lwz r0, 0x0(r5)
/* 800E3C98 000DFAD8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800E3C9C 000DFADC 40 82 00 0C */ bne lbl_800E3CA8
.global lbl_800E3CA0
lbl_800E3CA0:
/* 800E3CA0 000DFAE0 38 60 00 00 */ li r3, 0x0
/* 800E3CA4 000DFAE4 48 00 04 98 */ b lbl_800E413C
.global lbl_800E3CA8
lbl_800E3CA8:
/* 800E3CA8 000DFAE8 38 06 00 1C */ addi r0, r6, 0x1c
/* 800E3CAC 000DFAEC 90 01 00 10 */ stw r0, 0x10(r1)
/* 800E3CB0 000DFAF0 38 61 00 10 */ addi r3, r1, 0x10
/* 800E3CB4 000DFAF4 38 A1 00 68 */ addi r5, r1, 0x68
/* 800E3CB8 000DFAF8 38 C1 00 0C */ addi r6, r1, 0xc
/* 800E3CBC 000DFAFC 38 80 00 01 */ li r4, 0x1
/* 800E3CC0 000DFB00 4B FE 95 E1 */ bl GetIndirectTexMtxCalcMethod__Q34nw4r3g3d10ResMatMiscF14_GXIndTexMtxIDPQ44nw4r3g3d14ResMatMiscData14IndirectMethodPSc
/* 800E3CC4 000DFB04 38 61 00 10 */ addi r3, r1, 0x10
/* 800E3CC8 000DFB08 38 A1 00 6C */ addi r5, r1, 0x6c
/* 800E3CCC 000DFB0C 38 C1 00 0D */ addi r6, r1, 0xd
/* 800E3CD0 000DFB10 38 80 00 02 */ li r4, 0x2
/* 800E3CD4 000DFB14 4B FE 95 CD */ bl GetIndirectTexMtxCalcMethod__Q34nw4r3g3d10ResMatMiscF14_GXIndTexMtxIDPQ44nw4r3g3d14ResMatMiscData14IndirectMethodPSc
/* 800E3CD8 000DFB18 38 61 00 10 */ addi r3, r1, 0x10
/* 800E3CDC 000DFB1C 38 A1 00 70 */ addi r5, r1, 0x70
/* 800E3CE0 000DFB20 38 C1 00 0E */ addi r6, r1, 0xe
/* 800E3CE4 000DFB24 38 80 00 03 */ li r4, 0x3
/* 800E3CE8 000DFB28 4B FE 95 B9 */ bl GetIndirectTexMtxCalcMethod__Q34nw4r3g3d10ResMatMiscF14_GXIndTexMtxIDPQ44nw4r3g3d14ResMatMiscData14IndirectMethodPSc
/* 800E3CEC 000DFB2C 80 01 00 68 */ lwz r0, 0x68(r1)
/* 800E3CF0 000DFB30 2C 00 00 00 */ cmpwi r0, 0x0
/* 800E3CF4 000DFB34 40 82 00 24 */ bne lbl_800E3D18
/* 800E3CF8 000DFB38 80 01 00 6C */ lwz r0, 0x6c(r1)
/* 800E3CFC 000DFB3C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800E3D00 000DFB40 40 82 00 18 */ bne lbl_800E3D18
/* 800E3D04 000DFB44 80 01 00 70 */ lwz r0, 0x70(r1)
/* 800E3D08 000DFB48 2C 00 00 00 */ cmpwi r0, 0x0
/* 800E3D0C 000DFB4C 40 82 00 0C */ bne lbl_800E3D18
/* 800E3D10 000DFB50 38 60 00 00 */ li r3, 0x0
/* 800E3D14 000DFB54 48 00 04 28 */ b lbl_800E413C
.global lbl_800E3D18
lbl_800E3D18:
/* 800E3D18 000DFB58 3B A0 00 00 */ li r29, 0x0
/* 800E3D1C 000DFB5C 4B FF B8 15 */ bl GetIndMtxOp__Q34nw4r3g3d8G3DStateFv
/* 800E3D20 000DFB60 81 83 00 00 */ lwz r12, 0x0(r3)
/* 800E3D24 000DFB64 7C 7B 1B 78 */ mr r27, r3
/* 800E3D28 000DFB68 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 800E3D2C 000DFB6C 7D 89 03 A6 */ mtctr r12
/* 800E3D30 000DFB70 4E 80 04 21 */ bctrl
/* 800E3D34 000DFB74 C3 A2 90 B4 */ lfs f29, "@14862"@sda21(r2)
/* 800E3D38 000DFB78 3B E1 00 68 */ addi r31, r1, 0x68
/* 800E3D3C 000DFB7C C3 C2 90 B8 */ lfs f30, "@14863"@sda21(r2)
/* 800E3D40 000DFB80 3B C1 00 0C */ addi r30, r1, 0xc
/* 800E3D44 000DFB84 C3 E2 90 B0 */ lfs f31, "@14861"@sda21(r2)
/* 800E3D48 000DFB88 3B 80 00 00 */ li r28, 0x0
.global lbl_800E3D4C
lbl_800E3D4C:
/* 800E3D4C 000DFB8C 80 1F 00 00 */ lwz r0, 0x0(r31)
/* 800E3D50 000DFB90 3B 5C 00 01 */ addi r26, r28, 0x1
/* 800E3D54 000DFB94 2C 00 00 00 */ cmpwi r0, 0x0
/* 800E3D58 000DFB98 41 82 03 CC */ beq lbl_800E4124
/* 800E3D5C 000DFB9C 2C 1D 00 00 */ cmpwi r29, 0x0
/* 800E3D60 000DFBA0 40 82 02 10 */ bne lbl_800E3F70
/* 800E3D64 000DFBA4 80 79 00 00 */ lwz r3, 0x0(r25)
/* 800E3D68 000DFBA8 3B A0 00 01 */ li r29, 0x1
/* 800E3D6C 000DFBAC 80 63 00 08 */ lwz r3, 0x8(r3)
/* 800E3D70 000DFBB0 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E3D74 000DFBB4 41 80 01 F0 */ blt lbl_800E3F64
/* 800E3D78 000DFBB8 80 98 00 00 */ lwz r4, 0x0(r24)
/* 800E3D7C 000DFBBC 2C 04 00 00 */ cmpwi r4, 0x0
/* 800E3D80 000DFBC0 41 82 00 0C */ beq lbl_800E3D8C
/* 800E3D84 000DFBC4 80 04 00 10 */ lwz r0, 0x10(r4)
/* 800E3D88 000DFBC8 48 00 00 08 */ b lbl_800E3D90
.global lbl_800E3D8C
lbl_800E3D8C:
/* 800E3D8C 000DFBCC 38 00 00 00 */ li r0, 0x0
.global lbl_800E3D90
lbl_800E3D90:
/* 800E3D90 000DFBD0 7C 03 00 40 */ cmplw r3, r0
/* 800E3D94 000DFBD4 40 82 00 54 */ bne lbl_800E3DE8
/* 800E3D98 000DFBD8 4B FF B6 F9 */ bl GetViewNrmMtxPtr__Q34nw4r3g3d8G3DStateFUl
/* 800E3D9C 000DFBDC C0 03 00 00 */ lfs f0, 0x0(r3)
/* 800E3DA0 000DFBE0 D0 01 00 A8 */ stfs f0, 0xa8(r1)
/* 800E3DA4 000DFBE4 C0 03 00 04 */ lfs f0, 0x4(r3)
/* 800E3DA8 000DFBE8 D0 01 00 AC */ stfs f0, 0xac(r1)
/* 800E3DAC 000DFBEC C0 03 00 08 */ lfs f0, 0x8(r3)
/* 800E3DB0 000DFBF0 D0 01 00 B0 */ stfs f0, 0xb0(r1)
/* 800E3DB4 000DFBF4 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 800E3DB8 000DFBF8 D0 01 00 B8 */ stfs f0, 0xb8(r1)
/* 800E3DBC 000DFBFC C0 03 00 10 */ lfs f0, 0x10(r3)
/* 800E3DC0 000DFC00 D0 01 00 BC */ stfs f0, 0xbc(r1)
/* 800E3DC4 000DFC04 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 800E3DC8 000DFC08 D0 01 00 C0 */ stfs f0, 0xc0(r1)
/* 800E3DCC 000DFC0C C0 03 00 18 */ lfs f0, 0x18(r3)
/* 800E3DD0 000DFC10 D0 01 00 C8 */ stfs f0, 0xc8(r1)
/* 800E3DD4 000DFC14 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 800E3DD8 000DFC18 D0 01 00 CC */ stfs f0, 0xcc(r1)
/* 800E3DDC 000DFC1C C0 03 00 20 */ lfs f0, 0x20(r3)
/* 800E3DE0 000DFC20 D0 01 00 D0 */ stfs f0, 0xd0(r1)
/* 800E3DE4 000DFC24 48 00 00 BC */ b lbl_800E3EA0
.global lbl_800E3DE8
lbl_800E3DE8:
/* 800E3DE8 000DFC28 7E E3 BB 78 */ mr r3, r23
/* 800E3DEC 000DFC2C 4B FE 8F 25 */ bl GetParent__Q34nw4r3g3d6ResMatFv
/* 800E3DF0 000DFC30 90 61 00 08 */ stw r3, 0x8(r1)
/* 800E3DF4 000DFC34 38 C3 00 4C */ addi r6, r3, 0x4c
/* 800E3DF8 000DFC38 38 61 00 08 */ addi r3, r1, 0x8
/* 800E3DFC 000DFC3C 80 99 00 00 */ lwz r4, 0x0(r25)
/* 800E3E00 000DFC40 80 A6 00 24 */ lwz r5, 0x24(r6)
/* 800E3E04 000DFC44 80 04 00 08 */ lwz r0, 0x8(r4)
/* 800E3E08 000DFC48 7C 86 2A 14 */ add r4, r6, r5
/* 800E3E0C 000DFC4C 54 00 10 3A */ slwi r0, r0, 2
/* 800E3E10 000DFC50 7C 84 02 14 */ add r4, r4, r0
/* 800E3E14 000DFC54 80 84 00 04 */ lwz r4, 0x4(r4)
/* 800E3E18 000DFC58 4B FE 69 C9 */ bl GetResNode__Q34nw4r3g3d6ResMdlCFi
/* 800E3E1C 000DFC5C 80 98 00 00 */ lwz r4, 0x0(r24)
/* 800E3E20 000DFC60 38 A1 00 A8 */ addi r5, r1, 0xa8
/* 800E3E24 000DFC64 38 63 00 A0 */ addi r3, r3, 0xa0
/* 800E3E28 000DFC68 38 84 00 70 */ addi r4, r4, 0x70
/* 800E3E2C 000DFC6C 4B F4 C7 25 */ bl PSMTXConcat
/* 800E3E30 000DFC70 80 79 00 00 */ lwz r3, 0x0(r25)
/* 800E3E34 000DFC74 80 63 00 08 */ lwz r3, 0x8(r3)
/* 800E3E38 000DFC78 4B FF B6 59 */ bl GetViewNrmMtxPtr__Q34nw4r3g3d8G3DStateFUl
/* 800E3E3C 000DFC7C C1 03 00 20 */ lfs f8, 0x20(r3)
/* 800E3E40 000DFC80 38 81 00 A8 */ addi r4, r1, 0xa8
/* 800E3E44 000DFC84 C0 E3 00 1C */ lfs f7, 0x1c(r3)
/* 800E3E48 000DFC88 7C 85 23 78 */ mr r5, r4
/* 800E3E4C 000DFC8C C0 C3 00 18 */ lfs f6, 0x18(r3)
/* 800E3E50 000DFC90 C0 A3 00 14 */ lfs f5, 0x14(r3)
/* 800E3E54 000DFC94 C0 83 00 10 */ lfs f4, 0x10(r3)
/* 800E3E58 000DFC98 C0 63 00 0C */ lfs f3, 0xc(r3)
/* 800E3E5C 000DFC9C C0 43 00 08 */ lfs f2, 0x8(r3)
/* 800E3E60 000DFCA0 C0 23 00 04 */ lfs f1, 0x4(r3)
/* 800E3E64 000DFCA4 C0 03 00 00 */ lfs f0, 0x0(r3)
/* 800E3E68 000DFCA8 38 61 00 78 */ addi r3, r1, 0x78
/* 800E3E6C 000DFCAC D0 01 00 78 */ stfs f0, 0x78(r1)
/* 800E3E70 000DFCB0 D0 21 00 7C */ stfs f1, 0x7c(r1)
/* 800E3E74 000DFCB4 D0 41 00 80 */ stfs f2, 0x80(r1)
/* 800E3E78 000DFCB8 D3 E1 00 84 */ stfs f31, 0x84(r1)
/* 800E3E7C 000DFCBC D0 61 00 88 */ stfs f3, 0x88(r1)
/* 800E3E80 000DFCC0 D0 81 00 8C */ stfs f4, 0x8c(r1)
/* 800E3E84 000DFCC4 D0 A1 00 90 */ stfs f5, 0x90(r1)
/* 800E3E88 000DFCC8 D3 E1 00 94 */ stfs f31, 0x94(r1)
/* 800E3E8C 000DFCCC D0 C1 00 98 */ stfs f6, 0x98(r1)
/* 800E3E90 000DFCD0 D0 E1 00 9C */ stfs f7, 0x9c(r1)
/* 800E3E94 000DFCD4 D1 01 00 A0 */ stfs f8, 0xa0(r1)
/* 800E3E98 000DFCD8 D3 E1 00 A4 */ stfs f31, 0xa4(r1)
/* 800E3E9C 000DFCDC 4B F4 C6 B5 */ bl PSMTXConcat
.global lbl_800E3EA0
lbl_800E3EA0:
/* 800E3EA0 000DFCE0 C0 41 00 C8 */ lfs f2, 0xc8(r1)
/* 800E3EA4 000DFCE4 38 61 00 5C */ addi r3, r1, 0x5c
/* 800E3EA8 000DFCE8 C0 21 00 B8 */ lfs f1, 0xb8(r1)
/* 800E3EAC 000DFCEC 7C 64 1B 78 */ mr r4, r3
/* 800E3EB0 000DFCF0 C0 01 00 A8 */ lfs f0, 0xa8(r1)
/* 800E3EB4 000DFCF4 D3 E1 00 D4 */ stfs f31, 0xd4(r1)
/* 800E3EB8 000DFCF8 D3 E1 00 C4 */ stfs f31, 0xc4(r1)
/* 800E3EBC 000DFCFC D3 E1 00 B4 */ stfs f31, 0xb4(r1)
/* 800E3EC0 000DFD00 D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 800E3EC4 000DFD04 D0 21 00 60 */ stfs f1, 0x60(r1)
/* 800E3EC8 000DFD08 D0 41 00 64 */ stfs f2, 0x64(r1)
/* 800E3ECC 000DFD0C 4B F4 D6 D5 */ bl PSVECNormalize
/* 800E3ED0 000DFD10 C0 41 00 5C */ lfs f2, 0x5c(r1)
/* 800E3ED4 000DFD14 38 61 00 50 */ addi r3, r1, 0x50
/* 800E3ED8 000DFD18 C0 21 00 60 */ lfs f1, 0x60(r1)
/* 800E3EDC 000DFD1C 7C 64 1B 78 */ mr r4, r3
/* 800E3EE0 000DFD20 C0 01 00 64 */ lfs f0, 0x64(r1)
/* 800E3EE4 000DFD24 C0 A1 00 CC */ lfs f5, 0xcc(r1)
/* 800E3EE8 000DFD28 C0 81 00 BC */ lfs f4, 0xbc(r1)
/* 800E3EEC 000DFD2C C0 61 00 AC */ lfs f3, 0xac(r1)
/* 800E3EF0 000DFD30 D0 41 00 A8 */ stfs f2, 0xa8(r1)
/* 800E3EF4 000DFD34 D0 21 00 B8 */ stfs f1, 0xb8(r1)
/* 800E3EF8 000DFD38 D0 01 00 C8 */ stfs f0, 0xc8(r1)
/* 800E3EFC 000DFD3C D0 61 00 50 */ stfs f3, 0x50(r1)
/* 800E3F00 000DFD40 D0 81 00 54 */ stfs f4, 0x54(r1)
/* 800E3F04 000DFD44 D0 A1 00 58 */ stfs f5, 0x58(r1)
/* 800E3F08 000DFD48 4B F4 D6 99 */ bl PSVECNormalize
/* 800E3F0C 000DFD4C C0 41 00 50 */ lfs f2, 0x50(r1)
/* 800E3F10 000DFD50 38 61 00 44 */ addi r3, r1, 0x44
/* 800E3F14 000DFD54 C0 21 00 54 */ lfs f1, 0x54(r1)
/* 800E3F18 000DFD58 7C 64 1B 78 */ mr r4, r3
/* 800E3F1C 000DFD5C C0 01 00 58 */ lfs f0, 0x58(r1)
/* 800E3F20 000DFD60 C0 A1 00 D0 */ lfs f5, 0xd0(r1)
/* 800E3F24 000DFD64 C0 81 00 C0 */ lfs f4, 0xc0(r1)
/* 800E3F28 000DFD68 C0 61 00 B0 */ lfs f3, 0xb0(r1)
/* 800E3F2C 000DFD6C D0 41 00 AC */ stfs f2, 0xac(r1)
/* 800E3F30 000DFD70 D0 21 00 BC */ stfs f1, 0xbc(r1)
/* 800E3F34 000DFD74 D0 01 00 CC */ stfs f0, 0xcc(r1)
/* 800E3F38 000DFD78 D0 61 00 44 */ stfs f3, 0x44(r1)
/* 800E3F3C 000DFD7C D0 81 00 48 */ stfs f4, 0x48(r1)
/* 800E3F40 000DFD80 D0 A1 00 4C */ stfs f5, 0x4c(r1)
/* 800E3F44 000DFD84 4B F4 D6 5D */ bl PSVECNormalize
/* 800E3F48 000DFD88 C0 41 00 44 */ lfs f2, 0x44(r1)
/* 800E3F4C 000DFD8C C0 21 00 48 */ lfs f1, 0x48(r1)
/* 800E3F50 000DFD90 C0 01 00 4C */ lfs f0, 0x4c(r1)
/* 800E3F54 000DFD94 D0 41 00 B0 */ stfs f2, 0xb0(r1)
/* 800E3F58 000DFD98 D0 21 00 C0 */ stfs f1, 0xc0(r1)
/* 800E3F5C 000DFD9C D0 01 00 D0 */ stfs f0, 0xd0(r1)
/* 800E3F60 000DFDA0 48 00 00 10 */ b lbl_800E3F70
.global lbl_800E3F64
lbl_800E3F64:
/* 800E3F64 000DFDA4 4B FF B8 8D */ bl GetCameraMtxPtr__Q34nw4r3g3d8G3DStateFv
/* 800E3F68 000DFDA8 38 81 00 A8 */ addi r4, r1, 0xa8
/* 800E3F6C 000DFDAC 4B F4 C5 A5 */ bl PSMTXCopy
.global lbl_800E3F70
lbl_800E3F70:
/* 800E3F70 000DFDB0 88 7E 00 00 */ lbz r3, 0x0(r30)
/* 800E3F74 000DFDB4 7C 63 07 74 */ extsb r3, r3
/* 800E3F78 000DFDB8 4B FF B7 39 */ bl GetLightObj__Q34nw4r3g3d8G3DStateFi
/* 800E3F7C 000DFDBC 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E3F80 000DFDC0 7C 76 1B 78 */ mr r22, r3
/* 800E3F84 000DFDC4 41 82 01 7C */ beq lbl_800E4100
/* 800E3F88 000DFDC8 80 83 00 00 */ lwz r4, 0x0(r3)
/* 800E3F8C 000DFDCC 54 80 07 7B */ rlwinm. r0, r4, 0, 29, 29
/* 800E3F90 000DFDD0 41 82 01 70 */ beq lbl_800E4100
/* 800E3F94 000DFDD4 54 80 07 FF */ clrlwi. r0, r4, 31
/* 800E3F98 000DFDD8 41 82 00 88 */ beq lbl_800E4020
/* 800E3F9C 000DFDDC 38 81 00 38 */ addi r4, r1, 0x38
/* 800E3FA0 000DFDE0 48 00 DC 41 */ bl GetLightDir__Q34nw4r3g3d8LightObjCFPQ34nw4r4math4VEC3
/* 800E3FA4 000DFDE4 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 800E3FA8 000DFDE8 FC 1F 00 00 */ fcmpu cr0, f31, f0
/* 800E3FAC 000DFDEC 40 82 01 2C */ bne lbl_800E40D8
/* 800E3FB0 000DFDF0 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 800E3FB4 000DFDF4 FC 1F 00 00 */ fcmpu cr0, f31, f0
/* 800E3FB8 000DFDF8 40 82 01 20 */ bne lbl_800E40D8
/* 800E3FBC 000DFDFC C0 01 00 40 */ lfs f0, 0x40(r1)
/* 800E3FC0 000DFE00 FC 1F 00 00 */ fcmpu cr0, f31, f0
/* 800E3FC4 000DFE04 40 82 01 14 */ bne lbl_800E40D8
/* 800E3FC8 000DFE08 7E C3 B3 78 */ mr r3, r22
/* 800E3FCC 000DFE0C 38 81 00 38 */ addi r4, r1, 0x38
/* 800E3FD0 000DFE10 48 00 DB F1 */ bl GetLightPos__Q34nw4r3g3d8LightObjCFPQ34nw4r4math4VEC3
/* 800E3FD4 000DFE14 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 800E3FD8 000DFE18 38 61 00 38 */ addi r3, r1, 0x38
/* 800E3FDC 000DFE1C C0 21 00 3C */ lfs f1, 0x3c(r1)
/* 800E3FE0 000DFE20 7C 64 1B 78 */ mr r4, r3
/* 800E3FE4 000DFE24 FC 40 00 50 */ fneg f2, f0
/* 800E3FE8 000DFE28 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 800E3FEC 000DFE2C FC 60 08 50 */ fneg f3, f1
/* 800E3FF0 000DFE30 FC 80 00 50 */ fneg f4, f0
/* 800E3FF4 000DFE34 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 800E3FF8 000DFE38 FC 00 10 18 */ frsp f0, f2
/* 800E3FFC 000DFE3C FC 20 18 18 */ frsp f1, f3
/* 800E4000 000DFE40 D0 81 00 20 */ stfs f4, 0x20(r1)
/* 800E4004 000DFE44 FC 40 20 18 */ frsp f2, f4
/* 800E4008 000DFE48 D0 61 00 24 */ stfs f3, 0x24(r1)
/* 800E400C 000DFE4C D0 41 00 38 */ stfs f2, 0x38(r1)
/* 800E4010 000DFE50 D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 800E4014 000DFE54 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 800E4018 000DFE58 4B F4 D5 89 */ bl PSVECNormalize
/* 800E401C 000DFE5C 48 00 00 BC */ b lbl_800E40D8
.global lbl_800E4020
lbl_800E4020:
/* 800E4020 000DFE60 38 60 00 00 */ li r3, 0x0
/* 800E4024 000DFE64 40 82 00 10 */ bne lbl_800E4034
/* 800E4028 000DFE68 54 80 07 BD */ rlwinm. r0, r4, 0, 30, 30
/* 800E402C 000DFE6C 40 82 00 08 */ bne lbl_800E4034
/* 800E4030 000DFE70 38 60 00 01 */ li r3, 0x1
.global lbl_800E4034
lbl_800E4034:
/* 800E4034 000DFE74 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E4038 000DFE78 41 82 00 5C */ beq lbl_800E4094
/* 800E403C 000DFE7C 7E C3 B3 78 */ mr r3, r22
/* 800E4040 000DFE80 38 81 00 38 */ addi r4, r1, 0x38
/* 800E4044 000DFE84 48 00 DB 7D */ bl GetLightPos__Q34nw4r3g3d8LightObjCFPQ34nw4r4math4VEC3
/* 800E4048 000DFE88 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 800E404C 000DFE8C 38 61 00 38 */ addi r3, r1, 0x38
/* 800E4050 000DFE90 C0 21 00 3C */ lfs f1, 0x3c(r1)
/* 800E4054 000DFE94 7C 64 1B 78 */ mr r4, r3
/* 800E4058 000DFE98 FC 40 00 50 */ fneg f2, f0
/* 800E405C 000DFE9C C0 01 00 38 */ lfs f0, 0x38(r1)
/* 800E4060 000DFEA0 FC 60 08 50 */ fneg f3, f1
/* 800E4064 000DFEA4 FC 80 00 50 */ fneg f4, f0
/* 800E4068 000DFEA8 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 800E406C 000DFEAC FC 00 10 18 */ frsp f0, f2
/* 800E4070 000DFEB0 FC 20 18 18 */ frsp f1, f3
/* 800E4074 000DFEB4 D0 81 00 14 */ stfs f4, 0x14(r1)
/* 800E4078 000DFEB8 FC 40 20 18 */ frsp f2, f4
/* 800E407C 000DFEBC D0 61 00 18 */ stfs f3, 0x18(r1)
/* 800E4080 000DFEC0 D0 41 00 38 */ stfs f2, 0x38(r1)
/* 800E4084 000DFEC4 D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 800E4088 000DFEC8 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 800E408C 000DFECC 4B F4 D5 15 */ bl PSVECNormalize
/* 800E4090 000DFED0 48 00 00 48 */ b lbl_800E40D8
.global lbl_800E4094
lbl_800E4094:
/* 800E4094 000DFED4 7E C3 B3 78 */ mr r3, r22
/* 800E4098 000DFED8 38 81 00 2C */ addi r4, r1, 0x2c
/* 800E409C 000DFEDC 48 00 DB 45 */ bl GetLightDir__Q34nw4r3g3d8LightObjCFPQ34nw4r4math4VEC3
/* 800E40A0 000DFEE0 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 800E40A4 000DFEE4 38 61 00 38 */ addi r3, r1, 0x38
/* 800E40A8 000DFEE8 C0 41 00 2C */ lfs f2, 0x2c(r1)
/* 800E40AC 000DFEEC 7C 64 1B 78 */ mr r4, r3
/* 800E40B0 000DFEF0 EC 7D 00 32 */ fmuls f3, f29, f0
/* 800E40B4 000DFEF4 C0 21 00 30 */ lfs f1, 0x30(r1)
/* 800E40B8 000DFEF8 EC 03 00 32 */ fmuls f0, f3, f0
/* 800E40BC 000DFEFC EC 43 00 B2 */ fmuls f2, f3, f2
/* 800E40C0 000DFF00 EC 23 00 72 */ fmuls f1, f3, f1
/* 800E40C4 000DFF04 EC 1E 00 2A */ fadds f0, f30, f0
/* 800E40C8 000DFF08 D0 41 00 38 */ stfs f2, 0x38(r1)
/* 800E40CC 000DFF0C D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 800E40D0 000DFF10 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 800E40D4 000DFF14 4B F4 D4 CD */ bl PSVECNormalize
.global lbl_800E40D8
lbl_800E40D8:
/* 800E40D8 000DFF18 81 9B 00 00 */ lwz r12, 0x0(r27)
/* 800E40DC 000DFF1C 7F 63 DB 78 */ mr r3, r27
/* 800E40E0 000DFF20 7F 44 D3 78 */ mr r4, r26
/* 800E40E4 000DFF24 38 A1 00 38 */ addi r5, r1, 0x38
/* 800E40E8 000DFF28 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 800E40EC 000DFF2C 38 C1 00 A8 */ addi r6, r1, 0xa8
/* 800E40F0 000DFF30 80 FF 00 00 */ lwz r7, 0x0(r31)
/* 800E40F4 000DFF34 7D 89 03 A6 */ mtctr r12
/* 800E40F8 000DFF38 4E 80 04 21 */ bctrl
/* 800E40FC 000DFF3C 48 00 00 28 */ b lbl_800E4124
.global lbl_800E4100
lbl_800E4100:
/* 800E4100 000DFF40 81 9B 00 00 */ lwz r12, 0x0(r27)
/* 800E4104 000DFF44 7F 63 DB 78 */ mr r3, r27
/* 800E4108 000DFF48 7F 44 D3 78 */ mr r4, r26
/* 800E410C 000DFF4C 38 C1 00 A8 */ addi r6, r1, 0xa8
/* 800E4110 000DFF50 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 800E4114 000DFF54 38 A0 00 00 */ li r5, 0x0
/* 800E4118 000DFF58 80 FF 00 00 */ lwz r7, 0x0(r31)
/* 800E411C 000DFF5C 7D 89 03 A6 */ mtctr r12
/* 800E4120 000DFF60 4E 80 04 21 */ bctrl
.global lbl_800E4124
lbl_800E4124:
/* 800E4124 000DFF64 3B 9C 00 01 */ addi r28, r28, 0x1
/* 800E4128 000DFF68 3B DE 00 01 */ addi r30, r30, 0x1
/* 800E412C 000DFF6C 28 1C 00 03 */ cmplwi r28, 0x3
/* 800E4130 000DFF70 3B FF 00 04 */ addi r31, r31, 0x4
/* 800E4134 000DFF74 41 80 FC 18 */ blt lbl_800E3D4C
/* 800E4138 000DFF78 7F 63 DB 78 */ mr r3, r27
.global lbl_800E413C
lbl_800E413C:
/* 800E413C 000DFF7C 39 61 01 00 */ addi r11, r1, 0x100
/* 800E4140 000DFF80 E3 E1 01 28 */ psq_l f31, 0x128(r1), 0, qr0
/* 800E4144 000DFF84 CB E1 01 20 */ lfd f31, 0x120(r1)
/* 800E4148 000DFF88 E3 C1 01 18 */ psq_l f30, 0x118(r1), 0, qr0
/* 800E414C 000DFF8C CB C1 01 10 */ lfd f30, 0x110(r1)
/* 800E4150 000DFF90 E3 A1 01 08 */ psq_l f29, 0x108(r1), 0, qr0
/* 800E4154 000DFF94 CB A1 01 00 */ lfd f29, 0x100(r1)
/* 800E4158 000DFF98 4B F2 32 1D */ bl lbl_80007374
/* 800E415C 000DFF9C 80 01 01 34 */ lwz r0, 0x134(r1)
/* 800E4160 000DFFA0 7C 08 03 A6 */ mtlr r0
/* 800E4164 000DFFA4 38 21 01 30 */ addi r1, r1, 0x130
/* 800E4168 000DFFA8 4E 80 00 20 */ blr
/* 800E416C 000DFFAC 00 00 00 00 */ .4byte 0x00000000
.global "SetupDraw1Mat1ShpSwap__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FPQ34nw4r3g3d16Draw1Mat1ShpSwapPQ34nw4r3g3d21DrawResMdlReplacementUl"
"SetupDraw1Mat1ShpSwap__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FPQ34nw4r3g3d16Draw1Mat1ShpSwapPQ34nw4r3g3d21DrawResMdlReplacementUl":
/* 800E4170 000DFFB0 80 C4 00 08 */ lwz r6, 0x8(r4)
/* 800E4174 000DFFB4 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E4178 000DFFB8 41 82 00 14 */ beq lbl_800E418C
/* 800E417C 000DFFBC 1C 05 01 04 */ mulli r0, r5, 0x104
/* 800E4180 000DFFC0 7C 06 02 14 */ add r0, r6, r0
/* 800E4184 000DFFC4 90 03 00 00 */ stw r0, 0x0(r3)
/* 800E4188 000DFFC8 48 00 00 0C */ b lbl_800E4194
.global lbl_800E418C
lbl_800E418C:
/* 800E418C 000DFFCC 38 00 00 00 */ li r0, 0x0
/* 800E4190 000DFFD0 90 03 00 00 */ stw r0, 0x0(r3)
.global lbl_800E4194
lbl_800E4194:
/* 800E4194 000DFFD4 80 C4 00 0C */ lwz r6, 0xc(r4)
/* 800E4198 000DFFD8 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E419C 000DFFDC 41 82 00 14 */ beq lbl_800E41B0
/* 800E41A0 000DFFE0 1C 05 00 64 */ mulli r0, r5, 0x64
/* 800E41A4 000DFFE4 7C 06 02 14 */ add r0, r6, r0
/* 800E41A8 000DFFE8 90 03 00 04 */ stw r0, 0x4(r3)
/* 800E41AC 000DFFEC 48 00 00 0C */ b lbl_800E41B8
.global lbl_800E41B0
lbl_800E41B0:
/* 800E41B0 000DFFF0 38 00 00 00 */ li r0, 0x0
/* 800E41B4 000DFFF4 90 03 00 04 */ stw r0, 0x4(r3)
.global lbl_800E41B8
lbl_800E41B8:
/* 800E41B8 000DFFF8 80 C4 00 10 */ lwz r6, 0x10(r4)
/* 800E41BC 000DFFFC 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E41C0 000E0000 41 82 00 14 */ beq lbl_800E41D4
/* 800E41C4 000E0004 1C 05 02 48 */ mulli r0, r5, 0x248
/* 800E41C8 000E0008 7C 06 02 14 */ add r0, r6, r0
/* 800E41CC 000E000C 90 03 00 28 */ stw r0, 0x28(r3)
/* 800E41D0 000E0010 48 00 00 0C */ b lbl_800E41DC
.global lbl_800E41D4
lbl_800E41D4:
/* 800E41D4 000E0014 38 00 00 00 */ li r0, 0x0
/* 800E41D8 000E0018 90 03 00 28 */ stw r0, 0x28(r3)
.global lbl_800E41DC
lbl_800E41DC:
/* 800E41DC 000E001C 80 C4 00 14 */ lwz r6, 0x14(r4)
/* 800E41E0 000E0020 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E41E4 000E0024 41 82 00 14 */ beq lbl_800E41F8
/* 800E41E8 000E0028 1C 05 00 28 */ mulli r0, r5, 0x28
/* 800E41EC 000E002C 7C 06 02 14 */ add r0, r6, r0
/* 800E41F0 000E0030 90 03 00 1C */ stw r0, 0x1c(r3)
/* 800E41F4 000E0034 48 00 00 0C */ b lbl_800E4200
.global lbl_800E41F8
lbl_800E41F8:
/* 800E41F8 000E0038 38 00 00 00 */ li r0, 0x0
/* 800E41FC 000E003C 90 03 00 1C */ stw r0, 0x1c(r3)
.global lbl_800E4200
lbl_800E4200:
/* 800E4200 000E0040 80 C4 00 18 */ lwz r6, 0x18(r4)
/* 800E4204 000E0044 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E4208 000E0048 41 82 00 14 */ beq lbl_800E421C
/* 800E420C 000E004C 54 A0 18 38 */ slwi r0, r5, 3
/* 800E4210 000E0050 7C 06 02 14 */ add r0, r6, r0
/* 800E4214 000E0054 90 03 00 08 */ stw r0, 0x8(r3)
/* 800E4218 000E0058 48 00 00 0C */ b lbl_800E4224
.global lbl_800E421C
lbl_800E421C:
/* 800E421C 000E005C 38 00 00 00 */ li r0, 0x0
/* 800E4220 000E0060 90 03 00 08 */ stw r0, 0x8(r3)
.global lbl_800E4224
lbl_800E4224:
/* 800E4224 000E0064 80 C4 00 1C */ lwz r6, 0x1c(r4)
/* 800E4228 000E0068 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E422C 000E006C 41 82 00 14 */ beq lbl_800E4240
/* 800E4230 000E0070 1C 05 00 0C */ mulli r0, r5, 0xc
/* 800E4234 000E0074 7C 06 02 14 */ add r0, r6, r0
/* 800E4238 000E0078 90 03 00 24 */ stw r0, 0x24(r3)
/* 800E423C 000E007C 48 00 00 0C */ b lbl_800E4248
.global lbl_800E4240
lbl_800E4240:
/* 800E4240 000E0080 38 00 00 00 */ li r0, 0x0
/* 800E4244 000E0084 90 03 00 24 */ stw r0, 0x24(r3)
.global lbl_800E4248
lbl_800E4248:
/* 800E4248 000E0088 80 C4 00 20 */ lwz r6, 0x20(r4)
/* 800E424C 000E008C 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E4250 000E0090 41 82 00 14 */ beq lbl_800E4264
/* 800E4254 000E0094 54 A0 28 34 */ slwi r0, r5, 5
/* 800E4258 000E0098 7C 06 02 14 */ add r0, r6, r0
/* 800E425C 000E009C 90 03 00 10 */ stw r0, 0x10(r3)
/* 800E4260 000E00A0 48 00 00 0C */ b lbl_800E426C
.global lbl_800E4264
lbl_800E4264:
/* 800E4264 000E00A4 38 00 00 00 */ li r0, 0x0
/* 800E4268 000E00A8 90 03 00 10 */ stw r0, 0x10(r3)
.global lbl_800E426C
lbl_800E426C:
/* 800E426C 000E00AC 80 C4 00 24 */ lwz r6, 0x24(r4)
/* 800E4270 000E00B0 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E4274 000E00B4 41 82 00 14 */ beq lbl_800E4288
/* 800E4278 000E00B8 54 A0 38 30 */ slwi r0, r5, 7
/* 800E427C 000E00BC 7C 06 02 14 */ add r0, r6, r0
/* 800E4280 000E00C0 90 03 00 14 */ stw r0, 0x14(r3)
/* 800E4284 000E00C4 48 00 00 0C */ b lbl_800E4290
.global lbl_800E4288
lbl_800E4288:
/* 800E4288 000E00C8 38 00 00 00 */ li r0, 0x0
/* 800E428C 000E00CC 90 03 00 14 */ stw r0, 0x14(r3)
.global lbl_800E4290
lbl_800E4290:
/* 800E4290 000E00D0 80 C4 00 28 */ lwz r6, 0x28(r4)
/* 800E4294 000E00D4 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E4298 000E00D8 41 82 00 14 */ beq lbl_800E42AC
/* 800E429C 000E00DC 54 A0 30 32 */ slwi r0, r5, 6
/* 800E42A0 000E00E0 7C 06 02 14 */ add r0, r6, r0
/* 800E42A4 000E00E4 90 03 00 18 */ stw r0, 0x18(r3)
/* 800E42A8 000E00E8 48 00 00 0C */ b lbl_800E42B4
.global lbl_800E42AC
lbl_800E42AC:
/* 800E42AC 000E00EC 38 00 00 00 */ li r0, 0x0
/* 800E42B0 000E00F0 90 03 00 18 */ stw r0, 0x18(r3)
.global lbl_800E42B4
lbl_800E42B4:
/* 800E42B4 000E00F4 80 C4 00 2C */ lwz r6, 0x2c(r4)
/* 800E42B8 000E00F8 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E42BC 000E00FC 41 82 00 14 */ beq lbl_800E42D0
/* 800E42C0 000E0100 1C 05 00 A0 */ mulli r0, r5, 0xa0
/* 800E42C4 000E0104 7C 06 02 14 */ add r0, r6, r0
/* 800E42C8 000E0108 90 03 00 20 */ stw r0, 0x20(r3)
/* 800E42CC 000E010C 48 00 00 0C */ b lbl_800E42D8
.global lbl_800E42D0
lbl_800E42D0:
/* 800E42D0 000E0110 38 00 00 00 */ li r0, 0x0
/* 800E42D4 000E0114 90 03 00 20 */ stw r0, 0x20(r3)
.global lbl_800E42D8
lbl_800E42D8:
/* 800E42D8 000E0118 80 C4 00 30 */ lwz r6, 0x30(r4)
/* 800E42DC 000E011C 2C 06 00 00 */ cmpwi r6, 0x0
/* 800E42E0 000E0120 41 82 00 14 */ beq lbl_800E42F4
/* 800E42E4 000E0124 54 A0 48 2C */ slwi r0, r5, 9
/* 800E42E8 000E0128 7C 06 02 14 */ add r0, r6, r0
/* 800E42EC 000E012C 90 03 00 0C */ stw r0, 0xc(r3)
/* 800E42F0 000E0130 48 00 00 0C */ b lbl_800E42FC
.global lbl_800E42F4
lbl_800E42F4:
/* 800E42F4 000E0134 38 00 00 00 */ li r0, 0x0
/* 800E42F8 000E0138 90 03 00 0C */ stw r0, 0xc(r3)
.global lbl_800E42FC
lbl_800E42FC:
/* 800E42FC 000E013C 80 04 00 00 */ lwz r0, 0x0(r4)
/* 800E4300 000E0140 54 00 07 FF */ clrlwi. r0, r0, 31
/* 800E4304 000E0144 41 82 00 18 */ beq lbl_800E431C
/* 800E4308 000E0148 38 00 00 00 */ li r0, 0x0
/* 800E430C 000E014C 90 03 00 2C */ stw r0, 0x2c(r3)
/* 800E4310 000E0150 90 03 00 30 */ stw r0, 0x30(r3)
/* 800E4314 000E0154 90 03 00 34 */ stw r0, 0x34(r3)
/* 800E4318 000E0158 4E 80 00 20 */ blr
.global lbl_800E431C
lbl_800E431C:
/* 800E431C 000E015C 80 04 00 34 */ lwz r0, 0x34(r4)
/* 800E4320 000E0160 90 03 00 2C */ stw r0, 0x2c(r3)
/* 800E4324 000E0164 80 04 00 38 */ lwz r0, 0x38(r4)
/* 800E4328 000E0168 90 03 00 30 */ stw r0, 0x30(r3)
/* 800E432C 000E016C 80 04 00 3C */ lwz r0, 0x3c(r4)
/* 800E4330 000E0170 90 03 00 34 */ stw r0, 0x34(r3)
/* 800E4334 000E0174 4E 80 00 20 */ blr
/* 800E4338 000E0178 00 00 00 00 */ .4byte 0x00000000
/* 800E433C 000E017C 00 00 00 00 */ .4byte 0x00000000
.global "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCUcUl"
"DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCUcUl":
/* 800E4340 000E0180 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800E4344 000E0184 7C 08 02 A6 */ mflr r0
/* 800E4348 000E0188 90 01 00 54 */ stw r0, 0x54(r1)
/* 800E434C 000E018C 39 61 00 50 */ addi r11, r1, 0x50
/* 800E4350 000E0190 4B F2 2F D5 */ bl lbl_80007324
/* 800E4354 000E0194 54 A0 07 39 */ rlwinm. r0, r5, 0, 28, 28
/* 800E4358 000E0198 7C 78 1B 78 */ mr r24, r3
/* 800E435C 000E019C 7C 99 23 78 */ mr r25, r4
/* 800E4360 000E01A0 3B 60 00 00 */ li r27, 0x0
/* 800E4364 000E01A4 3B 40 00 01 */ li r26, 0x1
/* 800E4368 000E01A8 41 82 00 08 */ beq lbl_800E4370
/* 800E436C 000E01AC 63 5A 00 08 */ ori r26, r26, 0x8
.global lbl_800E4370
lbl_800E4370:
/* 800E4370 000E01B0 54 A0 07 7B */ rlwinm. r0, r5, 0, 29, 29
/* 800E4374 000E01B4 41 82 00 08 */ beq lbl_800E437C
/* 800E4378 000E01B8 63 5A 00 10 */ ori r26, r26, 0x10
.global lbl_800E437C
lbl_800E437C:
/* 800E437C 000E01BC 63 5C 00 10 */ ori r28, r26, 0x10
/* 800E4380 000E01C0 3B E1 00 08 */ addi r31, r1, 0x8
/* 800E4384 000E01C4 3B C1 00 0C */ addi r30, r1, 0xc
/* 800E4388 000E01C8 3B A1 00 10 */ addi r29, r1, 0x10
/* 800E438C 000E01CC 48 00 00 D0 */ b lbl_800E445C
.global lbl_800E4390
lbl_800E4390:
/* 800E4390 000E01D0 88 19 00 05 */ lbz r0, 0x5(r25)
/* 800E4394 000E01D4 7F 03 C3 78 */ mr r3, r24
/* 800E4398 000E01D8 88 99 00 06 */ lbz r4, 0x6(r25)
/* 800E439C 000E01DC 50 04 44 2E */ rlwimi r4, r0, 8, 16, 23
/* 800E43A0 000E01E0 4B FE 64 41 */ bl GetResNode__Q34nw4r3g3d6ResMdlCFi
/* 800E43A4 000E01E4 88 19 00 03 */ lbz r0, 0x3(r25)
/* 800E43A8 000E01E8 7C 75 1B 78 */ mr r21, r3
/* 800E43AC 000E01EC 88 99 00 04 */ lbz r4, 0x4(r25)
/* 800E43B0 000E01F0 7F 03 C3 78 */ mr r3, r24
/* 800E43B4 000E01F4 50 04 44 2E */ rlwimi r4, r0, 8, 16, 23
/* 800E43B8 000E01F8 4B FE 69 99 */ bl GetResShp__Q34nw4r3g3d6ResMdlCFi
/* 800E43BC 000E01FC 2C 15 00 00 */ cmpwi r21, 0x0
/* 800E43C0 000E0200 7C 76 1B 78 */ mr r22, r3
/* 800E43C4 000E0204 41 82 00 10 */ beq lbl_800E43D4
/* 800E43C8 000E0208 80 15 00 14 */ lwz r0, 0x14(r21)
/* 800E43CC 000E020C 54 00 C7 FE */ extrwi r0, r0, 1, 23
/* 800E43D0 000E0210 48 00 00 08 */ b lbl_800E43D8
.global lbl_800E43D4
lbl_800E43D4:
/* 800E43D4 000E0214 38 00 00 00 */ li r0, 0x0
.global lbl_800E43D8
lbl_800E43D8:
/* 800E43D8 000E0218 2C 00 00 00 */ cmpwi r0, 0x0
/* 800E43DC 000E021C 41 82 00 7C */ beq lbl_800E4458
/* 800E43E0 000E0220 80 16 00 34 */ lwz r0, 0x34(r22)
/* 800E43E4 000E0224 54 00 07 BD */ rlwinm. r0, r0, 0, 30, 30
/* 800E43E8 000E0228 40 82 00 70 */ bne lbl_800E4458
/* 800E43EC 000E022C 88 19 00 01 */ lbz r0, 0x1(r25)
/* 800E43F0 000E0230 7F 03 C3 78 */ mr r3, r24
/* 800E43F4 000E0234 88 99 00 02 */ lbz r4, 0x2(r25)
/* 800E43F8 000E0238 50 04 44 2E */ rlwimi r4, r0, 8, 16, 23
/* 800E43FC 000E023C 4B FE 68 B5 */ bl GetResMat__Q34nw4r3g3d6ResMdlCFi
/* 800E4400 000E0240 7C 03 D8 40 */ cmplw r3, r27
/* 800E4404 000E0244 92 C1 00 08 */ stw r22, 0x8(r1)
/* 800E4408 000E0248 7C 7B 1B 78 */ mr r27, r3
/* 800E440C 000E024C 7F 57 D3 78 */ mr r23, r26
/* 800E4410 000E0250 92 A1 00 0C */ stw r21, 0xc(r1)
/* 800E4414 000E0254 90 61 00 10 */ stw r3, 0x10(r1)
/* 800E4418 000E0258 40 82 00 08 */ bne lbl_800E4420
/* 800E441C 000E025C 7F 97 E3 78 */ mr r23, r28
.global lbl_800E4420
lbl_800E4420:
/* 800E4420 000E0260 92 C1 00 14 */ stw r22, 0x14(r1)
/* 800E4424 000E0264 7F A3 EB 78 */ mr r3, r29
/* 800E4428 000E0268 7F C4 F3 78 */ mr r4, r30
/* 800E442C 000E026C 7F E5 FB 78 */ mr r5, r31
/* 800E4430 000E0270 93 61 00 18 */ stw r27, 0x18(r1)
/* 800E4434 000E0274 4B FF F8 1D */ bl GetIndMtxOp__Q34nw4r3g3d6detailFQ34nw4r3g3d6ResMatQ34nw4r3g3d7ResNodeQ34nw4r3g3d6ResShp
/* 800E4438 000E0278 7C 69 1B 78 */ mr r9, r3
/* 800E443C 000E027C 7E E7 BB 78 */ mr r7, r23
/* 800E4440 000E0280 38 61 00 18 */ addi r3, r1, 0x18
/* 800E4444 000E0284 38 81 00 14 */ addi r4, r1, 0x14
/* 800E4448 000E0288 38 A0 00 00 */ li r5, 0x0
/* 800E444C 000E028C 38 C0 00 00 */ li r6, 0x0
/* 800E4450 000E0290 39 00 00 00 */ li r8, 0x0
/* 800E4454 000E0294 4B FF C0 BD */ bl Draw1Mat1ShpDirectly__Q24nw4r3g3dFQ34nw4r3g3d6ResMatQ34nw4r3g3d6ResShpPCQ34nw4r4math5MTX34PCQ34nw4r4math5MTX34UlPQ34nw4r3g3d16Draw1Mat1ShpSwapPQ44nw4r3g3d8G3DState8IndMtxOp
.global lbl_800E4458
lbl_800E4458:
/* 800E4458 000E0298 3B 39 00 08 */ addi r25, r25, 0x8
.global lbl_800E445C
lbl_800E445C:
/* 800E445C 000E029C 88 19 00 00 */ lbz r0, 0x0(r25)
/* 800E4460 000E02A0 28 00 00 01 */ cmplwi r0, 0x1
/* 800E4464 000E02A4 40 82 FF 2C */ bne lbl_800E4390
/* 800E4468 000E02A8 39 61 00 50 */ addi r11, r1, 0x50
/* 800E446C 000E02AC 4B F2 2F 05 */ bl lbl_80007370
/* 800E4470 000E02B0 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800E4474 000E02B4 7C 08 03 A6 */ mtlr r0
/* 800E4478 000E02B8 38 21 00 50 */ addi r1, r1, 0x50
/* 800E447C 000E02BC 4E 80 00 20 */ blr
.global "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCUcPQ34nw4r3g3d21DrawResMdlReplacementUl"
"DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCUcPQ34nw4r3g3d21DrawResMdlReplacementUl":
/* 800E4480 000E02C0 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 800E4484 000E02C4 7C 08 02 A6 */ mflr r0
/* 800E4488 000E02C8 90 01 00 94 */ stw r0, 0x94(r1)
/* 800E448C 000E02CC 39 61 00 90 */ addi r11, r1, 0x90
/* 800E4490 000E02D0 4B F2 2E 91 */ bl lbl_80007320
/* 800E4494 000E02D4 54 C0 07 39 */ rlwinm. r0, r6, 0, 28, 28
/* 800E4498 000E02D8 3B 20 00 00 */ li r25, 0x0
/* 800E449C 000E02DC 93 21 00 20 */ stw r25, 0x20(r1)
/* 800E44A0 000E02E0 7C 75 1B 78 */ mr r21, r3
/* 800E44A4 000E02E4 7C 96 23 78 */ mr r22, r4
/* 800E44A8 000E02E8 7C B7 2B 78 */ mr r23, r5
/* 800E44AC 000E02EC 93 21 00 24 */ stw r25, 0x24(r1)
/* 800E44B0 000E02F0 3B 00 00 01 */ li r24, 0x1
/* 800E44B4 000E02F4 93 21 00 28 */ stw r25, 0x28(r1)
/* 800E44B8 000E02F8 93 21 00 2C */ stw r25, 0x2c(r1)
/* 800E44BC 000E02FC 93 21 00 30 */ stw r25, 0x30(r1)
/* 800E44C0 000E0300 93 21 00 34 */ stw r25, 0x34(r1)
/* 800E44C4 000E0304 93 21 00 38 */ stw r25, 0x38(r1)
/* 800E44C8 000E0308 93 21 00 3C */ stw r25, 0x3c(r1)
/* 800E44CC 000E030C 93 21 00 40 */ stw r25, 0x40(r1)
/* 800E44D0 000E0310 93 21 00 44 */ stw r25, 0x44(r1)
/* 800E44D4 000E0314 93 21 00 48 */ stw r25, 0x48(r1)
/* 800E44D8 000E0318 93 21 00 4C */ stw r25, 0x4c(r1)
/* 800E44DC 000E031C 93 21 00 50 */ stw r25, 0x50(r1)
/* 800E44E0 000E0320 93 21 00 54 */ stw r25, 0x54(r1)
/* 800E44E4 000E0324 41 82 00 08 */ beq lbl_800E44EC
/* 800E44E8 000E0328 63 18 00 08 */ ori r24, r24, 0x8
.global lbl_800E44EC
lbl_800E44EC:
/* 800E44EC 000E032C 54 C0 07 7B */ rlwinm. r0, r6, 0, 29, 29
/* 800E44F0 000E0330 41 82 00 08 */ beq lbl_800E44F8
/* 800E44F4 000E0334 63 18 00 10 */ ori r24, r24, 0x10
.global lbl_800E44F8
lbl_800E44F8:
/* 800E44F8 000E0338 63 1A 00 10 */ ori r26, r24, 0x10
/* 800E44FC 000E033C 3B A1 00 08 */ addi r29, r1, 0x8
/* 800E4500 000E0340 3B 81 00 0C */ addi r28, r1, 0xc
/* 800E4504 000E0344 3B 61 00 10 */ addi r27, r1, 0x10
/* 800E4508 000E0348 48 00 01 18 */ b lbl_800E4620
.global lbl_800E450C
lbl_800E450C:
/* 800E450C 000E034C 88 16 00 05 */ lbz r0, 0x5(r22)
/* 800E4510 000E0350 7E A3 AB 78 */ mr r3, r21
/* 800E4514 000E0354 88 96 00 06 */ lbz r4, 0x6(r22)
/* 800E4518 000E0358 50 04 44 2E */ rlwimi r4, r0, 8, 16, 23
/* 800E451C 000E035C 4B FE 62 C5 */ bl GetResNode__Q34nw4r3g3d6ResMdlCFi
/* 800E4520 000E0360 88 16 00 03 */ lbz r0, 0x3(r22)
/* 800E4524 000E0364 7C 7E 1B 78 */ mr r30, r3
/* 800E4528 000E0368 88 96 00 04 */ lbz r4, 0x4(r22)
/* 800E452C 000E036C 7E A3 AB 78 */ mr r3, r21
/* 800E4530 000E0370 50 04 44 2E */ rlwimi r4, r0, 8, 16, 23
/* 800E4534 000E0374 4B FE 68 1D */ bl GetResShp__Q34nw4r3g3d6ResMdlCFi
/* 800E4538 000E0378 80 97 00 04 */ lwz r4, 0x4(r23)
/* 800E453C 000E037C 7C 7F 1B 78 */ mr r31, r3
/* 800E4540 000E0380 2C 04 00 00 */ cmpwi r4, 0x0
/* 800E4544 000E0384 41 82 00 2C */ beq lbl_800E4570
/* 800E4548 000E0388 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800E454C 000E038C 41 82 00 0C */ beq lbl_800E4558
/* 800E4550 000E0390 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 800E4554 000E0394 48 00 00 08 */ b lbl_800E455C
.global lbl_800E4558
lbl_800E4558:
/* 800E4558 000E0398 38 00 00 00 */ li r0, 0x0
.global lbl_800E455C
lbl_800E455C:
/* 800E455C 000E039C 7C 64 00 AE */ lbzx r3, r4, r0
/* 800E4560 000E03A0 7C 03 00 D0 */ neg r0, r3
/* 800E4564 000E03A4 7C 00 1B 78 */ or r0, r0, r3
/* 800E4568 000E03A8 54 00 0F FE */ srwi r0, r0, 31
/* 800E456C 000E03AC 48 00 00 1C */ b lbl_800E4588
.global lbl_800E4570
lbl_800E4570:
/* 800E4570 000E03B0 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800E4574 000E03B4 41 82 00 10 */ beq lbl_800E4584
/* 800E4578 000E03B8 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 800E457C 000E03BC 54 00 C7 FE */ extrwi r0, r0, 1, 23
/* 800E4580 000E03C0 48 00 00 08 */ b lbl_800E4588
.global lbl_800E4584
lbl_800E4584:
/* 800E4584 000E03C4 38 00 00 00 */ li r0, 0x0
.global lbl_800E4588
lbl_800E4588:
/* 800E4588 000E03C8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800E458C 000E03CC 41 82 00 90 */ beq lbl_800E461C
/* 800E4590 000E03D0 80 1F 00 34 */ lwz r0, 0x34(r31)
/* 800E4594 000E03D4 54 00 07 BD */ rlwinm. r0, r0, 0, 30, 30
/* 800E4598 000E03D8 40 82 00 84 */ bne lbl_800E461C
/* 800E459C 000E03DC 88 16 00 01 */ lbz r0, 0x1(r22)
/* 800E45A0 000E03E0 7E A3 AB 78 */ mr r3, r21
/* 800E45A4 000E03E4 88 96 00 02 */ lbz r4, 0x2(r22)
/* 800E45A8 000E03E8 50 04 44 2E */ rlwimi r4, r0, 8, 16, 23
/* 800E45AC 000E03EC 4B FE 67 05 */ bl GetResMat__Q34nw4r3g3d6ResMdlCFi
/* 800E45B0 000E03F0 80 A3 00 0C */ lwz r5, 0xc(r3)
/* 800E45B4 000E03F4 7C 74 1B 78 */ mr r20, r3
/* 800E45B8 000E03F8 7E E4 BB 78 */ mr r4, r23
/* 800E45BC 000E03FC 38 61 00 20 */ addi r3, r1, 0x20
/* 800E45C0 000E0400 4B FF FB B1 */ bl "SetupDraw1Mat1ShpSwap__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FPQ34nw4r3g3d16Draw1Mat1ShpSwapPQ34nw4r3g3d21DrawResMdlReplacementUl"
/* 800E45C4 000E0404 7C 14 C8 40 */ cmplw r20, r25
/* 800E45C8 000E0408 93 E1 00 08 */ stw r31, 0x8(r1)
/* 800E45CC 000E040C 7F 19 C3 78 */ mr r25, r24
/* 800E45D0 000E0410 93 C1 00 0C */ stw r30, 0xc(r1)
/* 800E45D4 000E0414 92 81 00 10 */ stw r20, 0x10(r1)
/* 800E45D8 000E0418 40 82 00 08 */ bne lbl_800E45E0
/* 800E45DC 000E041C 7F 59 D3 78 */ mr r25, r26
.global lbl_800E45E0
lbl_800E45E0:
/* 800E45E0 000E0420 93 E1 00 14 */ stw r31, 0x14(r1)
/* 800E45E4 000E0424 7F 63 DB 78 */ mr r3, r27
/* 800E45E8 000E0428 7F 84 E3 78 */ mr r4, r28
/* 800E45EC 000E042C 7F A5 EB 78 */ mr r5, r29
/* 800E45F0 000E0430 92 81 00 18 */ stw r20, 0x18(r1)
/* 800E45F4 000E0434 4B FF F6 5D */ bl GetIndMtxOp__Q34nw4r3g3d6detailFQ34nw4r3g3d6ResMatQ34nw4r3g3d7ResNodeQ34nw4r3g3d6ResShp
/* 800E45F8 000E0438 7C 69 1B 78 */ mr r9, r3
/* 800E45FC 000E043C 7F 27 CB 78 */ mr r7, r25
/* 800E4600 000E0440 38 61 00 18 */ addi r3, r1, 0x18
/* 800E4604 000E0444 38 81 00 14 */ addi r4, r1, 0x14
/* 800E4608 000E0448 39 01 00 20 */ addi r8, r1, 0x20
/* 800E460C 000E044C 38 A0 00 00 */ li r5, 0x0
/* 800E4610 000E0450 38 C0 00 00 */ li r6, 0x0
/* 800E4614 000E0454 4B FF BE FD */ bl Draw1Mat1ShpDirectly__Q24nw4r3g3dFQ34nw4r3g3d6ResMatQ34nw4r3g3d6ResShpPCQ34nw4r4math5MTX34PCQ34nw4r4math5MTX34UlPQ34nw4r3g3d16Draw1Mat1ShpSwapPQ44nw4r3g3d8G3DState8IndMtxOp
/* 800E4618 000E0458 7E 99 A3 78 */ mr r25, r20
.global lbl_800E461C
lbl_800E461C:
/* 800E461C 000E045C 3A D6 00 08 */ addi r22, r22, 0x8
.global lbl_800E4620
lbl_800E4620:
/* 800E4620 000E0460 88 16 00 00 */ lbz r0, 0x0(r22)
/* 800E4624 000E0464 28 00 00 01 */ cmplwi r0, 0x1
/* 800E4628 000E0468 40 82 FE E4 */ bne lbl_800E450C
/* 800E462C 000E046C 39 61 00 90 */ addi r11, r1, 0x90
/* 800E4630 000E0470 4B F2 2D 3D */ bl lbl_8000736C
/* 800E4634 000E0474 80 01 00 94 */ lwz r0, 0x94(r1)
/* 800E4638 000E0478 7C 08 03 A6 */ mtlr r0
/* 800E463C 000E047C 38 21 00 90 */ addi r1, r1, 0x90
/* 800E4640 000E0480 4E 80 00 20 */ blr
/* 800E4644 000E0484 00 00 00 00 */ .4byte 0x00000000
/* 800E4648 000E0488 00 00 00 00 */ .4byte 0x00000000
/* 800E464C 000E048C 00 00 00 00 */ .4byte 0x00000000
.global "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCQ54nw4r3g3d6detail7workmem4MdlZUlUl"
"DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCQ54nw4r3g3d6detail7workmem4MdlZUlUl":
/* 800E4650 000E0490 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800E4654 000E0494 7C 08 02 A6 */ mflr r0
/* 800E4658 000E0498 90 01 00 54 */ stw r0, 0x54(r1)
/* 800E465C 000E049C 39 61 00 50 */ addi r11, r1, 0x50
/* 800E4660 000E04A0 4B F2 2C C1 */ bl lbl_80007320
/* 800E4664 000E04A4 54 C0 07 39 */ rlwinm. r0, r6, 0, 28, 28
/* 800E4668 000E04A8 7C 74 1B 78 */ mr r20, r3
/* 800E466C 000E04AC 7C B5 2B 78 */ mr r21, r5
/* 800E4670 000E04B0 3B E0 00 00 */ li r31, 0x0
/* 800E4674 000E04B4 3A C0 00 01 */ li r22, 0x1
/* 800E4678 000E04B8 41 82 00 08 */ beq lbl_800E4680
/* 800E467C 000E04BC 62 D6 00 08 */ ori r22, r22, 0x8
.global lbl_800E4680
lbl_800E4680:
/* 800E4680 000E04C0 54 C0 07 7B */ rlwinm. r0, r6, 0, 29, 29
/* 800E4684 000E04C4 41 82 00 08 */ beq lbl_800E468C
/* 800E4688 000E04C8 62 D6 00 10 */ ori r22, r22, 0x10
.global lbl_800E468C
lbl_800E468C:
/* 800E468C 000E04CC 7C 99 23 78 */ mr r25, r4
/* 800E4690 000E04D0 62 D8 00 10 */ ori r24, r22, 0x10
/* 800E4694 000E04D4 3B 81 00 08 */ addi r28, r1, 0x8
/* 800E4698 000E04D8 3B 61 00 0C */ addi r27, r1, 0xc
/* 800E469C 000E04DC 3B 41 00 10 */ addi r26, r1, 0x10
/* 800E46A0 000E04E0 3A E0 00 00 */ li r23, 0x0
/* 800E46A4 000E04E4 48 00 00 9C */ b lbl_800E4740
.global lbl_800E46A8
lbl_800E46A8:
/* 800E46A8 000E04E8 A0 99 00 0A */ lhz r4, 0xa(r25)
/* 800E46AC 000E04EC 7E 83 A3 78 */ mr r3, r20
/* 800E46B0 000E04F0 4B FE 66 A1 */ bl GetResShp__Q34nw4r3g3d6ResMdlCFi
/* 800E46B4 000E04F4 80 03 00 34 */ lwz r0, 0x34(r3)
/* 800E46B8 000E04F8 7C 7D 1B 78 */ mr r29, r3
/* 800E46BC 000E04FC 54 00 07 BD */ rlwinm. r0, r0, 0, 30, 30
/* 800E46C0 000E0500 40 82 00 78 */ bne lbl_800E4738
/* 800E46C4 000E0504 A0 99 00 08 */ lhz r4, 0x8(r25)
/* 800E46C8 000E0508 7E 83 A3 78 */ mr r3, r20
/* 800E46CC 000E050C 4B FE 65 E5 */ bl GetResMat__Q34nw4r3g3d6ResMdlCFi
/* 800E46D0 000E0510 A0 99 00 06 */ lhz r4, 0x6(r25)
/* 800E46D4 000E0514 7C 7E 1B 78 */ mr r30, r3
/* 800E46D8 000E0518 7E 83 A3 78 */ mr r3, r20
/* 800E46DC 000E051C 4B FE 61 05 */ bl GetResNode__Q34nw4r3g3d6ResMdlCFi
/* 800E46E0 000E0520 7C 1E F8 40 */ cmplw r30, r31
/* 800E46E4 000E0524 93 A1 00 08 */ stw r29, 0x8(r1)
/* 800E46E8 000E0528 7E DF B3 78 */ mr r31, r22
/* 800E46EC 000E052C 90 61 00 0C */ stw r3, 0xc(r1)
/* 800E46F0 000E0530 93 C1 00 10 */ stw r30, 0x10(r1)
/* 800E46F4 000E0534 40 82 00 08 */ bne lbl_800E46FC
/* 800E46F8 000E0538 7F 1F C3 78 */ mr r31, r24
.global lbl_800E46FC
lbl_800E46FC:
/* 800E46FC 000E053C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800E4700 000E0540 7F 43 D3 78 */ mr r3, r26
/* 800E4704 000E0544 7F 64 DB 78 */ mr r4, r27
/* 800E4708 000E0548 7F 85 E3 78 */ mr r5, r28
/* 800E470C 000E054C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800E4710 000E0550 4B FF F5 41 */ bl GetIndMtxOp__Q34nw4r3g3d6detailFQ34nw4r3g3d6ResMatQ34nw4r3g3d7ResNodeQ34nw4r3g3d6ResShp
/* 800E4714 000E0554 7C 69 1B 78 */ mr r9, r3
/* 800E4718 000E0558 7F E7 FB 78 */ mr r7, r31
/* 800E471C 000E055C 38 61 00 18 */ addi r3, r1, 0x18
/* 800E4720 000E0560 38 81 00 14 */ addi r4, r1, 0x14
/* 800E4724 000E0564 38 A0 00 00 */ li r5, 0x0
/* 800E4728 000E0568 38 C0 00 00 */ li r6, 0x0
/* 800E472C 000E056C 39 00 00 00 */ li r8, 0x0
/* 800E4730 000E0570 4B FF BD E1 */ bl Draw1Mat1ShpDirectly__Q24nw4r3g3dFQ34nw4r3g3d6ResMatQ34nw4r3g3d6ResShpPCQ34nw4r4math5MTX34PCQ34nw4r4math5MTX34UlPQ34nw4r3g3d16Draw1Mat1ShpSwapPQ44nw4r3g3d8G3DState8IndMtxOp
/* 800E4734 000E0574 7F DF F3 78 */ mr r31, r30
.global lbl_800E4738
lbl_800E4738:
/* 800E4738 000E0578 3B 39 00 0C */ addi r25, r25, 0xc
/* 800E473C 000E057C 3A F7 00 01 */ addi r23, r23, 0x1
.global lbl_800E4740
lbl_800E4740:
/* 800E4740 000E0580 7C 17 A8 40 */ cmplw r23, r21
/* 800E4744 000E0584 41 80 FF 64 */ blt lbl_800E46A8
/* 800E4748 000E0588 39 61 00 50 */ addi r11, r1, 0x50
/* 800E474C 000E058C 4B F2 2C 21 */ bl lbl_8000736C
/* 800E4750 000E0590 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800E4754 000E0594 7C 08 03 A6 */ mtlr r0
/* 800E4758 000E0598 38 21 00 50 */ addi r1, r1, 0x50
/* 800E475C 000E059C 4E 80 00 20 */ blr
.global "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCQ54nw4r3g3d6detail7workmem4MdlZUlPQ34nw4r3g3d21DrawResMdlReplacementUl"
"DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCQ54nw4r3g3d6detail7workmem4MdlZUlPQ34nw4r3g3d21DrawResMdlReplacementUl":
/* 800E4760 000E05A0 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 800E4764 000E05A4 7C 08 02 A6 */ mflr r0
/* 800E4768 000E05A8 90 01 00 94 */ stw r0, 0x94(r1)
/* 800E476C 000E05AC 39 61 00 90 */ addi r11, r1, 0x90
/* 800E4770 000E05B0 4B F2 2B A9 */ bl lbl_80007318
/* 800E4774 000E05B4 54 E0 07 39 */ rlwinm. r0, r7, 0, 28, 28
/* 800E4778 000E05B8 3B 60 00 00 */ li r27, 0x0
/* 800E477C 000E05BC 93 61 00 20 */ stw r27, 0x20(r1)
/* 800E4780 000E05C0 7C 7C 1B 78 */ mr r28, r3
/* 800E4784 000E05C4 7C BD 2B 78 */ mr r29, r5
/* 800E4788 000E05C8 7C DE 33 78 */ mr r30, r6
/* 800E478C 000E05CC 93 61 00 24 */ stw r27, 0x24(r1)
/* 800E4790 000E05D0 3B E0 00 01 */ li r31, 0x1
/* 800E4794 000E05D4 93 61 00 28 */ stw r27, 0x28(r1)
/* 800E4798 000E05D8 93 61 00 2C */ stw r27, 0x2c(r1)
/* 800E479C 000E05DC 93 61 00 30 */ stw r27, 0x30(r1)
/* 800E47A0 000E05E0 93 61 00 34 */ stw r27, 0x34(r1)
/* 800E47A4 000E05E4 93 61 00 38 */ stw r27, 0x38(r1)
/* 800E47A8 000E05E8 93 61 00 3C */ stw r27, 0x3c(r1)
/* 800E47AC 000E05EC 93 61 00 40 */ stw r27, 0x40(r1)
/* 800E47B0 000E05F0 93 61 00 44 */ stw r27, 0x44(r1)
/* 800E47B4 000E05F4 93 61 00 48 */ stw r27, 0x48(r1)
/* 800E47B8 000E05F8 93 61 00 4C */ stw r27, 0x4c(r1)
/* 800E47BC 000E05FC 93 61 00 50 */ stw r27, 0x50(r1)
/* 800E47C0 000E0600 93 61 00 54 */ stw r27, 0x54(r1)
/* 800E47C4 000E0604 41 82 00 08 */ beq lbl_800E47CC
/* 800E47C8 000E0608 63 FF 00 08 */ ori r31, r31, 0x8
.global lbl_800E47CC
lbl_800E47CC:
/* 800E47CC 000E060C 54 E0 07 7B */ rlwinm. r0, r7, 0, 29, 29
/* 800E47D0 000E0610 41 82 00 08 */ beq lbl_800E47D8
/* 800E47D4 000E0614 63 FF 00 10 */ ori r31, r31, 0x10
.global lbl_800E47D8
lbl_800E47D8:
/* 800E47D8 000E0618 7C 94 23 78 */ mr r20, r4
/* 800E47DC 000E061C 63 F3 00 10 */ ori r19, r31, 0x10
/* 800E47E0 000E0620 3A E1 00 08 */ addi r23, r1, 0x8
/* 800E47E4 000E0624 3A C1 00 0C */ addi r22, r1, 0xc
/* 800E47E8 000E0628 3A A1 00 10 */ addi r21, r1, 0x10
/* 800E47EC 000E062C 3A 40 00 00 */ li r18, 0x0
/* 800E47F0 000E0630 48 00 00 B0 */ b lbl_800E48A0
.global lbl_800E47F4
lbl_800E47F4:
/* 800E47F4 000E0634 A0 94 00 0A */ lhz r4, 0xa(r20)
/* 800E47F8 000E0638 7F 83 E3 78 */ mr r3, r28
/* 800E47FC 000E063C 4B FE 65 55 */ bl GetResShp__Q34nw4r3g3d6ResMdlCFi
/* 800E4800 000E0640 80 03 00 34 */ lwz r0, 0x34(r3)
/* 800E4804 000E0644 7C 78 1B 78 */ mr r24, r3
/* 800E4808 000E0648 54 00 07 BD */ rlwinm. r0, r0, 0, 30, 30
/* 800E480C 000E064C 40 82 00 8C */ bne lbl_800E4898
/* 800E4810 000E0650 A0 94 00 08 */ lhz r4, 0x8(r20)
/* 800E4814 000E0654 7F 83 E3 78 */ mr r3, r28
/* 800E4818 000E0658 4B FE 64 99 */ bl GetResMat__Q34nw4r3g3d6ResMdlCFi
/* 800E481C 000E065C A0 94 00 06 */ lhz r4, 0x6(r20)
/* 800E4820 000E0660 7C 79 1B 78 */ mr r25, r3
/* 800E4824 000E0664 7F 83 E3 78 */ mr r3, r28
/* 800E4828 000E0668 4B FE 5F B9 */ bl GetResNode__Q34nw4r3g3d6ResMdlCFi
/* 800E482C 000E066C 80 B9 00 0C */ lwz r5, 0xc(r25)
/* 800E4830 000E0670 7C 7A 1B 78 */ mr r26, r3
/* 800E4834 000E0674 7F C4 F3 78 */ mr r4, r30
/* 800E4838 000E0678 38 61 00 20 */ addi r3, r1, 0x20
/* 800E483C 000E067C 4B FF F9 35 */ bl "SetupDraw1Mat1ShpSwap__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FPQ34nw4r3g3d16Draw1Mat1ShpSwapPQ34nw4r3g3d21DrawResMdlReplacementUl"
/* 800E4840 000E0680 7C 19 D8 40 */ cmplw r25, r27
/* 800E4844 000E0684 93 01 00 08 */ stw r24, 0x8(r1)
/* 800E4848 000E0688 7F FB FB 78 */ mr r27, r31
/* 800E484C 000E068C 93 41 00 0C */ stw r26, 0xc(r1)
/* 800E4850 000E0690 93 21 00 10 */ stw r25, 0x10(r1)
/* 800E4854 000E0694 40 82 00 08 */ bne lbl_800E485C
/* 800E4858 000E0698 7E 7B 9B 78 */ mr r27, r19
.global lbl_800E485C
lbl_800E485C:
/* 800E485C 000E069C 93 01 00 14 */ stw r24, 0x14(r1)
/* 800E4860 000E06A0 7E A3 AB 78 */ mr r3, r21
/* 800E4864 000E06A4 7E C4 B3 78 */ mr r4, r22
/* 800E4868 000E06A8 7E E5 BB 78 */ mr r5, r23
/* 800E486C 000E06AC 93 21 00 18 */ stw r25, 0x18(r1)
/* 800E4870 000E06B0 4B FF F3 E1 */ bl GetIndMtxOp__Q34nw4r3g3d6detailFQ34nw4r3g3d6ResMatQ34nw4r3g3d7ResNodeQ34nw4r3g3d6ResShp
/* 800E4874 000E06B4 7C 69 1B 78 */ mr r9, r3
/* 800E4878 000E06B8 7F 67 DB 78 */ mr r7, r27
/* 800E487C 000E06BC 38 61 00 18 */ addi r3, r1, 0x18
/* 800E4880 000E06C0 38 81 00 14 */ addi r4, r1, 0x14
/* 800E4884 000E06C4 39 01 00 20 */ addi r8, r1, 0x20
/* 800E4888 000E06C8 38 A0 00 00 */ li r5, 0x0
/* 800E488C 000E06CC 38 C0 00 00 */ li r6, 0x0
/* 800E4890 000E06D0 4B FF BC 81 */ bl Draw1Mat1ShpDirectly__Q24nw4r3g3dFQ34nw4r3g3d6ResMatQ34nw4r3g3d6ResShpPCQ34nw4r4math5MTX34PCQ34nw4r4math5MTX34UlPQ34nw4r3g3d16Draw1Mat1ShpSwapPQ44nw4r3g3d8G3DState8IndMtxOp
/* 800E4894 000E06D4 7F 3B CB 78 */ mr r27, r25
.global lbl_800E4898
lbl_800E4898:
/* 800E4898 000E06D8 3A 94 00 0C */ addi r20, r20, 0xc
/* 800E489C 000E06DC 3A 52 00 01 */ addi r18, r18, 0x1
.global lbl_800E48A0
lbl_800E48A0:
/* 800E48A0 000E06E0 7C 12 E8 40 */ cmplw r18, r29
/* 800E48A4 000E06E4 41 80 FF 50 */ blt lbl_800E47F4
/* 800E48A8 000E06E8 39 61 00 90 */ addi r11, r1, 0x90
/* 800E48AC 000E06EC 4B F2 2A B9 */ bl lbl_80007364
/* 800E48B0 000E06F0 80 01 00 94 */ lwz r0, 0x94(r1)
/* 800E48B4 000E06F4 7C 08 03 A6 */ mtlr r0
/* 800E48B8 000E06F8 38 21 00 90 */ addi r1, r1, 0x90
/* 800E48BC 000E06FC 4E 80 00 20 */ blr
.global "SetUpMdlZ__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FPUlQ34nw4r3g3d6ResMdlPCQ34nw4r4math5MTX34PCUcPQ34nw4r3g3d21DrawResMdlReplacement"
"SetUpMdlZ__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FPUlQ34nw4r3g3d6ResMdlPCQ34nw4r4math5MTX34PCUcPQ34nw4r3g3d21DrawResMdlReplacement":
/* 800E48C0 000E0700 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800E48C4 000E0704 7C 08 02 A6 */ mflr r0
/* 800E48C8 000E0708 90 01 00 44 */ stw r0, 0x44(r1)
/* 800E48CC 000E070C 39 61 00 30 */ addi r11, r1, 0x30
/* 800E48D0 000E0710 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 800E48D4 000E0714 F3 E1 00 38 */ psq_st f31, 0x38(r1), 0, qr0
/* 800E48D8 000E0718 4B F2 2A 51 */ bl lbl_80007328
/* 800E48DC 000E071C 81 04 00 00 */ lwz r8, 0x0(r4)
/* 800E48E0 000E0720 7C 77 1B 78 */ mr r23, r3
/* 800E48E4 000E0724 7C 98 23 78 */ mr r24, r4
/* 800E48E8 000E0728 7C B9 2B 78 */ mr r25, r5
/* 800E48EC 000E072C 83 A8 00 68 */ lwz r29, 0x68(r8)
/* 800E48F0 000E0730 7C DA 33 78 */ mr r26, r6
/* 800E48F4 000E0734 7C FB 3B 78 */ mr r27, r7
/* 800E48F8 000E0738 3B C0 00 00 */ li r30, 0x0
/* 800E48FC 000E073C 4B FF E8 55 */ bl GetScaleTemporary__Q44nw4r3g3d6detail7workmemFv
/* 800E4900 000E0740 7C 7C 1B 78 */ mr r28, r3
/* 800E4904 000E0744 C3 E2 90 B0 */ lfs f31, "@14861"@sda21(r2)
/* 800E4908 000E0748 7F 9F E3 78 */ mr r31, r28
/* 800E490C 000E074C 48 00 00 E4 */ b lbl_800E49F0
.global lbl_800E4910
lbl_800E4910:
/* 800E4910 000E0750 88 1A 00 05 */ lbz r0, 0x5(r26)
/* 800E4914 000E0754 7F 03 C3 78 */ mr r3, r24
/* 800E4918 000E0758 8A DA 00 06 */ lbz r22, 0x6(r26)
/* 800E491C 000E075C 50 16 44 2E */ rlwimi r22, r0, 8, 16, 23
/* 800E4920 000E0760 7E C4 B3 78 */ mr r4, r22
/* 800E4924 000E0764 4B FE 5E BD */ bl GetResNode__Q34nw4r3g3d6ResMdlCFi
/* 800E4928 000E0768 2C 1B 00 00 */ cmpwi r27, 0x0
/* 800E492C 000E076C 41 82 00 10 */ beq lbl_800E493C
/* 800E4930 000E0770 80 9B 00 04 */ lwz r4, 0x4(r27)
/* 800E4934 000E0774 2C 04 00 00 */ cmpwi r4, 0x0
/* 800E4938 000E0778 40 82 00 20 */ bne lbl_800E4958
.global lbl_800E493C
lbl_800E493C:
/* 800E493C 000E077C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E4940 000E0780 41 82 00 10 */ beq lbl_800E4950
/* 800E4944 000E0784 80 03 00 14 */ lwz r0, 0x14(r3)
/* 800E4948 000E0788 54 00 C7 FE */ extrwi r0, r0, 1, 23
/* 800E494C 000E078C 48 00 00 30 */ b lbl_800E497C
.global lbl_800E4950
lbl_800E4950:
/* 800E4950 000E0790 38 00 00 00 */ li r0, 0x0
/* 800E4954 000E0794 48 00 00 28 */ b lbl_800E497C
.global lbl_800E4958
lbl_800E4958:
/* 800E4958 000E0798 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E495C 000E079C 41 82 00 0C */ beq lbl_800E4968
/* 800E4960 000E07A0 80 03 00 0C */ lwz r0, 0xc(r3)
/* 800E4964 000E07A4 48 00 00 08 */ b lbl_800E496C
.global lbl_800E4968
lbl_800E4968:
/* 800E4968 000E07A8 38 00 00 00 */ li r0, 0x0
.global lbl_800E496C
lbl_800E496C:
/* 800E496C 000E07AC 7C 84 00 AE */ lbzx r4, r4, r0
/* 800E4970 000E07B0 7C 04 00 D0 */ neg r0, r4
/* 800E4974 000E07B4 7C 00 23 78 */ or r0, r0, r4
/* 800E4978 000E07B8 54 00 0F FE */ srwi r0, r0, 31
.global lbl_800E497C
lbl_800E497C:
/* 800E497C 000E07BC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800E4980 000E07C0 41 82 00 6C */ beq lbl_800E49EC
/* 800E4984 000E07C4 88 9A 00 01 */ lbz r4, 0x1(r26)
/* 800E4988 000E07C8 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E498C 000E07CC B2 DF 00 06 */ sth r22, 0x6(r31)
/* 800E4990 000E07D0 88 1A 00 02 */ lbz r0, 0x2(r26)
/* 800E4994 000E07D4 50 80 44 2E */ rlwimi r0, r4, 8, 16, 23
/* 800E4998 000E07D8 B0 1F 00 08 */ sth r0, 0x8(r31)
/* 800E499C 000E07DC 88 9A 00 03 */ lbz r4, 0x3(r26)
/* 800E49A0 000E07E0 88 1A 00 04 */ lbz r0, 0x4(r26)
/* 800E49A4 000E07E4 50 80 44 2E */ rlwimi r0, r4, 8, 16, 23
/* 800E49A8 000E07E8 B0 1F 00 0A */ sth r0, 0xa(r31)
/* 800E49AC 000E07EC 41 82 00 0C */ beq lbl_800E49B8
/* 800E49B0 000E07F0 80 03 00 10 */ lwz r0, 0x10(r3)
/* 800E49B4 000E07F4 48 00 00 08 */ b lbl_800E49BC
.global lbl_800E49B8
lbl_800E49B8:
/* 800E49B8 000E07F8 38 00 00 00 */ li r0, 0x0
.global lbl_800E49BC
lbl_800E49BC:
/* 800E49BC 000E07FC 7C 00 E8 40 */ cmplw r0, r29
/* 800E49C0 000E0800 40 80 00 18 */ bge lbl_800E49D8
/* 800E49C4 000E0804 1C 00 00 30 */ mulli r0, r0, 0x30
/* 800E49C8 000E0808 7C 79 02 14 */ add r3, r25, r0
/* 800E49CC 000E080C C0 03 00 2C */ lfs f0, 0x2c(r3)
/* 800E49D0 000E0810 D0 1F 00 00 */ stfs f0, 0x0(r31)
/* 800E49D4 000E0814 48 00 00 08 */ b lbl_800E49DC
.global lbl_800E49D8
lbl_800E49D8:
/* 800E49D8 000E0818 D3 FF 00 00 */ stfs f31, 0x0(r31)
.global lbl_800E49DC
lbl_800E49DC:
/* 800E49DC 000E081C 88 1A 00 07 */ lbz r0, 0x7(r26)
/* 800E49E0 000E0820 3B DE 00 01 */ addi r30, r30, 0x1
/* 800E49E4 000E0824 B0 1F 00 04 */ sth r0, 0x4(r31)
/* 800E49E8 000E0828 3B FF 00 0C */ addi r31, r31, 0xc
.global lbl_800E49EC
lbl_800E49EC:
/* 800E49EC 000E082C 3B 5A 00 08 */ addi r26, r26, 0x8
.global lbl_800E49F0
lbl_800E49F0:
/* 800E49F0 000E0830 88 1A 00 00 */ lbz r0, 0x0(r26)
/* 800E49F4 000E0834 28 00 00 01 */ cmplwi r0, 0x1
/* 800E49F8 000E0838 40 82 FF 18 */ bne lbl_800E4910
/* 800E49FC 000E083C 93 D7 00 00 */ stw r30, 0x0(r23)
/* 800E4A00 000E0840 7F 83 E3 78 */ mr r3, r28
/* 800E4A04 000E0844 E3 E1 00 38 */ psq_l f31, 0x38(r1), 0, qr0
/* 800E4A08 000E0848 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 800E4A0C 000E084C 39 61 00 30 */ addi r11, r1, 0x30
/* 800E4A10 000E0850 4B F2 29 65 */ bl lbl_80007374
/* 800E4A14 000E0854 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800E4A18 000E0858 7C 08 03 A6 */ mtlr r0
/* 800E4A1C 000E085C 38 21 00 40 */ addi r1, r1, 0x40
/* 800E4A20 000E0860 4E 80 00 20 */ blr
/* 800E4A24 000E0864 00 00 00 00 */ .4byte 0x00000000
/* 800E4A28 000E0868 00 00 00 00 */ .4byte 0x00000000
/* 800E4A2C 000E086C 00 00 00 00 */ .4byte 0x00000000
.global DrawResMdlDirectly__Q24nw4r3g3dFQ34nw4r3g3d6ResMdlPCQ34nw4r4math5MTX34PCQ34nw4r4math5MTX33PCQ34nw4r4math5MTX34PCUcPCUcPQ34nw4r3g3d21DrawResMdlReplacementUl
DrawResMdlDirectly__Q24nw4r3g3dFQ34nw4r3g3d6ResMdlPCQ34nw4r4math5MTX34PCQ34nw4r4math5MTX33PCQ34nw4r4math5MTX34PCUcPCUcPQ34nw4r3g3d21DrawResMdlReplacementUl:
/* 800E4A30 000E0870 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800E4A34 000E0874 7C 08 02 A6 */ mflr r0
/* 800E4A38 000E0878 90 01 00 54 */ stw r0, 0x54(r1)
/* 800E4A3C 000E087C 39 61 00 50 */ addi r11, r1, 0x50
/* 800E4A40 000E0880 4B F2 28 F9 */ bl lbl_80007338
/* 800E4A44 000E0884 7C 9C 23 78 */ mr r28, r4
/* 800E4A48 000E0888 7C 7B 1B 78 */ mr r27, r3
/* 800E4A4C 000E088C 7C A4 2B 78 */ mr r4, r5
/* 800E4A50 000E0890 7C C5 33 78 */ mr r5, r6
/* 800E4A54 000E0894 7C FA 3B 78 */ mr r26, r7
/* 800E4A58 000E0898 7D 1D 43 78 */ mr r29, r8
/* 800E4A5C 000E089C 7D 3E 4B 78 */ mr r30, r9
/* 800E4A60 000E08A0 7D 5F 53 78 */ mr r31, r10
/* 800E4A64 000E08A4 7F 83 E3 78 */ mr r3, r28
/* 800E4A68 000E08A8 4B FF A9 99 */ bl SetViewPosNrmMtxArray__Q34nw4r3g3d8G3DStateFPCQ34nw4r4math5MTX34PCQ34nw4r4math5MTX33PCQ34nw4r4math5MTX34
/* 800E4A6C 000E08AC 57 E0 06 F7 */ rlwinm. r0, r31, 0, 27, 27
/* 800E4A70 000E08B0 40 82 00 10 */ bne lbl_800E4A80
/* 800E4A74 000E08B4 38 60 00 00 */ li r3, 0x0
/* 800E4A78 000E08B8 4B F3 82 B9 */ bl LCQueueWait
/* 800E4A7C 000E08BC 4B F3 56 A5 */ bl PPCSync
.global lbl_800E4A80
lbl_800E4A80:
/* 800E4A80 000E08C0 2C 1A 00 00 */ cmpwi r26, 0x0
/* 800E4A84 000E08C4 41 82 00 D4 */ beq lbl_800E4B58
/* 800E4A88 000E08C8 57 E0 07 FF */ clrlwi. r0, r31, 31
/* 800E4A8C 000E08CC 41 82 00 8C */ beq lbl_800E4B18
/* 800E4A90 000E08D0 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 800E4A94 000E08D4 7F 85 E3 78 */ mr r5, r28
/* 800E4A98 000E08D8 90 01 00 2C */ stw r0, 0x2c(r1)
/* 800E4A9C 000E08DC 7F 46 D3 78 */ mr r6, r26
/* 800E4AA0 000E08E0 7F C7 F3 78 */ mr r7, r30
/* 800E4AA4 000E08E4 38 61 00 34 */ addi r3, r1, 0x34
/* 800E4AA8 000E08E8 38 81 00 2C */ addi r4, r1, 0x2c
/* 800E4AAC 000E08EC 4B FF FE 15 */ bl "SetUpMdlZ__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FPUlQ34nw4r3g3d6ResMdlPCQ34nw4r4math5MTX34PCUcPQ34nw4r3g3d21DrawResMdlReplacement"
/* 800E4AB0 000E08F0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800E4AB4 000E08F4 3C A0 80 0E */ lis r5, "FrontToBack__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ"@ha
/* 800E4AB8 000E08F8 7C 7A 1B 78 */ mr r26, r3
/* 800E4ABC 000E08FC 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800E4AC0 000E0900 38 A5 4C 60 */ addi r5, r5, "FrontToBack__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ"@l
/* 800E4AC4 000E0904 7C 83 02 14 */ add r4, r3, r0
/* 800E4AC8 000E0908 48 00 02 49 */ bl "sort<PQ54nw4r3g3d6detail7workmem4MdlZ,PFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v"
/* 800E4ACC 000E090C 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800E4AD0 000E0910 41 82 00 28 */ beq lbl_800E4AF8
/* 800E4AD4 000E0914 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 800E4AD8 000E0918 7F 44 D3 78 */ mr r4, r26
/* 800E4ADC 000E091C 90 01 00 28 */ stw r0, 0x28(r1)
/* 800E4AE0 000E0920 7F C6 F3 78 */ mr r6, r30
/* 800E4AE4 000E0924 80 A1 00 34 */ lwz r5, 0x34(r1)
/* 800E4AE8 000E0928 7F E7 FB 78 */ mr r7, r31
/* 800E4AEC 000E092C 38 61 00 28 */ addi r3, r1, 0x28
/* 800E4AF0 000E0930 4B FF FC 71 */ bl "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCQ54nw4r3g3d6detail7workmem4MdlZUlPQ34nw4r3g3d21DrawResMdlReplacementUl"
/* 800E4AF4 000E0934 48 00 00 64 */ b lbl_800E4B58
.global lbl_800E4AF8
lbl_800E4AF8:
/* 800E4AF8 000E0938 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 800E4AFC 000E093C 7F 44 D3 78 */ mr r4, r26
/* 800E4B00 000E0940 90 01 00 24 */ stw r0, 0x24(r1)
/* 800E4B04 000E0944 7F E6 FB 78 */ mr r6, r31
/* 800E4B08 000E0948 80 A1 00 34 */ lwz r5, 0x34(r1)
/* 800E4B0C 000E094C 38 61 00 24 */ addi r3, r1, 0x24
/* 800E4B10 000E0950 4B FF FB 41 */ bl "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCQ54nw4r3g3d6detail7workmem4MdlZUlUl"
/* 800E4B14 000E0954 48 00 00 44 */ b lbl_800E4B58
.global lbl_800E4B18
lbl_800E4B18:
/* 800E4B18 000E0958 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800E4B1C 000E095C 41 82 00 24 */ beq lbl_800E4B40
/* 800E4B20 000E0960 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 800E4B24 000E0964 7F 44 D3 78 */ mr r4, r26
/* 800E4B28 000E0968 90 01 00 20 */ stw r0, 0x20(r1)
/* 800E4B2C 000E096C 7F C5 F3 78 */ mr r5, r30
/* 800E4B30 000E0970 7F E6 FB 78 */ mr r6, r31
/* 800E4B34 000E0974 38 61 00 20 */ addi r3, r1, 0x20
/* 800E4B38 000E0978 4B FF F9 49 */ bl "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCUcPQ34nw4r3g3d21DrawResMdlReplacementUl"
/* 800E4B3C 000E097C 48 00 00 1C */ b lbl_800E4B58
.global lbl_800E4B40
lbl_800E4B40:
/* 800E4B40 000E0980 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 800E4B44 000E0984 7F 44 D3 78 */ mr r4, r26
/* 800E4B48 000E0988 90 01 00 1C */ stw r0, 0x1c(r1)
/* 800E4B4C 000E098C 7F E5 FB 78 */ mr r5, r31
/* 800E4B50 000E0990 38 61 00 1C */ addi r3, r1, 0x1c
/* 800E4B54 000E0994 4B FF F7 ED */ bl "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCUcUl"
.global lbl_800E4B58
lbl_800E4B58:
/* 800E4B58 000E0998 2C 1D 00 00 */ cmpwi r29, 0x0
/* 800E4B5C 000E099C 41 82 00 D4 */ beq lbl_800E4C30
/* 800E4B60 000E09A0 57 E0 07 BD */ rlwinm. r0, r31, 0, 30, 30
/* 800E4B64 000E09A4 41 82 00 8C */ beq lbl_800E4BF0
/* 800E4B68 000E09A8 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 800E4B6C 000E09AC 7F 85 E3 78 */ mr r5, r28
/* 800E4B70 000E09B0 90 01 00 18 */ stw r0, 0x18(r1)
/* 800E4B74 000E09B4 7F A6 EB 78 */ mr r6, r29
/* 800E4B78 000E09B8 7F C7 F3 78 */ mr r7, r30
/* 800E4B7C 000E09BC 38 61 00 30 */ addi r3, r1, 0x30
/* 800E4B80 000E09C0 38 81 00 18 */ addi r4, r1, 0x18
/* 800E4B84 000E09C4 4B FF FD 3D */ bl "SetUpMdlZ__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FPUlQ34nw4r3g3d6ResMdlPCQ34nw4r4math5MTX34PCUcPQ34nw4r3g3d21DrawResMdlReplacement"
/* 800E4B88 000E09C8 80 01 00 30 */ lwz r0, 0x30(r1)
/* 800E4B8C 000E09CC 3C A0 80 0E */ lis r5, "BackToFront__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ"@ha
/* 800E4B90 000E09D0 7C 7A 1B 78 */ mr r26, r3
/* 800E4B94 000E09D4 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800E4B98 000E09D8 38 A5 4C A0 */ addi r5, r5, "BackToFront__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ"@l
/* 800E4B9C 000E09DC 7C 83 02 14 */ add r4, r3, r0
/* 800E4BA0 000E09E0 48 00 01 71 */ bl "sort<PQ54nw4r3g3d6detail7workmem4MdlZ,PFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v"
/* 800E4BA4 000E09E4 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800E4BA8 000E09E8 41 82 00 28 */ beq lbl_800E4BD0
/* 800E4BAC 000E09EC 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 800E4BB0 000E09F0 7F 44 D3 78 */ mr r4, r26
/* 800E4BB4 000E09F4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800E4BB8 000E09F8 7F C6 F3 78 */ mr r6, r30
/* 800E4BBC 000E09FC 80 A1 00 30 */ lwz r5, 0x30(r1)
/* 800E4BC0 000E0A00 7F E7 FB 78 */ mr r7, r31
/* 800E4BC4 000E0A04 38 61 00 14 */ addi r3, r1, 0x14
/* 800E4BC8 000E0A08 4B FF FB 99 */ bl "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCQ54nw4r3g3d6detail7workmem4MdlZUlPQ34nw4r3g3d21DrawResMdlReplacementUl"
/* 800E4BCC 000E0A0C 48 00 00 64 */ b lbl_800E4C30
.global lbl_800E4BD0
lbl_800E4BD0:
/* 800E4BD0 000E0A10 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 800E4BD4 000E0A14 7F 44 D3 78 */ mr r4, r26
/* 800E4BD8 000E0A18 90 01 00 10 */ stw r0, 0x10(r1)
/* 800E4BDC 000E0A1C 7F E6 FB 78 */ mr r6, r31
/* 800E4BE0 000E0A20 80 A1 00 30 */ lwz r5, 0x30(r1)
/* 800E4BE4 000E0A24 38 61 00 10 */ addi r3, r1, 0x10
/* 800E4BE8 000E0A28 4B FF FA 69 */ bl "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCQ54nw4r3g3d6detail7workmem4MdlZUlUl"
/* 800E4BEC 000E0A2C 48 00 00 44 */ b lbl_800E4C30
.global lbl_800E4BF0
lbl_800E4BF0:
/* 800E4BF0 000E0A30 2C 1E 00 00 */ cmpwi r30, 0x0
/* 800E4BF4 000E0A34 41 82 00 24 */ beq lbl_800E4C18
/* 800E4BF8 000E0A38 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 800E4BFC 000E0A3C 7F A4 EB 78 */ mr r4, r29
/* 800E4C00 000E0A40 90 01 00 0C */ stw r0, 0xc(r1)
/* 800E4C04 000E0A44 7F C5 F3 78 */ mr r5, r30
/* 800E4C08 000E0A48 7F E6 FB 78 */ mr r6, r31
/* 800E4C0C 000E0A4C 38 61 00 0C */ addi r3, r1, 0xc
/* 800E4C10 000E0A50 4B FF F8 71 */ bl "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCUcPQ34nw4r3g3d21DrawResMdlReplacementUl"
/* 800E4C14 000E0A54 48 00 00 1C */ b lbl_800E4C30
.global lbl_800E4C18
lbl_800E4C18:
/* 800E4C18 000E0A58 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 800E4C1C 000E0A5C 7F A4 EB 78 */ mr r4, r29
/* 800E4C20 000E0A60 90 01 00 08 */ stw r0, 0x8(r1)
/* 800E4C24 000E0A64 7F E5 FB 78 */ mr r5, r31
/* 800E4C28 000E0A68 38 61 00 08 */ addi r3, r1, 0x8
/* 800E4C2C 000E0A6C 4B FF F7 15 */ bl "DrawResMdlLoop__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FQ34nw4r3g3d6ResMdlPCUcUl"
.global lbl_800E4C30
lbl_800E4C30:
/* 800E4C30 000E0A70 38 60 00 00 */ li r3, 0x0
/* 800E4C34 000E0A74 38 80 00 00 */ li r4, 0x0
/* 800E4C38 000E0A78 38 A0 00 00 */ li r5, 0x0
/* 800E4C3C 000E0A7C 4B FF A7 C5 */ bl SetViewPosNrmMtxArray__Q34nw4r3g3d8G3DStateFPCQ34nw4r4math5MTX34PCQ34nw4r4math5MTX33PCQ34nw4r4math5MTX34
/* 800E4C40 000E0A80 39 61 00 50 */ addi r11, r1, 0x50
/* 800E4C44 000E0A84 4B F2 27 41 */ bl lbl_80007384
/* 800E4C48 000E0A88 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800E4C4C 000E0A8C 7C 08 03 A6 */ mtlr r0
/* 800E4C50 000E0A90 38 21 00 50 */ addi r1, r1, 0x50
/* 800E4C54 000E0A94 4E 80 00 20 */ blr
/* 800E4C58 000E0A98 00 00 00 00 */ .4byte 0x00000000
/* 800E4C5C 000E0A9C 00 00 00 00 */ .4byte 0x00000000
.global "FrontToBack__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ"
"FrontToBack__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ":
/* 800E4C60 000E0AA0 A0 04 00 04 */ lhz r0, 0x4(r4)
/* 800E4C64 000E0AA4 A0 A3 00 04 */ lhz r5, 0x4(r3)
/* 800E4C68 000E0AA8 7C 05 00 40 */ cmplw r5, r0
/* 800E4C6C 000E0AAC 40 80 00 0C */ bge lbl_800E4C78
/* 800E4C70 000E0AB0 38 60 00 01 */ li r3, 0x1
/* 800E4C74 000E0AB4 4E 80 00 20 */ blr
.global lbl_800E4C78
lbl_800E4C78:
/* 800E4C78 000E0AB8 40 81 00 0C */ ble lbl_800E4C84
/* 800E4C7C 000E0ABC 38 60 00 00 */ li r3, 0x0
/* 800E4C80 000E0AC0 4E 80 00 20 */ blr
.global lbl_800E4C84
lbl_800E4C84:
/* 800E4C84 000E0AC4 C0 23 00 00 */ lfs f1, 0x0(r3)
/* 800E4C88 000E0AC8 C0 04 00 00 */ lfs f0, 0x0(r4)
/* 800E4C8C 000E0ACC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800E4C90 000E0AD0 7C 60 00 26 */ mfcr r3
/* 800E4C94 000E0AD4 54 63 17 FE */ extrwi r3, r3, 1, 1
/* 800E4C98 000E0AD8 4E 80 00 20 */ blr
/* 800E4C9C 000E0ADC 00 00 00 00 */ .4byte 0x00000000
.global "BackToFront__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ"
"BackToFront__Q34nw4r3g3d22@unnamed@g3d_draw_cpp@FRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ":
/* 800E4CA0 000E0AE0 A0 04 00 04 */ lhz r0, 0x4(r4)
/* 800E4CA4 000E0AE4 A0 A3 00 04 */ lhz r5, 0x4(r3)
/* 800E4CA8 000E0AE8 7C 05 00 40 */ cmplw r5, r0
/* 800E4CAC 000E0AEC 40 80 00 0C */ bge lbl_800E4CB8
/* 800E4CB0 000E0AF0 38 60 00 01 */ li r3, 0x1
/* 800E4CB4 000E0AF4 4E 80 00 20 */ blr
.global lbl_800E4CB8
lbl_800E4CB8:
/* 800E4CB8 000E0AF8 40 81 00 0C */ ble lbl_800E4CC4
/* 800E4CBC 000E0AFC 38 60 00 00 */ li r3, 0x0
/* 800E4CC0 000E0B00 4E 80 00 20 */ blr
.global lbl_800E4CC4
lbl_800E4CC4:
/* 800E4CC4 000E0B04 C0 23 00 00 */ lfs f1, 0x0(r3)
/* 800E4CC8 000E0B08 C0 04 00 00 */ lfs f0, 0x0(r4)
/* 800E4CCC 000E0B0C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800E4CD0 000E0B10 40 80 00 0C */ bge lbl_800E4CDC
/* 800E4CD4 000E0B14 38 60 00 01 */ li r3, 0x1
/* 800E4CD8 000E0B18 4E 80 00 20 */ blr
.global lbl_800E4CDC
lbl_800E4CDC:
/* 800E4CDC 000E0B1C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 800E4CE0 000E0B20 40 82 00 1C */ bne lbl_800E4CFC
/* 800E4CE4 000E0B24 A0 63 00 08 */ lhz r3, 0x8(r3)
/* 800E4CE8 000E0B28 A0 04 00 08 */ lhz r0, 0x8(r4)
/* 800E4CEC 000E0B2C 7C 03 00 40 */ cmplw r3, r0
/* 800E4CF0 000E0B30 40 80 00 0C */ bge lbl_800E4CFC
/* 800E4CF4 000E0B34 38 60 00 01 */ li r3, 0x1
/* 800E4CF8 000E0B38 4E 80 00 20 */ blr
.global lbl_800E4CFC
lbl_800E4CFC:
/* 800E4CFC 000E0B3C 38 60 00 00 */ li r3, 0x0
/* 800E4D00 000E0B40 4E 80 00 20 */ blr
/* 800E4D04 000E0B44 00 00 00 00 */ .4byte 0x00000000
/* 800E4D08 000E0B48 00 00 00 00 */ .4byte 0x00000000
/* 800E4D0C 000E0B4C 00 00 00 00 */ .4byte 0x00000000
.global "sort<PQ54nw4r3g3d6detail7workmem4MdlZ,PFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v"
"sort<PQ54nw4r3g3d6detail7workmem4MdlZ,PFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v":
/* 800E4D10 000E0B50 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 800E4D14 000E0B54 7C 08 02 A6 */ mflr r0
/* 800E4D18 000E0B58 90 01 00 84 */ stw r0, 0x84(r1)
/* 800E4D1C 000E0B5C 39 61 00 80 */ addi r11, r1, 0x80
/* 800E4D20 000E0B60 4B F2 26 11 */ bl lbl_80007330
/* 800E4D24 000E0B64 3F 00 2A AB */ lis r24, 0x2aab
/* 800E4D28 000E0B68 3C C0 66 66 */ lis r6, 0x6666
/* 800E4D2C 000E0B6C 90 A1 00 08 */ stw r5, 0x8(r1)
/* 800E4D30 000E0B70 7C 79 1B 78 */ mr r25, r3
/* 800E4D34 000E0B74 7C 9A 23 78 */ mr r26, r4
/* 800E4D38 000E0B78 3B E6 66 67 */ addi r31, r6, 0x6667
/* 800E4D3C 000E0B7C 3B D8 AA AB */ addi r30, r24, -0x5555
.global lbl_800E4D40
lbl_800E4D40:
/* 800E4D40 000E0B80 7C 19 D0 50 */ subf r0, r25, r26
/* 800E4D44 000E0B84 7C 1E 00 96 */ mulhw r0, r30, r0
/* 800E4D48 000E0B88 7C 00 0E 70 */ srawi r0, r0, 1
/* 800E4D4C 000E0B8C 54 03 0F FE */ srwi r3, r0, 31
/* 800E4D50 000E0B90 7C E0 1A 14 */ add r7, r0, r3
/* 800E4D54 000E0B94 2C 07 00 01 */ cmpwi r7, 0x1
/* 800E4D58 000E0B98 40 81 05 5C */ ble lbl_800E52B4
/* 800E4D5C 000E0B9C 2C 07 00 14 */ cmpwi r7, 0x14
/* 800E4D60 000E0BA0 41 81 00 D4 */ bgt lbl_800E4E34
/* 800E4D64 000E0BA4 7C 19 D0 40 */ cmplw r25, r26
/* 800E4D68 000E0BA8 41 82 05 4C */ beq lbl_800E52B4
/* 800E4D6C 000E0BAC 3B 1A FF F4 */ addi r24, r26, -0xc
/* 800E4D70 000E0BB0 48 00 00 B8 */ b lbl_800E4E28
.global lbl_800E4D74
lbl_800E4D74:
/* 800E4D74 000E0BB4 7C 19 D0 40 */ cmplw r25, r26
/* 800E4D78 000E0BB8 7F 3B CB 78 */ mr r27, r25
/* 800E4D7C 000E0BBC 41 82 00 38 */ beq lbl_800E4DB4
/* 800E4D80 000E0BC0 3B 99 00 0C */ addi r28, r25, 0xc
/* 800E4D84 000E0BC4 48 00 00 28 */ b lbl_800E4DAC
.global lbl_800E4D88
lbl_800E4D88:
/* 800E4D88 000E0BC8 81 81 00 08 */ lwz r12, 0x8(r1)
/* 800E4D8C 000E0BCC 7F 83 E3 78 */ mr r3, r28
/* 800E4D90 000E0BD0 7F 64 DB 78 */ mr r4, r27
/* 800E4D94 000E0BD4 7D 89 03 A6 */ mtctr r12
/* 800E4D98 000E0BD8 4E 80 04 21 */ bctrl
/* 800E4D9C 000E0BDC 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E4DA0 000E0BE0 41 82 00 08 */ beq lbl_800E4DA8
/* 800E4DA4 000E0BE4 7F 9B E3 78 */ mr r27, r28
.global lbl_800E4DA8
lbl_800E4DA8:
/* 800E4DA8 000E0BE8 3B 9C 00 0C */ addi r28, r28, 0xc
.global lbl_800E4DAC
lbl_800E4DAC:
/* 800E4DAC 000E0BEC 7C 1C D0 40 */ cmplw r28, r26
/* 800E4DB0 000E0BF0 40 82 FF D8 */ bne lbl_800E4D88
.global lbl_800E4DB4
lbl_800E4DB4:
/* 800E4DB4 000E0BF4 7C 1B C8 40 */ cmplw r27, r25
/* 800E4DB8 000E0BF8 41 82 00 6C */ beq lbl_800E4E24
/* 800E4DBC 000E0BFC 80 BB 00 00 */ lwz r5, 0x0(r27)
/* 800E4DC0 000E0C00 80 7B 00 04 */ lwz r3, 0x4(r27)
/* 800E4DC4 000E0C04 80 9B 00 08 */ lwz r4, 0x8(r27)
/* 800E4DC8 000E0C08 C0 19 00 00 */ lfs f0, 0x0(r25)
/* 800E4DCC 000E0C0C D0 1B 00 00 */ stfs f0, 0x0(r27)
/* 800E4DD0 000E0C10 A0 19 00 04 */ lhz r0, 0x4(r25)
/* 800E4DD4 000E0C14 B0 1B 00 04 */ sth r0, 0x4(r27)
/* 800E4DD8 000E0C18 A0 19 00 06 */ lhz r0, 0x6(r25)
/* 800E4DDC 000E0C1C B0 1B 00 06 */ sth r0, 0x6(r27)
/* 800E4DE0 000E0C20 A0 19 00 08 */ lhz r0, 0x8(r25)
/* 800E4DE4 000E0C24 90 A1 00 48 */ stw r5, 0x48(r1)
/* 800E4DE8 000E0C28 B0 1B 00 08 */ sth r0, 0x8(r27)
/* 800E4DEC 000E0C2C C0 01 00 48 */ lfs f0, 0x48(r1)
/* 800E4DF0 000E0C30 90 61 00 4C */ stw r3, 0x4c(r1)
/* 800E4DF4 000E0C34 A0 79 00 0A */ lhz r3, 0xa(r25)
/* 800E4DF8 000E0C38 B0 7B 00 0A */ sth r3, 0xa(r27)
/* 800E4DFC 000E0C3C A0 01 00 4C */ lhz r0, 0x4c(r1)
/* 800E4E00 000E0C40 90 81 00 50 */ stw r4, 0x50(r1)
/* 800E4E04 000E0C44 A0 81 00 4E */ lhz r4, 0x4e(r1)
/* 800E4E08 000E0C48 D0 19 00 00 */ stfs f0, 0x0(r25)
/* 800E4E0C 000E0C4C A0 61 00 50 */ lhz r3, 0x50(r1)
/* 800E4E10 000E0C50 B0 19 00 04 */ sth r0, 0x4(r25)
/* 800E4E14 000E0C54 A0 01 00 52 */ lhz r0, 0x52(r1)
/* 800E4E18 000E0C58 B0 99 00 06 */ sth r4, 0x6(r25)
/* 800E4E1C 000E0C5C B0 79 00 08 */ sth r3, 0x8(r25)
/* 800E4E20 000E0C60 B0 19 00 0A */ sth r0, 0xa(r25)
.global lbl_800E4E24
lbl_800E4E24:
/* 800E4E24 000E0C64 3B 39 00 0C */ addi r25, r25, 0xc
.global lbl_800E4E28
lbl_800E4E28:
/* 800E4E28 000E0C68 7C 19 C0 40 */ cmplw r25, r24
/* 800E4E2C 000E0C6C 40 82 FF 48 */ bne lbl_800E4D74
/* 800E4E30 000E0C70 48 00 04 84 */ b lbl_800E52B4
.global lbl_800E4E34
lbl_800E4E34:
/* 800E4E34 000E0C74 80 8D 85 E8 */ lwz r4, "@LOCAL@sort<PQ54nw4r3g3d6detail7workmem4MdlZ,PFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v@shuffle@0"@sda21(r13)
/* 800E4E38 000E0C78 7C E0 16 70 */ srawi r0, r7, 2
/* 800E4E3C 000E0C7C 7C A0 01 94 */ addze r5, r0
/* 800E4E40 000E0C80 7C 1F 20 96 */ mulhw r0, r31, r4
/* 800E4E44 000E0C84 38 C4 00 01 */ addi r6, r4, 0x1
/* 800E4E48 000E0C88 2C 06 00 05 */ cmpwi r6, 0x5
/* 800E4E4C 000E0C8C 7C 00 0E 70 */ srawi r0, r0, 1
/* 800E4E50 000E0C90 54 03 0F FE */ srwi r3, r0, 31
/* 800E4E54 000E0C94 7C 00 1A 14 */ add r0, r0, r3
/* 800E4E58 000E0C98 1C 00 00 05 */ mulli r0, r0, 0x5
/* 800E4E5C 000E0C9C 7C 00 20 50 */ subf r0, r0, r4
/* 800E4E60 000E0CA0 7C 05 02 14 */ add r0, r5, r0
/* 800E4E64 000E0CA4 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800E4E68 000E0CA8 7C 79 02 14 */ add r3, r25, r0
/* 800E4E6C 000E0CAC 41 80 00 08 */ blt lbl_800E4E74
/* 800E4E70 000E0CB0 38 C0 FF FC */ li r6, -0x4
.global lbl_800E4E74
lbl_800E4E74:
/* 800E4E74 000E0CB4 7C 9F 30 96 */ mulhw r4, r31, r6
/* 800E4E78 000E0CB8 38 06 00 01 */ addi r0, r6, 0x1
/* 800E4E7C 000E0CBC 54 E5 10 3A */ slwi r5, r7, 2
/* 800E4E80 000E0CC0 90 0D 85 E8 */ stw r0, "@LOCAL@sort<PQ54nw4r3g3d6detail7workmem4MdlZ,PFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v@shuffle@0"@sda21(r13)
/* 800E4E84 000E0CC4 2C 00 00 05 */ cmpwi r0, 0x5
/* 800E4E88 000E0CC8 7C 07 28 50 */ subf r0, r7, r5
/* 800E4E8C 000E0CCC 7C 00 16 70 */ srawi r0, r0, 2
/* 800E4E90 000E0CD0 7C A0 01 94 */ addze r5, r0
/* 800E4E94 000E0CD4 7C 80 0E 70 */ srawi r0, r4, 1
/* 800E4E98 000E0CD8 54 04 0F FE */ srwi r4, r0, 31
/* 800E4E9C 000E0CDC 7C 00 22 14 */ add r0, r0, r4
/* 800E4EA0 000E0CE0 1C 00 00 05 */ mulli r0, r0, 0x5
/* 800E4EA4 000E0CE4 7C 00 30 50 */ subf r0, r0, r6
/* 800E4EA8 000E0CE8 7C 05 02 14 */ add r0, r5, r0
/* 800E4EAC 000E0CEC 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800E4EB0 000E0CF0 7C 99 02 14 */ add r4, r25, r0
/* 800E4EB4 000E0CF4 41 80 00 0C */ blt lbl_800E4EC0
/* 800E4EB8 000E0CF8 38 C0 FF FC */ li r6, -0x4
/* 800E4EBC 000E0CFC 90 CD 85 E8 */ stw r6, "@LOCAL@sort<PQ54nw4r3g3d6detail7workmem4MdlZ,PFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v@shuffle@0"@sda21(r13)
.global lbl_800E4EC0
lbl_800E4EC0:
/* 800E4EC0 000E0D00 3B 7A FF F4 */ addi r27, r26, -0xc
/* 800E4EC4 000E0D04 38 C1 00 08 */ addi r6, r1, 0x8
/* 800E4EC8 000E0D08 7F 65 DB 78 */ mr r5, r27
/* 800E4ECC 000E0D0C 48 00 09 C5 */ bl "__sort132<RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b,PQ54nw4r3g3d6detail7workmem4MdlZ>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v"
/* 800E4ED0 000E0D10 7F 3D CB 78 */ mr r29, r25
/* 800E4ED4 000E0D14 7F 7C DB 78 */ mr r28, r27
/* 800E4ED8 000E0D18 48 00 00 08 */ b lbl_800E4EE0
.global lbl_800E4EDC
lbl_800E4EDC:
/* 800E4EDC 000E0D1C 3B BD 00 0C */ addi r29, r29, 0xc
.global lbl_800E4EE0
lbl_800E4EE0:
/* 800E4EE0 000E0D20 81 81 00 08 */ lwz r12, 0x8(r1)
/* 800E4EE4 000E0D24 7F A3 EB 78 */ mr r3, r29
/* 800E4EE8 000E0D28 7F 64 DB 78 */ mr r4, r27
/* 800E4EEC 000E0D2C 7D 89 03 A6 */ mtctr r12
/* 800E4EF0 000E0D30 4E 80 04 21 */ bctrl
/* 800E4EF4 000E0D34 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E4EF8 000E0D38 40 82 FF E4 */ bne lbl_800E4EDC
.global lbl_800E4EFC
lbl_800E4EFC:
/* 800E4EFC 000E0D3C 3B 9C FF F4 */ addi r28, r28, -0xc
/* 800E4F00 000E0D40 7C 1D E0 40 */ cmplw r29, r28
/* 800E4F04 000E0D44 41 82 00 20 */ beq lbl_800E4F24
/* 800E4F08 000E0D48 81 81 00 08 */ lwz r12, 0x8(r1)
/* 800E4F0C 000E0D4C 7F 83 E3 78 */ mr r3, r28
/* 800E4F10 000E0D50 7F 64 DB 78 */ mr r4, r27
/* 800E4F14 000E0D54 7D 89 03 A6 */ mtctr r12
/* 800E4F18 000E0D58 4E 80 04 21 */ bctrl
/* 800E4F1C 000E0D5C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E4F20 000E0D60 41 82 FF DC */ beq lbl_800E4EFC
.global lbl_800E4F24
lbl_800E4F24:
/* 800E4F24 000E0D64 7C 1D E0 40 */ cmplw r29, r28
/* 800E4F28 000E0D68 40 80 01 2C */ bge lbl_800E5054
/* 800E4F2C 000E0D6C 80 BD 00 00 */ lwz r5, 0x0(r29)
/* 800E4F30 000E0D70 80 7D 00 04 */ lwz r3, 0x4(r29)
/* 800E4F34 000E0D74 80 9D 00 08 */ lwz r4, 0x8(r29)
/* 800E4F38 000E0D78 C0 1C 00 00 */ lfs f0, 0x0(r28)
/* 800E4F3C 000E0D7C D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E4F40 000E0D80 A0 1C 00 04 */ lhz r0, 0x4(r28)
/* 800E4F44 000E0D84 B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E4F48 000E0D88 A0 1C 00 06 */ lhz r0, 0x6(r28)
/* 800E4F4C 000E0D8C B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E4F50 000E0D90 A0 1C 00 08 */ lhz r0, 0x8(r28)
/* 800E4F54 000E0D94 90 A1 00 3C */ stw r5, 0x3c(r1)
/* 800E4F58 000E0D98 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E4F5C 000E0D9C C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 800E4F60 000E0DA0 90 61 00 40 */ stw r3, 0x40(r1)
/* 800E4F64 000E0DA4 A0 7C 00 0A */ lhz r3, 0xa(r28)
/* 800E4F68 000E0DA8 B0 7D 00 0A */ sth r3, 0xa(r29)
/* 800E4F6C 000E0DAC 3B BD 00 0C */ addi r29, r29, 0xc
/* 800E4F70 000E0DB0 A0 01 00 40 */ lhz r0, 0x40(r1)
/* 800E4F74 000E0DB4 90 81 00 44 */ stw r4, 0x44(r1)
/* 800E4F78 000E0DB8 A0 81 00 42 */ lhz r4, 0x42(r1)
/* 800E4F7C 000E0DBC D0 1C 00 00 */ stfs f0, 0x0(r28)
/* 800E4F80 000E0DC0 A0 61 00 44 */ lhz r3, 0x44(r1)
/* 800E4F84 000E0DC4 B0 1C 00 04 */ sth r0, 0x4(r28)
/* 800E4F88 000E0DC8 A0 01 00 46 */ lhz r0, 0x46(r1)
/* 800E4F8C 000E0DCC B0 9C 00 06 */ sth r4, 0x6(r28)
/* 800E4F90 000E0DD0 B0 7C 00 08 */ sth r3, 0x8(r28)
/* 800E4F94 000E0DD4 B0 1C 00 0A */ sth r0, 0xa(r28)
/* 800E4F98 000E0DD8 48 00 00 08 */ b lbl_800E4FA0
.global lbl_800E4F9C
lbl_800E4F9C:
/* 800E4F9C 000E0DDC 3B BD 00 0C */ addi r29, r29, 0xc
.global lbl_800E4FA0
lbl_800E4FA0:
/* 800E4FA0 000E0DE0 81 81 00 08 */ lwz r12, 0x8(r1)
/* 800E4FA4 000E0DE4 7F A3 EB 78 */ mr r3, r29
/* 800E4FA8 000E0DE8 7F 64 DB 78 */ mr r4, r27
/* 800E4FAC 000E0DEC 7D 89 03 A6 */ mtctr r12
/* 800E4FB0 000E0DF0 4E 80 04 21 */ bctrl
/* 800E4FB4 000E0DF4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E4FB8 000E0DF8 40 82 FF E4 */ bne lbl_800E4F9C
.global lbl_800E4FBC
lbl_800E4FBC:
/* 800E4FBC 000E0DFC 81 81 00 08 */ lwz r12, 0x8(r1)
/* 800E4FC0 000E0E00 3B 9C FF F4 */ addi r28, r28, -0xc
/* 800E4FC4 000E0E04 7F 83 E3 78 */ mr r3, r28
/* 800E4FC8 000E0E08 7F 64 DB 78 */ mr r4, r27
/* 800E4FCC 000E0E0C 7D 89 03 A6 */ mtctr r12
/* 800E4FD0 000E0E10 4E 80 04 21 */ bctrl
/* 800E4FD4 000E0E14 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E4FD8 000E0E18 41 82 FF E4 */ beq lbl_800E4FBC
/* 800E4FDC 000E0E1C 7C 1D E0 40 */ cmplw r29, r28
/* 800E4FE0 000E0E20 40 80 00 74 */ bge lbl_800E5054
/* 800E4FE4 000E0E24 80 BD 00 00 */ lwz r5, 0x0(r29)
/* 800E4FE8 000E0E28 80 7D 00 04 */ lwz r3, 0x4(r29)
/* 800E4FEC 000E0E2C 80 9D 00 08 */ lwz r4, 0x8(r29)
/* 800E4FF0 000E0E30 C0 1C 00 00 */ lfs f0, 0x0(r28)
/* 800E4FF4 000E0E34 D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E4FF8 000E0E38 A0 1C 00 04 */ lhz r0, 0x4(r28)
/* 800E4FFC 000E0E3C B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E5000 000E0E40 A0 1C 00 06 */ lhz r0, 0x6(r28)
/* 800E5004 000E0E44 B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E5008 000E0E48 A0 1C 00 08 */ lhz r0, 0x8(r28)
/* 800E500C 000E0E4C 90 A1 00 30 */ stw r5, 0x30(r1)
/* 800E5010 000E0E50 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E5014 000E0E54 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 800E5018 000E0E58 90 61 00 34 */ stw r3, 0x34(r1)
/* 800E501C 000E0E5C A0 7C 00 0A */ lhz r3, 0xa(r28)
/* 800E5020 000E0E60 B0 7D 00 0A */ sth r3, 0xa(r29)
/* 800E5024 000E0E64 3B BD 00 0C */ addi r29, r29, 0xc
/* 800E5028 000E0E68 A0 01 00 34 */ lhz r0, 0x34(r1)
/* 800E502C 000E0E6C 90 81 00 38 */ stw r4, 0x38(r1)
/* 800E5030 000E0E70 A0 81 00 36 */ lhz r4, 0x36(r1)
/* 800E5034 000E0E74 D0 1C 00 00 */ stfs f0, 0x0(r28)
/* 800E5038 000E0E78 A0 61 00 38 */ lhz r3, 0x38(r1)
/* 800E503C 000E0E7C B0 1C 00 04 */ sth r0, 0x4(r28)
/* 800E5040 000E0E80 A0 01 00 3A */ lhz r0, 0x3a(r1)
/* 800E5044 000E0E84 B0 9C 00 06 */ sth r4, 0x6(r28)
/* 800E5048 000E0E88 B0 7C 00 08 */ sth r3, 0x8(r28)
/* 800E504C 000E0E8C B0 1C 00 0A */ sth r0, 0xa(r28)
/* 800E5050 000E0E90 4B FF FF 50 */ b lbl_800E4FA0
.global lbl_800E5054
lbl_800E5054:
/* 800E5054 000E0E94 7C 1D C8 40 */ cmplw r29, r25
/* 800E5058 000E0E98 40 82 01 F8 */ bne lbl_800E5250
/* 800E505C 000E0E9C 80 FD 00 00 */ lwz r7, 0x0(r29)
/* 800E5060 000E0EA0 3B 9A FF F4 */ addi r28, r26, -0xc
/* 800E5064 000E0EA4 80 BD 00 04 */ lwz r5, 0x4(r29)
/* 800E5068 000E0EA8 7F 23 CB 78 */ mr r3, r25
/* 800E506C 000E0EAC 80 DD 00 08 */ lwz r6, 0x8(r29)
/* 800E5070 000E0EB0 7F 84 E3 78 */ mr r4, r28
/* 800E5074 000E0EB4 C0 1B 00 00 */ lfs f0, 0x0(r27)
/* 800E5078 000E0EB8 D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E507C 000E0EBC A0 1B 00 04 */ lhz r0, 0x4(r27)
/* 800E5080 000E0EC0 B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E5084 000E0EC4 A0 1B 00 06 */ lhz r0, 0x6(r27)
/* 800E5088 000E0EC8 B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E508C 000E0ECC A0 1B 00 08 */ lhz r0, 0x8(r27)
/* 800E5090 000E0ED0 90 E1 00 24 */ stw r7, 0x24(r1)
/* 800E5094 000E0ED4 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E5098 000E0ED8 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 800E509C 000E0EDC 90 A1 00 28 */ stw r5, 0x28(r1)
/* 800E50A0 000E0EE0 A0 BB 00 0A */ lhz r5, 0xa(r27)
/* 800E50A4 000E0EE4 B0 BD 00 0A */ sth r5, 0xa(r29)
/* 800E50A8 000E0EE8 A0 01 00 28 */ lhz r0, 0x28(r1)
/* 800E50AC 000E0EEC 90 C1 00 2C */ stw r6, 0x2c(r1)
/* 800E50B0 000E0EF0 A0 C1 00 2A */ lhz r6, 0x2a(r1)
/* 800E50B4 000E0EF4 D0 1B 00 00 */ stfs f0, 0x0(r27)
/* 800E50B8 000E0EF8 A0 A1 00 2C */ lhz r5, 0x2c(r1)
/* 800E50BC 000E0EFC B0 1B 00 04 */ sth r0, 0x4(r27)
/* 800E50C0 000E0F00 A0 01 00 2E */ lhz r0, 0x2e(r1)
/* 800E50C4 000E0F04 B0 DB 00 06 */ sth r6, 0x6(r27)
/* 800E50C8 000E0F08 B0 BB 00 08 */ sth r5, 0x8(r27)
/* 800E50CC 000E0F0C B0 1B 00 0A */ sth r0, 0xa(r27)
/* 800E50D0 000E0F10 81 81 00 08 */ lwz r12, 0x8(r1)
/* 800E50D4 000E0F14 7D 89 03 A6 */ mtctr r12
/* 800E50D8 000E0F18 3B BD 00 0C */ addi r29, r29, 0xc
/* 800E50DC 000E0F1C 4E 80 04 21 */ bctrl
/* 800E50E0 000E0F20 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E50E4 000E0F24 40 82 00 A0 */ bne lbl_800E5184
/* 800E50E8 000E0F28 48 00 00 08 */ b lbl_800E50F0
.global lbl_800E50EC
lbl_800E50EC:
/* 800E50EC 000E0F2C 3B BD 00 0C */ addi r29, r29, 0xc
.global lbl_800E50F0
lbl_800E50F0:
/* 800E50F0 000E0F30 7C 1D D0 40 */ cmplw r29, r26
/* 800E50F4 000E0F34 41 82 00 20 */ beq lbl_800E5114
/* 800E50F8 000E0F38 81 81 00 08 */ lwz r12, 0x8(r1)
/* 800E50FC 000E0F3C 7F 23 CB 78 */ mr r3, r25
/* 800E5100 000E0F40 7F A4 EB 78 */ mr r4, r29
/* 800E5104 000E0F44 7D 89 03 A6 */ mtctr r12
/* 800E5108 000E0F48 4E 80 04 21 */ bctrl
/* 800E510C 000E0F4C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E5110 000E0F50 41 82 FF DC */ beq lbl_800E50EC
.global lbl_800E5114
lbl_800E5114:
/* 800E5114 000E0F54 7C 1D E0 40 */ cmplw r29, r28
/* 800E5118 000E0F58 40 80 00 6C */ bge lbl_800E5184
/* 800E511C 000E0F5C 80 BD 00 00 */ lwz r5, 0x0(r29)
/* 800E5120 000E0F60 80 7D 00 04 */ lwz r3, 0x4(r29)
/* 800E5124 000E0F64 80 9D 00 08 */ lwz r4, 0x8(r29)
/* 800E5128 000E0F68 C0 1C 00 00 */ lfs f0, 0x0(r28)
/* 800E512C 000E0F6C D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E5130 000E0F70 A0 1C 00 04 */ lhz r0, 0x4(r28)
/* 800E5134 000E0F74 B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E5138 000E0F78 A0 1C 00 06 */ lhz r0, 0x6(r28)
/* 800E513C 000E0F7C B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E5140 000E0F80 A0 1C 00 08 */ lhz r0, 0x8(r28)
/* 800E5144 000E0F84 90 A1 00 18 */ stw r5, 0x18(r1)
/* 800E5148 000E0F88 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E514C 000E0F8C C0 01 00 18 */ lfs f0, 0x18(r1)
/* 800E5150 000E0F90 90 61 00 1C */ stw r3, 0x1c(r1)
/* 800E5154 000E0F94 A0 7C 00 0A */ lhz r3, 0xa(r28)
/* 800E5158 000E0F98 B0 7D 00 0A */ sth r3, 0xa(r29)
/* 800E515C 000E0F9C A0 01 00 1C */ lhz r0, 0x1c(r1)
/* 800E5160 000E0FA0 90 81 00 20 */ stw r4, 0x20(r1)
/* 800E5164 000E0FA4 A0 81 00 1E */ lhz r4, 0x1e(r1)
/* 800E5168 000E0FA8 D0 1C 00 00 */ stfs f0, 0x0(r28)
/* 800E516C 000E0FAC A0 61 00 20 */ lhz r3, 0x20(r1)
/* 800E5170 000E0FB0 B0 1C 00 04 */ sth r0, 0x4(r28)
/* 800E5174 000E0FB4 A0 01 00 22 */ lhz r0, 0x22(r1)
/* 800E5178 000E0FB8 B0 9C 00 06 */ sth r4, 0x6(r28)
/* 800E517C 000E0FBC B0 7C 00 08 */ sth r3, 0x8(r28)
/* 800E5180 000E0FC0 B0 1C 00 0A */ sth r0, 0xa(r28)
.global lbl_800E5184
lbl_800E5184:
/* 800E5184 000E0FC4 7C 1D E0 40 */ cmplw r29, r28
/* 800E5188 000E0FC8 40 80 00 C0 */ bge lbl_800E5248
/* 800E518C 000E0FCC 48 00 00 08 */ b lbl_800E5194
.global lbl_800E5190
lbl_800E5190:
/* 800E5190 000E0FD0 3B BD 00 0C */ addi r29, r29, 0xc
.global lbl_800E5194
lbl_800E5194:
/* 800E5194 000E0FD4 81 81 00 08 */ lwz r12, 0x8(r1)
/* 800E5198 000E0FD8 7F 23 CB 78 */ mr r3, r25
/* 800E519C 000E0FDC 7F A4 EB 78 */ mr r4, r29
/* 800E51A0 000E0FE0 7D 89 03 A6 */ mtctr r12
/* 800E51A4 000E0FE4 4E 80 04 21 */ bctrl
/* 800E51A8 000E0FE8 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E51AC 000E0FEC 41 82 FF E4 */ beq lbl_800E5190
.global lbl_800E51B0
lbl_800E51B0:
/* 800E51B0 000E0FF0 81 81 00 08 */ lwz r12, 0x8(r1)
/* 800E51B4 000E0FF4 3B 9C FF F4 */ addi r28, r28, -0xc
/* 800E51B8 000E0FF8 7F 23 CB 78 */ mr r3, r25
/* 800E51BC 000E0FFC 7F 84 E3 78 */ mr r4, r28
/* 800E51C0 000E1000 7D 89 03 A6 */ mtctr r12
/* 800E51C4 000E1004 4E 80 04 21 */ bctrl
/* 800E51C8 000E1008 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E51CC 000E100C 40 82 FF E4 */ bne lbl_800E51B0
/* 800E51D0 000E1010 7C 1D E0 40 */ cmplw r29, r28
/* 800E51D4 000E1014 40 80 00 74 */ bge lbl_800E5248
/* 800E51D8 000E1018 80 BD 00 00 */ lwz r5, 0x0(r29)
/* 800E51DC 000E101C 80 7D 00 04 */ lwz r3, 0x4(r29)
/* 800E51E0 000E1020 80 9D 00 08 */ lwz r4, 0x8(r29)
/* 800E51E4 000E1024 C0 1C 00 00 */ lfs f0, 0x0(r28)
/* 800E51E8 000E1028 D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E51EC 000E102C A0 1C 00 04 */ lhz r0, 0x4(r28)
/* 800E51F0 000E1030 B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E51F4 000E1034 A0 1C 00 06 */ lhz r0, 0x6(r28)
/* 800E51F8 000E1038 B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E51FC 000E103C A0 1C 00 08 */ lhz r0, 0x8(r28)
/* 800E5200 000E1040 90 A1 00 0C */ stw r5, 0xc(r1)
/* 800E5204 000E1044 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E5208 000E1048 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 800E520C 000E104C 90 61 00 10 */ stw r3, 0x10(r1)
/* 800E5210 000E1050 A0 7C 00 0A */ lhz r3, 0xa(r28)
/* 800E5214 000E1054 B0 7D 00 0A */ sth r3, 0xa(r29)
/* 800E5218 000E1058 3B BD 00 0C */ addi r29, r29, 0xc
/* 800E521C 000E105C A0 01 00 10 */ lhz r0, 0x10(r1)
/* 800E5220 000E1060 90 81 00 14 */ stw r4, 0x14(r1)
/* 800E5224 000E1064 A0 81 00 12 */ lhz r4, 0x12(r1)
/* 800E5228 000E1068 D0 1C 00 00 */ stfs f0, 0x0(r28)
/* 800E522C 000E106C A0 61 00 14 */ lhz r3, 0x14(r1)
/* 800E5230 000E1070 B0 1C 00 04 */ sth r0, 0x4(r28)
/* 800E5234 000E1074 A0 01 00 16 */ lhz r0, 0x16(r1)
/* 800E5238 000E1078 B0 9C 00 06 */ sth r4, 0x6(r28)
/* 800E523C 000E107C B0 7C 00 08 */ sth r3, 0x8(r28)
/* 800E5240 000E1080 B0 1C 00 0A */ sth r0, 0xa(r28)
/* 800E5244 000E1084 4B FF FF 50 */ b lbl_800E5194
.global lbl_800E5248
lbl_800E5248:
/* 800E5248 000E1088 7F B9 EB 78 */ mr r25, r29
/* 800E524C 000E108C 4B FF FA F4 */ b lbl_800E4D40
.global lbl_800E5250
lbl_800E5250:
/* 800E5250 000E1090 7C 19 E8 50 */ subf r0, r25, r29
/* 800E5254 000E1094 38 98 AA AB */ addi r4, r24, -0x5555
/* 800E5258 000E1098 7C 64 00 96 */ mulhw r3, r4, r0
/* 800E525C 000E109C 7C 1D D0 50 */ subf r0, r29, r26
/* 800E5260 000E10A0 7C 04 00 96 */ mulhw r0, r4, r0
/* 800E5264 000E10A4 7C 63 0E 70 */ srawi r3, r3, 1
/* 800E5268 000E10A8 54 64 0F FE */ srwi r4, r3, 31
/* 800E526C 000E10AC 7C 00 0E 70 */ srawi r0, r0, 1
/* 800E5270 000E10B0 7C 83 22 14 */ add r4, r3, r4
/* 800E5274 000E10B4 54 03 0F FE */ srwi r3, r0, 31
/* 800E5278 000E10B8 7C 00 1A 14 */ add r0, r0, r3
/* 800E527C 000E10BC 7C 04 00 00 */ cmpw r4, r0
/* 800E5280 000E10C0 40 80 00 1C */ bge lbl_800E529C
/* 800E5284 000E10C4 7F 23 CB 78 */ mr r3, r25
/* 800E5288 000E10C8 7F A4 EB 78 */ mr r4, r29
/* 800E528C 000E10CC 38 A1 00 08 */ addi r5, r1, 0x8
/* 800E5290 000E10D0 48 00 00 41 */ bl "sort<PQ54nw4r3g3d6detail7workmem4MdlZ,RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v"
/* 800E5294 000E10D4 7F B9 EB 78 */ mr r25, r29
/* 800E5298 000E10D8 4B FF FA A8 */ b lbl_800E4D40
.global lbl_800E529C
lbl_800E529C:
/* 800E529C 000E10DC 7F A3 EB 78 */ mr r3, r29
/* 800E52A0 000E10E0 7F 44 D3 78 */ mr r4, r26
/* 800E52A4 000E10E4 38 A1 00 08 */ addi r5, r1, 0x8
/* 800E52A8 000E10E8 48 00 00 29 */ bl "sort<PQ54nw4r3g3d6detail7workmem4MdlZ,RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v"
/* 800E52AC 000E10EC 7F BA EB 78 */ mr r26, r29
/* 800E52B0 000E10F0 4B FF FA 90 */ b lbl_800E4D40
.global lbl_800E52B4
lbl_800E52B4:
/* 800E52B4 000E10F4 39 61 00 80 */ addi r11, r1, 0x80
/* 800E52B8 000E10F8 4B F2 20 C5 */ bl lbl_8000737C
/* 800E52BC 000E10FC 80 01 00 84 */ lwz r0, 0x84(r1)
/* 800E52C0 000E1100 7C 08 03 A6 */ mtlr r0
/* 800E52C4 000E1104 38 21 00 80 */ addi r1, r1, 0x80
/* 800E52C8 000E1108 4E 80 00 20 */ blr
/* 800E52CC 000E110C 00 00 00 00 */ .4byte 0x00000000
.global "sort<PQ54nw4r3g3d6detail7workmem4MdlZ,RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v"
"sort<PQ54nw4r3g3d6detail7workmem4MdlZ,RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v":
/* 800E52D0 000E1110 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 800E52D4 000E1114 7C 08 02 A6 */ mflr r0
/* 800E52D8 000E1118 90 01 00 84 */ stw r0, 0x84(r1)
/* 800E52DC 000E111C 39 61 00 80 */ addi r11, r1, 0x80
/* 800E52E0 000E1120 4B F2 20 4D */ bl lbl_8000732C
/* 800E52E4 000E1124 3E E0 2A AB */ lis r23, 0x2aab
/* 800E52E8 000E1128 3C C0 66 66 */ lis r6, 0x6666
/* 800E52EC 000E112C 7C 78 1B 78 */ mr r24, r3
/* 800E52F0 000E1130 7C 99 23 78 */ mr r25, r4
/* 800E52F4 000E1134 7C BA 2B 78 */ mr r26, r5
/* 800E52F8 000E1138 3B E6 66 67 */ addi r31, r6, 0x6667
/* 800E52FC 000E113C 3B D7 AA AB */ addi r30, r23, -0x5555
.global lbl_800E5300
lbl_800E5300:
/* 800E5300 000E1140 7C 18 C8 50 */ subf r0, r24, r25
/* 800E5304 000E1144 7C 1E 00 96 */ mulhw r0, r30, r0
/* 800E5308 000E1148 7C 00 0E 70 */ srawi r0, r0, 1
/* 800E530C 000E114C 54 03 0F FE */ srwi r3, r0, 31
/* 800E5310 000E1150 7C E0 1A 14 */ add r7, r0, r3
/* 800E5314 000E1154 2C 07 00 01 */ cmpwi r7, 0x1
/* 800E5318 000E1158 40 81 05 5C */ ble lbl_800E5874
/* 800E531C 000E115C 2C 07 00 14 */ cmpwi r7, 0x14
/* 800E5320 000E1160 41 81 00 D4 */ bgt lbl_800E53F4
/* 800E5324 000E1164 7C 18 C8 40 */ cmplw r24, r25
/* 800E5328 000E1168 41 82 05 4C */ beq lbl_800E5874
/* 800E532C 000E116C 3A F9 FF F4 */ addi r23, r25, -0xc
/* 800E5330 000E1170 48 00 00 B8 */ b lbl_800E53E8
.global lbl_800E5334
lbl_800E5334:
/* 800E5334 000E1174 7C 18 C8 40 */ cmplw r24, r25
/* 800E5338 000E1178 7F 1B C3 78 */ mr r27, r24
/* 800E533C 000E117C 41 82 00 38 */ beq lbl_800E5374
/* 800E5340 000E1180 3B 98 00 0C */ addi r28, r24, 0xc
/* 800E5344 000E1184 48 00 00 28 */ b lbl_800E536C
.global lbl_800E5348
lbl_800E5348:
/* 800E5348 000E1188 81 9A 00 00 */ lwz r12, 0x0(r26)
/* 800E534C 000E118C 7F 83 E3 78 */ mr r3, r28
/* 800E5350 000E1190 7F 64 DB 78 */ mr r4, r27
/* 800E5354 000E1194 7D 89 03 A6 */ mtctr r12
/* 800E5358 000E1198 4E 80 04 21 */ bctrl
/* 800E535C 000E119C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E5360 000E11A0 41 82 00 08 */ beq lbl_800E5368
/* 800E5364 000E11A4 7F 9B E3 78 */ mr r27, r28
.global lbl_800E5368
lbl_800E5368:
/* 800E5368 000E11A8 3B 9C 00 0C */ addi r28, r28, 0xc
.global lbl_800E536C
lbl_800E536C:
/* 800E536C 000E11AC 7C 1C C8 40 */ cmplw r28, r25
/* 800E5370 000E11B0 40 82 FF D8 */ bne lbl_800E5348
.global lbl_800E5374
lbl_800E5374:
/* 800E5374 000E11B4 7C 1B C0 40 */ cmplw r27, r24
/* 800E5378 000E11B8 41 82 00 6C */ beq lbl_800E53E4
/* 800E537C 000E11BC 80 BB 00 00 */ lwz r5, 0x0(r27)
/* 800E5380 000E11C0 80 7B 00 04 */ lwz r3, 0x4(r27)
/* 800E5384 000E11C4 80 9B 00 08 */ lwz r4, 0x8(r27)
/* 800E5388 000E11C8 C0 18 00 00 */ lfs f0, 0x0(r24)
/* 800E538C 000E11CC D0 1B 00 00 */ stfs f0, 0x0(r27)
/* 800E5390 000E11D0 A0 18 00 04 */ lhz r0, 0x4(r24)
/* 800E5394 000E11D4 B0 1B 00 04 */ sth r0, 0x4(r27)
/* 800E5398 000E11D8 A0 18 00 06 */ lhz r0, 0x6(r24)
/* 800E539C 000E11DC B0 1B 00 06 */ sth r0, 0x6(r27)
/* 800E53A0 000E11E0 A0 18 00 08 */ lhz r0, 0x8(r24)
/* 800E53A4 000E11E4 90 A1 00 44 */ stw r5, 0x44(r1)
/* 800E53A8 000E11E8 B0 1B 00 08 */ sth r0, 0x8(r27)
/* 800E53AC 000E11EC C0 01 00 44 */ lfs f0, 0x44(r1)
/* 800E53B0 000E11F0 90 61 00 48 */ stw r3, 0x48(r1)
/* 800E53B4 000E11F4 A0 78 00 0A */ lhz r3, 0xa(r24)
/* 800E53B8 000E11F8 B0 7B 00 0A */ sth r3, 0xa(r27)
/* 800E53BC 000E11FC A0 01 00 48 */ lhz r0, 0x48(r1)
/* 800E53C0 000E1200 90 81 00 4C */ stw r4, 0x4c(r1)
/* 800E53C4 000E1204 A0 81 00 4A */ lhz r4, 0x4a(r1)
/* 800E53C8 000E1208 D0 18 00 00 */ stfs f0, 0x0(r24)
/* 800E53CC 000E120C A0 61 00 4C */ lhz r3, 0x4c(r1)
/* 800E53D0 000E1210 B0 18 00 04 */ sth r0, 0x4(r24)
/* 800E53D4 000E1214 A0 01 00 4E */ lhz r0, 0x4e(r1)
/* 800E53D8 000E1218 B0 98 00 06 */ sth r4, 0x6(r24)
/* 800E53DC 000E121C B0 78 00 08 */ sth r3, 0x8(r24)
/* 800E53E0 000E1220 B0 18 00 0A */ sth r0, 0xa(r24)
.global lbl_800E53E4
lbl_800E53E4:
/* 800E53E4 000E1224 3B 18 00 0C */ addi r24, r24, 0xc
.global lbl_800E53E8
lbl_800E53E8:
/* 800E53E8 000E1228 7C 18 B8 40 */ cmplw r24, r23
/* 800E53EC 000E122C 40 82 FF 48 */ bne lbl_800E5334
/* 800E53F0 000E1230 48 00 04 84 */ b lbl_800E5874
.global lbl_800E53F4
lbl_800E53F4:
/* 800E53F4 000E1234 80 8D 85 EC */ lwz r4, "@LOCAL@sort<PQ54nw4r3g3d6detail7workmem4MdlZ,RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v@shuffle@0"@sda21(r13)
/* 800E53F8 000E1238 7C E0 16 70 */ srawi r0, r7, 2
/* 800E53FC 000E123C 7C A0 01 94 */ addze r5, r0
/* 800E5400 000E1240 7C 1F 20 96 */ mulhw r0, r31, r4
/* 800E5404 000E1244 38 C4 00 01 */ addi r6, r4, 0x1
/* 800E5408 000E1248 2C 06 00 05 */ cmpwi r6, 0x5
/* 800E540C 000E124C 7C 00 0E 70 */ srawi r0, r0, 1
/* 800E5410 000E1250 54 03 0F FE */ srwi r3, r0, 31
/* 800E5414 000E1254 7C 00 1A 14 */ add r0, r0, r3
/* 800E5418 000E1258 1C 00 00 05 */ mulli r0, r0, 0x5
/* 800E541C 000E125C 7C 00 20 50 */ subf r0, r0, r4
/* 800E5420 000E1260 7C 05 02 14 */ add r0, r5, r0
/* 800E5424 000E1264 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800E5428 000E1268 7C 78 02 14 */ add r3, r24, r0
/* 800E542C 000E126C 41 80 00 08 */ blt lbl_800E5434
/* 800E5430 000E1270 38 C0 FF FC */ li r6, -0x4
.global lbl_800E5434
lbl_800E5434:
/* 800E5434 000E1274 7C 9F 30 96 */ mulhw r4, r31, r6
/* 800E5438 000E1278 38 06 00 01 */ addi r0, r6, 0x1
/* 800E543C 000E127C 54 E5 10 3A */ slwi r5, r7, 2
/* 800E5440 000E1280 90 0D 85 EC */ stw r0, "@LOCAL@sort<PQ54nw4r3g3d6detail7workmem4MdlZ,RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v@shuffle@0"@sda21(r13)
/* 800E5444 000E1284 2C 00 00 05 */ cmpwi r0, 0x5
/* 800E5448 000E1288 7C 07 28 50 */ subf r0, r7, r5
/* 800E544C 000E128C 7C 00 16 70 */ srawi r0, r0, 2
/* 800E5450 000E1290 7C A0 01 94 */ addze r5, r0
/* 800E5454 000E1294 7C 80 0E 70 */ srawi r0, r4, 1
/* 800E5458 000E1298 54 04 0F FE */ srwi r4, r0, 31
/* 800E545C 000E129C 7C 00 22 14 */ add r0, r0, r4
/* 800E5460 000E12A0 1C 00 00 05 */ mulli r0, r0, 0x5
/* 800E5464 000E12A4 7C 00 30 50 */ subf r0, r0, r6
/* 800E5468 000E12A8 7C 05 02 14 */ add r0, r5, r0
/* 800E546C 000E12AC 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800E5470 000E12B0 7C 98 02 14 */ add r4, r24, r0
/* 800E5474 000E12B4 41 80 00 0C */ blt lbl_800E5480
/* 800E5478 000E12B8 38 C0 FF FC */ li r6, -0x4
/* 800E547C 000E12BC 90 CD 85 EC */ stw r6, "@LOCAL@sort<PQ54nw4r3g3d6detail7workmem4MdlZ,RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v@shuffle@0"@sda21(r13)
.global lbl_800E5480
lbl_800E5480:
/* 800E5480 000E12C0 3B 79 FF F4 */ addi r27, r25, -0xc
/* 800E5484 000E12C4 7F 46 D3 78 */ mr r6, r26
/* 800E5488 000E12C8 7F 65 DB 78 */ mr r5, r27
/* 800E548C 000E12CC 48 00 04 05 */ bl "__sort132<RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b,PQ54nw4r3g3d6detail7workmem4MdlZ>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v"
/* 800E5490 000E12D0 7F 1D C3 78 */ mr r29, r24
/* 800E5494 000E12D4 7F 7C DB 78 */ mr r28, r27
/* 800E5498 000E12D8 48 00 00 08 */ b lbl_800E54A0
.global lbl_800E549C
lbl_800E549C:
/* 800E549C 000E12DC 3B BD 00 0C */ addi r29, r29, 0xc
.global lbl_800E54A0
lbl_800E54A0:
/* 800E54A0 000E12E0 81 9A 00 00 */ lwz r12, 0x0(r26)
/* 800E54A4 000E12E4 7F A3 EB 78 */ mr r3, r29
/* 800E54A8 000E12E8 7F 64 DB 78 */ mr r4, r27
/* 800E54AC 000E12EC 7D 89 03 A6 */ mtctr r12
/* 800E54B0 000E12F0 4E 80 04 21 */ bctrl
/* 800E54B4 000E12F4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E54B8 000E12F8 40 82 FF E4 */ bne lbl_800E549C
.global lbl_800E54BC
lbl_800E54BC:
/* 800E54BC 000E12FC 3B 9C FF F4 */ addi r28, r28, -0xc
/* 800E54C0 000E1300 7C 1D E0 40 */ cmplw r29, r28
/* 800E54C4 000E1304 41 82 00 20 */ beq lbl_800E54E4
/* 800E54C8 000E1308 81 9A 00 00 */ lwz r12, 0x0(r26)
/* 800E54CC 000E130C 7F 83 E3 78 */ mr r3, r28
/* 800E54D0 000E1310 7F 64 DB 78 */ mr r4, r27
/* 800E54D4 000E1314 7D 89 03 A6 */ mtctr r12
/* 800E54D8 000E1318 4E 80 04 21 */ bctrl
/* 800E54DC 000E131C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E54E0 000E1320 41 82 FF DC */ beq lbl_800E54BC
.global lbl_800E54E4
lbl_800E54E4:
/* 800E54E4 000E1324 7C 1D E0 40 */ cmplw r29, r28
/* 800E54E8 000E1328 40 80 01 2C */ bge lbl_800E5614
/* 800E54EC 000E132C 80 BD 00 00 */ lwz r5, 0x0(r29)
/* 800E54F0 000E1330 80 7D 00 04 */ lwz r3, 0x4(r29)
/* 800E54F4 000E1334 80 9D 00 08 */ lwz r4, 0x8(r29)
/* 800E54F8 000E1338 C0 1C 00 00 */ lfs f0, 0x0(r28)
/* 800E54FC 000E133C D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E5500 000E1340 A0 1C 00 04 */ lhz r0, 0x4(r28)
/* 800E5504 000E1344 B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E5508 000E1348 A0 1C 00 06 */ lhz r0, 0x6(r28)
/* 800E550C 000E134C B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E5510 000E1350 A0 1C 00 08 */ lhz r0, 0x8(r28)
/* 800E5514 000E1354 90 A1 00 38 */ stw r5, 0x38(r1)
/* 800E5518 000E1358 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E551C 000E135C C0 01 00 38 */ lfs f0, 0x38(r1)
/* 800E5520 000E1360 90 61 00 3C */ stw r3, 0x3c(r1)
/* 800E5524 000E1364 A0 7C 00 0A */ lhz r3, 0xa(r28)
/* 800E5528 000E1368 B0 7D 00 0A */ sth r3, 0xa(r29)
/* 800E552C 000E136C 3B BD 00 0C */ addi r29, r29, 0xc
/* 800E5530 000E1370 A0 01 00 3C */ lhz r0, 0x3c(r1)
/* 800E5534 000E1374 90 81 00 40 */ stw r4, 0x40(r1)
/* 800E5538 000E1378 A0 81 00 3E */ lhz r4, 0x3e(r1)
/* 800E553C 000E137C D0 1C 00 00 */ stfs f0, 0x0(r28)
/* 800E5540 000E1380 A0 61 00 40 */ lhz r3, 0x40(r1)
/* 800E5544 000E1384 B0 1C 00 04 */ sth r0, 0x4(r28)
/* 800E5548 000E1388 A0 01 00 42 */ lhz r0, 0x42(r1)
/* 800E554C 000E138C B0 9C 00 06 */ sth r4, 0x6(r28)
/* 800E5550 000E1390 B0 7C 00 08 */ sth r3, 0x8(r28)
/* 800E5554 000E1394 B0 1C 00 0A */ sth r0, 0xa(r28)
/* 800E5558 000E1398 48 00 00 08 */ b lbl_800E5560
.global lbl_800E555C
lbl_800E555C:
/* 800E555C 000E139C 3B BD 00 0C */ addi r29, r29, 0xc
.global lbl_800E5560
lbl_800E5560:
/* 800E5560 000E13A0 81 9A 00 00 */ lwz r12, 0x0(r26)
/* 800E5564 000E13A4 7F A3 EB 78 */ mr r3, r29
/* 800E5568 000E13A8 7F 64 DB 78 */ mr r4, r27
/* 800E556C 000E13AC 7D 89 03 A6 */ mtctr r12
/* 800E5570 000E13B0 4E 80 04 21 */ bctrl
/* 800E5574 000E13B4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E5578 000E13B8 40 82 FF E4 */ bne lbl_800E555C
.global lbl_800E557C
lbl_800E557C:
/* 800E557C 000E13BC 81 9A 00 00 */ lwz r12, 0x0(r26)
/* 800E5580 000E13C0 3B 9C FF F4 */ addi r28, r28, -0xc
/* 800E5584 000E13C4 7F 83 E3 78 */ mr r3, r28
/* 800E5588 000E13C8 7F 64 DB 78 */ mr r4, r27
/* 800E558C 000E13CC 7D 89 03 A6 */ mtctr r12
/* 800E5590 000E13D0 4E 80 04 21 */ bctrl
/* 800E5594 000E13D4 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E5598 000E13D8 41 82 FF E4 */ beq lbl_800E557C
/* 800E559C 000E13DC 7C 1D E0 40 */ cmplw r29, r28
/* 800E55A0 000E13E0 40 80 00 74 */ bge lbl_800E5614
/* 800E55A4 000E13E4 80 BD 00 00 */ lwz r5, 0x0(r29)
/* 800E55A8 000E13E8 80 7D 00 04 */ lwz r3, 0x4(r29)
/* 800E55AC 000E13EC 80 9D 00 08 */ lwz r4, 0x8(r29)
/* 800E55B0 000E13F0 C0 1C 00 00 */ lfs f0, 0x0(r28)
/* 800E55B4 000E13F4 D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E55B8 000E13F8 A0 1C 00 04 */ lhz r0, 0x4(r28)
/* 800E55BC 000E13FC B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E55C0 000E1400 A0 1C 00 06 */ lhz r0, 0x6(r28)
/* 800E55C4 000E1404 B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E55C8 000E1408 A0 1C 00 08 */ lhz r0, 0x8(r28)
/* 800E55CC 000E140C 90 A1 00 2C */ stw r5, 0x2c(r1)
/* 800E55D0 000E1410 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E55D4 000E1414 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 800E55D8 000E1418 90 61 00 30 */ stw r3, 0x30(r1)
/* 800E55DC 000E141C A0 7C 00 0A */ lhz r3, 0xa(r28)
/* 800E55E0 000E1420 B0 7D 00 0A */ sth r3, 0xa(r29)
/* 800E55E4 000E1424 3B BD 00 0C */ addi r29, r29, 0xc
/* 800E55E8 000E1428 A0 01 00 30 */ lhz r0, 0x30(r1)
/* 800E55EC 000E142C 90 81 00 34 */ stw r4, 0x34(r1)
/* 800E55F0 000E1430 A0 81 00 32 */ lhz r4, 0x32(r1)
/* 800E55F4 000E1434 D0 1C 00 00 */ stfs f0, 0x0(r28)
/* 800E55F8 000E1438 A0 61 00 34 */ lhz r3, 0x34(r1)
/* 800E55FC 000E143C B0 1C 00 04 */ sth r0, 0x4(r28)
/* 800E5600 000E1440 A0 01 00 36 */ lhz r0, 0x36(r1)
/* 800E5604 000E1444 B0 9C 00 06 */ sth r4, 0x6(r28)
/* 800E5608 000E1448 B0 7C 00 08 */ sth r3, 0x8(r28)
/* 800E560C 000E144C B0 1C 00 0A */ sth r0, 0xa(r28)
/* 800E5610 000E1450 4B FF FF 50 */ b lbl_800E5560
.global lbl_800E5614
lbl_800E5614:
/* 800E5614 000E1454 7C 1D C0 40 */ cmplw r29, r24
/* 800E5618 000E1458 40 82 01 F8 */ bne lbl_800E5810
/* 800E561C 000E145C 80 FD 00 00 */ lwz r7, 0x0(r29)
/* 800E5620 000E1460 3B 99 FF F4 */ addi r28, r25, -0xc
/* 800E5624 000E1464 80 BD 00 04 */ lwz r5, 0x4(r29)
/* 800E5628 000E1468 7F 03 C3 78 */ mr r3, r24
/* 800E562C 000E146C 80 DD 00 08 */ lwz r6, 0x8(r29)
/* 800E5630 000E1470 7F 84 E3 78 */ mr r4, r28
/* 800E5634 000E1474 C0 1B 00 00 */ lfs f0, 0x0(r27)
/* 800E5638 000E1478 D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E563C 000E147C A0 1B 00 04 */ lhz r0, 0x4(r27)
/* 800E5640 000E1480 B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E5644 000E1484 A0 1B 00 06 */ lhz r0, 0x6(r27)
/* 800E5648 000E1488 B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E564C 000E148C A0 1B 00 08 */ lhz r0, 0x8(r27)
/* 800E5650 000E1490 90 E1 00 20 */ stw r7, 0x20(r1)
/* 800E5654 000E1494 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E5658 000E1498 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 800E565C 000E149C 90 A1 00 24 */ stw r5, 0x24(r1)
/* 800E5660 000E14A0 A0 BB 00 0A */ lhz r5, 0xa(r27)
/* 800E5664 000E14A4 B0 BD 00 0A */ sth r5, 0xa(r29)
/* 800E5668 000E14A8 A0 01 00 24 */ lhz r0, 0x24(r1)
/* 800E566C 000E14AC 90 C1 00 28 */ stw r6, 0x28(r1)
/* 800E5670 000E14B0 A0 C1 00 26 */ lhz r6, 0x26(r1)
/* 800E5674 000E14B4 D0 1B 00 00 */ stfs f0, 0x0(r27)
/* 800E5678 000E14B8 A0 A1 00 28 */ lhz r5, 0x28(r1)
/* 800E567C 000E14BC B0 1B 00 04 */ sth r0, 0x4(r27)
/* 800E5680 000E14C0 A0 01 00 2A */ lhz r0, 0x2a(r1)
/* 800E5684 000E14C4 B0 DB 00 06 */ sth r6, 0x6(r27)
/* 800E5688 000E14C8 B0 BB 00 08 */ sth r5, 0x8(r27)
/* 800E568C 000E14CC B0 1B 00 0A */ sth r0, 0xa(r27)
/* 800E5690 000E14D0 81 9A 00 00 */ lwz r12, 0x0(r26)
/* 800E5694 000E14D4 7D 89 03 A6 */ mtctr r12
/* 800E5698 000E14D8 3B BD 00 0C */ addi r29, r29, 0xc
/* 800E569C 000E14DC 4E 80 04 21 */ bctrl
/* 800E56A0 000E14E0 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E56A4 000E14E4 40 82 00 A0 */ bne lbl_800E5744
/* 800E56A8 000E14E8 48 00 00 08 */ b lbl_800E56B0
.global lbl_800E56AC
lbl_800E56AC:
/* 800E56AC 000E14EC 3B BD 00 0C */ addi r29, r29, 0xc
.global lbl_800E56B0
lbl_800E56B0:
/* 800E56B0 000E14F0 7C 1D C8 40 */ cmplw r29, r25
/* 800E56B4 000E14F4 41 82 00 20 */ beq lbl_800E56D4
/* 800E56B8 000E14F8 81 9A 00 00 */ lwz r12, 0x0(r26)
/* 800E56BC 000E14FC 7F 03 C3 78 */ mr r3, r24
/* 800E56C0 000E1500 7F A4 EB 78 */ mr r4, r29
/* 800E56C4 000E1504 7D 89 03 A6 */ mtctr r12
/* 800E56C8 000E1508 4E 80 04 21 */ bctrl
/* 800E56CC 000E150C 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E56D0 000E1510 41 82 FF DC */ beq lbl_800E56AC
.global lbl_800E56D4
lbl_800E56D4:
/* 800E56D4 000E1514 7C 1D E0 40 */ cmplw r29, r28
/* 800E56D8 000E1518 40 80 00 6C */ bge lbl_800E5744
/* 800E56DC 000E151C 80 BD 00 00 */ lwz r5, 0x0(r29)
/* 800E56E0 000E1520 80 7D 00 04 */ lwz r3, 0x4(r29)
/* 800E56E4 000E1524 80 9D 00 08 */ lwz r4, 0x8(r29)
/* 800E56E8 000E1528 C0 1C 00 00 */ lfs f0, 0x0(r28)
/* 800E56EC 000E152C D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E56F0 000E1530 A0 1C 00 04 */ lhz r0, 0x4(r28)
/* 800E56F4 000E1534 B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E56F8 000E1538 A0 1C 00 06 */ lhz r0, 0x6(r28)
/* 800E56FC 000E153C B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E5700 000E1540 A0 1C 00 08 */ lhz r0, 0x8(r28)
/* 800E5704 000E1544 90 A1 00 14 */ stw r5, 0x14(r1)
/* 800E5708 000E1548 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E570C 000E154C C0 01 00 14 */ lfs f0, 0x14(r1)
/* 800E5710 000E1550 90 61 00 18 */ stw r3, 0x18(r1)
/* 800E5714 000E1554 A0 7C 00 0A */ lhz r3, 0xa(r28)
/* 800E5718 000E1558 B0 7D 00 0A */ sth r3, 0xa(r29)
/* 800E571C 000E155C A0 01 00 18 */ lhz r0, 0x18(r1)
/* 800E5720 000E1560 90 81 00 1C */ stw r4, 0x1c(r1)
/* 800E5724 000E1564 A0 81 00 1A */ lhz r4, 0x1a(r1)
/* 800E5728 000E1568 D0 1C 00 00 */ stfs f0, 0x0(r28)
/* 800E572C 000E156C A0 61 00 1C */ lhz r3, 0x1c(r1)
/* 800E5730 000E1570 B0 1C 00 04 */ sth r0, 0x4(r28)
/* 800E5734 000E1574 A0 01 00 1E */ lhz r0, 0x1e(r1)
/* 800E5738 000E1578 B0 9C 00 06 */ sth r4, 0x6(r28)
/* 800E573C 000E157C B0 7C 00 08 */ sth r3, 0x8(r28)
/* 800E5740 000E1580 B0 1C 00 0A */ sth r0, 0xa(r28)
.global lbl_800E5744
lbl_800E5744:
/* 800E5744 000E1584 7C 1D E0 40 */ cmplw r29, r28
/* 800E5748 000E1588 40 80 00 C0 */ bge lbl_800E5808
/* 800E574C 000E158C 48 00 00 08 */ b lbl_800E5754
.global lbl_800E5750
lbl_800E5750:
/* 800E5750 000E1590 3B BD 00 0C */ addi r29, r29, 0xc
.global lbl_800E5754
lbl_800E5754:
/* 800E5754 000E1594 81 9A 00 00 */ lwz r12, 0x0(r26)
/* 800E5758 000E1598 7F 03 C3 78 */ mr r3, r24
/* 800E575C 000E159C 7F A4 EB 78 */ mr r4, r29
/* 800E5760 000E15A0 7D 89 03 A6 */ mtctr r12
/* 800E5764 000E15A4 4E 80 04 21 */ bctrl
/* 800E5768 000E15A8 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E576C 000E15AC 41 82 FF E4 */ beq lbl_800E5750
.global lbl_800E5770
lbl_800E5770:
/* 800E5770 000E15B0 81 9A 00 00 */ lwz r12, 0x0(r26)
/* 800E5774 000E15B4 3B 9C FF F4 */ addi r28, r28, -0xc
/* 800E5778 000E15B8 7F 03 C3 78 */ mr r3, r24
/* 800E577C 000E15BC 7F 84 E3 78 */ mr r4, r28
/* 800E5780 000E15C0 7D 89 03 A6 */ mtctr r12
/* 800E5784 000E15C4 4E 80 04 21 */ bctrl
/* 800E5788 000E15C8 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E578C 000E15CC 40 82 FF E4 */ bne lbl_800E5770
/* 800E5790 000E15D0 7C 1D E0 40 */ cmplw r29, r28
/* 800E5794 000E15D4 40 80 00 74 */ bge lbl_800E5808
/* 800E5798 000E15D8 80 BD 00 00 */ lwz r5, 0x0(r29)
/* 800E579C 000E15DC 80 7D 00 04 */ lwz r3, 0x4(r29)
/* 800E57A0 000E15E0 80 9D 00 08 */ lwz r4, 0x8(r29)
/* 800E57A4 000E15E4 C0 1C 00 00 */ lfs f0, 0x0(r28)
/* 800E57A8 000E15E8 D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E57AC 000E15EC A0 1C 00 04 */ lhz r0, 0x4(r28)
/* 800E57B0 000E15F0 B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E57B4 000E15F4 A0 1C 00 06 */ lhz r0, 0x6(r28)
/* 800E57B8 000E15F8 B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E57BC 000E15FC A0 1C 00 08 */ lhz r0, 0x8(r28)
/* 800E57C0 000E1600 90 A1 00 08 */ stw r5, 0x8(r1)
/* 800E57C4 000E1604 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E57C8 000E1608 C0 01 00 08 */ lfs f0, 0x8(r1)
/* 800E57CC 000E160C 90 61 00 0C */ stw r3, 0xc(r1)
/* 800E57D0 000E1610 A0 7C 00 0A */ lhz r3, 0xa(r28)
/* 800E57D4 000E1614 B0 7D 00 0A */ sth r3, 0xa(r29)
/* 800E57D8 000E1618 3B BD 00 0C */ addi r29, r29, 0xc
/* 800E57DC 000E161C A0 01 00 0C */ lhz r0, 0xc(r1)
/* 800E57E0 000E1620 90 81 00 10 */ stw r4, 0x10(r1)
/* 800E57E4 000E1624 A0 81 00 0E */ lhz r4, 0xe(r1)
/* 800E57E8 000E1628 D0 1C 00 00 */ stfs f0, 0x0(r28)
/* 800E57EC 000E162C A0 61 00 10 */ lhz r3, 0x10(r1)
/* 800E57F0 000E1630 B0 1C 00 04 */ sth r0, 0x4(r28)
/* 800E57F4 000E1634 A0 01 00 12 */ lhz r0, 0x12(r1)
/* 800E57F8 000E1638 B0 9C 00 06 */ sth r4, 0x6(r28)
/* 800E57FC 000E163C B0 7C 00 08 */ sth r3, 0x8(r28)
/* 800E5800 000E1640 B0 1C 00 0A */ sth r0, 0xa(r28)
/* 800E5804 000E1644 4B FF FF 50 */ b lbl_800E5754
.global lbl_800E5808
lbl_800E5808:
/* 800E5808 000E1648 7F B8 EB 78 */ mr r24, r29
/* 800E580C 000E164C 4B FF FA F4 */ b lbl_800E5300
.global lbl_800E5810
lbl_800E5810:
/* 800E5810 000E1650 7C 18 E8 50 */ subf r0, r24, r29
/* 800E5814 000E1654 38 97 AA AB */ addi r4, r23, -0x5555
/* 800E5818 000E1658 7C 64 00 96 */ mulhw r3, r4, r0
/* 800E581C 000E165C 7C 1D C8 50 */ subf r0, r29, r25
/* 800E5820 000E1660 7C 04 00 96 */ mulhw r0, r4, r0
/* 800E5824 000E1664 7C 63 0E 70 */ srawi r3, r3, 1
/* 800E5828 000E1668 54 64 0F FE */ srwi r4, r3, 31
/* 800E582C 000E166C 7C 00 0E 70 */ srawi r0, r0, 1
/* 800E5830 000E1670 7C 83 22 14 */ add r4, r3, r4
/* 800E5834 000E1674 54 03 0F FE */ srwi r3, r0, 31
/* 800E5838 000E1678 7C 00 1A 14 */ add r0, r0, r3
/* 800E583C 000E167C 7C 04 00 00 */ cmpw r4, r0
/* 800E5840 000E1680 40 80 00 1C */ bge lbl_800E585C
/* 800E5844 000E1684 7F 03 C3 78 */ mr r3, r24
/* 800E5848 000E1688 7F A4 EB 78 */ mr r4, r29
/* 800E584C 000E168C 7F 45 D3 78 */ mr r5, r26
/* 800E5850 000E1690 4B FF FA 81 */ bl "sort<PQ54nw4r3g3d6detail7workmem4MdlZ,RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v"
/* 800E5854 000E1694 7F B8 EB 78 */ mr r24, r29
/* 800E5858 000E1698 4B FF FA A8 */ b lbl_800E5300
.global lbl_800E585C
lbl_800E585C:
/* 800E585C 000E169C 7F A3 EB 78 */ mr r3, r29
/* 800E5860 000E16A0 7F 24 CB 78 */ mr r4, r25
/* 800E5864 000E16A4 7F 45 D3 78 */ mr r5, r26
/* 800E5868 000E16A8 4B FF FA 69 */ bl "sort<PQ54nw4r3g3d6detail7workmem4MdlZ,RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v"
/* 800E586C 000E16AC 7F B9 EB 78 */ mr r25, r29
/* 800E5870 000E16B0 4B FF FA 90 */ b lbl_800E5300
.global lbl_800E5874
lbl_800E5874:
/* 800E5874 000E16B4 39 61 00 80 */ addi r11, r1, 0x80
/* 800E5878 000E16B8 4B F2 1B 01 */ bl lbl_80007378
/* 800E587C 000E16BC 80 01 00 84 */ lwz r0, 0x84(r1)
/* 800E5880 000E16C0 7C 08 03 A6 */ mtlr r0
/* 800E5884 000E16C4 38 21 00 80 */ addi r1, r1, 0x80
/* 800E5888 000E16C8 4E 80 00 20 */ blr
/* 800E588C 000E16CC 00 00 00 00 */ .4byte 0x00000000
.global "__sort132<RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b,PQ54nw4r3g3d6detail7workmem4MdlZ>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v"
"__sort132<RPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b,PQ54nw4r3g3d6detail7workmem4MdlZ>__3stdFPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZPQ54nw4r3g3d6detail7workmem4MdlZRPFRCQ54nw4r3g3d6detail7workmem4MdlZRCQ54nw4r3g3d6detail7workmem4MdlZ_b_v":
/* 800E5890 000E16D0 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800E5894 000E16D4 7C 08 02 A6 */ mflr r0
/* 800E5898 000E16D8 90 01 00 54 */ stw r0, 0x54(r1)
/* 800E589C 000E16DC 39 61 00 50 */ addi r11, r1, 0x50
/* 800E58A0 000E16E0 4B F2 1A 9D */ bl lbl_8000733C
/* 800E58A4 000E16E4 81 86 00 00 */ lwz r12, 0x0(r6)
/* 800E58A8 000E16E8 7C 7D 1B 78 */ mr r29, r3
/* 800E58AC 000E16EC 7C BF 2B 78 */ mr r31, r5
/* 800E58B0 000E16F0 7C 9E 23 78 */ mr r30, r4
/* 800E58B4 000E16F4 7C DB 33 78 */ mr r27, r6
/* 800E58B8 000E16F8 7F A4 EB 78 */ mr r4, r29
/* 800E58BC 000E16FC 7F E3 FB 78 */ mr r3, r31
/* 800E58C0 000E1700 7D 89 03 A6 */ mtctr r12
/* 800E58C4 000E1704 4E 80 04 21 */ bctrl
/* 800E58C8 000E1708 81 9B 00 00 */ lwz r12, 0x0(r27)
/* 800E58CC 000E170C 7C 60 00 34 */ cntlzw r0, r3
/* 800E58D0 000E1710 7F C3 F3 78 */ mr r3, r30
/* 800E58D4 000E1714 7F E4 FB 78 */ mr r4, r31
/* 800E58D8 000E1718 54 1C D9 7E */ srwi r28, r0, 5
/* 800E58DC 000E171C 7D 89 03 A6 */ mtctr r12
/* 800E58E0 000E1720 4E 80 04 21 */ bctrl
/* 800E58E4 000E1724 2C 1C 00 00 */ cmpwi r28, 0x0
/* 800E58E8 000E1728 7C 60 00 34 */ cntlzw r0, r3
/* 800E58EC 000E172C 54 00 D9 7E */ srwi r0, r0, 5
/* 800E58F0 000E1730 41 82 00 0C */ beq lbl_800E58FC
/* 800E58F4 000E1734 2C 00 00 00 */ cmpwi r0, 0x0
/* 800E58F8 000E1738 40 82 01 E0 */ bne lbl_800E5AD8
.global lbl_800E58FC
lbl_800E58FC:
/* 800E58FC 000E173C 2C 1C 00 00 */ cmpwi r28, 0x0
/* 800E5900 000E1740 40 82 00 78 */ bne lbl_800E5978
/* 800E5904 000E1744 2C 00 00 00 */ cmpwi r0, 0x0
/* 800E5908 000E1748 40 82 00 70 */ bne lbl_800E5978
/* 800E590C 000E174C 80 DD 00 00 */ lwz r6, 0x0(r29)
/* 800E5910 000E1750 C0 1E 00 00 */ lfs f0, 0x0(r30)
/* 800E5914 000E1754 D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E5918 000E1758 80 9D 00 04 */ lwz r4, 0x4(r29)
/* 800E591C 000E175C A0 1E 00 04 */ lhz r0, 0x4(r30)
/* 800E5920 000E1760 B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E5924 000E1764 80 7D 00 08 */ lwz r3, 0x8(r29)
/* 800E5928 000E1768 A0 1E 00 06 */ lhz r0, 0x6(r30)
/* 800E592C 000E176C B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E5930 000E1770 A0 1E 00 08 */ lhz r0, 0x8(r30)
/* 800E5934 000E1774 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E5938 000E1778 90 81 00 30 */ stw r4, 0x30(r1)
/* 800E593C 000E177C A0 1E 00 0A */ lhz r0, 0xa(r30)
/* 800E5940 000E1780 90 61 00 34 */ stw r3, 0x34(r1)
/* 800E5944 000E1784 A0 A1 00 30 */ lhz r5, 0x30(r1)
/* 800E5948 000E1788 B0 1D 00 0A */ sth r0, 0xa(r29)
/* 800E594C 000E178C A0 81 00 32 */ lhz r4, 0x32(r1)
/* 800E5950 000E1790 90 C1 00 2C */ stw r6, 0x2c(r1)
/* 800E5954 000E1794 A0 61 00 34 */ lhz r3, 0x34(r1)
/* 800E5958 000E1798 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 800E595C 000E179C A0 01 00 36 */ lhz r0, 0x36(r1)
/* 800E5960 000E17A0 D0 1E 00 00 */ stfs f0, 0x0(r30)
/* 800E5964 000E17A4 B0 BE 00 04 */ sth r5, 0x4(r30)
/* 800E5968 000E17A8 B0 9E 00 06 */ sth r4, 0x6(r30)
/* 800E596C 000E17AC B0 7E 00 08 */ sth r3, 0x8(r30)
/* 800E5970 000E17B0 B0 1E 00 0A */ sth r0, 0xa(r30)
/* 800E5974 000E17B4 48 00 01 64 */ b lbl_800E5AD8
.global lbl_800E5978
lbl_800E5978:
/* 800E5978 000E17B8 81 9B 00 00 */ lwz r12, 0x0(r27)
/* 800E597C 000E17BC 7F C3 F3 78 */ mr r3, r30
/* 800E5980 000E17C0 7F A4 EB 78 */ mr r4, r29
/* 800E5984 000E17C4 7D 89 03 A6 */ mtctr r12
/* 800E5988 000E17C8 4E 80 04 21 */ bctrl
/* 800E598C 000E17CC 2C 03 00 00 */ cmpwi r3, 0x0
/* 800E5990 000E17D0 41 82 00 6C */ beq lbl_800E59FC
/* 800E5994 000E17D4 80 DD 00 00 */ lwz r6, 0x0(r29)
/* 800E5998 000E17D8 C0 1E 00 00 */ lfs f0, 0x0(r30)
/* 800E599C 000E17DC D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E59A0 000E17E0 80 9D 00 04 */ lwz r4, 0x4(r29)
/* 800E59A4 000E17E4 A0 1E 00 04 */ lhz r0, 0x4(r30)
/* 800E59A8 000E17E8 B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E59AC 000E17EC 80 7D 00 08 */ lwz r3, 0x8(r29)
/* 800E59B0 000E17F0 A0 1E 00 06 */ lhz r0, 0x6(r30)
/* 800E59B4 000E17F4 B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E59B8 000E17F8 A0 1E 00 08 */ lhz r0, 0x8(r30)
/* 800E59BC 000E17FC B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E59C0 000E1800 90 81 00 24 */ stw r4, 0x24(r1)
/* 800E59C4 000E1804 A0 1E 00 0A */ lhz r0, 0xa(r30)
/* 800E59C8 000E1808 90 61 00 28 */ stw r3, 0x28(r1)
/* 800E59CC 000E180C A0 A1 00 24 */ lhz r5, 0x24(r1)
/* 800E59D0 000E1810 B0 1D 00 0A */ sth r0, 0xa(r29)
/* 800E59D4 000E1814 A0 81 00 26 */ lhz r4, 0x26(r1)
/* 800E59D8 000E1818 90 C1 00 20 */ stw r6, 0x20(r1)
/* 800E59DC 000E181C A0 61 00 28 */ lhz r3, 0x28(r1)
/* 800E59E0 000E1820 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 800E59E4 000E1824 A0 01 00 2A */ lhz r0, 0x2a(r1)
/* 800E59E8 000E1828 D0 1E 00 00 */ stfs f0, 0x0(r30)
/* 800E59EC 000E182C B0 BE 00 04 */ sth r5, 0x4(r30)
/* 800E59F0 000E1830 B0 9E 00 06 */ sth r4, 0x6(r30)
/* 800E59F4 000E1834 B0 7E 00 08 */ sth r3, 0x8(r30)
/* 800E59F8 000E1838 B0 1E 00 0A */ sth r0, 0xa(r30)
.global lbl_800E59FC
lbl_800E59FC:
/* 800E59FC 000E183C 2C 1C 00 00 */ cmpwi r28, 0x0
/* 800E5A00 000E1840 41 82 00 70 */ beq lbl_800E5A70
/* 800E5A04 000E1844 80 DE 00 00 */ lwz r6, 0x0(r30)
/* 800E5A08 000E1848 C0 1F 00 00 */ lfs f0, 0x0(r31)
/* 800E5A0C 000E184C D0 1E 00 00 */ stfs f0, 0x0(r30)
/* 800E5A10 000E1850 80 9E 00 04 */ lwz r4, 0x4(r30)
/* 800E5A14 000E1854 A0 1F 00 04 */ lhz r0, 0x4(r31)
/* 800E5A18 000E1858 B0 1E 00 04 */ sth r0, 0x4(r30)
/* 800E5A1C 000E185C 80 7E 00 08 */ lwz r3, 0x8(r30)
/* 800E5A20 000E1860 A0 1F 00 06 */ lhz r0, 0x6(r31)
/* 800E5A24 000E1864 B0 1E 00 06 */ sth r0, 0x6(r30)
/* 800E5A28 000E1868 A0 1F 00 08 */ lhz r0, 0x8(r31)
/* 800E5A2C 000E186C B0 1E 00 08 */ sth r0, 0x8(r30)
/* 800E5A30 000E1870 90 81 00 18 */ stw r4, 0x18(r1)
/* 800E5A34 000E1874 A0 1F 00 0A */ lhz r0, 0xa(r31)
/* 800E5A38 000E1878 90 61 00 1C */ stw r3, 0x1c(r1)
/* 800E5A3C 000E187C A0 A1 00 18 */ lhz r5, 0x18(r1)
/* 800E5A40 000E1880 B0 1E 00 0A */ sth r0, 0xa(r30)
/* 800E5A44 000E1884 A0 81 00 1A */ lhz r4, 0x1a(r1)
/* 800E5A48 000E1888 90 C1 00 14 */ stw r6, 0x14(r1)
/* 800E5A4C 000E188C A0 61 00 1C */ lhz r3, 0x1c(r1)
/* 800E5A50 000E1890 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 800E5A54 000E1894 A0 01 00 1E */ lhz r0, 0x1e(r1)
/* 800E5A58 000E1898 D0 1F 00 00 */ stfs f0, 0x0(r31)
/* 800E5A5C 000E189C B0 BF 00 04 */ sth r5, 0x4(r31)
/* 800E5A60 000E18A0 B0 9F 00 06 */ sth r4, 0x6(r31)
/* 800E5A64 000E18A4 B0 7F 00 08 */ sth r3, 0x8(r31)
/* 800E5A68 000E18A8 B0 1F 00 0A */ sth r0, 0xa(r31)
/* 800E5A6C 000E18AC 48 00 00 6C */ b lbl_800E5AD8
.global lbl_800E5A70
lbl_800E5A70:
/* 800E5A70 000E18B0 80 DD 00 00 */ lwz r6, 0x0(r29)
/* 800E5A74 000E18B4 C0 1F 00 00 */ lfs f0, 0x0(r31)
/* 800E5A78 000E18B8 D0 1D 00 00 */ stfs f0, 0x0(r29)
/* 800E5A7C 000E18BC 80 9D 00 04 */ lwz r4, 0x4(r29)
/* 800E5A80 000E18C0 A0 1F 00 04 */ lhz r0, 0x4(r31)
/* 800E5A84 000E18C4 B0 1D 00 04 */ sth r0, 0x4(r29)
/* 800E5A88 000E18C8 80 7D 00 08 */ lwz r3, 0x8(r29)
/* 800E5A8C 000E18CC A0 1F 00 06 */ lhz r0, 0x6(r31)
/* 800E5A90 000E18D0 B0 1D 00 06 */ sth r0, 0x6(r29)
/* 800E5A94 000E18D4 A0 1F 00 08 */ lhz r0, 0x8(r31)
/* 800E5A98 000E18D8 B0 1D 00 08 */ sth r0, 0x8(r29)
/* 800E5A9C 000E18DC 90 81 00 0C */ stw r4, 0xc(r1)
/* 800E5AA0 000E18E0 A0 1F 00 0A */ lhz r0, 0xa(r31)
/* 800E5AA4 000E18E4 90 61 00 10 */ stw r3, 0x10(r1)
/* 800E5AA8 000E18E8 A0 A1 00 0C */ lhz r5, 0xc(r1)
/* 800E5AAC 000E18EC B0 1D 00 0A */ sth r0, 0xa(r29)
/* 800E5AB0 000E18F0 A0 81 00 0E */ lhz r4, 0xe(r1)
/* 800E5AB4 000E18F4 90 C1 00 08 */ stw r6, 0x8(r1)
/* 800E5AB8 000E18F8 A0 61 00 10 */ lhz r3, 0x10(r1)
/* 800E5ABC 000E18FC C0 01 00 08 */ lfs f0, 0x8(r1)
/* 800E5AC0 000E1900 A0 01 00 12 */ lhz r0, 0x12(r1)
/* 800E5AC4 000E1904 D0 1F 00 00 */ stfs f0, 0x0(r31)
/* 800E5AC8 000E1908 B0 BF 00 04 */ sth r5, 0x4(r31)
/* 800E5ACC 000E190C B0 9F 00 06 */ sth r4, 0x6(r31)
/* 800E5AD0 000E1910 B0 7F 00 08 */ sth r3, 0x8(r31)
/* 800E5AD4 000E1914 B0 1F 00 0A */ sth r0, 0xa(r31)
.global lbl_800E5AD8
lbl_800E5AD8:
/* 800E5AD8 000E1918 39 61 00 50 */ addi r11, r1, 0x50
/* 800E5ADC 000E191C 4B F2 18 AD */ bl lbl_80007388
/* 800E5AE0 000E1920 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800E5AE4 000E1924 7C 08 03 A6 */ mtlr r0
/* 800E5AE8 000E1928 38 21 00 50 */ addi r1, r1, 0x50
/* 800E5AEC 000E192C 4E 80 00 20 */ blr