917 lines
46 KiB
ArmAsm
917 lines
46 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global VX2CommandSkip12x16__FR14VX2DecoderData
|
|
VX2CommandSkip12x16__FR14VX2DecoderData:
|
|
/* 80157900 00153740 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80157904 00153744 7C 08 02 A6 */ mflr r0
|
|
/* 80157908 00153748 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8015790C 0015374C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80157910 00153750 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80157914 00153754 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80157918 00153758 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015791C 0015375C A8 E3 0A 24 */ lha r7, 0xa24(r3)
|
|
/* 80157920 00153760 A9 23 0A 26 */ lha r9, 0xa26(r3)
|
|
/* 80157924 00153764 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80157928 00153768 7F E7 02 14 */ add r31, r7, r0
|
|
/* 8015792C 0015376C 7C E8 0E 70 */ srawi r8, r7, 1
|
|
/* 80157930 00153770 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 80157934 00153774 7D 26 0E 70 */ srawi r6, r9, 1
|
|
/* 80157938 00153778 57 E4 07 BE */ clrlwi r4, r31, 30
|
|
/* 8015793C 0015377C 55 20 17 7A */ rlwinm r0, r9, 2, 29, 29
|
|
/* 80157940 00153780 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80157944 00153784 80 83 00 6C */ lwz r4, 0x6c(r3)
|
|
/* 80157948 00153788 B0 E3 0A 20 */ sth r7, 0xa20(r3)
|
|
/* 8015794C 0015378C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80157950 00153790 7C E4 52 14 */ add r7, r4, r10
|
|
/* 80157954 00153794 80 83 00 68 */ lwz r4, 0x68(r3)
|
|
/* 80157958 00153798 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8015795C 0015379C B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80157960 001537A0 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80157964 001537A4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80157968 001537A8 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 8015796C 001537AC 81 83 0E 28 */ lwz r12, 0xe28(r3)
|
|
/* 80157970 001537B0 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80157974 001537B4 7D 89 03 A6 */ mtctr r12
|
|
/* 80157978 001537B8 4E 80 04 21 */ bctrl
|
|
/* 8015797C 001537BC 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80157980 001537C0 57 E4 FF FE */ extrwi r4, r31, 1, 30
|
|
/* 80157984 001537C4 A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80157988 001537C8 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 8015798C 001537CC A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80157990 001537D0 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80157994 001537D4 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80157998 001537D8 54 60 07 BC */ rlwinm r0, r3, 0, 30, 30
|
|
/* 8015799C 001537DC 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 801579A0 001537E0 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801579A4 001537E4 80 9E 00 84 */ lwz r4, 0x84(r30)
|
|
/* 801579A8 001537E8 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 801579AC 001537EC 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 801579B0 001537F0 7F FE 32 14 */ add r31, r30, r6
|
|
/* 801579B4 001537F4 7C 84 42 14 */ add r4, r4, r8
|
|
/* 801579B8 001537F8 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 801579BC 001537FC 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 801579C0 00153800 7C 67 22 14 */ add r3, r7, r4
|
|
/* 801579C4 00153804 7C 80 42 14 */ add r4, r0, r8
|
|
/* 801579C8 00153808 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 801579CC 0015380C 7D 89 03 A6 */ mtctr r12
|
|
/* 801579D0 00153810 4E 80 04 21 */ bctrl
|
|
/* 801579D4 00153814 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 801579D8 00153818 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 801579DC 0015381C 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 801579E0 00153820 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 801579E4 00153824 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 801579E8 00153828 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 801579EC 0015382C 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 801579F0 00153830 80 7E 00 9C */ lwz r3, 0x9c(r30)
|
|
/* 801579F4 00153834 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 801579F8 00153838 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 801579FC 0015383C 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80157A00 00153840 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 80157A04 00153844 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80157A08 00153848 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80157A0C 0015384C 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80157A10 00153850 7D 89 03 A6 */ mtctr r12
|
|
/* 80157A14 00153854 4E 80 04 21 */ bctrl
|
|
/* 80157A18 00153858 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80157A1C 0015385C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80157A20 00153860 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80157A24 00153864 7C 08 03 A6 */ mtlr r0
|
|
/* 80157A28 00153868 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80157A2C 0015386C 4E 80 00 20 */ blr
|
|
|
|
.global VX2CommandBack12x16__FR14VX2DecoderData
|
|
VX2CommandBack12x16__FR14VX2DecoderData:
|
|
/* 80157A30 00153870 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80157A34 00153874 7C 08 02 A6 */ mflr r0
|
|
/* 80157A38 00153878 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80157A3C 0015387C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80157A40 00153880 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80157A44 00153884 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80157A48 00153888 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80157A4C 0015388C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80157A50 00153890 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80157A54 00153894 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80157A58 00153898 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 80157A5C 0015389C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80157A60 001538A0 55 06 7C 7E */ srwi r6, r8, 17
|
|
/* 80157A64 001538A4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80157A68 001538A8 7D 29 07 74 */ extsb r9, r9
|
|
/* 80157A6C 001538AC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80157A70 001538B0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80157A74 001538B4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80157A78 001538B8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80157A7C 001538BC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80157A80 001538C0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80157A84 001538C4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80157A88 001538C8 40 80 00 2C */ bge lbl_80157AB4
|
|
/* 80157A8C 001538CC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80157A90 001538D0 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80157A94 001538D4 7C A7 00 D0 */ neg r5, r7
|
|
/* 80157A98 001538D8 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80157A9C 001538DC 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80157AA0 001538E0 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80157AA4 001538E4 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80157AA8 001538E8 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80157AAC 001538EC 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80157AB0 001538F0 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_80157AB4
|
|
lbl_80157AB4:
|
|
/* 80157AB4 001538F4 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80157AB8 001538F8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80157ABC 001538FC 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80157AC0 00153900 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80157AC4 00153904 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80157AC8 00153908 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 80157ACC 0015390C 54 C0 7C 7E */ srwi r0, r6, 17
|
|
/* 80157AD0 00153910 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80157AD4 00153914 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80157AD8 00153918 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80157ADC 0015391C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80157AE0 00153920 7D 29 07 74 */ extsb r9, r9
|
|
/* 80157AE4 00153924 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80157AE8 00153928 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80157AEC 0015392C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80157AF0 00153930 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80157AF4 00153934 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80157AF8 00153938 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80157AFC 0015393C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80157B00 00153940 40 80 00 2C */ bge lbl_80157B2C
|
|
/* 80157B04 00153944 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80157B08 00153948 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80157B0C 0015394C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80157B10 00153950 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80157B14 00153954 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80157B18 00153958 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80157B1C 0015395C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80157B20 00153960 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80157B24 00153964 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80157B28 00153968 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_80157B2C
|
|
lbl_80157B2C:
|
|
/* 80157B2C 0015396C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80157B30 00153970 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80157B34 00153974 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80157B38 00153978 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 80157B3C 0015397C 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 80157B40 00153980 7D 26 07 34 */ extsh r6, r9
|
|
/* 80157B44 00153984 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80157B48 00153988 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 80157B4C 0015398C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80157B50 00153990 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80157B54 00153994 80 E3 00 6C */ lwz r7, 0x6c(r3)
|
|
/* 80157B58 00153998 55 20 17 7A */ rlwinm r0, r9, 2, 29, 29
|
|
/* 80157B5C 0015399C 57 E4 07 BE */ clrlwi r4, r31, 30
|
|
/* 80157B60 001539A0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80157B64 001539A4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80157B68 001539A8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 80157B6C 001539AC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80157B70 001539B0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80157B74 001539B4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80157B78 001539B8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80157B7C 001539BC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80157B80 001539C0 81 83 0E 28 */ lwz r12, 0xe28(r3)
|
|
/* 80157B84 001539C4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80157B88 001539C8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80157B8C 001539CC 7D 89 03 A6 */ mtctr r12
|
|
/* 80157B90 001539D0 4E 80 04 21 */ bctrl
|
|
/* 80157B94 001539D4 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80157B98 001539D8 57 E4 FF FE */ extrwi r4, r31, 1, 30
|
|
/* 80157B9C 001539DC A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80157BA0 001539E0 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80157BA4 001539E4 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80157BA8 001539E8 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80157BAC 001539EC 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80157BB0 001539F0 54 60 07 BC */ rlwinm r0, r3, 0, 30, 30
|
|
/* 80157BB4 001539F4 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80157BB8 001539F8 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80157BBC 001539FC 80 9E 00 84 */ lwz r4, 0x84(r30)
|
|
/* 80157BC0 00153A00 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80157BC4 00153A04 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80157BC8 00153A08 7F FE 32 14 */ add r31, r30, r6
|
|
/* 80157BCC 00153A0C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80157BD0 00153A10 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80157BD4 00153A14 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 80157BD8 00153A18 7C 67 22 14 */ add r3, r7, r4
|
|
/* 80157BDC 00153A1C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80157BE0 00153A20 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80157BE4 00153A24 7D 89 03 A6 */ mtctr r12
|
|
/* 80157BE8 00153A28 4E 80 04 21 */ bctrl
|
|
/* 80157BEC 00153A2C 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 80157BF0 00153A30 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80157BF4 00153A34 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80157BF8 00153A38 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 80157BFC 00153A3C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80157C00 00153A40 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80157C04 00153A44 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80157C08 00153A48 80 7E 00 9C */ lwz r3, 0x9c(r30)
|
|
/* 80157C0C 00153A4C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80157C10 00153A50 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80157C14 00153A54 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80157C18 00153A58 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 80157C1C 00153A5C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80157C20 00153A60 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80157C24 00153A64 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80157C28 00153A68 7D 89 03 A6 */ mtctr r12
|
|
/* 80157C2C 00153A6C 4E 80 04 21 */ bctrl
|
|
/* 80157C30 00153A70 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80157C34 00153A74 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80157C38 00153A78 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80157C3C 00153A7C 7C 08 03 A6 */ mtlr r0
|
|
/* 80157C40 00153A80 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80157C44 00153A84 4E 80 00 20 */ blr
|
|
/* 80157C48 00153A88 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80157C4C 00153A8C 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global VX2CommandBack22x16__FR14VX2DecoderData
|
|
VX2CommandBack22x16__FR14VX2DecoderData:
|
|
/* 80157C50 00153A90 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80157C54 00153A94 7C 08 02 A6 */ mflr r0
|
|
/* 80157C58 00153A98 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80157C5C 00153A9C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80157C60 00153AA0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80157C64 00153AA4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80157C68 00153AA8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80157C6C 00153AAC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80157C70 00153AB0 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80157C74 00153AB4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80157C78 00153AB8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 80157C7C 00153ABC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80157C80 00153AC0 55 06 7C 7E */ srwi r6, r8, 17
|
|
/* 80157C84 00153AC4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80157C88 00153AC8 7D 29 07 74 */ extsb r9, r9
|
|
/* 80157C8C 00153ACC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80157C90 00153AD0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80157C94 00153AD4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80157C98 00153AD8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80157C9C 00153ADC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80157CA0 00153AE0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80157CA4 00153AE4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80157CA8 00153AE8 40 80 00 2C */ bge lbl_80157CD4
|
|
/* 80157CAC 00153AEC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80157CB0 00153AF0 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80157CB4 00153AF4 7C A7 00 D0 */ neg r5, r7
|
|
/* 80157CB8 00153AF8 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80157CBC 00153AFC 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80157CC0 00153B00 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80157CC4 00153B04 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80157CC8 00153B08 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80157CCC 00153B0C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80157CD0 00153B10 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_80157CD4
|
|
lbl_80157CD4:
|
|
/* 80157CD4 00153B14 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80157CD8 00153B18 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80157CDC 00153B1C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80157CE0 00153B20 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80157CE4 00153B24 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80157CE8 00153B28 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 80157CEC 00153B2C 54 C0 7C 7E */ srwi r0, r6, 17
|
|
/* 80157CF0 00153B30 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80157CF4 00153B34 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80157CF8 00153B38 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80157CFC 00153B3C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80157D00 00153B40 7D 29 07 74 */ extsb r9, r9
|
|
/* 80157D04 00153B44 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80157D08 00153B48 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80157D0C 00153B4C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80157D10 00153B50 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80157D14 00153B54 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80157D18 00153B58 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80157D1C 00153B5C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80157D20 00153B60 40 80 00 2C */ bge lbl_80157D4C
|
|
/* 80157D24 00153B64 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80157D28 00153B68 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80157D2C 00153B6C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80157D30 00153B70 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80157D34 00153B74 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80157D38 00153B78 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80157D3C 00153B7C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80157D40 00153B80 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80157D44 00153B84 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80157D48 00153B88 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_80157D4C
|
|
lbl_80157D4C:
|
|
/* 80157D4C 00153B8C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80157D50 00153B90 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80157D54 00153B94 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80157D58 00153B98 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 80157D5C 00153B9C 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 80157D60 00153BA0 7D 26 07 34 */ extsh r6, r9
|
|
/* 80157D64 00153BA4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80157D68 00153BA8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 80157D6C 00153BAC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80157D70 00153BB0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80157D74 00153BB4 80 E3 00 70 */ lwz r7, 0x70(r3)
|
|
/* 80157D78 00153BB8 55 20 17 7A */ rlwinm r0, r9, 2, 29, 29
|
|
/* 80157D7C 00153BBC 57 E4 07 BE */ clrlwi r4, r31, 30
|
|
/* 80157D80 00153BC0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80157D84 00153BC4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80157D88 00153BC8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 80157D8C 00153BCC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80157D90 00153BD0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80157D94 00153BD4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80157D98 00153BD8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80157D9C 00153BDC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80157DA0 00153BE0 81 83 0E 28 */ lwz r12, 0xe28(r3)
|
|
/* 80157DA4 00153BE4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80157DA8 00153BE8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80157DAC 00153BEC 7D 89 03 A6 */ mtctr r12
|
|
/* 80157DB0 00153BF0 4E 80 04 21 */ bctrl
|
|
/* 80157DB4 00153BF4 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80157DB8 00153BF8 57 E4 FF FE */ extrwi r4, r31, 1, 30
|
|
/* 80157DBC 00153BFC A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80157DC0 00153C00 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80157DC4 00153C04 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80157DC8 00153C08 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80157DCC 00153C0C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80157DD0 00153C10 54 60 07 BC */ rlwinm r0, r3, 0, 30, 30
|
|
/* 80157DD4 00153C14 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80157DD8 00153C18 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80157DDC 00153C1C 80 9E 00 88 */ lwz r4, 0x88(r30)
|
|
/* 80157DE0 00153C20 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80157DE4 00153C24 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80157DE8 00153C28 7F FE 32 14 */ add r31, r30, r6
|
|
/* 80157DEC 00153C2C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80157DF0 00153C30 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80157DF4 00153C34 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 80157DF8 00153C38 7C 67 22 14 */ add r3, r7, r4
|
|
/* 80157DFC 00153C3C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80157E00 00153C40 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80157E04 00153C44 7D 89 03 A6 */ mtctr r12
|
|
/* 80157E08 00153C48 4E 80 04 21 */ bctrl
|
|
/* 80157E0C 00153C4C 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 80157E10 00153C50 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80157E14 00153C54 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80157E18 00153C58 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 80157E1C 00153C5C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80157E20 00153C60 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80157E24 00153C64 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80157E28 00153C68 80 7E 00 A0 */ lwz r3, 0xa0(r30)
|
|
/* 80157E2C 00153C6C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80157E30 00153C70 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80157E34 00153C74 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80157E38 00153C78 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 80157E3C 00153C7C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80157E40 00153C80 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80157E44 00153C84 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80157E48 00153C88 7D 89 03 A6 */ mtctr r12
|
|
/* 80157E4C 00153C8C 4E 80 04 21 */ bctrl
|
|
/* 80157E50 00153C90 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80157E54 00153C94 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80157E58 00153C98 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80157E5C 00153C9C 7C 08 03 A6 */ mtlr r0
|
|
/* 80157E60 00153CA0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80157E64 00153CA4 4E 80 00 20 */ blr
|
|
/* 80157E68 00153CA8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80157E6C 00153CAC 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global VX2CommandBack32x16__FR14VX2DecoderData
|
|
VX2CommandBack32x16__FR14VX2DecoderData:
|
|
/* 80157E70 00153CB0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80157E74 00153CB4 7C 08 02 A6 */ mflr r0
|
|
/* 80157E78 00153CB8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80157E7C 00153CBC 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80157E80 00153CC0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80157E84 00153CC4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80157E88 00153CC8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80157E8C 00153CCC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80157E90 00153CD0 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80157E94 00153CD4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80157E98 00153CD8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 80157E9C 00153CDC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80157EA0 00153CE0 55 06 7C 7E */ srwi r6, r8, 17
|
|
/* 80157EA4 00153CE4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80157EA8 00153CE8 7D 29 07 74 */ extsb r9, r9
|
|
/* 80157EAC 00153CEC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80157EB0 00153CF0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80157EB4 00153CF4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80157EB8 00153CF8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80157EBC 00153CFC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80157EC0 00153D00 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80157EC4 00153D04 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80157EC8 00153D08 40 80 00 2C */ bge lbl_80157EF4
|
|
/* 80157ECC 00153D0C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80157ED0 00153D10 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80157ED4 00153D14 7C A7 00 D0 */ neg r5, r7
|
|
/* 80157ED8 00153D18 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80157EDC 00153D1C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80157EE0 00153D20 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80157EE4 00153D24 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80157EE8 00153D28 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80157EEC 00153D2C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80157EF0 00153D30 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_80157EF4
|
|
lbl_80157EF4:
|
|
/* 80157EF4 00153D34 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80157EF8 00153D38 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80157EFC 00153D3C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80157F00 00153D40 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80157F04 00153D44 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80157F08 00153D48 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 80157F0C 00153D4C 54 C0 7C 7E */ srwi r0, r6, 17
|
|
/* 80157F10 00153D50 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80157F14 00153D54 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80157F18 00153D58 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80157F1C 00153D5C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80157F20 00153D60 7D 29 07 74 */ extsb r9, r9
|
|
/* 80157F24 00153D64 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80157F28 00153D68 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80157F2C 00153D6C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80157F30 00153D70 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80157F34 00153D74 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80157F38 00153D78 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80157F3C 00153D7C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80157F40 00153D80 40 80 00 2C */ bge lbl_80157F6C
|
|
/* 80157F44 00153D84 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80157F48 00153D88 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80157F4C 00153D8C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80157F50 00153D90 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80157F54 00153D94 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80157F58 00153D98 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80157F5C 00153D9C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80157F60 00153DA0 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80157F64 00153DA4 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80157F68 00153DA8 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_80157F6C
|
|
lbl_80157F6C:
|
|
/* 80157F6C 00153DAC A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80157F70 00153DB0 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80157F74 00153DB4 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80157F78 00153DB8 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 80157F7C 00153DBC 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 80157F80 00153DC0 7D 26 07 34 */ extsh r6, r9
|
|
/* 80157F84 00153DC4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80157F88 00153DC8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 80157F8C 00153DCC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80157F90 00153DD0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80157F94 00153DD4 80 E3 00 74 */ lwz r7, 0x74(r3)
|
|
/* 80157F98 00153DD8 55 20 17 7A */ rlwinm r0, r9, 2, 29, 29
|
|
/* 80157F9C 00153DDC 57 E4 07 BE */ clrlwi r4, r31, 30
|
|
/* 80157FA0 00153DE0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80157FA4 00153DE4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80157FA8 00153DE8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 80157FAC 00153DEC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80157FB0 00153DF0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80157FB4 00153DF4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80157FB8 00153DF8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80157FBC 00153DFC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80157FC0 00153E00 81 83 0E 28 */ lwz r12, 0xe28(r3)
|
|
/* 80157FC4 00153E04 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80157FC8 00153E08 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80157FCC 00153E0C 7D 89 03 A6 */ mtctr r12
|
|
/* 80157FD0 00153E10 4E 80 04 21 */ bctrl
|
|
/* 80157FD4 00153E14 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80157FD8 00153E18 57 E4 FF FE */ extrwi r4, r31, 1, 30
|
|
/* 80157FDC 00153E1C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80157FE0 00153E20 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80157FE4 00153E24 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80157FE8 00153E28 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80157FEC 00153E2C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80157FF0 00153E30 54 60 07 BC */ rlwinm r0, r3, 0, 30, 30
|
|
/* 80157FF4 00153E34 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80157FF8 00153E38 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80157FFC 00153E3C 80 9E 00 8C */ lwz r4, 0x8c(r30)
|
|
/* 80158000 00153E40 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80158004 00153E44 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80158008 00153E48 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015800C 00153E4C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80158010 00153E50 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80158014 00153E54 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 80158018 00153E58 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015801C 00153E5C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80158020 00153E60 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80158024 00153E64 7D 89 03 A6 */ mtctr r12
|
|
/* 80158028 00153E68 4E 80 04 21 */ bctrl
|
|
/* 8015802C 00153E6C 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 80158030 00153E70 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80158034 00153E74 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80158038 00153E78 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015803C 00153E7C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80158040 00153E80 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80158044 00153E84 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80158048 00153E88 80 7E 00 A4 */ lwz r3, 0xa4(r30)
|
|
/* 8015804C 00153E8C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80158050 00153E90 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80158054 00153E94 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80158058 00153E98 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 8015805C 00153E9C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80158060 00153EA0 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80158064 00153EA4 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80158068 00153EA8 7D 89 03 A6 */ mtctr r12
|
|
/* 8015806C 00153EAC 4E 80 04 21 */ bctrl
|
|
/* 80158070 00153EB0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80158074 00153EB4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80158078 00153EB8 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 8015807C 00153EBC 7C 08 03 A6 */ mtlr r0
|
|
/* 80158080 00153EC0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80158084 00153EC4 4E 80 00 20 */ blr
|
|
/* 80158088 00153EC8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8015808C 00153ECC 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global VX2CommandBack42x16__FR14VX2DecoderData
|
|
VX2CommandBack42x16__FR14VX2DecoderData:
|
|
/* 80158090 00153ED0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80158094 00153ED4 7C 08 02 A6 */ mflr r0
|
|
/* 80158098 00153ED8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015809C 00153EDC 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 801580A0 00153EE0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 801580A4 00153EE4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 801580A8 00153EE8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 801580AC 00153EEC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 801580B0 00153EF0 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 801580B4 00153EF4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 801580B8 00153EF8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 801580BC 00153EFC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 801580C0 00153F00 55 06 7C 7E */ srwi r6, r8, 17
|
|
/* 801580C4 00153F04 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 801580C8 00153F08 7D 29 07 74 */ extsb r9, r9
|
|
/* 801580CC 00153F0C 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 801580D0 00153F10 7C 85 22 14 */ add r4, r5, r4
|
|
/* 801580D4 00153F14 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 801580D8 00153F18 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 801580DC 00153F1C 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 801580E0 00153F20 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801580E4 00153F24 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 801580E8 00153F28 40 80 00 2C */ bge lbl_80158114
|
|
/* 801580EC 00153F2C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 801580F0 00153F30 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 801580F4 00153F34 7C A7 00 D0 */ neg r5, r7
|
|
/* 801580F8 00153F38 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 801580FC 00153F3C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80158100 00153F40 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80158104 00153F44 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80158108 00153F48 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015810C 00153F4C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80158110 00153F50 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_80158114
|
|
lbl_80158114:
|
|
/* 80158114 00153F54 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80158118 00153F58 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015811C 00153F5C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80158120 00153F60 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80158124 00153F64 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80158128 00153F68 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 8015812C 00153F6C 54 C0 7C 7E */ srwi r0, r6, 17
|
|
/* 80158130 00153F70 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80158134 00153F74 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80158138 00153F78 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015813C 00153F7C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80158140 00153F80 7D 29 07 74 */ extsb r9, r9
|
|
/* 80158144 00153F84 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80158148 00153F88 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015814C 00153F8C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80158150 00153F90 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80158154 00153F94 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80158158 00153F98 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015815C 00153F9C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80158160 00153FA0 40 80 00 2C */ bge lbl_8015818C
|
|
/* 80158164 00153FA4 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80158168 00153FA8 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 8015816C 00153FAC 7C A7 00 D0 */ neg r5, r7
|
|
/* 80158170 00153FB0 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80158174 00153FB4 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80158178 00153FB8 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015817C 00153FBC 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80158180 00153FC0 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80158184 00153FC4 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80158188 00153FC8 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_8015818C
|
|
lbl_8015818C:
|
|
/* 8015818C 00153FCC A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80158190 00153FD0 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80158194 00153FD4 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80158198 00153FD8 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015819C 00153FDC 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 801581A0 00153FE0 7D 26 07 34 */ extsh r6, r9
|
|
/* 801581A4 00153FE4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 801581A8 00153FE8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 801581AC 00153FEC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 801581B0 00153FF0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 801581B4 00153FF4 80 E3 00 78 */ lwz r7, 0x78(r3)
|
|
/* 801581B8 00153FF8 55 20 17 7A */ rlwinm r0, r9, 2, 29, 29
|
|
/* 801581BC 00153FFC 57 E4 07 BE */ clrlwi r4, r31, 30
|
|
/* 801581C0 00154000 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 801581C4 00154004 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801581C8 00154008 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 801581CC 0015400C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 801581D0 00154010 7C E7 52 14 */ add r7, r7, r10
|
|
/* 801581D4 00154014 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 801581D8 00154018 7C 84 52 14 */ add r4, r4, r10
|
|
/* 801581DC 0015401C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 801581E0 00154020 81 83 0E 28 */ lwz r12, 0xe28(r3)
|
|
/* 801581E4 00154024 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 801581E8 00154028 7C 66 02 14 */ add r3, r6, r0
|
|
/* 801581EC 0015402C 7D 89 03 A6 */ mtctr r12
|
|
/* 801581F0 00154030 4E 80 04 21 */ bctrl
|
|
/* 801581F4 00154034 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 801581F8 00154038 57 E4 FF FE */ extrwi r4, r31, 1, 30
|
|
/* 801581FC 0015403C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80158200 00154040 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80158204 00154044 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80158208 00154048 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 8015820C 0015404C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80158210 00154050 54 60 07 BC */ rlwinm r0, r3, 0, 30, 30
|
|
/* 80158214 00154054 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80158218 00154058 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015821C 0015405C 80 9E 00 90 */ lwz r4, 0x90(r30)
|
|
/* 80158220 00154060 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80158224 00154064 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80158228 00154068 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015822C 0015406C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80158230 00154070 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80158234 00154074 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 80158238 00154078 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015823C 0015407C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80158240 00154080 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80158244 00154084 7D 89 03 A6 */ mtctr r12
|
|
/* 80158248 00154088 4E 80 04 21 */ bctrl
|
|
/* 8015824C 0015408C 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 80158250 00154090 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80158254 00154094 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80158258 00154098 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015825C 0015409C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80158260 001540A0 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80158264 001540A4 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80158268 001540A8 80 7E 00 A8 */ lwz r3, 0xa8(r30)
|
|
/* 8015826C 001540AC 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80158270 001540B0 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80158274 001540B4 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80158278 001540B8 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 8015827C 001540BC 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80158280 001540C0 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80158284 001540C4 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80158288 001540C8 7D 89 03 A6 */ mtctr r12
|
|
/* 8015828C 001540CC 4E 80 04 21 */ bctrl
|
|
/* 80158290 001540D0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80158294 001540D4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80158298 001540D8 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 8015829C 001540DC 7C 08 03 A6 */ mtlr r0
|
|
/* 801582A0 001540E0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 801582A4 001540E4 4E 80 00 20 */ blr
|
|
/* 801582A8 001540E8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 801582AC 001540EC 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global VX2CommandBack52x16__FR14VX2DecoderData
|
|
VX2CommandBack52x16__FR14VX2DecoderData:
|
|
/* 801582B0 001540F0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 801582B4 001540F4 7C 08 02 A6 */ mflr r0
|
|
/* 801582B8 001540F8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 801582BC 001540FC 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 801582C0 00154100 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 801582C4 00154104 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 801582C8 00154108 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 801582CC 0015410C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 801582D0 00154110 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 801582D4 00154114 7C 7E 1B 78 */ mr r30, r3
|
|
/* 801582D8 00154118 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 801582DC 0015411C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 801582E0 00154120 55 06 7C 7E */ srwi r6, r8, 17
|
|
/* 801582E4 00154124 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 801582E8 00154128 7D 29 07 74 */ extsb r9, r9
|
|
/* 801582EC 0015412C 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 801582F0 00154130 7C 85 22 14 */ add r4, r5, r4
|
|
/* 801582F4 00154134 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 801582F8 00154138 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 801582FC 0015413C 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80158300 00154140 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80158304 00154144 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80158308 00154148 40 80 00 2C */ bge lbl_80158334
|
|
/* 8015830C 0015414C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80158310 00154150 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80158314 00154154 7C A7 00 D0 */ neg r5, r7
|
|
/* 80158318 00154158 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 8015831C 0015415C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80158320 00154160 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80158324 00154164 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80158328 00154168 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015832C 0015416C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80158330 00154170 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_80158334
|
|
lbl_80158334:
|
|
/* 80158334 00154174 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80158338 00154178 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015833C 0015417C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80158340 00154180 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80158344 00154184 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80158348 00154188 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 8015834C 0015418C 54 C0 7C 7E */ srwi r0, r6, 17
|
|
/* 80158350 00154190 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80158354 00154194 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80158358 00154198 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015835C 0015419C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80158360 001541A0 7D 29 07 74 */ extsb r9, r9
|
|
/* 80158364 001541A4 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80158368 001541A8 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015836C 001541AC 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80158370 001541B0 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80158374 001541B4 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80158378 001541B8 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015837C 001541BC 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80158380 001541C0 40 80 00 2C */ bge lbl_801583AC
|
|
/* 80158384 001541C4 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80158388 001541C8 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 8015838C 001541CC 7C A7 00 D0 */ neg r5, r7
|
|
/* 80158390 001541D0 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 80158394 001541D4 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80158398 001541D8 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015839C 001541DC 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 801583A0 001541E0 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 801583A4 001541E4 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 801583A8 001541E8 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_801583AC
|
|
lbl_801583AC:
|
|
/* 801583AC 001541EC A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 801583B0 001541F0 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 801583B4 001541F4 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 801583B8 001541F8 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 801583BC 001541FC 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
/* 801583C0 00154200 7D 26 07 34 */ extsh r6, r9
|
|
/* 801583C4 00154204 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 801583C8 00154208 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 801583CC 0015420C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 801583D0 00154210 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 801583D4 00154214 80 E3 00 7C */ lwz r7, 0x7c(r3)
|
|
/* 801583D8 00154218 55 20 17 7A */ rlwinm r0, r9, 2, 29, 29
|
|
/* 801583DC 0015421C 57 E4 07 BE */ clrlwi r4, r31, 30
|
|
/* 801583E0 00154220 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 801583E4 00154224 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801583E8 00154228 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 801583EC 0015422C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 801583F0 00154230 7C E7 52 14 */ add r7, r7, r10
|
|
/* 801583F4 00154234 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 801583F8 00154238 7C 84 52 14 */ add r4, r4, r10
|
|
/* 801583FC 0015423C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80158400 00154240 81 83 0E 28 */ lwz r12, 0xe28(r3)
|
|
/* 80158404 00154244 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80158408 00154248 7C 66 02 14 */ add r3, r6, r0
|
|
/* 8015840C 0015424C 7D 89 03 A6 */ mtctr r12
|
|
/* 80158410 00154250 4E 80 04 21 */ bctrl
|
|
/* 80158414 00154254 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80158418 00154258 57 E4 FF FE */ extrwi r4, r31, 1, 30
|
|
/* 8015841C 0015425C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80158420 00154260 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80158424 00154264 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80158428 00154268 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 8015842C 0015426C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80158430 00154270 54 60 07 BC */ rlwinm r0, r3, 0, 30, 30
|
|
/* 80158434 00154274 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80158438 00154278 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015843C 0015427C 80 9E 00 94 */ lwz r4, 0x94(r30)
|
|
/* 80158440 00154280 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80158444 00154284 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80158448 00154288 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015844C 0015428C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80158450 00154290 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80158454 00154294 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 80158458 00154298 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015845C 0015429C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80158460 001542A0 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80158464 001542A4 7D 89 03 A6 */ mtctr r12
|
|
/* 80158468 001542A8 4E 80 04 21 */ bctrl
|
|
/* 8015846C 001542AC 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 80158470 001542B0 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80158474 001542B4 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80158478 001542B8 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015847C 001542BC 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80158480 001542C0 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80158484 001542C4 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80158488 001542C8 80 7E 00 AC */ lwz r3, 0xac(r30)
|
|
/* 8015848C 001542CC 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80158490 001542D0 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80158494 001542D4 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80158498 001542D8 81 9F 0E C8 */ lwz r12, 0xec8(r31)
|
|
/* 8015849C 001542DC 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 801584A0 001542E0 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 801584A4 001542E4 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 801584A8 001542E8 7D 89 03 A6 */ mtctr r12
|
|
/* 801584AC 001542EC 4E 80 04 21 */ bctrl
|
|
/* 801584B0 001542F0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 801584B4 001542F4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 801584B8 001542F8 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 801584BC 001542FC 7C 08 03 A6 */ mtlr r0
|
|
/* 801584C0 00154300 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 801584C4 00154304 4E 80 00 20 */ blr
|
|
/* 801584C8 00154308 00 00 00 00 */ .4byte 0x00000000
|
|
/* 801584CC 0015430C 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
.global VX2CommandCutH2x16__FR14VX2DecoderData
|
|
VX2CommandCutH2x16__FR14VX2DecoderData:
|
|
/* 801584D0 00154310 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 801584D4 00154314 7C 08 02 A6 */ mflr r0
|
|
/* 801584D8 00154318 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 801584DC 0015431C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 801584E0 00154320 7C 7F 1B 78 */ mr r31, r3
|
|
/* 801584E4 00154324 48 00 26 5D */ bl VX2DecodeBlockInter2x8__FR14VX2DecoderData
|
|
/* 801584E8 00154328 80 1F 00 00 */ lwz r0, 0x0(r31)
|
|
/* 801584EC 0015432C 7F E3 FB 78 */ mr r3, r31
|
|
/* 801584F0 00154330 80 DF 08 B4 */ lwz r6, 0x8b4(r31)
|
|
/* 801584F4 00154334 54 05 18 38 */ slwi r5, r0, 3
|
|
/* 801584F8 00154338 80 9F 08 B8 */ lwz r4, 0x8b8(r31)
|
|
/* 801584FC 0015433C 54 00 08 3A */ extlwi r0, r0, 30, 1
|
|
/* 80158500 00154340 7C A6 2A 14 */ add r5, r6, r5
|
|
/* 80158504 00154344 90 BF 08 B4 */ stw r5, 0x8b4(r31)
|
|
/* 80158508 00154348 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015850C 0015434C 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 80158510 00154350 48 00 26 31 */ bl VX2DecodeBlockInter2x8__FR14VX2DecoderData
|
|
/* 80158514 00154354 80 7F 00 00 */ lwz r3, 0x0(r31)
|
|
/* 80158518 00154358 80 9F 08 B4 */ lwz r4, 0x8b4(r31)
|
|
/* 8015851C 0015435C 54 65 18 38 */ slwi r5, r3, 3
|
|
/* 80158520 00154360 80 1F 08 B8 */ lwz r0, 0x8b8(r31)
|
|
/* 80158524 00154364 54 63 08 3A */ extlwi r3, r3, 30, 1
|
|
/* 80158528 00154368 7C 85 20 50 */ subf r4, r5, r4
|
|
/* 8015852C 0015436C 90 9F 08 B4 */ stw r4, 0x8b4(r31)
|
|
/* 80158530 00154370 7C 03 00 50 */ subf r0, r3, r0
|
|
/* 80158534 00154374 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 80158538 00154378 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8015853C 0015437C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80158540 00154380 7C 08 03 A6 */ mtlr r0
|
|
/* 80158544 00154384 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80158548 00154388 4E 80 00 20 */ blr
|
|
/* 8015854C 0015438C 00 00 00 00 */ .4byte 0x00000000
|
|
.global VX2DecodeBlockInter2x16__FR14VX2DecoderData
|
|
VX2DecodeBlockInter2x16__FR14VX2DecoderData:
|
|
/* 80158550 00154390 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80158554 00154394 3C 80 80 41 */ lis r4, "@LOCAL@VX2DecodeBlockInter2x16__FR14VX2DecoderData@command"@ha
|
|
/* 80158558 00154398 3C A0 80 41 */ lis r5, "@LOCAL@VX2DecodeBlockInter2x16__FR14VX2DecoderData@size@0"@ha
|
|
/* 8015855C 0015439C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80158560 001543A0 54 C6 36 BA */ rlwinm r6, r6, 6, 26, 29
|
|
/* 80158564 001543A4 38 84 EC 70 */ addi r4, r4, "@LOCAL@VX2DecodeBlockInter2x16__FR14VX2DecoderData@command"@l
|
|
/* 80158568 001543A8 7C C4 30 2E */ lwzx r6, r4, r6
|
|
/* 8015856C 001543AC 38 A5 EC B0 */ addi r5, r5, "@LOCAL@VX2DecodeBlockInter2x16__FR14VX2DecoderData@size@0"@l
|
|
/* 80158570 001543B0 80 83 0A 08 */ lwz r4, 0xa08(r3)
|
|
/* 80158574 001543B4 54 C9 10 3A */ slwi r9, r6, 2
|
|
/* 80158578 001543B8 7C A5 48 2E */ lwzx r5, r5, r9
|
|
/* 8015857C 001543BC 7C E5 00 51 */ subf. r7, r5, r0
|
|
/* 80158580 001543C0 7C 88 28 30 */ slw r8, r4, r5
|
|
/* 80158584 001543C4 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80158588 001543C8 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015858C 001543CC 40 80 00 2C */ bge lbl_801585B8
|
|
/* 80158590 001543D0 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80158594 001543D4 7C C0 26 2C */ lhbrx r6, r0, r4
|
|
/* 80158598 001543D8 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015859C 001543DC 38 84 00 02 */ addi r4, r4, 0x2
|
|
/* 801585A0 001543E0 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 801585A4 001543E4 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 801585A8 001543E8 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 801585AC 001543EC 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 801585B0 001543F0 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 801585B4 001543F4 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
.global lbl_801585B8
|
|
lbl_801585B8:
|
|
/* 801585B8 001543F8 3C 80 80 41 */ lis r4, VX2CommandTable2x16@ha
|
|
/* 801585BC 001543FC 38 84 EC 48 */ addi r4, r4, VX2CommandTable2x16@l
|
|
/* 801585C0 00154400 7D 84 48 2E */ lwzx r12, r4, r9
|
|
/* 801585C4 00154404 7D 89 03 A6 */ mtctr r12
|
|
/* 801585C8 00154408 4E 80 04 20 */ bctr
|
|
/* 801585CC 0015440C 00 00 00 00 */ .4byte 0x00000000
|
|
.include "macros.inc"
|
|
|
|
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
|
|
.global VX2CommandTable2x16
|
|
VX2CommandTable2x16:
|
|
|
|
.4byte VX2CommandSkip12x16__FR14VX2DecoderData
|
|
.4byte VX2CommandBack12x16__FR14VX2DecoderData
|
|
.4byte VX2CommandBack22x16__FR14VX2DecoderData
|
|
.4byte VX2CommandBack32x16__FR14VX2DecoderData
|
|
.4byte VX2CommandBack42x16__FR14VX2DecoderData
|
|
.4byte VX2CommandBack52x16__FR14VX2DecoderData
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte VX2CommandCutH2x16__FR14VX2DecoderData
|
|
.4byte 0
|
|
|
|
.global "@LOCAL@VX2DecodeBlockInter2x16__FR14VX2DecoderData@command"
|
|
"@LOCAL@VX2DecodeBlockInter2x16__FR14VX2DecoderData@command":
|
|
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000001
|
|
.4byte 0x00000005
|
|
.4byte 0x00000004
|
|
.4byte 0x00000002
|
|
.4byte 0x00000002
|
|
.4byte 0x00000008
|
|
.4byte 0x00000003
|
|
.4byte 0
|
|
.4byte 0
|
|
|
|
.global "@LOCAL@VX2DecodeBlockInter2x16__FR14VX2DecoderData@size@0"
|
|
"@LOCAL@VX2DecodeBlockInter2x16__FR14VX2DecoderData@size@0":
|
|
|
|
.4byte 0x00000003
|
|
.4byte 0x00000001
|
|
.4byte 0x00000003
|
|
.4byte 0x00000004
|
|
.4byte 0x00000004
|
|
.4byte 0x00000004
|
|
.4byte 0xFFFFFFFF
|
|
.4byte 0xFFFFFFFF
|
|
.4byte 0x00000004
|
|
.4byte 0xFFFFFFFF
|