964 lines
48 KiB
ArmAsm
964 lines
48 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global VX2CommandSkip116x8__FR14VX2DecoderData
|
|
VX2CommandSkip116x8__FR14VX2DecoderData:
|
|
/* 80156BC0 00152A00 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80156BC4 00152A04 7C 08 02 A6 */ mflr r0
|
|
/* 80156BC8 00152A08 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80156BCC 00152A0C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80156BD0 00152A10 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80156BD4 00152A14 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80156BD8 00152A18 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 80156BDC 00152A1C A8 E3 0A 24 */ lha r7, 0xa24(r3)
|
|
/* 80156BE0 00152A20 A9 23 0A 26 */ lha r9, 0xa26(r3)
|
|
/* 80156BE4 00152A24 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80156BE8 00152A28 7F E7 02 14 */ add r31, r7, r0
|
|
/* 80156BEC 00152A2C 7C E8 0E 70 */ srawi r8, r7, 1
|
|
/* 80156BF0 00152A30 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 80156BF4 00152A34 7D 26 0E 70 */ srawi r6, r9, 1
|
|
/* 80156BF8 00152A38 57 E4 07 7E */ clrlwi r4, r31, 29
|
|
/* 80156BFC 00152A3C 55 20 1F 38 */ rlwinm r0, r9, 3, 28, 28
|
|
/* 80156C00 00152A40 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80156C04 00152A44 80 83 00 6C */ lwz r4, 0x6c(r3)
|
|
/* 80156C08 00152A48 B0 E3 0A 20 */ sth r7, 0xa20(r3)
|
|
/* 80156C0C 00152A4C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80156C10 00152A50 7C E4 52 14 */ add r7, r4, r10
|
|
/* 80156C14 00152A54 80 83 00 68 */ lwz r4, 0x68(r3)
|
|
/* 80156C18 00152A58 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80156C1C 00152A5C B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80156C20 00152A60 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80156C24 00152A64 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80156C28 00152A68 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80156C2C 00152A6C 81 83 0A E8 */ lwz r12, 0xae8(r3)
|
|
/* 80156C30 00152A70 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80156C34 00152A74 7D 89 03 A6 */ mtctr r12
|
|
/* 80156C38 00152A78 4E 80 04 21 */ bctrl
|
|
/* 80156C3C 00152A7C 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80156C40 00152A80 57 E4 FF 7E */ extrwi r4, r31, 3, 28
|
|
/* 80156C44 00152A84 A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80156C48 00152A88 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80156C4C 00152A8C A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80156C50 00152A90 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80156C54 00152A94 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80156C58 00152A98 54 60 17 38 */ rlwinm r0, r3, 2, 28, 28
|
|
/* 80156C5C 00152A9C 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80156C60 00152AA0 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80156C64 00152AA4 80 9E 00 84 */ lwz r4, 0x84(r30)
|
|
/* 80156C68 00152AA8 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80156C6C 00152AAC 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80156C70 00152AB0 7F FE 32 14 */ add r31, r30, r6
|
|
/* 80156C74 00152AB4 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80156C78 00152AB8 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80156C7C 00152ABC 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 80156C80 00152AC0 7C 67 22 14 */ add r3, r7, r4
|
|
/* 80156C84 00152AC4 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80156C88 00152AC8 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80156C8C 00152ACC 7D 89 03 A6 */ mtctr r12
|
|
/* 80156C90 00152AD0 4E 80 04 21 */ bctrl
|
|
/* 80156C94 00152AD4 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 80156C98 00152AD8 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80156C9C 00152ADC 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80156CA0 00152AE0 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 80156CA4 00152AE4 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80156CA8 00152AE8 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80156CAC 00152AEC 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80156CB0 00152AF0 80 7E 00 9C */ lwz r3, 0x9c(r30)
|
|
/* 80156CB4 00152AF4 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80156CB8 00152AF8 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80156CBC 00152AFC 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80156CC0 00152B00 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 80156CC4 00152B04 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80156CC8 00152B08 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80156CCC 00152B0C 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80156CD0 00152B10 7D 89 03 A6 */ mtctr r12
|
|
/* 80156CD4 00152B14 4E 80 04 21 */ bctrl
|
|
/* 80156CD8 00152B18 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80156CDC 00152B1C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80156CE0 00152B20 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80156CE4 00152B24 7C 08 03 A6 */ mtlr r0
|
|
/* 80156CE8 00152B28 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80156CEC 00152B2C 4E 80 00 20 */ blr
|
|
|
|
.global VX2CommandBack116x8__FR14VX2DecoderData
|
|
VX2CommandBack116x8__FR14VX2DecoderData:
|
|
/* 80156CF0 00152B30 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80156CF4 00152B34 7C 08 02 A6 */ mflr r0
|
|
/* 80156CF8 00152B38 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80156CFC 00152B3C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80156D00 00152B40 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80156D04 00152B44 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80156D08 00152B48 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80156D0C 00152B4C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80156D10 00152B50 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80156D14 00152B54 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80156D18 00152B58 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 80156D1C 00152B5C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80156D20 00152B60 55 06 7C 7E */ srwi r6, r8, 17
|
|
/* 80156D24 00152B64 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80156D28 00152B68 7D 29 07 74 */ extsb r9, r9
|
|
/* 80156D2C 00152B6C 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80156D30 00152B70 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80156D34 00152B74 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80156D38 00152B78 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80156D3C 00152B7C 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80156D40 00152B80 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80156D44 00152B84 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80156D48 00152B88 40 80 00 2C */ bge lbl_80156D74
|
|
/* 80156D4C 00152B8C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80156D50 00152B90 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80156D54 00152B94 7C A7 00 D0 */ neg r5, r7
|
|
/* 80156D58 00152B98 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80156D5C 00152B9C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80156D60 00152BA0 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80156D64 00152BA4 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80156D68 00152BA8 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80156D6C 00152BAC 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80156D70 00152BB0 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_80156D74
|
|
lbl_80156D74:
|
|
/* 80156D74 00152BB4 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80156D78 00152BB8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80156D7C 00152BBC 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80156D80 00152BC0 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80156D84 00152BC4 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80156D88 00152BC8 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 80156D8C 00152BCC 54 C0 7C 7E */ srwi r0, r6, 17
|
|
/* 80156D90 00152BD0 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80156D94 00152BD4 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80156D98 00152BD8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80156D9C 00152BDC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80156DA0 00152BE0 7D 29 07 74 */ extsb r9, r9
|
|
/* 80156DA4 00152BE4 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80156DA8 00152BE8 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80156DAC 00152BEC 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80156DB0 00152BF0 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80156DB4 00152BF4 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80156DB8 00152BF8 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80156DBC 00152BFC 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80156DC0 00152C00 40 80 00 2C */ bge lbl_80156DEC
|
|
/* 80156DC4 00152C04 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80156DC8 00152C08 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80156DCC 00152C0C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80156DD0 00152C10 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80156DD4 00152C14 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80156DD8 00152C18 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80156DDC 00152C1C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80156DE0 00152C20 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80156DE4 00152C24 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80156DE8 00152C28 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_80156DEC
|
|
lbl_80156DEC:
|
|
/* 80156DEC 00152C2C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80156DF0 00152C30 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80156DF4 00152C34 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80156DF8 00152C38 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 80156DFC 00152C3C 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 80156E00 00152C40 7D 26 07 34 */ extsh r6, r9
|
|
/* 80156E04 00152C44 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80156E08 00152C48 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 80156E0C 00152C4C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80156E10 00152C50 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80156E14 00152C54 80 E3 00 6C */ lwz r7, 0x6c(r3)
|
|
/* 80156E18 00152C58 55 20 1F 38 */ rlwinm r0, r9, 3, 28, 28
|
|
/* 80156E1C 00152C5C 57 E4 07 7E */ clrlwi r4, r31, 29
|
|
/* 80156E20 00152C60 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80156E24 00152C64 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80156E28 00152C68 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 80156E2C 00152C6C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80156E30 00152C70 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80156E34 00152C74 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80156E38 00152C78 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80156E3C 00152C7C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80156E40 00152C80 81 83 0A E8 */ lwz r12, 0xae8(r3)
|
|
/* 80156E44 00152C84 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80156E48 00152C88 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80156E4C 00152C8C 7D 89 03 A6 */ mtctr r12
|
|
/* 80156E50 00152C90 4E 80 04 21 */ bctrl
|
|
/* 80156E54 00152C94 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80156E58 00152C98 57 E4 FF 7E */ extrwi r4, r31, 3, 28
|
|
/* 80156E5C 00152C9C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80156E60 00152CA0 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80156E64 00152CA4 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80156E68 00152CA8 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80156E6C 00152CAC 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80156E70 00152CB0 54 60 17 38 */ rlwinm r0, r3, 2, 28, 28
|
|
/* 80156E74 00152CB4 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80156E78 00152CB8 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80156E7C 00152CBC 80 9E 00 84 */ lwz r4, 0x84(r30)
|
|
/* 80156E80 00152CC0 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80156E84 00152CC4 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80156E88 00152CC8 7F FE 32 14 */ add r31, r30, r6
|
|
/* 80156E8C 00152CCC 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80156E90 00152CD0 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80156E94 00152CD4 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 80156E98 00152CD8 7C 67 22 14 */ add r3, r7, r4
|
|
/* 80156E9C 00152CDC 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80156EA0 00152CE0 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80156EA4 00152CE4 7D 89 03 A6 */ mtctr r12
|
|
/* 80156EA8 00152CE8 4E 80 04 21 */ bctrl
|
|
/* 80156EAC 00152CEC 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 80156EB0 00152CF0 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80156EB4 00152CF4 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80156EB8 00152CF8 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 80156EBC 00152CFC 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80156EC0 00152D00 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80156EC4 00152D04 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80156EC8 00152D08 80 7E 00 9C */ lwz r3, 0x9c(r30)
|
|
/* 80156ECC 00152D0C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80156ED0 00152D10 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80156ED4 00152D14 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80156ED8 00152D18 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 80156EDC 00152D1C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80156EE0 00152D20 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80156EE4 00152D24 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80156EE8 00152D28 7D 89 03 A6 */ mtctr r12
|
|
/* 80156EEC 00152D2C 4E 80 04 21 */ bctrl
|
|
/* 80156EF0 00152D30 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80156EF4 00152D34 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80156EF8 00152D38 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80156EFC 00152D3C 7C 08 03 A6 */ mtlr r0
|
|
/* 80156F00 00152D40 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80156F04 00152D44 4E 80 00 20 */ blr
|
|
/* 80156F08 00152D48 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80156F0C 00152D4C 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global VX2CommandBack216x8__FR14VX2DecoderData
|
|
VX2CommandBack216x8__FR14VX2DecoderData:
|
|
/* 80156F10 00152D50 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80156F14 00152D54 7C 08 02 A6 */ mflr r0
|
|
/* 80156F18 00152D58 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80156F1C 00152D5C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80156F20 00152D60 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80156F24 00152D64 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80156F28 00152D68 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80156F2C 00152D6C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80156F30 00152D70 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80156F34 00152D74 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80156F38 00152D78 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 80156F3C 00152D7C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80156F40 00152D80 55 06 7C 7E */ srwi r6, r8, 17
|
|
/* 80156F44 00152D84 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80156F48 00152D88 7D 29 07 74 */ extsb r9, r9
|
|
/* 80156F4C 00152D8C 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80156F50 00152D90 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80156F54 00152D94 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80156F58 00152D98 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80156F5C 00152D9C 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80156F60 00152DA0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80156F64 00152DA4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80156F68 00152DA8 40 80 00 2C */ bge lbl_80156F94
|
|
/* 80156F6C 00152DAC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80156F70 00152DB0 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80156F74 00152DB4 7C A7 00 D0 */ neg r5, r7
|
|
/* 80156F78 00152DB8 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80156F7C 00152DBC 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80156F80 00152DC0 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80156F84 00152DC4 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80156F88 00152DC8 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80156F8C 00152DCC 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80156F90 00152DD0 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_80156F94
|
|
lbl_80156F94:
|
|
/* 80156F94 00152DD4 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80156F98 00152DD8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80156F9C 00152DDC 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80156FA0 00152DE0 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80156FA4 00152DE4 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80156FA8 00152DE8 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 80156FAC 00152DEC 54 C0 7C 7E */ srwi r0, r6, 17
|
|
/* 80156FB0 00152DF0 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80156FB4 00152DF4 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80156FB8 00152DF8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80156FBC 00152DFC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80156FC0 00152E00 7D 29 07 74 */ extsb r9, r9
|
|
/* 80156FC4 00152E04 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80156FC8 00152E08 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80156FCC 00152E0C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80156FD0 00152E10 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80156FD4 00152E14 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80156FD8 00152E18 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80156FDC 00152E1C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80156FE0 00152E20 40 80 00 2C */ bge lbl_8015700C
|
|
/* 80156FE4 00152E24 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80156FE8 00152E28 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80156FEC 00152E2C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80156FF0 00152E30 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80156FF4 00152E34 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80156FF8 00152E38 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80156FFC 00152E3C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80157000 00152E40 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80157004 00152E44 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80157008 00152E48 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_8015700C
|
|
lbl_8015700C:
|
|
/* 8015700C 00152E4C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80157010 00152E50 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80157014 00152E54 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80157018 00152E58 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015701C 00152E5C 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 80157020 00152E60 7D 26 07 34 */ extsh r6, r9
|
|
/* 80157024 00152E64 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80157028 00152E68 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015702C 00152E6C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80157030 00152E70 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80157034 00152E74 80 E3 00 70 */ lwz r7, 0x70(r3)
|
|
/* 80157038 00152E78 55 20 1F 38 */ rlwinm r0, r9, 3, 28, 28
|
|
/* 8015703C 00152E7C 57 E4 07 7E */ clrlwi r4, r31, 29
|
|
/* 80157040 00152E80 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80157044 00152E84 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80157048 00152E88 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015704C 00152E8C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80157050 00152E90 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80157054 00152E94 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80157058 00152E98 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015705C 00152E9C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80157060 00152EA0 81 83 0A E8 */ lwz r12, 0xae8(r3)
|
|
/* 80157064 00152EA4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80157068 00152EA8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 8015706C 00152EAC 7D 89 03 A6 */ mtctr r12
|
|
/* 80157070 00152EB0 4E 80 04 21 */ bctrl
|
|
/* 80157074 00152EB4 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80157078 00152EB8 57 E4 FF 7E */ extrwi r4, r31, 3, 28
|
|
/* 8015707C 00152EBC A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80157080 00152EC0 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80157084 00152EC4 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80157088 00152EC8 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 8015708C 00152ECC 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80157090 00152ED0 54 60 17 38 */ rlwinm r0, r3, 2, 28, 28
|
|
/* 80157094 00152ED4 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80157098 00152ED8 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015709C 00152EDC 80 9E 00 88 */ lwz r4, 0x88(r30)
|
|
/* 801570A0 00152EE0 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 801570A4 00152EE4 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 801570A8 00152EE8 7F FE 32 14 */ add r31, r30, r6
|
|
/* 801570AC 00152EEC 7C 84 42 14 */ add r4, r4, r8
|
|
/* 801570B0 00152EF0 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 801570B4 00152EF4 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 801570B8 00152EF8 7C 67 22 14 */ add r3, r7, r4
|
|
/* 801570BC 00152EFC 7C 80 42 14 */ add r4, r0, r8
|
|
/* 801570C0 00152F00 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 801570C4 00152F04 7D 89 03 A6 */ mtctr r12
|
|
/* 801570C8 00152F08 4E 80 04 21 */ bctrl
|
|
/* 801570CC 00152F0C 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 801570D0 00152F10 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 801570D4 00152F14 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 801570D8 00152F18 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 801570DC 00152F1C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 801570E0 00152F20 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 801570E4 00152F24 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 801570E8 00152F28 80 7E 00 A0 */ lwz r3, 0xa0(r30)
|
|
/* 801570EC 00152F2C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 801570F0 00152F30 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 801570F4 00152F34 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 801570F8 00152F38 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 801570FC 00152F3C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80157100 00152F40 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80157104 00152F44 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80157108 00152F48 7D 89 03 A6 */ mtctr r12
|
|
/* 8015710C 00152F4C 4E 80 04 21 */ bctrl
|
|
/* 80157110 00152F50 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80157114 00152F54 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80157118 00152F58 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 8015711C 00152F5C 7C 08 03 A6 */ mtlr r0
|
|
/* 80157120 00152F60 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80157124 00152F64 4E 80 00 20 */ blr
|
|
/* 80157128 00152F68 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8015712C 00152F6C 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global VX2CommandBack316x8__FR14VX2DecoderData
|
|
VX2CommandBack316x8__FR14VX2DecoderData:
|
|
/* 80157130 00152F70 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80157134 00152F74 7C 08 02 A6 */ mflr r0
|
|
/* 80157138 00152F78 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015713C 00152F7C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80157140 00152F80 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80157144 00152F84 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80157148 00152F88 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015714C 00152F8C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80157150 00152F90 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80157154 00152F94 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80157158 00152F98 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015715C 00152F9C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80157160 00152FA0 55 06 7C 7E */ srwi r6, r8, 17
|
|
/* 80157164 00152FA4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80157168 00152FA8 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015716C 00152FAC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80157170 00152FB0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80157174 00152FB4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80157178 00152FB8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015717C 00152FBC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80157180 00152FC0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80157184 00152FC4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80157188 00152FC8 40 80 00 2C */ bge lbl_801571B4
|
|
/* 8015718C 00152FCC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80157190 00152FD0 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80157194 00152FD4 7C A7 00 D0 */ neg r5, r7
|
|
/* 80157198 00152FD8 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 8015719C 00152FDC 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 801571A0 00152FE0 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 801571A4 00152FE4 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 801571A8 00152FE8 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 801571AC 00152FEC 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 801571B0 00152FF0 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_801571B4
|
|
lbl_801571B4:
|
|
/* 801571B4 00152FF4 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 801571B8 00152FF8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 801571BC 00152FFC 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 801571C0 00153000 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 801571C4 00153004 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 801571C8 00153008 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 801571CC 0015300C 54 C0 7C 7E */ srwi r0, r6, 17
|
|
/* 801571D0 00153010 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 801571D4 00153014 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 801571D8 00153018 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 801571DC 0015301C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 801571E0 00153020 7D 29 07 74 */ extsb r9, r9
|
|
/* 801571E4 00153024 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 801571E8 00153028 7C 85 22 14 */ add r4, r5, r4
|
|
/* 801571EC 0015302C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 801571F0 00153030 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 801571F4 00153034 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 801571F8 00153038 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801571FC 0015303C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80157200 00153040 40 80 00 2C */ bge lbl_8015722C
|
|
/* 80157204 00153044 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80157208 00153048 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 8015720C 0015304C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80157210 00153050 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80157214 00153054 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80157218 00153058 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015721C 0015305C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80157220 00153060 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80157224 00153064 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80157228 00153068 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_8015722C
|
|
lbl_8015722C:
|
|
/* 8015722C 0015306C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80157230 00153070 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80157234 00153074 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80157238 00153078 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015723C 0015307C 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 80157240 00153080 7D 26 07 34 */ extsh r6, r9
|
|
/* 80157244 00153084 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80157248 00153088 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015724C 0015308C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80157250 00153090 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80157254 00153094 80 E3 00 74 */ lwz r7, 0x74(r3)
|
|
/* 80157258 00153098 55 20 1F 38 */ rlwinm r0, r9, 3, 28, 28
|
|
/* 8015725C 0015309C 57 E4 07 7E */ clrlwi r4, r31, 29
|
|
/* 80157260 001530A0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80157264 001530A4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80157268 001530A8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015726C 001530AC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80157270 001530B0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80157274 001530B4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80157278 001530B8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015727C 001530BC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80157280 001530C0 81 83 0A E8 */ lwz r12, 0xae8(r3)
|
|
/* 80157284 001530C4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80157288 001530C8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 8015728C 001530CC 7D 89 03 A6 */ mtctr r12
|
|
/* 80157290 001530D0 4E 80 04 21 */ bctrl
|
|
/* 80157294 001530D4 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80157298 001530D8 57 E4 FF 7E */ extrwi r4, r31, 3, 28
|
|
/* 8015729C 001530DC A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 801572A0 001530E0 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 801572A4 001530E4 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 801572A8 001530E8 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 801572AC 001530EC 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 801572B0 001530F0 54 60 17 38 */ rlwinm r0, r3, 2, 28, 28
|
|
/* 801572B4 001530F4 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 801572B8 001530F8 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801572BC 001530FC 80 9E 00 8C */ lwz r4, 0x8c(r30)
|
|
/* 801572C0 00153100 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 801572C4 00153104 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 801572C8 00153108 7F FE 32 14 */ add r31, r30, r6
|
|
/* 801572CC 0015310C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 801572D0 00153110 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 801572D4 00153114 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 801572D8 00153118 7C 67 22 14 */ add r3, r7, r4
|
|
/* 801572DC 0015311C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 801572E0 00153120 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 801572E4 00153124 7D 89 03 A6 */ mtctr r12
|
|
/* 801572E8 00153128 4E 80 04 21 */ bctrl
|
|
/* 801572EC 0015312C 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 801572F0 00153130 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 801572F4 00153134 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 801572F8 00153138 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 801572FC 0015313C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80157300 00153140 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80157304 00153144 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80157308 00153148 80 7E 00 A4 */ lwz r3, 0xa4(r30)
|
|
/* 8015730C 0015314C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80157310 00153150 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80157314 00153154 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80157318 00153158 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 8015731C 0015315C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80157320 00153160 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80157324 00153164 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80157328 00153168 7D 89 03 A6 */ mtctr r12
|
|
/* 8015732C 0015316C 4E 80 04 21 */ bctrl
|
|
/* 80157330 00153170 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80157334 00153174 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80157338 00153178 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 8015733C 0015317C 7C 08 03 A6 */ mtlr r0
|
|
/* 80157340 00153180 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80157344 00153184 4E 80 00 20 */ blr
|
|
/* 80157348 00153188 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8015734C 0015318C 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global VX2CommandBack416x8__FR14VX2DecoderData
|
|
VX2CommandBack416x8__FR14VX2DecoderData:
|
|
/* 80157350 00153190 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80157354 00153194 7C 08 02 A6 */ mflr r0
|
|
/* 80157358 00153198 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015735C 0015319C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80157360 001531A0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80157364 001531A4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80157368 001531A8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015736C 001531AC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80157370 001531B0 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80157374 001531B4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80157378 001531B8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015737C 001531BC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80157380 001531C0 55 06 7C 7E */ srwi r6, r8, 17
|
|
/* 80157384 001531C4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80157388 001531C8 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015738C 001531CC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80157390 001531D0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80157394 001531D4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80157398 001531D8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015739C 001531DC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 801573A0 001531E0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801573A4 001531E4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 801573A8 001531E8 40 80 00 2C */ bge lbl_801573D4
|
|
/* 801573AC 001531EC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 801573B0 001531F0 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 801573B4 001531F4 7C A7 00 D0 */ neg r5, r7
|
|
/* 801573B8 001531F8 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 801573BC 001531FC 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 801573C0 00153200 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 801573C4 00153204 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 801573C8 00153208 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 801573CC 0015320C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 801573D0 00153210 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_801573D4
|
|
lbl_801573D4:
|
|
/* 801573D4 00153214 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 801573D8 00153218 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 801573DC 0015321C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 801573E0 00153220 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 801573E4 00153224 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 801573E8 00153228 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 801573EC 0015322C 54 C0 7C 7E */ srwi r0, r6, 17
|
|
/* 801573F0 00153230 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 801573F4 00153234 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 801573F8 00153238 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 801573FC 0015323C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80157400 00153240 7D 29 07 74 */ extsb r9, r9
|
|
/* 80157404 00153244 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80157408 00153248 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015740C 0015324C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80157410 00153250 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80157414 00153254 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80157418 00153258 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015741C 0015325C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80157420 00153260 40 80 00 2C */ bge lbl_8015744C
|
|
/* 80157424 00153264 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80157428 00153268 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 8015742C 0015326C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80157430 00153270 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80157434 00153274 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80157438 00153278 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015743C 0015327C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80157440 00153280 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80157444 00153284 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80157448 00153288 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_8015744C
|
|
lbl_8015744C:
|
|
/* 8015744C 0015328C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80157450 00153290 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80157454 00153294 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80157458 00153298 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015745C 0015329C 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 80157460 001532A0 7D 26 07 34 */ extsh r6, r9
|
|
/* 80157464 001532A4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80157468 001532A8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015746C 001532AC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80157470 001532B0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80157474 001532B4 80 E3 00 78 */ lwz r7, 0x78(r3)
|
|
/* 80157478 001532B8 55 20 1F 38 */ rlwinm r0, r9, 3, 28, 28
|
|
/* 8015747C 001532BC 57 E4 07 7E */ clrlwi r4, r31, 29
|
|
/* 80157480 001532C0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80157484 001532C4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80157488 001532C8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015748C 001532CC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80157490 001532D0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80157494 001532D4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80157498 001532D8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015749C 001532DC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 801574A0 001532E0 81 83 0A E8 */ lwz r12, 0xae8(r3)
|
|
/* 801574A4 001532E4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 801574A8 001532E8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 801574AC 001532EC 7D 89 03 A6 */ mtctr r12
|
|
/* 801574B0 001532F0 4E 80 04 21 */ bctrl
|
|
/* 801574B4 001532F4 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 801574B8 001532F8 57 E4 FF 7E */ extrwi r4, r31, 3, 28
|
|
/* 801574BC 001532FC A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 801574C0 00153300 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 801574C4 00153304 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 801574C8 00153308 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 801574CC 0015330C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 801574D0 00153310 54 60 17 38 */ rlwinm r0, r3, 2, 28, 28
|
|
/* 801574D4 00153314 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 801574D8 00153318 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801574DC 0015331C 80 9E 00 90 */ lwz r4, 0x90(r30)
|
|
/* 801574E0 00153320 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 801574E4 00153324 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 801574E8 00153328 7F FE 32 14 */ add r31, r30, r6
|
|
/* 801574EC 0015332C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 801574F0 00153330 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 801574F4 00153334 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 801574F8 00153338 7C 67 22 14 */ add r3, r7, r4
|
|
/* 801574FC 0015333C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80157500 00153340 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80157504 00153344 7D 89 03 A6 */ mtctr r12
|
|
/* 80157508 00153348 4E 80 04 21 */ bctrl
|
|
/* 8015750C 0015334C 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 80157510 00153350 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80157514 00153354 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80157518 00153358 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015751C 0015335C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80157520 00153360 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80157524 00153364 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80157528 00153368 80 7E 00 A8 */ lwz r3, 0xa8(r30)
|
|
/* 8015752C 0015336C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80157530 00153370 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80157534 00153374 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80157538 00153378 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 8015753C 0015337C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80157540 00153380 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80157544 00153384 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80157548 00153388 7D 89 03 A6 */ mtctr r12
|
|
/* 8015754C 0015338C 4E 80 04 21 */ bctrl
|
|
/* 80157550 00153390 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80157554 00153394 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80157558 00153398 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 8015755C 0015339C 7C 08 03 A6 */ mtlr r0
|
|
/* 80157560 001533A0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80157564 001533A4 4E 80 00 20 */ blr
|
|
/* 80157568 001533A8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8015756C 001533AC 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global VX2CommandBack516x8__FR14VX2DecoderData
|
|
VX2CommandBack516x8__FR14VX2DecoderData:
|
|
/* 80157570 001533B0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80157574 001533B4 7C 08 02 A6 */ mflr r0
|
|
/* 80157578 001533B8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015757C 001533BC 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80157580 001533C0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80157584 001533C4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80157588 001533C8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015758C 001533CC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80157590 001533D0 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80157594 001533D4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80157598 001533D8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015759C 001533DC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 801575A0 001533E0 55 06 7C 7E */ srwi r6, r8, 17
|
|
/* 801575A4 001533E4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 801575A8 001533E8 7D 29 07 74 */ extsb r9, r9
|
|
/* 801575AC 001533EC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 801575B0 001533F0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 801575B4 001533F4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 801575B8 001533F8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 801575BC 001533FC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 801575C0 00153400 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801575C4 00153404 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 801575C8 00153408 40 80 00 2C */ bge lbl_801575F4
|
|
/* 801575CC 0015340C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 801575D0 00153410 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 801575D4 00153414 7C A7 00 D0 */ neg r5, r7
|
|
/* 801575D8 00153418 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 801575DC 0015341C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 801575E0 00153420 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 801575E4 00153424 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 801575E8 00153428 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 801575EC 0015342C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 801575F0 00153430 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_801575F4
|
|
lbl_801575F4:
|
|
/* 801575F4 00153434 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 801575F8 00153438 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 801575FC 0015343C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80157600 00153440 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80157604 00153444 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80157608 00153448 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 8015760C 0015344C 54 C0 7C 7E */ srwi r0, r6, 17
|
|
/* 80157610 00153450 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80157614 00153454 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80157618 00153458 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015761C 0015345C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80157620 00153460 7D 29 07 74 */ extsb r9, r9
|
|
/* 80157624 00153464 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80157628 00153468 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015762C 0015346C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80157630 00153470 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80157634 00153474 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80157638 00153478 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015763C 0015347C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80157640 00153480 40 80 00 2C */ bge lbl_8015766C
|
|
/* 80157644 00153484 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80157648 00153488 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 8015764C 0015348C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80157650 00153490 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80157654 00153494 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80157658 00153498 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015765C 0015349C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80157660 001534A0 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80157664 001534A4 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80157668 001534A8 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_8015766C
|
|
lbl_8015766C:
|
|
/* 8015766C 001534AC A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80157670 001534B0 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80157674 001534B4 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80157678 001534B8 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015767C 001534BC 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 80157680 001534C0 7D 26 07 34 */ extsh r6, r9
|
|
/* 80157684 001534C4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80157688 001534C8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015768C 001534CC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80157690 001534D0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80157694 001534D4 80 E3 00 7C */ lwz r7, 0x7c(r3)
|
|
/* 80157698 001534D8 55 20 1F 38 */ rlwinm r0, r9, 3, 28, 28
|
|
/* 8015769C 001534DC 57 E4 07 7E */ clrlwi r4, r31, 29
|
|
/* 801576A0 001534E0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 801576A4 001534E4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801576A8 001534E8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 801576AC 001534EC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 801576B0 001534F0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 801576B4 001534F4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 801576B8 001534F8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 801576BC 001534FC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 801576C0 00153500 81 83 0A E8 */ lwz r12, 0xae8(r3)
|
|
/* 801576C4 00153504 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 801576C8 00153508 7C 66 02 14 */ add r3, r6, r0
|
|
/* 801576CC 0015350C 7D 89 03 A6 */ mtctr r12
|
|
/* 801576D0 00153510 4E 80 04 21 */ bctrl
|
|
/* 801576D4 00153514 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 801576D8 00153518 57 E4 FF 7E */ extrwi r4, r31, 3, 28
|
|
/* 801576DC 0015351C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 801576E0 00153520 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 801576E4 00153524 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 801576E8 00153528 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 801576EC 0015352C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 801576F0 00153530 54 60 17 38 */ rlwinm r0, r3, 2, 28, 28
|
|
/* 801576F4 00153534 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 801576F8 00153538 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801576FC 0015353C 80 9E 00 94 */ lwz r4, 0x94(r30)
|
|
/* 80157700 00153540 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80157704 00153544 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80157708 00153548 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015770C 0015354C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80157710 00153550 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80157714 00153554 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 80157718 00153558 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015771C 0015355C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80157720 00153560 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80157724 00153564 7D 89 03 A6 */ mtctr r12
|
|
/* 80157728 00153568 4E 80 04 21 */ bctrl
|
|
/* 8015772C 0015356C 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 80157730 00153570 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80157734 00153574 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80157738 00153578 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015773C 0015357C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80157740 00153580 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80157744 00153584 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80157748 00153588 80 7E 00 AC */ lwz r3, 0xac(r30)
|
|
/* 8015774C 0015358C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80157750 00153590 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80157754 00153594 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80157758 00153598 81 9F 0C 28 */ lwz r12, 0xc28(r31)
|
|
/* 8015775C 0015359C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80157760 001535A0 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80157764 001535A4 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80157768 001535A8 7D 89 03 A6 */ mtctr r12
|
|
/* 8015776C 001535AC 4E 80 04 21 */ bctrl
|
|
/* 80157770 001535B0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80157774 001535B4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80157778 001535B8 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 8015777C 001535BC 7C 08 03 A6 */ mtlr r0
|
|
/* 80157780 001535C0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80157784 001535C4 4E 80 00 20 */ blr
|
|
/* 80157788 001535C8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8015778C 001535CC 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global VX2CommandCutH16x8__FR14VX2DecoderData
|
|
VX2CommandCutH16x8__FR14VX2DecoderData:
|
|
/* 80157790 001535D0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80157794 001535D4 7C 08 02 A6 */ mflr r0
|
|
/* 80157798 001535D8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8015779C 001535DC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 801577A0 001535E0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 801577A4 001535E4 4B FF F3 9D */ bl VX2DecodeBlockInter16x4__FR14VX2DecoderData
|
|
/* 801577A8 001535E8 80 1F 00 00 */ lwz r0, 0x0(r31)
|
|
/* 801577AC 001535EC 7F E3 FB 78 */ mr r3, r31
|
|
/* 801577B0 001535F0 80 DF 08 B4 */ lwz r6, 0x8b4(r31)
|
|
/* 801577B4 001535F4 54 05 10 3A */ slwi r5, r0, 2
|
|
/* 801577B8 001535F8 80 9F 08 B8 */ lwz r4, 0x8b8(r31)
|
|
/* 801577BC 001535FC 54 00 00 3C */ clrrwi r0, r0, 1
|
|
/* 801577C0 00153600 7C A6 2A 14 */ add r5, r6, r5
|
|
/* 801577C4 00153604 90 BF 08 B4 */ stw r5, 0x8b4(r31)
|
|
/* 801577C8 00153608 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801577CC 0015360C 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 801577D0 00153610 4B FF F3 71 */ bl VX2DecodeBlockInter16x4__FR14VX2DecoderData
|
|
/* 801577D4 00153614 80 7F 00 00 */ lwz r3, 0x0(r31)
|
|
/* 801577D8 00153618 80 9F 08 B4 */ lwz r4, 0x8b4(r31)
|
|
/* 801577DC 0015361C 54 65 10 3A */ slwi r5, r3, 2
|
|
/* 801577E0 00153620 80 1F 08 B8 */ lwz r0, 0x8b8(r31)
|
|
/* 801577E4 00153624 54 63 00 3C */ clrrwi r3, r3, 1
|
|
/* 801577E8 00153628 7C 85 20 50 */ subf r4, r5, r4
|
|
/* 801577EC 0015362C 90 9F 08 B4 */ stw r4, 0x8b4(r31)
|
|
/* 801577F0 00153630 7C 03 00 50 */ subf r0, r3, r0
|
|
/* 801577F4 00153634 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 801577F8 00153638 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 801577FC 0015363C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80157800 00153640 7C 08 03 A6 */ mtlr r0
|
|
/* 80157804 00153644 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80157808 00153648 4E 80 00 20 */ blr
|
|
/* 8015780C 0015364C 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global VX2CommandCutV16x8__FR14VX2DecoderData
|
|
VX2CommandCutV16x8__FR14VX2DecoderData:
|
|
/* 80157810 00153650 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80157814 00153654 7C 08 02 A6 */ mflr r0
|
|
/* 80157818 00153658 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8015781C 0015365C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80157820 00153660 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80157824 00153664 48 00 9C 1D */ bl VX2DecodeBlockInter8x8__FR14VX2DecoderData
|
|
/* 80157828 00153668 80 BF 08 B4 */ lwz r5, 0x8b4(r31)
|
|
/* 8015782C 0015366C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80157830 00153670 80 9F 08 B8 */ lwz r4, 0x8b8(r31)
|
|
/* 80157834 00153674 38 05 00 08 */ addi r0, r5, 0x8
|
|
/* 80157838 00153678 90 1F 08 B4 */ stw r0, 0x8b4(r31)
|
|
/* 8015783C 0015367C 38 04 00 04 */ addi r0, r4, 0x4
|
|
/* 80157840 00153680 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 80157844 00153684 48 00 9B FD */ bl VX2DecodeBlockInter8x8__FR14VX2DecoderData
|
|
/* 80157848 00153688 80 9F 08 B4 */ lwz r4, 0x8b4(r31)
|
|
/* 8015784C 0015368C 80 7F 08 B8 */ lwz r3, 0x8b8(r31)
|
|
/* 80157850 00153690 38 04 FF F8 */ addi r0, r4, -0x8
|
|
/* 80157854 00153694 90 1F 08 B4 */ stw r0, 0x8b4(r31)
|
|
/* 80157858 00153698 38 03 FF FC */ addi r0, r3, -0x4
|
|
/* 8015785C 0015369C 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 80157860 001536A0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80157864 001536A4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80157868 001536A8 7C 08 03 A6 */ mtlr r0
|
|
/* 8015786C 001536AC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80157870 001536B0 4E 80 00 20 */ blr
|
|
/* 80157874 001536B4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80157878 001536B8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8015787C 001536BC 00 00 00 00 */ .4byte 0x00000000
|
|
.global VX2DecodeBlockInter16x8__FR14VX2DecoderData
|
|
VX2DecodeBlockInter16x8__FR14VX2DecoderData:
|
|
/* 80157880 001536C0 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80157884 001536C4 3C 80 80 41 */ lis r4, "@LOCAL@VX2DecodeBlockInter16x8__FR14VX2DecoderData@command"@ha
|
|
/* 80157888 001536C8 3C A0 80 41 */ lis r5, "@LOCAL@VX2DecodeBlockInter16x8__FR14VX2DecoderData@size@0"@ha
|
|
/* 8015788C 001536CC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80157890 001536D0 54 C6 3E 7A */ rlwinm r6, r6, 7, 25, 29
|
|
/* 80157894 001536D4 38 84 EB A0 */ addi r4, r4, "@LOCAL@VX2DecodeBlockInter16x8__FR14VX2DecoderData@command"@l
|
|
/* 80157898 001536D8 7C C4 30 2E */ lwzx r6, r4, r6
|
|
/* 8015789C 001536DC 38 A5 EC 20 */ addi r5, r5, "@LOCAL@VX2DecodeBlockInter16x8__FR14VX2DecoderData@size@0"@l
|
|
/* 801578A0 001536E0 80 83 0A 08 */ lwz r4, 0xa08(r3)
|
|
/* 801578A4 001536E4 54 C9 10 3A */ slwi r9, r6, 2
|
|
/* 801578A8 001536E8 7C A5 48 2E */ lwzx r5, r5, r9
|
|
/* 801578AC 001536EC 7C E5 00 51 */ subf. r7, r5, r0
|
|
/* 801578B0 001536F0 7C 88 28 30 */ slw r8, r4, r5
|
|
/* 801578B4 001536F4 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801578B8 001536F8 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 801578BC 001536FC 40 80 00 2C */ bge lbl_801578E8
|
|
/* 801578C0 00153700 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 801578C4 00153704 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 801578C8 00153708 7C A7 00 D0 */ neg r5, r7
|
|
/* 801578CC 0015370C 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 801578D0 00153710 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 801578D4 00153714 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 801578D8 00153718 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 801578DC 0015371C 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 801578E0 00153720 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 801578E4 00153724 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_801578E8
|
|
lbl_801578E8:
|
|
/* 801578E8 00153728 3C 80 80 41 */ lis r4, VX2CommandTable16x8@ha
|
|
/* 801578EC 0015372C 38 84 EB 78 */ addi r4, r4, VX2CommandTable16x8@l
|
|
/* 801578F0 00153730 7D 84 48 2E */ lwzx r12, r4, r9
|
|
/* 801578F4 00153734 7D 89 03 A6 */ mtctr r12
|
|
/* 801578F8 00153738 4E 80 04 20 */ bctr
|
|
/* 801578FC 0015373C 00 00 00 00 */ .4byte 0x00000000
|
|
.include "macros.inc"
|
|
|
|
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
|
|
.global VX2CommandTable16x8
|
|
VX2CommandTable16x8:
|
|
|
|
.4byte VX2CommandSkip116x8__FR14VX2DecoderData
|
|
.4byte VX2CommandBack116x8__FR14VX2DecoderData
|
|
.4byte VX2CommandBack216x8__FR14VX2DecoderData
|
|
.4byte VX2CommandBack316x8__FR14VX2DecoderData
|
|
.4byte VX2CommandBack416x8__FR14VX2DecoderData
|
|
.4byte VX2CommandBack516x8__FR14VX2DecoderData
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte VX2CommandCutH16x8__FR14VX2DecoderData
|
|
.4byte VX2CommandCutV16x8__FR14VX2DecoderData
|
|
|
|
.global "@LOCAL@VX2DecodeBlockInter16x8__FR14VX2DecoderData@command"
|
|
"@LOCAL@VX2DecodeBlockInter16x8__FR14VX2DecoderData@command":
|
|
|
|
.4byte 0x00000002
|
|
.4byte 0x00000002
|
|
.4byte 0x00000002
|
|
.4byte 0x00000002
|
|
.4byte 0x00000009
|
|
.4byte 0x00000009
|
|
.4byte 0x00000009
|
|
.4byte 0x00000009
|
|
.4byte 0x00000008
|
|
.4byte 0x00000008
|
|
.4byte 0x00000008
|
|
.4byte 0x00000008
|
|
.4byte 0x00000008
|
|
.4byte 0x00000008
|
|
.4byte 0x00000008
|
|
.4byte 0x00000008
|
|
.4byte 0x00000003
|
|
.4byte 0x00000003
|
|
.4byte 0x00000005
|
|
.4byte 0x00000004
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
|
|
.global "@LOCAL@VX2DecodeBlockInter16x8__FR14VX2DecoderData@size@0"
|
|
"@LOCAL@VX2DecodeBlockInter16x8__FR14VX2DecoderData@size@0":
|
|
|
|
.4byte 0x00000003
|
|
.4byte 0x00000002
|
|
.4byte 0x00000003
|
|
.4byte 0x00000004
|
|
.4byte 0x00000005
|
|
.4byte 0x00000005
|
|
.4byte 0xFFFFFFFF
|
|
.4byte 0xFFFFFFFF
|
|
.4byte 0x00000002
|
|
.4byte 0x00000003
|