mirror of https://github.com/zeldaret/tp.git
310 lines
16 KiB
ArmAsm
310 lines
16 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 80297930
|
|
|
|
|
|
.global noteOn__7JASBankFPC7JASBankiUcUcUsPFUlP10JASChannelPQ26JASDsp8TChannelPv_vPv
|
|
noteOn__7JASBankFPC7JASBankiUcUcUsPFUlP10JASChannelPQ26JASDsp8TChannelPv_vPv:
|
|
/* 80297930 00294870 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 80297934 00294874 7C 08 02 A6 */ mflr r0
|
|
/* 80297938 00294878 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 8029793C 0029487C 39 61 00 60 */ addi r11, r1, 0x60
|
|
/* 80297940 00294880 48 0C A8 85 */ bl _savegpr_23
|
|
/* 80297944 00294884 7C 7A 1B 78 */ mr r26, r3
|
|
/* 80297948 00294888 7C DB 33 78 */ mr r27, r6
|
|
/* 8029794C 0029488C 7C FC 3B 78 */ mr r28, r7
|
|
/* 80297950 00294890 7D 1D 43 78 */ mr r29, r8
|
|
/* 80297954 00294894 7D 3E 4B 78 */ mr r30, r9
|
|
/* 80297958 00294898 2C 04 00 F0 */ cmpwi r4, 0xf0
|
|
/* 8029795C 0029489C 41 80 00 24 */ blt lbl_80297980
|
|
/* 80297960 002948A0 38 64 FF 10 */ addi r3, r4, -240
|
|
/* 80297964 002948A4 7C A4 2B 78 */ mr r4, r5
|
|
/* 80297968 002948A8 7F 65 DB 78 */ mr r5, r27
|
|
/* 8029796C 002948AC 7F 86 E3 78 */ mr r6, r28
|
|
/* 80297970 002948B0 7F A7 EB 78 */ mr r7, r29
|
|
/* 80297974 002948B4 7F C8 F3 78 */ mr r8, r30
|
|
/* 80297978 002948B8 48 00 02 C9 */ bl noteOnOsc__7JASBankFiUcUcUsPFUlP10JASChannelPQ26JASDsp8TChannelPv_vPv
|
|
/* 8029797C 002948BC 48 00 02 AC */ b lbl_80297C28
|
|
lbl_80297980:
|
|
/* 80297980 002948C0 28 1A 00 00 */ cmplwi r26, 0
|
|
/* 80297984 002948C4 40 82 00 0C */ bne lbl_80297990
|
|
/* 80297988 002948C8 38 60 00 00 */ li r3, 0
|
|
/* 8029798C 002948CC 48 00 02 9C */ b lbl_80297C28
|
|
lbl_80297990:
|
|
/* 80297990 002948D0 C0 02 BC 30 */ lfs f0, lbl_80455630-_SDA2_BASE_(r2)
|
|
/* 80297994 002948D4 D0 01 00 0C */ stfs f0, 0xc(r1)
|
|
/* 80297998 002948D8 D0 01 00 14 */ stfs f0, 0x14(r1)
|
|
/* 8029799C 002948DC C0 22 BC 34 */ lfs f1, lbl_80455634-_SDA2_BASE_(r2)
|
|
/* 802979A0 002948E0 D0 21 00 10 */ stfs f1, 0x10(r1)
|
|
/* 802979A4 002948E4 C0 02 BC 38 */ lfs f0, lbl_80455638-_SDA2_BASE_(r2)
|
|
/* 802979A8 002948E8 D0 01 00 18 */ stfs f0, 0x18(r1)
|
|
/* 802979AC 002948EC D0 21 00 1C */ stfs f1, 0x1c(r1)
|
|
/* 802979B0 002948F0 38 00 00 00 */ li r0, 0
|
|
/* 802979B4 002948F4 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 802979B8 002948F8 B0 01 00 24 */ sth r0, 0x24(r1)
|
|
/* 802979BC 002948FC B0 01 00 26 */ sth r0, 0x26(r1)
|
|
/* 802979C0 00294900 98 01 00 28 */ stb r0, 0x28(r1)
|
|
/* 802979C4 00294904 98 01 00 29 */ stb r0, 0x29(r1)
|
|
/* 802979C8 00294908 98 01 00 2A */ stb r0, 0x2a(r1)
|
|
/* 802979CC 0029490C 54 BF 06 3E */ clrlwi r31, r5, 0x18
|
|
/* 802979D0 00294910 7F E5 FB 78 */ mr r5, r31
|
|
/* 802979D4 00294914 57 66 06 3E */ clrlwi r6, r27, 0x18
|
|
/* 802979D8 00294918 38 E1 00 0C */ addi r7, r1, 0xc
|
|
/* 802979DC 0029491C 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 802979E0 00294920 81 8C 00 0C */ lwz r12, 0xc(r12)
|
|
/* 802979E4 00294924 7D 89 03 A6 */ mtctr r12
|
|
/* 802979E8 00294928 4E 80 04 21 */ bctrl
|
|
/* 802979EC 0029492C 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 802979F0 00294930 40 82 00 0C */ bne lbl_802979FC
|
|
/* 802979F4 00294934 38 60 00 00 */ li r3, 0
|
|
/* 802979F8 00294938 48 00 02 30 */ b lbl_80297C28
|
|
lbl_802979FC:
|
|
/* 802979FC 0029493C 80 7A 00 04 */ lwz r3, 4(r26)
|
|
/* 80297A00 00294940 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80297A04 00294944 40 82 00 0C */ bne lbl_80297A10
|
|
/* 80297A08 00294948 38 60 00 00 */ li r3, 0
|
|
/* 80297A0C 0029494C 48 00 02 1C */ b lbl_80297C28
|
|
lbl_80297A10:
|
|
/* 80297A10 00294950 A0 81 00 26 */ lhz r4, 0x26(r1)
|
|
/* 80297A14 00294954 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80297A18 00294958 81 8C 00 0C */ lwz r12, 0xc(r12)
|
|
/* 80297A1C 0029495C 7D 89 03 A6 */ mtctr r12
|
|
/* 80297A20 00294960 4E 80 04 21 */ bctrl
|
|
/* 80297A24 00294964 7C 77 1B 79 */ or. r23, r3, r3
|
|
/* 80297A28 00294968 40 82 00 0C */ bne lbl_80297A34
|
|
/* 80297A2C 0029496C 38 60 00 00 */ li r3, 0
|
|
/* 80297A30 00294970 48 00 01 F8 */ b lbl_80297C28
|
|
lbl_80297A34:
|
|
/* 80297A34 00294974 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80297A38 00294978 81 8C 00 0C */ lwz r12, 0xc(r12)
|
|
/* 80297A3C 0029497C 7D 89 03 A6 */ mtctr r12
|
|
/* 80297A40 00294980 4E 80 04 21 */ bctrl
|
|
/* 80297A44 00294984 7C 78 1B 79 */ or. r24, r3, r3
|
|
/* 80297A48 00294988 40 82 00 0C */ bne lbl_80297A54
|
|
/* 80297A4C 0029498C 38 60 00 00 */ li r3, 0
|
|
/* 80297A50 00294990 48 00 01 D8 */ b lbl_80297C28
|
|
lbl_80297A54:
|
|
/* 80297A54 00294994 7E E3 BB 78 */ mr r3, r23
|
|
/* 80297A58 00294998 81 97 00 00 */ lwz r12, 0(r23)
|
|
/* 80297A5C 0029499C 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 80297A60 002949A0 7D 89 03 A6 */ mtctr r12
|
|
/* 80297A64 002949A4 4E 80 04 21 */ bctrl
|
|
/* 80297A68 002949A8 7C 79 1B 79 */ or. r25, r3, r3
|
|
/* 80297A6C 002949AC 40 82 00 0C */ bne lbl_80297A78
|
|
/* 80297A70 002949B0 38 60 00 00 */ li r3, 0
|
|
/* 80297A74 002949B4 48 00 01 B4 */ b lbl_80297C28
|
|
lbl_80297A78:
|
|
/* 80297A78 002949B8 88 0D 8C E2 */ lbz r0, lbl_80451262-_SDA_BASE_(r13)
|
|
/* 80297A7C 002949BC 7C 00 07 75 */ extsb. r0, r0
|
|
/* 80297A80 002949C0 40 82 00 34 */ bne lbl_80297AB4
|
|
/* 80297A84 002949C4 3C 60 80 43 */ lis r3, lbl_80431B34@ha
|
|
/* 80297A88 002949C8 38 63 1B 34 */ addi r3, r3, lbl_80431B34@l
|
|
/* 80297A8C 002949CC 4B FF 8D BD */ bl __ct__17JASGenericMemPoolFv
|
|
/* 80297A90 002949D0 3C 60 80 43 */ lis r3, lbl_80431B34@ha
|
|
/* 80297A94 002949D4 38 63 1B 34 */ addi r3, r3, lbl_80431B34@l
|
|
.global JASMemPool_MultiThreaded_NS_dtor_X2_
|
|
/* 80297A98 002949D8 3C 80 80 29 */ lis r4, JASMemPool_MultiThreaded_NS_dtor_X2_@ha
|
|
.global JASMemPool_MultiThreaded_NS_dtor_X2_
|
|
/* 80297A9C 002949DC 38 84 78 DC */ addi r4, r4, JASMemPool_MultiThreaded_NS_dtor_X2_@l
|
|
/* 80297AA0 002949E0 3C A0 80 43 */ lis r5, lbl_80431B48@ha
|
|
/* 80297AA4 002949E4 38 A5 1B 48 */ addi r5, r5, lbl_80431B48@l
|
|
/* 80297AA8 002949E8 48 0C A1 7D */ bl func_80361C24
|
|
/* 80297AAC 002949EC 38 00 00 01 */ li r0, 1
|
|
/* 80297AB0 002949F0 98 0D 8C E2 */ stb r0, lbl_80451262-_SDA_BASE_(r13)
|
|
lbl_80297AB4:
|
|
/* 80297AB4 002949F4 48 0A 5C 41 */ bl __RAS_OSDisableInterrupts_begin
|
|
/* 80297AB8 002949F8 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80297ABC 002949FC 3C 60 80 43 */ lis r3, lbl_80431B34@ha
|
|
/* 80297AC0 00294A00 38 63 1B 34 */ addi r3, r3, lbl_80431B34@l
|
|
/* 80297AC4 00294A04 38 80 01 08 */ li r4, 0x108
|
|
/* 80297AC8 00294A08 4B FF 8E 81 */ bl alloc__17JASGenericMemPoolFUl
|
|
/* 80297ACC 00294A0C 7C 77 1B 78 */ mr r23, r3
|
|
/* 80297AD0 00294A10 80 61 00 08 */ lwz r3, 8(r1)
|
|
/* 80297AD4 00294A14 48 0A 5C 49 */ bl OSRestoreInterrupts
|
|
/* 80297AD8 00294A18 28 17 00 00 */ cmplwi r23, 0
|
|
/* 80297ADC 00294A1C 41 82 00 18 */ beq lbl_80297AF4
|
|
/* 80297AE0 00294A20 7E E3 BB 78 */ mr r3, r23
|
|
/* 80297AE4 00294A24 7F A4 EB 78 */ mr r4, r29
|
|
/* 80297AE8 00294A28 7F C5 F3 78 */ mr r5, r30
|
|
/* 80297AEC 00294A2C 48 00 2D 15 */ bl __ct__10JASChannelFPFUlP10JASChannelPQ26JASDsp8TChannelPv_vPv
|
|
/* 80297AF0 00294A30 7C 77 1B 78 */ mr r23, r3
|
|
lbl_80297AF4:
|
|
/* 80297AF4 00294A34 28 17 00 00 */ cmplwi r23, 0
|
|
/* 80297AF8 00294A38 40 82 00 0C */ bne lbl_80297B04
|
|
/* 80297AFC 00294A3C 38 60 00 00 */ li r3, 0
|
|
/* 80297B00 00294A40 48 00 01 28 */ b lbl_80297C28
|
|
lbl_80297B04:
|
|
/* 80297B04 00294A44 B3 97 00 98 */ sth r28, 0x98(r23)
|
|
/* 80297B08 00294A48 88 18 00 00 */ lbz r0, 0(r24)
|
|
/* 80297B0C 00294A4C 98 17 00 E0 */ stb r0, 0xe0(r23)
|
|
/* 80297B10 00294A50 88 18 00 01 */ lbz r0, 1(r24)
|
|
/* 80297B14 00294A54 98 17 00 E1 */ stb r0, 0xe1(r23)
|
|
/* 80297B18 00294A58 88 18 00 02 */ lbz r0, 2(r24)
|
|
/* 80297B1C 00294A5C 98 17 00 E2 */ stb r0, 0xe2(r23)
|
|
/* 80297B20 00294A60 C0 18 00 04 */ lfs f0, 4(r24)
|
|
/* 80297B24 00294A64 D0 17 00 E4 */ stfs f0, 0xe4(r23)
|
|
/* 80297B28 00294A68 80 18 00 08 */ lwz r0, 8(r24)
|
|
/* 80297B2C 00294A6C 90 17 00 E8 */ stw r0, 0xe8(r23)
|
|
/* 80297B30 00294A70 80 18 00 0C */ lwz r0, 0xc(r24)
|
|
/* 80297B34 00294A74 90 17 00 EC */ stw r0, 0xec(r23)
|
|
/* 80297B38 00294A78 80 18 00 10 */ lwz r0, 0x10(r24)
|
|
/* 80297B3C 00294A7C 90 17 00 F0 */ stw r0, 0xf0(r23)
|
|
/* 80297B40 00294A80 80 18 00 14 */ lwz r0, 0x14(r24)
|
|
/* 80297B44 00294A84 90 17 00 F4 */ stw r0, 0xf4(r23)
|
|
/* 80297B48 00294A88 80 18 00 18 */ lwz r0, 0x18(r24)
|
|
/* 80297B4C 00294A8C 90 17 00 F8 */ stw r0, 0xf8(r23)
|
|
/* 80297B50 00294A90 A8 18 00 1C */ lha r0, 0x1c(r24)
|
|
/* 80297B54 00294A94 B0 17 00 FC */ sth r0, 0xfc(r23)
|
|
/* 80297B58 00294A98 A8 18 00 1E */ lha r0, 0x1e(r24)
|
|
/* 80297B5C 00294A9C B0 17 00 FE */ sth r0, 0xfe(r23)
|
|
/* 80297B60 00294AA0 80 18 00 20 */ lwz r0, 0x20(r24)
|
|
/* 80297B64 00294AA4 90 17 01 00 */ stw r0, 0x100(r23)
|
|
/* 80297B68 00294AA8 93 37 01 04 */ stw r25, 0x104(r23)
|
|
/* 80297B6C 00294AAC 88 01 00 28 */ lbz r0, 0x28(r1)
|
|
/* 80297B70 00294AB0 90 17 00 DC */ stw r0, 0xdc(r23)
|
|
/* 80297B74 00294AB4 93 57 00 18 */ stw r26, 0x18(r23)
|
|
/* 80297B78 00294AB8 48 00 4E 71 */ bl getDacRate__9JASDriverFv
|
|
/* 80297B7C 00294ABC C0 18 00 04 */ lfs f0, 4(r24)
|
|
/* 80297B80 00294AC0 EC 20 08 24 */ fdivs f1, f0, f1
|
|
/* 80297B84 00294AC4 C0 01 00 14 */ lfs f0, 0x14(r1)
|
|
/* 80297B88 00294AC8 EC 00 00 72 */ fmuls f0, f0, f1
|
|
/* 80297B8C 00294ACC D0 17 00 BC */ stfs f0, 0xbc(r23)
|
|
/* 80297B90 00294AD0 88 01 00 2A */ lbz r0, 0x2a(r1)
|
|
/* 80297B94 00294AD4 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80297B98 00294AD8 40 82 00 10 */ bne lbl_80297BA8
|
|
/* 80297B9C 00294ADC 88 18 00 01 */ lbz r0, 1(r24)
|
|
/* 80297BA0 00294AE0 7C 00 F8 50 */ subf r0, r0, r31
|
|
/* 80297BA4 00294AE4 B0 17 00 C8 */ sth r0, 0xc8(r23)
|
|
lbl_80297BA8:
|
|
/* 80297BA8 00294AE8 C0 01 00 0C */ lfs f0, 0xc(r1)
|
|
/* 80297BAC 00294AEC D0 17 00 B4 */ stfs f0, 0xb4(r23)
|
|
/* 80297BB0 00294AF0 57 60 06 3E */ clrlwi r0, r27, 0x18
|
|
/* 80297BB4 00294AF4 B0 17 00 CA */ sth r0, 0xca(r23)
|
|
/* 80297BB8 00294AF8 C0 01 00 18 */ lfs f0, 0x18(r1)
|
|
/* 80297BBC 00294AFC D0 17 00 C0 */ stfs f0, 0xc0(r23)
|
|
/* 80297BC0 00294B00 C0 01 00 10 */ lfs f0, 0x10(r1)
|
|
/* 80297BC4 00294B04 D0 17 00 B8 */ stfs f0, 0xb8(r23)
|
|
/* 80297BC8 00294B08 C0 01 00 1C */ lfs f0, 0x1c(r1)
|
|
/* 80297BCC 00294B0C D0 17 00 C4 */ stfs f0, 0xc4(r23)
|
|
/* 80297BD0 00294B10 3B 20 00 00 */ li r25, 0
|
|
/* 80297BD4 00294B14 3B 00 00 00 */ li r24, 0
|
|
/* 80297BD8 00294B18 48 00 00 20 */ b lbl_80297BF8
|
|
lbl_80297BDC:
|
|
/* 80297BDC 00294B1C 7E E3 BB 78 */ mr r3, r23
|
|
/* 80297BE0 00294B20 7F 24 CB 78 */ mr r4, r25
|
|
/* 80297BE4 00294B24 80 A1 00 20 */ lwz r5, 0x20(r1)
|
|
/* 80297BE8 00294B28 7C A5 C0 2E */ lwzx r5, r5, r24
|
|
/* 80297BEC 00294B2C 48 00 2F 79 */ bl setOscInit__10JASChannelFUlPCQ213JASOscillator4Data
|
|
/* 80297BF0 00294B30 3B 39 00 01 */ addi r25, r25, 1
|
|
/* 80297BF4 00294B34 3B 18 00 04 */ addi r24, r24, 4
|
|
lbl_80297BF8:
|
|
/* 80297BF8 00294B38 88 01 00 29 */ lbz r0, 0x29(r1)
|
|
/* 80297BFC 00294B3C 7C 19 00 40 */ cmplw r25, r0
|
|
/* 80297C00 00294B40 41 80 FF DC */ blt lbl_80297BDC
|
|
/* 80297C04 00294B44 A0 01 00 24 */ lhz r0, 0x24(r1)
|
|
/* 80297C08 00294B48 B0 17 00 32 */ sth r0, 0x32(r23)
|
|
/* 80297C0C 00294B4C 7E E3 BB 78 */ mr r3, r23
|
|
/* 80297C10 00294B50 48 00 2D E1 */ bl play__10JASChannelFv
|
|
/* 80297C14 00294B54 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 80297C18 00294B58 41 82 00 0C */ beq lbl_80297C24
|
|
/* 80297C1C 00294B5C 7E E3 BB 78 */ mr r3, r23
|
|
/* 80297C20 00294B60 48 00 00 08 */ b lbl_80297C28
|
|
lbl_80297C24:
|
|
/* 80297C24 00294B64 38 60 00 00 */ li r3, 0
|
|
lbl_80297C28:
|
|
/* 80297C28 00294B68 39 61 00 60 */ addi r11, r1, 0x60
|
|
/* 80297C2C 00294B6C 48 0C A5 E5 */ bl _restgpr_23
|
|
/* 80297C30 00294B70 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 80297C34 00294B74 7C 08 03 A6 */ mtlr r0
|
|
/* 80297C38 00294B78 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 80297C3C 00294B7C 4E 80 00 20 */ blr
|
|
|
|
.global noteOnOsc__7JASBankFiUcUcUsPFUlP10JASChannelPQ26JASDsp8TChannelPv_vPv
|
|
noteOnOsc__7JASBankFiUcUcUsPFUlP10JASChannelPQ26JASDsp8TChannelPv_vPv:
|
|
/* 80297C40 00294B80 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80297C44 00294B84 7C 08 02 A6 */ mflr r0
|
|
/* 80297C48 00294B88 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80297C4C 00294B8C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80297C50 00294B90 48 0C A5 7D */ bl _savegpr_25
|
|
/* 80297C54 00294B94 7C 7A 1B 78 */ mr r26, r3
|
|
/* 80297C58 00294B98 7C 9B 23 78 */ mr r27, r4
|
|
/* 80297C5C 00294B9C 7C BC 2B 78 */ mr r28, r5
|
|
/* 80297C60 00294BA0 7C DD 33 78 */ mr r29, r6
|
|
/* 80297C64 00294BA4 7C FE 3B 78 */ mr r30, r7
|
|
/* 80297C68 00294BA8 7D 1F 43 78 */ mr r31, r8
|
|
/* 80297C6C 00294BAC 88 0D 8C E2 */ lbz r0, lbl_80451262-_SDA_BASE_(r13)
|
|
/* 80297C70 00294BB0 7C 00 07 75 */ extsb. r0, r0
|
|
/* 80297C74 00294BB4 40 82 00 34 */ bne lbl_80297CA8
|
|
/* 80297C78 00294BB8 3C 60 80 43 */ lis r3, lbl_80431B34@ha
|
|
/* 80297C7C 00294BBC 38 63 1B 34 */ addi r3, r3, lbl_80431B34@l
|
|
/* 80297C80 00294BC0 4B FF 8B C9 */ bl __ct__17JASGenericMemPoolFv
|
|
/* 80297C84 00294BC4 3C 60 80 43 */ lis r3, lbl_80431B34@ha
|
|
/* 80297C88 00294BC8 38 63 1B 34 */ addi r3, r3, lbl_80431B34@l
|
|
.global JASMemPool_MultiThreaded_NS_dtor_X2_
|
|
/* 80297C8C 00294BCC 3C 80 80 29 */ lis r4, JASMemPool_MultiThreaded_NS_dtor_X2_@ha
|
|
.global JASMemPool_MultiThreaded_NS_dtor_X2_
|
|
/* 80297C90 00294BD0 38 84 78 DC */ addi r4, r4, JASMemPool_MultiThreaded_NS_dtor_X2_@l
|
|
/* 80297C94 00294BD4 3C A0 80 43 */ lis r5, lbl_80431B48@ha
|
|
/* 80297C98 00294BD8 38 A5 1B 48 */ addi r5, r5, lbl_80431B48@l
|
|
/* 80297C9C 00294BDC 48 0C 9F 89 */ bl func_80361C24
|
|
/* 80297CA0 00294BE0 38 00 00 01 */ li r0, 1
|
|
/* 80297CA4 00294BE4 98 0D 8C E2 */ stb r0, lbl_80451262-_SDA_BASE_(r13)
|
|
lbl_80297CA8:
|
|
/* 80297CA8 00294BE8 48 0A 5A 4D */ bl __RAS_OSDisableInterrupts_begin
|
|
/* 80297CAC 00294BEC 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80297CB0 00294BF0 3C 60 80 43 */ lis r3, lbl_80431B34@ha
|
|
/* 80297CB4 00294BF4 38 63 1B 34 */ addi r3, r3, lbl_80431B34@l
|
|
/* 80297CB8 00294BF8 38 80 01 08 */ li r4, 0x108
|
|
/* 80297CBC 00294BFC 4B FF 8C 8D */ bl alloc__17JASGenericMemPoolFUl
|
|
/* 80297CC0 00294C00 7C 79 1B 78 */ mr r25, r3
|
|
/* 80297CC4 00294C04 80 61 00 08 */ lwz r3, 8(r1)
|
|
/* 80297CC8 00294C08 48 0A 5A 55 */ bl OSRestoreInterrupts
|
|
/* 80297CCC 00294C0C 28 19 00 00 */ cmplwi r25, 0
|
|
/* 80297CD0 00294C10 41 82 00 18 */ beq lbl_80297CE8
|
|
/* 80297CD4 00294C14 7F 23 CB 78 */ mr r3, r25
|
|
/* 80297CD8 00294C18 7F C4 F3 78 */ mr r4, r30
|
|
/* 80297CDC 00294C1C 7F E5 FB 78 */ mr r5, r31
|
|
/* 80297CE0 00294C20 48 00 2B 21 */ bl __ct__10JASChannelFPFUlP10JASChannelPQ26JASDsp8TChannelPv_vPv
|
|
/* 80297CE4 00294C24 7C 79 1B 78 */ mr r25, r3
|
|
lbl_80297CE8:
|
|
/* 80297CE8 00294C28 28 19 00 00 */ cmplwi r25, 0
|
|
/* 80297CEC 00294C2C 40 82 00 0C */ bne lbl_80297CF8
|
|
/* 80297CF0 00294C30 38 60 00 00 */ li r3, 0
|
|
/* 80297CF4 00294C34 48 00 00 6C */ b lbl_80297D60
|
|
lbl_80297CF8:
|
|
/* 80297CF8 00294C38 B3 B9 00 98 */ sth r29, 0x98(r25)
|
|
/* 80297CFC 00294C3C 93 59 01 04 */ stw r26, 0x104(r25)
|
|
/* 80297D00 00294C40 38 00 00 02 */ li r0, 2
|
|
/* 80297D04 00294C44 90 19 00 DC */ stw r0, 0xdc(r25)
|
|
/* 80297D08 00294C48 48 00 4C E1 */ bl getDacRate__9JASDriverFv
|
|
/* 80297D0C 00294C4C C0 02 BC 3C */ lfs f0, lbl_8045563C-_SDA2_BASE_(r2)
|
|
/* 80297D10 00294C50 EC 00 08 24 */ fdivs f0, f0, f1
|
|
/* 80297D14 00294C54 D0 19 00 BC */ stfs f0, 0xbc(r25)
|
|
/* 80297D18 00294C58 88 79 00 E1 */ lbz r3, 0xe1(r25)
|
|
/* 80297D1C 00294C5C 57 60 06 3E */ clrlwi r0, r27, 0x18
|
|
/* 80297D20 00294C60 7C 03 00 50 */ subf r0, r3, r0
|
|
/* 80297D24 00294C64 B0 19 00 C8 */ sth r0, 0xc8(r25)
|
|
/* 80297D28 00294C68 57 80 06 3E */ clrlwi r0, r28, 0x18
|
|
/* 80297D2C 00294C6C B0 19 00 CA */ sth r0, 0xca(r25)
|
|
/* 80297D30 00294C70 7F 23 CB 78 */ mr r3, r25
|
|
/* 80297D34 00294C74 38 80 00 00 */ li r4, 0
|
|
/* 80297D38 00294C78 3C A0 80 3A */ lis r5, lbl_8039B19C@ha
|
|
/* 80297D3C 00294C7C 38 A5 B1 9C */ addi r5, r5, lbl_8039B19C@l
|
|
/* 80297D40 00294C80 48 00 2E 25 */ bl setOscInit__10JASChannelFUlPCQ213JASOscillator4Data
|
|
/* 80297D44 00294C84 7F 23 CB 78 */ mr r3, r25
|
|
/* 80297D48 00294C88 48 00 2C A9 */ bl play__10JASChannelFv
|
|
/* 80297D4C 00294C8C 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 80297D50 00294C90 41 82 00 0C */ beq lbl_80297D5C
|
|
/* 80297D54 00294C94 7F 23 CB 78 */ mr r3, r25
|
|
/* 80297D58 00294C98 48 00 00 08 */ b lbl_80297D60
|
|
lbl_80297D5C:
|
|
/* 80297D5C 00294C9C 38 60 00 00 */ li r3, 0
|
|
lbl_80297D60:
|
|
/* 80297D60 00294CA0 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80297D64 00294CA4 48 0C A4 B5 */ bl _restgpr_25
|
|
/* 80297D68 00294CA8 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80297D6C 00294CAC 7C 08 03 A6 */ mtlr r0
|
|
/* 80297D70 00294CB0 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80297D74 00294CB4 4E 80 00 20 */ blr
|
|
|