prime/asm/Kyoto/CFinalInput.s

1254 lines
61 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
.section .data
.balign 8
.global lbl_803EF660
lbl_803EF660:
# ROM: 0x3EC660
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.section .sdata
.balign 8
.global lbl_805A8958
lbl_805A8958:
# ROM: 0x3F62F8
.float -1.0
.global lbl_805A895C
lbl_805A895C:
# ROM: 0x3F62FC
.float 1.0
.global lbl_805A8960
lbl_805A8960:
# ROM: 0x3F6300
.float -1.0
.global lbl_805A8964
lbl_805A8964:
# ROM: 0x3F6304
.float 1.0
.global lbl_805A8968
lbl_805A8968:
# ROM: 0x3F6308
.float -1.0
.global lbl_805A896C
lbl_805A896C:
# ROM: 0x3F630C
.float 1.0
.global lbl_805A8970
lbl_805A8970:
# ROM: 0x3F6310
.float -1.0
.global lbl_805A8974
lbl_805A8974:
# ROM: 0x3F6314
.float 1.0
.global lbl_805A8978
lbl_805A8978:
# ROM: 0x3F6318
.float -1.0
.global lbl_805A897C
lbl_805A897C:
# ROM: 0x3F631C
.float 1.0
.global lbl_805A8980
lbl_805A8980:
# ROM: 0x3F6320
.float -1.0
.global lbl_805A8984
lbl_805A8984:
# ROM: 0x3F6324
.float 1.0
.global lbl_805A8988
lbl_805A8988:
# ROM: 0x3F6328
.float -1.0
.global lbl_805A898C
lbl_805A898C:
# ROM: 0x3F632C
.float 1.0
.global lbl_805A8990
lbl_805A8990:
# ROM: 0x3F6330
.float -1.0
.global lbl_805A8994
lbl_805A8994:
# ROM: 0x3F6334
.float 1.0
.section .text, "ax"
.global ScaleAnalogueSticks__11CFinalInputCFff
ScaleAnalogueSticks__11CFinalInputCFff:
/* 80348EA4 00345E04 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 80348EA8 00345E08 7C 08 02 A6 */ mflr r0
/* 80348EAC 00345E0C 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 80348EB0 00345E10 DB E1 00 C0 */ stfd f31, 0xc0(r1)
/* 80348EB4 00345E14 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0
/* 80348EB8 00345E18 DB C1 00 B0 */ stfd f30, 0xb0(r1)
/* 80348EBC 00345E1C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0
/* 80348EC0 00345E20 DB A1 00 A0 */ stfd f29, 0xa0(r1)
/* 80348EC4 00345E24 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0
/* 80348EC8 00345E28 DB 81 00 90 */ stfd f28, 0x90(r1)
/* 80348ECC 00345E2C F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0
/* 80348ED0 00345E30 DB 61 00 80 */ stfd f27, 0x80(r1)
/* 80348ED4 00345E34 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0
/* 80348ED8 00345E38 DB 41 00 70 */ stfd f26, 0x70(r1)
/* 80348EDC 00345E3C F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0
/* 80348EE0 00345E40 DB 21 00 60 */ stfd f25, 0x60(r1)
/* 80348EE4 00345E44 F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0
/* 80348EE8 00345E48 DB 01 00 50 */ stfd f24, 0x50(r1)
/* 80348EEC 00345E4C F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0
/* 80348EF0 00345E50 DA E1 00 40 */ stfd f23, 0x40(r1)
/* 80348EF4 00345E54 F2 E1 00 48 */ psq_st f23, 72(r1), 0, qr0
/* 80348EF8 00345E58 BE C1 00 18 */ stmw r22, 0x18(r1)
/* 80348EFC 00345E5C 7C 97 23 78 */ mr r23, r4
/* 80348F00 00345E60 FF 80 08 90 */ fmr f28, f1
/* 80348F04 00345E64 C0 04 00 08 */ lfs f0, 8(r4)
/* 80348F08 00345E68 7C 76 1B 78 */ mr r22, r3
/* 80348F0C 00345E6C FE E0 10 90 */ fmr f23, f2
/* 80348F10 00345E70 C3 E4 00 00 */ lfs f31, 0(r4)
/* 80348F14 00345E74 EC 00 E0 24 */ fdivs f0, f0, f28
/* 80348F18 00345E78 83 E4 00 04 */ lwz r31, 4(r4)
/* 80348F1C 00345E7C 38 81 00 14 */ addi r4, r1, 0x14
/* 80348F20 00345E80 C3 77 00 18 */ lfs f27, 0x18(r23)
/* 80348F24 00345E84 C3 57 00 1C */ lfs f26, 0x1c(r23)
/* 80348F28 00345E88 38 6D 9D B8 */ addi r3, r13, lbl_805A8978@sda21
/* 80348F2C 00345E8C D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80348F30 00345E90 38 AD 9D BC */ addi r5, r13, lbl_805A897C@sda21
/* 80348F34 00345E94 8B D7 00 20 */ lbz r30, 0x20(r23)
/* 80348F38 00345E98 8B B7 00 21 */ lbz r29, 0x21(r23)
/* 80348F3C 00345E9C 8B 97 00 22 */ lbz r28, 0x22(r23)
/* 80348F40 00345EA0 8B 77 00 23 */ lbz r27, 0x23(r23)
/* 80348F44 00345EA4 C3 37 00 24 */ lfs f25, 0x24(r23)
/* 80348F48 00345EA8 C3 17 00 28 */ lfs f24, 0x28(r23)
/* 80348F4C 00345EAC 8B 57 00 2C */ lbz r26, 0x2c(r23)
/* 80348F50 00345EB0 8B 37 00 2D */ lbz r25, 0x2d(r23)
/* 80348F54 00345EB4 8B 17 00 2E */ lbz r24, 0x2e(r23)
/* 80348F58 00345EB8 4B CC 33 5D */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80348F5C 00345EBC C0 17 00 0C */ lfs f0, 0xc(r23)
/* 80348F60 00345EC0 38 81 00 10 */ addi r4, r1, 0x10
/* 80348F64 00345EC4 C3 C3 00 00 */ lfs f30, 0(r3)
/* 80348F68 00345EC8 38 6D 9D C0 */ addi r3, r13, lbl_805A8980@sda21
/* 80348F6C 00345ECC EC 00 E0 24 */ fdivs f0, f0, f28
/* 80348F70 00345ED0 38 AD 9D C4 */ addi r5, r13, lbl_805A8984@sda21
/* 80348F74 00345ED4 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80348F78 00345ED8 4B CC 33 3D */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80348F7C 00345EDC C0 17 00 10 */ lfs f0, 0x10(r23)
/* 80348F80 00345EE0 38 81 00 0C */ addi r4, r1, 0xc
/* 80348F84 00345EE4 C3 A3 00 00 */ lfs f29, 0(r3)
/* 80348F88 00345EE8 38 6D 9D C8 */ addi r3, r13, lbl_805A8988@sda21
/* 80348F8C 00345EEC EC 00 B8 24 */ fdivs f0, f0, f23
/* 80348F90 00345EF0 38 AD 9D CC */ addi r5, r13, lbl_805A898C@sda21
/* 80348F94 00345EF4 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 80348F98 00345EF8 4B CC 33 1D */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80348F9C 00345EFC C0 17 00 14 */ lfs f0, 0x14(r23)
/* 80348FA0 00345F00 38 81 00 08 */ addi r4, r1, 8
/* 80348FA4 00345F04 C3 83 00 00 */ lfs f28, 0(r3)
/* 80348FA8 00345F08 38 6D 9D D0 */ addi r3, r13, lbl_805A8990@sda21
/* 80348FAC 00345F0C EC 00 B8 24 */ fdivs f0, f0, f23
/* 80348FB0 00345F10 38 AD 9D D4 */ addi r5, r13, lbl_805A8994@sda21
/* 80348FB4 00345F14 D0 01 00 08 */ stfs f0, 8(r1)
/* 80348FB8 00345F18 4B CC 32 FD */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80348FBC 00345F1C C0 03 00 00 */ lfs f0, 0(r3)
/* 80348FC0 00345F20 D3 F6 00 00 */ stfs f31, 0(r22)
/* 80348FC4 00345F24 93 F6 00 04 */ stw r31, 4(r22)
/* 80348FC8 00345F28 D3 D6 00 08 */ stfs f30, 8(r22)
/* 80348FCC 00345F2C D3 B6 00 0C */ stfs f29, 0xc(r22)
/* 80348FD0 00345F30 D3 96 00 10 */ stfs f28, 0x10(r22)
/* 80348FD4 00345F34 D0 16 00 14 */ stfs f0, 0x14(r22)
/* 80348FD8 00345F38 D3 76 00 18 */ stfs f27, 0x18(r22)
/* 80348FDC 00345F3C D3 56 00 1C */ stfs f26, 0x1c(r22)
/* 80348FE0 00345F40 9B D6 00 20 */ stb r30, 0x20(r22)
/* 80348FE4 00345F44 9B B6 00 21 */ stb r29, 0x21(r22)
/* 80348FE8 00345F48 9B 96 00 22 */ stb r28, 0x22(r22)
/* 80348FEC 00345F4C 9B 76 00 23 */ stb r27, 0x23(r22)
/* 80348FF0 00345F50 D3 36 00 24 */ stfs f25, 0x24(r22)
/* 80348FF4 00345F54 D3 16 00 28 */ stfs f24, 0x28(r22)
/* 80348FF8 00345F58 9B 56 00 2C */ stb r26, 0x2c(r22)
/* 80348FFC 00345F5C 9B 36 00 2D */ stb r25, 0x2d(r22)
/* 80349000 00345F60 9B 16 00 2E */ stb r24, 0x2e(r22)
/* 80349004 00345F64 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0
/* 80349008 00345F68 CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 8034900C 00345F6C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0
/* 80349010 00345F70 CB C1 00 B0 */ lfd f30, 0xb0(r1)
/* 80349014 00345F74 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0
/* 80349018 00345F78 CB A1 00 A0 */ lfd f29, 0xa0(r1)
/* 8034901C 00345F7C E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0
/* 80349020 00345F80 CB 81 00 90 */ lfd f28, 0x90(r1)
/* 80349024 00345F84 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0
/* 80349028 00345F88 CB 61 00 80 */ lfd f27, 0x80(r1)
/* 8034902C 00345F8C E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0
/* 80349030 00345F90 CB 41 00 70 */ lfd f26, 0x70(r1)
/* 80349034 00345F94 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0
/* 80349038 00345F98 CB 21 00 60 */ lfd f25, 0x60(r1)
/* 8034903C 00345F9C E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0
/* 80349040 00345FA0 CB 01 00 50 */ lfd f24, 0x50(r1)
/* 80349044 00345FA4 E2 E1 00 48 */ psq_l f23, 72(r1), 0, qr0
/* 80349048 00345FA8 CA E1 00 40 */ lfd f23, 0x40(r1)
/* 8034904C 00345FAC BA C1 00 18 */ lmw r22, 0x18(r1)
/* 80349050 00345FB0 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 80349054 00345FB4 7C 08 03 A6 */ mtlr r0
/* 80349058 00345FB8 38 21 00 D0 */ addi r1, r1, 0xd0
/* 8034905C 00345FBC 4E 80 00 20 */ blr
.global __ct__11CFinalInputFifRC10COsContext
__ct__11CFinalInputFifRC10COsContext:
/* 80349060 00345FC0 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 80349064 00345FC4 7C 08 02 A6 */ mflr r0
/* 80349068 00345FC8 C0 02 CC 30 */ lfs f0, lbl_805AE950@sda21(r2)
/* 8034906C 00345FCC 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 80349070 00345FD0 38 00 00 00 */ li r0, 0
/* 80349074 00345FD4 93 E1 00 CC */ stw r31, 0xcc(r1)
/* 80349078 00345FD8 7C BF 2B 78 */ mr r31, r5
/* 8034907C 00345FDC 38 A0 00 6D */ li r5, 0x6d
/* 80349080 00345FE0 93 C1 00 C8 */ stw r30, 0xc8(r1)
/* 80349084 00345FE4 7C 7E 1B 78 */ mr r30, r3
/* 80349088 00345FE8 D0 23 00 00 */ stfs f1, 0(r3)
/* 8034908C 00345FEC 38 61 00 C0 */ addi r3, r1, 0xc0
/* 80349090 00345FF0 90 9E 00 04 */ stw r4, 4(r30)
/* 80349094 00345FF4 7F E4 FB 78 */ mr r4, r31
/* 80349098 00345FF8 D0 1E 00 08 */ stfs f0, 8(r30)
/* 8034909C 00345FFC D0 1E 00 0C */ stfs f0, 0xc(r30)
/* 803490A0 00346000 D0 1E 00 10 */ stfs f0, 0x10(r30)
/* 803490A4 00346004 D0 1E 00 14 */ stfs f0, 0x14(r30)
/* 803490A8 00346008 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 803490AC 0034600C D0 1E 00 1C */ stfs f0, 0x1c(r30)
/* 803490B0 00346010 98 1E 00 22 */ stb r0, 0x22(r30)
/* 803490B4 00346014 98 1E 00 23 */ stb r0, 0x23(r30)
/* 803490B8 00346018 D0 1E 00 24 */ stfs f0, 0x24(r30)
/* 803490BC 0034601C D0 1E 00 28 */ stfs f0, 0x28(r30)
/* 803490C0 00346020 4B F8 D5 41 */ bl GetOsKeyState__10COsContextCFi
/* 803490C4 00346024 88 A1 00 C4 */ lbz r5, 0xc4(r1)
/* 803490C8 00346028 7F E4 FB 78 */ mr r4, r31
/* 803490CC 0034602C 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 803490D0 00346030 38 61 00 B8 */ addi r3, r1, 0xb8
/* 803490D4 00346034 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 803490D8 00346038 38 A0 00 6E */ li r5, 0x6e
/* 803490DC 0034603C 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 803490E0 00346040 7C C7 07 74 */ extsb r7, r6
/* 803490E4 00346044 7C C7 00 D0 */ neg r6, r7
/* 803490E8 00346048 7C C6 3B 78 */ or r6, r6, r7
/* 803490EC 0034604C 50 C0 46 30 */ rlwimi r0, r6, 8, 0x18, 0x18
/* 803490F0 00346050 98 1E 00 2C */ stb r0, 0x2c(r30)
/* 803490F4 00346054 4B F8 D5 0D */ bl GetOsKeyState__10COsContextCFi
/* 803490F8 00346058 88 A1 00 BC */ lbz r5, 0xbc(r1)
/* 803490FC 0034605C 7F E4 FB 78 */ mr r4, r31
/* 80349100 00346060 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 80349104 00346064 38 61 00 B0 */ addi r3, r1, 0xb0
/* 80349108 00346068 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 8034910C 0034606C 38 A0 00 84 */ li r5, 0x84
/* 80349110 00346070 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 80349114 00346074 7C C7 07 74 */ extsb r7, r6
/* 80349118 00346078 7C C7 00 D0 */ neg r6, r7
/* 8034911C 0034607C 7C C6 3B 78 */ or r6, r6, r7
/* 80349120 00346080 50 C0 3E 72 */ rlwimi r0, r6, 7, 0x19, 0x19
/* 80349124 00346084 98 1E 00 2C */ stb r0, 0x2c(r30)
/* 80349128 00346088 4B F8 D4 D9 */ bl GetOsKeyState__10COsContextCFi
/* 8034912C 0034608C 88 A1 00 B4 */ lbz r5, 0xb4(r1)
/* 80349130 00346090 7F E4 FB 78 */ mr r4, r31
/* 80349134 00346094 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 80349138 00346098 38 61 00 A8 */ addi r3, r1, 0xa8
/* 8034913C 0034609C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 80349140 003460A0 38 A0 00 85 */ li r5, 0x85
/* 80349144 003460A4 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 80349148 003460A8 7C C7 07 74 */ extsb r7, r6
/* 8034914C 003460AC 7C C7 00 D0 */ neg r6, r7
/* 80349150 003460B0 7C C6 3B 78 */ or r6, r6, r7
/* 80349154 003460B4 50 C0 36 B4 */ rlwimi r0, r6, 6, 0x1a, 0x1a
/* 80349158 003460B8 98 1E 00 2C */ stb r0, 0x2c(r30)
/* 8034915C 003460BC 4B F8 D4 A5 */ bl GetOsKeyState__10COsContextCFi
/* 80349160 003460C0 88 A1 00 AC */ lbz r5, 0xac(r1)
/* 80349164 003460C4 7F E4 FB 78 */ mr r4, r31
/* 80349168 003460C8 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 8034916C 003460CC 38 61 00 A0 */ addi r3, r1, 0xa0
/* 80349170 003460D0 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 80349174 003460D4 38 A0 00 16 */ li r5, 0x16
/* 80349178 003460D8 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 8034917C 003460DC 7C C7 07 74 */ extsb r7, r6
/* 80349180 003460E0 7C C7 00 D0 */ neg r6, r7
/* 80349184 003460E4 7C C6 3B 78 */ or r6, r6, r7
/* 80349188 003460E8 50 C0 2E F6 */ rlwimi r0, r6, 5, 0x1b, 0x1b
/* 8034918C 003460EC 98 1E 00 2C */ stb r0, 0x2c(r30)
/* 80349190 003460F0 4B F8 D4 71 */ bl GetOsKeyState__10COsContextCFi
/* 80349194 003460F4 88 A1 00 A4 */ lbz r5, 0xa4(r1)
/* 80349198 003460F8 7F E4 FB 78 */ mr r4, r31
/* 8034919C 003460FC 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 803491A0 00346100 38 61 00 98 */ addi r3, r1, 0x98
/* 803491A4 00346104 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 803491A8 00346108 38 A0 00 78 */ li r5, 0x78
/* 803491AC 0034610C 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 803491B0 00346110 7C C7 07 74 */ extsb r7, r6
/* 803491B4 00346114 7C C7 00 D0 */ neg r6, r7
/* 803491B8 00346118 7C C6 3B 78 */ or r6, r6, r7
/* 803491BC 0034611C 50 C0 27 38 */ rlwimi r0, r6, 4, 0x1c, 0x1c
/* 803491C0 00346120 98 1E 00 2C */ stb r0, 0x2c(r30)
/* 803491C4 00346124 4B F8 D4 3D */ bl GetOsKeyState__10COsContextCFi
/* 803491C8 00346128 88 A1 00 9C */ lbz r5, 0x9c(r1)
/* 803491CC 0034612C 7F E4 FB 78 */ mr r4, r31
/* 803491D0 00346130 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 803491D4 00346134 38 61 00 90 */ addi r3, r1, 0x90
/* 803491D8 00346138 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 803491DC 0034613C 38 A0 00 7E */ li r5, 0x7e
/* 803491E0 00346140 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 803491E4 00346144 7C C7 07 74 */ extsb r7, r6
/* 803491E8 00346148 7C C7 00 D0 */ neg r6, r7
/* 803491EC 0034614C 7C C6 3B 78 */ or r6, r6, r7
/* 803491F0 00346150 50 C0 1F 7A */ rlwimi r0, r6, 3, 0x1d, 0x1d
/* 803491F4 00346154 98 1E 00 2C */ stb r0, 0x2c(r30)
/* 803491F8 00346158 4B F8 D4 09 */ bl GetOsKeyState__10COsContextCFi
/* 803491FC 0034615C 88 A1 00 94 */ lbz r5, 0x94(r1)
/* 80349200 00346160 7F E4 FB 78 */ mr r4, r31
/* 80349204 00346164 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 80349208 00346168 38 61 00 88 */ addi r3, r1, 0x88
/* 8034920C 0034616C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 80349210 00346170 38 A0 00 1C */ li r5, 0x1c
/* 80349214 00346174 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 80349218 00346178 7C C7 07 74 */ extsb r7, r6
/* 8034921C 0034617C 7C C7 00 D0 */ neg r6, r7
/* 80349220 00346180 7C C6 3B 78 */ or r6, r6, r7
/* 80349224 00346184 50 C0 17 BC */ rlwimi r0, r6, 2, 0x1e, 0x1e
/* 80349228 00346188 98 1E 00 2C */ stb r0, 0x2c(r30)
/* 8034922C 0034618C 4B F8 D3 D5 */ bl GetOsKeyState__10COsContextCFi
/* 80349230 00346190 88 A1 00 8C */ lbz r5, 0x8c(r1)
/* 80349234 00346194 7F E4 FB 78 */ mr r4, r31
/* 80349238 00346198 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 8034923C 0034619C 38 61 00 80 */ addi r3, r1, 0x80
/* 80349240 003461A0 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 80349244 003461A4 38 A0 00 1D */ li r5, 0x1d
/* 80349248 003461A8 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 8034924C 003461AC 7C C7 07 74 */ extsb r7, r6
/* 80349250 003461B0 7C C7 00 D0 */ neg r6, r7
/* 80349254 003461B4 7C C6 3B 78 */ or r6, r6, r7
/* 80349258 003461B8 50 C0 0F FE */ rlwimi r0, r6, 1, 0x1f, 0x1f
/* 8034925C 003461BC 98 1E 00 2C */ stb r0, 0x2c(r30)
/* 80349260 003461C0 4B F8 D3 A1 */ bl GetOsKeyState__10COsContextCFi
/* 80349264 003461C4 88 A1 00 84 */ lbz r5, 0x84(r1)
/* 80349268 003461C8 7F E4 FB 78 */ mr r4, r31
/* 8034926C 003461CC 88 1E 00 2D */ lbz r0, 0x2d(r30)
/* 80349270 003461D0 38 61 00 78 */ addi r3, r1, 0x78
/* 80349274 003461D4 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 80349278 003461D8 38 A0 00 1E */ li r5, 0x1e
/* 8034927C 003461DC 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 80349280 003461E0 7C C7 07 74 */ extsb r7, r6
/* 80349284 003461E4 7C C7 00 D0 */ neg r6, r7
/* 80349288 003461E8 7C C6 3B 78 */ or r6, r6, r7
/* 8034928C 003461EC 50 C0 46 30 */ rlwimi r0, r6, 8, 0x18, 0x18
/* 80349290 003461F0 98 1E 00 2D */ stb r0, 0x2d(r30)
/* 80349294 003461F4 4B F8 D3 6D */ bl GetOsKeyState__10COsContextCFi
/* 80349298 003461F8 88 A1 00 7C */ lbz r5, 0x7c(r1)
/* 8034929C 003461FC 7F E4 FB 78 */ mr r4, r31
/* 803492A0 00346200 88 1E 00 2D */ lbz r0, 0x2d(r30)
/* 803492A4 00346204 38 61 00 70 */ addi r3, r1, 0x70
/* 803492A8 00346208 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 803492AC 0034620C 38 A0 00 1B */ li r5, 0x1b
/* 803492B0 00346210 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 803492B4 00346214 7C C7 07 74 */ extsb r7, r6
/* 803492B8 00346218 7C C7 00 D0 */ neg r6, r7
/* 803492BC 0034621C 7C C6 3B 78 */ or r6, r6, r7
/* 803492C0 00346220 50 C0 3E 72 */ rlwimi r0, r6, 7, 0x19, 0x19
/* 803492C4 00346224 98 1E 00 2D */ stb r0, 0x2d(r30)
/* 803492C8 00346228 4B F8 D3 39 */ bl GetOsKeyState__10COsContextCFi
/* 803492CC 0034622C 88 A1 00 74 */ lbz r5, 0x74(r1)
/* 803492D0 00346230 7F E4 FB 78 */ mr r4, r31
/* 803492D4 00346234 88 1E 00 2D */ lbz r0, 0x2d(r30)
/* 803492D8 00346238 38 61 00 68 */ addi r3, r1, 0x68
/* 803492DC 0034623C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 803492E0 00346240 38 A0 00 05 */ li r5, 5
/* 803492E4 00346244 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 803492E8 00346248 7C C7 07 74 */ extsb r7, r6
/* 803492EC 0034624C 7C C7 00 D0 */ neg r6, r7
/* 803492F0 00346250 7C C6 3B 78 */ or r6, r6, r7
/* 803492F4 00346254 50 C0 36 B4 */ rlwimi r0, r6, 6, 0x1a, 0x1a
/* 803492F8 00346258 98 1E 00 2D */ stb r0, 0x2d(r30)
/* 803492FC 0034625C 4B F8 D3 05 */ bl GetOsKeyState__10COsContextCFi
/* 80349300 00346260 88 A1 00 6C */ lbz r5, 0x6c(r1)
/* 80349304 00346264 7F E4 FB 78 */ mr r4, r31
/* 80349308 00346268 88 1E 00 2D */ lbz r0, 0x2d(r30)
/* 8034930C 0034626C 38 61 00 60 */ addi r3, r1, 0x60
/* 80349310 00346270 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1
/* 80349314 00346274 38 A0 00 6D */ li r5, 0x6d
/* 80349318 00346278 7C C6 FE 70 */ srawi r6, r6, 0x1f
/* 8034931C 0034627C 7C C7 07 74 */ extsb r7, r6
/* 80349320 00346280 7C C7 00 D0 */ neg r6, r7
/* 80349324 00346284 7C C6 3B 78 */ or r6, r6, r7
/* 80349328 00346288 50 C0 2E F6 */ rlwimi r0, r6, 5, 0x1b, 0x1b
/* 8034932C 0034628C 98 1E 00 2D */ stb r0, 0x2d(r30)
/* 80349330 00346290 4B F8 D2 D1 */ bl GetOsKeyState__10COsContextCFi
/* 80349334 00346294 88 61 00 64 */ lbz r3, 0x64(r1)
/* 80349338 00346298 38 80 00 00 */ li r4, 0
/* 8034933C 0034629C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 80349340 003462A0 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 80349344 003462A4 7C 00 07 75 */ extsb. r0, r0
/* 80349348 003462A8 41 82 00 18 */ beq lbl_80349360
/* 8034934C 003462AC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 80349350 003462B0 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 80349354 003462B4 7C 00 07 75 */ extsb. r0, r0
/* 80349358 003462B8 41 82 00 08 */ beq lbl_80349360
/* 8034935C 003462BC 38 80 00 01 */ li r4, 1
lbl_80349360:
/* 80349360 003462C0 88 1E 00 2D */ lbz r0, 0x2d(r30)
/* 80349364 003462C4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80349368 003462C8 7F E4 FB 78 */ mr r4, r31
/* 8034936C 003462CC 38 61 00 58 */ addi r3, r1, 0x58
/* 80349370 003462D0 98 1E 00 2D */ stb r0, 0x2d(r30)
/* 80349374 003462D4 38 A0 00 6E */ li r5, 0x6e
/* 80349378 003462D8 4B F8 D2 89 */ bl GetOsKeyState__10COsContextCFi
/* 8034937C 003462DC 88 61 00 5C */ lbz r3, 0x5c(r1)
/* 80349380 003462E0 38 80 00 00 */ li r4, 0
/* 80349384 003462E4 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 80349388 003462E8 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 8034938C 003462EC 7C 00 07 75 */ extsb. r0, r0
/* 80349390 003462F0 41 82 00 18 */ beq lbl_803493A8
/* 80349394 003462F4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 80349398 003462F8 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 8034939C 003462FC 7C 00 07 75 */ extsb. r0, r0
/* 803493A0 00346300 41 82 00 08 */ beq lbl_803493A8
/* 803493A4 00346304 38 80 00 01 */ li r4, 1
lbl_803493A8:
/* 803493A8 00346308 88 1E 00 2D */ lbz r0, 0x2d(r30)
/* 803493AC 0034630C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 803493B0 00346310 7F E4 FB 78 */ mr r4, r31
/* 803493B4 00346314 38 61 00 50 */ addi r3, r1, 0x50
/* 803493B8 00346318 98 1E 00 2D */ stb r0, 0x2d(r30)
/* 803493BC 0034631C 38 A0 00 84 */ li r5, 0x84
/* 803493C0 00346320 4B F8 D2 41 */ bl GetOsKeyState__10COsContextCFi
/* 803493C4 00346324 88 61 00 54 */ lbz r3, 0x54(r1)
/* 803493C8 00346328 38 80 00 00 */ li r4, 0
/* 803493CC 0034632C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 803493D0 00346330 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 803493D4 00346334 7C 00 07 75 */ extsb. r0, r0
/* 803493D8 00346338 41 82 00 18 */ beq lbl_803493F0
/* 803493DC 0034633C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 803493E0 00346340 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 803493E4 00346344 7C 00 07 75 */ extsb. r0, r0
/* 803493E8 00346348 41 82 00 08 */ beq lbl_803493F0
/* 803493EC 0034634C 38 80 00 01 */ li r4, 1
lbl_803493F0:
/* 803493F0 00346350 88 1E 00 2D */ lbz r0, 0x2d(r30)
/* 803493F4 00346354 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e
/* 803493F8 00346358 7F E4 FB 78 */ mr r4, r31
/* 803493FC 0034635C 38 61 00 48 */ addi r3, r1, 0x48
/* 80349400 00346360 98 1E 00 2D */ stb r0, 0x2d(r30)
/* 80349404 00346364 38 A0 00 85 */ li r5, 0x85
/* 80349408 00346368 4B F8 D1 F9 */ bl GetOsKeyState__10COsContextCFi
/* 8034940C 0034636C 88 61 00 4C */ lbz r3, 0x4c(r1)
/* 80349410 00346370 38 80 00 00 */ li r4, 0
/* 80349414 00346374 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 80349418 00346378 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 8034941C 0034637C 7C 00 07 75 */ extsb. r0, r0
/* 80349420 00346380 41 82 00 18 */ beq lbl_80349438
/* 80349424 00346384 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 80349428 00346388 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 8034942C 0034638C 7C 00 07 75 */ extsb. r0, r0
/* 80349430 00346390 41 82 00 08 */ beq lbl_80349438
/* 80349434 00346394 38 80 00 01 */ li r4, 1
lbl_80349438:
/* 80349438 00346398 88 1E 00 2D */ lbz r0, 0x2d(r30)
/* 8034943C 0034639C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f
/* 80349440 003463A0 7F E4 FB 78 */ mr r4, r31
/* 80349444 003463A4 38 61 00 40 */ addi r3, r1, 0x40
/* 80349448 003463A8 98 1E 00 2D */ stb r0, 0x2d(r30)
/* 8034944C 003463AC 38 A0 00 16 */ li r5, 0x16
/* 80349450 003463B0 4B F8 D1 B1 */ bl GetOsKeyState__10COsContextCFi
/* 80349454 003463B4 88 61 00 44 */ lbz r3, 0x44(r1)
/* 80349458 003463B8 38 80 00 00 */ li r4, 0
/* 8034945C 003463BC 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 80349460 003463C0 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 80349464 003463C4 7C 00 07 75 */ extsb. r0, r0
/* 80349468 003463C8 41 82 00 18 */ beq lbl_80349480
/* 8034946C 003463CC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 80349470 003463D0 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 80349474 003463D4 7C 00 07 75 */ extsb. r0, r0
/* 80349478 003463D8 41 82 00 08 */ beq lbl_80349480
/* 8034947C 003463DC 38 80 00 01 */ li r4, 1
lbl_80349480:
/* 80349480 003463E0 88 1E 00 2E */ lbz r0, 0x2e(r30)
/* 80349484 003463E4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80349488 003463E8 7F E4 FB 78 */ mr r4, r31
/* 8034948C 003463EC 38 61 00 38 */ addi r3, r1, 0x38
/* 80349490 003463F0 98 1E 00 2E */ stb r0, 0x2e(r30)
/* 80349494 003463F4 38 A0 00 78 */ li r5, 0x78
/* 80349498 003463F8 4B F8 D1 69 */ bl GetOsKeyState__10COsContextCFi
/* 8034949C 003463FC 88 61 00 3C */ lbz r3, 0x3c(r1)
/* 803494A0 00346400 38 80 00 00 */ li r4, 0
/* 803494A4 00346404 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 803494A8 00346408 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 803494AC 0034640C 7C 00 07 75 */ extsb. r0, r0
/* 803494B0 00346410 41 82 00 18 */ beq lbl_803494C8
/* 803494B4 00346414 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 803494B8 00346418 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 803494BC 0034641C 7C 00 07 75 */ extsb. r0, r0
/* 803494C0 00346420 41 82 00 08 */ beq lbl_803494C8
/* 803494C4 00346424 38 80 00 01 */ li r4, 1
lbl_803494C8:
/* 803494C8 00346428 88 1E 00 2E */ lbz r0, 0x2e(r30)
/* 803494CC 0034642C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 803494D0 00346430 7F E4 FB 78 */ mr r4, r31
/* 803494D4 00346434 38 61 00 30 */ addi r3, r1, 0x30
/* 803494D8 00346438 98 1E 00 2E */ stb r0, 0x2e(r30)
/* 803494DC 0034643C 38 A0 00 7E */ li r5, 0x7e
/* 803494E0 00346440 4B F8 D1 21 */ bl GetOsKeyState__10COsContextCFi
/* 803494E4 00346444 88 61 00 34 */ lbz r3, 0x34(r1)
/* 803494E8 00346448 38 80 00 00 */ li r4, 0
/* 803494EC 0034644C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 803494F0 00346450 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 803494F4 00346454 7C 00 07 75 */ extsb. r0, r0
/* 803494F8 00346458 41 82 00 18 */ beq lbl_80349510
/* 803494FC 0034645C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 80349500 00346460 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 80349504 00346464 7C 00 07 75 */ extsb. r0, r0
/* 80349508 00346468 41 82 00 08 */ beq lbl_80349510
/* 8034950C 0034646C 38 80 00 01 */ li r4, 1
lbl_80349510:
/* 80349510 00346470 88 1E 00 2E */ lbz r0, 0x2e(r30)
/* 80349514 00346474 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80349518 00346478 7F E4 FB 78 */ mr r4, r31
/* 8034951C 0034647C 38 61 00 28 */ addi r3, r1, 0x28
/* 80349520 00346480 98 1E 00 2E */ stb r0, 0x2e(r30)
/* 80349524 00346484 38 A0 00 1C */ li r5, 0x1c
/* 80349528 00346488 4B F8 D0 D9 */ bl GetOsKeyState__10COsContextCFi
/* 8034952C 0034648C 88 61 00 2C */ lbz r3, 0x2c(r1)
/* 80349530 00346490 38 80 00 00 */ li r4, 0
/* 80349534 00346494 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 80349538 00346498 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 8034953C 0034649C 7C 00 07 75 */ extsb. r0, r0
/* 80349540 003464A0 41 82 00 18 */ beq lbl_80349558
/* 80349544 003464A4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 80349548 003464A8 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 8034954C 003464AC 7C 00 07 75 */ extsb. r0, r0
/* 80349550 003464B0 41 82 00 08 */ beq lbl_80349558
/* 80349554 003464B4 38 80 00 01 */ li r4, 1
lbl_80349558:
/* 80349558 003464B8 88 1E 00 2E */ lbz r0, 0x2e(r30)
/* 8034955C 003464BC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 80349560 003464C0 7F E4 FB 78 */ mr r4, r31
/* 80349564 003464C4 38 61 00 20 */ addi r3, r1, 0x20
/* 80349568 003464C8 98 1E 00 2E */ stb r0, 0x2e(r30)
/* 8034956C 003464CC 38 A0 00 1D */ li r5, 0x1d
/* 80349570 003464D0 4B F8 D0 91 */ bl GetOsKeyState__10COsContextCFi
/* 80349574 003464D4 88 61 00 24 */ lbz r3, 0x24(r1)
/* 80349578 003464D8 38 80 00 00 */ li r4, 0
/* 8034957C 003464DC 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 80349580 003464E0 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 80349584 003464E4 7C 00 07 75 */ extsb. r0, r0
/* 80349588 003464E8 41 82 00 18 */ beq lbl_803495A0
/* 8034958C 003464EC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 80349590 003464F0 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 80349594 003464F4 7C 00 07 75 */ extsb. r0, r0
/* 80349598 003464F8 41 82 00 08 */ beq lbl_803495A0
/* 8034959C 003464FC 38 80 00 01 */ li r4, 1
lbl_803495A0:
/* 803495A0 00346500 88 1E 00 2E */ lbz r0, 0x2e(r30)
/* 803495A4 00346504 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 803495A8 00346508 7F E4 FB 78 */ mr r4, r31
/* 803495AC 0034650C 38 61 00 18 */ addi r3, r1, 0x18
/* 803495B0 00346510 98 1E 00 2E */ stb r0, 0x2e(r30)
/* 803495B4 00346514 38 A0 00 1E */ li r5, 0x1e
/* 803495B8 00346518 4B F8 D0 49 */ bl GetOsKeyState__10COsContextCFi
/* 803495BC 0034651C 88 61 00 1C */ lbz r3, 0x1c(r1)
/* 803495C0 00346520 38 80 00 00 */ li r4, 0
/* 803495C4 00346524 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 803495C8 00346528 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 803495CC 0034652C 7C 00 07 75 */ extsb. r0, r0
/* 803495D0 00346530 41 82 00 18 */ beq lbl_803495E8
/* 803495D4 00346534 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 803495D8 00346538 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 803495DC 0034653C 7C 00 07 75 */ extsb. r0, r0
/* 803495E0 00346540 41 82 00 08 */ beq lbl_803495E8
/* 803495E4 00346544 38 80 00 01 */ li r4, 1
lbl_803495E8:
/* 803495E8 00346548 88 1E 00 2E */ lbz r0, 0x2e(r30)
/* 803495EC 0034654C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 803495F0 00346550 7F E4 FB 78 */ mr r4, r31
/* 803495F4 00346554 38 61 00 10 */ addi r3, r1, 0x10
/* 803495F8 00346558 98 1E 00 2E */ stb r0, 0x2e(r30)
/* 803495FC 0034655C 38 A0 00 1B */ li r5, 0x1b
/* 80349600 00346560 4B F8 D0 01 */ bl GetOsKeyState__10COsContextCFi
/* 80349604 00346564 88 61 00 14 */ lbz r3, 0x14(r1)
/* 80349608 00346568 38 80 00 00 */ li r4, 0
/* 8034960C 0034656C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 80349610 00346570 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 80349614 00346574 7C 00 07 75 */ extsb. r0, r0
/* 80349618 00346578 41 82 00 18 */ beq lbl_80349630
/* 8034961C 0034657C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 80349620 00346580 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 80349624 00346584 7C 00 07 75 */ extsb. r0, r0
/* 80349628 00346588 41 82 00 08 */ beq lbl_80349630
/* 8034962C 0034658C 38 80 00 01 */ li r4, 1
lbl_80349630:
/* 80349630 00346590 88 1E 00 2E */ lbz r0, 0x2e(r30)
/* 80349634 00346594 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e
/* 80349638 00346598 7F E4 FB 78 */ mr r4, r31
/* 8034963C 0034659C 38 61 00 08 */ addi r3, r1, 8
/* 80349640 003465A0 98 1E 00 2E */ stb r0, 0x2e(r30)
/* 80349644 003465A4 38 A0 00 05 */ li r5, 5
/* 80349648 003465A8 4B F8 CF B9 */ bl GetOsKeyState__10COsContextCFi
/* 8034964C 003465AC 88 61 00 0C */ lbz r3, 0xc(r1)
/* 80349650 003465B0 38 80 00 00 */ li r4, 0
/* 80349654 003465B4 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1
/* 80349658 003465B8 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 8034965C 003465BC 7C 00 07 75 */ extsb. r0, r0
/* 80349660 003465C0 41 82 00 18 */ beq lbl_80349678
/* 80349664 003465C4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1
/* 80349668 003465C8 7C 00 FE 70 */ srawi r0, r0, 0x1f
/* 8034966C 003465CC 7C 00 07 75 */ extsb. r0, r0
/* 80349670 003465D0 41 82 00 08 */ beq lbl_80349678
/* 80349674 003465D4 38 80 00 01 */ li r4, 1
lbl_80349678:
/* 80349678 003465D8 88 1E 00 2E */ lbz r0, 0x2e(r30)
/* 8034967C 003465DC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f
/* 80349680 003465E0 7F C3 F3 78 */ mr r3, r30
/* 80349684 003465E4 98 1E 00 2E */ stb r0, 0x2e(r30)
/* 80349688 003465E8 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 8034968C 003465EC 83 E1 00 CC */ lwz r31, 0xcc(r1)
/* 80349690 003465F0 83 C1 00 C8 */ lwz r30, 0xc8(r1)
/* 80349694 003465F4 7C 08 03 A6 */ mtlr r0
/* 80349698 003465F8 38 21 00 D0 */ addi r1, r1, 0xd0
/* 8034969C 003465FC 4E 80 00 20 */ blr
.global InitializeAnalog__11CFinalInputFff
InitializeAnalog__11CFinalInputFff:
/* 803496A0 00346600 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 803496A4 00346604 7C 08 02 A6 */ mflr r0
/* 803496A8 00346608 90 01 00 44 */ stw r0, 0x44(r1)
/* 803496AC 0034660C DB E1 00 30 */ stfd f31, 0x30(r1)
/* 803496B0 00346610 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 803496B4 00346614 DB C1 00 20 */ stfd f30, 0x20(r1)
/* 803496B8 00346618 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0
/* 803496BC 0034661C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 803496C0 00346620 7C 7F 1B 78 */ mr r31, r3
/* 803496C4 00346624 FF C0 08 90 */ fmr f30, f1
/* 803496C8 00346628 C0 03 00 08 */ lfs f0, 8(r3)
/* 803496CC 0034662C FF E0 10 90 */ fmr f31, f2
/* 803496D0 00346630 38 81 00 14 */ addi r4, r1, 0x14
/* 803496D4 00346634 38 6D 9D 98 */ addi r3, r13, lbl_805A8958@sda21
/* 803496D8 00346638 EC 00 F0 24 */ fdivs f0, f0, f30
/* 803496DC 0034663C 38 AD 9D 9C */ addi r5, r13, lbl_805A895C@sda21
/* 803496E0 00346640 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 803496E4 00346644 4B CC 2B D1 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 803496E8 00346648 C0 03 00 00 */ lfs f0, 0(r3)
/* 803496EC 0034664C 38 81 00 10 */ addi r4, r1, 0x10
/* 803496F0 00346650 38 6D 9D A0 */ addi r3, r13, lbl_805A8960@sda21
/* 803496F4 00346654 38 AD 9D A4 */ addi r5, r13, lbl_805A8964@sda21
/* 803496F8 00346658 D0 1F 00 08 */ stfs f0, 8(r31)
/* 803496FC 0034665C C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 80349700 00346660 EC 00 F0 24 */ fdivs f0, f0, f30
/* 80349704 00346664 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80349708 00346668 4B CC 2B AD */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 8034970C 0034666C C0 03 00 00 */ lfs f0, 0(r3)
/* 80349710 00346670 38 81 00 0C */ addi r4, r1, 0xc
/* 80349714 00346674 38 6D 9D A8 */ addi r3, r13, lbl_805A8968@sda21
/* 80349718 00346678 38 AD 9D AC */ addi r5, r13, lbl_805A896C@sda21
/* 8034971C 0034667C D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80349720 00346680 C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 80349724 00346684 EC 00 F8 24 */ fdivs f0, f0, f31
/* 80349728 00346688 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8034972C 0034668C 4B CC 2B 89 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80349730 00346690 C0 03 00 00 */ lfs f0, 0(r3)
/* 80349734 00346694 38 81 00 08 */ addi r4, r1, 8
/* 80349738 00346698 38 6D 9D B0 */ addi r3, r13, lbl_805A8970@sda21
/* 8034973C 0034669C 38 AD 9D B4 */ addi r5, r13, lbl_805A8974@sda21
/* 80349740 003466A0 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80349744 003466A4 C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 80349748 003466A8 EC 00 F8 24 */ fdivs f0, f0, f31
/* 8034974C 003466AC D0 01 00 08 */ stfs f0, 8(r1)
/* 80349750 003466B0 4B CC 2B 65 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80349754 003466B4 C0 23 00 00 */ lfs f1, 0(r3)
/* 80349758 003466B8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 8034975C 003466BC D0 3F 00 14 */ stfs f1, 0x14(r31)
/* 80349760 003466C0 C0 3F 00 0C */ lfs f1, 0xc(r31)
/* 80349764 003466C4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349768 003466C8 40 81 00 30 */ ble lbl_80349798
/* 8034976C 003466CC 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349770 003466D0 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349774 003466D4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349778 003466D8 54 04 10 3A */ slwi r4, r0, 2
/* 8034977C 003466DC 7C 03 20 AE */ lbzx r0, r3, r4
/* 80349780 003466E0 28 00 00 00 */ cmplwi r0, 0
/* 80349784 003466E4 40 82 00 14 */ bne lbl_80349798
/* 80349788 003466E8 38 00 00 01 */ li r0, 1
/* 8034978C 003466EC 7C 03 21 AE */ stbx r0, r3, r4
/* 80349790 003466F0 98 1F 00 21 */ stb r0, 0x21(r31)
/* 80349794 003466F4 48 00 00 DC */ b lbl_80349870
lbl_80349798:
/* 80349798 003466F8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 8034979C 003466FC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 803497A0 00346700 40 81 00 2C */ ble lbl_803497CC
/* 803497A4 00346704 80 1F 00 04 */ lwz r0, 4(r31)
/* 803497A8 00346708 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 803497AC 0034670C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 803497B0 00346710 54 00 10 3A */ slwi r0, r0, 2
/* 803497B4 00346714 7C 03 00 AE */ lbzx r0, r3, r0
/* 803497B8 00346718 28 00 00 00 */ cmplwi r0, 0
/* 803497BC 0034671C 41 82 00 10 */ beq lbl_803497CC
/* 803497C0 00346720 38 00 00 00 */ li r0, 0
/* 803497C4 00346724 98 1F 00 21 */ stb r0, 0x21(r31)
/* 803497C8 00346728 48 00 00 A8 */ b lbl_80349870
lbl_803497CC:
/* 803497CC 0034672C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2)
/* 803497D0 00346730 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 803497D4 00346734 40 80 00 38 */ bge lbl_8034980C
/* 803497D8 00346738 80 1F 00 04 */ lwz r0, 4(r31)
/* 803497DC 0034673C 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 803497E0 00346740 38 83 F6 60 */ addi r4, r3, lbl_803EF660@l
/* 803497E4 00346744 54 00 10 3A */ slwi r0, r0, 2
/* 803497E8 00346748 7C 04 00 AE */ lbzx r0, r4, r0
/* 803497EC 0034674C 28 00 00 00 */ cmplwi r0, 0
/* 803497F0 00346750 40 82 00 1C */ bne lbl_8034980C
/* 803497F4 00346754 38 60 00 01 */ li r3, 1
/* 803497F8 00346758 98 7F 00 21 */ stb r3, 0x21(r31)
/* 803497FC 0034675C 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349800 00346760 54 00 10 3A */ slwi r0, r0, 2
/* 80349804 00346764 7C 64 01 AE */ stbx r3, r4, r0
/* 80349808 00346768 48 00 00 68 */ b lbl_80349870
lbl_8034980C:
/* 8034980C 0034676C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2)
/* 80349810 00346770 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349814 00346774 40 80 00 2C */ bge lbl_80349840
/* 80349818 00346778 80 1F 00 04 */ lwz r0, 4(r31)
/* 8034981C 0034677C 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349820 00346780 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349824 00346784 54 00 10 3A */ slwi r0, r0, 2
/* 80349828 00346788 7C 03 00 AE */ lbzx r0, r3, r0
/* 8034982C 0034678C 28 00 00 00 */ cmplwi r0, 0
/* 80349830 00346790 41 82 00 10 */ beq lbl_80349840
/* 80349834 00346794 38 00 00 00 */ li r0, 0
/* 80349838 00346798 98 1F 00 21 */ stb r0, 0x21(r31)
/* 8034983C 0034679C 48 00 00 34 */ b lbl_80349870
lbl_80349840:
/* 80349840 003467A0 FC 20 0A 10 */ fabs f1, f1
/* 80349844 003467A4 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 80349848 003467A8 FC 20 08 18 */ frsp f1, f1
/* 8034984C 003467AC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349850 003467B0 40 80 00 20 */ bge lbl_80349870
/* 80349854 003467B4 38 80 00 00 */ li r4, 0
/* 80349858 003467B8 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 8034985C 003467BC 98 9F 00 21 */ stb r4, 0x21(r31)
/* 80349860 003467C0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349864 003467C4 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349868 003467C8 54 00 10 3A */ slwi r0, r0, 2
/* 8034986C 003467CC 7C 83 01 AE */ stbx r4, r3, r0
lbl_80349870:
/* 80349870 003467D0 C0 3F 00 08 */ lfs f1, 8(r31)
/* 80349874 003467D4 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 80349878 003467D8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8034987C 003467DC 40 81 00 3C */ ble lbl_803498B8
/* 80349880 003467E0 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349884 003467E4 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349888 003467E8 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 8034988C 003467EC 38 83 00 01 */ addi r4, r3, 1
/* 80349890 003467F0 54 00 10 3A */ slwi r0, r0, 2
/* 80349894 003467F4 7C 04 00 AE */ lbzx r0, r4, r0
/* 80349898 003467F8 28 00 00 00 */ cmplwi r0, 0
/* 8034989C 003467FC 40 82 00 1C */ bne lbl_803498B8
/* 803498A0 00346800 38 60 00 01 */ li r3, 1
/* 803498A4 00346804 98 7F 00 20 */ stb r3, 0x20(r31)
/* 803498A8 00346808 80 1F 00 04 */ lwz r0, 4(r31)
/* 803498AC 0034680C 54 00 10 3A */ slwi r0, r0, 2
/* 803498B0 00346810 7C 64 01 AE */ stbx r3, r4, r0
/* 803498B4 00346814 48 00 00 E4 */ b lbl_80349998
lbl_803498B8:
/* 803498B8 00346818 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 803498BC 0034681C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 803498C0 00346820 40 81 00 30 */ ble lbl_803498F0
/* 803498C4 00346824 80 1F 00 04 */ lwz r0, 4(r31)
/* 803498C8 00346828 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 803498CC 0034682C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 803498D0 00346830 54 00 10 3A */ slwi r0, r0, 2
/* 803498D4 00346834 7C 63 02 14 */ add r3, r3, r0
/* 803498D8 00346838 88 03 00 01 */ lbz r0, 1(r3)
/* 803498DC 0034683C 28 00 00 00 */ cmplwi r0, 0
/* 803498E0 00346840 41 82 00 10 */ beq lbl_803498F0
/* 803498E4 00346844 38 00 00 00 */ li r0, 0
/* 803498E8 00346848 98 1F 00 20 */ stb r0, 0x20(r31)
/* 803498EC 0034684C 48 00 00 AC */ b lbl_80349998
lbl_803498F0:
/* 803498F0 00346850 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2)
/* 803498F4 00346854 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 803498F8 00346858 40 80 00 34 */ bge lbl_8034992C
/* 803498FC 0034685C 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349900 00346860 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349904 00346864 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349908 00346868 54 00 10 3A */ slwi r0, r0, 2
/* 8034990C 0034686C 7C 63 02 14 */ add r3, r3, r0
/* 80349910 00346870 8C 03 00 01 */ lbzu r0, 1(r3)
/* 80349914 00346874 28 00 00 00 */ cmplwi r0, 0
/* 80349918 00346878 40 82 00 14 */ bne lbl_8034992C
/* 8034991C 0034687C 38 00 00 01 */ li r0, 1
/* 80349920 00346880 98 03 00 00 */ stb r0, 0(r3)
/* 80349924 00346884 98 1F 00 20 */ stb r0, 0x20(r31)
/* 80349928 00346888 48 00 00 70 */ b lbl_80349998
lbl_8034992C:
/* 8034992C 0034688C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2)
/* 80349930 00346890 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349934 00346894 40 80 00 30 */ bge lbl_80349964
/* 80349938 00346898 80 1F 00 04 */ lwz r0, 4(r31)
/* 8034993C 0034689C 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349940 003468A0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349944 003468A4 54 00 10 3A */ slwi r0, r0, 2
/* 80349948 003468A8 7C 63 02 14 */ add r3, r3, r0
/* 8034994C 003468AC 88 03 00 01 */ lbz r0, 1(r3)
/* 80349950 003468B0 28 00 00 00 */ cmplwi r0, 0
/* 80349954 003468B4 41 82 00 10 */ beq lbl_80349964
/* 80349958 003468B8 38 00 00 00 */ li r0, 0
/* 8034995C 003468BC 98 1F 00 20 */ stb r0, 0x20(r31)
/* 80349960 003468C0 48 00 00 38 */ b lbl_80349998
lbl_80349964:
/* 80349964 003468C4 FC 20 0A 10 */ fabs f1, f1
/* 80349968 003468C8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 8034996C 003468CC FC 20 08 18 */ frsp f1, f1
/* 80349970 003468D0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349974 003468D4 40 80 00 24 */ bge lbl_80349998
/* 80349978 003468D8 38 80 00 00 */ li r4, 0
/* 8034997C 003468DC 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349980 003468E0 98 9F 00 20 */ stb r4, 0x20(r31)
/* 80349984 003468E4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349988 003468E8 80 1F 00 04 */ lwz r0, 4(r31)
/* 8034998C 003468EC 54 00 10 3A */ slwi r0, r0, 2
/* 80349990 003468F0 7C 63 02 14 */ add r3, r3, r0
/* 80349994 003468F4 98 83 00 01 */ stb r4, 1(r3)
lbl_80349998:
/* 80349998 003468F8 C0 3F 00 14 */ lfs f1, 0x14(r31)
/* 8034999C 003468FC C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 803499A0 00346900 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 803499A4 00346904 40 81 00 34 */ ble lbl_803499D8
/* 803499A8 00346908 80 1F 00 04 */ lwz r0, 4(r31)
/* 803499AC 0034690C 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 803499B0 00346910 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 803499B4 00346914 54 00 10 3A */ slwi r0, r0, 2
/* 803499B8 00346918 7C 63 02 14 */ add r3, r3, r0
/* 803499BC 0034691C 8C 03 00 02 */ lbzu r0, 2(r3)
/* 803499C0 00346920 28 00 00 00 */ cmplwi r0, 0
/* 803499C4 00346924 40 82 00 14 */ bne lbl_803499D8
/* 803499C8 00346928 38 00 00 01 */ li r0, 1
/* 803499CC 0034692C 98 03 00 00 */ stb r0, 0(r3)
/* 803499D0 00346930 98 1F 00 23 */ stb r0, 0x23(r31)
/* 803499D4 00346934 48 00 00 EC */ b lbl_80349AC0
lbl_803499D8:
/* 803499D8 00346938 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 803499DC 0034693C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 803499E0 00346940 40 81 00 30 */ ble lbl_80349A10
/* 803499E4 00346944 80 1F 00 04 */ lwz r0, 4(r31)
/* 803499E8 00346948 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 803499EC 0034694C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 803499F0 00346950 54 00 10 3A */ slwi r0, r0, 2
/* 803499F4 00346954 7C 63 02 14 */ add r3, r3, r0
/* 803499F8 00346958 88 03 00 02 */ lbz r0, 2(r3)
/* 803499FC 0034695C 28 00 00 00 */ cmplwi r0, 0
/* 80349A00 00346960 41 82 00 10 */ beq lbl_80349A10
/* 80349A04 00346964 38 00 00 00 */ li r0, 0
/* 80349A08 00346968 98 1F 00 23 */ stb r0, 0x23(r31)
/* 80349A0C 0034696C 48 00 00 B4 */ b lbl_80349AC0
lbl_80349A10:
/* 80349A10 00346970 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2)
/* 80349A14 00346974 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349A18 00346978 40 80 00 3C */ bge lbl_80349A54
/* 80349A1C 0034697C 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349A20 00346980 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349A24 00346984 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349A28 00346988 38 83 00 02 */ addi r4, r3, 2
/* 80349A2C 0034698C 54 00 10 3A */ slwi r0, r0, 2
/* 80349A30 00346990 7C 04 00 AE */ lbzx r0, r4, r0
/* 80349A34 00346994 28 00 00 00 */ cmplwi r0, 0
/* 80349A38 00346998 40 82 00 1C */ bne lbl_80349A54
/* 80349A3C 0034699C 38 60 00 01 */ li r3, 1
/* 80349A40 003469A0 98 7F 00 23 */ stb r3, 0x23(r31)
/* 80349A44 003469A4 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349A48 003469A8 54 00 10 3A */ slwi r0, r0, 2
/* 80349A4C 003469AC 7C 64 01 AE */ stbx r3, r4, r0
/* 80349A50 003469B0 48 00 00 70 */ b lbl_80349AC0
lbl_80349A54:
/* 80349A54 003469B4 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2)
/* 80349A58 003469B8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349A5C 003469BC 40 80 00 30 */ bge lbl_80349A8C
/* 80349A60 003469C0 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349A64 003469C4 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349A68 003469C8 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349A6C 003469CC 54 00 10 3A */ slwi r0, r0, 2
/* 80349A70 003469D0 7C 63 02 14 */ add r3, r3, r0
/* 80349A74 003469D4 88 03 00 02 */ lbz r0, 2(r3)
/* 80349A78 003469D8 28 00 00 00 */ cmplwi r0, 0
/* 80349A7C 003469DC 41 82 00 10 */ beq lbl_80349A8C
/* 80349A80 003469E0 38 00 00 00 */ li r0, 0
/* 80349A84 003469E4 98 1F 00 23 */ stb r0, 0x23(r31)
/* 80349A88 003469E8 48 00 00 38 */ b lbl_80349AC0
lbl_80349A8C:
/* 80349A8C 003469EC FC 20 0A 10 */ fabs f1, f1
/* 80349A90 003469F0 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 80349A94 003469F4 FC 20 08 18 */ frsp f1, f1
/* 80349A98 003469F8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349A9C 003469FC 40 80 00 24 */ bge lbl_80349AC0
/* 80349AA0 00346A00 38 80 00 00 */ li r4, 0
/* 80349AA4 00346A04 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349AA8 00346A08 98 9F 00 23 */ stb r4, 0x23(r31)
/* 80349AAC 00346A0C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349AB0 00346A10 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349AB4 00346A14 54 00 10 3A */ slwi r0, r0, 2
/* 80349AB8 00346A18 7C 63 02 14 */ add r3, r3, r0
/* 80349ABC 00346A1C 98 83 00 02 */ stb r4, 2(r3)
lbl_80349AC0:
/* 80349AC0 00346A20 C0 3F 00 10 */ lfs f1, 0x10(r31)
/* 80349AC4 00346A24 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 80349AC8 00346A28 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349ACC 00346A2C 40 81 00 3C */ ble lbl_80349B08
/* 80349AD0 00346A30 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349AD4 00346A34 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349AD8 00346A38 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349ADC 00346A3C 38 83 00 03 */ addi r4, r3, 3
/* 80349AE0 00346A40 54 00 10 3A */ slwi r0, r0, 2
/* 80349AE4 00346A44 7C 04 00 AE */ lbzx r0, r4, r0
/* 80349AE8 00346A48 28 00 00 00 */ cmplwi r0, 0
/* 80349AEC 00346A4C 40 82 00 1C */ bne lbl_80349B08
/* 80349AF0 00346A50 38 60 00 01 */ li r3, 1
/* 80349AF4 00346A54 98 7F 00 22 */ stb r3, 0x22(r31)
/* 80349AF8 00346A58 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349AFC 00346A5C 54 00 10 3A */ slwi r0, r0, 2
/* 80349B00 00346A60 7C 64 01 AE */ stbx r3, r4, r0
/* 80349B04 00346A64 48 00 00 E4 */ b lbl_80349BE8
lbl_80349B08:
/* 80349B08 00346A68 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 80349B0C 00346A6C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349B10 00346A70 40 81 00 30 */ ble lbl_80349B40
/* 80349B14 00346A74 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349B18 00346A78 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349B1C 00346A7C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349B20 00346A80 54 00 10 3A */ slwi r0, r0, 2
/* 80349B24 00346A84 7C 63 02 14 */ add r3, r3, r0
/* 80349B28 00346A88 88 03 00 03 */ lbz r0, 3(r3)
/* 80349B2C 00346A8C 28 00 00 00 */ cmplwi r0, 0
/* 80349B30 00346A90 41 82 00 10 */ beq lbl_80349B40
/* 80349B34 00346A94 38 00 00 00 */ li r0, 0
/* 80349B38 00346A98 98 1F 00 22 */ stb r0, 0x22(r31)
/* 80349B3C 00346A9C 48 00 00 AC */ b lbl_80349BE8
lbl_80349B40:
/* 80349B40 00346AA0 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2)
/* 80349B44 00346AA4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349B48 00346AA8 40 80 00 34 */ bge lbl_80349B7C
/* 80349B4C 00346AAC 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349B50 00346AB0 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349B54 00346AB4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349B58 00346AB8 54 00 10 3A */ slwi r0, r0, 2
/* 80349B5C 00346ABC 7C 63 02 14 */ add r3, r3, r0
/* 80349B60 00346AC0 8C 03 00 03 */ lbzu r0, 3(r3)
/* 80349B64 00346AC4 28 00 00 00 */ cmplwi r0, 0
/* 80349B68 00346AC8 40 82 00 14 */ bne lbl_80349B7C
/* 80349B6C 00346ACC 38 00 00 01 */ li r0, 1
/* 80349B70 00346AD0 98 03 00 00 */ stb r0, 0(r3)
/* 80349B74 00346AD4 98 1F 00 22 */ stb r0, 0x22(r31)
/* 80349B78 00346AD8 48 00 00 70 */ b lbl_80349BE8
lbl_80349B7C:
/* 80349B7C 00346ADC C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2)
/* 80349B80 00346AE0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349B84 00346AE4 40 80 00 30 */ bge lbl_80349BB4
/* 80349B88 00346AE8 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349B8C 00346AEC 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349B90 00346AF0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349B94 00346AF4 54 00 10 3A */ slwi r0, r0, 2
/* 80349B98 00346AF8 7C 63 02 14 */ add r3, r3, r0
/* 80349B9C 00346AFC 88 03 00 03 */ lbz r0, 3(r3)
/* 80349BA0 00346B00 28 00 00 00 */ cmplwi r0, 0
/* 80349BA4 00346B04 41 82 00 10 */ beq lbl_80349BB4
/* 80349BA8 00346B08 38 00 00 00 */ li r0, 0
/* 80349BAC 00346B0C 98 1F 00 22 */ stb r0, 0x22(r31)
/* 80349BB0 00346B10 48 00 00 38 */ b lbl_80349BE8
lbl_80349BB4:
/* 80349BB4 00346B14 FC 20 0A 10 */ fabs f1, f1
/* 80349BB8 00346B18 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2)
/* 80349BBC 00346B1C FC 20 08 18 */ frsp f1, f1
/* 80349BC0 00346B20 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80349BC4 00346B24 40 80 00 24 */ bge lbl_80349BE8
/* 80349BC8 00346B28 38 80 00 00 */ li r4, 0
/* 80349BCC 00346B2C 3C 60 80 3F */ lis r3, lbl_803EF660@ha
/* 80349BD0 00346B30 98 9F 00 22 */ stb r4, 0x22(r31)
/* 80349BD4 00346B34 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l
/* 80349BD8 00346B38 80 1F 00 04 */ lwz r0, 4(r31)
/* 80349BDC 00346B3C 54 00 10 3A */ slwi r0, r0, 2
/* 80349BE0 00346B40 7C 63 02 14 */ add r3, r3, r0
/* 80349BE4 00346B44 98 83 00 03 */ stb r4, 3(r3)
lbl_80349BE8:
/* 80349BE8 00346B48 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 80349BEC 00346B4C CB E1 00 30 */ lfd f31, 0x30(r1)
/* 80349BF0 00346B50 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0
/* 80349BF4 00346B54 CB C1 00 20 */ lfd f30, 0x20(r1)
/* 80349BF8 00346B58 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80349BFC 00346B5C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80349C00 00346B60 7C 08 03 A6 */ mtlr r0
/* 80349C04 00346B64 38 21 00 40 */ addi r1, r1, 0x40
/* 80349C08 00346B68 4E 80 00 20 */ blr
.global __ct__11CFinalInputFifRC22CControllerGamepadDataff
__ct__11CFinalInputFifRC22CControllerGamepadDataff:
/* 80349C0C 00346B6C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80349C10 00346B70 7C 08 02 A6 */ mflr r0
/* 80349C14 00346B74 90 01 00 14 */ stw r0, 0x14(r1)
/* 80349C18 00346B78 38 00 00 00 */ li r0, 0
/* 80349C1C 00346B7C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80349C20 00346B80 7C 7F 1B 78 */ mr r31, r3
/* 80349C24 00346B84 D0 23 00 00 */ stfs f1, 0(r3)
/* 80349C28 00346B88 90 83 00 04 */ stw r4, 4(r3)
/* 80349C2C 00346B8C C0 05 00 08 */ lfs f0, 8(r5)
/* 80349C30 00346B90 D0 03 00 08 */ stfs f0, 8(r3)
/* 80349C34 00346B94 C0 05 00 10 */ lfs f0, 0x10(r5)
/* 80349C38 00346B98 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 80349C3C 00346B9C C0 05 00 18 */ lfs f0, 0x18(r5)
/* 80349C40 00346BA0 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80349C44 00346BA4 C0 05 00 20 */ lfs f0, 0x20(r5)
/* 80349C48 00346BA8 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 80349C4C 00346BAC C0 05 00 28 */ lfs f0, 0x28(r5)
/* 80349C50 00346BB0 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 80349C54 00346BB4 C0 05 00 30 */ lfs f0, 0x30(r5)
/* 80349C58 00346BB8 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 80349C5C 00346BBC 98 03 00 20 */ stb r0, 0x20(r3)
/* 80349C60 00346BC0 98 03 00 21 */ stb r0, 0x21(r3)
/* 80349C64 00346BC4 98 03 00 22 */ stb r0, 0x22(r3)
/* 80349C68 00346BC8 98 03 00 23 */ stb r0, 0x23(r3)
/* 80349C6C 00346BCC C0 05 00 24 */ lfs f0, 0x24(r5)
/* 80349C70 00346BD0 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 80349C74 00346BD4 C0 05 00 2C */ lfs f0, 0x2c(r5)
/* 80349C78 00346BD8 D0 03 00 28 */ stfs f0, 0x28(r3)
/* 80349C7C 00346BDC 88 85 00 34 */ lbz r4, 0x34(r5)
/* 80349C80 00346BE0 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349C84 00346BE4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80349C88 00346BE8 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349C8C 00346BEC 88 85 00 37 */ lbz r4, 0x37(r5)
/* 80349C90 00346BF0 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349C94 00346BF4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80349C98 00346BF8 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349C9C 00346BFC 88 85 00 3A */ lbz r4, 0x3a(r5)
/* 80349CA0 00346C00 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349CA4 00346C04 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80349CA8 00346C08 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349CAC 00346C0C 88 85 00 3D */ lbz r4, 0x3d(r5)
/* 80349CB0 00346C10 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349CB4 00346C14 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 80349CB8 00346C18 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349CBC 00346C1C 88 85 00 43 */ lbz r4, 0x43(r5)
/* 80349CC0 00346C20 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349CC4 00346C24 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80349CC8 00346C28 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349CCC 00346C2C 88 85 00 52 */ lbz r4, 0x52(r5)
/* 80349CD0 00346C30 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349CD4 00346C34 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 80349CD8 00346C38 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349CDC 00346C3C 88 85 00 55 */ lbz r4, 0x55(r5)
/* 80349CE0 00346C40 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349CE4 00346C44 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e
/* 80349CE8 00346C48 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349CEC 00346C4C 88 85 00 46 */ lbz r4, 0x46(r5)
/* 80349CF0 00346C50 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349CF4 00346C54 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f
/* 80349CF8 00346C58 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349CFC 00346C5C 88 85 00 49 */ lbz r4, 0x49(r5)
/* 80349D00 00346C60 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80349D04 00346C64 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80349D08 00346C68 98 03 00 2D */ stb r0, 0x2d(r3)
/* 80349D0C 00346C6C 88 85 00 4C */ lbz r4, 0x4c(r5)
/* 80349D10 00346C70 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80349D14 00346C74 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80349D18 00346C78 98 03 00 2D */ stb r0, 0x2d(r3)
/* 80349D1C 00346C7C 88 85 00 4F */ lbz r4, 0x4f(r5)
/* 80349D20 00346C80 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80349D24 00346C84 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80349D28 00346C88 98 03 00 2D */ stb r0, 0x2d(r3)
/* 80349D2C 00346C8C 88 85 00 40 */ lbz r4, 0x40(r5)
/* 80349D30 00346C90 FC 20 10 90 */ fmr f1, f2
/* 80349D34 00346C94 88 1F 00 2D */ lbz r0, 0x2d(r31)
/* 80349D38 00346C98 FC 40 18 90 */ fmr f2, f3
/* 80349D3C 00346C9C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 80349D40 00346CA0 98 1F 00 2D */ stb r0, 0x2d(r31)
/* 80349D44 00346CA4 88 85 00 35 */ lbz r4, 0x35(r5)
/* 80349D48 00346CA8 88 1F 00 2D */ lbz r0, 0x2d(r31)
/* 80349D4C 00346CAC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80349D50 00346CB0 98 1F 00 2D */ stb r0, 0x2d(r31)
/* 80349D54 00346CB4 88 85 00 38 */ lbz r4, 0x38(r5)
/* 80349D58 00346CB8 88 1F 00 2D */ lbz r0, 0x2d(r31)
/* 80349D5C 00346CBC 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 80349D60 00346CC0 98 1F 00 2D */ stb r0, 0x2d(r31)
/* 80349D64 00346CC4 88 85 00 3B */ lbz r4, 0x3b(r5)
/* 80349D68 00346CC8 88 1F 00 2D */ lbz r0, 0x2d(r31)
/* 80349D6C 00346CCC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e
/* 80349D70 00346CD0 98 1F 00 2D */ stb r0, 0x2d(r31)
/* 80349D74 00346CD4 88 85 00 3E */ lbz r4, 0x3e(r5)
/* 80349D78 00346CD8 88 1F 00 2D */ lbz r0, 0x2d(r31)
/* 80349D7C 00346CDC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f
/* 80349D80 00346CE0 98 1F 00 2D */ stb r0, 0x2d(r31)
/* 80349D84 00346CE4 88 85 00 44 */ lbz r4, 0x44(r5)
/* 80349D88 00346CE8 88 1F 00 2E */ lbz r0, 0x2e(r31)
/* 80349D8C 00346CEC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80349D90 00346CF0 98 1F 00 2E */ stb r0, 0x2e(r31)
/* 80349D94 00346CF4 88 85 00 53 */ lbz r4, 0x53(r5)
/* 80349D98 00346CF8 88 1F 00 2E */ lbz r0, 0x2e(r31)
/* 80349D9C 00346CFC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80349DA0 00346D00 98 1F 00 2E */ stb r0, 0x2e(r31)
/* 80349DA4 00346D04 88 85 00 56 */ lbz r4, 0x56(r5)
/* 80349DA8 00346D08 88 1F 00 2E */ lbz r0, 0x2e(r31)
/* 80349DAC 00346D0C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80349DB0 00346D10 98 1F 00 2E */ stb r0, 0x2e(r31)
/* 80349DB4 00346D14 88 85 00 47 */ lbz r4, 0x47(r5)
/* 80349DB8 00346D18 88 1F 00 2E */ lbz r0, 0x2e(r31)
/* 80349DBC 00346D1C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 80349DC0 00346D20 98 1F 00 2E */ stb r0, 0x2e(r31)
/* 80349DC4 00346D24 88 85 00 4A */ lbz r4, 0x4a(r5)
/* 80349DC8 00346D28 88 1F 00 2E */ lbz r0, 0x2e(r31)
/* 80349DCC 00346D2C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80349DD0 00346D30 98 1F 00 2E */ stb r0, 0x2e(r31)
/* 80349DD4 00346D34 88 85 00 4D */ lbz r4, 0x4d(r5)
/* 80349DD8 00346D38 88 1F 00 2E */ lbz r0, 0x2e(r31)
/* 80349DDC 00346D3C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 80349DE0 00346D40 98 1F 00 2E */ stb r0, 0x2e(r31)
/* 80349DE4 00346D44 88 85 00 50 */ lbz r4, 0x50(r5)
/* 80349DE8 00346D48 88 1F 00 2E */ lbz r0, 0x2e(r31)
/* 80349DEC 00346D4C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e
/* 80349DF0 00346D50 98 1F 00 2E */ stb r0, 0x2e(r31)
/* 80349DF4 00346D54 88 85 00 41 */ lbz r4, 0x41(r5)
/* 80349DF8 00346D58 88 1F 00 2E */ lbz r0, 0x2e(r31)
/* 80349DFC 00346D5C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f
/* 80349E00 00346D60 98 1F 00 2E */ stb r0, 0x2e(r31)
/* 80349E04 00346D64 4B FF F8 9D */ bl InitializeAnalog__11CFinalInputFff
/* 80349E08 00346D68 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80349E0C 00346D6C 7F E3 FB 78 */ mr r3, r31
/* 80349E10 00346D70 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80349E14 00346D74 7C 08 03 A6 */ mtlr r0
/* 80349E18 00346D78 38 21 00 10 */ addi r1, r1, 0x10
/* 80349E1C 00346D7C 4E 80 00 20 */ blr
.global __ct__11CFinalInputFv
__ct__11CFinalInputFv:
/* 80349E20 00346D80 C0 02 CC 30 */ lfs f0, lbl_805AE950@sda21(r2)
/* 80349E24 00346D84 38 80 00 00 */ li r4, 0
/* 80349E28 00346D88 D0 03 00 00 */ stfs f0, 0(r3)
/* 80349E2C 00346D8C 90 83 00 04 */ stw r4, 4(r3)
/* 80349E30 00346D90 D0 03 00 08 */ stfs f0, 8(r3)
/* 80349E34 00346D94 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 80349E38 00346D98 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80349E3C 00346D9C D0 03 00 14 */ stfs f0, 0x14(r3)
/* 80349E40 00346DA0 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 80349E44 00346DA4 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 80349E48 00346DA8 98 83 00 20 */ stb r4, 0x20(r3)
/* 80349E4C 00346DAC 98 83 00 21 */ stb r4, 0x21(r3)
/* 80349E50 00346DB0 98 83 00 22 */ stb r4, 0x22(r3)
/* 80349E54 00346DB4 98 83 00 23 */ stb r4, 0x23(r3)
/* 80349E58 00346DB8 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 80349E5C 00346DBC D0 03 00 28 */ stfs f0, 0x28(r3)
/* 80349E60 00346DC0 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349E64 00346DC4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80349E68 00346DC8 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349E6C 00346DCC 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349E70 00346DD0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80349E74 00346DD4 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349E78 00346DD8 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349E7C 00346DDC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80349E80 00346DE0 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349E84 00346DE4 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349E88 00346DE8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 80349E8C 00346DEC 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349E90 00346DF0 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349E94 00346DF4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80349E98 00346DF8 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349E9C 00346DFC 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349EA0 00346E00 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 80349EA4 00346E04 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349EA8 00346E08 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349EAC 00346E0C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e
/* 80349EB0 00346E10 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349EB4 00346E14 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80349EB8 00346E18 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f
/* 80349EBC 00346E1C 98 03 00 2C */ stb r0, 0x2c(r3)
/* 80349EC0 00346E20 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80349EC4 00346E24 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80349EC8 00346E28 98 03 00 2D */ stb r0, 0x2d(r3)
/* 80349ECC 00346E2C 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80349ED0 00346E30 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80349ED4 00346E34 98 03 00 2D */ stb r0, 0x2d(r3)
/* 80349ED8 00346E38 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80349EDC 00346E3C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80349EE0 00346E40 98 03 00 2D */ stb r0, 0x2d(r3)
/* 80349EE4 00346E44 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80349EE8 00346E48 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 80349EEC 00346E4C 98 03 00 2D */ stb r0, 0x2d(r3)
/* 80349EF0 00346E50 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80349EF4 00346E54 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80349EF8 00346E58 98 03 00 2D */ stb r0, 0x2d(r3)
/* 80349EFC 00346E5C 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80349F00 00346E60 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 80349F04 00346E64 98 03 00 2D */ stb r0, 0x2d(r3)
/* 80349F08 00346E68 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80349F0C 00346E6C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e
/* 80349F10 00346E70 98 03 00 2D */ stb r0, 0x2d(r3)
/* 80349F14 00346E74 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80349F18 00346E78 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f
/* 80349F1C 00346E7C 98 03 00 2D */ stb r0, 0x2d(r3)
/* 80349F20 00346E80 88 03 00 2E */ lbz r0, 0x2e(r3)
/* 80349F24 00346E84 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80349F28 00346E88 98 03 00 2E */ stb r0, 0x2e(r3)
/* 80349F2C 00346E8C 88 03 00 2E */ lbz r0, 0x2e(r3)
/* 80349F30 00346E90 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80349F34 00346E94 98 03 00 2E */ stb r0, 0x2e(r3)
/* 80349F38 00346E98 88 03 00 2E */ lbz r0, 0x2e(r3)
/* 80349F3C 00346E9C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80349F40 00346EA0 98 03 00 2E */ stb r0, 0x2e(r3)
/* 80349F44 00346EA4 88 03 00 2E */ lbz r0, 0x2e(r3)
/* 80349F48 00346EA8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 80349F4C 00346EAC 98 03 00 2E */ stb r0, 0x2e(r3)
/* 80349F50 00346EB0 88 03 00 2E */ lbz r0, 0x2e(r3)
/* 80349F54 00346EB4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80349F58 00346EB8 98 03 00 2E */ stb r0, 0x2e(r3)
/* 80349F5C 00346EBC 88 03 00 2E */ lbz r0, 0x2e(r3)
/* 80349F60 00346EC0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 80349F64 00346EC4 98 03 00 2E */ stb r0, 0x2e(r3)
/* 80349F68 00346EC8 88 03 00 2E */ lbz r0, 0x2e(r3)
/* 80349F6C 00346ECC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e
/* 80349F70 00346ED0 98 03 00 2E */ stb r0, 0x2e(r3)
/* 80349F74 00346ED4 88 03 00 2E */ lbz r0, 0x2e(r3)
/* 80349F78 00346ED8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f
/* 80349F7C 00346EDC 98 03 00 2E */ stb r0, 0x2e(r3)
/* 80349F80 00346EE0 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805AE948
lbl_805AE948:
# ROM: 0x3FB1E8
.float 0.7
.global lbl_805AE94C
lbl_805AE94C:
# ROM: 0x3FB1EC
.4byte 0x3D4CCCCD
.global lbl_805AE950
lbl_805AE950:
# ROM: 0x3FB1F0
.4byte 0
.global lbl_805AE954
lbl_805AE954:
# ROM: 0x3FB1F4
.float 0.7
.global lbl_805AE958
lbl_805AE958:
# ROM: 0x3FB1F8
.4byte 0xBF333333
.4byte 0