donut-decomp/asm/vi/vi3in1.s
2022-10-17 09:07:59 +01:00

2086 lines
89 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global __VISetYUVSEL
__VISetYUVSEL:
/* 8002EDB0 0002ABF0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8002EDB4 0002ABF4 7C 08 02 A6 */ mflr r0
/* 8002EDB8 0002ABF8 3C 80 80 00 */ lis r4, 0x800000CC@ha
/* 8002EDBC 0002ABFC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8002EDC0 0002AC00 80 04 00 CC */ lwz r0, 0x800000CC@l(r4)
/* 8002EDC4 0002AC04 28 00 00 01 */ cmplwi r0, 0x1
/* 8002EDC8 0002AC08 41 82 00 20 */ beq lbl_8002EDE8
/* 8002EDCC 0002AC0C 28 00 00 05 */ cmplwi r0, 0x5
/* 8002EDD0 0002AC10 41 82 00 18 */ beq lbl_8002EDE8
/* 8002EDD4 0002AC14 28 00 00 02 */ cmplwi r0, 0x2
/* 8002EDD8 0002AC18 41 82 00 1C */ beq lbl_8002EDF4
/* 8002EDDC 0002AC1C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8002EDE0 0002AC20 41 82 00 20 */ beq lbl_8002EE00
/* 8002EDE4 0002AC24 48 00 00 28 */ b lbl_8002EE0C
.global lbl_8002EDE8
lbl_8002EDE8:
/* 8002EDE8 0002AC28 38 00 00 02 */ li r0, 0x2
/* 8002EDEC 0002AC2C 90 0D E5 AC */ stw r0, Vdac_Flag_Region@sda21(r13)
/* 8002EDF0 0002AC30 48 00 00 24 */ b lbl_8002EE14
.global lbl_8002EDF4
lbl_8002EDF4:
/* 8002EDF4 0002AC34 38 00 00 01 */ li r0, 0x1
/* 8002EDF8 0002AC38 90 0D E5 AC */ stw r0, Vdac_Flag_Region@sda21(r13)
/* 8002EDFC 0002AC3C 48 00 00 18 */ b lbl_8002EE14
.global lbl_8002EE00
lbl_8002EE00:
/* 8002EE00 0002AC40 38 00 00 00 */ li r0, 0x0
/* 8002EE04 0002AC44 90 0D E5 AC */ stw r0, Vdac_Flag_Region@sda21(r13)
/* 8002EE08 0002AC48 48 00 00 0C */ b lbl_8002EE14
.global lbl_8002EE0C
lbl_8002EE0C:
/* 8002EE0C 0002AC4C 38 00 00 00 */ li r0, 0x0
/* 8002EE10 0002AC50 90 0D E5 AC */ stw r0, Vdac_Flag_Region@sda21(r13)
.global lbl_8002EE14
lbl_8002EE14:
/* 8002EE14 0002AC54 54 63 2C F4 */ rlwinm r3, r3, 5, 19, 26
/* 8002EE18 0002AC58 38 80 00 01 */ li r4, 0x1
/* 8002EE1C 0002AC5C 7C 60 03 78 */ or r0, r3, r0
/* 8002EE20 0002AC60 98 81 00 08 */ stb r4, 0x8(r1)
/* 8002EE24 0002AC64 38 81 00 08 */ addi r4, r1, 0x8
/* 8002EE28 0002AC68 38 60 00 E0 */ li r3, 0xe0
/* 8002EE2C 0002AC6C 98 01 00 09 */ stb r0, 0x9(r1)
/* 8002EE30 0002AC70 38 A0 00 02 */ li r5, 0x2
/* 8002EE34 0002AC74 4B FF FA 3D */ bl __VISendI2CData
/* 8002EE38 0002AC78 38 60 00 02 */ li r3, 0x2
/* 8002EE3C 0002AC7C 4B FF F6 55 */ bl WaitMicroTime
/* 8002EE40 0002AC80 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8002EE44 0002AC84 7C 08 03 A6 */ mtlr r0
/* 8002EE48 0002AC88 38 21 00 10 */ addi r1, r1, 0x10
/* 8002EE4C 0002AC8C 4E 80 00 20 */ blr
.global __VISetFilter4EURGB60
__VISetFilter4EURGB60:
/* 8002EE50 0002AC90 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8002EE54 0002AC94 7C 08 02 A6 */ mflr r0
/* 8002EE58 0002AC98 38 A0 00 02 */ li r5, 0x2
/* 8002EE5C 0002AC9C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8002EE60 0002ACA0 38 00 00 6E */ li r0, 0x6e
/* 8002EE64 0002ACA4 38 81 00 08 */ addi r4, r1, 0x8
/* 8002EE68 0002ACA8 98 61 00 09 */ stb r3, 0x9(r1)
/* 8002EE6C 0002ACAC 38 60 00 E0 */ li r3, 0xe0
/* 8002EE70 0002ACB0 98 01 00 08 */ stb r0, 0x8(r1)
/* 8002EE74 0002ACB4 4B FF F9 FD */ bl __VISendI2CData
/* 8002EE78 0002ACB8 38 60 00 02 */ li r3, 0x2
/* 8002EE7C 0002ACBC 4B FF F6 15 */ bl WaitMicroTime
/* 8002EE80 0002ACC0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8002EE84 0002ACC4 7C 08 03 A6 */ mtlr r0
/* 8002EE88 0002ACC8 38 21 00 10 */ addi r1, r1, 0x10
/* 8002EE8C 0002ACCC 4E 80 00 20 */ blr
.global __VISetCGMS
__VISetCGMS:
/* 8002EE90 0002ACD0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8002EE94 0002ACD4 7C 08 02 A6 */ mflr r0
/* 8002EE98 0002ACD8 38 E0 00 05 */ li r7, 0x5
/* 8002EE9C 0002ACDC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8002EEA0 0002ACE0 38 81 00 08 */ addi r4, r1, 0x8
/* 8002EEA4 0002ACE4 88 6D 81 34 */ lbz r3, __wd0@sda21(r13)
/* 8002EEA8 0002ACE8 88 0D 81 36 */ lbz r0, __wd2@sda21(r13)
/* 8002EEAC 0002ACEC 54 66 07 BE */ clrlwi r6, r3, 30
/* 8002EEB0 0002ACF0 88 AD 81 35 */ lbz r5, __wd1@sda21(r13)
/* 8002EEB4 0002ACF4 98 E1 00 08 */ stb r7, 0x8(r1)
/* 8002EEB8 0002ACF8 38 60 00 E0 */ li r3, 0xe0
/* 8002EEBC 0002ACFC 50 A6 16 BA */ rlwimi r6, r5, 2, 26, 29
/* 8002EEC0 0002AD00 38 A0 00 03 */ li r5, 0x3
/* 8002EEC4 0002AD04 98 C1 00 09 */ stb r6, 0x9(r1)
/* 8002EEC8 0002AD08 98 01 00 0A */ stb r0, 0xa(r1)
/* 8002EECC 0002AD0C 4B FF F9 A5 */ bl __VISendI2CData
/* 8002EED0 0002AD10 38 60 00 02 */ li r3, 0x2
/* 8002EED4 0002AD14 4B FF F5 BD */ bl WaitMicroTime
/* 8002EED8 0002AD18 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8002EEDC 0002AD1C 7C 08 03 A6 */ mtlr r0
/* 8002EEE0 0002AD20 38 21 00 10 */ addi r1, r1, 0x10
/* 8002EEE4 0002AD24 4E 80 00 20 */ blr
/* 8002EEE8 0002AD28 00 00 00 00 */ .4byte 0x00000000
/* 8002EEEC 0002AD2C 00 00 00 00 */ .4byte 0x00000000
.global __VISetWSS
__VISetWSS:
/* 8002EEF0 0002AD30 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8002EEF4 0002AD34 7C 08 02 A6 */ mflr r0
/* 8002EEF8 0002AD38 38 E0 00 08 */ li r7, 0x8
/* 8002EEFC 0002AD3C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8002EF00 0002AD40 38 81 00 08 */ addi r4, r1, 0x8
/* 8002EF04 0002AD44 88 6D 81 37 */ lbz r3, __gp1@sda21(r13)
/* 8002EF08 0002AD48 88 0D 81 39 */ lbz r0, __gp3@sda21(r13)
/* 8002EF0C 0002AD4C 54 65 07 3E */ clrlwi r5, r3, 28
/* 8002EF10 0002AD50 88 CD 81 38 */ lbz r6, __gp2@sda21(r13)
/* 8002EF14 0002AD54 88 6D 81 3A */ lbz r3, __gp4@sda21(r13)
/* 8002EF18 0002AD58 54 00 07 7E */ clrlwi r0, r0, 29
/* 8002EF1C 0002AD5C 50 C5 26 36 */ rlwimi r5, r6, 4, 24, 27
/* 8002EF20 0002AD60 98 A1 00 09 */ stb r5, 0x9(r1)
/* 8002EF24 0002AD64 50 60 1E B8 */ rlwimi r0, r3, 3, 26, 28
/* 8002EF28 0002AD68 38 60 00 E0 */ li r3, 0xe0
/* 8002EF2C 0002AD6C 98 E1 00 08 */ stb r7, 0x8(r1)
/* 8002EF30 0002AD70 38 A0 00 03 */ li r5, 0x3
/* 8002EF34 0002AD74 98 01 00 0A */ stb r0, 0xa(r1)
/* 8002EF38 0002AD78 4B FF F9 39 */ bl __VISendI2CData
/* 8002EF3C 0002AD7C 38 60 00 02 */ li r3, 0x2
/* 8002EF40 0002AD80 4B FF F5 51 */ bl WaitMicroTime
/* 8002EF44 0002AD84 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8002EF48 0002AD88 7C 08 03 A6 */ mtlr r0
/* 8002EF4C 0002AD8C 38 21 00 10 */ addi r1, r1, 0x10
/* 8002EF50 0002AD90 4E 80 00 20 */ blr
/* 8002EF54 0002AD94 00 00 00 00 */ .4byte 0x00000000
/* 8002EF58 0002AD98 00 00 00 00 */ .4byte 0x00000000
/* 8002EF5C 0002AD9C 00 00 00 00 */ .4byte 0x00000000
.global __VISetClosedCaption
__VISetClosedCaption:
/* 8002EF60 0002ADA0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8002EF64 0002ADA4 7C 08 02 A6 */ mflr r0
/* 8002EF68 0002ADA8 39 20 00 7A */ li r9, 0x7a
/* 8002EF6C 0002ADAC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8002EF70 0002ADB0 38 81 00 08 */ addi r4, r1, 0x8
/* 8002EF74 0002ADB4 88 0D 81 3B */ lbz r0, __cc1@sda21(r13)
/* 8002EF78 0002ADB8 88 AD 81 3C */ lbz r5, __cc2@sda21(r13)
/* 8002EF7C 0002ADBC 54 08 06 7E */ clrlwi r8, r0, 25
/* 8002EF80 0002ADC0 88 6D 81 3D */ lbz r3, __cc3@sda21(r13)
/* 8002EF84 0002ADC4 88 0D 81 3E */ lbz r0, __cc4@sda21(r13)
/* 8002EF88 0002ADC8 54 A7 06 7E */ clrlwi r7, r5, 25
/* 8002EF8C 0002ADCC 54 66 06 7E */ clrlwi r6, r3, 25
/* 8002EF90 0002ADD0 99 21 00 08 */ stb r9, 0x8(r1)
/* 8002EF94 0002ADD4 54 00 06 7E */ clrlwi r0, r0, 25
/* 8002EF98 0002ADD8 38 60 00 E0 */ li r3, 0xe0
/* 8002EF9C 0002ADDC 99 01 00 09 */ stb r8, 0x9(r1)
/* 8002EFA0 0002ADE0 38 A0 00 05 */ li r5, 0x5
/* 8002EFA4 0002ADE4 98 E1 00 0A */ stb r7, 0xa(r1)
/* 8002EFA8 0002ADE8 98 C1 00 0B */ stb r6, 0xb(r1)
/* 8002EFAC 0002ADEC 98 01 00 0C */ stb r0, 0xc(r1)
/* 8002EFB0 0002ADF0 4B FF F8 C1 */ bl __VISendI2CData
/* 8002EFB4 0002ADF4 38 60 00 02 */ li r3, 0x2
/* 8002EFB8 0002ADF8 4B FF F4 D9 */ bl WaitMicroTime
/* 8002EFBC 0002ADFC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8002EFC0 0002AE00 7C 08 03 A6 */ mtlr r0
/* 8002EFC4 0002AE04 38 21 00 10 */ addi r1, r1, 0x10
/* 8002EFC8 0002AE08 4E 80 00 20 */ blr
/* 8002EFCC 0002AE0C 00 00 00 00 */ .4byte 0x00000000
.global __VISetMacrovision
__VISetMacrovision:
/* 8002EFD0 0002AE10 94 21 FE 70 */ stwu r1, -0x190(r1)
/* 8002EFD4 0002AE14 7C 08 02 A6 */ mflr r0
/* 8002EFD8 0002AE18 3C 60 80 43 */ lis r3, gammaSet@ha
/* 8002EFDC 0002AE1C 90 01 01 94 */ stw r0, 0x194(r1)
/* 8002EFE0 0002AE20 38 63 01 E8 */ addi r3, r3, gammaSet@l
/* 8002EFE4 0002AE24 93 E1 01 8C */ stw r31, 0x18c(r1)
/* 8002EFE8 0002AE28 93 C1 01 88 */ stw r30, 0x188(r1)
/* 8002EFEC 0002AE2C 93 A1 01 84 */ stw r29, 0x184(r1)
/* 8002EFF0 0002AE30 93 81 01 80 */ stw r28, 0x180(r1)
/* 8002EFF4 0002AE34 80 0D E5 A8 */ lwz r0, __type@sda21(r13)
/* 8002EFF8 0002AE38 2C 00 00 02 */ cmpwi r0, 0x2
/* 8002EFFC 0002AE3C 41 82 00 20 */ beq lbl_8002F01C
/* 8002F000 0002AE40 2C 00 00 03 */ cmpwi r0, 0x3
/* 8002F004 0002AE44 41 82 04 20 */ beq lbl_8002F424
/* 8002F008 0002AE48 2C 00 00 04 */ cmpwi r0, 0x4
/* 8002F00C 0002AE4C 41 82 08 20 */ beq lbl_8002F82C
/* 8002F010 0002AE50 2C 00 00 01 */ cmpwi r0, 0x1
/* 8002F014 0002AE54 41 82 0C 20 */ beq lbl_8002FC34
/* 8002F018 0002AE58 48 00 0D 10 */ b lbl_8002FD28
.global lbl_8002F01C
lbl_8002F01C:
/* 8002F01C 0002AE5C 80 0D 81 30 */ lwz r0, __tvType@sda21(r13)
/* 8002F020 0002AE60 2C 00 00 00 */ cmpwi r0, 0x0
/* 8002F024 0002AE64 41 82 00 20 */ beq lbl_8002F044
/* 8002F028 0002AE68 28 00 00 01 */ cmplwi r0, 0x1
/* 8002F02C 0002AE6C 41 82 01 10 */ beq lbl_8002F13C
/* 8002F030 0002AE70 28 00 00 02 */ cmplwi r0, 0x2
/* 8002F034 0002AE74 41 82 02 00 */ beq lbl_8002F234
/* 8002F038 0002AE78 28 00 00 05 */ cmplwi r0, 0x5
/* 8002F03C 0002AE7C 41 82 02 F0 */ beq lbl_8002F32C
/* 8002F040 0002AE80 48 00 0C E8 */ b lbl_8002FD28
.global lbl_8002F044
lbl_8002F044:
/* 8002F044 0002AE84 3B C3 04 20 */ addi r30, r3, 0x420
/* 8002F048 0002AE88 3B E0 00 40 */ li r31, 0x40
/* 8002F04C 0002AE8C 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002F050 0002AE90 38 81 01 58 */ addi r4, r1, 0x158
/* 8002F054 0002AE94 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002F058 0002AE98 38 60 00 E0 */ li r3, 0xe0
/* 8002F05C 0002AE9C 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002F060 0002AEA0 38 A0 00 1B */ li r5, 0x1b
/* 8002F064 0002AEA4 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002F068 0002AEA8 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002F06C 0002AEAC 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002F070 0002AEB0 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002F074 0002AEB4 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002F078 0002AEB8 9B A1 01 59 */ stb r29, 0x159(r1)
/* 8002F07C 0002AEBC 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002F080 0002AEC0 9B 81 01 5A */ stb r28, 0x15a(r1)
/* 8002F084 0002AEC4 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002F088 0002AEC8 99 81 01 5B */ stb r12, 0x15b(r1)
/* 8002F08C 0002AECC 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002F090 0002AED0 99 61 01 5C */ stb r11, 0x15c(r1)
/* 8002F094 0002AED4 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002F098 0002AED8 99 41 01 5D */ stb r10, 0x15d(r1)
/* 8002F09C 0002AEDC 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002F0A0 0002AEE0 99 21 01 5E */ stb r9, 0x15e(r1)
/* 8002F0A4 0002AEE4 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002F0A8 0002AEE8 99 01 01 5F */ stb r8, 0x15f(r1)
/* 8002F0AC 0002AEEC 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002F0B0 0002AEF0 98 E1 01 60 */ stb r7, 0x160(r1)
/* 8002F0B4 0002AEF4 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002F0B8 0002AEF8 9B A1 01 61 */ stb r29, 0x161(r1)
/* 8002F0BC 0002AEFC 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002F0C0 0002AF00 9B 81 01 62 */ stb r28, 0x162(r1)
/* 8002F0C4 0002AF04 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002F0C8 0002AF08 99 81 01 63 */ stb r12, 0x163(r1)
/* 8002F0CC 0002AF0C 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002F0D0 0002AF10 99 61 01 64 */ stb r11, 0x164(r1)
/* 8002F0D4 0002AF14 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002F0D8 0002AF18 99 41 01 65 */ stb r10, 0x165(r1)
/* 8002F0DC 0002AF1C 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002F0E0 0002AF20 99 21 01 66 */ stb r9, 0x166(r1)
/* 8002F0E4 0002AF24 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002F0E8 0002AF28 99 01 01 67 */ stb r8, 0x167(r1)
/* 8002F0EC 0002AF2C 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002F0F0 0002AF30 98 E1 01 68 */ stb r7, 0x168(r1)
/* 8002F0F4 0002AF34 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002F0F8 0002AF38 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002F0FC 0002AF3C 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002F100 0002AF40 9B E1 01 58 */ stb r31, 0x158(r1)
/* 8002F104 0002AF44 9B A1 01 69 */ stb r29, 0x169(r1)
/* 8002F108 0002AF48 9B 81 01 6A */ stb r28, 0x16a(r1)
/* 8002F10C 0002AF4C 99 81 01 6B */ stb r12, 0x16b(r1)
/* 8002F110 0002AF50 99 61 01 6C */ stb r11, 0x16c(r1)
/* 8002F114 0002AF54 99 41 01 6D */ stb r10, 0x16d(r1)
/* 8002F118 0002AF58 99 21 01 6E */ stb r9, 0x16e(r1)
/* 8002F11C 0002AF5C 99 01 01 6F */ stb r8, 0x16f(r1)
/* 8002F120 0002AF60 98 E1 01 70 */ stb r7, 0x170(r1)
/* 8002F124 0002AF64 98 C1 01 71 */ stb r6, 0x171(r1)
/* 8002F128 0002AF68 98 01 01 72 */ stb r0, 0x172(r1)
/* 8002F12C 0002AF6C 4B FF F7 45 */ bl __VISendI2CData
/* 8002F130 0002AF70 38 60 00 02 */ li r3, 0x2
/* 8002F134 0002AF74 4B FF F3 5D */ bl WaitMicroTime
/* 8002F138 0002AF78 48 00 0B F0 */ b lbl_8002FD28
.global lbl_8002F13C
lbl_8002F13C:
/* 8002F13C 0002AF7C 3B C3 04 74 */ addi r30, r3, 0x474
/* 8002F140 0002AF80 3B E0 00 40 */ li r31, 0x40
/* 8002F144 0002AF84 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002F148 0002AF88 38 81 01 3C */ addi r4, r1, 0x13c
/* 8002F14C 0002AF8C 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002F150 0002AF90 38 60 00 E0 */ li r3, 0xe0
/* 8002F154 0002AF94 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002F158 0002AF98 38 A0 00 1B */ li r5, 0x1b
/* 8002F15C 0002AF9C 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002F160 0002AFA0 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002F164 0002AFA4 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002F168 0002AFA8 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002F16C 0002AFAC 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002F170 0002AFB0 9B A1 01 3D */ stb r29, 0x13d(r1)
/* 8002F174 0002AFB4 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002F178 0002AFB8 9B 81 01 3E */ stb r28, 0x13e(r1)
/* 8002F17C 0002AFBC 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002F180 0002AFC0 99 81 01 3F */ stb r12, 0x13f(r1)
/* 8002F184 0002AFC4 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002F188 0002AFC8 99 61 01 40 */ stb r11, 0x140(r1)
/* 8002F18C 0002AFCC 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002F190 0002AFD0 99 41 01 41 */ stb r10, 0x141(r1)
/* 8002F194 0002AFD4 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002F198 0002AFD8 99 21 01 42 */ stb r9, 0x142(r1)
/* 8002F19C 0002AFDC 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002F1A0 0002AFE0 99 01 01 43 */ stb r8, 0x143(r1)
/* 8002F1A4 0002AFE4 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002F1A8 0002AFE8 98 E1 01 44 */ stb r7, 0x144(r1)
/* 8002F1AC 0002AFEC 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002F1B0 0002AFF0 9B A1 01 45 */ stb r29, 0x145(r1)
/* 8002F1B4 0002AFF4 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002F1B8 0002AFF8 9B 81 01 46 */ stb r28, 0x146(r1)
/* 8002F1BC 0002AFFC 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002F1C0 0002B000 99 81 01 47 */ stb r12, 0x147(r1)
/* 8002F1C4 0002B004 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002F1C8 0002B008 99 61 01 48 */ stb r11, 0x148(r1)
/* 8002F1CC 0002B00C 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002F1D0 0002B010 99 41 01 49 */ stb r10, 0x149(r1)
/* 8002F1D4 0002B014 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002F1D8 0002B018 99 21 01 4A */ stb r9, 0x14a(r1)
/* 8002F1DC 0002B01C 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002F1E0 0002B020 99 01 01 4B */ stb r8, 0x14b(r1)
/* 8002F1E4 0002B024 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002F1E8 0002B028 98 E1 01 4C */ stb r7, 0x14c(r1)
/* 8002F1EC 0002B02C 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002F1F0 0002B030 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002F1F4 0002B034 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002F1F8 0002B038 9B E1 01 3C */ stb r31, 0x13c(r1)
/* 8002F1FC 0002B03C 9B A1 01 4D */ stb r29, 0x14d(r1)
/* 8002F200 0002B040 9B 81 01 4E */ stb r28, 0x14e(r1)
/* 8002F204 0002B044 99 81 01 4F */ stb r12, 0x14f(r1)
/* 8002F208 0002B048 99 61 01 50 */ stb r11, 0x150(r1)
/* 8002F20C 0002B04C 99 41 01 51 */ stb r10, 0x151(r1)
/* 8002F210 0002B050 99 21 01 52 */ stb r9, 0x152(r1)
/* 8002F214 0002B054 99 01 01 53 */ stb r8, 0x153(r1)
/* 8002F218 0002B058 98 E1 01 54 */ stb r7, 0x154(r1)
/* 8002F21C 0002B05C 98 C1 01 55 */ stb r6, 0x155(r1)
/* 8002F220 0002B060 98 01 01 56 */ stb r0, 0x156(r1)
/* 8002F224 0002B064 4B FF F6 4D */ bl __VISendI2CData
/* 8002F228 0002B068 38 60 00 02 */ li r3, 0x2
/* 8002F22C 0002B06C 4B FF F2 65 */ bl WaitMicroTime
/* 8002F230 0002B070 48 00 0A F8 */ b lbl_8002FD28
.global lbl_8002F234
lbl_8002F234:
/* 8002F234 0002B074 3B C3 05 1C */ addi r30, r3, 0x51c
/* 8002F238 0002B078 3B E0 00 40 */ li r31, 0x40
/* 8002F23C 0002B07C 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002F240 0002B080 38 81 01 20 */ addi r4, r1, 0x120
/* 8002F244 0002B084 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002F248 0002B088 38 60 00 E0 */ li r3, 0xe0
/* 8002F24C 0002B08C 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002F250 0002B090 38 A0 00 1B */ li r5, 0x1b
/* 8002F254 0002B094 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002F258 0002B098 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002F25C 0002B09C 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002F260 0002B0A0 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002F264 0002B0A4 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002F268 0002B0A8 9B A1 01 21 */ stb r29, 0x121(r1)
/* 8002F26C 0002B0AC 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002F270 0002B0B0 9B 81 01 22 */ stb r28, 0x122(r1)
/* 8002F274 0002B0B4 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002F278 0002B0B8 99 81 01 23 */ stb r12, 0x123(r1)
/* 8002F27C 0002B0BC 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002F280 0002B0C0 99 61 01 24 */ stb r11, 0x124(r1)
/* 8002F284 0002B0C4 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002F288 0002B0C8 99 41 01 25 */ stb r10, 0x125(r1)
/* 8002F28C 0002B0CC 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002F290 0002B0D0 99 21 01 26 */ stb r9, 0x126(r1)
/* 8002F294 0002B0D4 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002F298 0002B0D8 99 01 01 27 */ stb r8, 0x127(r1)
/* 8002F29C 0002B0DC 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002F2A0 0002B0E0 98 E1 01 28 */ stb r7, 0x128(r1)
/* 8002F2A4 0002B0E4 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002F2A8 0002B0E8 9B A1 01 29 */ stb r29, 0x129(r1)
/* 8002F2AC 0002B0EC 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002F2B0 0002B0F0 9B 81 01 2A */ stb r28, 0x12a(r1)
/* 8002F2B4 0002B0F4 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002F2B8 0002B0F8 99 81 01 2B */ stb r12, 0x12b(r1)
/* 8002F2BC 0002B0FC 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002F2C0 0002B100 99 61 01 2C */ stb r11, 0x12c(r1)
/* 8002F2C4 0002B104 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002F2C8 0002B108 99 41 01 2D */ stb r10, 0x12d(r1)
/* 8002F2CC 0002B10C 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002F2D0 0002B110 99 21 01 2E */ stb r9, 0x12e(r1)
/* 8002F2D4 0002B114 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002F2D8 0002B118 99 01 01 2F */ stb r8, 0x12f(r1)
/* 8002F2DC 0002B11C 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002F2E0 0002B120 98 E1 01 30 */ stb r7, 0x130(r1)
/* 8002F2E4 0002B124 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002F2E8 0002B128 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002F2EC 0002B12C 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002F2F0 0002B130 9B E1 01 20 */ stb r31, 0x120(r1)
/* 8002F2F4 0002B134 9B A1 01 31 */ stb r29, 0x131(r1)
/* 8002F2F8 0002B138 9B 81 01 32 */ stb r28, 0x132(r1)
/* 8002F2FC 0002B13C 99 81 01 33 */ stb r12, 0x133(r1)
/* 8002F300 0002B140 99 61 01 34 */ stb r11, 0x134(r1)
/* 8002F304 0002B144 99 41 01 35 */ stb r10, 0x135(r1)
/* 8002F308 0002B148 99 21 01 36 */ stb r9, 0x136(r1)
/* 8002F30C 0002B14C 99 01 01 37 */ stb r8, 0x137(r1)
/* 8002F310 0002B150 98 E1 01 38 */ stb r7, 0x138(r1)
/* 8002F314 0002B154 98 C1 01 39 */ stb r6, 0x139(r1)
/* 8002F318 0002B158 98 01 01 3A */ stb r0, 0x13a(r1)
/* 8002F31C 0002B15C 4B FF F5 55 */ bl __VISendI2CData
/* 8002F320 0002B160 38 60 00 02 */ li r3, 0x2
/* 8002F324 0002B164 4B FF F1 6D */ bl WaitMicroTime
/* 8002F328 0002B168 48 00 0A 00 */ b lbl_8002FD28
.global lbl_8002F32C
lbl_8002F32C:
/* 8002F32C 0002B16C 3B C3 04 C8 */ addi r30, r3, 0x4c8
/* 8002F330 0002B170 3B E0 00 40 */ li r31, 0x40
/* 8002F334 0002B174 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002F338 0002B178 38 81 01 04 */ addi r4, r1, 0x104
/* 8002F33C 0002B17C 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002F340 0002B180 38 60 00 E0 */ li r3, 0xe0
/* 8002F344 0002B184 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002F348 0002B188 38 A0 00 1B */ li r5, 0x1b
/* 8002F34C 0002B18C 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002F350 0002B190 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002F354 0002B194 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002F358 0002B198 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002F35C 0002B19C 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002F360 0002B1A0 9B A1 01 05 */ stb r29, 0x105(r1)
/* 8002F364 0002B1A4 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002F368 0002B1A8 9B 81 01 06 */ stb r28, 0x106(r1)
/* 8002F36C 0002B1AC 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002F370 0002B1B0 99 81 01 07 */ stb r12, 0x107(r1)
/* 8002F374 0002B1B4 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002F378 0002B1B8 99 61 01 08 */ stb r11, 0x108(r1)
/* 8002F37C 0002B1BC 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002F380 0002B1C0 99 41 01 09 */ stb r10, 0x109(r1)
/* 8002F384 0002B1C4 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002F388 0002B1C8 99 21 01 0A */ stb r9, 0x10a(r1)
/* 8002F38C 0002B1CC 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002F390 0002B1D0 99 01 01 0B */ stb r8, 0x10b(r1)
/* 8002F394 0002B1D4 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002F398 0002B1D8 98 E1 01 0C */ stb r7, 0x10c(r1)
/* 8002F39C 0002B1DC 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002F3A0 0002B1E0 9B A1 01 0D */ stb r29, 0x10d(r1)
/* 8002F3A4 0002B1E4 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002F3A8 0002B1E8 9B 81 01 0E */ stb r28, 0x10e(r1)
/* 8002F3AC 0002B1EC 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002F3B0 0002B1F0 99 81 01 0F */ stb r12, 0x10f(r1)
/* 8002F3B4 0002B1F4 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002F3B8 0002B1F8 99 61 01 10 */ stb r11, 0x110(r1)
/* 8002F3BC 0002B1FC 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002F3C0 0002B200 99 41 01 11 */ stb r10, 0x111(r1)
/* 8002F3C4 0002B204 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002F3C8 0002B208 99 21 01 12 */ stb r9, 0x112(r1)
/* 8002F3CC 0002B20C 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002F3D0 0002B210 99 01 01 13 */ stb r8, 0x113(r1)
/* 8002F3D4 0002B214 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002F3D8 0002B218 98 E1 01 14 */ stb r7, 0x114(r1)
/* 8002F3DC 0002B21C 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002F3E0 0002B220 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002F3E4 0002B224 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002F3E8 0002B228 9B E1 01 04 */ stb r31, 0x104(r1)
/* 8002F3EC 0002B22C 9B A1 01 15 */ stb r29, 0x115(r1)
/* 8002F3F0 0002B230 9B 81 01 16 */ stb r28, 0x116(r1)
/* 8002F3F4 0002B234 99 81 01 17 */ stb r12, 0x117(r1)
/* 8002F3F8 0002B238 99 61 01 18 */ stb r11, 0x118(r1)
/* 8002F3FC 0002B23C 99 41 01 19 */ stb r10, 0x119(r1)
/* 8002F400 0002B240 99 21 01 1A */ stb r9, 0x11a(r1)
/* 8002F404 0002B244 99 01 01 1B */ stb r8, 0x11b(r1)
/* 8002F408 0002B248 98 E1 01 1C */ stb r7, 0x11c(r1)
/* 8002F40C 0002B24C 98 C1 01 1D */ stb r6, 0x11d(r1)
/* 8002F410 0002B250 98 01 01 1E */ stb r0, 0x11e(r1)
/* 8002F414 0002B254 4B FF F4 5D */ bl __VISendI2CData
/* 8002F418 0002B258 38 60 00 02 */ li r3, 0x2
/* 8002F41C 0002B25C 4B FF F0 75 */ bl WaitMicroTime
/* 8002F420 0002B260 48 00 09 08 */ b lbl_8002FD28
.global lbl_8002F424
lbl_8002F424:
/* 8002F424 0002B264 80 0D 81 30 */ lwz r0, __tvType@sda21(r13)
/* 8002F428 0002B268 2C 00 00 00 */ cmpwi r0, 0x0
/* 8002F42C 0002B26C 41 82 00 20 */ beq lbl_8002F44C
/* 8002F430 0002B270 28 00 00 01 */ cmplwi r0, 0x1
/* 8002F434 0002B274 41 82 01 10 */ beq lbl_8002F544
/* 8002F438 0002B278 28 00 00 02 */ cmplwi r0, 0x2
/* 8002F43C 0002B27C 41 82 02 00 */ beq lbl_8002F63C
/* 8002F440 0002B280 28 00 00 05 */ cmplwi r0, 0x5
/* 8002F444 0002B284 41 82 02 F0 */ beq lbl_8002F734
/* 8002F448 0002B288 48 00 08 E0 */ b lbl_8002FD28
.global lbl_8002F44C
lbl_8002F44C:
/* 8002F44C 0002B28C 3B C3 04 3C */ addi r30, r3, 0x43c
/* 8002F450 0002B290 3B E0 00 40 */ li r31, 0x40
/* 8002F454 0002B294 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002F458 0002B298 38 81 00 E8 */ addi r4, r1, 0xe8
/* 8002F45C 0002B29C 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002F460 0002B2A0 38 60 00 E0 */ li r3, 0xe0
/* 8002F464 0002B2A4 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002F468 0002B2A8 38 A0 00 1B */ li r5, 0x1b
/* 8002F46C 0002B2AC 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002F470 0002B2B0 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002F474 0002B2B4 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002F478 0002B2B8 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002F47C 0002B2BC 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002F480 0002B2C0 9B A1 00 E9 */ stb r29, 0xe9(r1)
/* 8002F484 0002B2C4 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002F488 0002B2C8 9B 81 00 EA */ stb r28, 0xea(r1)
/* 8002F48C 0002B2CC 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002F490 0002B2D0 99 81 00 EB */ stb r12, 0xeb(r1)
/* 8002F494 0002B2D4 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002F498 0002B2D8 99 61 00 EC */ stb r11, 0xec(r1)
/* 8002F49C 0002B2DC 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002F4A0 0002B2E0 99 41 00 ED */ stb r10, 0xed(r1)
/* 8002F4A4 0002B2E4 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002F4A8 0002B2E8 99 21 00 EE */ stb r9, 0xee(r1)
/* 8002F4AC 0002B2EC 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002F4B0 0002B2F0 99 01 00 EF */ stb r8, 0xef(r1)
/* 8002F4B4 0002B2F4 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002F4B8 0002B2F8 98 E1 00 F0 */ stb r7, 0xf0(r1)
/* 8002F4BC 0002B2FC 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002F4C0 0002B300 9B A1 00 F1 */ stb r29, 0xf1(r1)
/* 8002F4C4 0002B304 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002F4C8 0002B308 9B 81 00 F2 */ stb r28, 0xf2(r1)
/* 8002F4CC 0002B30C 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002F4D0 0002B310 99 81 00 F3 */ stb r12, 0xf3(r1)
/* 8002F4D4 0002B314 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002F4D8 0002B318 99 61 00 F4 */ stb r11, 0xf4(r1)
/* 8002F4DC 0002B31C 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002F4E0 0002B320 99 41 00 F5 */ stb r10, 0xf5(r1)
/* 8002F4E4 0002B324 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002F4E8 0002B328 99 21 00 F6 */ stb r9, 0xf6(r1)
/* 8002F4EC 0002B32C 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002F4F0 0002B330 99 01 00 F7 */ stb r8, 0xf7(r1)
/* 8002F4F4 0002B334 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002F4F8 0002B338 98 E1 00 F8 */ stb r7, 0xf8(r1)
/* 8002F4FC 0002B33C 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002F500 0002B340 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002F504 0002B344 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002F508 0002B348 9B E1 00 E8 */ stb r31, 0xe8(r1)
/* 8002F50C 0002B34C 9B A1 00 F9 */ stb r29, 0xf9(r1)
/* 8002F510 0002B350 9B 81 00 FA */ stb r28, 0xfa(r1)
/* 8002F514 0002B354 99 81 00 FB */ stb r12, 0xfb(r1)
/* 8002F518 0002B358 99 61 00 FC */ stb r11, 0xfc(r1)
/* 8002F51C 0002B35C 99 41 00 FD */ stb r10, 0xfd(r1)
/* 8002F520 0002B360 99 21 00 FE */ stb r9, 0xfe(r1)
/* 8002F524 0002B364 99 01 00 FF */ stb r8, 0xff(r1)
/* 8002F528 0002B368 98 E1 01 00 */ stb r7, 0x100(r1)
/* 8002F52C 0002B36C 98 C1 01 01 */ stb r6, 0x101(r1)
/* 8002F530 0002B370 98 01 01 02 */ stb r0, 0x102(r1)
/* 8002F534 0002B374 4B FF F3 3D */ bl __VISendI2CData
/* 8002F538 0002B378 38 60 00 02 */ li r3, 0x2
/* 8002F53C 0002B37C 4B FF EF 55 */ bl WaitMicroTime
/* 8002F540 0002B380 48 00 07 E8 */ b lbl_8002FD28
.global lbl_8002F544
lbl_8002F544:
/* 8002F544 0002B384 3B C3 04 90 */ addi r30, r3, 0x490
/* 8002F548 0002B388 3B E0 00 40 */ li r31, 0x40
/* 8002F54C 0002B38C 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002F550 0002B390 38 81 00 CC */ addi r4, r1, 0xcc
/* 8002F554 0002B394 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002F558 0002B398 38 60 00 E0 */ li r3, 0xe0
/* 8002F55C 0002B39C 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002F560 0002B3A0 38 A0 00 1B */ li r5, 0x1b
/* 8002F564 0002B3A4 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002F568 0002B3A8 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002F56C 0002B3AC 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002F570 0002B3B0 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002F574 0002B3B4 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002F578 0002B3B8 9B A1 00 CD */ stb r29, 0xcd(r1)
/* 8002F57C 0002B3BC 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002F580 0002B3C0 9B 81 00 CE */ stb r28, 0xce(r1)
/* 8002F584 0002B3C4 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002F588 0002B3C8 99 81 00 CF */ stb r12, 0xcf(r1)
/* 8002F58C 0002B3CC 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002F590 0002B3D0 99 61 00 D0 */ stb r11, 0xd0(r1)
/* 8002F594 0002B3D4 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002F598 0002B3D8 99 41 00 D1 */ stb r10, 0xd1(r1)
/* 8002F59C 0002B3DC 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002F5A0 0002B3E0 99 21 00 D2 */ stb r9, 0xd2(r1)
/* 8002F5A4 0002B3E4 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002F5A8 0002B3E8 99 01 00 D3 */ stb r8, 0xd3(r1)
/* 8002F5AC 0002B3EC 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002F5B0 0002B3F0 98 E1 00 D4 */ stb r7, 0xd4(r1)
/* 8002F5B4 0002B3F4 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002F5B8 0002B3F8 9B A1 00 D5 */ stb r29, 0xd5(r1)
/* 8002F5BC 0002B3FC 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002F5C0 0002B400 9B 81 00 D6 */ stb r28, 0xd6(r1)
/* 8002F5C4 0002B404 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002F5C8 0002B408 99 81 00 D7 */ stb r12, 0xd7(r1)
/* 8002F5CC 0002B40C 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002F5D0 0002B410 99 61 00 D8 */ stb r11, 0xd8(r1)
/* 8002F5D4 0002B414 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002F5D8 0002B418 99 41 00 D9 */ stb r10, 0xd9(r1)
/* 8002F5DC 0002B41C 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002F5E0 0002B420 99 21 00 DA */ stb r9, 0xda(r1)
/* 8002F5E4 0002B424 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002F5E8 0002B428 99 01 00 DB */ stb r8, 0xdb(r1)
/* 8002F5EC 0002B42C 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002F5F0 0002B430 98 E1 00 DC */ stb r7, 0xdc(r1)
/* 8002F5F4 0002B434 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002F5F8 0002B438 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002F5FC 0002B43C 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002F600 0002B440 9B E1 00 CC */ stb r31, 0xcc(r1)
/* 8002F604 0002B444 9B A1 00 DD */ stb r29, 0xdd(r1)
/* 8002F608 0002B448 9B 81 00 DE */ stb r28, 0xde(r1)
/* 8002F60C 0002B44C 99 81 00 DF */ stb r12, 0xdf(r1)
/* 8002F610 0002B450 99 61 00 E0 */ stb r11, 0xe0(r1)
/* 8002F614 0002B454 99 41 00 E1 */ stb r10, 0xe1(r1)
/* 8002F618 0002B458 99 21 00 E2 */ stb r9, 0xe2(r1)
/* 8002F61C 0002B45C 99 01 00 E3 */ stb r8, 0xe3(r1)
/* 8002F620 0002B460 98 E1 00 E4 */ stb r7, 0xe4(r1)
/* 8002F624 0002B464 98 C1 00 E5 */ stb r6, 0xe5(r1)
/* 8002F628 0002B468 98 01 00 E6 */ stb r0, 0xe6(r1)
/* 8002F62C 0002B46C 4B FF F2 45 */ bl __VISendI2CData
/* 8002F630 0002B470 38 60 00 02 */ li r3, 0x2
/* 8002F634 0002B474 4B FF EE 5D */ bl WaitMicroTime
/* 8002F638 0002B478 48 00 06 F0 */ b lbl_8002FD28
.global lbl_8002F63C
lbl_8002F63C:
/* 8002F63C 0002B47C 3B C3 05 38 */ addi r30, r3, 0x538
/* 8002F640 0002B480 3B E0 00 40 */ li r31, 0x40
/* 8002F644 0002B484 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002F648 0002B488 38 81 00 B0 */ addi r4, r1, 0xb0
/* 8002F64C 0002B48C 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002F650 0002B490 38 60 00 E0 */ li r3, 0xe0
/* 8002F654 0002B494 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002F658 0002B498 38 A0 00 1B */ li r5, 0x1b
/* 8002F65C 0002B49C 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002F660 0002B4A0 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002F664 0002B4A4 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002F668 0002B4A8 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002F66C 0002B4AC 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002F670 0002B4B0 9B A1 00 B1 */ stb r29, 0xb1(r1)
/* 8002F674 0002B4B4 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002F678 0002B4B8 9B 81 00 B2 */ stb r28, 0xb2(r1)
/* 8002F67C 0002B4BC 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002F680 0002B4C0 99 81 00 B3 */ stb r12, 0xb3(r1)
/* 8002F684 0002B4C4 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002F688 0002B4C8 99 61 00 B4 */ stb r11, 0xb4(r1)
/* 8002F68C 0002B4CC 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002F690 0002B4D0 99 41 00 B5 */ stb r10, 0xb5(r1)
/* 8002F694 0002B4D4 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002F698 0002B4D8 99 21 00 B6 */ stb r9, 0xb6(r1)
/* 8002F69C 0002B4DC 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002F6A0 0002B4E0 99 01 00 B7 */ stb r8, 0xb7(r1)
/* 8002F6A4 0002B4E4 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002F6A8 0002B4E8 98 E1 00 B8 */ stb r7, 0xb8(r1)
/* 8002F6AC 0002B4EC 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002F6B0 0002B4F0 9B A1 00 B9 */ stb r29, 0xb9(r1)
/* 8002F6B4 0002B4F4 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002F6B8 0002B4F8 9B 81 00 BA */ stb r28, 0xba(r1)
/* 8002F6BC 0002B4FC 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002F6C0 0002B500 99 81 00 BB */ stb r12, 0xbb(r1)
/* 8002F6C4 0002B504 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002F6C8 0002B508 99 61 00 BC */ stb r11, 0xbc(r1)
/* 8002F6CC 0002B50C 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002F6D0 0002B510 99 41 00 BD */ stb r10, 0xbd(r1)
/* 8002F6D4 0002B514 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002F6D8 0002B518 99 21 00 BE */ stb r9, 0xbe(r1)
/* 8002F6DC 0002B51C 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002F6E0 0002B520 99 01 00 BF */ stb r8, 0xbf(r1)
/* 8002F6E4 0002B524 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002F6E8 0002B528 98 E1 00 C0 */ stb r7, 0xc0(r1)
/* 8002F6EC 0002B52C 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002F6F0 0002B530 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002F6F4 0002B534 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002F6F8 0002B538 9B E1 00 B0 */ stb r31, 0xb0(r1)
/* 8002F6FC 0002B53C 9B A1 00 C1 */ stb r29, 0xc1(r1)
/* 8002F700 0002B540 9B 81 00 C2 */ stb r28, 0xc2(r1)
/* 8002F704 0002B544 99 81 00 C3 */ stb r12, 0xc3(r1)
/* 8002F708 0002B548 99 61 00 C4 */ stb r11, 0xc4(r1)
/* 8002F70C 0002B54C 99 41 00 C5 */ stb r10, 0xc5(r1)
/* 8002F710 0002B550 99 21 00 C6 */ stb r9, 0xc6(r1)
/* 8002F714 0002B554 99 01 00 C7 */ stb r8, 0xc7(r1)
/* 8002F718 0002B558 98 E1 00 C8 */ stb r7, 0xc8(r1)
/* 8002F71C 0002B55C 98 C1 00 C9 */ stb r6, 0xc9(r1)
/* 8002F720 0002B560 98 01 00 CA */ stb r0, 0xca(r1)
/* 8002F724 0002B564 4B FF F1 4D */ bl __VISendI2CData
/* 8002F728 0002B568 38 60 00 02 */ li r3, 0x2
/* 8002F72C 0002B56C 4B FF ED 65 */ bl WaitMicroTime
/* 8002F730 0002B570 48 00 05 F8 */ b lbl_8002FD28
.global lbl_8002F734
lbl_8002F734:
/* 8002F734 0002B574 3B C3 04 E4 */ addi r30, r3, 0x4e4
/* 8002F738 0002B578 3B E0 00 40 */ li r31, 0x40
/* 8002F73C 0002B57C 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002F740 0002B580 38 81 00 94 */ addi r4, r1, 0x94
/* 8002F744 0002B584 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002F748 0002B588 38 60 00 E0 */ li r3, 0xe0
/* 8002F74C 0002B58C 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002F750 0002B590 38 A0 00 1B */ li r5, 0x1b
/* 8002F754 0002B594 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002F758 0002B598 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002F75C 0002B59C 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002F760 0002B5A0 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002F764 0002B5A4 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002F768 0002B5A8 9B A1 00 95 */ stb r29, 0x95(r1)
/* 8002F76C 0002B5AC 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002F770 0002B5B0 9B 81 00 96 */ stb r28, 0x96(r1)
/* 8002F774 0002B5B4 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002F778 0002B5B8 99 81 00 97 */ stb r12, 0x97(r1)
/* 8002F77C 0002B5BC 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002F780 0002B5C0 99 61 00 98 */ stb r11, 0x98(r1)
/* 8002F784 0002B5C4 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002F788 0002B5C8 99 41 00 99 */ stb r10, 0x99(r1)
/* 8002F78C 0002B5CC 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002F790 0002B5D0 99 21 00 9A */ stb r9, 0x9a(r1)
/* 8002F794 0002B5D4 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002F798 0002B5D8 99 01 00 9B */ stb r8, 0x9b(r1)
/* 8002F79C 0002B5DC 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002F7A0 0002B5E0 98 E1 00 9C */ stb r7, 0x9c(r1)
/* 8002F7A4 0002B5E4 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002F7A8 0002B5E8 9B A1 00 9D */ stb r29, 0x9d(r1)
/* 8002F7AC 0002B5EC 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002F7B0 0002B5F0 9B 81 00 9E */ stb r28, 0x9e(r1)
/* 8002F7B4 0002B5F4 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002F7B8 0002B5F8 99 81 00 9F */ stb r12, 0x9f(r1)
/* 8002F7BC 0002B5FC 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002F7C0 0002B600 99 61 00 A0 */ stb r11, 0xa0(r1)
/* 8002F7C4 0002B604 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002F7C8 0002B608 99 41 00 A1 */ stb r10, 0xa1(r1)
/* 8002F7CC 0002B60C 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002F7D0 0002B610 99 21 00 A2 */ stb r9, 0xa2(r1)
/* 8002F7D4 0002B614 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002F7D8 0002B618 99 01 00 A3 */ stb r8, 0xa3(r1)
/* 8002F7DC 0002B61C 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002F7E0 0002B620 98 E1 00 A4 */ stb r7, 0xa4(r1)
/* 8002F7E4 0002B624 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002F7E8 0002B628 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002F7EC 0002B62C 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002F7F0 0002B630 9B E1 00 94 */ stb r31, 0x94(r1)
/* 8002F7F4 0002B634 9B A1 00 A5 */ stb r29, 0xa5(r1)
/* 8002F7F8 0002B638 9B 81 00 A6 */ stb r28, 0xa6(r1)
/* 8002F7FC 0002B63C 99 81 00 A7 */ stb r12, 0xa7(r1)
/* 8002F800 0002B640 99 61 00 A8 */ stb r11, 0xa8(r1)
/* 8002F804 0002B644 99 41 00 A9 */ stb r10, 0xa9(r1)
/* 8002F808 0002B648 99 21 00 AA */ stb r9, 0xaa(r1)
/* 8002F80C 0002B64C 99 01 00 AB */ stb r8, 0xab(r1)
/* 8002F810 0002B650 98 E1 00 AC */ stb r7, 0xac(r1)
/* 8002F814 0002B654 98 C1 00 AD */ stb r6, 0xad(r1)
/* 8002F818 0002B658 98 01 00 AE */ stb r0, 0xae(r1)
/* 8002F81C 0002B65C 4B FF F0 55 */ bl __VISendI2CData
/* 8002F820 0002B660 38 60 00 02 */ li r3, 0x2
/* 8002F824 0002B664 4B FF EC 6D */ bl WaitMicroTime
/* 8002F828 0002B668 48 00 05 00 */ b lbl_8002FD28
.global lbl_8002F82C
lbl_8002F82C:
/* 8002F82C 0002B66C 80 0D 81 30 */ lwz r0, __tvType@sda21(r13)
/* 8002F830 0002B670 2C 00 00 00 */ cmpwi r0, 0x0
/* 8002F834 0002B674 41 82 00 20 */ beq lbl_8002F854
/* 8002F838 0002B678 28 00 00 01 */ cmplwi r0, 0x1
/* 8002F83C 0002B67C 41 82 01 10 */ beq lbl_8002F94C
/* 8002F840 0002B680 28 00 00 02 */ cmplwi r0, 0x2
/* 8002F844 0002B684 41 82 02 00 */ beq lbl_8002FA44
/* 8002F848 0002B688 28 00 00 05 */ cmplwi r0, 0x5
/* 8002F84C 0002B68C 41 82 02 F0 */ beq lbl_8002FB3C
/* 8002F850 0002B690 48 00 04 D8 */ b lbl_8002FD28
.global lbl_8002F854
lbl_8002F854:
/* 8002F854 0002B694 3B C3 04 58 */ addi r30, r3, 0x458
/* 8002F858 0002B698 3B E0 00 40 */ li r31, 0x40
/* 8002F85C 0002B69C 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002F860 0002B6A0 38 81 00 78 */ addi r4, r1, 0x78
/* 8002F864 0002B6A4 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002F868 0002B6A8 38 60 00 E0 */ li r3, 0xe0
/* 8002F86C 0002B6AC 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002F870 0002B6B0 38 A0 00 1B */ li r5, 0x1b
/* 8002F874 0002B6B4 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002F878 0002B6B8 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002F87C 0002B6BC 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002F880 0002B6C0 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002F884 0002B6C4 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002F888 0002B6C8 9B A1 00 79 */ stb r29, 0x79(r1)
/* 8002F88C 0002B6CC 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002F890 0002B6D0 9B 81 00 7A */ stb r28, 0x7a(r1)
/* 8002F894 0002B6D4 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002F898 0002B6D8 99 81 00 7B */ stb r12, 0x7b(r1)
/* 8002F89C 0002B6DC 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002F8A0 0002B6E0 99 61 00 7C */ stb r11, 0x7c(r1)
/* 8002F8A4 0002B6E4 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002F8A8 0002B6E8 99 41 00 7D */ stb r10, 0x7d(r1)
/* 8002F8AC 0002B6EC 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002F8B0 0002B6F0 99 21 00 7E */ stb r9, 0x7e(r1)
/* 8002F8B4 0002B6F4 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002F8B8 0002B6F8 99 01 00 7F */ stb r8, 0x7f(r1)
/* 8002F8BC 0002B6FC 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002F8C0 0002B700 98 E1 00 80 */ stb r7, 0x80(r1)
/* 8002F8C4 0002B704 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002F8C8 0002B708 9B A1 00 81 */ stb r29, 0x81(r1)
/* 8002F8CC 0002B70C 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002F8D0 0002B710 9B 81 00 82 */ stb r28, 0x82(r1)
/* 8002F8D4 0002B714 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002F8D8 0002B718 99 81 00 83 */ stb r12, 0x83(r1)
/* 8002F8DC 0002B71C 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002F8E0 0002B720 99 61 00 84 */ stb r11, 0x84(r1)
/* 8002F8E4 0002B724 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002F8E8 0002B728 99 41 00 85 */ stb r10, 0x85(r1)
/* 8002F8EC 0002B72C 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002F8F0 0002B730 99 21 00 86 */ stb r9, 0x86(r1)
/* 8002F8F4 0002B734 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002F8F8 0002B738 99 01 00 87 */ stb r8, 0x87(r1)
/* 8002F8FC 0002B73C 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002F900 0002B740 98 E1 00 88 */ stb r7, 0x88(r1)
/* 8002F904 0002B744 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002F908 0002B748 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002F90C 0002B74C 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002F910 0002B750 9B E1 00 78 */ stb r31, 0x78(r1)
/* 8002F914 0002B754 9B A1 00 89 */ stb r29, 0x89(r1)
/* 8002F918 0002B758 9B 81 00 8A */ stb r28, 0x8a(r1)
/* 8002F91C 0002B75C 99 81 00 8B */ stb r12, 0x8b(r1)
/* 8002F920 0002B760 99 61 00 8C */ stb r11, 0x8c(r1)
/* 8002F924 0002B764 99 41 00 8D */ stb r10, 0x8d(r1)
/* 8002F928 0002B768 99 21 00 8E */ stb r9, 0x8e(r1)
/* 8002F92C 0002B76C 99 01 00 8F */ stb r8, 0x8f(r1)
/* 8002F930 0002B770 98 E1 00 90 */ stb r7, 0x90(r1)
/* 8002F934 0002B774 98 C1 00 91 */ stb r6, 0x91(r1)
/* 8002F938 0002B778 98 01 00 92 */ stb r0, 0x92(r1)
/* 8002F93C 0002B77C 4B FF EF 35 */ bl __VISendI2CData
/* 8002F940 0002B780 38 60 00 02 */ li r3, 0x2
/* 8002F944 0002B784 4B FF EB 4D */ bl WaitMicroTime
/* 8002F948 0002B788 48 00 03 E0 */ b lbl_8002FD28
.global lbl_8002F94C
lbl_8002F94C:
/* 8002F94C 0002B78C 3B C3 04 AC */ addi r30, r3, 0x4ac
/* 8002F950 0002B790 3B E0 00 40 */ li r31, 0x40
/* 8002F954 0002B794 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002F958 0002B798 38 81 00 5C */ addi r4, r1, 0x5c
/* 8002F95C 0002B79C 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002F960 0002B7A0 38 60 00 E0 */ li r3, 0xe0
/* 8002F964 0002B7A4 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002F968 0002B7A8 38 A0 00 1B */ li r5, 0x1b
/* 8002F96C 0002B7AC 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002F970 0002B7B0 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002F974 0002B7B4 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002F978 0002B7B8 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002F97C 0002B7BC 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002F980 0002B7C0 9B A1 00 5D */ stb r29, 0x5d(r1)
/* 8002F984 0002B7C4 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002F988 0002B7C8 9B 81 00 5E */ stb r28, 0x5e(r1)
/* 8002F98C 0002B7CC 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002F990 0002B7D0 99 81 00 5F */ stb r12, 0x5f(r1)
/* 8002F994 0002B7D4 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002F998 0002B7D8 99 61 00 60 */ stb r11, 0x60(r1)
/* 8002F99C 0002B7DC 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002F9A0 0002B7E0 99 41 00 61 */ stb r10, 0x61(r1)
/* 8002F9A4 0002B7E4 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002F9A8 0002B7E8 99 21 00 62 */ stb r9, 0x62(r1)
/* 8002F9AC 0002B7EC 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002F9B0 0002B7F0 99 01 00 63 */ stb r8, 0x63(r1)
/* 8002F9B4 0002B7F4 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002F9B8 0002B7F8 98 E1 00 64 */ stb r7, 0x64(r1)
/* 8002F9BC 0002B7FC 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002F9C0 0002B800 9B A1 00 65 */ stb r29, 0x65(r1)
/* 8002F9C4 0002B804 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002F9C8 0002B808 9B 81 00 66 */ stb r28, 0x66(r1)
/* 8002F9CC 0002B80C 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002F9D0 0002B810 99 81 00 67 */ stb r12, 0x67(r1)
/* 8002F9D4 0002B814 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002F9D8 0002B818 99 61 00 68 */ stb r11, 0x68(r1)
/* 8002F9DC 0002B81C 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002F9E0 0002B820 99 41 00 69 */ stb r10, 0x69(r1)
/* 8002F9E4 0002B824 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002F9E8 0002B828 99 21 00 6A */ stb r9, 0x6a(r1)
/* 8002F9EC 0002B82C 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002F9F0 0002B830 99 01 00 6B */ stb r8, 0x6b(r1)
/* 8002F9F4 0002B834 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002F9F8 0002B838 98 E1 00 6C */ stb r7, 0x6c(r1)
/* 8002F9FC 0002B83C 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002FA00 0002B840 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002FA04 0002B844 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002FA08 0002B848 9B E1 00 5C */ stb r31, 0x5c(r1)
/* 8002FA0C 0002B84C 9B A1 00 6D */ stb r29, 0x6d(r1)
/* 8002FA10 0002B850 9B 81 00 6E */ stb r28, 0x6e(r1)
/* 8002FA14 0002B854 99 81 00 6F */ stb r12, 0x6f(r1)
/* 8002FA18 0002B858 99 61 00 70 */ stb r11, 0x70(r1)
/* 8002FA1C 0002B85C 99 41 00 71 */ stb r10, 0x71(r1)
/* 8002FA20 0002B860 99 21 00 72 */ stb r9, 0x72(r1)
/* 8002FA24 0002B864 99 01 00 73 */ stb r8, 0x73(r1)
/* 8002FA28 0002B868 98 E1 00 74 */ stb r7, 0x74(r1)
/* 8002FA2C 0002B86C 98 C1 00 75 */ stb r6, 0x75(r1)
/* 8002FA30 0002B870 98 01 00 76 */ stb r0, 0x76(r1)
/* 8002FA34 0002B874 4B FF EE 3D */ bl __VISendI2CData
/* 8002FA38 0002B878 38 60 00 02 */ li r3, 0x2
/* 8002FA3C 0002B87C 4B FF EA 55 */ bl WaitMicroTime
/* 8002FA40 0002B880 48 00 02 E8 */ b lbl_8002FD28
.global lbl_8002FA44
lbl_8002FA44:
/* 8002FA44 0002B884 3B C3 05 54 */ addi r30, r3, 0x554
/* 8002FA48 0002B888 3B E0 00 40 */ li r31, 0x40
/* 8002FA4C 0002B88C 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002FA50 0002B890 38 81 00 40 */ addi r4, r1, 0x40
/* 8002FA54 0002B894 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002FA58 0002B898 38 60 00 E0 */ li r3, 0xe0
/* 8002FA5C 0002B89C 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002FA60 0002B8A0 38 A0 00 1B */ li r5, 0x1b
/* 8002FA64 0002B8A4 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002FA68 0002B8A8 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002FA6C 0002B8AC 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002FA70 0002B8B0 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002FA74 0002B8B4 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002FA78 0002B8B8 9B A1 00 41 */ stb r29, 0x41(r1)
/* 8002FA7C 0002B8BC 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002FA80 0002B8C0 9B 81 00 42 */ stb r28, 0x42(r1)
/* 8002FA84 0002B8C4 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002FA88 0002B8C8 99 81 00 43 */ stb r12, 0x43(r1)
/* 8002FA8C 0002B8CC 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002FA90 0002B8D0 99 61 00 44 */ stb r11, 0x44(r1)
/* 8002FA94 0002B8D4 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002FA98 0002B8D8 99 41 00 45 */ stb r10, 0x45(r1)
/* 8002FA9C 0002B8DC 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002FAA0 0002B8E0 99 21 00 46 */ stb r9, 0x46(r1)
/* 8002FAA4 0002B8E4 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002FAA8 0002B8E8 99 01 00 47 */ stb r8, 0x47(r1)
/* 8002FAAC 0002B8EC 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002FAB0 0002B8F0 98 E1 00 48 */ stb r7, 0x48(r1)
/* 8002FAB4 0002B8F4 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002FAB8 0002B8F8 9B A1 00 49 */ stb r29, 0x49(r1)
/* 8002FABC 0002B8FC 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002FAC0 0002B900 9B 81 00 4A */ stb r28, 0x4a(r1)
/* 8002FAC4 0002B904 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002FAC8 0002B908 99 81 00 4B */ stb r12, 0x4b(r1)
/* 8002FACC 0002B90C 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002FAD0 0002B910 99 61 00 4C */ stb r11, 0x4c(r1)
/* 8002FAD4 0002B914 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002FAD8 0002B918 99 41 00 4D */ stb r10, 0x4d(r1)
/* 8002FADC 0002B91C 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002FAE0 0002B920 99 21 00 4E */ stb r9, 0x4e(r1)
/* 8002FAE4 0002B924 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002FAE8 0002B928 99 01 00 4F */ stb r8, 0x4f(r1)
/* 8002FAEC 0002B92C 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002FAF0 0002B930 98 E1 00 50 */ stb r7, 0x50(r1)
/* 8002FAF4 0002B934 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002FAF8 0002B938 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002FAFC 0002B93C 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002FB00 0002B940 9B E1 00 40 */ stb r31, 0x40(r1)
/* 8002FB04 0002B944 9B A1 00 51 */ stb r29, 0x51(r1)
/* 8002FB08 0002B948 9B 81 00 52 */ stb r28, 0x52(r1)
/* 8002FB0C 0002B94C 99 81 00 53 */ stb r12, 0x53(r1)
/* 8002FB10 0002B950 99 61 00 54 */ stb r11, 0x54(r1)
/* 8002FB14 0002B954 99 41 00 55 */ stb r10, 0x55(r1)
/* 8002FB18 0002B958 99 21 00 56 */ stb r9, 0x56(r1)
/* 8002FB1C 0002B95C 99 01 00 57 */ stb r8, 0x57(r1)
/* 8002FB20 0002B960 98 E1 00 58 */ stb r7, 0x58(r1)
/* 8002FB24 0002B964 98 C1 00 59 */ stb r6, 0x59(r1)
/* 8002FB28 0002B968 98 01 00 5A */ stb r0, 0x5a(r1)
/* 8002FB2C 0002B96C 4B FF ED 45 */ bl __VISendI2CData
/* 8002FB30 0002B970 38 60 00 02 */ li r3, 0x2
/* 8002FB34 0002B974 4B FF E9 5D */ bl WaitMicroTime
/* 8002FB38 0002B978 48 00 01 F0 */ b lbl_8002FD28
.global lbl_8002FB3C
lbl_8002FB3C:
/* 8002FB3C 0002B97C 3B C3 05 00 */ addi r30, r3, 0x500
/* 8002FB40 0002B980 3B E0 00 40 */ li r31, 0x40
/* 8002FB44 0002B984 8B BE 00 00 */ lbz r29, 0x0(r30)
/* 8002FB48 0002B988 38 81 00 24 */ addi r4, r1, 0x24
/* 8002FB4C 0002B98C 8B 9E 00 01 */ lbz r28, 0x1(r30)
/* 8002FB50 0002B990 38 60 00 E0 */ li r3, 0xe0
/* 8002FB54 0002B994 89 9E 00 02 */ lbz r12, 0x2(r30)
/* 8002FB58 0002B998 38 A0 00 1B */ li r5, 0x1b
/* 8002FB5C 0002B99C 89 7E 00 03 */ lbz r11, 0x3(r30)
/* 8002FB60 0002B9A0 89 5E 00 04 */ lbz r10, 0x4(r30)
/* 8002FB64 0002B9A4 89 3E 00 05 */ lbz r9, 0x5(r30)
/* 8002FB68 0002B9A8 89 1E 00 06 */ lbz r8, 0x6(r30)
/* 8002FB6C 0002B9AC 88 FE 00 07 */ lbz r7, 0x7(r30)
/* 8002FB70 0002B9B0 9B A1 00 25 */ stb r29, 0x25(r1)
/* 8002FB74 0002B9B4 8B BE 00 08 */ lbz r29, 0x8(r30)
/* 8002FB78 0002B9B8 9B 81 00 26 */ stb r28, 0x26(r1)
/* 8002FB7C 0002B9BC 8B 9E 00 09 */ lbz r28, 0x9(r30)
/* 8002FB80 0002B9C0 99 81 00 27 */ stb r12, 0x27(r1)
/* 8002FB84 0002B9C4 89 9E 00 0A */ lbz r12, 0xa(r30)
/* 8002FB88 0002B9C8 99 61 00 28 */ stb r11, 0x28(r1)
/* 8002FB8C 0002B9CC 89 7E 00 0B */ lbz r11, 0xb(r30)
/* 8002FB90 0002B9D0 99 41 00 29 */ stb r10, 0x29(r1)
/* 8002FB94 0002B9D4 89 5E 00 0C */ lbz r10, 0xc(r30)
/* 8002FB98 0002B9D8 99 21 00 2A */ stb r9, 0x2a(r1)
/* 8002FB9C 0002B9DC 89 3E 00 0D */ lbz r9, 0xd(r30)
/* 8002FBA0 0002B9E0 99 01 00 2B */ stb r8, 0x2b(r1)
/* 8002FBA4 0002B9E4 89 1E 00 0E */ lbz r8, 0xe(r30)
/* 8002FBA8 0002B9E8 98 E1 00 2C */ stb r7, 0x2c(r1)
/* 8002FBAC 0002B9EC 88 FE 00 0F */ lbz r7, 0xf(r30)
/* 8002FBB0 0002B9F0 9B A1 00 2D */ stb r29, 0x2d(r1)
/* 8002FBB4 0002B9F4 8B BE 00 10 */ lbz r29, 0x10(r30)
/* 8002FBB8 0002B9F8 9B 81 00 2E */ stb r28, 0x2e(r1)
/* 8002FBBC 0002B9FC 8B 9E 00 11 */ lbz r28, 0x11(r30)
/* 8002FBC0 0002BA00 99 81 00 2F */ stb r12, 0x2f(r1)
/* 8002FBC4 0002BA04 89 9E 00 12 */ lbz r12, 0x12(r30)
/* 8002FBC8 0002BA08 99 61 00 30 */ stb r11, 0x30(r1)
/* 8002FBCC 0002BA0C 89 7E 00 13 */ lbz r11, 0x13(r30)
/* 8002FBD0 0002BA10 99 41 00 31 */ stb r10, 0x31(r1)
/* 8002FBD4 0002BA14 89 5E 00 14 */ lbz r10, 0x14(r30)
/* 8002FBD8 0002BA18 99 21 00 32 */ stb r9, 0x32(r1)
/* 8002FBDC 0002BA1C 89 3E 00 15 */ lbz r9, 0x15(r30)
/* 8002FBE0 0002BA20 99 01 00 33 */ stb r8, 0x33(r1)
/* 8002FBE4 0002BA24 89 1E 00 16 */ lbz r8, 0x16(r30)
/* 8002FBE8 0002BA28 98 E1 00 34 */ stb r7, 0x34(r1)
/* 8002FBEC 0002BA2C 88 FE 00 17 */ lbz r7, 0x17(r30)
/* 8002FBF0 0002BA30 88 DE 00 18 */ lbz r6, 0x18(r30)
/* 8002FBF4 0002BA34 88 1E 00 19 */ lbz r0, 0x19(r30)
/* 8002FBF8 0002BA38 9B E1 00 24 */ stb r31, 0x24(r1)
/* 8002FBFC 0002BA3C 9B A1 00 35 */ stb r29, 0x35(r1)
/* 8002FC00 0002BA40 9B 81 00 36 */ stb r28, 0x36(r1)
/* 8002FC04 0002BA44 99 81 00 37 */ stb r12, 0x37(r1)
/* 8002FC08 0002BA48 99 61 00 38 */ stb r11, 0x38(r1)
/* 8002FC0C 0002BA4C 99 41 00 39 */ stb r10, 0x39(r1)
/* 8002FC10 0002BA50 99 21 00 3A */ stb r9, 0x3a(r1)
/* 8002FC14 0002BA54 99 01 00 3B */ stb r8, 0x3b(r1)
/* 8002FC18 0002BA58 98 E1 00 3C */ stb r7, 0x3c(r1)
/* 8002FC1C 0002BA5C 98 C1 00 3D */ stb r6, 0x3d(r1)
/* 8002FC20 0002BA60 98 01 00 3E */ stb r0, 0x3e(r1)
/* 8002FC24 0002BA64 4B FF EC 4D */ bl __VISendI2CData
/* 8002FC28 0002BA68 38 60 00 02 */ li r3, 0x2
/* 8002FC2C 0002BA6C 4B FF E8 65 */ bl WaitMicroTime
/* 8002FC30 0002BA70 48 00 00 F8 */ b lbl_8002FD28
.global lbl_8002FC34
lbl_8002FC34:
/* 8002FC34 0002BA74 3F A0 80 4A */ lis r29, VIZeroACPType@ha
/* 8002FC38 0002BA78 8F DD A6 E0 */ lbzu r30, VIZeroACPType@l(r29)
/* 8002FC3C 0002BA7C 9B C1 00 09 */ stb r30, 0x9(r1)
/* 8002FC40 0002BA80 3B 80 00 40 */ li r28, 0x40
/* 8002FC44 0002BA84 8B FD 00 01 */ lbz r31, 0x1(r29)
/* 8002FC48 0002BA88 38 81 00 08 */ addi r4, r1, 0x8
/* 8002FC4C 0002BA8C 89 9D 00 02 */ lbz r12, 0x2(r29)
/* 8002FC50 0002BA90 38 60 00 E0 */ li r3, 0xe0
/* 8002FC54 0002BA94 89 7D 00 03 */ lbz r11, 0x3(r29)
/* 8002FC58 0002BA98 38 A0 00 1B */ li r5, 0x1b
/* 8002FC5C 0002BA9C 89 5D 00 04 */ lbz r10, 0x4(r29)
/* 8002FC60 0002BAA0 89 3D 00 05 */ lbz r9, 0x5(r29)
/* 8002FC64 0002BAA4 89 1D 00 06 */ lbz r8, 0x6(r29)
/* 8002FC68 0002BAA8 88 FD 00 07 */ lbz r7, 0x7(r29)
/* 8002FC6C 0002BAAC 8B DD 00 08 */ lbz r30, 0x8(r29)
/* 8002FC70 0002BAB0 9B E1 00 0A */ stb r31, 0xa(r1)
/* 8002FC74 0002BAB4 8B FD 00 09 */ lbz r31, 0x9(r29)
/* 8002FC78 0002BAB8 99 81 00 0B */ stb r12, 0xb(r1)
/* 8002FC7C 0002BABC 89 9D 00 0A */ lbz r12, 0xa(r29)
/* 8002FC80 0002BAC0 99 61 00 0C */ stb r11, 0xc(r1)
/* 8002FC84 0002BAC4 89 7D 00 0B */ lbz r11, 0xb(r29)
/* 8002FC88 0002BAC8 99 41 00 0D */ stb r10, 0xd(r1)
/* 8002FC8C 0002BACC 89 5D 00 0C */ lbz r10, 0xc(r29)
/* 8002FC90 0002BAD0 99 21 00 0E */ stb r9, 0xe(r1)
/* 8002FC94 0002BAD4 89 3D 00 0D */ lbz r9, 0xd(r29)
/* 8002FC98 0002BAD8 99 01 00 0F */ stb r8, 0xf(r1)
/* 8002FC9C 0002BADC 89 1D 00 0E */ lbz r8, 0xe(r29)
/* 8002FCA0 0002BAE0 98 E1 00 10 */ stb r7, 0x10(r1)
/* 8002FCA4 0002BAE4 88 FD 00 0F */ lbz r7, 0xf(r29)
/* 8002FCA8 0002BAE8 9B C1 00 11 */ stb r30, 0x11(r1)
/* 8002FCAC 0002BAEC 8B DD 00 10 */ lbz r30, 0x10(r29)
/* 8002FCB0 0002BAF0 9B E1 00 12 */ stb r31, 0x12(r1)
/* 8002FCB4 0002BAF4 8B FD 00 11 */ lbz r31, 0x11(r29)
/* 8002FCB8 0002BAF8 99 81 00 13 */ stb r12, 0x13(r1)
/* 8002FCBC 0002BAFC 89 9D 00 12 */ lbz r12, 0x12(r29)
/* 8002FCC0 0002BB00 99 61 00 14 */ stb r11, 0x14(r1)
/* 8002FCC4 0002BB04 89 7D 00 13 */ lbz r11, 0x13(r29)
/* 8002FCC8 0002BB08 99 41 00 15 */ stb r10, 0x15(r1)
/* 8002FCCC 0002BB0C 89 5D 00 14 */ lbz r10, 0x14(r29)
/* 8002FCD0 0002BB10 99 21 00 16 */ stb r9, 0x16(r1)
/* 8002FCD4 0002BB14 89 3D 00 15 */ lbz r9, 0x15(r29)
/* 8002FCD8 0002BB18 99 01 00 17 */ stb r8, 0x17(r1)
/* 8002FCDC 0002BB1C 89 1D 00 16 */ lbz r8, 0x16(r29)
/* 8002FCE0 0002BB20 98 E1 00 18 */ stb r7, 0x18(r1)
/* 8002FCE4 0002BB24 88 FD 00 17 */ lbz r7, 0x17(r29)
/* 8002FCE8 0002BB28 88 DD 00 18 */ lbz r6, 0x18(r29)
/* 8002FCEC 0002BB2C 88 1D 00 19 */ lbz r0, 0x19(r29)
/* 8002FCF0 0002BB30 9B 81 00 08 */ stb r28, 0x8(r1)
/* 8002FCF4 0002BB34 9B C1 00 19 */ stb r30, 0x19(r1)
/* 8002FCF8 0002BB38 9B E1 00 1A */ stb r31, 0x1a(r1)
/* 8002FCFC 0002BB3C 99 81 00 1B */ stb r12, 0x1b(r1)
/* 8002FD00 0002BB40 99 61 00 1C */ stb r11, 0x1c(r1)
/* 8002FD04 0002BB44 99 41 00 1D */ stb r10, 0x1d(r1)
/* 8002FD08 0002BB48 99 21 00 1E */ stb r9, 0x1e(r1)
/* 8002FD0C 0002BB4C 99 01 00 1F */ stb r8, 0x1f(r1)
/* 8002FD10 0002BB50 98 E1 00 20 */ stb r7, 0x20(r1)
/* 8002FD14 0002BB54 98 C1 00 21 */ stb r6, 0x21(r1)
/* 8002FD18 0002BB58 98 01 00 22 */ stb r0, 0x22(r1)
/* 8002FD1C 0002BB5C 4B FF EB 55 */ bl __VISendI2CData
/* 8002FD20 0002BB60 38 60 00 02 */ li r3, 0x2
/* 8002FD24 0002BB64 4B FF E7 6D */ bl WaitMicroTime
.global lbl_8002FD28
lbl_8002FD28:
/* 8002FD28 0002BB68 80 01 01 94 */ lwz r0, 0x194(r1)
/* 8002FD2C 0002BB6C 83 E1 01 8C */ lwz r31, 0x18c(r1)
/* 8002FD30 0002BB70 83 C1 01 88 */ lwz r30, 0x188(r1)
/* 8002FD34 0002BB74 83 A1 01 84 */ lwz r29, 0x184(r1)
/* 8002FD38 0002BB78 83 81 01 80 */ lwz r28, 0x180(r1)
/* 8002FD3C 0002BB7C 7C 08 03 A6 */ mtlr r0
/* 8002FD40 0002BB80 38 21 01 90 */ addi r1, r1, 0x190
/* 8002FD44 0002BB84 4E 80 00 20 */ blr
/* 8002FD48 0002BB88 00 00 00 00 */ .4byte 0x00000000
/* 8002FD4C 0002BB8C 00 00 00 00 */ .4byte 0x00000000
.global __VISetGammaImm
__VISetGammaImm:
/* 8002FD50 0002BB90 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8002FD54 0002BB94 7C 08 02 A6 */ mflr r0
/* 8002FD58 0002BB98 38 A0 00 22 */ li r5, 0x22
/* 8002FD5C 0002BB9C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8002FD60 0002BBA0 38 00 00 10 */ li r0, 0x10
/* 8002FD64 0002BBA4 38 81 00 08 */ addi r4, r1, 0x8
/* 8002FD68 0002BBA8 98 01 00 08 */ stb r0, 0x8(r1)
/* 8002FD6C 0002BBAC A0 03 00 00 */ lhz r0, 0x0(r3)
/* 8002FD70 0002BBB0 98 01 00 0A */ stb r0, 0xa(r1)
/* 8002FD74 0002BBB4 54 00 C6 3E */ extrwi r0, r0, 8, 16
/* 8002FD78 0002BBB8 98 01 00 09 */ stb r0, 0x9(r1)
/* 8002FD7C 0002BBBC A0 03 00 02 */ lhz r0, 0x2(r3)
/* 8002FD80 0002BBC0 98 01 00 0C */ stb r0, 0xc(r1)
/* 8002FD84 0002BBC4 54 00 C6 3E */ extrwi r0, r0, 8, 16
/* 8002FD88 0002BBC8 98 01 00 0B */ stb r0, 0xb(r1)
/* 8002FD8C 0002BBCC A0 03 00 04 */ lhz r0, 0x4(r3)
/* 8002FD90 0002BBD0 98 01 00 0E */ stb r0, 0xe(r1)
/* 8002FD94 0002BBD4 54 00 C6 3E */ extrwi r0, r0, 8, 16
/* 8002FD98 0002BBD8 98 01 00 0D */ stb r0, 0xd(r1)
/* 8002FD9C 0002BBDC A0 03 00 06 */ lhz r0, 0x6(r3)
/* 8002FDA0 0002BBE0 98 01 00 10 */ stb r0, 0x10(r1)
/* 8002FDA4 0002BBE4 54 00 C6 3E */ extrwi r0, r0, 8, 16
/* 8002FDA8 0002BBE8 98 01 00 0F */ stb r0, 0xf(r1)
/* 8002FDAC 0002BBEC A0 03 00 08 */ lhz r0, 0x8(r3)
/* 8002FDB0 0002BBF0 98 01 00 12 */ stb r0, 0x12(r1)
/* 8002FDB4 0002BBF4 54 00 C6 3E */ extrwi r0, r0, 8, 16
/* 8002FDB8 0002BBF8 98 01 00 11 */ stb r0, 0x11(r1)
/* 8002FDBC 0002BBFC A0 03 00 0A */ lhz r0, 0xa(r3)
/* 8002FDC0 0002BC00 98 01 00 14 */ stb r0, 0x14(r1)
/* 8002FDC4 0002BC04 54 00 C6 3E */ extrwi r0, r0, 8, 16
/* 8002FDC8 0002BC08 98 01 00 13 */ stb r0, 0x13(r1)
/* 8002FDCC 0002BC0C 88 03 00 0C */ lbz r0, 0xc(r3)
/* 8002FDD0 0002BC10 98 01 00 15 */ stb r0, 0x15(r1)
/* 8002FDD4 0002BC14 88 03 00 0D */ lbz r0, 0xd(r3)
/* 8002FDD8 0002BC18 98 01 00 16 */ stb r0, 0x16(r1)
/* 8002FDDC 0002BC1C 88 03 00 0E */ lbz r0, 0xe(r3)
/* 8002FDE0 0002BC20 98 01 00 17 */ stb r0, 0x17(r1)
/* 8002FDE4 0002BC24 88 03 00 0F */ lbz r0, 0xf(r3)
/* 8002FDE8 0002BC28 98 01 00 18 */ stb r0, 0x18(r1)
/* 8002FDEC 0002BC2C 88 03 00 10 */ lbz r0, 0x10(r3)
/* 8002FDF0 0002BC30 98 01 00 19 */ stb r0, 0x19(r1)
/* 8002FDF4 0002BC34 88 03 00 11 */ lbz r0, 0x11(r3)
/* 8002FDF8 0002BC38 98 01 00 1A */ stb r0, 0x1a(r1)
/* 8002FDFC 0002BC3C 88 03 00 12 */ lbz r0, 0x12(r3)
/* 8002FE00 0002BC40 98 01 00 1B */ stb r0, 0x1b(r1)
/* 8002FE04 0002BC44 A0 03 00 14 */ lhz r0, 0x14(r3)
/* 8002FE08 0002BC48 54 06 C6 3E */ extrwi r6, r0, 8, 16
/* 8002FE0C 0002BC4C 54 00 06 32 */ rlwinm r0, r0, 0, 24, 25
/* 8002FE10 0002BC50 98 C1 00 1C */ stb r6, 0x1c(r1)
/* 8002FE14 0002BC54 98 01 00 1D */ stb r0, 0x1d(r1)
/* 8002FE18 0002BC58 A0 03 00 16 */ lhz r0, 0x16(r3)
/* 8002FE1C 0002BC5C 54 06 C6 3E */ extrwi r6, r0, 8, 16
/* 8002FE20 0002BC60 54 00 06 32 */ rlwinm r0, r0, 0, 24, 25
/* 8002FE24 0002BC64 98 C1 00 1E */ stb r6, 0x1e(r1)
/* 8002FE28 0002BC68 98 01 00 1F */ stb r0, 0x1f(r1)
/* 8002FE2C 0002BC6C A0 03 00 18 */ lhz r0, 0x18(r3)
/* 8002FE30 0002BC70 54 06 C6 3E */ extrwi r6, r0, 8, 16
/* 8002FE34 0002BC74 54 00 06 32 */ rlwinm r0, r0, 0, 24, 25
/* 8002FE38 0002BC78 98 C1 00 20 */ stb r6, 0x20(r1)
/* 8002FE3C 0002BC7C 98 01 00 21 */ stb r0, 0x21(r1)
/* 8002FE40 0002BC80 A0 03 00 1A */ lhz r0, 0x1a(r3)
/* 8002FE44 0002BC84 54 06 C6 3E */ extrwi r6, r0, 8, 16
/* 8002FE48 0002BC88 54 00 06 32 */ rlwinm r0, r0, 0, 24, 25
/* 8002FE4C 0002BC8C 98 C1 00 22 */ stb r6, 0x22(r1)
/* 8002FE50 0002BC90 98 01 00 23 */ stb r0, 0x23(r1)
/* 8002FE54 0002BC94 A0 03 00 1C */ lhz r0, 0x1c(r3)
/* 8002FE58 0002BC98 54 06 C6 3E */ extrwi r6, r0, 8, 16
/* 8002FE5C 0002BC9C 54 00 06 32 */ rlwinm r0, r0, 0, 24, 25
/* 8002FE60 0002BCA0 98 C1 00 24 */ stb r6, 0x24(r1)
/* 8002FE64 0002BCA4 98 01 00 25 */ stb r0, 0x25(r1)
/* 8002FE68 0002BCA8 A0 03 00 1E */ lhz r0, 0x1e(r3)
/* 8002FE6C 0002BCAC 54 06 C6 3E */ extrwi r6, r0, 8, 16
/* 8002FE70 0002BCB0 54 00 06 32 */ rlwinm r0, r0, 0, 24, 25
/* 8002FE74 0002BCB4 98 C1 00 26 */ stb r6, 0x26(r1)
/* 8002FE78 0002BCB8 98 01 00 27 */ stb r0, 0x27(r1)
/* 8002FE7C 0002BCBC A0 03 00 20 */ lhz r0, 0x20(r3)
/* 8002FE80 0002BCC0 38 60 00 E0 */ li r3, 0xe0
/* 8002FE84 0002BCC4 54 06 C6 3E */ extrwi r6, r0, 8, 16
/* 8002FE88 0002BCC8 54 00 06 32 */ rlwinm r0, r0, 0, 24, 25
/* 8002FE8C 0002BCCC 98 C1 00 28 */ stb r6, 0x28(r1)
/* 8002FE90 0002BCD0 98 01 00 29 */ stb r0, 0x29(r1)
/* 8002FE94 0002BCD4 4B FF E9 DD */ bl __VISendI2CData
/* 8002FE98 0002BCD8 38 60 00 02 */ li r3, 0x2
/* 8002FE9C 0002BCDC 4B FF E5 F5 */ bl WaitMicroTime
/* 8002FEA0 0002BCE0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8002FEA4 0002BCE4 7C 08 03 A6 */ mtlr r0
/* 8002FEA8 0002BCE8 38 21 00 30 */ addi r1, r1, 0x30
/* 8002FEAC 0002BCEC 4E 80 00 20 */ blr
.global __VISetGamma1_0
__VISetGamma1_0:
/* 8002FEB0 0002BCF0 3C 60 80 43 */ lis r3, gammaSet@ha
/* 8002FEB4 0002BCF4 38 63 01 E8 */ addi r3, r3, gammaSet@l
/* 8002FEB8 0002BCF8 38 63 01 54 */ addi r3, r3, 0x154
/* 8002FEBC 0002BCFC 4B FF FE 94 */ b __VISetGammaImm
.global __VISetGamma
__VISetGamma:
/* 8002FEC0 0002BD00 80 0D E5 A4 */ lwz r0, __gamma@sda21(r13)
/* 8002FEC4 0002BD04 3C 60 80 43 */ lis r3, gammaSet@ha
/* 8002FEC8 0002BD08 38 63 01 E8 */ addi r3, r3, gammaSet@l
/* 8002FECC 0002BD0C 1C 00 00 22 */ mulli r0, r0, 0x22
/* 8002FED0 0002BD10 7C 63 02 14 */ add r3, r3, r0
/* 8002FED4 0002BD14 4B FF FE 7C */ b __VISetGammaImm
/* 8002FED8 0002BD18 00 00 00 00 */ .4byte 0x00000000
/* 8002FEDC 0002BD1C 00 00 00 00 */ .4byte 0x00000000
.global __VISetTrapFilter
__VISetTrapFilter:
/* 8002FEE0 0002BD20 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8002FEE4 0002BD24 7C 08 02 A6 */ mflr r0
/* 8002FEE8 0002BD28 38 60 00 03 */ li r3, 0x3
/* 8002FEEC 0002BD2C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8002FEF0 0002BD30 88 0D 81 3F */ lbz r0, __filter@sda21(r13)
/* 8002FEF4 0002BD34 98 61 00 08 */ stb r3, 0x8(r1)
/* 8002FEF8 0002BD38 28 00 00 01 */ cmplwi r0, 0x1
/* 8002FEFC 0002BD3C 40 82 00 10 */ bne lbl_8002FF0C
/* 8002FF00 0002BD40 38 00 00 00 */ li r0, 0x0
/* 8002FF04 0002BD44 98 01 00 09 */ stb r0, 0x9(r1)
/* 8002FF08 0002BD48 48 00 00 0C */ b lbl_8002FF14
.global lbl_8002FF0C
lbl_8002FF0C:
/* 8002FF0C 0002BD4C 38 00 00 01 */ li r0, 0x1
/* 8002FF10 0002BD50 98 01 00 09 */ stb r0, 0x9(r1)
.global lbl_8002FF14
lbl_8002FF14:
/* 8002FF14 0002BD54 38 81 00 08 */ addi r4, r1, 0x8
/* 8002FF18 0002BD58 38 60 00 E0 */ li r3, 0xe0
/* 8002FF1C 0002BD5C 38 A0 00 02 */ li r5, 0x2
/* 8002FF20 0002BD60 4B FF E9 51 */ bl __VISendI2CData
/* 8002FF24 0002BD64 38 60 00 02 */ li r3, 0x2
/* 8002FF28 0002BD68 4B FF E5 69 */ bl WaitMicroTime
/* 8002FF2C 0002BD6C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8002FF30 0002BD70 7C 08 03 A6 */ mtlr r0
/* 8002FF34 0002BD74 38 21 00 10 */ addi r1, r1, 0x10
/* 8002FF38 0002BD78 4E 80 00 20 */ blr
/* 8002FF3C 0002BD7C 00 00 00 00 */ .4byte 0x00000000
.global __VISetRGBOverDrive
__VISetRGBOverDrive:
/* 8002FF40 0002BD80 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8002FF44 0002BD84 7C 08 02 A6 */ mflr r0
/* 8002FF48 0002BD88 90 01 00 14 */ stw r0, 0x14(r1)
/* 8002FF4C 0002BD8C 80 0D E5 AC */ lwz r0, Vdac_Flag_Region@sda21(r13)
/* 8002FF50 0002BD90 2C 00 00 03 */ cmpwi r0, 0x3
/* 8002FF54 0002BD94 40 82 00 38 */ bne lbl_8002FF8C
/* 8002FF58 0002BD98 80 0D E5 A0 */ lwz r0, __level@sda21(r13)
/* 8002FF5C 0002BD9C 38 60 00 0A */ li r3, 0xa
/* 8002FF60 0002BDA0 98 61 00 08 */ stb r3, 0x8(r1)
/* 8002FF64 0002BDA4 38 81 00 08 */ addi r4, r1, 0x8
/* 8002FF68 0002BDA8 54 00 08 3C */ slwi r0, r0, 1
/* 8002FF6C 0002BDAC 38 60 00 E0 */ li r3, 0xe0
/* 8002FF70 0002BDB0 60 00 00 01 */ ori r0, r0, 0x1
/* 8002FF74 0002BDB4 98 01 00 09 */ stb r0, 0x9(r1)
/* 8002FF78 0002BDB8 38 A0 00 02 */ li r5, 0x2
/* 8002FF7C 0002BDBC 4B FF E8 F5 */ bl __VISendI2CData
/* 8002FF80 0002BDC0 38 60 00 02 */ li r3, 0x2
/* 8002FF84 0002BDC4 4B FF E5 0D */ bl WaitMicroTime
/* 8002FF88 0002BDC8 48 00 00 2C */ b lbl_8002FFB4
.global lbl_8002FF8C
lbl_8002FF8C:
/* 8002FF8C 0002BDCC 38 60 00 0A */ li r3, 0xa
/* 8002FF90 0002BDD0 38 00 00 00 */ li r0, 0x0
/* 8002FF94 0002BDD4 98 61 00 08 */ stb r3, 0x8(r1)
/* 8002FF98 0002BDD8 38 81 00 08 */ addi r4, r1, 0x8
/* 8002FF9C 0002BDDC 38 60 00 E0 */ li r3, 0xe0
/* 8002FFA0 0002BDE0 38 A0 00 02 */ li r5, 0x2
/* 8002FFA4 0002BDE4 98 01 00 09 */ stb r0, 0x9(r1)
/* 8002FFA8 0002BDE8 4B FF E8 C9 */ bl __VISendI2CData
/* 8002FFAC 0002BDEC 38 60 00 02 */ li r3, 0x2
/* 8002FFB0 0002BDF0 4B FF E4 E1 */ bl WaitMicroTime
.global lbl_8002FFB4
lbl_8002FFB4:
/* 8002FFB4 0002BDF4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8002FFB8 0002BDF8 7C 08 03 A6 */ mtlr r0
/* 8002FFBC 0002BDFC 38 21 00 10 */ addi r1, r1, 0x10
/* 8002FFC0 0002BE00 4E 80 00 20 */ blr
/* 8002FFC4 0002BE04 00 00 00 00 */ .4byte 0x00000000
/* 8002FFC8 0002BE08 00 00 00 00 */ .4byte 0x00000000
/* 8002FFCC 0002BE0C 00 00 00 00 */ .4byte 0x00000000
.global VISetRGBModeImm
VISetRGBModeImm:
/* 8002FFD0 0002BE10 80 0D E5 98 */ lwz r0, Vdac_Flag_Changed@sda21(r13)
/* 8002FFD4 0002BE14 60 00 00 80 */ ori r0, r0, 0x80
/* 8002FFD8 0002BE18 90 0D E5 98 */ stw r0, Vdac_Flag_Changed@sda21(r13)
/* 8002FFDC 0002BE1C 4E 80 00 20 */ blr
.global __VISetRGBModeImm
__VISetRGBModeImm:
/* 8002FFE0 0002BE20 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8002FFE4 0002BE24 7C 08 02 A6 */ mflr r0
/* 8002FFE8 0002BE28 38 C0 00 03 */ li r6, 0x3
/* 8002FFEC 0002BE2C 38 60 00 E0 */ li r3, 0xe0
/* 8002FFF0 0002BE30 90 01 00 14 */ stw r0, 0x14(r1)
/* 8002FFF4 0002BE34 38 00 00 01 */ li r0, 0x1
/* 8002FFF8 0002BE38 38 81 00 08 */ addi r4, r1, 0x8
/* 8002FFFC 0002BE3C 38 A0 00 02 */ li r5, 0x2
/* 80030000 0002BE40 90 CD E5 AC */ stw r6, Vdac_Flag_Region@sda21(r13)
/* 80030004 0002BE44 98 01 00 08 */ stb r0, 0x8(r1)
/* 80030008 0002BE48 98 C1 00 09 */ stb r6, 0x9(r1)
/* 8003000C 0002BE4C 4B FF E8 65 */ bl __VISendI2CData
/* 80030010 0002BE50 38 60 00 02 */ li r3, 0x2
/* 80030014 0002BE54 4B FF E4 7D */ bl WaitMicroTime
/* 80030018 0002BE58 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8003001C 0002BE5C 7C 08 03 A6 */ mtlr r0
/* 80030020 0002BE60 38 21 00 10 */ addi r1, r1, 0x10
/* 80030024 0002BE64 4E 80 00 20 */ blr
/* 80030028 0002BE68 00 00 00 00 */ .4byte 0x00000000
/* 8003002C 0002BE6C 00 00 00 00 */ .4byte 0x00000000
.global __VISetRevolutionModeSimple
__VISetRevolutionModeSimple:
/* 80030030 0002BE70 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80030034 0002BE74 7C 08 02 A6 */ mflr r0
/* 80030038 0002BE78 38 60 00 E0 */ li r3, 0xe0
/* 8003003C 0002BE7C 38 A0 00 02 */ li r5, 0x2
/* 80030040 0002BE80 90 01 00 74 */ stw r0, 0x74(r1)
/* 80030044 0002BE84 38 00 00 6A */ li r0, 0x6a
/* 80030048 0002BE88 38 81 00 20 */ addi r4, r1, 0x20
/* 8003004C 0002BE8C 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 80030050 0002BE90 93 C1 00 68 */ stw r30, 0x68(r1)
/* 80030054 0002BE94 93 A1 00 64 */ stw r29, 0x64(r1)
/* 80030058 0002BE98 93 81 00 60 */ stw r28, 0x60(r1)
/* 8003005C 0002BE9C 3B 80 00 01 */ li r28, 0x1
/* 80030060 0002BEA0 98 01 00 20 */ stb r0, 0x20(r1)
/* 80030064 0002BEA4 9B 81 00 21 */ stb r28, 0x21(r1)
/* 80030068 0002BEA8 4B FF E8 09 */ bl __VISendI2CData
/* 8003006C 0002BEAC 38 60 00 02 */ li r3, 0x2
/* 80030070 0002BEB0 4B FF E4 21 */ bl WaitMicroTime
/* 80030074 0002BEB4 38 00 00 65 */ li r0, 0x65
/* 80030078 0002BEB8 98 01 00 1C */ stb r0, 0x1c(r1)
/* 8003007C 0002BEBC 38 81 00 1C */ addi r4, r1, 0x1c
/* 80030080 0002BEC0 38 60 00 E0 */ li r3, 0xe0
/* 80030084 0002BEC4 9B 81 00 1D */ stb r28, 0x1d(r1)
/* 80030088 0002BEC8 38 A0 00 02 */ li r5, 0x2
/* 8003008C 0002BECC 4B FF E7 E5 */ bl __VISendI2CData
/* 80030090 0002BED0 38 60 00 02 */ li r3, 0x2
/* 80030094 0002BED4 4B FF E3 FD */ bl WaitMicroTime
/* 80030098 0002BED8 4B FF DF D9 */ bl VIGetDTVStatus
/* 8003009C 0002BEDC 3C 80 80 00 */ lis r4, 0x800000CC@ha
/* 800300A0 0002BEE0 80 04 00 CC */ lwz r0, 0x800000CC@l(r4)
/* 800300A4 0002BEE4 28 00 00 01 */ cmplwi r0, 0x1
/* 800300A8 0002BEE8 41 82 00 20 */ beq lbl_800300C8
/* 800300AC 0002BEEC 28 00 00 05 */ cmplwi r0, 0x5
/* 800300B0 0002BEF0 41 82 00 18 */ beq lbl_800300C8
/* 800300B4 0002BEF4 28 00 00 02 */ cmplwi r0, 0x2
/* 800300B8 0002BEF8 41 82 00 1C */ beq lbl_800300D4
/* 800300BC 0002BEFC 2C 00 00 00 */ cmpwi r0, 0x0
/* 800300C0 0002BF00 41 82 00 1C */ beq lbl_800300DC
/* 800300C4 0002BF04 48 00 00 24 */ b lbl_800300E8
.global lbl_800300C8
lbl_800300C8:
/* 800300C8 0002BF08 3B 80 00 02 */ li r28, 0x2
/* 800300CC 0002BF0C 93 8D E5 AC */ stw r28, Vdac_Flag_Region@sda21(r13)
/* 800300D0 0002BF10 48 00 00 20 */ b lbl_800300F0
.global lbl_800300D4
lbl_800300D4:
/* 800300D4 0002BF14 93 8D E5 AC */ stw r28, Vdac_Flag_Region@sda21(r13)
/* 800300D8 0002BF18 48 00 00 18 */ b lbl_800300F0
.global lbl_800300DC
lbl_800300DC:
/* 800300DC 0002BF1C 3B 80 00 00 */ li r28, 0x0
/* 800300E0 0002BF20 93 8D E5 AC */ stw r28, Vdac_Flag_Region@sda21(r13)
/* 800300E4 0002BF24 48 00 00 0C */ b lbl_800300F0
.global lbl_800300E8
lbl_800300E8:
/* 800300E8 0002BF28 3B 80 00 00 */ li r28, 0x0
/* 800300EC 0002BF2C 93 8D E5 AC */ stw r28, Vdac_Flag_Region@sda21(r13)
.global lbl_800300F0
lbl_800300F0:
/* 800300F0 0002BF30 54 60 2C F4 */ rlwinm r0, r3, 5, 19, 26
/* 800300F4 0002BF34 38 60 00 01 */ li r3, 0x1
/* 800300F8 0002BF38 7C 00 E3 78 */ or r0, r0, r28
/* 800300FC 0002BF3C 98 61 00 18 */ stb r3, 0x18(r1)
/* 80030100 0002BF40 38 81 00 18 */ addi r4, r1, 0x18
/* 80030104 0002BF44 38 60 00 E0 */ li r3, 0xe0
/* 80030108 0002BF48 98 01 00 19 */ stb r0, 0x19(r1)
/* 8003010C 0002BF4C 38 A0 00 02 */ li r5, 0x2
/* 80030110 0002BF50 4B FF E7 61 */ bl __VISendI2CData
/* 80030114 0002BF54 38 60 00 02 */ li r3, 0x2
/* 80030118 0002BF58 4B FF E3 79 */ bl WaitMicroTime
/* 8003011C 0002BF5C 3B 80 00 00 */ li r28, 0x0
/* 80030120 0002BF60 9B 81 00 14 */ stb r28, 0x14(r1)
/* 80030124 0002BF64 38 81 00 14 */ addi r4, r1, 0x14
/* 80030128 0002BF68 38 60 00 E0 */ li r3, 0xe0
/* 8003012C 0002BF6C 9B 81 00 15 */ stb r28, 0x15(r1)
/* 80030130 0002BF70 38 A0 00 02 */ li r5, 0x2
/* 80030134 0002BF74 4B FF E7 3D */ bl __VISendI2CData
/* 80030138 0002BF78 38 60 00 02 */ li r3, 0x2
/* 8003013C 0002BF7C 4B FF E3 55 */ bl WaitMicroTime
/* 80030140 0002BF80 38 00 00 8E */ li r0, 0x8e
/* 80030144 0002BF84 38 60 00 71 */ li r3, 0x71
/* 80030148 0002BF88 98 61 00 2C */ stb r3, 0x2c(r1)
/* 8003014C 0002BF8C 38 81 00 2C */ addi r4, r1, 0x2c
/* 80030150 0002BF90 38 60 00 E0 */ li r3, 0xe0
/* 80030154 0002BF94 38 A0 00 03 */ li r5, 0x3
/* 80030158 0002BF98 98 01 00 2D */ stb r0, 0x2d(r1)
/* 8003015C 0002BF9C 98 01 00 2E */ stb r0, 0x2e(r1)
/* 80030160 0002BFA0 4B FF E7 11 */ bl __VISendI2CData
/* 80030164 0002BFA4 38 60 00 02 */ li r3, 0x2
/* 80030168 0002BFA8 4B FF E3 29 */ bl WaitMicroTime
/* 8003016C 0002BFAC 38 60 00 02 */ li r3, 0x2
/* 80030170 0002BFB0 38 00 00 07 */ li r0, 0x7
/* 80030174 0002BFB4 98 61 00 10 */ stb r3, 0x10(r1)
/* 80030178 0002BFB8 38 81 00 10 */ addi r4, r1, 0x10
/* 8003017C 0002BFBC 38 60 00 E0 */ li r3, 0xe0
/* 80030180 0002BFC0 38 A0 00 02 */ li r5, 0x2
/* 80030184 0002BFC4 98 01 00 11 */ stb r0, 0x11(r1)
/* 80030188 0002BFC8 4B FF E6 E9 */ bl __VISendI2CData
/* 8003018C 0002BFCC 38 60 00 02 */ li r3, 0x2
/* 80030190 0002BFD0 4B FF E3 01 */ bl WaitMicroTime
/* 80030194 0002BFD4 38 00 00 05 */ li r0, 0x5
/* 80030198 0002BFD8 9B 8D 81 34 */ stb r28, __wd0@sda21(r13)
/* 8003019C 0002BFDC 38 81 00 28 */ addi r4, r1, 0x28
/* 800301A0 0002BFE0 38 60 00 E0 */ li r3, 0xe0
/* 800301A4 0002BFE4 9B 8D 81 35 */ stb r28, __wd1@sda21(r13)
/* 800301A8 0002BFE8 38 A0 00 03 */ li r5, 0x3
/* 800301AC 0002BFEC 9B 8D 81 36 */ stb r28, __wd2@sda21(r13)
/* 800301B0 0002BFF0 98 01 00 28 */ stb r0, 0x28(r1)
/* 800301B4 0002BFF4 9B 81 00 29 */ stb r28, 0x29(r1)
/* 800301B8 0002BFF8 9B 81 00 2A */ stb r28, 0x2a(r1)
/* 800301BC 0002BFFC 4B FF E6 B5 */ bl __VISendI2CData
/* 800301C0 0002C000 38 60 00 02 */ li r3, 0x2
/* 800301C4 0002C004 4B FF E2 CD */ bl WaitMicroTime
/* 800301C8 0002C008 88 0D 81 37 */ lbz r0, __gp1@sda21(r13)
/* 800301CC 0002C00C 2C 00 00 00 */ cmpwi r0, 0x0
/* 800301D0 0002C010 40 82 00 28 */ bne lbl_800301F8
/* 800301D4 0002C014 88 0D 81 38 */ lbz r0, __gp2@sda21(r13)
/* 800301D8 0002C018 2C 00 00 00 */ cmpwi r0, 0x0
/* 800301DC 0002C01C 40 82 00 1C */ bne lbl_800301F8
/* 800301E0 0002C020 88 0D 81 39 */ lbz r0, __gp3@sda21(r13)
/* 800301E4 0002C024 2C 00 00 00 */ cmpwi r0, 0x0
/* 800301E8 0002C028 40 82 00 10 */ bne lbl_800301F8
/* 800301EC 0002C02C 88 0D 81 3A */ lbz r0, __gp4@sda21(r13)
/* 800301F0 0002C030 2C 00 00 00 */ cmpwi r0, 0x0
/* 800301F4 0002C034 41 82 00 24 */ beq lbl_80030218
.global lbl_800301F8
lbl_800301F8:
/* 800301F8 0002C038 80 0D E5 98 */ lwz r0, Vdac_Flag_Changed@sda21(r13)
/* 800301FC 0002C03C 38 60 00 00 */ li r3, 0x0
/* 80030200 0002C040 98 6D 81 37 */ stb r3, __gp1@sda21(r13)
/* 80030204 0002C044 60 00 00 02 */ ori r0, r0, 0x2
/* 80030208 0002C048 98 6D 81 38 */ stb r3, __gp2@sda21(r13)
/* 8003020C 0002C04C 98 6D 81 39 */ stb r3, __gp3@sda21(r13)
/* 80030210 0002C050 98 6D 81 3A */ stb r3, __gp4@sda21(r13)
/* 80030214 0002C054 90 0D E5 98 */ stw r0, Vdac_Flag_Changed@sda21(r13)
.global lbl_80030218
lbl_80030218:
/* 80030218 0002C058 88 6D 81 37 */ lbz r3, __gp1@sda21(r13)
/* 8003021C 0002C05C 38 E0 00 08 */ li r7, 0x8
/* 80030220 0002C060 88 0D 81 39 */ lbz r0, __gp3@sda21(r13)
/* 80030224 0002C064 38 81 00 24 */ addi r4, r1, 0x24
/* 80030228 0002C068 54 65 07 3E */ clrlwi r5, r3, 28
/* 8003022C 0002C06C 88 CD 81 38 */ lbz r6, __gp2@sda21(r13)
/* 80030230 0002C070 88 6D 81 3A */ lbz r3, __gp4@sda21(r13)
/* 80030234 0002C074 54 00 07 7E */ clrlwi r0, r0, 29
/* 80030238 0002C078 50 C5 26 36 */ rlwimi r5, r6, 4, 24, 27
/* 8003023C 0002C07C 98 A1 00 25 */ stb r5, 0x25(r1)
/* 80030240 0002C080 50 60 1E B8 */ rlwimi r0, r3, 3, 26, 28
/* 80030244 0002C084 38 60 00 E0 */ li r3, 0xe0
/* 80030248 0002C088 98 E1 00 24 */ stb r7, 0x24(r1)
/* 8003024C 0002C08C 38 A0 00 03 */ li r5, 0x3
/* 80030250 0002C090 98 01 00 26 */ stb r0, 0x26(r1)
/* 80030254 0002C094 4B FF E6 1D */ bl __VISendI2CData
/* 80030258 0002C098 38 60 00 02 */ li r3, 0x2
/* 8003025C 0002C09C 4B FF E2 35 */ bl WaitMicroTime
/* 80030260 0002C0A0 88 0D 81 3B */ lbz r0, __cc1@sda21(r13)
/* 80030264 0002C0A4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80030268 0002C0A8 40 82 00 28 */ bne lbl_80030290
/* 8003026C 0002C0AC 88 0D 81 3C */ lbz r0, __cc2@sda21(r13)
/* 80030270 0002C0B0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80030274 0002C0B4 40 82 00 1C */ bne lbl_80030290
/* 80030278 0002C0B8 88 0D 81 3D */ lbz r0, __cc3@sda21(r13)
/* 8003027C 0002C0BC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80030280 0002C0C0 40 82 00 10 */ bne lbl_80030290
/* 80030284 0002C0C4 88 0D 81 3E */ lbz r0, __cc4@sda21(r13)
/* 80030288 0002C0C8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8003028C 0002C0CC 41 82 00 24 */ beq lbl_800302B0
.global lbl_80030290
lbl_80030290:
/* 80030290 0002C0D0 80 0D E5 98 */ lwz r0, Vdac_Flag_Changed@sda21(r13)
/* 80030294 0002C0D4 38 60 00 00 */ li r3, 0x0
/* 80030298 0002C0D8 98 6D 81 3B */ stb r3, __cc1@sda21(r13)
/* 8003029C 0002C0DC 60 00 00 04 */ ori r0, r0, 0x4
/* 800302A0 0002C0E0 98 6D 81 3C */ stb r3, __cc2@sda21(r13)
/* 800302A4 0002C0E4 98 6D 81 3D */ stb r3, __cc3@sda21(r13)
/* 800302A8 0002C0E8 98 6D 81 3E */ stb r3, __cc4@sda21(r13)
/* 800302AC 0002C0EC 90 0D E5 98 */ stw r0, Vdac_Flag_Changed@sda21(r13)
.global lbl_800302B0
lbl_800302B0:
/* 800302B0 0002C0F0 88 0D 81 3B */ lbz r0, __cc1@sda21(r13)
/* 800302B4 0002C0F4 39 20 00 7A */ li r9, 0x7a
/* 800302B8 0002C0F8 88 AD 81 3C */ lbz r5, __cc2@sda21(r13)
/* 800302BC 0002C0FC 38 81 00 30 */ addi r4, r1, 0x30
/* 800302C0 0002C100 54 08 06 7E */ clrlwi r8, r0, 25
/* 800302C4 0002C104 88 6D 81 3D */ lbz r3, __cc3@sda21(r13)
/* 800302C8 0002C108 88 0D 81 3E */ lbz r0, __cc4@sda21(r13)
/* 800302CC 0002C10C 54 A7 06 7E */ clrlwi r7, r5, 25
/* 800302D0 0002C110 54 66 06 7E */ clrlwi r6, r3, 25
/* 800302D4 0002C114 99 21 00 30 */ stb r9, 0x30(r1)
/* 800302D8 0002C118 54 00 06 7E */ clrlwi r0, r0, 25
/* 800302DC 0002C11C 38 60 00 E0 */ li r3, 0xe0
/* 800302E0 0002C120 99 01 00 31 */ stb r8, 0x31(r1)
/* 800302E4 0002C124 38 A0 00 05 */ li r5, 0x5
/* 800302E8 0002C128 98 E1 00 32 */ stb r7, 0x32(r1)
/* 800302EC 0002C12C 98 C1 00 33 */ stb r6, 0x33(r1)
/* 800302F0 0002C130 98 01 00 34 */ stb r0, 0x34(r1)
/* 800302F4 0002C134 4B FF E5 7D */ bl __VISendI2CData
/* 800302F8 0002C138 38 60 00 02 */ li r3, 0x2
/* 800302FC 0002C13C 4B FF E1 95 */ bl WaitMicroTime
/* 80030300 0002C140 3F A0 80 4A */ lis r29, VIZeroACPType@ha
/* 80030304 0002C144 8F DD A6 E0 */ lbzu r30, VIZeroACPType@l(r29)
/* 80030308 0002C148 9B C1 00 39 */ stb r30, 0x39(r1)
/* 8003030C 0002C14C 3B 80 00 40 */ li r28, 0x40
/* 80030310 0002C150 8B FD 00 01 */ lbz r31, 0x1(r29)
/* 80030314 0002C154 38 81 00 38 */ addi r4, r1, 0x38
/* 80030318 0002C158 89 9D 00 02 */ lbz r12, 0x2(r29)
/* 8003031C 0002C15C 38 60 00 E0 */ li r3, 0xe0
/* 80030320 0002C160 89 7D 00 03 */ lbz r11, 0x3(r29)
/* 80030324 0002C164 38 A0 00 1B */ li r5, 0x1b
/* 80030328 0002C168 89 5D 00 04 */ lbz r10, 0x4(r29)
/* 8003032C 0002C16C 89 3D 00 05 */ lbz r9, 0x5(r29)
/* 80030330 0002C170 89 1D 00 06 */ lbz r8, 0x6(r29)
/* 80030334 0002C174 88 FD 00 07 */ lbz r7, 0x7(r29)
/* 80030338 0002C178 8B DD 00 08 */ lbz r30, 0x8(r29)
/* 8003033C 0002C17C 9B E1 00 3A */ stb r31, 0x3a(r1)
/* 80030340 0002C180 8B FD 00 09 */ lbz r31, 0x9(r29)
/* 80030344 0002C184 99 81 00 3B */ stb r12, 0x3b(r1)
/* 80030348 0002C188 89 9D 00 0A */ lbz r12, 0xa(r29)
/* 8003034C 0002C18C 99 61 00 3C */ stb r11, 0x3c(r1)
/* 80030350 0002C190 89 7D 00 0B */ lbz r11, 0xb(r29)
/* 80030354 0002C194 99 41 00 3D */ stb r10, 0x3d(r1)
/* 80030358 0002C198 89 5D 00 0C */ lbz r10, 0xc(r29)
/* 8003035C 0002C19C 99 21 00 3E */ stb r9, 0x3e(r1)
/* 80030360 0002C1A0 89 3D 00 0D */ lbz r9, 0xd(r29)
/* 80030364 0002C1A4 99 01 00 3F */ stb r8, 0x3f(r1)
/* 80030368 0002C1A8 89 1D 00 0E */ lbz r8, 0xe(r29)
/* 8003036C 0002C1AC 98 E1 00 40 */ stb r7, 0x40(r1)
/* 80030370 0002C1B0 88 FD 00 0F */ lbz r7, 0xf(r29)
/* 80030374 0002C1B4 9B C1 00 41 */ stb r30, 0x41(r1)
/* 80030378 0002C1B8 8B DD 00 10 */ lbz r30, 0x10(r29)
/* 8003037C 0002C1BC 9B E1 00 42 */ stb r31, 0x42(r1)
/* 80030380 0002C1C0 8B FD 00 11 */ lbz r31, 0x11(r29)
/* 80030384 0002C1C4 99 81 00 43 */ stb r12, 0x43(r1)
/* 80030388 0002C1C8 89 9D 00 12 */ lbz r12, 0x12(r29)
/* 8003038C 0002C1CC 99 61 00 44 */ stb r11, 0x44(r1)
/* 80030390 0002C1D0 89 7D 00 13 */ lbz r11, 0x13(r29)
/* 80030394 0002C1D4 99 41 00 45 */ stb r10, 0x45(r1)
/* 80030398 0002C1D8 89 5D 00 14 */ lbz r10, 0x14(r29)
/* 8003039C 0002C1DC 99 21 00 46 */ stb r9, 0x46(r1)
/* 800303A0 0002C1E0 89 3D 00 15 */ lbz r9, 0x15(r29)
/* 800303A4 0002C1E4 99 01 00 47 */ stb r8, 0x47(r1)
/* 800303A8 0002C1E8 89 1D 00 16 */ lbz r8, 0x16(r29)
/* 800303AC 0002C1EC 98 E1 00 48 */ stb r7, 0x48(r1)
/* 800303B0 0002C1F0 88 FD 00 17 */ lbz r7, 0x17(r29)
/* 800303B4 0002C1F4 88 DD 00 18 */ lbz r6, 0x18(r29)
/* 800303B8 0002C1F8 88 1D 00 19 */ lbz r0, 0x19(r29)
/* 800303BC 0002C1FC 9B 81 00 38 */ stb r28, 0x38(r1)
/* 800303C0 0002C200 9B C1 00 49 */ stb r30, 0x49(r1)
/* 800303C4 0002C204 9B E1 00 4A */ stb r31, 0x4a(r1)
/* 800303C8 0002C208 99 81 00 4B */ stb r12, 0x4b(r1)
/* 800303CC 0002C20C 99 61 00 4C */ stb r11, 0x4c(r1)
/* 800303D0 0002C210 99 41 00 4D */ stb r10, 0x4d(r1)
/* 800303D4 0002C214 99 21 00 4E */ stb r9, 0x4e(r1)
/* 800303D8 0002C218 99 01 00 4F */ stb r8, 0x4f(r1)
/* 800303DC 0002C21C 98 E1 00 50 */ stb r7, 0x50(r1)
/* 800303E0 0002C220 98 C1 00 51 */ stb r6, 0x51(r1)
/* 800303E4 0002C224 98 01 00 52 */ stb r0, 0x52(r1)
/* 800303E8 0002C228 4B FF E4 89 */ bl __VISendI2CData
/* 800303EC 0002C22C 38 60 00 02 */ li r3, 0x2
/* 800303F0 0002C230 4B FF E0 A1 */ bl WaitMicroTime
/* 800303F4 0002C234 80 0D E5 A0 */ lwz r0, __level@sda21(r13)
/* 800303F8 0002C238 2C 00 00 00 */ cmpwi r0, 0x0
/* 800303FC 0002C23C 41 82 00 18 */ beq lbl_80030414
/* 80030400 0002C240 80 0D E5 98 */ lwz r0, Vdac_Flag_Changed@sda21(r13)
/* 80030404 0002C244 38 60 00 00 */ li r3, 0x0
/* 80030408 0002C248 90 6D E5 A0 */ stw r3, __level@sda21(r13)
/* 8003040C 0002C24C 60 00 00 40 */ ori r0, r0, 0x40
/* 80030410 0002C250 90 0D E5 98 */ stw r0, Vdac_Flag_Changed@sda21(r13)
.global lbl_80030414
lbl_80030414:
/* 80030414 0002C254 80 0D E5 AC */ lwz r0, Vdac_Flag_Region@sda21(r13)
/* 80030418 0002C258 2C 00 00 03 */ cmpwi r0, 0x3
/* 8003041C 0002C25C 40 82 00 38 */ bne lbl_80030454
/* 80030420 0002C260 80 0D E5 A0 */ lwz r0, __level@sda21(r13)
/* 80030424 0002C264 38 60 00 0A */ li r3, 0xa
/* 80030428 0002C268 98 61 00 0C */ stb r3, 0xc(r1)
/* 8003042C 0002C26C 38 81 00 0C */ addi r4, r1, 0xc
/* 80030430 0002C270 54 00 08 3C */ slwi r0, r0, 1
/* 80030434 0002C274 38 60 00 E0 */ li r3, 0xe0
/* 80030438 0002C278 60 00 00 01 */ ori r0, r0, 0x1
/* 8003043C 0002C27C 98 01 00 0D */ stb r0, 0xd(r1)
/* 80030440 0002C280 38 A0 00 02 */ li r5, 0x2
/* 80030444 0002C284 4B FF E4 2D */ bl __VISendI2CData
/* 80030448 0002C288 38 60 00 02 */ li r3, 0x2
/* 8003044C 0002C28C 4B FF E0 45 */ bl WaitMicroTime
/* 80030450 0002C290 48 00 00 2C */ b lbl_8003047C
.global lbl_80030454
lbl_80030454:
/* 80030454 0002C294 38 60 00 0A */ li r3, 0xa
/* 80030458 0002C298 38 00 00 00 */ li r0, 0x0
/* 8003045C 0002C29C 98 61 00 0C */ stb r3, 0xc(r1)
/* 80030460 0002C2A0 38 81 00 0C */ addi r4, r1, 0xc
/* 80030464 0002C2A4 38 60 00 E0 */ li r3, 0xe0
/* 80030468 0002C2A8 38 A0 00 02 */ li r5, 0x2
/* 8003046C 0002C2AC 98 01 00 0D */ stb r0, 0xd(r1)
/* 80030470 0002C2B0 4B FF E4 01 */ bl __VISendI2CData
/* 80030474 0002C2B4 38 60 00 02 */ li r3, 0x2
/* 80030478 0002C2B8 4B FF E0 19 */ bl WaitMicroTime
.global lbl_8003047C
lbl_8003047C:
/* 8003047C 0002C2BC 38 60 00 03 */ li r3, 0x3
/* 80030480 0002C2C0 38 00 00 01 */ li r0, 0x1
/* 80030484 0002C2C4 98 61 00 08 */ stb r3, 0x8(r1)
/* 80030488 0002C2C8 38 81 00 08 */ addi r4, r1, 0x8
/* 8003048C 0002C2CC 38 60 00 E0 */ li r3, 0xe0
/* 80030490 0002C2D0 38 A0 00 02 */ li r5, 0x2
/* 80030494 0002C2D4 98 01 00 09 */ stb r0, 0x9(r1)
/* 80030498 0002C2D8 4B FF E3 D9 */ bl __VISendI2CData
/* 8003049C 0002C2DC 38 60 00 02 */ li r3, 0x2
/* 800304A0 0002C2E0 4B FF DF F1 */ bl WaitMicroTime
/* 800304A4 0002C2E4 3C 60 80 43 */ lis r3, gammaSet@ha
/* 800304A8 0002C2E8 38 63 01 E8 */ addi r3, r3, gammaSet@l
/* 800304AC 0002C2EC 38 63 01 54 */ addi r3, r3, 0x154
/* 800304B0 0002C2F0 4B FF F8 A1 */ bl __VISetGammaImm
/* 800304B4 0002C2F4 38 00 00 00 */ li r0, 0x0
/* 800304B8 0002C2F8 90 0D E5 9C */ stw r0, __current_3in1_video_mode@sda21(r13)
/* 800304BC 0002C2FC 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 800304C0 0002C300 83 C1 00 68 */ lwz r30, 0x68(r1)
/* 800304C4 0002C304 83 A1 00 64 */ lwz r29, 0x64(r1)
/* 800304C8 0002C308 83 81 00 60 */ lwz r28, 0x60(r1)
/* 800304CC 0002C30C 80 01 00 74 */ lwz r0, 0x74(r1)
/* 800304D0 0002C310 7C 08 03 A6 */ mtlr r0
/* 800304D4 0002C314 38 21 00 70 */ addi r1, r1, 0x70
/* 800304D8 0002C318 4E 80 00 20 */ blr
/* 800304DC 0002C31C 00 00 00 00 */ .4byte 0x00000000
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global gammaSet
gammaSet:
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0x00300397
.4byte 0x3B49101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x10001000
.4byte 0x10001080
.4byte 0x1B80EB00
.4byte 0x00000028
.4byte 0x005A02DB
.4byte 0x0D8D3049
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10001000
.4byte 0x10401100
.4byte 0x18804200
.4byte 0xEB000000
.4byte 0x007A023C
.4byte 0x076D129C
.4byte 0x2724101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x100010C0
.4byte 0x15802900
.4byte 0x6200EB00
.4byte 0x004E0199
.4byte 0x052D0B24
.4byte 0x142920A4
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10001040
.4byte 0x12C01DC0
.4byte 0x3B0078C0
.4byte 0xEB0000EC
.4byte 0x03D70800
.4byte 0x0D9E143E
.4byte 0x1BDB101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x10C016C0
.4byte 0x27C04B80
.4byte 0x8980EB00
.4byte 0x02760666
.4byte 0x0A960EF3
.4byte 0x13AC1849
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10001200
.4byte 0x1C003280
.4byte 0x59C09600
.4byte 0xEB0004EC
.4byte 0x08F50C96
.4byte 0x0FCF12C6
.4byte 0x1580101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x14002200
.4byte 0x3CC06640
.4byte 0x9FC0EB00
.4byte 0x08000BAE
.4byte 0x0E001030
.4byte 0x11CB1349
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10001680
.4byte 0x28C04680
.4byte 0x7100A780
.4byte 0xEB000BB1
.4byte 0x0E140F2D
.4byte 0x101810E5
.4byte 0x1180101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x19802F80
.4byte 0x4FC07A00
.4byte 0xADC0EB00
.4byte 0x10001000
.4byte 0x10001000
.4byte 0x10001000
.4byte 0x10204060
.4byte 0x80A0EB00
.4byte 0x10002000
.4byte 0x40006000
.4byte lbl_8000A000
.4byte 0xEB0014EC
.4byte 0x11C21078
.4byte 0x0FB60F2F
.4byte 0x0EB6101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x21003CC0
.4byte 0x5FC08900
.4byte 0xB780EB00
.4byte 0x19D81333
.4byte 0x10D20F6D
.4byte 0x0E5E0DA4
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10002500
.4byte 0x430066C0
.4byte 0x8F40BB40
.4byte 0xEB001EC4
.4byte 0x147A110F
.4byte 0x0F0C0DA1
.4byte 0x0CB6101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x29004900
.4byte 0x6D4094C0
.4byte 0xBE80EB00
.4byte 0x24001570
.4byte 0x110F0EAA
.4byte 0x0D0F0BDB
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10002D40
.4byte 0x4EC07300
.4byte 0x9980C180
.4byte 0xEB00293B
.4byte 0x163D110F
.4byte 0x0E300C7D
.4byte 0x0B24101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x31805440
.4byte 0x78809DC0
.4byte 0xC400EB00
.4byte 0x2E27170A
.4byte 0x10D20DE7
.4byte 0x0BEB0A80
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10003580
.4byte 0x59807D40
.4byte 0xA1C0C640
.4byte 0xEB003362
.4byte 0x175C10D2
.4byte 0x0D6D0B6D
.4byte 0x09ED101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x39C05E40
.4byte 0x8200A540
.4byte 0xC840EB00
.4byte 0x384E17AE
.4byte 0x10B40D0C
.4byte 0x0AF0096D
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10003DC0
.4byte 0x62C08640
.4byte 0xA880CA00
.4byte 0xEB003D3B
.4byte 0x1800105A
.4byte 0x0CC30A72
.4byte 0x0900101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x41C06740
.4byte 0x8A00AB80
.4byte 0xCB80EB00
.4byte 0x41D81828
.4byte 0x103C0C49
.4byte 0x0A1F0892
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10004580
.4byte 0x6B408DC0
.4byte 0xAE00CD00
.4byte 0xEB004676
.4byte 0x18510FE1
.4byte 0x0C0009B6
.4byte 0x0836101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x49406F40
.4byte 0x9100B080
.4byte 0xCE40EB00
.4byte 0x4AC4187A
.4byte 0x0FA50B9E
.4byte 0x096307DB
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10004CC0
.4byte 0x73009440
.4byte 0xB2C0CF80
.4byte 0xEB004F13
.4byte 0x18510F69
.4byte 0x0B6D090F
.4byte 0x0780101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x50407640
.4byte 0x9700B500
.4byte 0xD0C0EB00
.4byte 0x5313187A
.4byte 0x0F0F0B24
.4byte 0x08BC0736
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10005380
.4byte 0x79C099C0
.4byte 0xB700D1C0
.4byte 0xEB005713
.4byte 0x18510EF0
.4byte 0x0AC3087D
.4byte 0x06ED101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x56C07CC0
.4byte 0x9C80B8C0
.4byte 0xD2C0EB00
.4byte 0x5B131828
.4byte 0x0E960A92
.4byte 0x082906B6
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10005A00
.4byte 0x7FC09EC0
.4byte 0xBA80D380
.4byte 0xEB005EC4
.4byte 0x18000E78
.4byte 0x0A300800
.4byte 0x066D101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x5D008280
.4byte 0xA140BC00
.4byte 0xD480EB00
.4byte 0x627617D7
.4byte 0x0E1E0A00
.4byte 0x07C10636
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10006000
.4byte 0x8540A340
.4byte 0xBD80D540
.4byte 0xEB0065D8
.4byte 0x17AE0DE1
.4byte 0x09CF0782
.4byte 0x0600101D
.4byte 0x365882B3
.4byte 0xEB001000
.4byte 0x62C087C0
.4byte 0xA540BF00
.4byte 0xD600EB00
.4byte 0x693B1785
.4byte 0x0DA50986
.4byte 0x074305DB
.4byte 0x101D3658
.4byte 0x82B3EB00
.4byte 0x10006580
.4byte 0x8A40A740
.4byte 0xC040D680
.4byte 0xEB000000
.4byte 0x36000000
.4byte 0
.4byte 0x1B1B2407
.4byte 0xF800000F
.4byte 0x0F600000
.4byte 0
.4byte 0
.4byte 0x3E1D1125
.4byte 0x11010700
.4byte 0x1B1B2407
.4byte 0xF800000F
.4byte 0x0F60010A
.4byte 0x00050403
.4byte 0xFF000000
.4byte 0x3E171521
.4byte 0x15050502
.4byte 0x1B1B2407
.4byte 0xF800000F
.4byte 0x0F60010A
.4byte 0x00050403
.4byte 0xFF000000
.4byte 0x361A222A
.4byte 0x22050200
.4byte 0x1C3D1403
.4byte 0xFE0154FE
.4byte 0x7E600008
.4byte 0x00040701
.4byte 0x55010000
.4byte 0x361A222A
.4byte 0x22050200
.4byte 0x1C3D1403
.4byte 0xFE0154FE
.4byte 0x7E600008
.4byte 0x00040701
.4byte 0x55010000
.4byte 0x361A222A
.4byte 0x22050200
.4byte 0x1C3D1403
.4byte 0xFE0154FE
.4byte 0x7E600008
.4byte 0x00040701
.4byte 0x55010000
.4byte 0x36000000
.4byte 0
.4byte 0x1B1B2407
.4byte 0xF800001E
.4byte 0x1E600000
.4byte 0
.4byte 0x00010000
.4byte 0x361D1125
.4byte 0x11010700
.4byte 0x1B1B2407
.4byte 0xF800001E
.4byte 0x1E60010A
.4byte 0x00050403
.4byte 0xFF010000
.4byte 0x36171521
.4byte 0x15050502
.4byte 0x1B1B2407
.4byte 0xF800001E
.4byte 0x1E60010A
.4byte 0x00050403
.4byte 0xFF010000
.4byte 0x36000000
.4byte 0
.4byte 0x1B1B2407
.4byte 0xF800000F
.4byte 0x0F600000
.4byte 0
.4byte 0
.4byte 0x361D1125
.4byte 0x11010700
.4byte 0x1B1B2407
.4byte 0xF800000F
.4byte 0x0F60010A
.4byte 0x00050403
.4byte 0xFF000000
.4byte 0x36171521
.4byte 0x15050502
.4byte 0x1B1B2407
.4byte 0xF800000F
.4byte 0x0F60010A
.4byte 0x00050403
.4byte 0xFF000000
.4byte 0x01000000
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0x76693369
.4byte 0x6E312E63
.4byte 0
.4byte 0x56495365
.4byte 0x7443474D
.4byte 0x5328293A
.4byte 0x20547269
.4byte 0x65642074
.4byte 0x6F207365
.4byte 0x74204150
.4byte 0x53205472
.4byte 0x69676765
.4byte 0x72206269
.4byte 0x7428574F
.4byte 0x5244325B
.4byte 0x333A325D
.4byte 0x29200A77
.4byte 0x68656E20
.4byte 0x74686520
.4byte 0x7363616E
.4byte 0x20697320
.4byte 0x70726F67
.4byte 0x72657373
.4byte 0x69766520
.4byte 0x696E2044
.4byte 0x5456206D
.4byte 0x6F64652C
.4byte 0x20776869
.4byte 0x63682069
.4byte 0x7320666F
.4byte 0x72626964
.4byte 0x64656E0A
.4byte 0
.4byte 0
.4byte 0
.include "macros.inc"
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
.global VIZeroACPType
VIZeroACPType:
.skip 0x20
.include "macros.inc"
.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0
.global __tvType
__tvType:
.4byte 0x000000FF
.global __wd0
__wd0:
.byte 0xFF
.global __wd1
__wd1:
.byte 0xFF
.global __wd2
__wd2:
.byte 0xFF
.global __gp1
__gp1:
.byte 0xFF
.global __gp2
__gp2:
.byte 0xFF
.global __gp3
__gp3:
.byte 0xFF
.global __gp4
__gp4:
.byte 0xFF
.global __cc1
__cc1:
.byte 0xFF
.global __cc2
__cc2:
.byte 0xFF
.global __cc3
__cc3:
.byte 0xFF
.global __cc4
__cc4:
.byte 0xFF
.global __filter
__filter:
.byte 0xFF
.include "macros.inc"
.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0
.global Vdac_Flag_Changed
Vdac_Flag_Changed:
.skip 0x4
.global __current_3in1_video_mode
__current_3in1_video_mode:
.skip 0x4
.global __level
__level:
.skip 0x4
.global __gamma
__gamma:
.skip 0x4
.global __type
__type:
.skip 0x4
.global Vdac_Flag_Region
Vdac_Flag_Region:
.skip 0x4