donut-decomp/asm/ax/AXCL.s
2022-10-17 09:17:38 +01:00

801 lines
42 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global __AXGetCommandListCycles
__AXGetCommandListCycles:
/* 80043C10 0003FA50 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 80043C14 0003FA54 4E 80 00 20 */ blr
/* 80043C18 0003FA58 00 00 00 00 */ .4byte 0x00000000
/* 80043C1C 0003FA5C 00 00 00 00 */ .4byte 0x00000000
.global __AXGetCommandListAddress
__AXGetCommandListAddress:
/* 80043C20 0003FA60 80 AD E7 D8 */ lwz r5, __AXCommandListPosition@sda21(r13)
/* 80043C24 0003FA64 3C 80 80 4A */ lis r4, __AXCommandList@ha
/* 80043C28 0003FA68 38 84 31 A0 */ addi r4, r4, __AXCommandList@l
/* 80043C2C 0003FA6C 38 65 00 01 */ addi r3, r5, 0x1
/* 80043C30 0003FA70 54 A5 38 30 */ slwi r5, r5, 7
/* 80043C34 0003FA74 54 60 3E 30 */ rlwinm r0, r3, 7, 24, 24
/* 80043C38 0003FA78 54 63 07 FE */ clrlwi r3, r3, 31
/* 80043C3C 0003FA7C 90 6D E7 D8 */ stw r3, __AXCommandListPosition@sda21(r13)
/* 80043C40 0003FA80 7C 04 02 14 */ add r0, r4, r0
/* 80043C44 0003FA84 90 0D E7 D4 */ stw r0, __AXClWrite@sda21(r13)
/* 80043C48 0003FA88 7C 64 2A 14 */ add r3, r4, r5
/* 80043C4C 0003FA8C 4E 80 00 20 */ blr
.global __AXNextFrame
__AXNextFrame:
/* 80043C50 0003FA90 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80043C54 0003FA94 7C 08 02 A6 */ mflr r0
/* 80043C58 0003FA98 90 01 00 24 */ stw r0, 0x24(r1)
/* 80043C5C 0003FA9C 38 00 1E 83 */ li r0, 0x1e83
/* 80043C60 0003FAA0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80043C64 0003FAA4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80043C68 0003FAA8 7C BE 2B 78 */ mr r30, r5
/* 80043C6C 0003FAAC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80043C70 0003FAB0 7C 9D 23 78 */ mr r29, r4
/* 80043C74 0003FAB4 93 81 00 10 */ stw r28, 0x10(r1)
/* 80043C78 0003FAB8 7C 7C 1B 78 */ mr r28, r3
/* 80043C7C 0003FABC 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
/* 80043C80 0003FAC0 83 ED E7 D4 */ lwz r31, __AXClWrite@sda21(r13)
/* 80043C84 0003FAC4 48 00 12 AD */ bl __AXGetStudio
/* 80043C88 0003FAC8 90 61 00 08 */ stw r3, 0x8(r1)
/* 80043C8C 0003FACC 38 00 00 00 */ li r0, 0x0
/* 80043C90 0003FAD0 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043C94 0003FAD4 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80043C98 0003FAD8 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043C9C 0003FADC 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043CA0 0003FAE0 38 63 00 02 */ addi r3, r3, 0x2
/* 80043CA4 0003FAE4 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80043CA8 0003FAE8 54 00 84 3E */ srwi r0, r0, 16
/* 80043CAC 0003FAEC B0 03 00 00 */ sth r0, 0x0(r3)
/* 80043CB0 0003FAF0 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043CB4 0003FAF4 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043CB8 0003FAF8 38 63 00 02 */ addi r3, r3, 0x2
/* 80043CBC 0003FAFC 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80043CC0 0003FB00 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80043CC4 0003FB04 80 AD E7 D0 */ lwz r5, __AXClMode@sda21(r13)
/* 80043CC8 0003FB08 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043CCC 0003FB0C 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 80043CD0 0003FB10 2C 05 00 00 */ cmpwi r5, 0x0
/* 80043CD4 0003FB14 38 84 00 02 */ addi r4, r4, 0x2
/* 80043CD8 0003FB18 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80043CDC 0003FB1C 38 03 10 1E */ addi r0, r3, 0x101e
/* 80043CE0 0003FB20 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
/* 80043CE4 0003FB24 41 82 00 18 */ beq lbl_80043CFC
/* 80043CE8 0003FB28 28 05 00 01 */ cmplwi r5, 0x1
/* 80043CEC 0003FB2C 41 82 00 58 */ beq lbl_80043D44
/* 80043CF0 0003FB30 28 05 00 02 */ cmplwi r5, 0x2
/* 80043CF4 0003FB34 41 82 00 98 */ beq lbl_80043D8C
/* 80043CF8 0003FB38 48 00 00 D8 */ b lbl_80043DD0
.global lbl_80043CFC
lbl_80043CFC:
/* 80043CFC 0003FB3C 38 00 00 01 */ li r0, 0x1
/* 80043D00 0003FB40 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043D04 0003FB44 57 80 84 3E */ srwi r0, r28, 16
/* 80043D08 0003FB48 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043D0C 0003FB4C 38 63 00 02 */ addi r3, r3, 0x2
/* 80043D10 0003FB50 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80043D14 0003FB54 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80043D18 0003FB58 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043D1C 0003FB5C 38 63 00 02 */ addi r3, r3, 0x2
/* 80043D20 0003FB60 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80043D24 0003FB64 B3 83 00 00 */ sth r28, 0x0(r3)
/* 80043D28 0003FB68 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043D2C 0003FB6C 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 80043D30 0003FB70 38 A4 00 02 */ addi r5, r4, 0x2
/* 80043D34 0003FB74 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80043D38 0003FB78 38 03 02 DD */ addi r0, r3, 0x2dd
/* 80043D3C 0003FB7C 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
/* 80043D40 0003FB80 48 00 00 90 */ b lbl_80043DD0
.global lbl_80043D44
lbl_80043D44:
/* 80043D44 0003FB84 38 00 00 02 */ li r0, 0x2
/* 80043D48 0003FB88 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043D4C 0003FB8C 57 80 84 3E */ srwi r0, r28, 16
/* 80043D50 0003FB90 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043D54 0003FB94 38 63 00 02 */ addi r3, r3, 0x2
/* 80043D58 0003FB98 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80043D5C 0003FB9C B0 03 00 00 */ sth r0, 0x0(r3)
/* 80043D60 0003FBA0 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043D64 0003FBA4 38 63 00 02 */ addi r3, r3, 0x2
/* 80043D68 0003FBA8 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80043D6C 0003FBAC B3 83 00 00 */ sth r28, 0x0(r3)
/* 80043D70 0003FBB0 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043D74 0003FBB4 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 80043D78 0003FBB8 38 A4 00 02 */ addi r5, r4, 0x2
/* 80043D7C 0003FBBC 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80043D80 0003FBC0 38 03 03 3D */ addi r0, r3, 0x33d
/* 80043D84 0003FBC4 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
/* 80043D88 0003FBC8 48 00 00 48 */ b lbl_80043DD0
.global lbl_80043D8C
lbl_80043D8C:
/* 80043D8C 0003FBCC 38 00 00 03 */ li r0, 0x3
/* 80043D90 0003FBD0 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043D94 0003FBD4 57 80 84 3E */ srwi r0, r28, 16
/* 80043D98 0003FBD8 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043D9C 0003FBDC 38 63 00 02 */ addi r3, r3, 0x2
/* 80043DA0 0003FBE0 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80043DA4 0003FBE4 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80043DA8 0003FBE8 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043DAC 0003FBEC 38 63 00 02 */ addi r3, r3, 0x2
/* 80043DB0 0003FBF0 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80043DB4 0003FBF4 B3 83 00 00 */ sth r28, 0x0(r3)
/* 80043DB8 0003FBF8 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043DBC 0003FBFC 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 80043DC0 0003FC00 38 A4 00 02 */ addi r5, r4, 0x2
/* 80043DC4 0003FC04 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80043DC8 0003FC08 38 03 03 9D */ addi r0, r3, 0x39d
/* 80043DCC 0003FC0C 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
.global lbl_80043DD0
lbl_80043DD0:
/* 80043DD0 0003FC10 48 00 1E 01 */ bl __AXGetPBs
/* 80043DD4 0003FC14 90 61 00 08 */ stw r3, 0x8(r1)
/* 80043DD8 0003FC18 38 00 00 04 */ li r0, 0x4
/* 80043DDC 0003FC1C 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043DE0 0003FC20 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80043DE4 0003FC24 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043DE8 0003FC28 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043DEC 0003FC2C 38 63 00 02 */ addi r3, r3, 0x2
/* 80043DF0 0003FC30 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80043DF4 0003FC34 54 00 84 3E */ srwi r0, r0, 16
/* 80043DF8 0003FC38 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80043DFC 0003FC3C 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043E00 0003FC40 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043E04 0003FC44 38 63 00 02 */ addi r3, r3, 0x2
/* 80043E08 0003FC48 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80043E0C 0003FC4C B0 03 00 00 */ sth r0, 0x0(r3)
/* 80043E10 0003FC50 80 0D E7 D0 */ lwz r0, __AXClMode@sda21(r13)
/* 80043E14 0003FC54 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043E18 0003FC58 28 00 00 02 */ cmplwi r0, 0x2
/* 80043E1C 0003FC5C 38 A3 00 02 */ addi r5, r3, 0x2
/* 80043E20 0003FC60 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80043E24 0003FC64 40 82 03 28 */ bne lbl_8004414C
/* 80043E28 0003FC68 38 61 00 08 */ addi r3, r1, 0x8
/* 80043E2C 0003FC6C 4B FF F6 65 */ bl __AXGetAuxAInput
/* 80043E30 0003FC70 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043E34 0003FC74 2C 00 00 00 */ cmpwi r0, 0x0
/* 80043E38 0003FC78 41 82 01 80 */ beq lbl_80043FB8
/* 80043E3C 0003FC7C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043E40 0003FC80 38 00 00 08 */ li r0, 0x8
/* 80043E44 0003FC84 38 61 00 08 */ addi r3, r1, 0x8
/* 80043E48 0003FC88 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043E4C 0003FC8C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043E50 0003FC90 A0 0D E7 BC */ lhz r0, __AXAuxAVolume@sda21(r13)
/* 80043E54 0003FC94 38 84 00 02 */ addi r4, r4, 0x2
/* 80043E58 0003FC98 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80043E5C 0003FC9C B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043E60 0003FCA0 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043E64 0003FCA4 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043E68 0003FCA8 38 84 00 02 */ addi r4, r4, 0x2
/* 80043E6C 0003FCAC 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80043E70 0003FCB0 54 00 84 3E */ srwi r0, r0, 16
/* 80043E74 0003FCB4 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043E78 0003FCB8 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043E7C 0003FCBC 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043E80 0003FCC0 38 84 00 02 */ addi r4, r4, 0x2
/* 80043E84 0003FCC4 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80043E88 0003FCC8 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043E8C 0003FCCC 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043E90 0003FCD0 38 A4 00 02 */ addi r5, r4, 0x2
/* 80043E94 0003FCD4 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80043E98 0003FCD8 4B FF F6 59 */ bl __AXGetAuxAInputDpl2
/* 80043E9C 0003FCDC 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043EA0 0003FCE0 38 61 00 08 */ addi r3, r1, 0x8
/* 80043EA4 0003FCE4 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043EA8 0003FCE8 54 00 84 3E */ srwi r0, r0, 16
/* 80043EAC 0003FCEC B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043EB0 0003FCF0 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043EB4 0003FCF4 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043EB8 0003FCF8 38 84 00 02 */ addi r4, r4, 0x2
/* 80043EBC 0003FCFC 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80043EC0 0003FD00 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043EC4 0003FD04 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043EC8 0003FD08 38 A4 00 02 */ addi r5, r4, 0x2
/* 80043ECC 0003FD0C 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80043ED0 0003FD10 4B FF F6 01 */ bl __AXGetAuxAOutput
/* 80043ED4 0003FD14 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043ED8 0003FD18 38 61 00 08 */ addi r3, r1, 0x8
/* 80043EDC 0003FD1C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043EE0 0003FD20 54 00 84 3E */ srwi r0, r0, 16
/* 80043EE4 0003FD24 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043EE8 0003FD28 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043EEC 0003FD2C 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043EF0 0003FD30 38 84 00 02 */ addi r4, r4, 0x2
/* 80043EF4 0003FD34 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80043EF8 0003FD38 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043EFC 0003FD3C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043F00 0003FD40 38 A4 00 02 */ addi r5, r4, 0x2
/* 80043F04 0003FD44 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80043F08 0003FD48 4B FF F6 09 */ bl __AXGetAuxAOutputDpl2R
/* 80043F0C 0003FD4C 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043F10 0003FD50 38 61 00 08 */ addi r3, r1, 0x8
/* 80043F14 0003FD54 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043F18 0003FD58 54 00 84 3E */ srwi r0, r0, 16
/* 80043F1C 0003FD5C B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043F20 0003FD60 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043F24 0003FD64 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043F28 0003FD68 38 84 00 02 */ addi r4, r4, 0x2
/* 80043F2C 0003FD6C 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80043F30 0003FD70 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043F34 0003FD74 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043F38 0003FD78 38 A4 00 02 */ addi r5, r4, 0x2
/* 80043F3C 0003FD7C 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80043F40 0003FD80 4B FF F5 F1 */ bl __AXGetAuxAOutputDpl2Ls
/* 80043F44 0003FD84 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043F48 0003FD88 38 61 00 08 */ addi r3, r1, 0x8
/* 80043F4C 0003FD8C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043F50 0003FD90 54 00 84 3E */ srwi r0, r0, 16
/* 80043F54 0003FD94 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043F58 0003FD98 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043F5C 0003FD9C 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043F60 0003FDA0 38 84 00 02 */ addi r4, r4, 0x2
/* 80043F64 0003FDA4 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80043F68 0003FDA8 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043F6C 0003FDAC 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043F70 0003FDB0 38 A4 00 02 */ addi r5, r4, 0x2
/* 80043F74 0003FDB4 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80043F78 0003FDB8 4B FF F5 D9 */ bl __AXGetAuxAOutputDpl2Rs
/* 80043F7C 0003FDBC 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043F80 0003FDC0 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043F84 0003FDC4 54 00 84 3E */ srwi r0, r0, 16
/* 80043F88 0003FDC8 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80043F8C 0003FDCC 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80043F90 0003FDD0 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043F94 0003FDD4 38 63 00 02 */ addi r3, r3, 0x2
/* 80043F98 0003FDD8 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80043F9C 0003FDDC B0 03 00 00 */ sth r0, 0x0(r3)
/* 80043FA0 0003FDE0 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043FA4 0003FDE4 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 80043FA8 0003FDE8 38 A4 00 02 */ addi r5, r4, 0x2
/* 80043FAC 0003FDEC 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80043FB0 0003FDF0 38 03 0B DC */ addi r0, r3, 0xbdc
/* 80043FB4 0003FDF4 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
.global lbl_80043FB8
lbl_80043FB8:
/* 80043FB8 0003FDF8 38 61 00 08 */ addi r3, r1, 0x8
/* 80043FBC 0003FDFC 4B FF F5 B5 */ bl __AXGetAuxBInput
/* 80043FC0 0003FE00 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043FC4 0003FE04 2C 00 00 00 */ cmpwi r0, 0x0
/* 80043FC8 0003FE08 41 82 03 94 */ beq lbl_8004435C
/* 80043FCC 0003FE0C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043FD0 0003FE10 38 00 00 09 */ li r0, 0x9
/* 80043FD4 0003FE14 38 61 00 08 */ addi r3, r1, 0x8
/* 80043FD8 0003FE18 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043FDC 0003FE1C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043FE0 0003FE20 A0 0D E7 BA */ lhz r0, __AXAuxBVolume@sda21(r13)
/* 80043FE4 0003FE24 38 84 00 02 */ addi r4, r4, 0x2
/* 80043FE8 0003FE28 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80043FEC 0003FE2C B0 04 00 00 */ sth r0, 0x0(r4)
/* 80043FF0 0003FE30 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80043FF4 0003FE34 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80043FF8 0003FE38 38 84 00 02 */ addi r4, r4, 0x2
/* 80043FFC 0003FE3C 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80044000 0003FE40 54 00 84 3E */ srwi r0, r0, 16
/* 80044004 0003FE44 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80044008 0003FE48 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 8004400C 0003FE4C 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044010 0003FE50 38 84 00 02 */ addi r4, r4, 0x2
/* 80044014 0003FE54 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80044018 0003FE58 B0 04 00 00 */ sth r0, 0x0(r4)
/* 8004401C 0003FE5C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044020 0003FE60 38 A4 00 02 */ addi r5, r4, 0x2
/* 80044024 0003FE64 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80044028 0003FE68 4B FF F5 A9 */ bl __AXGetAuxBInputDpl2
/* 8004402C 0003FE6C 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044030 0003FE70 38 61 00 08 */ addi r3, r1, 0x8
/* 80044034 0003FE74 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044038 0003FE78 54 00 84 3E */ srwi r0, r0, 16
/* 8004403C 0003FE7C B0 04 00 00 */ sth r0, 0x0(r4)
/* 80044040 0003FE80 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044044 0003FE84 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044048 0003FE88 38 84 00 02 */ addi r4, r4, 0x2
/* 8004404C 0003FE8C 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80044050 0003FE90 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80044054 0003FE94 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044058 0003FE98 38 A4 00 02 */ addi r5, r4, 0x2
/* 8004405C 0003FE9C 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80044060 0003FEA0 4B FF F5 51 */ bl __AXGetAuxBOutput
/* 80044064 0003FEA4 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044068 0003FEA8 38 61 00 08 */ addi r3, r1, 0x8
/* 8004406C 0003FEAC 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044070 0003FEB0 54 00 84 3E */ srwi r0, r0, 16
/* 80044074 0003FEB4 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80044078 0003FEB8 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 8004407C 0003FEBC 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044080 0003FEC0 38 84 00 02 */ addi r4, r4, 0x2
/* 80044084 0003FEC4 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80044088 0003FEC8 B0 04 00 00 */ sth r0, 0x0(r4)
/* 8004408C 0003FECC 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044090 0003FED0 38 A4 00 02 */ addi r5, r4, 0x2
/* 80044094 0003FED4 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80044098 0003FED8 4B FF F5 59 */ bl __AXGetAuxBOutputDpl2R
/* 8004409C 0003FEDC 80 01 00 08 */ lwz r0, 0x8(r1)
/* 800440A0 0003FEE0 38 61 00 08 */ addi r3, r1, 0x8
/* 800440A4 0003FEE4 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800440A8 0003FEE8 54 00 84 3E */ srwi r0, r0, 16
/* 800440AC 0003FEEC B0 04 00 00 */ sth r0, 0x0(r4)
/* 800440B0 0003FEF0 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800440B4 0003FEF4 80 01 00 08 */ lwz r0, 0x8(r1)
/* 800440B8 0003FEF8 38 84 00 02 */ addi r4, r4, 0x2
/* 800440BC 0003FEFC 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 800440C0 0003FF00 B0 04 00 00 */ sth r0, 0x0(r4)
/* 800440C4 0003FF04 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800440C8 0003FF08 38 A4 00 02 */ addi r5, r4, 0x2
/* 800440CC 0003FF0C 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 800440D0 0003FF10 4B FF F5 41 */ bl __AXGetAuxBOutputDpl2Ls
/* 800440D4 0003FF14 80 01 00 08 */ lwz r0, 0x8(r1)
/* 800440D8 0003FF18 38 61 00 08 */ addi r3, r1, 0x8
/* 800440DC 0003FF1C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800440E0 0003FF20 54 00 84 3E */ srwi r0, r0, 16
/* 800440E4 0003FF24 B0 04 00 00 */ sth r0, 0x0(r4)
/* 800440E8 0003FF28 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800440EC 0003FF2C 80 01 00 08 */ lwz r0, 0x8(r1)
/* 800440F0 0003FF30 38 84 00 02 */ addi r4, r4, 0x2
/* 800440F4 0003FF34 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 800440F8 0003FF38 B0 04 00 00 */ sth r0, 0x0(r4)
/* 800440FC 0003FF3C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044100 0003FF40 38 A4 00 02 */ addi r5, r4, 0x2
/* 80044104 0003FF44 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80044108 0003FF48 4B FF F5 29 */ bl __AXGetAuxBOutputDpl2Rs
/* 8004410C 0003FF4C 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044110 0003FF50 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044114 0003FF54 54 00 84 3E */ srwi r0, r0, 16
/* 80044118 0003FF58 B0 03 00 00 */ sth r0, 0x0(r3)
/* 8004411C 0003FF5C 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044120 0003FF60 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044124 0003FF64 38 63 00 02 */ addi r3, r3, 0x2
/* 80044128 0003FF68 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 8004412C 0003FF6C B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044130 0003FF70 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044134 0003FF74 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 80044138 0003FF78 38 A4 00 02 */ addi r5, r4, 0x2
/* 8004413C 0003FF7C 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80044140 0003FF80 38 03 0B DC */ addi r0, r3, 0xbdc
/* 80044144 0003FF84 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
/* 80044148 0003FF88 48 00 02 14 */ b lbl_8004435C
.global lbl_8004414C
lbl_8004414C:
/* 8004414C 0003FF8C 38 61 00 08 */ addi r3, r1, 0x8
/* 80044150 0003FF90 4B FF F3 41 */ bl __AXGetAuxAInput
/* 80044154 0003FF94 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044158 0003FF98 2C 00 00 00 */ cmpwi r0, 0x0
/* 8004415C 0003FF9C 41 82 00 A0 */ beq lbl_800441FC
/* 80044160 0003FFA0 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044164 0003FFA4 38 00 00 05 */ li r0, 0x5
/* 80044168 0003FFA8 38 61 00 08 */ addi r3, r1, 0x8
/* 8004416C 0003FFAC B0 04 00 00 */ sth r0, 0x0(r4)
/* 80044170 0003FFB0 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044174 0003FFB4 A0 0D E7 BC */ lhz r0, __AXAuxAVolume@sda21(r13)
/* 80044178 0003FFB8 38 84 00 02 */ addi r4, r4, 0x2
/* 8004417C 0003FFBC 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80044180 0003FFC0 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80044184 0003FFC4 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044188 0003FFC8 80 01 00 08 */ lwz r0, 0x8(r1)
/* 8004418C 0003FFCC 38 84 00 02 */ addi r4, r4, 0x2
/* 80044190 0003FFD0 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80044194 0003FFD4 54 00 84 3E */ srwi r0, r0, 16
/* 80044198 0003FFD8 B0 04 00 00 */ sth r0, 0x0(r4)
/* 8004419C 0003FFDC 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800441A0 0003FFE0 80 01 00 08 */ lwz r0, 0x8(r1)
/* 800441A4 0003FFE4 38 84 00 02 */ addi r4, r4, 0x2
/* 800441A8 0003FFE8 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 800441AC 0003FFEC B0 04 00 00 */ sth r0, 0x0(r4)
/* 800441B0 0003FFF0 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800441B4 0003FFF4 38 A4 00 02 */ addi r5, r4, 0x2
/* 800441B8 0003FFF8 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 800441BC 0003FFFC 4B FF F3 15 */ bl __AXGetAuxAOutput
/* 800441C0 00040000 80 01 00 08 */ lwz r0, 0x8(r1)
/* 800441C4 00040004 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 800441C8 00040008 54 00 84 3E */ srwi r0, r0, 16
/* 800441CC 0004000C B0 03 00 00 */ sth r0, 0x0(r3)
/* 800441D0 00040010 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 800441D4 00040014 80 01 00 08 */ lwz r0, 0x8(r1)
/* 800441D8 00040018 38 63 00 02 */ addi r3, r3, 0x2
/* 800441DC 0004001C 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 800441E0 00040020 B0 03 00 00 */ sth r0, 0x0(r3)
/* 800441E4 00040024 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800441E8 00040028 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 800441EC 0004002C 38 A4 00 02 */ addi r5, r4, 0x2
/* 800441F0 00040030 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 800441F4 00040034 38 03 08 BB */ addi r0, r3, 0x8bb
/* 800441F8 00040038 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
.global lbl_800441FC
lbl_800441FC:
/* 800441FC 0004003C 38 61 00 08 */ addi r3, r1, 0x8
/* 80044200 00040040 4B FF F3 71 */ bl __AXGetAuxBInput
/* 80044204 00040044 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044208 00040048 2C 00 00 00 */ cmpwi r0, 0x0
/* 8004420C 0004004C 41 82 00 A0 */ beq lbl_800442AC
/* 80044210 00040050 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044214 00040054 38 00 00 06 */ li r0, 0x6
/* 80044218 00040058 38 61 00 08 */ addi r3, r1, 0x8
/* 8004421C 0004005C B0 04 00 00 */ sth r0, 0x0(r4)
/* 80044220 00040060 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044224 00040064 A0 0D E7 BA */ lhz r0, __AXAuxBVolume@sda21(r13)
/* 80044228 00040068 38 84 00 02 */ addi r4, r4, 0x2
/* 8004422C 0004006C 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80044230 00040070 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80044234 00040074 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044238 00040078 80 01 00 08 */ lwz r0, 0x8(r1)
/* 8004423C 0004007C 38 84 00 02 */ addi r4, r4, 0x2
/* 80044240 00040080 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80044244 00040084 54 00 84 3E */ srwi r0, r0, 16
/* 80044248 00040088 B0 04 00 00 */ sth r0, 0x0(r4)
/* 8004424C 0004008C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044250 00040090 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044254 00040094 38 84 00 02 */ addi r4, r4, 0x2
/* 80044258 00040098 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 8004425C 0004009C B0 04 00 00 */ sth r0, 0x0(r4)
/* 80044260 000400A0 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044264 000400A4 38 A4 00 02 */ addi r5, r4, 0x2
/* 80044268 000400A8 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 8004426C 000400AC 4B FF F3 45 */ bl __AXGetAuxBOutput
/* 80044270 000400B0 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044274 000400B4 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044278 000400B8 54 00 84 3E */ srwi r0, r0, 16
/* 8004427C 000400BC B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044280 000400C0 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044284 000400C4 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044288 000400C8 38 63 00 02 */ addi r3, r3, 0x2
/* 8004428C 000400CC 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044290 000400D0 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044294 000400D4 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044298 000400D8 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 8004429C 000400DC 38 A4 00 02 */ addi r5, r4, 0x2
/* 800442A0 000400E0 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 800442A4 000400E4 38 03 08 BB */ addi r0, r3, 0x8bb
/* 800442A8 000400E8 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
.global lbl_800442AC
lbl_800442AC:
/* 800442AC 000400EC 38 61 00 08 */ addi r3, r1, 0x8
/* 800442B0 000400F0 4B FF F3 A1 */ bl __AXGetAuxCInput
/* 800442B4 000400F4 80 01 00 08 */ lwz r0, 0x8(r1)
/* 800442B8 000400F8 2C 00 00 00 */ cmpwi r0, 0x0
/* 800442BC 000400FC 41 82 00 A0 */ beq lbl_8004435C
/* 800442C0 00040100 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800442C4 00040104 38 00 00 07 */ li r0, 0x7
/* 800442C8 00040108 38 61 00 08 */ addi r3, r1, 0x8
/* 800442CC 0004010C B0 04 00 00 */ sth r0, 0x0(r4)
/* 800442D0 00040110 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800442D4 00040114 A0 0D E7 B8 */ lhz r0, __AXAuxCVolume@sda21(r13)
/* 800442D8 00040118 38 84 00 02 */ addi r4, r4, 0x2
/* 800442DC 0004011C 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 800442E0 00040120 B0 04 00 00 */ sth r0, 0x0(r4)
/* 800442E4 00040124 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800442E8 00040128 80 01 00 08 */ lwz r0, 0x8(r1)
/* 800442EC 0004012C 38 84 00 02 */ addi r4, r4, 0x2
/* 800442F0 00040130 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 800442F4 00040134 54 00 84 3E */ srwi r0, r0, 16
/* 800442F8 00040138 B0 04 00 00 */ sth r0, 0x0(r4)
/* 800442FC 0004013C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044300 00040140 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044304 00040144 38 84 00 02 */ addi r4, r4, 0x2
/* 80044308 00040148 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 8004430C 0004014C B0 04 00 00 */ sth r0, 0x0(r4)
/* 80044310 00040150 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044314 00040154 38 A4 00 02 */ addi r5, r4, 0x2
/* 80044318 00040158 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 8004431C 0004015C 4B FF F3 75 */ bl __AXGetAuxCOutput
/* 80044320 00040160 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044324 00040164 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044328 00040168 54 00 84 3E */ srwi r0, r0, 16
/* 8004432C 0004016C B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044330 00040170 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044334 00040174 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80044338 00040178 38 63 00 02 */ addi r3, r3, 0x2
/* 8004433C 0004017C 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044340 00040180 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044344 00040184 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 80044348 00040188 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 8004434C 0004018C 38 A4 00 02 */ addi r5, r4, 0x2
/* 80044350 00040190 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80044354 00040194 38 03 08 BB */ addi r0, r3, 0x8bb
/* 80044358 00040198 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
.global lbl_8004435C
lbl_8004435C:
/* 8004435C 0004019C 80 0D E7 C8 */ lwz r0, __AXCompressor@sda21(r13)
/* 80044360 000401A0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80044364 000401A4 41 82 00 80 */ beq lbl_800443E4
/* 80044368 000401A8 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 8004436C 000401AC 38 00 00 0A */ li r0, 0xa
/* 80044370 000401B0 3C 60 00 01 */ lis r3, 0x1
/* 80044374 000401B4 B0 04 00 00 */ sth r0, 0x0(r4)
/* 80044378 000401B8 38 03 80 00 */ addi r0, r3, -0x8000
/* 8004437C 000401BC 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044380 000401C0 38 63 00 02 */ addi r3, r3, 0x2
/* 80044384 000401C4 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044388 000401C8 B0 03 00 00 */ sth r0, 0x0(r3)
/* 8004438C 000401CC 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044390 000401D0 A0 0D E7 C0 */ lhz r0, __AXCompressorReleaseFrames@sda21(r13)
/* 80044394 000401D4 38 63 00 02 */ addi r3, r3, 0x2
/* 80044398 000401D8 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 8004439C 000401DC B0 03 00 00 */ sth r0, 0x0(r3)
/* 800443A0 000401E0 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 800443A4 000401E4 80 0D E7 C4 */ lwz r0, __AXCompressorTable@sda21(r13)
/* 800443A8 000401E8 38 63 00 02 */ addi r3, r3, 0x2
/* 800443AC 000401EC 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 800443B0 000401F0 54 00 84 3E */ srwi r0, r0, 16
/* 800443B4 000401F4 B0 03 00 00 */ sth r0, 0x0(r3)
/* 800443B8 000401F8 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 800443BC 000401FC 80 0D E7 C4 */ lwz r0, __AXCompressorTable@sda21(r13)
/* 800443C0 00040200 38 63 00 02 */ addi r3, r3, 0x2
/* 800443C4 00040204 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 800443C8 00040208 B0 03 00 00 */ sth r0, 0x0(r3)
/* 800443CC 0004020C 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800443D0 00040210 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 800443D4 00040214 38 A4 00 02 */ addi r5, r4, 0x2
/* 800443D8 00040218 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 800443DC 0004021C 38 03 07 3A */ addi r0, r3, 0x73a
/* 800443E0 00040220 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
.global lbl_800443E4
lbl_800443E4:
/* 800443E4 00040224 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 800443E8 00040228 38 00 00 0D */ li r0, 0xd
/* 800443EC 0004022C B0 03 00 00 */ sth r0, 0x0(r3)
/* 800443F0 00040230 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 800443F4 00040234 38 63 00 02 */ addi r3, r3, 0x2
/* 800443F8 00040238 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 800443FC 0004023C 80 1E 00 00 */ lwz r0, 0x0(r30)
/* 80044400 00040240 54 00 84 3E */ srwi r0, r0, 16
/* 80044404 00040244 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044408 00040248 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 8004440C 0004024C 38 63 00 02 */ addi r3, r3, 0x2
/* 80044410 00040250 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044414 00040254 80 1E 00 00 */ lwz r0, 0x0(r30)
/* 80044418 00040258 B0 03 00 00 */ sth r0, 0x0(r3)
/* 8004441C 0004025C 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044420 00040260 38 63 00 02 */ addi r3, r3, 0x2
/* 80044424 00040264 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044428 00040268 80 1E 00 04 */ lwz r0, 0x4(r30)
/* 8004442C 0004026C 54 00 84 3E */ srwi r0, r0, 16
/* 80044430 00040270 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044434 00040274 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044438 00040278 38 63 00 02 */ addi r3, r3, 0x2
/* 8004443C 0004027C 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044440 00040280 80 1E 00 04 */ lwz r0, 0x4(r30)
/* 80044444 00040284 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044448 00040288 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 8004444C 0004028C 38 63 00 02 */ addi r3, r3, 0x2
/* 80044450 00040290 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044454 00040294 80 1E 00 08 */ lwz r0, 0x8(r30)
/* 80044458 00040298 54 00 84 3E */ srwi r0, r0, 16
/* 8004445C 0004029C B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044460 000402A0 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044464 000402A4 38 63 00 02 */ addi r3, r3, 0x2
/* 80044468 000402A8 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 8004446C 000402AC 80 1E 00 08 */ lwz r0, 0x8(r30)
/* 80044470 000402B0 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044474 000402B4 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044478 000402B8 38 63 00 02 */ addi r3, r3, 0x2
/* 8004447C 000402BC 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044480 000402C0 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80044484 000402C4 54 00 84 3E */ srwi r0, r0, 16
/* 80044488 000402C8 B0 03 00 00 */ sth r0, 0x0(r3)
/* 8004448C 000402CC 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 80044490 000402D0 38 63 00 02 */ addi r3, r3, 0x2
/* 80044494 000402D4 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044498 000402D8 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8004449C 000402DC B0 03 00 00 */ sth r0, 0x0(r3)
/* 800444A0 000402E0 80 0D E7 D0 */ lwz r0, __AXClMode@sda21(r13)
/* 800444A4 000402E4 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800444A8 000402E8 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 800444AC 000402EC 28 00 00 02 */ cmplwi r0, 0x2
/* 800444B0 000402F0 38 84 00 02 */ addi r4, r4, 0x2
/* 800444B4 000402F4 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 800444B8 000402F8 38 03 01 99 */ addi r0, r3, 0x199
/* 800444BC 000402FC 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
/* 800444C0 00040300 40 82 00 84 */ bne lbl_80044544
/* 800444C4 00040304 38 00 00 0C */ li r0, 0xc
/* 800444C8 00040308 B0 04 00 00 */ sth r0, 0x0(r4)
/* 800444CC 0004030C 57 83 84 3E */ srwi r3, r28, 16
/* 800444D0 00040310 80 AD E7 D4 */ lwz r5, __AXClWrite@sda21(r13)
/* 800444D4 00040314 57 A0 84 3E */ srwi r0, r29, 16
/* 800444D8 00040318 A0 8D E7 BE */ lhz r4, __AXMasterVolume@sda21(r13)
/* 800444DC 0004031C 38 A5 00 02 */ addi r5, r5, 0x2
/* 800444E0 00040320 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 800444E4 00040324 B0 85 00 00 */ sth r4, 0x0(r5)
/* 800444E8 00040328 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800444EC 0004032C 38 84 00 02 */ addi r4, r4, 0x2
/* 800444F0 00040330 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 800444F4 00040334 B0 64 00 00 */ sth r3, 0x0(r4)
/* 800444F8 00040338 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 800444FC 0004033C 38 63 00 02 */ addi r3, r3, 0x2
/* 80044500 00040340 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044504 00040344 B3 83 00 00 */ sth r28, 0x0(r3)
/* 80044508 00040348 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 8004450C 0004034C 38 63 00 02 */ addi r3, r3, 0x2
/* 80044510 00040350 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044514 00040354 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044518 00040358 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 8004451C 0004035C 38 63 00 02 */ addi r3, r3, 0x2
/* 80044520 00040360 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044524 00040364 B3 A3 00 00 */ sth r29, 0x0(r3)
/* 80044528 00040368 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 8004452C 0004036C 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 80044530 00040370 38 A4 00 02 */ addi r5, r4, 0x2
/* 80044534 00040374 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80044538 00040378 38 03 04 AB */ addi r0, r3, 0x4ab
/* 8004453C 0004037C 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
/* 80044540 00040380 48 00 00 80 */ b lbl_800445C0
.global lbl_80044544
lbl_80044544:
/* 80044544 00040384 38 00 00 0B */ li r0, 0xb
/* 80044548 00040388 B0 04 00 00 */ sth r0, 0x0(r4)
/* 8004454C 0004038C 57 83 84 3E */ srwi r3, r28, 16
/* 80044550 00040390 80 AD E7 D4 */ lwz r5, __AXClWrite@sda21(r13)
/* 80044554 00040394 57 A0 84 3E */ srwi r0, r29, 16
/* 80044558 00040398 A0 8D E7 BE */ lhz r4, __AXMasterVolume@sda21(r13)
/* 8004455C 0004039C 38 A5 00 02 */ addi r5, r5, 0x2
/* 80044560 000403A0 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 80044564 000403A4 B0 85 00 00 */ sth r4, 0x0(r5)
/* 80044568 000403A8 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 8004456C 000403AC 38 84 00 02 */ addi r4, r4, 0x2
/* 80044570 000403B0 90 8D E7 D4 */ stw r4, __AXClWrite@sda21(r13)
/* 80044574 000403B4 B0 64 00 00 */ sth r3, 0x0(r4)
/* 80044578 000403B8 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 8004457C 000403BC 38 63 00 02 */ addi r3, r3, 0x2
/* 80044580 000403C0 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044584 000403C4 B3 83 00 00 */ sth r28, 0x0(r3)
/* 80044588 000403C8 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 8004458C 000403CC 38 63 00 02 */ addi r3, r3, 0x2
/* 80044590 000403D0 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 80044594 000403D4 B0 03 00 00 */ sth r0, 0x0(r3)
/* 80044598 000403D8 80 6D E7 D4 */ lwz r3, __AXClWrite@sda21(r13)
/* 8004459C 000403DC 38 63 00 02 */ addi r3, r3, 0x2
/* 800445A0 000403E0 90 6D E7 D4 */ stw r3, __AXClWrite@sda21(r13)
/* 800445A4 000403E4 B3 A3 00 00 */ sth r29, 0x0(r3)
/* 800445A8 000403E8 80 8D E7 D4 */ lwz r4, __AXClWrite@sda21(r13)
/* 800445AC 000403EC 80 6D E7 CC */ lwz r3, __AXCommandListCycles@sda21(r13)
/* 800445B0 000403F0 38 A4 00 02 */ addi r5, r4, 0x2
/* 800445B4 000403F4 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 800445B8 000403F8 38 03 04 94 */ addi r0, r3, 0x494
/* 800445BC 000403FC 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
.global lbl_800445C0
lbl_800445C0:
/* 800445C0 00040400 38 00 00 0E */ li r0, 0xe
/* 800445C4 00040404 B0 05 00 00 */ sth r0, 0x0(r5)
/* 800445C8 00040408 7F E3 FB 78 */ mr r3, r31
/* 800445CC 0004040C 38 80 00 80 */ li r4, 0x80
/* 800445D0 00040410 80 AD E7 D4 */ lwz r5, __AXClWrite@sda21(r13)
/* 800445D4 00040414 80 CD E7 CC */ lwz r6, __AXCommandListCycles@sda21(r13)
/* 800445D8 00040418 38 A5 00 02 */ addi r5, r5, 0x2
/* 800445DC 0004041C 90 AD E7 D4 */ stw r5, __AXClWrite@sda21(r13)
/* 800445E0 00040420 38 06 00 1E */ addi r0, r6, 0x1e
/* 800445E4 00040424 90 0D E7 CC */ stw r0, __AXCommandListCycles@sda21(r13)
/* 800445E8 00040428 4B FD 83 99 */ bl DCFlushRange
/* 800445EC 0004042C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800445F0 00040430 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800445F4 00040434 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800445F8 00040438 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800445FC 0004043C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80044600 00040440 7C 08 03 A6 */ mtlr r0
/* 80044604 00040444 38 21 00 20 */ addi r1, r1, 0x20
/* 80044608 00040448 4E 80 00 20 */ blr
/* 8004460C 0004044C 00 00 00 00 */ .4byte 0x00000000
.global __AXClInit
__AXClInit:
/* 80044610 00040450 3C C0 80 4A */ lis r6, __AXCommandList@ha
/* 80044614 00040454 3C 80 80 43 */ lis r4, __AXCompressorDefaultTable@ha
/* 80044618 00040458 38 E0 00 00 */ li r7, 0x0
/* 8004461C 0004045C 3C 60 00 01 */ lis r3, 0x1
/* 80044620 00040460 38 03 80 00 */ addi r0, r3, -0x8000
/* 80044624 00040464 38 C6 31 A0 */ addi r6, r6, __AXCommandList@l
/* 80044628 00040468 38 84 30 60 */ addi r4, r4, __AXCompressorDefaultTable@l
/* 8004462C 0004046C 38 A0 00 01 */ li r5, 0x1
/* 80044630 00040470 38 60 00 0A */ li r3, 0xa
/* 80044634 00040474 90 ED E7 D0 */ stw r7, __AXClMode@sda21(r13)
/* 80044638 00040478 90 ED E7 D8 */ stw r7, __AXCommandListPosition@sda21(r13)
/* 8004463C 0004047C 90 CD E7 D4 */ stw r6, __AXClWrite@sda21(r13)
/* 80044640 00040480 90 AD E7 C8 */ stw r5, __AXCompressor@sda21(r13)
/* 80044644 00040484 90 8D E7 C4 */ stw r4, __AXCompressorTable@sda21(r13)
/* 80044648 00040488 B0 6D E7 C0 */ sth r3, __AXCompressorReleaseFrames@sda21(r13)
/* 8004464C 0004048C B0 0D E7 BE */ sth r0, __AXMasterVolume@sda21(r13)
/* 80044650 00040490 B0 0D E7 BC */ sth r0, __AXAuxAVolume@sda21(r13)
/* 80044654 00040494 B0 0D E7 BA */ sth r0, __AXAuxBVolume@sda21(r13)
/* 80044658 00040498 B0 0D E7 B8 */ sth r0, __AXAuxCVolume@sda21(r13)
/* 8004465C 0004049C 4E 80 00 20 */ blr
.global AXSetMode
AXSetMode:
/* 80044660 000404A0 90 6D E7 D0 */ stw r3, __AXClMode@sda21(r13)
/* 80044664 000404A4 4E 80 00 20 */ blr
/* 80044668 000404A8 00 00 00 00 */ .4byte 0x00000000
/* 8004466C 000404AC 00 00 00 00 */ .4byte 0x00000000
.global AXGetAuxAReturnVolume
AXGetAuxAReturnVolume:
/* 80044670 000404B0 A0 6D E7 BC */ lhz r3, __AXAuxAVolume@sda21(r13)
/* 80044674 000404B4 4E 80 00 20 */ blr
/* 80044678 000404B8 00 00 00 00 */ .4byte 0x00000000
/* 8004467C 000404BC 00 00 00 00 */ .4byte 0x00000000
.global AXGetAuxBReturnVolume
AXGetAuxBReturnVolume:
/* 80044680 000404C0 A0 6D E7 BA */ lhz r3, __AXAuxBVolume@sda21(r13)
/* 80044684 000404C4 4E 80 00 20 */ blr
/* 80044688 000404C8 00 00 00 00 */ .4byte 0x00000000
/* 8004468C 000404CC 00 00 00 00 */ .4byte 0x00000000
.global AXGetAuxCReturnVolume
AXGetAuxCReturnVolume:
/* 80044690 000404D0 A0 6D E7 B8 */ lhz r3, __AXAuxCVolume@sda21(r13)
/* 80044694 000404D4 4E 80 00 20 */ blr
/* 80044698 000404D8 00 00 00 00 */ .4byte 0x00000000
/* 8004469C 000404DC 00 00 00 00 */ .4byte 0x00000000
.global AXSetMasterVolume
AXSetMasterVolume:
/* 800446A0 000404E0 28 03 80 00 */ cmplwi r3, 0x8000
/* 800446A4 000404E4 40 81 00 0C */ ble lbl_800446B0
/* 800446A8 000404E8 3C 60 00 01 */ lis r3, 0x1
/* 800446AC 000404EC 38 63 80 00 */ addi r3, r3, -0x8000
.global lbl_800446B0
lbl_800446B0:
/* 800446B0 000404F0 B0 6D E7 BE */ sth r3, __AXMasterVolume@sda21(r13)
/* 800446B4 000404F4 4E 80 00 20 */ blr
/* 800446B8 000404F8 00 00 00 00 */ .4byte 0x00000000
/* 800446BC 000404FC 00 00 00 00 */ .4byte 0x00000000
.global AXSetAuxAReturnVolume
AXSetAuxAReturnVolume:
/* 800446C0 00040500 B0 6D E7 BC */ sth r3, __AXAuxAVolume@sda21(r13)
/* 800446C4 00040504 4E 80 00 20 */ blr
/* 800446C8 00040508 00 00 00 00 */ .4byte 0x00000000
/* 800446CC 0004050C 00 00 00 00 */ .4byte 0x00000000
.global AXSetAuxBReturnVolume
AXSetAuxBReturnVolume:
/* 800446D0 00040510 B0 6D E7 BA */ sth r3, __AXAuxBVolume@sda21(r13)
/* 800446D4 00040514 4E 80 00 20 */ blr
/* 800446D8 00040518 00 00 00 00 */ .4byte 0x00000000
/* 800446DC 0004051C 00 00 00 00 */ .4byte 0x00000000
.global AXSetAuxCReturnVolume
AXSetAuxCReturnVolume:
/* 800446E0 00040520 B0 6D E7 B8 */ sth r3, __AXAuxCVolume@sda21(r13)
/* 800446E4 00040524 4E 80 00 20 */ blr
/* 800446E8 00040528 00 00 00 00 */ .4byte 0x00000000
/* 800446EC 0004052C 00 00 00 00 */ .4byte 0x00000000
.include "macros.inc"
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
.global __AXCommandList
__AXCommandList:
.skip 0x100
.include "macros.inc"
.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0
.global __AXAuxCVolume
__AXAuxCVolume:
.skip 0x2
.global __AXAuxBVolume
__AXAuxBVolume:
.skip 0x2
.global __AXAuxAVolume
__AXAuxAVolume:
.skip 0x2
.global __AXMasterVolume
__AXMasterVolume:
.skip 0x2
.global __AXCompressorReleaseFrames
__AXCompressorReleaseFrames:
.skip 0x4
.global __AXCompressorTable
__AXCompressorTable:
.skip 0x4
.global __AXCompressor
__AXCompressor:
.skip 0x4
.global __AXCommandListCycles
__AXCommandListCycles:
.skip 0x4
.global __AXClMode
__AXClMode:
.skip 0x4
.global __AXClWrite
__AXClWrite:
.skip 0x4
.global __AXCommandListPosition
__AXCommandListPosition:
.skip 0x8