prime/asm/Dolphin/ar/ar.s

1883 lines
96 KiB
ArmAsm

.include "macros.inc"
.section .data
.balign 8
.global ARVersionString
ARVersionString:
.asciz "<< Dolphin SDK - AR\trelease build: Sep 5 2002 05:34:27 (0x2301) >>"
.4byte 0
.section .sdata
.balign 8
.global lbl_805A8A70
lbl_805A8A70:
.4byte ARVersionString
.4byte 0
.section .sbss
.balign 8
.global __AR_Callback
__AR_Callback:
.skip 0x4
.global __AR_Size
__AR_Size:
.skip 0x4
.global __AR_InternalSize
__AR_InternalSize:
.skip 0x4
.global __AR_ExpansionSize
__AR_ExpansionSize:
.skip 0x4
.global __AR_StackPointer
__AR_StackPointer:
.skip 0x4
.global __AR_FreeBlocks
__AR_FreeBlocks:
.skip 0x4
.global __AR_BlockLength
__AR_BlockLength:
.skip 0x4
.global __AR_init_flag
__AR_init_flag:
.skip 0x4
.section .text, "ax"
.global ARRegisterDMACallback
ARRegisterDMACallback:
/* 8036D8A4 0036A804 7C 08 02 A6 */ mflr r0
/* 8036D8A8 0036A808 90 01 00 04 */ stw r0, 4(r1)
/* 8036D8AC 0036A80C 94 21 FF E8 */ stwu r1, -0x18(r1)
/* 8036D8B0 0036A810 93 E1 00 14 */ stw r31, 0x14(r1)
/* 8036D8B4 0036A814 93 C1 00 10 */ stw r30, 0x10(r1)
/* 8036D8B8 0036A818 7C 7E 1B 78 */ mr r30, r3
/* 8036D8BC 0036A81C 83 ED AB 38 */ lwz r31, __AR_Callback@sda21(r13)
/* 8036D8C0 0036A820 48 01 3D A1 */ bl OSDisableInterrupts
/* 8036D8C4 0036A824 93 CD AB 38 */ stw r30, __AR_Callback@sda21(r13)
/* 8036D8C8 0036A828 48 01 3D C1 */ bl OSRestoreInterrupts
/* 8036D8CC 0036A82C 7F E3 FB 78 */ mr r3, r31
/* 8036D8D0 0036A830 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8036D8D4 0036A834 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8036D8D8 0036A838 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8036D8DC 0036A83C 38 21 00 18 */ addi r1, r1, 0x18
/* 8036D8E0 0036A840 7C 08 03 A6 */ mtlr r0
/* 8036D8E4 0036A844 4E 80 00 20 */ blr
.global ARGetDMAStatus
ARGetDMAStatus:
/* 8036D8E8 0036A848 7C 08 02 A6 */ mflr r0
/* 8036D8EC 0036A84C 90 01 00 04 */ stw r0, 4(r1)
/* 8036D8F0 0036A850 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8036D8F4 0036A854 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8036D8F8 0036A858 48 01 3D 69 */ bl OSDisableInterrupts
/* 8036D8FC 0036A85C 3C 80 CC 00 */ lis r4, 0xCC00500A@ha
/* 8036D900 0036A860 A0 04 50 0A */ lhz r0, 0xCC00500A@l(r4)
/* 8036D904 0036A864 54 1F 05 AC */ rlwinm r31, r0, 0, 0x16, 0x16
/* 8036D908 0036A868 48 01 3D 81 */ bl OSRestoreInterrupts
/* 8036D90C 0036A86C 7F E3 FB 78 */ mr r3, r31
/* 8036D910 0036A870 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8036D914 0036A874 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8036D918 0036A878 38 21 00 10 */ addi r1, r1, 0x10
/* 8036D91C 0036A87C 7C 08 03 A6 */ mtlr r0
/* 8036D920 0036A880 4E 80 00 20 */ blr
.global ARStartDMA
ARStartDMA:
/* 8036D924 0036A884 7C 08 02 A6 */ mflr r0
/* 8036D928 0036A888 90 01 00 04 */ stw r0, 4(r1)
/* 8036D92C 0036A88C 94 21 FF D8 */ stwu r1, -0x28(r1)
/* 8036D930 0036A890 93 E1 00 24 */ stw r31, 0x24(r1)
/* 8036D934 0036A894 3B E6 00 00 */ addi r31, r6, 0
/* 8036D938 0036A898 93 C1 00 20 */ stw r30, 0x20(r1)
/* 8036D93C 0036A89C 3B C5 00 00 */ addi r30, r5, 0
/* 8036D940 0036A8A0 93 A1 00 1C */ stw r29, 0x1c(r1)
/* 8036D944 0036A8A4 3B A3 00 00 */ addi r29, r3, 0
/* 8036D948 0036A8A8 93 81 00 18 */ stw r28, 0x18(r1)
/* 8036D94C 0036A8AC 3B 84 00 00 */ addi r28, r4, 0
/* 8036D950 0036A8B0 48 01 3D 11 */ bl OSDisableInterrupts
/* 8036D954 0036A8B4 3C C0 CC 00 */ lis r6, 0xCC005020@ha
/* 8036D958 0036A8B8 A0 06 50 20 */ lhz r0, 0xCC005020@l(r6)
/* 8036D95C 0036A8BC 39 06 50 00 */ addi r8, r6, 0x5000
/* 8036D960 0036A8C0 39 26 50 00 */ addi r9, r6, 0x5000
/* 8036D964 0036A8C4 54 04 00 2A */ rlwinm r4, r0, 0, 0, 0x15
/* 8036D968 0036A8C8 57 80 84 3E */ srwi r0, r28, 0x10
/* 8036D96C 0036A8CC 7C 80 03 78 */ or r0, r4, r0
/* 8036D970 0036A8D0 B0 06 50 20 */ sth r0, 0x5020(r6)
/* 8036D974 0036A8D4 57 80 04 3E */ clrlwi r0, r28, 0x10
/* 8036D978 0036A8D8 38 86 50 00 */ addi r4, r6, 0x5000
/* 8036D97C 0036A8DC A0 A6 50 22 */ lhz r5, 0x5022(r6)
/* 8036D980 0036A8E0 54 A5 06 DE */ rlwinm r5, r5, 0, 0x1b, 0xf
/* 8036D984 0036A8E4 7C A0 03 78 */ or r0, r5, r0
/* 8036D988 0036A8E8 B0 06 50 22 */ sth r0, 0x5022(r6)
/* 8036D98C 0036A8EC 38 A6 50 00 */ addi r5, r6, 0x5000
/* 8036D990 0036A8F0 57 C0 84 3E */ srwi r0, r30, 0x10
/* 8036D994 0036A8F4 A0 C6 50 24 */ lhz r6, 0x5024(r6)
/* 8036D998 0036A8F8 54 C6 00 2A */ rlwinm r6, r6, 0, 0, 0x15
/* 8036D99C 0036A8FC 7C C0 03 78 */ or r0, r6, r0
/* 8036D9A0 0036A900 B0 08 00 24 */ sth r0, 0x24(r8)
/* 8036D9A4 0036A904 57 C0 04 3E */ clrlwi r0, r30, 0x10
/* 8036D9A8 0036A908 A0 C9 00 26 */ lhz r6, 0x26(r9)
/* 8036D9AC 0036A90C 54 C6 06 DE */ rlwinm r6, r6, 0, 0x1b, 0xf
/* 8036D9B0 0036A910 7C C0 03 78 */ or r0, r6, r0
/* 8036D9B4 0036A914 B0 09 00 26 */ sth r0, 0x26(r9)
/* 8036D9B8 0036A918 57 E6 84 3E */ srwi r6, r31, 0x10
/* 8036D9BC 0036A91C 57 E0 04 3E */ clrlwi r0, r31, 0x10
/* 8036D9C0 0036A920 A0 E4 00 28 */ lhz r7, 0x28(r4)
/* 8036D9C4 0036A924 54 E7 04 5E */ rlwinm r7, r7, 0, 0x11, 0xf
/* 8036D9C8 0036A928 53 A7 78 20 */ rlwimi r7, r29, 0xf, 0, 0x10
/* 8036D9CC 0036A92C B0 E4 00 28 */ sth r7, 0x28(r4)
/* 8036D9D0 0036A930 A0 E4 00 28 */ lhz r7, 0x28(r4)
/* 8036D9D4 0036A934 54 E7 00 2A */ rlwinm r7, r7, 0, 0, 0x15
/* 8036D9D8 0036A938 7C E6 33 78 */ or r6, r7, r6
/* 8036D9DC 0036A93C B0 C4 00 28 */ sth r6, 0x28(r4)
/* 8036D9E0 0036A940 A0 85 00 2A */ lhz r4, 0x2a(r5)
/* 8036D9E4 0036A944 54 84 06 DE */ rlwinm r4, r4, 0, 0x1b, 0xf
/* 8036D9E8 0036A948 7C 80 03 78 */ or r0, r4, r0
/* 8036D9EC 0036A94C B0 05 00 2A */ sth r0, 0x2a(r5)
/* 8036D9F0 0036A950 48 01 3C 99 */ bl OSRestoreInterrupts
/* 8036D9F4 0036A954 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8036D9F8 0036A958 83 E1 00 24 */ lwz r31, 0x24(r1)
/* 8036D9FC 0036A95C 83 C1 00 20 */ lwz r30, 0x20(r1)
/* 8036DA00 0036A960 83 A1 00 1C */ lwz r29, 0x1c(r1)
/* 8036DA04 0036A964 83 81 00 18 */ lwz r28, 0x18(r1)
/* 8036DA08 0036A968 38 21 00 28 */ addi r1, r1, 0x28
/* 8036DA0C 0036A96C 7C 08 03 A6 */ mtlr r0
/* 8036DA10 0036A970 4E 80 00 20 */ blr
.global ARAlloc
ARAlloc:
/* 8036DA14 0036A974 7C 08 02 A6 */ mflr r0
/* 8036DA18 0036A978 90 01 00 04 */ stw r0, 4(r1)
/* 8036DA1C 0036A97C 94 21 FF E8 */ stwu r1, -0x18(r1)
/* 8036DA20 0036A980 93 E1 00 14 */ stw r31, 0x14(r1)
/* 8036DA24 0036A984 93 C1 00 10 */ stw r30, 0x10(r1)
/* 8036DA28 0036A988 7C 7E 1B 78 */ mr r30, r3
/* 8036DA2C 0036A98C 48 01 3C 35 */ bl OSDisableInterrupts
/* 8036DA30 0036A990 83 ED AB 48 */ lwz r31, __AR_StackPointer@sda21(r13)
/* 8036DA34 0036A994 80 8D AB 50 */ lwz r4, __AR_BlockLength@sda21(r13)
/* 8036DA38 0036A998 7C 1F F2 14 */ add r0, r31, r30
/* 8036DA3C 0036A99C 90 0D AB 48 */ stw r0, __AR_StackPointer@sda21(r13)
/* 8036DA40 0036A9A0 93 C4 00 00 */ stw r30, 0(r4)
/* 8036DA44 0036A9A4 80 AD AB 50 */ lwz r5, __AR_BlockLength@sda21(r13)
/* 8036DA48 0036A9A8 80 8D AB 4C */ lwz r4, __AR_FreeBlocks@sda21(r13)
/* 8036DA4C 0036A9AC 38 A5 00 04 */ addi r5, r5, 4
/* 8036DA50 0036A9B0 38 04 FF FF */ addi r0, r4, -1
/* 8036DA54 0036A9B4 90 AD AB 50 */ stw r5, __AR_BlockLength@sda21(r13)
/* 8036DA58 0036A9B8 90 0D AB 4C */ stw r0, __AR_FreeBlocks@sda21(r13)
/* 8036DA5C 0036A9BC 48 01 3C 2D */ bl OSRestoreInterrupts
/* 8036DA60 0036A9C0 7F E3 FB 78 */ mr r3, r31
/* 8036DA64 0036A9C4 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8036DA68 0036A9C8 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8036DA6C 0036A9CC 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8036DA70 0036A9D0 38 21 00 18 */ addi r1, r1, 0x18
/* 8036DA74 0036A9D4 7C 08 03 A6 */ mtlr r0
/* 8036DA78 0036A9D8 4E 80 00 20 */ blr
.global ARFree
ARFree:
/* 8036DA7C 0036A9DC 7C 08 02 A6 */ mflr r0
/* 8036DA80 0036A9E0 90 01 00 04 */ stw r0, 4(r1)
/* 8036DA84 0036A9E4 94 21 FF E8 */ stwu r1, -0x18(r1)
/* 8036DA88 0036A9E8 93 E1 00 14 */ stw r31, 0x14(r1)
/* 8036DA8C 0036A9EC 7C 7F 1B 78 */ mr r31, r3
/* 8036DA90 0036A9F0 48 01 3B D1 */ bl OSDisableInterrupts
/* 8036DA94 0036A9F4 80 8D AB 50 */ lwz r4, __AR_BlockLength@sda21(r13)
/* 8036DA98 0036A9F8 28 1F 00 00 */ cmplwi r31, 0
/* 8036DA9C 0036A9FC 38 04 FF FC */ addi r0, r4, -4
/* 8036DAA0 0036AA00 90 0D AB 50 */ stw r0, __AR_BlockLength@sda21(r13)
/* 8036DAA4 0036AA04 41 82 00 10 */ beq lbl_8036DAB4
/* 8036DAA8 0036AA08 80 8D AB 50 */ lwz r4, __AR_BlockLength@sda21(r13)
/* 8036DAAC 0036AA0C 80 04 00 00 */ lwz r0, 0(r4)
/* 8036DAB0 0036AA10 90 1F 00 00 */ stw r0, 0(r31)
lbl_8036DAB4:
/* 8036DAB4 0036AA14 80 AD AB 50 */ lwz r5, __AR_BlockLength@sda21(r13)
/* 8036DAB8 0036AA18 80 8D AB 4C */ lwz r4, __AR_FreeBlocks@sda21(r13)
/* 8036DABC 0036AA1C 80 C5 00 00 */ lwz r6, 0(r5)
/* 8036DAC0 0036AA20 38 04 00 01 */ addi r0, r4, 1
/* 8036DAC4 0036AA24 80 AD AB 48 */ lwz r5, __AR_StackPointer@sda21(r13)
/* 8036DAC8 0036AA28 90 0D AB 4C */ stw r0, __AR_FreeBlocks@sda21(r13)
/* 8036DACC 0036AA2C 7C 06 28 50 */ subf r0, r6, r5
/* 8036DAD0 0036AA30 90 0D AB 48 */ stw r0, __AR_StackPointer@sda21(r13)
/* 8036DAD4 0036AA34 48 01 3B B5 */ bl OSRestoreInterrupts
/* 8036DAD8 0036AA38 80 6D AB 48 */ lwz r3, __AR_StackPointer@sda21(r13)
/* 8036DADC 0036AA3C 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8036DAE0 0036AA40 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8036DAE4 0036AA44 38 21 00 18 */ addi r1, r1, 0x18
/* 8036DAE8 0036AA48 7C 08 03 A6 */ mtlr r0
/* 8036DAEC 0036AA4C 4E 80 00 20 */ blr
.global ARInit
ARInit:
/* 8036DAF0 0036AA50 7C 08 02 A6 */ mflr r0
/* 8036DAF4 0036AA54 90 01 00 04 */ stw r0, 4(r1)
/* 8036DAF8 0036AA58 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8036DAFC 0036AA5C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8036DB00 0036AA60 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8036DB04 0036AA64 3B C4 00 00 */ addi r30, r4, 0
/* 8036DB08 0036AA68 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8036DB0C 0036AA6C 3B A3 00 00 */ addi r29, r3, 0
/* 8036DB10 0036AA70 80 0D AB 54 */ lwz r0, __AR_init_flag@sda21(r13)
/* 8036DB14 0036AA74 2C 00 00 01 */ cmpwi r0, 1
/* 8036DB18 0036AA78 40 82 00 0C */ bne lbl_8036DB24
/* 8036DB1C 0036AA7C 38 60 40 00 */ li r3, 0x4000
/* 8036DB20 0036AA80 48 00 00 78 */ b lbl_8036DB98
lbl_8036DB24:
/* 8036DB24 0036AA84 80 6D 9E B0 */ lwz r3, lbl_805A8A70@sda21(r13)
/* 8036DB28 0036AA88 48 01 05 11 */ bl OSRegisterVersion
/* 8036DB2C 0036AA8C 48 01 3B 35 */ bl OSDisableInterrupts
/* 8036DB30 0036AA90 38 00 00 00 */ li r0, 0
/* 8036DB34 0036AA94 3C 80 80 37 */ lis r4, __ARHandler@ha
/* 8036DB38 0036AA98 90 0D AB 38 */ stw r0, __AR_Callback@sda21(r13)
/* 8036DB3C 0036AA9C 3B E3 00 00 */ addi r31, r3, 0
/* 8036DB40 0036AAA0 38 84 DB C4 */ addi r4, r4, __ARHandler@l
/* 8036DB44 0036AAA4 38 60 00 06 */ li r3, 6
/* 8036DB48 0036AAA8 48 01 3B 65 */ bl __OSSetInterruptHandler
/* 8036DB4C 0036AAAC 3C 60 02 00 */ lis r3, 0x200
/* 8036DB50 0036AAB0 48 01 3F 61 */ bl __OSUnmaskInterrupts
/* 8036DB54 0036AAB4 38 00 40 00 */ li r0, 0x4000
/* 8036DB58 0036AAB8 93 CD AB 4C */ stw r30, __AR_FreeBlocks@sda21(r13)
/* 8036DB5C 0036AABC 3C 60 CC 00 */ lis r3, 0xCC005000@ha
/* 8036DB60 0036AAC0 90 0D AB 48 */ stw r0, __AR_StackPointer@sda21(r13)
/* 8036DB64 0036AAC4 38 83 50 00 */ addi r4, r3, 0xCC005000@l
/* 8036DB68 0036AAC8 93 AD AB 50 */ stw r29, __AR_BlockLength@sda21(r13)
/* 8036DB6C 0036AACC A0 04 00 1A */ lhz r0, 0x1a(r4)
/* 8036DB70 0036AAD0 A0 63 50 1A */ lhz r3, 0x501a(r3)
/* 8036DB74 0036AAD4 54 00 00 2E */ rlwinm r0, r0, 0, 0, 0x17
/* 8036DB78 0036AAD8 50 60 06 3E */ rlwimi r0, r3, 0, 0x18, 0x1f
/* 8036DB7C 0036AADC B0 04 00 1A */ sth r0, 0x1a(r4)
/* 8036DB80 0036AAE0 48 00 00 BD */ bl __ARChecksize
/* 8036DB84 0036AAE4 38 00 00 01 */ li r0, 1
/* 8036DB88 0036AAE8 90 0D AB 54 */ stw r0, __AR_init_flag@sda21(r13)
/* 8036DB8C 0036AAEC 7F E3 FB 78 */ mr r3, r31
/* 8036DB90 0036AAF0 48 01 3A F9 */ bl OSRestoreInterrupts
/* 8036DB94 0036AAF4 80 6D AB 48 */ lwz r3, __AR_StackPointer@sda21(r13)
lbl_8036DB98:
/* 8036DB98 0036AAF8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8036DB9C 0036AAFC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8036DBA0 0036AB00 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8036DBA4 0036AB04 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8036DBA8 0036AB08 38 21 00 20 */ addi r1, r1, 0x20
/* 8036DBAC 0036AB0C 7C 08 03 A6 */ mtlr r0
/* 8036DBB0 0036AB10 4E 80 00 20 */ blr
.global ARGetBaseAddress
ARGetBaseAddress:
/* 8036DBB4 0036AB14 38 60 40 00 */ li r3, 0x4000
/* 8036DBB8 0036AB18 4E 80 00 20 */ blr
.global ARGetSize
ARGetSize:
/* 8036DBBC 0036AB1C 80 6D AB 3C */ lwz r3, __AR_Size@sda21(r13)
/* 8036DBC0 0036AB20 4E 80 00 20 */ blr
.global __ARHandler
__ARHandler:
/* 8036DBC4 0036AB24 7C 08 02 A6 */ mflr r0
/* 8036DBC8 0036AB28 3C 60 CC 00 */ lis r3, 0xCC005000@ha
/* 8036DBCC 0036AB2C 90 01 00 04 */ stw r0, 4(r1)
/* 8036DBD0 0036AB30 38 63 50 00 */ addi r3, r3, 0xCC005000@l
/* 8036DBD4 0036AB34 38 00 FF 77 */ li r0, -137
/* 8036DBD8 0036AB38 94 21 FD 20 */ stwu r1, -0x2e0(r1)
/* 8036DBDC 0036AB3C 93 E1 02 DC */ stw r31, 0x2dc(r1)
/* 8036DBE0 0036AB40 3B E4 00 00 */ addi r31, r4, 0
/* 8036DBE4 0036AB44 A0 A3 00 0A */ lhz r5, 0xa(r3)
/* 8036DBE8 0036AB48 7C A0 00 38 */ and r0, r5, r0
/* 8036DBEC 0036AB4C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036DBF0 0036AB50 B0 03 00 0A */ sth r0, 0xa(r3)
/* 8036DBF4 0036AB54 38 61 00 10 */ addi r3, r1, 0x10
/* 8036DBF8 0036AB58 48 01 1A 1D */ bl OSClearContext
/* 8036DBFC 0036AB5C 38 61 00 10 */ addi r3, r1, 0x10
/* 8036DC00 0036AB60 48 01 18 1D */ bl OSSetCurrentContext
/* 8036DC04 0036AB64 81 8D AB 38 */ lwz r12, __AR_Callback@sda21(r13)
/* 8036DC08 0036AB68 28 0C 00 00 */ cmplwi r12, 0
/* 8036DC0C 0036AB6C 41 82 00 0C */ beq lbl_8036DC18
/* 8036DC10 0036AB70 7D 88 03 A6 */ mtlr r12
/* 8036DC14 0036AB74 4E 80 00 21 */ blrl
lbl_8036DC18:
/* 8036DC18 0036AB78 38 61 00 10 */ addi r3, r1, 0x10
/* 8036DC1C 0036AB7C 48 01 19 F9 */ bl OSClearContext
/* 8036DC20 0036AB80 7F E3 FB 78 */ mr r3, r31
/* 8036DC24 0036AB84 48 01 17 F9 */ bl OSSetCurrentContext
/* 8036DC28 0036AB88 80 01 02 E4 */ lwz r0, 0x2e4(r1)
/* 8036DC2C 0036AB8C 83 E1 02 DC */ lwz r31, 0x2dc(r1)
/* 8036DC30 0036AB90 38 21 02 E0 */ addi r1, r1, 0x2e0
/* 8036DC34 0036AB94 7C 08 03 A6 */ mtlr r0
/* 8036DC38 0036AB98 4E 80 00 20 */ blr
.global __ARChecksize
__ARChecksize:
/* 8036DC3C 0036AB9C 7C 08 02 A6 */ mflr r0
/* 8036DC40 0036ABA0 3C 60 CC 00 */ lis r3, 0xCC005000@ha
/* 8036DC44 0036ABA4 90 01 00 04 */ stw r0, 4(r1)
/* 8036DC48 0036ABA8 38 63 50 00 */ addi r3, r3, 0xCC005000@l
/* 8036DC4C 0036ABAC 94 21 FD 40 */ stwu r1, -0x2c0(r1)
/* 8036DC50 0036ABB0 BD C1 02 78 */ stmw r14, 0x278(r1)
lbl_8036DC54:
/* 8036DC54 0036ABB4 A0 03 00 16 */ lhz r0, 0x16(r3)
/* 8036DC58 0036ABB8 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 8036DC5C 0036ABBC 41 82 FF F8 */ beq lbl_8036DC54
/* 8036DC60 0036ABC0 3E E0 CC 00 */ lis r23, 0xCC005000@ha
/* 8036DC64 0036ABC4 38 17 50 00 */ addi r0, r23, 0xCC005000@l
/* 8036DC68 0036ABC8 90 01 02 48 */ stw r0, 0x248(r1)
/* 8036DC6C 0036ABCC 3C 60 01 00 */ lis r3, 0x01000000@ha
/* 8036DC70 0036ABD0 38 01 01 F3 */ addi r0, r1, 0x1f3
/* 8036DC74 0036ABD4 90 6D AB 40 */ stw r3, __AR_InternalSize@sda21(r13)
/* 8036DC78 0036ABD8 3C A0 DE AE */ lis r5, 0xDEADBEEF@ha
/* 8036DC7C 0036ABDC 80 81 02 48 */ lwz r4, 0x248(r1)
/* 8036DC80 0036ABE0 54 16 00 34 */ rlwinm r22, r0, 0, 0, 0x1a
/* 8036DC84 0036ABE4 38 01 01 B3 */ addi r0, r1, 0x1b3
/* 8036DC88 0036ABE8 A0 84 00 12 */ lhz r4, 0x12(r4)
/* 8036DC8C 0036ABEC 38 E1 00 B3 */ addi r7, r1, 0xb3
/* 8036DC90 0036ABF0 54 E7 00 34 */ rlwinm r7, r7, 0, 0, 0x1a
/* 8036DC94 0036ABF4 54 84 00 32 */ rlwinm r4, r4, 0, 0, 0x19
/* 8036DC98 0036ABF8 90 E1 02 1C */ stw r7, 0x21c(r1)
/* 8036DC9C 0036ABFC 60 86 00 23 */ ori r6, r4, 0x23
/* 8036DCA0 0036AC00 80 81 02 48 */ lwz r4, 0x248(r1)
/* 8036DCA4 0036AC04 39 41 01 73 */ addi r10, r1, 0x173
/* 8036DCA8 0036AC08 B0 C4 00 12 */ sth r6, 0x12(r4)
/* 8036DCAC 0036AC0C 38 A5 BE EF */ addi r5, r5, 0xDEADBEEF@l
/* 8036DCB0 0036AC10 3C 80 BA D1 */ lis r4, 0xBAD0BAD0@ha
/* 8036DCB4 0036AC14 54 15 00 34 */ rlwinm r21, r0, 0, 0, 0x1a
/* 8036DCB8 0036AC18 90 B6 00 00 */ stw r5, 0(r22)
/* 8036DCBC 0036AC1C 38 04 BA D0 */ addi r0, r4, 0xBAD0BAD0@l
/* 8036DCC0 0036AC20 90 15 00 00 */ stw r0, 0(r21)
/* 8036DCC4 0036AC24 38 81 00 33 */ addi r4, r1, 0x33
/* 8036DCC8 0036AC28 38 C1 00 73 */ addi r6, r1, 0x73
/* 8036DCCC 0036AC2C 90 B6 00 04 */ stw r5, 4(r22)
/* 8036DCD0 0036AC30 54 84 00 34 */ rlwinm r4, r4, 0, 0, 0x1a
/* 8036DCD4 0036AC34 54 C6 00 34 */ rlwinm r6, r6, 0, 0, 0x1a
/* 8036DCD8 0036AC38 90 15 00 04 */ stw r0, 4(r21)
/* 8036DCDC 0036AC3C 39 21 01 33 */ addi r9, r1, 0x133
/* 8036DCE0 0036AC40 39 01 00 F3 */ addi r8, r1, 0xf3
/* 8036DCE4 0036AC44 90 B6 00 08 */ stw r5, 8(r22)
/* 8036DCE8 0036AC48 3A 63 00 00 */ addi r19, r3, 0x01000000@l
/* 8036DCEC 0036AC4C 38 76 00 00 */ addi r3, r22, 0
/* 8036DCF0 0036AC50 90 15 00 08 */ stw r0, 8(r21)
/* 8036DCF4 0036AC54 55 58 00 34 */ rlwinm r24, r10, 0, 0, 0x1a
/* 8036DCF8 0036AC58 55 3C 00 34 */ rlwinm r28, r9, 0, 0, 0x1a
/* 8036DCFC 0036AC5C 90 B6 00 0C */ stw r5, 0xc(r22)
/* 8036DD00 0036AC60 55 14 00 34 */ rlwinm r20, r8, 0, 0, 0x1a
/* 8036DD04 0036AC64 90 15 00 0C */ stw r0, 0xc(r21)
/* 8036DD08 0036AC68 90 B6 00 10 */ stw r5, 0x10(r22)
/* 8036DD0C 0036AC6C 90 15 00 10 */ stw r0, 0x10(r21)
/* 8036DD10 0036AC70 90 B6 00 14 */ stw r5, 0x14(r22)
/* 8036DD14 0036AC74 90 15 00 14 */ stw r0, 0x14(r21)
/* 8036DD18 0036AC78 90 B6 00 18 */ stw r5, 0x18(r22)
/* 8036DD1C 0036AC7C 90 15 00 18 */ stw r0, 0x18(r21)
/* 8036DD20 0036AC80 90 B6 00 1C */ stw r5, 0x1c(r22)
/* 8036DD24 0036AC84 80 A1 02 48 */ lwz r5, 0x248(r1)
/* 8036DD28 0036AC88 90 81 02 14 */ stw r4, 0x214(r1)
/* 8036DD2C 0036AC8C 38 80 00 03 */ li r4, 3
/* 8036DD30 0036AC90 38 A5 00 12 */ addi r5, r5, 0x12
/* 8036DD34 0036AC94 B0 81 02 70 */ sth r4, 0x270(r1)
/* 8036DD38 0036AC98 38 80 00 20 */ li r4, 0x20
/* 8036DD3C 0036AC9C 90 C1 02 18 */ stw r6, 0x218(r1)
/* 8036DD40 0036ACA0 90 15 00 1C */ stw r0, 0x1c(r21)
/* 8036DD44 0036ACA4 90 A1 02 48 */ stw r5, 0x248(r1)
/* 8036DD48 0036ACA8 48 01 0D 69 */ bl DCFlushRange
/* 8036DD4C 0036ACAC 38 75 00 00 */ addi r3, r21, 0
/* 8036DD50 0036ACB0 38 80 00 20 */ li r4, 0x20
/* 8036DD54 0036ACB4 48 01 0D 5D */ bl DCFlushRange
/* 8036DD58 0036ACB8 38 00 00 00 */ li r0, 0
/* 8036DD5C 0036ACBC 90 0D AB 44 */ stw r0, __AR_ExpansionSize@sda21(r13)
/* 8036DD60 0036ACC0 38 7C 00 00 */ addi r3, r28, 0
/* 8036DD64 0036ACC4 38 80 00 20 */ li r4, 0x20
/* 8036DD68 0036ACC8 48 01 0D 1D */ bl DCInvalidateRange
/* 8036DD6C 0036ACCC 57 83 84 3E */ srwi r3, r28, 0x10
/* 8036DD70 0036ACD0 A0 17 50 20 */ lhz r0, 0x5020(r23)
/* 8036DD74 0036ACD4 90 61 02 3C */ stw r3, 0x23c(r1)
/* 8036DD78 0036ACD8 3B 37 50 00 */ addi r25, r23, 0x5000
/* 8036DD7C 0036ACDC 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036DD80 0036ACE0 80 01 02 3C */ lwz r0, 0x23c(r1)
/* 8036DD84 0036ACE4 3B 57 50 00 */ addi r26, r23, 0x5000
/* 8036DD88 0036ACE8 56 71 84 3E */ srwi r17, r19, 0x10
/* 8036DD8C 0036ACEC 7C 60 03 78 */ or r0, r3, r0
/* 8036DD90 0036ACF0 B4 19 00 20 */ sthu r0, 0x20(r25)
/* 8036DD94 0036ACF4 57 83 04 3E */ clrlwi r3, r28, 0x10
/* 8036DD98 0036ACF8 3B 77 50 00 */ addi r27, r23, 0x5000
/* 8036DD9C 0036ACFC A0 17 50 22 */ lhz r0, 0x5022(r23)
/* 8036DDA0 0036AD00 56 72 04 3E */ clrlwi r18, r19, 0x10
/* 8036DDA4 0036AD04 90 61 02 4C */ stw r3, 0x24c(r1)
/* 8036DDA8 0036AD08 3B 97 50 00 */ addi r28, r23, 0x5000
/* 8036DDAC 0036AD0C 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036DDB0 0036AD10 80 01 02 4C */ lwz r0, 0x24c(r1)
/* 8036DDB4 0036AD14 3B D7 50 00 */ addi r30, r23, 0x5000
/* 8036DDB8 0036AD18 3B B7 50 00 */ addi r29, r23, 0x5000
/* 8036DDBC 0036AD1C 7C 60 03 78 */ or r0, r3, r0
/* 8036DDC0 0036AD20 B4 1A 00 22 */ sthu r0, 0x22(r26)
/* 8036DDC4 0036AD24 A0 17 50 24 */ lhz r0, 0x5024(r23)
/* 8036DDC8 0036AD28 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036DDCC 0036AD2C 7C 00 8B 78 */ or r0, r0, r17
/* 8036DDD0 0036AD30 B4 1B 00 24 */ sthu r0, 0x24(r27)
/* 8036DDD4 0036AD34 A0 17 50 26 */ lhz r0, 0x5026(r23)
/* 8036DDD8 0036AD38 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036DDDC 0036AD3C 7C 00 93 78 */ or r0, r0, r18
/* 8036DDE0 0036AD40 B4 1C 00 26 */ sthu r0, 0x26(r28)
/* 8036DDE4 0036AD44 A0 17 50 28 */ lhz r0, 0x5028(r23)
/* 8036DDE8 0036AD48 60 00 80 00 */ ori r0, r0, 0x8000
/* 8036DDEC 0036AD4C B0 17 50 28 */ sth r0, 0x5028(r23)
/* 8036DDF0 0036AD50 A0 17 50 28 */ lhz r0, 0x5028(r23)
/* 8036DDF4 0036AD54 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036DDF8 0036AD58 60 00 00 00 */ nop
/* 8036DDFC 0036AD5C B4 1E 00 28 */ sthu r0, 0x28(r30)
/* 8036DE00 0036AD60 A0 17 50 2A */ lhz r0, 0x502a(r23)
/* 8036DE04 0036AD64 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036DE08 0036AD68 60 00 00 20 */ ori r0, r0, 0x20
/* 8036DE0C 0036AD6C B4 1D 00 2A */ sthu r0, 0x2a(r29)
lbl_8036DE10:
/* 8036DE10 0036AD70 3B F7 50 00 */ addi r31, r23, 0x5000
/* 8036DE14 0036AD74 A4 1F 00 0A */ lhzu r0, 0xa(r31)
/* 8036DE18 0036AD78 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036DE1C 0036AD7C 40 82 FF F4 */ bne lbl_8036DE10
/* 8036DE20 0036AD80 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036DE24 0036AD84 38 00 FF 77 */ li r0, -137
/* 8036DE28 0036AD88 7C 60 00 38 */ and r0, r3, r0
/* 8036DE2C 0036AD8C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036DE30 0036AD90 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036DE34 0036AD94 48 00 19 D9 */ bl PPCSync
/* 8036DE38 0036AD98 56 C0 84 3E */ srwi r0, r22, 0x10
/* 8036DE3C 0036AD9C A0 79 00 00 */ lhz r3, 0(r25)
/* 8036DE40 0036ADA0 90 01 02 44 */ stw r0, 0x244(r1)
/* 8036DE44 0036ADA4 54 63 00 2A */ rlwinm r3, r3, 0, 0, 0x15
/* 8036DE48 0036ADA8 80 01 02 44 */ lwz r0, 0x244(r1)
/* 8036DE4C 0036ADAC 7C 60 03 78 */ or r0, r3, r0
/* 8036DE50 0036ADB0 B0 19 00 00 */ sth r0, 0(r25)
/* 8036DE54 0036ADB4 56 C0 04 3E */ clrlwi r0, r22, 0x10
/* 8036DE58 0036ADB8 90 01 02 50 */ stw r0, 0x250(r1)
/* 8036DE5C 0036ADBC A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036DE60 0036ADC0 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036DE64 0036ADC4 80 01 02 50 */ lwz r0, 0x250(r1)
/* 8036DE68 0036ADC8 7C 60 03 78 */ or r0, r3, r0
/* 8036DE6C 0036ADCC B0 1A 00 00 */ sth r0, 0(r26)
/* 8036DE70 0036ADD0 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036DE74 0036ADD4 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036DE78 0036ADD8 7C 00 8B 78 */ or r0, r0, r17
/* 8036DE7C 0036ADDC B0 1B 00 00 */ sth r0, 0(r27)
/* 8036DE80 0036ADE0 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036DE84 0036ADE4 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036DE88 0036ADE8 7C 00 93 78 */ or r0, r0, r18
/* 8036DE8C 0036ADEC B0 1C 00 00 */ sth r0, 0(r28)
/* 8036DE90 0036ADF0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036DE94 0036ADF4 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036DE98 0036ADF8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036DE9C 0036ADFC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036DEA0 0036AE00 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036DEA4 0036AE04 60 00 00 00 */ nop
/* 8036DEA8 0036AE08 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036DEAC 0036AE0C A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036DEB0 0036AE10 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036DEB4 0036AE14 60 00 00 20 */ ori r0, r0, 0x20
/* 8036DEB8 0036AE18 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036DEBC:
/* 8036DEBC 0036AE1C A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036DEC0 0036AE20 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036DEC4 0036AE24 40 82 FF F8 */ bne lbl_8036DEBC
/* 8036DEC8 0036AE28 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036DECC 0036AE2C 38 80 FF 77 */ li r4, -137
/* 8036DED0 0036AE30 38 78 00 00 */ addi r3, r24, 0
/* 8036DED4 0036AE34 7C 00 20 38 */ and r0, r0, r4
/* 8036DED8 0036AE38 60 00 00 20 */ ori r0, r0, 0x20
/* 8036DEDC 0036AE3C B0 1F 00 00 */ sth r0, 0(r31)
/* 8036DEE0 0036AE40 38 80 00 00 */ li r4, 0
/* 8036DEE4 0036AE44 38 A0 00 20 */ li r5, 0x20
/* 8036DEE8 0036AE48 4B C9 54 C1 */ bl memset
/* 8036DEEC 0036AE4C 38 78 00 00 */ addi r3, r24, 0
/* 8036DEF0 0036AE50 38 80 00 20 */ li r4, 0x20
/* 8036DEF4 0036AE54 48 01 0B BD */ bl DCFlushRange
/* 8036DEF8 0036AE58 57 00 84 3E */ srwi r0, r24, 0x10
/* 8036DEFC 0036AE5C A0 79 00 00 */ lhz r3, 0(r25)
/* 8036DF00 0036AE60 90 01 02 40 */ stw r0, 0x240(r1)
/* 8036DF04 0036AE64 54 63 00 2A */ rlwinm r3, r3, 0, 0, 0x15
/* 8036DF08 0036AE68 80 01 02 40 */ lwz r0, 0x240(r1)
/* 8036DF0C 0036AE6C 7C 60 03 78 */ or r0, r3, r0
/* 8036DF10 0036AE70 B0 19 00 00 */ sth r0, 0(r25)
/* 8036DF14 0036AE74 57 00 04 3E */ clrlwi r0, r24, 0x10
/* 8036DF18 0036AE78 90 01 02 54 */ stw r0, 0x254(r1)
/* 8036DF1C 0036AE7C A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036DF20 0036AE80 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036DF24 0036AE84 80 01 02 54 */ lwz r0, 0x254(r1)
/* 8036DF28 0036AE88 7C 60 03 78 */ or r0, r3, r0
/* 8036DF2C 0036AE8C B0 1A 00 00 */ sth r0, 0(r26)
/* 8036DF30 0036AE90 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036DF34 0036AE94 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036DF38 0036AE98 7C 00 8B 78 */ or r0, r0, r17
/* 8036DF3C 0036AE9C B0 1B 00 00 */ sth r0, 0(r27)
/* 8036DF40 0036AEA0 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036DF44 0036AEA4 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036DF48 0036AEA8 7C 00 93 78 */ or r0, r0, r18
/* 8036DF4C 0036AEAC B0 1C 00 00 */ sth r0, 0(r28)
/* 8036DF50 0036AEB0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036DF54 0036AEB4 60 00 80 00 */ ori r0, r0, 0x8000
/* 8036DF58 0036AEB8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036DF5C 0036AEBC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036DF60 0036AEC0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036DF64 0036AEC4 60 00 00 00 */ nop
/* 8036DF68 0036AEC8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036DF6C 0036AECC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036DF70 0036AED0 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036DF74 0036AED4 60 00 00 20 */ ori r0, r0, 0x20
/* 8036DF78 0036AED8 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036DF7C:
/* 8036DF7C 0036AEDC A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036DF80 0036AEE0 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036DF84 0036AEE4 40 82 FF F8 */ bne lbl_8036DF7C
/* 8036DF88 0036AEE8 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036DF8C 0036AEEC 38 00 FF 77 */ li r0, -137
/* 8036DF90 0036AEF0 7C 60 00 38 */ and r0, r3, r0
/* 8036DF94 0036AEF4 60 00 00 20 */ ori r0, r0, 0x20
/* 8036DF98 0036AEF8 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036DF9C 0036AEFC 48 00 18 71 */ bl PPCSync
/* 8036DFA0 0036AF00 80 78 00 00 */ lwz r3, 0(r24)
/* 8036DFA4 0036AF04 80 16 00 00 */ lwz r0, 0(r22)
/* 8036DFA8 0036AF08 7C 03 00 40 */ cmplw r3, r0
/* 8036DFAC 0036AF0C 40 82 14 64 */ bne lbl_8036F410
/* 8036DFB0 0036AF10 38 74 00 00 */ addi r3, r20, 0
/* 8036DFB4 0036AF14 38 80 00 20 */ li r4, 0x20
/* 8036DFB8 0036AF18 48 01 0A CD */ bl DCInvalidateRange
/* 8036DFBC 0036AF1C 56 80 84 3E */ srwi r0, r20, 0x10
/* 8036DFC0 0036AF20 A0 99 00 00 */ lhz r4, 0(r25)
/* 8036DFC4 0036AF24 90 01 02 34 */ stw r0, 0x234(r1)
/* 8036DFC8 0036AF28 3C 73 00 20 */ addis r3, r19, 0x20
/* 8036DFCC 0036AF2C 54 84 00 2A */ rlwinm r4, r4, 0, 0, 0x15
/* 8036DFD0 0036AF30 80 01 02 34 */ lwz r0, 0x234(r1)
/* 8036DFD4 0036AF34 54 70 84 3E */ srwi r16, r3, 0x10
/* 8036DFD8 0036AF38 54 77 04 3E */ clrlwi r23, r3, 0x10
/* 8036DFDC 0036AF3C 7C 80 03 78 */ or r0, r4, r0
/* 8036DFE0 0036AF40 B0 19 00 00 */ sth r0, 0(r25)
/* 8036DFE4 0036AF44 56 80 04 3E */ clrlwi r0, r20, 0x10
/* 8036DFE8 0036AF48 90 01 02 58 */ stw r0, 0x258(r1)
/* 8036DFEC 0036AF4C A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036DFF0 0036AF50 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036DFF4 0036AF54 80 01 02 58 */ lwz r0, 0x258(r1)
/* 8036DFF8 0036AF58 7C 60 03 78 */ or r0, r3, r0
/* 8036DFFC 0036AF5C B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E000 0036AF60 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E004 0036AF64 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E008 0036AF68 7C 00 83 78 */ or r0, r0, r16
/* 8036E00C 0036AF6C B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E010 0036AF70 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E014 0036AF74 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E018 0036AF78 7C 00 BB 78 */ or r0, r0, r23
/* 8036E01C 0036AF7C B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E020 0036AF80 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E024 0036AF84 60 00 80 00 */ ori r0, r0, 0x8000
/* 8036E028 0036AF88 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E02C 0036AF8C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E030 0036AF90 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E034 0036AF94 60 00 00 00 */ nop
/* 8036E038 0036AF98 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E03C 0036AF9C A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E040 0036AFA0 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E044 0036AFA4 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E048 0036AFA8 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E04C:
/* 8036E04C 0036AFAC A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E050 0036AFB0 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E054 0036AFB4 40 82 FF F8 */ bne lbl_8036E04C
/* 8036E058 0036AFB8 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036E05C 0036AFBC 38 00 FF 77 */ li r0, -137
/* 8036E060 0036AFC0 7C 60 00 38 */ and r0, r3, r0
/* 8036E064 0036AFC4 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E068 0036AFC8 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E06C 0036AFCC 48 00 17 A1 */ bl PPCSync
/* 8036E070 0036AFD0 80 61 02 1C */ lwz r3, 0x21c(r1)
/* 8036E074 0036AFD4 38 80 00 20 */ li r4, 0x20
/* 8036E078 0036AFD8 48 01 0A 0D */ bl DCInvalidateRange
/* 8036E07C 0036AFDC 80 01 02 1C */ lwz r0, 0x21c(r1)
/* 8036E080 0036AFE0 3C 73 01 00 */ addis r3, r19, 0x100
/* 8036E084 0036AFE4 A0 99 00 00 */ lhz r4, 0(r25)
/* 8036E088 0036AFE8 54 6E 84 3E */ srwi r14, r3, 0x10
/* 8036E08C 0036AFEC 54 00 84 3E */ srwi r0, r0, 0x10
/* 8036E090 0036AFF0 90 01 02 2C */ stw r0, 0x22c(r1)
/* 8036E094 0036AFF4 54 84 00 2A */ rlwinm r4, r4, 0, 0, 0x15
/* 8036E098 0036AFF8 54 6F 04 3E */ clrlwi r15, r3, 0x10
/* 8036E09C 0036AFFC 80 01 02 2C */ lwz r0, 0x22c(r1)
/* 8036E0A0 0036B000 7C 80 03 78 */ or r0, r4, r0
/* 8036E0A4 0036B004 B0 19 00 00 */ sth r0, 0(r25)
/* 8036E0A8 0036B008 80 01 02 1C */ lwz r0, 0x21c(r1)
/* 8036E0AC 0036B00C 54 00 04 3E */ clrlwi r0, r0, 0x10
/* 8036E0B0 0036B010 90 01 02 5C */ stw r0, 0x25c(r1)
/* 8036E0B4 0036B014 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E0B8 0036B018 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E0BC 0036B01C 80 01 02 5C */ lwz r0, 0x25c(r1)
/* 8036E0C0 0036B020 7C 60 03 78 */ or r0, r3, r0
/* 8036E0C4 0036B024 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E0C8 0036B028 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E0CC 0036B02C 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E0D0 0036B030 7C 00 73 78 */ or r0, r0, r14
/* 8036E0D4 0036B034 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E0D8 0036B038 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E0DC 0036B03C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E0E0 0036B040 7C 00 7B 78 */ or r0, r0, r15
/* 8036E0E4 0036B044 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E0E8 0036B048 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E0EC 0036B04C 60 00 80 00 */ ori r0, r0, 0x8000
/* 8036E0F0 0036B050 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E0F4 0036B054 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E0F8 0036B058 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E0FC 0036B05C 60 00 00 00 */ nop
/* 8036E100 0036B060 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E104 0036B064 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E108 0036B068 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E10C 0036B06C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E110 0036B070 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E114:
/* 8036E114 0036B074 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E118 0036B078 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E11C 0036B07C 40 82 FF F8 */ bne lbl_8036E114
/* 8036E120 0036B080 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036E124 0036B084 38 00 FF 77 */ li r0, -137
/* 8036E128 0036B088 7C 60 00 38 */ and r0, r3, r0
/* 8036E12C 0036B08C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E130 0036B090 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E134 0036B094 48 00 16 D9 */ bl PPCSync
/* 8036E138 0036B098 80 61 02 18 */ lwz r3, 0x218(r1)
/* 8036E13C 0036B09C 38 80 00 20 */ li r4, 0x20
/* 8036E140 0036B0A0 48 01 09 45 */ bl DCInvalidateRange
/* 8036E144 0036B0A4 80 01 02 18 */ lwz r0, 0x218(r1)
/* 8036E148 0036B0A8 38 73 02 00 */ addi r3, r19, 0x200
/* 8036E14C 0036B0AC A0 99 00 00 */ lhz r4, 0(r25)
/* 8036E150 0036B0B0 54 00 84 3E */ srwi r0, r0, 0x10
/* 8036E154 0036B0B4 90 01 02 24 */ stw r0, 0x224(r1)
/* 8036E158 0036B0B8 54 84 00 2A */ rlwinm r4, r4, 0, 0, 0x15
/* 8036E15C 0036B0BC 80 01 02 24 */ lwz r0, 0x224(r1)
/* 8036E160 0036B0C0 7C 80 03 78 */ or r0, r4, r0
/* 8036E164 0036B0C4 B0 19 00 00 */ sth r0, 0(r25)
/* 8036E168 0036B0C8 54 60 84 3E */ srwi r0, r3, 0x10
/* 8036E16C 0036B0CC 54 63 04 3E */ clrlwi r3, r3, 0x10
/* 8036E170 0036B0D0 90 01 02 30 */ stw r0, 0x230(r1)
/* 8036E174 0036B0D4 80 01 02 18 */ lwz r0, 0x218(r1)
/* 8036E178 0036B0D8 90 61 02 64 */ stw r3, 0x264(r1)
/* 8036E17C 0036B0DC 54 00 04 3E */ clrlwi r0, r0, 0x10
/* 8036E180 0036B0E0 90 01 02 60 */ stw r0, 0x260(r1)
/* 8036E184 0036B0E4 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E188 0036B0E8 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E18C 0036B0EC 80 01 02 60 */ lwz r0, 0x260(r1)
/* 8036E190 0036B0F0 7C 60 03 78 */ or r0, r3, r0
/* 8036E194 0036B0F4 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E198 0036B0F8 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E19C 0036B0FC 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E1A0 0036B100 80 01 02 30 */ lwz r0, 0x230(r1)
/* 8036E1A4 0036B104 7C 60 03 78 */ or r0, r3, r0
/* 8036E1A8 0036B108 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E1AC 0036B10C A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E1B0 0036B110 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E1B4 0036B114 80 01 02 64 */ lwz r0, 0x264(r1)
/* 8036E1B8 0036B118 7C 60 03 78 */ or r0, r3, r0
/* 8036E1BC 0036B11C B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E1C0 0036B120 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E1C4 0036B124 60 00 80 00 */ ori r0, r0, 0x8000
/* 8036E1C8 0036B128 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E1CC 0036B12C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E1D0 0036B130 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E1D4 0036B134 60 00 00 00 */ nop
/* 8036E1D8 0036B138 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E1DC 0036B13C A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E1E0 0036B140 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E1E4 0036B144 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E1E8 0036B148 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E1EC:
/* 8036E1EC 0036B14C A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E1F0 0036B150 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E1F4 0036B154 40 82 FF F8 */ bne lbl_8036E1EC
/* 8036E1F8 0036B158 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036E1FC 0036B15C 38 00 FF 77 */ li r0, -137
/* 8036E200 0036B160 7C 60 00 38 */ and r0, r3, r0
/* 8036E204 0036B164 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E208 0036B168 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E20C 0036B16C 48 00 16 01 */ bl PPCSync
/* 8036E210 0036B170 80 61 02 14 */ lwz r3, 0x214(r1)
/* 8036E214 0036B174 38 80 00 20 */ li r4, 0x20
/* 8036E218 0036B178 48 01 08 6D */ bl DCInvalidateRange
/* 8036E21C 0036B17C 80 01 02 14 */ lwz r0, 0x214(r1)
/* 8036E220 0036B180 3C 73 00 40 */ addis r3, r19, 0x40
/* 8036E224 0036B184 A0 99 00 00 */ lhz r4, 0(r25)
/* 8036E228 0036B188 54 00 84 3E */ srwi r0, r0, 0x10
/* 8036E22C 0036B18C 90 01 02 20 */ stw r0, 0x220(r1)
/* 8036E230 0036B190 54 84 00 2A */ rlwinm r4, r4, 0, 0, 0x15
/* 8036E234 0036B194 80 01 02 20 */ lwz r0, 0x220(r1)
/* 8036E238 0036B198 7C 80 03 78 */ or r0, r4, r0
/* 8036E23C 0036B19C B0 19 00 00 */ sth r0, 0(r25)
/* 8036E240 0036B1A0 54 60 84 3E */ srwi r0, r3, 0x10
/* 8036E244 0036B1A4 54 63 04 3E */ clrlwi r3, r3, 0x10
/* 8036E248 0036B1A8 90 01 02 28 */ stw r0, 0x228(r1)
/* 8036E24C 0036B1AC 80 01 02 14 */ lwz r0, 0x214(r1)
/* 8036E250 0036B1B0 90 61 02 6C */ stw r3, 0x26c(r1)
/* 8036E254 0036B1B4 54 00 04 3E */ clrlwi r0, r0, 0x10
/* 8036E258 0036B1B8 90 01 02 68 */ stw r0, 0x268(r1)
/* 8036E25C 0036B1BC A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E260 0036B1C0 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E264 0036B1C4 80 01 02 68 */ lwz r0, 0x268(r1)
/* 8036E268 0036B1C8 7C 60 03 78 */ or r0, r3, r0
/* 8036E26C 0036B1CC B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E270 0036B1D0 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E274 0036B1D4 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E278 0036B1D8 80 01 02 28 */ lwz r0, 0x228(r1)
/* 8036E27C 0036B1DC 7C 60 03 78 */ or r0, r3, r0
/* 8036E280 0036B1E0 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E284 0036B1E4 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E288 0036B1E8 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E28C 0036B1EC 80 01 02 6C */ lwz r0, 0x26c(r1)
/* 8036E290 0036B1F0 7C 60 03 78 */ or r0, r3, r0
/* 8036E294 0036B1F4 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E298 0036B1F8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E29C 0036B1FC 60 00 80 00 */ ori r0, r0, 0x8000
/* 8036E2A0 0036B200 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E2A4 0036B204 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E2A8 0036B208 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E2AC 0036B20C 60 00 00 00 */ nop
/* 8036E2B0 0036B210 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E2B4 0036B214 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E2B8 0036B218 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E2BC 0036B21C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E2C0 0036B220 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E2C4:
/* 8036E2C4 0036B224 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E2C8 0036B228 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E2CC 0036B22C 40 82 FF F8 */ bne lbl_8036E2C4
/* 8036E2D0 0036B230 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036E2D4 0036B234 38 00 FF 77 */ li r0, -137
/* 8036E2D8 0036B238 7C 60 00 38 */ and r0, r3, r0
/* 8036E2DC 0036B23C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E2E0 0036B240 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E2E4 0036B244 48 00 15 29 */ bl PPCSync
/* 8036E2E8 0036B248 56 A0 84 3E */ srwi r0, r21, 0x10
/* 8036E2EC 0036B24C A0 79 00 00 */ lhz r3, 0(r25)
/* 8036E2F0 0036B250 90 01 02 38 */ stw r0, 0x238(r1)
/* 8036E2F4 0036B254 56 B4 04 3E */ clrlwi r20, r21, 0x10
/* 8036E2F8 0036B258 54 63 00 2A */ rlwinm r3, r3, 0, 0, 0x15
/* 8036E2FC 0036B25C 80 01 02 38 */ lwz r0, 0x238(r1)
/* 8036E300 0036B260 7C 60 03 78 */ or r0, r3, r0
/* 8036E304 0036B264 B0 19 00 00 */ sth r0, 0(r25)
/* 8036E308 0036B268 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E30C 0036B26C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E310 0036B270 7C 00 A3 78 */ or r0, r0, r20
/* 8036E314 0036B274 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E318 0036B278 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E31C 0036B27C 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E320 0036B280 7C 00 83 78 */ or r0, r0, r16
/* 8036E324 0036B284 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E328 0036B288 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E32C 0036B28C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E330 0036B290 7C 00 BB 78 */ or r0, r0, r23
/* 8036E334 0036B294 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E338 0036B298 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E33C 0036B29C 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036E340 0036B2A0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E344 0036B2A4 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E348 0036B2A8 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E34C 0036B2AC 60 00 00 00 */ nop
/* 8036E350 0036B2B0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E354 0036B2B4 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E358 0036B2B8 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E35C 0036B2BC 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E360 0036B2C0 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E364:
/* 8036E364 0036B2C4 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E368 0036B2C8 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E36C 0036B2CC 40 82 FF F8 */ bne lbl_8036E364
/* 8036E370 0036B2D0 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036E374 0036B2D4 38 00 FF 77 */ li r0, -137
/* 8036E378 0036B2D8 7C 60 00 38 */ and r0, r3, r0
/* 8036E37C 0036B2DC 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E380 0036B2E0 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E384 0036B2E4 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036E388 0036B2E8 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E38C 0036B2EC 80 01 02 44 */ lwz r0, 0x244(r1)
/* 8036E390 0036B2F0 7C 60 03 78 */ or r0, r3, r0
/* 8036E394 0036B2F4 B0 19 00 00 */ sth r0, 0(r25)
/* 8036E398 0036B2F8 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E39C 0036B2FC 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E3A0 0036B300 80 01 02 50 */ lwz r0, 0x250(r1)
/* 8036E3A4 0036B304 7C 60 03 78 */ or r0, r3, r0
/* 8036E3A8 0036B308 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E3AC 0036B30C A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E3B0 0036B310 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E3B4 0036B314 7C 00 8B 78 */ or r0, r0, r17
/* 8036E3B8 0036B318 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E3BC 0036B31C A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E3C0 0036B320 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E3C4 0036B324 7C 00 93 78 */ or r0, r0, r18
/* 8036E3C8 0036B328 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E3CC 0036B32C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E3D0 0036B330 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036E3D4 0036B334 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E3D8 0036B338 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E3DC 0036B33C 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E3E0 0036B340 60 00 00 00 */ nop
/* 8036E3E4 0036B344 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E3E8 0036B348 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E3EC 0036B34C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E3F0 0036B350 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E3F4 0036B354 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E3F8:
/* 8036E3F8 0036B358 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E3FC 0036B35C 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E400 0036B360 40 82 FF F8 */ bne lbl_8036E3F8
/* 8036E404 0036B364 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E408 0036B368 38 80 FF 77 */ li r4, -137
/* 8036E40C 0036B36C 38 78 00 00 */ addi r3, r24, 0
/* 8036E410 0036B370 7C 00 20 38 */ and r0, r0, r4
/* 8036E414 0036B374 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E418 0036B378 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E41C 0036B37C 38 80 00 00 */ li r4, 0
/* 8036E420 0036B380 38 A0 00 20 */ li r5, 0x20
/* 8036E424 0036B384 4B C9 4F 85 */ bl memset
/* 8036E428 0036B388 38 78 00 00 */ addi r3, r24, 0
/* 8036E42C 0036B38C 38 80 00 20 */ li r4, 0x20
/* 8036E430 0036B390 48 01 06 81 */ bl DCFlushRange
/* 8036E434 0036B394 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036E438 0036B398 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E43C 0036B39C 80 01 02 40 */ lwz r0, 0x240(r1)
/* 8036E440 0036B3A0 7C 60 03 78 */ or r0, r3, r0
/* 8036E444 0036B3A4 B0 19 00 00 */ sth r0, 0(r25)
/* 8036E448 0036B3A8 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E44C 0036B3AC 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E450 0036B3B0 80 01 02 54 */ lwz r0, 0x254(r1)
/* 8036E454 0036B3B4 7C 60 03 78 */ or r0, r3, r0
/* 8036E458 0036B3B8 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E45C 0036B3BC A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E460 0036B3C0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E464 0036B3C4 7C 00 83 78 */ or r0, r0, r16
/* 8036E468 0036B3C8 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E46C 0036B3CC A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E470 0036B3D0 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E474 0036B3D4 7C 00 BB 78 */ or r0, r0, r23
/* 8036E478 0036B3D8 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E47C 0036B3DC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E480 0036B3E0 60 00 80 00 */ ori r0, r0, 0x8000
/* 8036E484 0036B3E4 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E488 0036B3E8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E48C 0036B3EC 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E490 0036B3F0 60 00 00 00 */ nop
/* 8036E494 0036B3F4 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E498 0036B3F8 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E49C 0036B3FC 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E4A0 0036B400 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E4A4 0036B404 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E4A8:
/* 8036E4A8 0036B408 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E4AC 0036B40C 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E4B0 0036B410 40 82 FF F8 */ bne lbl_8036E4A8
/* 8036E4B4 0036B414 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036E4B8 0036B418 38 00 FF 77 */ li r0, -137
/* 8036E4BC 0036B41C 7C 60 00 38 */ and r0, r3, r0
/* 8036E4C0 0036B420 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E4C4 0036B424 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E4C8 0036B428 48 00 13 45 */ bl PPCSync
/* 8036E4CC 0036B42C 80 78 00 00 */ lwz r3, 0(r24)
/* 8036E4D0 0036B430 80 16 00 00 */ lwz r0, 0(r22)
/* 8036E4D4 0036B434 7C 03 00 40 */ cmplw r3, r0
/* 8036E4D8 0036B438 40 82 00 A8 */ bne lbl_8036E580
/* 8036E4DC 0036B43C A0 19 00 00 */ lhz r0, 0(r25)
/* 8036E4E0 0036B440 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E4E4 0036B444 80 01 02 3C */ lwz r0, 0x23c(r1)
/* 8036E4E8 0036B448 7C 60 03 78 */ or r0, r3, r0
/* 8036E4EC 0036B44C B0 19 00 00 */ sth r0, 0(r25)
/* 8036E4F0 0036B450 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E4F4 0036B454 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E4F8 0036B458 80 01 02 4C */ lwz r0, 0x24c(r1)
/* 8036E4FC 0036B45C 7C 60 03 78 */ or r0, r3, r0
/* 8036E500 0036B460 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E504 0036B464 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E508 0036B468 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E50C 0036B46C 7C 00 8B 78 */ or r0, r0, r17
/* 8036E510 0036B470 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E514 0036B474 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E518 0036B478 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E51C 0036B47C 7C 00 93 78 */ or r0, r0, r18
/* 8036E520 0036B480 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E524 0036B484 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E528 0036B488 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036E52C 0036B48C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E530 0036B490 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E534 0036B494 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E538 0036B498 60 00 00 00 */ nop
/* 8036E53C 0036B49C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E540 0036B4A0 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E544 0036B4A4 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E548 0036B4A8 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E54C 0036B4AC B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E550:
/* 8036E550 0036B4B0 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E554 0036B4B4 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E558 0036B4B8 40 82 FF F8 */ bne lbl_8036E550
/* 8036E55C 0036B4BC A0 9F 00 00 */ lhz r4, 0(r31)
/* 8036E560 0036B4C0 38 60 FF 77 */ li r3, -137
/* 8036E564 0036B4C4 3C 00 00 20 */ lis r0, 0x20
/* 8036E568 0036B4C8 7C 83 18 38 */ and r3, r4, r3
/* 8036E56C 0036B4CC 60 63 00 20 */ ori r3, r3, 0x20
/* 8036E570 0036B4D0 B0 7F 00 00 */ sth r3, 0(r31)
/* 8036E574 0036B4D4 3E 73 00 20 */ addis r19, r19, 0x20
/* 8036E578 0036B4D8 90 0D AB 44 */ stw r0, __AR_ExpansionSize@sda21(r13)
/* 8036E57C 0036B4DC 48 00 0E 78 */ b lbl_8036F3F4
lbl_8036E580:
/* 8036E580 0036B4E0 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036E584 0036B4E4 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E588 0036B4E8 80 01 02 38 */ lwz r0, 0x238(r1)
/* 8036E58C 0036B4EC 7C 60 03 78 */ or r0, r3, r0
/* 8036E590 0036B4F0 B0 19 00 00 */ sth r0, 0(r25)
/* 8036E594 0036B4F4 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E598 0036B4F8 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E59C 0036B4FC 7C 00 A3 78 */ or r0, r0, r20
/* 8036E5A0 0036B500 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E5A4 0036B504 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E5A8 0036B508 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E5AC 0036B50C 7C 00 73 78 */ or r0, r0, r14
/* 8036E5B0 0036B510 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E5B4 0036B514 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E5B8 0036B518 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E5BC 0036B51C 7C 00 7B 78 */ or r0, r0, r15
/* 8036E5C0 0036B520 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E5C4 0036B524 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E5C8 0036B528 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036E5CC 0036B52C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E5D0 0036B530 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E5D4 0036B534 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E5D8 0036B538 60 00 00 00 */ nop
/* 8036E5DC 0036B53C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E5E0 0036B540 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E5E4 0036B544 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E5E8 0036B548 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E5EC 0036B54C B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E5F0:
/* 8036E5F0 0036B550 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E5F4 0036B554 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E5F8 0036B558 40 82 FF F8 */ bne lbl_8036E5F0
/* 8036E5FC 0036B55C A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036E600 0036B560 38 00 FF 77 */ li r0, -137
/* 8036E604 0036B564 7C 60 00 38 */ and r0, r3, r0
/* 8036E608 0036B568 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E60C 0036B56C B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E610 0036B570 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036E614 0036B574 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E618 0036B578 80 01 02 44 */ lwz r0, 0x244(r1)
/* 8036E61C 0036B57C 7C 60 03 78 */ or r0, r3, r0
/* 8036E620 0036B580 B0 19 00 00 */ sth r0, 0(r25)
/* 8036E624 0036B584 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E628 0036B588 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E62C 0036B58C 80 01 02 50 */ lwz r0, 0x250(r1)
/* 8036E630 0036B590 7C 60 03 78 */ or r0, r3, r0
/* 8036E634 0036B594 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E638 0036B598 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E63C 0036B59C 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E640 0036B5A0 7C 00 8B 78 */ or r0, r0, r17
/* 8036E644 0036B5A4 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E648 0036B5A8 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E64C 0036B5AC 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E650 0036B5B0 7C 00 93 78 */ or r0, r0, r18
/* 8036E654 0036B5B4 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E658 0036B5B8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E65C 0036B5BC 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036E660 0036B5C0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E664 0036B5C4 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E668 0036B5C8 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E66C 0036B5CC 60 00 00 00 */ nop
/* 8036E670 0036B5D0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E674 0036B5D4 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E678 0036B5D8 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E67C 0036B5DC 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E680 0036B5E0 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E684:
/* 8036E684 0036B5E4 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E688 0036B5E8 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E68C 0036B5EC 40 82 FF F8 */ bne lbl_8036E684
/* 8036E690 0036B5F0 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E694 0036B5F4 38 80 FF 77 */ li r4, -137
/* 8036E698 0036B5F8 38 78 00 00 */ addi r3, r24, 0
/* 8036E69C 0036B5FC 7C 00 20 38 */ and r0, r0, r4
/* 8036E6A0 0036B600 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E6A4 0036B604 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E6A8 0036B608 38 80 00 00 */ li r4, 0
/* 8036E6AC 0036B60C 38 A0 00 20 */ li r5, 0x20
/* 8036E6B0 0036B610 4B C9 4C F9 */ bl memset
/* 8036E6B4 0036B614 38 78 00 00 */ addi r3, r24, 0
/* 8036E6B8 0036B618 38 80 00 20 */ li r4, 0x20
/* 8036E6BC 0036B61C 48 01 03 F5 */ bl DCFlushRange
/* 8036E6C0 0036B620 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036E6C4 0036B624 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E6C8 0036B628 80 01 02 40 */ lwz r0, 0x240(r1)
/* 8036E6CC 0036B62C 7C 60 03 78 */ or r0, r3, r0
/* 8036E6D0 0036B630 B0 19 00 00 */ sth r0, 0(r25)
/* 8036E6D4 0036B634 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E6D8 0036B638 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E6DC 0036B63C 80 01 02 54 */ lwz r0, 0x254(r1)
/* 8036E6E0 0036B640 7C 60 03 78 */ or r0, r3, r0
/* 8036E6E4 0036B644 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E6E8 0036B648 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E6EC 0036B64C 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E6F0 0036B650 7C 00 73 78 */ or r0, r0, r14
/* 8036E6F4 0036B654 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E6F8 0036B658 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E6FC 0036B65C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E700 0036B660 7C 00 7B 78 */ or r0, r0, r15
/* 8036E704 0036B664 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E708 0036B668 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E70C 0036B66C 60 00 80 00 */ ori r0, r0, 0x8000
/* 8036E710 0036B670 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E714 0036B674 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E718 0036B678 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E71C 0036B67C 60 00 00 00 */ nop
/* 8036E720 0036B680 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E724 0036B684 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E728 0036B688 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E72C 0036B68C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E730 0036B690 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E734:
/* 8036E734 0036B694 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E738 0036B698 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E73C 0036B69C 40 82 FF F8 */ bne lbl_8036E734
/* 8036E740 0036B6A0 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036E744 0036B6A4 38 00 FF 77 */ li r0, -137
/* 8036E748 0036B6A8 7C 60 00 38 */ and r0, r3, r0
/* 8036E74C 0036B6AC 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E750 0036B6B0 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E754 0036B6B4 48 00 10 B9 */ bl PPCSync
/* 8036E758 0036B6B8 80 78 00 00 */ lwz r3, 0(r24)
/* 8036E75C 0036B6BC 80 16 00 00 */ lwz r0, 0(r22)
/* 8036E760 0036B6C0 7C 03 00 40 */ cmplw r3, r0
/* 8036E764 0036B6C4 40 82 01 48 */ bne lbl_8036E8AC
/* 8036E768 0036B6C8 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036E76C 0036B6CC 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E770 0036B6D0 80 01 02 3C */ lwz r0, 0x23c(r1)
/* 8036E774 0036B6D4 7C 60 03 78 */ or r0, r3, r0
/* 8036E778 0036B6D8 B0 19 00 00 */ sth r0, 0(r25)
/* 8036E77C 0036B6DC A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E780 0036B6E0 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E784 0036B6E4 80 01 02 4C */ lwz r0, 0x24c(r1)
/* 8036E788 0036B6E8 7C 60 03 78 */ or r0, r3, r0
/* 8036E78C 0036B6EC B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E790 0036B6F0 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E794 0036B6F4 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E798 0036B6F8 7C 00 8B 78 */ or r0, r0, r17
/* 8036E79C 0036B6FC B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E7A0 0036B700 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E7A4 0036B704 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E7A8 0036B708 7C 00 93 78 */ or r0, r0, r18
/* 8036E7AC 0036B70C B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E7B0 0036B710 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E7B4 0036B714 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036E7B8 0036B718 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E7BC 0036B71C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E7C0 0036B720 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E7C4 0036B724 60 00 00 00 */ nop
/* 8036E7C8 0036B728 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E7CC 0036B72C A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E7D0 0036B730 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E7D4 0036B734 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E7D8 0036B738 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E7DC:
/* 8036E7DC 0036B73C A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E7E0 0036B740 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E7E4 0036B744 40 82 FF F8 */ bne lbl_8036E7DC
/* 8036E7E8 0036B748 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036E7EC 0036B74C 38 00 FF 77 */ li r0, -137
/* 8036E7F0 0036B750 7C 60 00 38 */ and r0, r3, r0
/* 8036E7F4 0036B754 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E7F8 0036B758 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E7FC 0036B75C A0 19 00 00 */ lhz r0, 0(r25)
/* 8036E800 0036B760 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E804 0036B764 80 01 02 34 */ lwz r0, 0x234(r1)
/* 8036E808 0036B768 7C 60 03 78 */ or r0, r3, r0
/* 8036E80C 0036B76C B0 19 00 00 */ sth r0, 0(r25)
/* 8036E810 0036B770 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E814 0036B774 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E818 0036B778 80 01 02 58 */ lwz r0, 0x258(r1)
/* 8036E81C 0036B77C 7C 60 03 78 */ or r0, r3, r0
/* 8036E820 0036B780 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E824 0036B784 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E828 0036B788 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E82C 0036B78C 7C 00 83 78 */ or r0, r0, r16
/* 8036E830 0036B790 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E834 0036B794 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E838 0036B798 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E83C 0036B79C 7C 00 BB 78 */ or r0, r0, r23
/* 8036E840 0036B7A0 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E844 0036B7A4 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E848 0036B7A8 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036E84C 0036B7AC B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E850 0036B7B0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E854 0036B7B4 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E858 0036B7B8 60 00 00 00 */ nop
/* 8036E85C 0036B7BC B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E860 0036B7C0 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E864 0036B7C4 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E868 0036B7C8 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E86C 0036B7CC B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E870:
/* 8036E870 0036B7D0 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E874 0036B7D4 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E878 0036B7D8 40 82 FF F8 */ bne lbl_8036E870
/* 8036E87C 0036B7DC A0 9F 00 00 */ lhz r4, 0(r31)
/* 8036E880 0036B7E0 38 00 FF 77 */ li r0, -137
/* 8036E884 0036B7E4 3C 60 00 40 */ lis r3, 0x40
/* 8036E888 0036B7E8 7C 80 00 38 */ and r0, r4, r0
/* 8036E88C 0036B7EC 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E890 0036B7F0 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E894 0036B7F4 3E 73 00 40 */ addis r19, r19, 0x40
/* 8036E898 0036B7F8 A0 01 02 70 */ lhz r0, 0x270(r1)
/* 8036E89C 0036B7FC 90 6D AB 44 */ stw r3, __AR_ExpansionSize@sda21(r13)
/* 8036E8A0 0036B800 60 00 00 08 */ ori r0, r0, 8
/* 8036E8A4 0036B804 B0 01 02 70 */ sth r0, 0x270(r1)
/* 8036E8A8 0036B808 48 00 0B 4C */ b lbl_8036F3F4
lbl_8036E8AC:
/* 8036E8AC 0036B80C A0 19 00 00 */ lhz r0, 0(r25)
/* 8036E8B0 0036B810 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E8B4 0036B814 80 01 02 38 */ lwz r0, 0x238(r1)
/* 8036E8B8 0036B818 7C 60 03 78 */ or r0, r3, r0
/* 8036E8BC 0036B81C B0 19 00 00 */ sth r0, 0(r25)
/* 8036E8C0 0036B820 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E8C4 0036B824 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E8C8 0036B828 7C 00 A3 78 */ or r0, r0, r20
/* 8036E8CC 0036B82C B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E8D0 0036B830 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E8D4 0036B834 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E8D8 0036B838 80 01 02 30 */ lwz r0, 0x230(r1)
/* 8036E8DC 0036B83C 7C 60 03 78 */ or r0, r3, r0
/* 8036E8E0 0036B840 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E8E4 0036B844 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E8E8 0036B848 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E8EC 0036B84C 80 01 02 64 */ lwz r0, 0x264(r1)
/* 8036E8F0 0036B850 7C 60 03 78 */ or r0, r3, r0
/* 8036E8F4 0036B854 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E8F8 0036B858 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E8FC 0036B85C 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036E900 0036B860 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E904 0036B864 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E908 0036B868 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E90C 0036B86C 60 00 00 00 */ nop
/* 8036E910 0036B870 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E914 0036B874 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E918 0036B878 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E91C 0036B87C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E920 0036B880 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E924:
/* 8036E924 0036B884 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E928 0036B888 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E92C 0036B88C 40 82 FF F8 */ bne lbl_8036E924
/* 8036E930 0036B890 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036E934 0036B894 38 00 FF 77 */ li r0, -137
/* 8036E938 0036B898 7C 60 00 38 */ and r0, r3, r0
/* 8036E93C 0036B89C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E940 0036B8A0 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E944 0036B8A4 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036E948 0036B8A8 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E94C 0036B8AC 80 01 02 44 */ lwz r0, 0x244(r1)
/* 8036E950 0036B8B0 7C 60 03 78 */ or r0, r3, r0
/* 8036E954 0036B8B4 B0 19 00 00 */ sth r0, 0(r25)
/* 8036E958 0036B8B8 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036E95C 0036B8BC 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036E960 0036B8C0 80 01 02 50 */ lwz r0, 0x250(r1)
/* 8036E964 0036B8C4 7C 60 03 78 */ or r0, r3, r0
/* 8036E968 0036B8C8 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036E96C 0036B8CC A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036E970 0036B8D0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E974 0036B8D4 7C 00 8B 78 */ or r0, r0, r17
/* 8036E978 0036B8D8 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036E97C 0036B8DC A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036E980 0036B8E0 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E984 0036B8E4 7C 00 93 78 */ or r0, r0, r18
/* 8036E988 0036B8E8 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036E98C 0036B8EC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E990 0036B8F0 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036E994 0036B8F4 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E998 0036B8F8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036E99C 0036B8FC 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036E9A0 0036B900 60 00 00 00 */ nop
/* 8036E9A4 0036B904 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036E9A8 0036B908 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036E9AC 0036B90C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036E9B0 0036B910 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E9B4 0036B914 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036E9B8:
/* 8036E9B8 0036B918 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E9BC 0036B91C 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036E9C0 0036B920 40 82 FF F8 */ bne lbl_8036E9B8
/* 8036E9C4 0036B924 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036E9C8 0036B928 38 80 FF 77 */ li r4, -137
/* 8036E9CC 0036B92C 38 78 00 00 */ addi r3, r24, 0
/* 8036E9D0 0036B930 7C 00 20 38 */ and r0, r0, r4
/* 8036E9D4 0036B934 60 00 00 20 */ ori r0, r0, 0x20
/* 8036E9D8 0036B938 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036E9DC 0036B93C 38 80 00 00 */ li r4, 0
/* 8036E9E0 0036B940 38 A0 00 20 */ li r5, 0x20
/* 8036E9E4 0036B944 4B C9 49 C5 */ bl memset
/* 8036E9E8 0036B948 38 78 00 00 */ addi r3, r24, 0
/* 8036E9EC 0036B94C 38 80 00 20 */ li r4, 0x20
/* 8036E9F0 0036B950 48 01 00 C1 */ bl DCFlushRange
/* 8036E9F4 0036B954 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036E9F8 0036B958 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036E9FC 0036B95C 80 01 02 40 */ lwz r0, 0x240(r1)
/* 8036EA00 0036B960 7C 60 03 78 */ or r0, r3, r0
/* 8036EA04 0036B964 B0 19 00 00 */ sth r0, 0(r25)
/* 8036EA08 0036B968 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036EA0C 0036B96C 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036EA10 0036B970 80 01 02 54 */ lwz r0, 0x254(r1)
/* 8036EA14 0036B974 7C 60 03 78 */ or r0, r3, r0
/* 8036EA18 0036B978 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036EA1C 0036B97C A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036EA20 0036B980 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036EA24 0036B984 80 01 02 30 */ lwz r0, 0x230(r1)
/* 8036EA28 0036B988 7C 60 03 78 */ or r0, r3, r0
/* 8036EA2C 0036B98C B0 1B 00 00 */ sth r0, 0(r27)
/* 8036EA30 0036B990 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036EA34 0036B994 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036EA38 0036B998 80 01 02 64 */ lwz r0, 0x264(r1)
/* 8036EA3C 0036B99C 7C 60 03 78 */ or r0, r3, r0
/* 8036EA40 0036B9A0 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036EA44 0036B9A4 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EA48 0036B9A8 60 00 80 00 */ ori r0, r0, 0x8000
/* 8036EA4C 0036B9AC B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EA50 0036B9B0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EA54 0036B9B4 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EA58 0036B9B8 60 00 00 00 */ nop
/* 8036EA5C 0036B9BC B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EA60 0036B9C0 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EA64 0036B9C4 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EA68 0036B9C8 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EA6C 0036B9CC B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036EA70:
/* 8036EA70 0036B9D0 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036EA74 0036B9D4 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036EA78 0036B9D8 40 82 FF F8 */ bne lbl_8036EA70
/* 8036EA7C 0036B9DC A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036EA80 0036B9E0 38 00 FF 77 */ li r0, -137
/* 8036EA84 0036B9E4 7C 60 00 38 */ and r0, r3, r0
/* 8036EA88 0036B9E8 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EA8C 0036B9EC B0 1F 00 00 */ sth r0, 0(r31)
/* 8036EA90 0036B9F0 48 00 0D 7D */ bl PPCSync
/* 8036EA94 0036B9F4 80 78 00 00 */ lwz r3, 0(r24)
/* 8036EA98 0036B9F8 80 16 00 00 */ lwz r0, 0(r22)
/* 8036EA9C 0036B9FC 7C 03 00 40 */ cmplw r3, r0
/* 8036EAA0 0036BA00 40 82 01 DC */ bne lbl_8036EC7C
/* 8036EAA4 0036BA04 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036EAA8 0036BA08 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036EAAC 0036BA0C 80 01 02 3C */ lwz r0, 0x23c(r1)
/* 8036EAB0 0036BA10 7C 60 03 78 */ or r0, r3, r0
/* 8036EAB4 0036BA14 B0 19 00 00 */ sth r0, 0(r25)
/* 8036EAB8 0036BA18 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036EABC 0036BA1C 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036EAC0 0036BA20 80 01 02 4C */ lwz r0, 0x24c(r1)
/* 8036EAC4 0036BA24 7C 60 03 78 */ or r0, r3, r0
/* 8036EAC8 0036BA28 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036EACC 0036BA2C A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036EAD0 0036BA30 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EAD4 0036BA34 7C 00 8B 78 */ or r0, r0, r17
/* 8036EAD8 0036BA38 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036EADC 0036BA3C A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036EAE0 0036BA40 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EAE4 0036BA44 7C 00 93 78 */ or r0, r0, r18
/* 8036EAE8 0036BA48 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036EAEC 0036BA4C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EAF0 0036BA50 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036EAF4 0036BA54 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EAF8 0036BA58 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EAFC 0036BA5C 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EB00 0036BA60 60 00 00 00 */ nop
/* 8036EB04 0036BA64 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EB08 0036BA68 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EB0C 0036BA6C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EB10 0036BA70 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EB14 0036BA74 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036EB18:
/* 8036EB18 0036BA78 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036EB1C 0036BA7C 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036EB20 0036BA80 40 82 FF F8 */ bne lbl_8036EB18
/* 8036EB24 0036BA84 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036EB28 0036BA88 38 00 FF 77 */ li r0, -137
/* 8036EB2C 0036BA8C 7C 60 00 38 */ and r0, r3, r0
/* 8036EB30 0036BA90 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EB34 0036BA94 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036EB38 0036BA98 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036EB3C 0036BA9C 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036EB40 0036BAA0 80 01 02 34 */ lwz r0, 0x234(r1)
/* 8036EB44 0036BAA4 7C 60 03 78 */ or r0, r3, r0
/* 8036EB48 0036BAA8 B0 19 00 00 */ sth r0, 0(r25)
/* 8036EB4C 0036BAAC A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036EB50 0036BAB0 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036EB54 0036BAB4 80 01 02 58 */ lwz r0, 0x258(r1)
/* 8036EB58 0036BAB8 7C 60 03 78 */ or r0, r3, r0
/* 8036EB5C 0036BABC B0 1A 00 00 */ sth r0, 0(r26)
/* 8036EB60 0036BAC0 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036EB64 0036BAC4 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EB68 0036BAC8 7C 00 83 78 */ or r0, r0, r16
/* 8036EB6C 0036BACC B0 1B 00 00 */ sth r0, 0(r27)
/* 8036EB70 0036BAD0 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036EB74 0036BAD4 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EB78 0036BAD8 7C 00 BB 78 */ or r0, r0, r23
/* 8036EB7C 0036BADC B0 1C 00 00 */ sth r0, 0(r28)
/* 8036EB80 0036BAE0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EB84 0036BAE4 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036EB88 0036BAE8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EB8C 0036BAEC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EB90 0036BAF0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EB94 0036BAF4 60 00 00 00 */ nop
/* 8036EB98 0036BAF8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EB9C 0036BAFC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EBA0 0036BB00 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EBA4 0036BB04 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EBA8 0036BB08 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036EBAC:
/* 8036EBAC 0036BB0C A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036EBB0 0036BB10 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036EBB4 0036BB14 40 82 FF F8 */ bne lbl_8036EBAC
/* 8036EBB8 0036BB18 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036EBBC 0036BB1C 38 00 FF 77 */ li r0, -137
/* 8036EBC0 0036BB20 7C 60 00 38 */ and r0, r3, r0
/* 8036EBC4 0036BB24 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EBC8 0036BB28 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036EBCC 0036BB2C A0 19 00 00 */ lhz r0, 0(r25)
/* 8036EBD0 0036BB30 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036EBD4 0036BB34 80 01 02 2C */ lwz r0, 0x22c(r1)
/* 8036EBD8 0036BB38 7C 60 03 78 */ or r0, r3, r0
/* 8036EBDC 0036BB3C B0 19 00 00 */ sth r0, 0(r25)
/* 8036EBE0 0036BB40 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036EBE4 0036BB44 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036EBE8 0036BB48 80 01 02 5C */ lwz r0, 0x25c(r1)
/* 8036EBEC 0036BB4C 7C 60 03 78 */ or r0, r3, r0
/* 8036EBF0 0036BB50 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036EBF4 0036BB54 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036EBF8 0036BB58 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EBFC 0036BB5C 7C 00 73 78 */ or r0, r0, r14
/* 8036EC00 0036BB60 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036EC04 0036BB64 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036EC08 0036BB68 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EC0C 0036BB6C 7C 00 7B 78 */ or r0, r0, r15
/* 8036EC10 0036BB70 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036EC14 0036BB74 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EC18 0036BB78 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036EC1C 0036BB7C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EC20 0036BB80 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EC24 0036BB84 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EC28 0036BB88 60 00 00 00 */ nop
/* 8036EC2C 0036BB8C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EC30 0036BB90 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EC34 0036BB94 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EC38 0036BB98 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EC3C 0036BB9C B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036EC40:
/* 8036EC40 0036BBA0 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036EC44 0036BBA4 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036EC48 0036BBA8 40 82 FF F8 */ bne lbl_8036EC40
/* 8036EC4C 0036BBAC A0 9F 00 00 */ lhz r4, 0(r31)
/* 8036EC50 0036BBB0 38 00 FF 77 */ li r0, -137
/* 8036EC54 0036BBB4 3C 60 00 80 */ lis r3, 0x80
/* 8036EC58 0036BBB8 7C 80 00 38 */ and r0, r4, r0
/* 8036EC5C 0036BBBC 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EC60 0036BBC0 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036EC64 0036BBC4 3E 73 00 80 */ addis r19, r19, 0x80
/* 8036EC68 0036BBC8 A0 01 02 70 */ lhz r0, 0x270(r1)
/* 8036EC6C 0036BBCC 90 6D AB 44 */ stw r3, __AR_ExpansionSize@sda21(r13)
/* 8036EC70 0036BBD0 60 00 00 10 */ ori r0, r0, 0x10
/* 8036EC74 0036BBD4 B0 01 02 70 */ sth r0, 0x270(r1)
/* 8036EC78 0036BBD8 48 00 07 7C */ b lbl_8036F3F4
lbl_8036EC7C:
/* 8036EC7C 0036BBDC A0 19 00 00 */ lhz r0, 0(r25)
/* 8036EC80 0036BBE0 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036EC84 0036BBE4 80 01 02 38 */ lwz r0, 0x238(r1)
/* 8036EC88 0036BBE8 7C 60 03 78 */ or r0, r3, r0
/* 8036EC8C 0036BBEC B0 19 00 00 */ sth r0, 0(r25)
/* 8036EC90 0036BBF0 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036EC94 0036BBF4 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EC98 0036BBF8 7C 00 A3 78 */ or r0, r0, r20
/* 8036EC9C 0036BBFC B0 1A 00 00 */ sth r0, 0(r26)
/* 8036ECA0 0036BC00 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036ECA4 0036BC04 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036ECA8 0036BC08 80 01 02 28 */ lwz r0, 0x228(r1)
/* 8036ECAC 0036BC0C 7C 60 03 78 */ or r0, r3, r0
/* 8036ECB0 0036BC10 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036ECB4 0036BC14 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036ECB8 0036BC18 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036ECBC 0036BC1C 80 01 02 6C */ lwz r0, 0x26c(r1)
/* 8036ECC0 0036BC20 7C 60 03 78 */ or r0, r3, r0
/* 8036ECC4 0036BC24 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036ECC8 0036BC28 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036ECCC 0036BC2C 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036ECD0 0036BC30 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036ECD4 0036BC34 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036ECD8 0036BC38 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036ECDC 0036BC3C 60 00 00 00 */ nop
/* 8036ECE0 0036BC40 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036ECE4 0036BC44 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036ECE8 0036BC48 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036ECEC 0036BC4C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036ECF0 0036BC50 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036ECF4:
/* 8036ECF4 0036BC54 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036ECF8 0036BC58 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036ECFC 0036BC5C 40 82 FF F8 */ bne lbl_8036ECF4
/* 8036ED00 0036BC60 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036ED04 0036BC64 38 00 FF 77 */ li r0, -137
/* 8036ED08 0036BC68 7C 60 00 38 */ and r0, r3, r0
/* 8036ED0C 0036BC6C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036ED10 0036BC70 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036ED14 0036BC74 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036ED18 0036BC78 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036ED1C 0036BC7C 80 01 02 44 */ lwz r0, 0x244(r1)
/* 8036ED20 0036BC80 7C 60 03 78 */ or r0, r3, r0
/* 8036ED24 0036BC84 B0 19 00 00 */ sth r0, 0(r25)
/* 8036ED28 0036BC88 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036ED2C 0036BC8C 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036ED30 0036BC90 80 01 02 50 */ lwz r0, 0x250(r1)
/* 8036ED34 0036BC94 7C 60 03 78 */ or r0, r3, r0
/* 8036ED38 0036BC98 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036ED3C 0036BC9C A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036ED40 0036BCA0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036ED44 0036BCA4 7C 00 8B 78 */ or r0, r0, r17
/* 8036ED48 0036BCA8 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036ED4C 0036BCAC A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036ED50 0036BCB0 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036ED54 0036BCB4 7C 00 93 78 */ or r0, r0, r18
/* 8036ED58 0036BCB8 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036ED5C 0036BCBC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036ED60 0036BCC0 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036ED64 0036BCC4 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036ED68 0036BCC8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036ED6C 0036BCCC 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036ED70 0036BCD0 60 00 00 00 */ nop
/* 8036ED74 0036BCD4 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036ED78 0036BCD8 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036ED7C 0036BCDC 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036ED80 0036BCE0 60 00 00 20 */ ori r0, r0, 0x20
/* 8036ED84 0036BCE4 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036ED88:
/* 8036ED88 0036BCE8 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036ED8C 0036BCEC 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036ED90 0036BCF0 40 82 FF F8 */ bne lbl_8036ED88
/* 8036ED94 0036BCF4 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036ED98 0036BCF8 38 80 FF 77 */ li r4, -137
/* 8036ED9C 0036BCFC 38 78 00 00 */ addi r3, r24, 0
/* 8036EDA0 0036BD00 7C 00 20 38 */ and r0, r0, r4
/* 8036EDA4 0036BD04 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EDA8 0036BD08 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036EDAC 0036BD0C 38 80 00 00 */ li r4, 0
/* 8036EDB0 0036BD10 38 A0 00 20 */ li r5, 0x20
/* 8036EDB4 0036BD14 4B C9 45 F5 */ bl memset
/* 8036EDB8 0036BD18 38 78 00 00 */ addi r3, r24, 0
/* 8036EDBC 0036BD1C 38 80 00 20 */ li r4, 0x20
/* 8036EDC0 0036BD20 48 00 FC F1 */ bl DCFlushRange
/* 8036EDC4 0036BD24 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036EDC8 0036BD28 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036EDCC 0036BD2C 80 01 02 40 */ lwz r0, 0x240(r1)
/* 8036EDD0 0036BD30 7C 60 03 78 */ or r0, r3, r0
/* 8036EDD4 0036BD34 B0 19 00 00 */ sth r0, 0(r25)
/* 8036EDD8 0036BD38 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036EDDC 0036BD3C 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036EDE0 0036BD40 80 01 02 54 */ lwz r0, 0x254(r1)
/* 8036EDE4 0036BD44 7C 60 03 78 */ or r0, r3, r0
/* 8036EDE8 0036BD48 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036EDEC 0036BD4C A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036EDF0 0036BD50 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036EDF4 0036BD54 80 01 02 28 */ lwz r0, 0x228(r1)
/* 8036EDF8 0036BD58 7C 60 03 78 */ or r0, r3, r0
/* 8036EDFC 0036BD5C B0 1B 00 00 */ sth r0, 0(r27)
/* 8036EE00 0036BD60 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036EE04 0036BD64 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036EE08 0036BD68 80 01 02 6C */ lwz r0, 0x26c(r1)
/* 8036EE0C 0036BD6C 7C 60 03 78 */ or r0, r3, r0
/* 8036EE10 0036BD70 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036EE14 0036BD74 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EE18 0036BD78 60 00 80 00 */ ori r0, r0, 0x8000
/* 8036EE1C 0036BD7C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EE20 0036BD80 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EE24 0036BD84 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EE28 0036BD88 60 00 00 00 */ nop
/* 8036EE2C 0036BD8C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EE30 0036BD90 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EE34 0036BD94 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EE38 0036BD98 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EE3C 0036BD9C B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036EE40:
/* 8036EE40 0036BDA0 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036EE44 0036BDA4 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036EE48 0036BDA8 40 82 FF F8 */ bne lbl_8036EE40
/* 8036EE4C 0036BDAC A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036EE50 0036BDB0 38 00 FF 77 */ li r0, -137
/* 8036EE54 0036BDB4 7C 60 00 38 */ and r0, r3, r0
/* 8036EE58 0036BDB8 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EE5C 0036BDBC B0 1F 00 00 */ sth r0, 0(r31)
/* 8036EE60 0036BDC0 48 00 09 AD */ bl PPCSync
/* 8036EE64 0036BDC4 80 18 00 00 */ lwz r0, 0(r24)
/* 8036EE68 0036BDC8 80 76 00 00 */ lwz r3, 0(r22)
/* 8036EE6C 0036BDCC 7C 00 18 40 */ cmplw r0, r3
/* 8036EE70 0036BDD0 40 82 02 78 */ bne lbl_8036F0E8
/* 8036EE74 0036BDD4 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036EE78 0036BDD8 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036EE7C 0036BDDC 80 01 02 3C */ lwz r0, 0x23c(r1)
/* 8036EE80 0036BDE0 7C 60 03 78 */ or r0, r3, r0
/* 8036EE84 0036BDE4 B0 19 00 00 */ sth r0, 0(r25)
/* 8036EE88 0036BDE8 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036EE8C 0036BDEC 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036EE90 0036BDF0 80 01 02 4C */ lwz r0, 0x24c(r1)
/* 8036EE94 0036BDF4 7C 60 03 78 */ or r0, r3, r0
/* 8036EE98 0036BDF8 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036EE9C 0036BDFC A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036EEA0 0036BE00 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EEA4 0036BE04 7C 00 8B 78 */ or r0, r0, r17
/* 8036EEA8 0036BE08 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036EEAC 0036BE0C A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036EEB0 0036BE10 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EEB4 0036BE14 7C 00 93 78 */ or r0, r0, r18
/* 8036EEB8 0036BE18 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036EEBC 0036BE1C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EEC0 0036BE20 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036EEC4 0036BE24 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EEC8 0036BE28 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EECC 0036BE2C 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EED0 0036BE30 60 00 00 00 */ nop
/* 8036EED4 0036BE34 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EED8 0036BE38 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EEDC 0036BE3C 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EEE0 0036BE40 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EEE4 0036BE44 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036EEE8:
/* 8036EEE8 0036BE48 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036EEEC 0036BE4C 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036EEF0 0036BE50 40 82 FF F8 */ bne lbl_8036EEE8
/* 8036EEF4 0036BE54 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036EEF8 0036BE58 38 00 FF 77 */ li r0, -137
/* 8036EEFC 0036BE5C 7C 60 00 38 */ and r0, r3, r0
/* 8036EF00 0036BE60 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EF04 0036BE64 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036EF08 0036BE68 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036EF0C 0036BE6C 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036EF10 0036BE70 80 01 02 34 */ lwz r0, 0x234(r1)
/* 8036EF14 0036BE74 7C 60 03 78 */ or r0, r3, r0
/* 8036EF18 0036BE78 B0 19 00 00 */ sth r0, 0(r25)
/* 8036EF1C 0036BE7C A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036EF20 0036BE80 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036EF24 0036BE84 80 01 02 58 */ lwz r0, 0x258(r1)
/* 8036EF28 0036BE88 7C 60 03 78 */ or r0, r3, r0
/* 8036EF2C 0036BE8C B0 1A 00 00 */ sth r0, 0(r26)
/* 8036EF30 0036BE90 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036EF34 0036BE94 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EF38 0036BE98 7C 00 83 78 */ or r0, r0, r16
/* 8036EF3C 0036BE9C B0 1B 00 00 */ sth r0, 0(r27)
/* 8036EF40 0036BEA0 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036EF44 0036BEA4 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EF48 0036BEA8 7C 00 BB 78 */ or r0, r0, r23
/* 8036EF4C 0036BEAC B0 1C 00 00 */ sth r0, 0(r28)
/* 8036EF50 0036BEB0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EF54 0036BEB4 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036EF58 0036BEB8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EF5C 0036BEBC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EF60 0036BEC0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EF64 0036BEC4 60 00 00 00 */ nop
/* 8036EF68 0036BEC8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EF6C 0036BECC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036EF70 0036BED0 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EF74 0036BED4 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EF78 0036BED8 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036EF7C:
/* 8036EF7C 0036BEDC A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036EF80 0036BEE0 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036EF84 0036BEE4 40 82 FF F8 */ bne lbl_8036EF7C
/* 8036EF88 0036BEE8 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036EF8C 0036BEEC 38 00 FF 77 */ li r0, -137
/* 8036EF90 0036BEF0 7C 60 00 38 */ and r0, r3, r0
/* 8036EF94 0036BEF4 60 00 00 20 */ ori r0, r0, 0x20
/* 8036EF98 0036BEF8 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036EF9C 0036BEFC A0 19 00 00 */ lhz r0, 0(r25)
/* 8036EFA0 0036BF00 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036EFA4 0036BF04 80 01 02 2C */ lwz r0, 0x22c(r1)
/* 8036EFA8 0036BF08 7C 60 03 78 */ or r0, r3, r0
/* 8036EFAC 0036BF0C B0 19 00 00 */ sth r0, 0(r25)
/* 8036EFB0 0036BF10 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036EFB4 0036BF14 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036EFB8 0036BF18 80 01 02 5C */ lwz r0, 0x25c(r1)
/* 8036EFBC 0036BF1C 7C 60 03 78 */ or r0, r3, r0
/* 8036EFC0 0036BF20 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036EFC4 0036BF24 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036EFC8 0036BF28 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EFCC 0036BF2C 7C 00 73 78 */ or r0, r0, r14
/* 8036EFD0 0036BF30 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036EFD4 0036BF34 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036EFD8 0036BF38 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036EFDC 0036BF3C 7C 00 7B 78 */ or r0, r0, r15
/* 8036EFE0 0036BF40 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036EFE4 0036BF44 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EFE8 0036BF48 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036EFEC 0036BF4C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036EFF0 0036BF50 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036EFF4 0036BF54 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036EFF8 0036BF58 60 00 00 00 */ nop
/* 8036EFFC 0036BF5C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F000 0036BF60 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F004 0036BF64 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036F008 0036BF68 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F00C 0036BF6C B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036F010:
/* 8036F010 0036BF70 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036F014 0036BF74 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036F018 0036BF78 40 82 FF F8 */ bne lbl_8036F010
/* 8036F01C 0036BF7C A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036F020 0036BF80 38 00 FF 77 */ li r0, -137
/* 8036F024 0036BF84 7C 60 00 38 */ and r0, r3, r0
/* 8036F028 0036BF88 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F02C 0036BF8C B0 1F 00 00 */ sth r0, 0(r31)
/* 8036F030 0036BF90 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036F034 0036BF94 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036F038 0036BF98 80 01 02 24 */ lwz r0, 0x224(r1)
/* 8036F03C 0036BF9C 7C 60 03 78 */ or r0, r3, r0
/* 8036F040 0036BFA0 B0 19 00 00 */ sth r0, 0(r25)
/* 8036F044 0036BFA4 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036F048 0036BFA8 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036F04C 0036BFAC 80 01 02 60 */ lwz r0, 0x260(r1)
/* 8036F050 0036BFB0 7C 60 03 78 */ or r0, r3, r0
/* 8036F054 0036BFB4 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036F058 0036BFB8 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036F05C 0036BFBC 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036F060 0036BFC0 80 01 02 30 */ lwz r0, 0x230(r1)
/* 8036F064 0036BFC4 7C 60 03 78 */ or r0, r3, r0
/* 8036F068 0036BFC8 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036F06C 0036BFCC A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036F070 0036BFD0 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036F074 0036BFD4 80 01 02 64 */ lwz r0, 0x264(r1)
/* 8036F078 0036BFD8 7C 60 03 78 */ or r0, r3, r0
/* 8036F07C 0036BFDC B0 1C 00 00 */ sth r0, 0(r28)
/* 8036F080 0036BFE0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F084 0036BFE4 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036F088 0036BFE8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F08C 0036BFEC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F090 0036BFF0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F094 0036BFF4 60 00 00 00 */ nop
/* 8036F098 0036BFF8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F09C 0036BFFC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F0A0 0036C000 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036F0A4 0036C004 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F0A8 0036C008 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036F0AC:
/* 8036F0AC 0036C00C A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036F0B0 0036C010 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036F0B4 0036C014 40 82 FF F8 */ bne lbl_8036F0AC
/* 8036F0B8 0036C018 A0 9F 00 00 */ lhz r4, 0(r31)
/* 8036F0BC 0036C01C 38 00 FF 77 */ li r0, -137
/* 8036F0C0 0036C020 3C 60 01 00 */ lis r3, 0x100
/* 8036F0C4 0036C024 7C 80 00 38 */ and r0, r4, r0
/* 8036F0C8 0036C028 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F0CC 0036C02C B0 1F 00 00 */ sth r0, 0(r31)
/* 8036F0D0 0036C030 3E 73 01 00 */ addis r19, r19, 0x100
/* 8036F0D4 0036C034 A0 01 02 70 */ lhz r0, 0x270(r1)
/* 8036F0D8 0036C038 90 6D AB 44 */ stw r3, __AR_ExpansionSize@sda21(r13)
/* 8036F0DC 0036C03C 60 00 00 18 */ ori r0, r0, 0x18
/* 8036F0E0 0036C040 B0 01 02 70 */ sth r0, 0x270(r1)
/* 8036F0E4 0036C044 48 00 03 10 */ b lbl_8036F3F4
lbl_8036F0E8:
/* 8036F0E8 0036C048 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036F0EC 0036C04C 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036F0F0 0036C050 80 01 02 3C */ lwz r0, 0x23c(r1)
/* 8036F0F4 0036C054 7C 60 03 78 */ or r0, r3, r0
/* 8036F0F8 0036C058 B0 19 00 00 */ sth r0, 0(r25)
/* 8036F0FC 0036C05C A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036F100 0036C060 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036F104 0036C064 80 01 02 4C */ lwz r0, 0x24c(r1)
/* 8036F108 0036C068 7C 60 03 78 */ or r0, r3, r0
/* 8036F10C 0036C06C B0 1A 00 00 */ sth r0, 0(r26)
/* 8036F110 0036C070 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036F114 0036C074 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F118 0036C078 7C 00 8B 78 */ or r0, r0, r17
/* 8036F11C 0036C07C B0 1B 00 00 */ sth r0, 0(r27)
/* 8036F120 0036C080 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036F124 0036C084 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036F128 0036C088 7C 00 93 78 */ or r0, r0, r18
/* 8036F12C 0036C08C B0 1C 00 00 */ sth r0, 0(r28)
/* 8036F130 0036C090 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F134 0036C094 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036F138 0036C098 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F13C 0036C09C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F140 0036C0A0 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F144 0036C0A4 60 00 00 00 */ nop
/* 8036F148 0036C0A8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F14C 0036C0AC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F150 0036C0B0 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036F154 0036C0B4 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F158 0036C0B8 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036F15C:
/* 8036F15C 0036C0BC A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036F160 0036C0C0 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036F164 0036C0C4 40 82 FF F8 */ bne lbl_8036F15C
/* 8036F168 0036C0C8 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036F16C 0036C0CC 38 00 FF 77 */ li r0, -137
/* 8036F170 0036C0D0 7C 60 00 38 */ and r0, r3, r0
/* 8036F174 0036C0D4 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F178 0036C0D8 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036F17C 0036C0DC A0 19 00 00 */ lhz r0, 0(r25)
/* 8036F180 0036C0E0 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036F184 0036C0E4 80 01 02 34 */ lwz r0, 0x234(r1)
/* 8036F188 0036C0E8 7C 60 03 78 */ or r0, r3, r0
/* 8036F18C 0036C0EC B0 19 00 00 */ sth r0, 0(r25)
/* 8036F190 0036C0F0 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036F194 0036C0F4 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036F198 0036C0F8 80 01 02 58 */ lwz r0, 0x258(r1)
/* 8036F19C 0036C0FC 7C 60 03 78 */ or r0, r3, r0
/* 8036F1A0 0036C100 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036F1A4 0036C104 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036F1A8 0036C108 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F1AC 0036C10C 7C 00 83 78 */ or r0, r0, r16
/* 8036F1B0 0036C110 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036F1B4 0036C114 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036F1B8 0036C118 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036F1BC 0036C11C 7C 00 BB 78 */ or r0, r0, r23
/* 8036F1C0 0036C120 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036F1C4 0036C124 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F1C8 0036C128 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036F1CC 0036C12C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F1D0 0036C130 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F1D4 0036C134 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F1D8 0036C138 60 00 00 00 */ nop
/* 8036F1DC 0036C13C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F1E0 0036C140 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F1E4 0036C144 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036F1E8 0036C148 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F1EC 0036C14C B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036F1F0:
/* 8036F1F0 0036C150 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036F1F4 0036C154 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036F1F8 0036C158 40 82 FF F8 */ bne lbl_8036F1F0
/* 8036F1FC 0036C15C A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036F200 0036C160 38 00 FF 77 */ li r0, -137
/* 8036F204 0036C164 7C 60 00 38 */ and r0, r3, r0
/* 8036F208 0036C168 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F20C 0036C16C B0 1F 00 00 */ sth r0, 0(r31)
/* 8036F210 0036C170 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036F214 0036C174 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036F218 0036C178 80 01 02 2C */ lwz r0, 0x22c(r1)
/* 8036F21C 0036C17C 7C 60 03 78 */ or r0, r3, r0
/* 8036F220 0036C180 B0 19 00 00 */ sth r0, 0(r25)
/* 8036F224 0036C184 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036F228 0036C188 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036F22C 0036C18C 80 01 02 5C */ lwz r0, 0x25c(r1)
/* 8036F230 0036C190 7C 60 03 78 */ or r0, r3, r0
/* 8036F234 0036C194 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036F238 0036C198 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036F23C 0036C19C 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F240 0036C1A0 7C 00 73 78 */ or r0, r0, r14
/* 8036F244 0036C1A4 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036F248 0036C1A8 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036F24C 0036C1AC 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036F250 0036C1B0 7C 00 7B 78 */ or r0, r0, r15
/* 8036F254 0036C1B4 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036F258 0036C1B8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F25C 0036C1BC 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036F260 0036C1C0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F264 0036C1C4 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F268 0036C1C8 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F26C 0036C1CC 60 00 00 00 */ nop
/* 8036F270 0036C1D0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F274 0036C1D4 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F278 0036C1D8 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036F27C 0036C1DC 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F280 0036C1E0 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036F284:
/* 8036F284 0036C1E4 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036F288 0036C1E8 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036F28C 0036C1EC 40 82 FF F8 */ bne lbl_8036F284
/* 8036F290 0036C1F0 A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036F294 0036C1F4 38 00 FF 77 */ li r0, -137
/* 8036F298 0036C1F8 7C 60 00 38 */ and r0, r3, r0
/* 8036F29C 0036C1FC 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F2A0 0036C200 B0 1F 00 00 */ sth r0, 0(r31)
/* 8036F2A4 0036C204 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036F2A8 0036C208 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036F2AC 0036C20C 80 01 02 24 */ lwz r0, 0x224(r1)
/* 8036F2B0 0036C210 7C 60 03 78 */ or r0, r3, r0
/* 8036F2B4 0036C214 B0 19 00 00 */ sth r0, 0(r25)
/* 8036F2B8 0036C218 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036F2BC 0036C21C 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036F2C0 0036C220 80 01 02 60 */ lwz r0, 0x260(r1)
/* 8036F2C4 0036C224 7C 60 03 78 */ or r0, r3, r0
/* 8036F2C8 0036C228 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036F2CC 0036C22C A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036F2D0 0036C230 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036F2D4 0036C234 80 01 02 30 */ lwz r0, 0x230(r1)
/* 8036F2D8 0036C238 7C 60 03 78 */ or r0, r3, r0
/* 8036F2DC 0036C23C B0 1B 00 00 */ sth r0, 0(r27)
/* 8036F2E0 0036C240 A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036F2E4 0036C244 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036F2E8 0036C248 80 01 02 64 */ lwz r0, 0x264(r1)
/* 8036F2EC 0036C24C 7C 60 03 78 */ or r0, r3, r0
/* 8036F2F0 0036C250 B0 1C 00 00 */ sth r0, 0(r28)
/* 8036F2F4 0036C254 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F2F8 0036C258 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036F2FC 0036C25C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F300 0036C260 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F304 0036C264 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F308 0036C268 60 00 00 00 */ nop
/* 8036F30C 0036C26C B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F310 0036C270 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F314 0036C274 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036F318 0036C278 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F31C 0036C27C B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036F320:
/* 8036F320 0036C280 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036F324 0036C284 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036F328 0036C288 40 82 FF F8 */ bne lbl_8036F320
/* 8036F32C 0036C28C A0 7F 00 00 */ lhz r3, 0(r31)
/* 8036F330 0036C290 38 00 FF 77 */ li r0, -137
/* 8036F334 0036C294 7C 60 00 38 */ and r0, r3, r0
/* 8036F338 0036C298 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F33C 0036C29C B0 1F 00 00 */ sth r0, 0(r31)
/* 8036F340 0036C2A0 A0 19 00 00 */ lhz r0, 0(r25)
/* 8036F344 0036C2A4 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036F348 0036C2A8 80 01 02 20 */ lwz r0, 0x220(r1)
/* 8036F34C 0036C2AC 7C 60 03 78 */ or r0, r3, r0
/* 8036F350 0036C2B0 B0 19 00 00 */ sth r0, 0(r25)
/* 8036F354 0036C2B4 A0 1A 00 00 */ lhz r0, 0(r26)
/* 8036F358 0036C2B8 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036F35C 0036C2BC 80 01 02 68 */ lwz r0, 0x268(r1)
/* 8036F360 0036C2C0 7C 60 03 78 */ or r0, r3, r0
/* 8036F364 0036C2C4 B0 1A 00 00 */ sth r0, 0(r26)
/* 8036F368 0036C2C8 A0 1B 00 00 */ lhz r0, 0(r27)
/* 8036F36C 0036C2CC 54 03 00 2A */ rlwinm r3, r0, 0, 0, 0x15
/* 8036F370 0036C2D0 80 01 02 28 */ lwz r0, 0x228(r1)
/* 8036F374 0036C2D4 7C 60 03 78 */ or r0, r3, r0
/* 8036F378 0036C2D8 B0 1B 00 00 */ sth r0, 0(r27)
/* 8036F37C 0036C2DC A0 1C 00 00 */ lhz r0, 0(r28)
/* 8036F380 0036C2E0 54 03 06 DE */ rlwinm r3, r0, 0, 0x1b, 0xf
/* 8036F384 0036C2E4 80 01 02 6C */ lwz r0, 0x26c(r1)
/* 8036F388 0036C2E8 7C 60 03 78 */ or r0, r3, r0
/* 8036F38C 0036C2EC B0 1C 00 00 */ sth r0, 0(r28)
/* 8036F390 0036C2F0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F394 0036C2F4 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf
/* 8036F398 0036C2F8 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F39C 0036C2FC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8036F3A0 0036C300 54 00 00 2A */ rlwinm r0, r0, 0, 0, 0x15
/* 8036F3A4 0036C304 60 00 00 00 */ nop
/* 8036F3A8 0036C308 B0 1E 00 00 */ sth r0, 0(r30)
/* 8036F3AC 0036C30C A0 1D 00 00 */ lhz r0, 0(r29)
/* 8036F3B0 0036C310 54 00 06 DE */ rlwinm r0, r0, 0, 0x1b, 0xf
/* 8036F3B4 0036C314 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F3B8 0036C318 B0 1D 00 00 */ sth r0, 0(r29)
lbl_8036F3BC:
/* 8036F3BC 0036C31C A0 1F 00 00 */ lhz r0, 0(r31)
/* 8036F3C0 0036C320 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8036F3C4 0036C324 40 82 FF F8 */ bne lbl_8036F3BC
/* 8036F3C8 0036C328 A0 9F 00 00 */ lhz r4, 0(r31)
/* 8036F3CC 0036C32C 38 00 FF 77 */ li r0, -137
/* 8036F3D0 0036C330 3C 60 02 00 */ lis r3, 0x200
/* 8036F3D4 0036C334 7C 80 00 38 */ and r0, r4, r0
/* 8036F3D8 0036C338 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F3DC 0036C33C B0 1F 00 00 */ sth r0, 0(r31)
/* 8036F3E0 0036C340 3E 73 02 00 */ addis r19, r19, 0x200
/* 8036F3E4 0036C344 A0 01 02 70 */ lhz r0, 0x270(r1)
/* 8036F3E8 0036C348 90 6D AB 44 */ stw r3, __AR_ExpansionSize@sda21(r13)
/* 8036F3EC 0036C34C 60 00 00 20 */ ori r0, r0, 0x20
/* 8036F3F0 0036C350 B0 01 02 70 */ sth r0, 0x270(r1)
lbl_8036F3F4:
/* 8036F3F4 0036C354 80 61 02 48 */ lwz r3, 0x248(r1)
/* 8036F3F8 0036C358 A0 03 00 00 */ lhz r0, 0(r3)
/* 8036F3FC 0036C35C 54 03 00 32 */ rlwinm r3, r0, 0, 0, 0x19
/* 8036F400 0036C360 A0 01 02 70 */ lhz r0, 0x270(r1)
/* 8036F404 0036C364 7C 60 03 78 */ or r0, r3, r0
/* 8036F408 0036C368 80 61 02 48 */ lwz r3, 0x248(r1)
/* 8036F40C 0036C36C B0 03 00 00 */ sth r0, 0(r3)
lbl_8036F410:
/* 8036F410 0036C370 3C 60 C0 00 */ lis r3, 0xC00000D0@ha
/* 8036F414 0036C374 92 63 00 D0 */ stw r19, 0xC00000D0@l(r3)
/* 8036F418 0036C378 92 6D AB 3C */ stw r19, __AR_Size@sda21(r13)
/* 8036F41C 0036C37C 80 01 02 C4 */ lwz r0, 0x2c4(r1)
/* 8036F420 0036C380 B9 C1 02 78 */ lmw r14, 0x278(r1)
/* 8036F424 0036C384 38 21 02 C0 */ addi r1, r1, 0x2c0
/* 8036F428 0036C388 7C 08 03 A6 */ mtlr r0
/* 8036F42C 0036C38C 4E 80 00 20 */ blr