1695 lines
76 KiB
ArmAsm
1695 lines
76 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global gki_init_free_queue
|
|
gki_init_free_queue:
|
|
/* 80074790 000705D0 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 80074794 000705D4 7C 08 02 A6 */ mflr r0
|
|
/* 80074798 000705D8 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 8007479C 000705DC 39 61 00 40 */ addi r11, r1, 0x40
|
|
/* 800747A0 000705E0 4B F9 2B 79 */ bl lbl_80007318
|
|
/* 800747A4 000705E4 38 E4 00 03 */ addi r7, r4, 0x3
|
|
/* 800747A8 000705E8 3C 80 80 4D */ lis r4, gki_cb@ha
|
|
/* 800747AC 000705EC 54 E9 00 3A */ clrrwi r9, r7, 2
|
|
/* 800747B0 000705F0 54 79 15 BA */ rlwinm r25, r3, 2, 22, 29
|
|
/* 800747B4 000705F4 3B 49 00 0C */ addi r26, r9, 0xc
|
|
/* 800747B8 000705F8 38 84 96 A8 */ addi r4, r4, gki_cb@l
|
|
/* 800747BC 000705FC 57 48 04 3E */ clrlwi r8, r26, 16
|
|
/* 800747C0 00070600 54 EC 04 3A */ rlwinm r12, r7, 0, 16, 29
|
|
/* 800747C4 00070604 39 44 00 54 */ addi r10, r4, 0x54
|
|
/* 800747C8 00070608 54 64 0D FC */ rlwinm r4, r3, 1, 23, 30
|
|
/* 800747CC 0007060C 3D 6A 00 03 */ addis r11, r10, 0x3
|
|
/* 800747D0 00070610 54 60 25 36 */ rlwinm r0, r3, 4, 20, 27
|
|
/* 800747D4 00070614 7F 2B CA 14 */ add r25, r11, r25
|
|
/* 800747D8 00070618 2C 05 00 00 */ cmpwi r5, 0x0
|
|
/* 800747DC 0007061C 7F 08 29 D6 */ mullw r24, r8, r5
|
|
/* 800747E0 00070620 90 D9 8A 1C */ stw r6, -0x75e4(r25)
|
|
/* 800747E4 00070624 7C EB 22 14 */ add r7, r11, r4
|
|
/* 800747E8 00070628 7D 6B 02 14 */ add r11, r11, r0
|
|
/* 800747EC 0007062C 7C 86 C2 14 */ add r4, r6, r24
|
|
/* 800747F0 00070630 90 99 8A 40 */ stw r4, -0x75c0(r25)
|
|
/* 800747F4 00070634 38 80 00 00 */ li r4, 0x0
|
|
/* 800747F8 00070638 B3 47 8A 64 */ sth r26, -0x759c(r7)
|
|
/* 800747FC 0007063C 38 E0 00 00 */ li r7, 0x0
|
|
/* 80074800 00070640 B1 8B 89 94 */ sth r12, -0x766c(r11)
|
|
/* 80074804 00070644 B0 AB 89 96 */ sth r5, -0x766a(r11)
|
|
/* 80074808 00070648 B0 8B 89 98 */ sth r4, -0x7668(r11)
|
|
/* 8007480C 0007064C B0 8B 89 9A */ sth r4, -0x7666(r11)
|
|
/* 80074810 00070650 90 CB 89 8C */ stw r6, -0x7674(r11)
|
|
/* 80074814 00070654 41 82 01 70 */ beq lbl_80074984
|
|
/* 80074818 00070658 28 05 00 08 */ cmplwi r5, 0x8
|
|
/* 8007481C 0007065C 3D 65 00 01 */ addis r11, r5, 0x1
|
|
/* 80074820 00070660 39 6B FF F8 */ addi r11, r11, -0x8
|
|
/* 80074824 00070664 40 81 01 14 */ ble lbl_80074938
|
|
/* 80074828 00070668 55 6C 04 3E */ clrlwi r12, r11, 16
|
|
/* 8007482C 0007066C 3F 60 DD BB */ lis r27, 0xDDBADDBA@ha
|
|
/* 80074830 00070670 39 6C 00 07 */ addi r11, r12, 0x7
|
|
/* 80074834 00070674 3B 00 00 F0 */ li r24, 0xf0
|
|
/* 80074838 00070678 55 6B E8 FE */ srwi r11, r11, 3
|
|
/* 8007483C 0007067C 3B 5B DD BA */ addi r26, r27, 0xDDBADDBA@l
|
|
/* 80074840 00070680 3B 20 00 00 */ li r25, 0x0
|
|
/* 80074844 00070684 7D 69 03 A6 */ mtctr r11
|
|
/* 80074848 00070688 28 0C 00 00 */ cmplwi r12, 0x0
|
|
/* 8007484C 0007068C 40 81 00 EC */ ble lbl_80074938
|
|
.global lbl_80074850
|
|
lbl_80074850:
|
|
/* 80074850 00070690 9B 06 00 05 */ stb r24, 0x5(r6)
|
|
/* 80074854 00070694 7E 46 42 14 */ add r18, r6, r8
|
|
/* 80074858 00070698 7E 72 42 14 */ add r19, r18, r8
|
|
/* 8007485C 0007069C 7C 86 4A 14 */ add r4, r6, r9
|
|
/* 80074860 000706A0 98 66 00 04 */ stb r3, 0x4(r6)
|
|
/* 80074864 000706A4 7E 93 42 14 */ add r20, r19, r8
|
|
/* 80074868 000706A8 7E B4 42 14 */ add r21, r20, r8
|
|
/* 8007486C 000706AC 7F 72 4A 14 */ add r27, r18, r9
|
|
/* 80074870 000706B0 9B 26 00 06 */ stb r25, 0x6(r6)
|
|
/* 80074874 000706B4 7E D5 42 14 */ add r22, r21, r8
|
|
/* 80074878 000706B8 7E F6 42 14 */ add r23, r22, r8
|
|
/* 8007487C 000706BC 7F 93 4A 14 */ add r28, r19, r9
|
|
/* 80074880 000706C0 93 44 00 08 */ stw r26, 0x8(r4)
|
|
/* 80074884 000706C4 7C 97 42 14 */ add r4, r23, r8
|
|
/* 80074888 000706C8 7F F4 4A 14 */ add r31, r20, r9
|
|
/* 8007488C 000706CC 7F D5 4A 14 */ add r30, r21, r9
|
|
/* 80074890 000706D0 92 46 00 00 */ stw r18, 0x0(r6)
|
|
/* 80074894 000706D4 7F B6 4A 14 */ add r29, r22, r9
|
|
/* 80074898 000706D8 7D 97 4A 14 */ add r12, r23, r9
|
|
/* 8007489C 000706DC 7D 64 4A 14 */ add r11, r4, r9
|
|
/* 800748A0 000706E0 9B 12 00 05 */ stb r24, 0x5(r18)
|
|
/* 800748A4 000706E4 7C C4 42 14 */ add r6, r4, r8
|
|
/* 800748A8 000706E8 38 E7 00 08 */ addi r7, r7, 0x8
|
|
/* 800748AC 000706EC 98 72 00 04 */ stb r3, 0x4(r18)
|
|
/* 800748B0 000706F0 9B 32 00 06 */ stb r25, 0x6(r18)
|
|
/* 800748B4 000706F4 93 5B 00 08 */ stw r26, 0x8(r27)
|
|
/* 800748B8 000706F8 92 72 00 00 */ stw r19, 0x0(r18)
|
|
/* 800748BC 000706FC 9B 13 00 05 */ stb r24, 0x5(r19)
|
|
/* 800748C0 00070700 98 73 00 04 */ stb r3, 0x4(r19)
|
|
/* 800748C4 00070704 9B 33 00 06 */ stb r25, 0x6(r19)
|
|
/* 800748C8 00070708 93 5C 00 08 */ stw r26, 0x8(r28)
|
|
/* 800748CC 0007070C 7E 92 41 2E */ stwx r20, r18, r8
|
|
/* 800748D0 00070710 9B 14 00 05 */ stb r24, 0x5(r20)
|
|
/* 800748D4 00070714 98 74 00 04 */ stb r3, 0x4(r20)
|
|
/* 800748D8 00070718 9B 34 00 06 */ stb r25, 0x6(r20)
|
|
/* 800748DC 0007071C 93 5F 00 08 */ stw r26, 0x8(r31)
|
|
/* 800748E0 00070720 7E B3 41 2E */ stwx r21, r19, r8
|
|
/* 800748E4 00070724 9B 15 00 05 */ stb r24, 0x5(r21)
|
|
/* 800748E8 00070728 98 75 00 04 */ stb r3, 0x4(r21)
|
|
/* 800748EC 0007072C 9B 35 00 06 */ stb r25, 0x6(r21)
|
|
/* 800748F0 00070730 93 5E 00 08 */ stw r26, 0x8(r30)
|
|
/* 800748F4 00070734 7E D4 41 2E */ stwx r22, r20, r8
|
|
/* 800748F8 00070738 9B 16 00 05 */ stb r24, 0x5(r22)
|
|
/* 800748FC 0007073C 98 76 00 04 */ stb r3, 0x4(r22)
|
|
/* 80074900 00070740 9B 36 00 06 */ stb r25, 0x6(r22)
|
|
/* 80074904 00070744 93 5D 00 08 */ stw r26, 0x8(r29)
|
|
/* 80074908 00070748 7E F5 41 2E */ stwx r23, r21, r8
|
|
/* 8007490C 0007074C 9B 17 00 05 */ stb r24, 0x5(r23)
|
|
/* 80074910 00070750 98 77 00 04 */ stb r3, 0x4(r23)
|
|
/* 80074914 00070754 9B 37 00 06 */ stb r25, 0x6(r23)
|
|
/* 80074918 00070758 93 4C 00 08 */ stw r26, 0x8(r12)
|
|
/* 8007491C 0007075C 7C 96 41 2E */ stwx r4, r22, r8
|
|
/* 80074920 00070760 9B 04 00 05 */ stb r24, 0x5(r4)
|
|
/* 80074924 00070764 98 64 00 04 */ stb r3, 0x4(r4)
|
|
/* 80074928 00070768 9B 24 00 06 */ stb r25, 0x6(r4)
|
|
/* 8007492C 0007076C 93 4B 00 08 */ stw r26, 0x8(r11)
|
|
/* 80074930 00070770 7C D7 41 2E */ stwx r6, r23, r8
|
|
/* 80074934 00070774 42 00 FF 1C */ bdnz lbl_80074850
|
|
.global lbl_80074938
|
|
lbl_80074938:
|
|
/* 80074938 00070778 54 EC 04 3E */ clrlwi r12, r7, 16
|
|
/* 8007493C 0007077C 3F E0 DD BB */ lis r31, 0xDDBADDBA@ha
|
|
/* 80074940 00070780 7D 6C 28 50 */ subf r11, r12, r5
|
|
/* 80074944 00070784 3B A0 00 F0 */ li r29, 0xf0
|
|
/* 80074948 00070788 3B FF DD BA */ addi r31, r31, 0xDDBADDBA@l
|
|
/* 8007494C 0007078C 3B C0 00 00 */ li r30, 0x0
|
|
/* 80074950 00070790 7D 69 03 A6 */ mtctr r11
|
|
/* 80074954 00070794 7C 0C 28 40 */ cmplw r12, r5
|
|
/* 80074958 00070798 40 80 00 2C */ bge lbl_80074984
|
|
.global lbl_8007495C
|
|
lbl_8007495C:
|
|
/* 8007495C 0007079C 9B A6 00 05 */ stb r29, 0x5(r6)
|
|
/* 80074960 000707A0 7C A6 4A 14 */ add r5, r6, r9
|
|
/* 80074964 000707A4 7C C4 33 78 */ mr r4, r6
|
|
/* 80074968 000707A8 38 E7 00 01 */ addi r7, r7, 0x1
|
|
/* 8007496C 000707AC 98 66 00 04 */ stb r3, 0x4(r6)
|
|
/* 80074970 000707B0 9B C6 00 06 */ stb r30, 0x6(r6)
|
|
/* 80074974 000707B4 7C C6 42 14 */ add r6, r6, r8
|
|
/* 80074978 000707B8 93 E5 00 08 */ stw r31, 0x8(r5)
|
|
/* 8007497C 000707BC 90 C4 00 00 */ stw r6, 0x0(r4)
|
|
/* 80074980 000707C0 42 00 FF DC */ bdnz lbl_8007495C
|
|
.global lbl_80074984
|
|
lbl_80074984:
|
|
/* 80074984 000707C4 3C 6A 00 03 */ addis r3, r10, 0x3
|
|
/* 80074988 000707C8 38 A0 00 00 */ li r5, 0x0
|
|
/* 8007498C 000707CC 90 A4 00 00 */ stw r5, 0x0(r4)
|
|
/* 80074990 000707D0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80074994 000707D4 39 61 00 40 */ addi r11, r1, 0x40
|
|
/* 80074998 000707D8 90 83 89 90 */ stw r4, -0x7670(r3)
|
|
/* 8007499C 000707DC 4B F9 29 C9 */ bl lbl_80007364
|
|
/* 800749A0 000707E0 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 800749A4 000707E4 7C 08 03 A6 */ mtlr r0
|
|
/* 800749A8 000707E8 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 800749AC 000707EC 4E 80 00 20 */ blr
|
|
.global gki_buffer_init
|
|
gki_buffer_init:
|
|
/* 800749B0 000707F0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 800749B4 000707F4 7C 08 02 A6 */ mflr r0
|
|
/* 800749B8 000707F8 3C 60 80 4D */ lis r3, gki_cb@ha
|
|
/* 800749BC 000707FC 38 C0 00 00 */ li r6, 0x0
|
|
/* 800749C0 00070800 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 800749C4 00070804 38 00 00 02 */ li r0, 0x2
|
|
/* 800749C8 00070808 38 63 96 A8 */ addi r3, r3, gki_cb@l
|
|
/* 800749CC 0007080C 38 80 00 00 */ li r4, 0x0
|
|
/* 800749D0 00070810 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 800749D4 00070814 3B E3 00 54 */ addi r31, r3, 0x54
|
|
/* 800749D8 00070818 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_800749DC
|
|
lbl_800749DC:
|
|
/* 800749DC 0007081C 54 C0 25 36 */ rlwinm r0, r6, 4, 20, 27
|
|
/* 800749E0 00070820 38 C6 00 01 */ addi r6, r6, 0x1
|
|
/* 800749E4 00070824 7C BF 02 14 */ add r5, r31, r0
|
|
/* 800749E8 00070828 3C 65 00 03 */ addis r3, r5, 0x3
|
|
/* 800749EC 0007082C 54 C0 25 36 */ rlwinm r0, r6, 4, 20, 27
|
|
/* 800749F0 00070830 90 83 88 8C */ stw r4, -0x7774(r3)
|
|
/* 800749F4 00070834 7C BF 02 14 */ add r5, r31, r0
|
|
/* 800749F8 00070838 38 C6 00 01 */ addi r6, r6, 0x1
|
|
/* 800749FC 0007083C 90 83 89 0C */ stw r4, -0x76f4(r3)
|
|
/* 80074A00 00070840 54 C0 25 36 */ rlwinm r0, r6, 4, 20, 27
|
|
/* 80074A04 00070844 38 C6 00 01 */ addi r6, r6, 0x1
|
|
/* 80074A08 00070848 90 83 88 90 */ stw r4, -0x7770(r3)
|
|
/* 80074A0C 0007084C 90 83 89 10 */ stw r4, -0x76f0(r3)
|
|
/* 80074A10 00070850 90 83 88 94 */ stw r4, -0x776c(r3)
|
|
/* 80074A14 00070854 90 83 89 14 */ stw r4, -0x76ec(r3)
|
|
/* 80074A18 00070858 90 83 88 98 */ stw r4, -0x7768(r3)
|
|
/* 80074A1C 0007085C 90 83 89 18 */ stw r4, -0x76e8(r3)
|
|
/* 80074A20 00070860 3C 65 00 03 */ addis r3, r5, 0x3
|
|
/* 80074A24 00070864 7C BF 02 14 */ add r5, r31, r0
|
|
/* 80074A28 00070868 54 C0 25 36 */ rlwinm r0, r6, 4, 20, 27
|
|
/* 80074A2C 0007086C 90 83 88 8C */ stw r4, -0x7774(r3)
|
|
/* 80074A30 00070870 38 C6 00 01 */ addi r6, r6, 0x1
|
|
/* 80074A34 00070874 90 83 89 0C */ stw r4, -0x76f4(r3)
|
|
/* 80074A38 00070878 90 83 88 90 */ stw r4, -0x7770(r3)
|
|
/* 80074A3C 0007087C 90 83 89 10 */ stw r4, -0x76f0(r3)
|
|
/* 80074A40 00070880 90 83 88 94 */ stw r4, -0x776c(r3)
|
|
/* 80074A44 00070884 90 83 89 14 */ stw r4, -0x76ec(r3)
|
|
/* 80074A48 00070888 90 83 88 98 */ stw r4, -0x7768(r3)
|
|
/* 80074A4C 0007088C 90 83 89 18 */ stw r4, -0x76e8(r3)
|
|
/* 80074A50 00070890 3C 65 00 03 */ addis r3, r5, 0x3
|
|
/* 80074A54 00070894 7C BF 02 14 */ add r5, r31, r0
|
|
/* 80074A58 00070898 90 83 88 8C */ stw r4, -0x7774(r3)
|
|
/* 80074A5C 0007089C 90 83 89 0C */ stw r4, -0x76f4(r3)
|
|
/* 80074A60 000708A0 90 83 88 90 */ stw r4, -0x7770(r3)
|
|
/* 80074A64 000708A4 90 83 89 10 */ stw r4, -0x76f0(r3)
|
|
/* 80074A68 000708A8 90 83 88 94 */ stw r4, -0x776c(r3)
|
|
/* 80074A6C 000708AC 90 83 89 14 */ stw r4, -0x76ec(r3)
|
|
/* 80074A70 000708B0 90 83 88 98 */ stw r4, -0x7768(r3)
|
|
/* 80074A74 000708B4 90 83 89 18 */ stw r4, -0x76e8(r3)
|
|
/* 80074A78 000708B8 3C 65 00 03 */ addis r3, r5, 0x3
|
|
/* 80074A7C 000708BC 90 83 88 8C */ stw r4, -0x7774(r3)
|
|
/* 80074A80 000708C0 90 83 89 0C */ stw r4, -0x76f4(r3)
|
|
/* 80074A84 000708C4 90 83 88 90 */ stw r4, -0x7770(r3)
|
|
/* 80074A88 000708C8 90 83 89 10 */ stw r4, -0x76f0(r3)
|
|
/* 80074A8C 000708CC 90 83 88 94 */ stw r4, -0x776c(r3)
|
|
/* 80074A90 000708D0 90 83 89 14 */ stw r4, -0x76ec(r3)
|
|
/* 80074A94 000708D4 90 83 88 98 */ stw r4, -0x7768(r3)
|
|
/* 80074A98 000708D8 90 83 89 18 */ stw r4, -0x76e8(r3)
|
|
/* 80074A9C 000708DC 42 00 FF 40 */ bdnz lbl_800749DC
|
|
/* 80074AA0 000708E0 38 00 00 03 */ li r0, 0x3
|
|
/* 80074AA4 000708E4 39 40 00 00 */ li r10, 0x0
|
|
/* 80074AA8 000708E8 38 E0 00 00 */ li r7, 0x0
|
|
/* 80074AAC 000708EC 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_80074AB0
|
|
lbl_80074AB0:
|
|
/* 80074AB0 000708F0 55 40 15 BA */ rlwinm r0, r10, 2, 22, 29
|
|
/* 80074AB4 000708F4 55 44 0D FC */ rlwinm r4, r10, 1, 23, 30
|
|
/* 80074AB8 000708F8 7D 1F 02 14 */ add r8, r31, r0
|
|
/* 80074ABC 000708FC 3C C8 00 03 */ addis r6, r8, 0x3
|
|
/* 80074AC0 00070900 55 40 25 36 */ rlwinm r0, r10, 4, 20, 27
|
|
/* 80074AC4 00070904 3C 84 00 03 */ addis r4, r4, 0x3
|
|
/* 80074AC8 00070908 90 E6 8A 1C */ stw r7, -0x75e4(r6)
|
|
/* 80074ACC 0007090C 7D 3F 02 14 */ add r9, r31, r0
|
|
/* 80074AD0 00070910 39 4A 00 01 */ addi r10, r10, 0x1
|
|
/* 80074AD4 00070914 38 A4 8A 64 */ addi r5, r4, -0x759c
|
|
/* 80074AD8 00070918 90 E6 8A 40 */ stw r7, -0x75c0(r6)
|
|
/* 80074ADC 0007091C 3C 69 00 03 */ addis r3, r9, 0x3
|
|
/* 80074AE0 00070920 55 40 15 BA */ rlwinm r0, r10, 2, 22, 29
|
|
/* 80074AE4 00070924 7C FF 2B 2E */ sthx r7, r31, r5
|
|
/* 80074AE8 00070928 7D 1F 02 14 */ add r8, r31, r0
|
|
/* 80074AEC 0007092C 55 44 0D FC */ rlwinm r4, r10, 1, 23, 30
|
|
/* 80074AF0 00070930 55 40 25 36 */ rlwinm r0, r10, 4, 20, 27
|
|
/* 80074AF4 00070934 90 E3 89 8C */ stw r7, -0x7674(r3)
|
|
/* 80074AF8 00070938 3C 84 00 03 */ addis r4, r4, 0x3
|
|
/* 80074AFC 0007093C 3C C8 00 03 */ addis r6, r8, 0x3
|
|
/* 80074B00 00070940 7D 3F 02 14 */ add r9, r31, r0
|
|
/* 80074B04 00070944 90 E3 89 90 */ stw r7, -0x7670(r3)
|
|
/* 80074B08 00070948 39 4A 00 01 */ addi r10, r10, 0x1
|
|
/* 80074B0C 0007094C 38 A4 8A 64 */ addi r5, r4, -0x759c
|
|
/* 80074B10 00070950 B0 E3 89 94 */ sth r7, -0x766c(r3)
|
|
/* 80074B14 00070954 55 40 15 BA */ rlwinm r0, r10, 2, 22, 29
|
|
/* 80074B18 00070958 7D 1F 02 14 */ add r8, r31, r0
|
|
/* 80074B1C 0007095C 55 44 0D FC */ rlwinm r4, r10, 1, 23, 30
|
|
/* 80074B20 00070960 B0 E3 89 96 */ sth r7, -0x766a(r3)
|
|
/* 80074B24 00070964 55 40 25 36 */ rlwinm r0, r10, 4, 20, 27
|
|
/* 80074B28 00070968 3C 84 00 03 */ addis r4, r4, 0x3
|
|
/* 80074B2C 0007096C 39 4A 00 01 */ addi r10, r10, 0x1
|
|
/* 80074B30 00070970 B0 E3 89 98 */ sth r7, -0x7668(r3)
|
|
/* 80074B34 00070974 B0 E3 89 9A */ sth r7, -0x7666(r3)
|
|
/* 80074B38 00070978 3C 69 00 03 */ addis r3, r9, 0x3
|
|
/* 80074B3C 0007097C 7D 3F 02 14 */ add r9, r31, r0
|
|
/* 80074B40 00070980 90 E6 8A 1C */ stw r7, -0x75e4(r6)
|
|
/* 80074B44 00070984 90 E6 8A 40 */ stw r7, -0x75c0(r6)
|
|
/* 80074B48 00070988 3C C8 00 03 */ addis r6, r8, 0x3
|
|
/* 80074B4C 0007098C 7C FF 2B 2E */ sthx r7, r31, r5
|
|
/* 80074B50 00070990 38 A4 8A 64 */ addi r5, r4, -0x759c
|
|
/* 80074B54 00070994 90 E3 89 8C */ stw r7, -0x7674(r3)
|
|
/* 80074B58 00070998 90 E3 89 90 */ stw r7, -0x7670(r3)
|
|
/* 80074B5C 0007099C B0 E3 89 94 */ sth r7, -0x766c(r3)
|
|
/* 80074B60 000709A0 B0 E3 89 96 */ sth r7, -0x766a(r3)
|
|
/* 80074B64 000709A4 B0 E3 89 98 */ sth r7, -0x7668(r3)
|
|
/* 80074B68 000709A8 B0 E3 89 9A */ sth r7, -0x7666(r3)
|
|
/* 80074B6C 000709AC 3C 69 00 03 */ addis r3, r9, 0x3
|
|
/* 80074B70 000709B0 90 E6 8A 1C */ stw r7, -0x75e4(r6)
|
|
/* 80074B74 000709B4 90 E6 8A 40 */ stw r7, -0x75c0(r6)
|
|
/* 80074B78 000709B8 7C FF 2B 2E */ sthx r7, r31, r5
|
|
/* 80074B7C 000709BC 90 E3 89 8C */ stw r7, -0x7674(r3)
|
|
/* 80074B80 000709C0 90 E3 89 90 */ stw r7, -0x7670(r3)
|
|
/* 80074B84 000709C4 B0 E3 89 94 */ sth r7, -0x766c(r3)
|
|
/* 80074B88 000709C8 B0 E3 89 96 */ sth r7, -0x766a(r3)
|
|
/* 80074B8C 000709CC B0 E3 89 98 */ sth r7, -0x7668(r3)
|
|
/* 80074B90 000709D0 B0 E3 89 9A */ sth r7, -0x7666(r3)
|
|
/* 80074B94 000709D4 42 00 FF 1C */ bdnz lbl_80074AB0
|
|
/* 80074B98 000709D8 3C 80 00 01 */ lis r4, 0x1
|
|
/* 80074B9C 000709DC 3C 7F 00 03 */ addis r3, r31, 0x3
|
|
/* 80074BA0 000709E0 38 04 FF F0 */ addi r0, r4, -0x10
|
|
/* 80074BA4 000709E4 B0 03 8A 7C */ sth r0, -0x7584(r3)
|
|
/* 80074BA8 000709E8 7F E6 FB 78 */ mr r6, r31
|
|
/* 80074BAC 000709EC 38 60 00 00 */ li r3, 0x0
|
|
/* 80074BB0 000709F0 38 80 00 40 */ li r4, 0x40
|
|
/* 80074BB4 000709F4 38 A0 00 30 */ li r5, 0x30
|
|
/* 80074BB8 000709F8 4B FF FB D9 */ bl gki_init_free_queue
|
|
/* 80074BBC 000709FC 38 DF 0E 40 */ addi r6, r31, 0xe40
|
|
/* 80074BC0 00070A00 38 60 00 01 */ li r3, 0x1
|
|
/* 80074BC4 00070A04 38 80 00 80 */ li r4, 0x80
|
|
/* 80074BC8 00070A08 38 A0 00 1A */ li r5, 0x1a
|
|
/* 80074BCC 00070A0C 4B FF FB C5 */ bl gki_init_free_queue
|
|
/* 80074BD0 00070A10 38 DF 1C 78 */ addi r6, r31, 0x1c78
|
|
/* 80074BD4 00070A14 38 60 00 02 */ li r3, 0x2
|
|
/* 80074BD8 00070A18 38 80 02 94 */ li r4, 0x294
|
|
/* 80074BDC 00070A1C 38 A0 00 2D */ li r5, 0x2d
|
|
/* 80074BE0 00070A20 4B FF FB B1 */ bl gki_init_free_queue
|
|
/* 80074BE4 00070A24 3C DF 00 01 */ addis r6, r31, 0x1
|
|
/* 80074BE8 00070A28 38 60 00 03 */ li r3, 0x3
|
|
/* 80074BEC 00070A2C 38 80 07 08 */ li r4, 0x708
|
|
/* 80074BF0 00070A30 38 A0 00 1E */ li r5, 0x1e
|
|
/* 80074BF4 00070A34 38 C6 92 98 */ addi r6, r6, -0x6d68
|
|
/* 80074BF8 00070A38 4B FF FB 99 */ bl gki_init_free_queue
|
|
/* 80074BFC 00070A3C 3C DF 00 01 */ addis r6, r31, 0x1
|
|
/* 80074C00 00070A40 38 60 00 04 */ li r3, 0x4
|
|
/* 80074C04 00070A44 38 80 20 00 */ li r4, 0x2000
|
|
/* 80074C08 00070A48 38 A0 00 09 */ li r5, 0x9
|
|
/* 80074C0C 00070A4C 38 C6 66 F0 */ addi r6, r6, 0x66f0
|
|
/* 80074C10 00070A50 4B FF FB 81 */ bl gki_init_free_queue
|
|
/* 80074C14 00070A54 3C DF 00 03 */ addis r6, r31, 0x3
|
|
/* 80074C18 00070A58 38 00 00 00 */ li r0, 0x0
|
|
/* 80074C1C 00070A5C 98 06 8A 7E */ stb r0, -0x7582(r6)
|
|
/* 80074C20 00070A60 38 00 00 01 */ li r0, 0x1
|
|
/* 80074C24 00070A64 38 A0 00 02 */ li r5, 0x2
|
|
/* 80074C28 00070A68 38 80 00 03 */ li r4, 0x3
|
|
/* 80074C2C 00070A6C 98 06 8A 7F */ stb r0, -0x7581(r6)
|
|
/* 80074C30 00070A70 38 60 00 04 */ li r3, 0x4
|
|
/* 80074C34 00070A74 38 00 00 05 */ li r0, 0x5
|
|
/* 80074C38 00070A78 98 A6 8A 80 */ stb r5, -0x7580(r6)
|
|
/* 80074C3C 00070A7C 98 86 8A 81 */ stb r4, -0x757f(r6)
|
|
/* 80074C40 00070A80 98 66 8A 82 */ stb r3, -0x757e(r6)
|
|
/* 80074C44 00070A84 98 06 8A 87 */ stb r0, -0x7579(r6)
|
|
/* 80074C48 00070A88 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80074C4C 00070A8C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80074C50 00070A90 7C 08 03 A6 */ mtlr r0
|
|
/* 80074C54 00070A94 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80074C58 00070A98 4E 80 00 20 */ blr
|
|
/* 80074C5C 00070A9C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GKI_init_q
|
|
GKI_init_q:
|
|
/* 80074C60 00070AA0 38 00 00 00 */ li r0, 0x0
|
|
/* 80074C64 00070AA4 90 03 00 04 */ stw r0, 0x4(r3)
|
|
/* 80074C68 00070AA8 90 03 00 00 */ stw r0, 0x0(r3)
|
|
/* 80074C6C 00070AAC B0 03 00 08 */ sth r0, 0x8(r3)
|
|
/* 80074C70 00070AB0 4E 80 00 20 */ blr
|
|
/* 80074C74 00070AB4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80074C78 00070AB8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80074C7C 00070ABC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GKI_getbuf
|
|
GKI_getbuf:
|
|
/* 80074C80 00070AC0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80074C84 00070AC4 7C 08 02 A6 */ mflr r0
|
|
/* 80074C88 00070AC8 3C 80 80 4D */ lis r4, gki_cb@ha
|
|
/* 80074C8C 00070ACC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80074C90 00070AD0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80074C94 00070AD4 38 84 96 A8 */ addi r4, r4, gki_cb@l
|
|
/* 80074C98 00070AD8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80074C9C 00070ADC 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80074CA0 00070AE0 3B C4 00 54 */ addi r30, r4, 0x54
|
|
/* 80074CA4 00070AE4 40 82 00 24 */ bne lbl_80074CC8
|
|
/* 80074CA8 00070AE8 3C 60 00 01 */ lis r3, 0x1
|
|
/* 80074CAC 00070AEC 3C 80 80 44 */ lis r4, "@749"@ha
|
|
/* 80074CB0 00070AF0 38 03 FF F6 */ addi r0, r3, -0xa
|
|
/* 80074CB4 00070AF4 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80074CB8 00070AF8 38 84 A8 68 */ addi r4, r4, "@749"@l
|
|
/* 80074CBC 00070AFC 4B FA F7 E5 */ bl DefaultSwitchThreadCallback
|
|
/* 80074CC0 00070B00 38 60 00 00 */ li r3, 0x0
|
|
/* 80074CC4 00070B04 48 00 01 44 */ b lbl_80074E08
|
|
.global lbl_80074CC8
|
|
lbl_80074CC8:
|
|
/* 80074CC8 00070B08 3C 9E 00 03 */ addis r4, r30, 0x3
|
|
/* 80074CCC 00070B0C 3B E0 00 00 */ li r31, 0x0
|
|
/* 80074CD0 00070B10 88 A4 8A 87 */ lbz r5, -0x7579(r4)
|
|
/* 80074CD4 00070B14 48 00 00 30 */ b lbl_80074D04
|
|
.global lbl_80074CD8
|
|
lbl_80074CD8:
|
|
/* 80074CD8 00070B18 57 E4 06 3E */ clrlwi r4, r31, 24
|
|
/* 80074CDC 00070B1C 3C 84 00 03 */ addis r4, r4, 0x3
|
|
/* 80074CE0 00070B20 38 04 8A 7E */ addi r0, r4, -0x7582
|
|
/* 80074CE4 00070B24 7C 1E 00 AE */ lbzx r0, r30, r0
|
|
/* 80074CE8 00070B28 54 04 20 36 */ slwi r4, r0, 4
|
|
/* 80074CEC 00070B2C 3C 84 00 03 */ addis r4, r4, 0x3
|
|
/* 80074CF0 00070B30 38 04 89 94 */ addi r0, r4, -0x766c
|
|
/* 80074CF4 00070B34 7C 1E 02 2E */ lhzx r0, r30, r0
|
|
/* 80074CF8 00070B38 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80074CFC 00070B3C 40 81 00 14 */ ble lbl_80074D10
|
|
/* 80074D00 00070B40 3B FF 00 01 */ addi r31, r31, 0x1
|
|
.global lbl_80074D04
|
|
lbl_80074D04:
|
|
/* 80074D04 00070B44 57 E0 06 3E */ clrlwi r0, r31, 24
|
|
/* 80074D08 00070B48 7C 00 28 40 */ cmplw r0, r5
|
|
/* 80074D0C 00070B4C 41 80 FF CC */ blt lbl_80074CD8
|
|
.global lbl_80074D10
|
|
lbl_80074D10:
|
|
/* 80074D10 00070B50 57 E0 06 3E */ clrlwi r0, r31, 24
|
|
/* 80074D14 00070B54 7C 00 28 40 */ cmplw r0, r5
|
|
/* 80074D18 00070B58 40 82 00 24 */ bne lbl_80074D3C
|
|
/* 80074D1C 00070B5C 3C 60 00 01 */ lis r3, 0x1
|
|
/* 80074D20 00070B60 3C 80 80 44 */ lis r4, "@750"@ha
|
|
/* 80074D24 00070B64 38 03 FF F7 */ addi r0, r3, -0x9
|
|
/* 80074D28 00070B68 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80074D2C 00070B6C 38 84 A8 80 */ addi r4, r4, "@750"@l
|
|
/* 80074D30 00070B70 4B FA F7 71 */ bl DefaultSwitchThreadCallback
|
|
/* 80074D34 00070B74 38 60 00 00 */ li r3, 0x0
|
|
/* 80074D38 00070B78 48 00 00 D0 */ b lbl_80074E08
|
|
.global lbl_80074D3C
|
|
lbl_80074D3C:
|
|
/* 80074D3C 00070B7C 48 00 16 A5 */ bl GKI_disable
|
|
/* 80074D40 00070B80 3C DE 00 03 */ addis r6, r30, 0x3
|
|
/* 80074D44 00070B84 38 A0 00 01 */ li r5, 0x1
|
|
/* 80074D48 00070B88 88 E6 8A 87 */ lbz r7, -0x7579(r6)
|
|
/* 80074D4C 00070B8C 48 00 00 A8 */ b lbl_80074DF4
|
|
.global lbl_80074D50
|
|
lbl_80074D50:
|
|
/* 80074D50 00070B90 57 E4 06 3E */ clrlwi r4, r31, 24
|
|
/* 80074D54 00070B94 A0 66 8A 7C */ lhz r3, -0x7584(r6)
|
|
/* 80074D58 00070B98 3C 84 00 03 */ addis r4, r4, 0x3
|
|
/* 80074D5C 00070B9C 38 04 8A 7E */ addi r0, r4, -0x7582
|
|
/* 80074D60 00070BA0 7C 9E 00 AE */ lbzx r4, r30, r0
|
|
/* 80074D64 00070BA4 7C A0 20 30 */ slw r0, r5, r4
|
|
/* 80074D68 00070BA8 7C 60 00 39 */ and. r0, r3, r0
|
|
/* 80074D6C 00070BAC 40 82 00 84 */ bne lbl_80074DF0
|
|
/* 80074D70 00070BB0 54 80 25 36 */ rlwinm r0, r4, 4, 20, 27
|
|
/* 80074D74 00070BB4 7C 86 02 14 */ add r4, r6, r0
|
|
/* 80074D78 00070BB8 A0 64 89 98 */ lhz r3, -0x7668(r4)
|
|
/* 80074D7C 00070BBC A0 04 89 96 */ lhz r0, -0x766a(r4)
|
|
/* 80074D80 00070BC0 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80074D84 00070BC4 40 80 00 6C */ bge lbl_80074DF0
|
|
/* 80074D88 00070BC8 83 C4 89 8C */ lwz r30, -0x7674(r4)
|
|
/* 80074D8C 00070BCC 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
/* 80074D90 00070BD0 90 04 89 8C */ stw r0, -0x7674(r4)
|
|
/* 80074D94 00070BD4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80074D98 00070BD8 40 82 00 0C */ bne lbl_80074DA4
|
|
/* 80074D9C 00070BDC 38 00 00 00 */ li r0, 0x0
|
|
/* 80074DA0 00070BE0 90 04 89 90 */ stw r0, -0x7670(r4)
|
|
.global lbl_80074DA4
|
|
lbl_80074DA4:
|
|
/* 80074DA4 00070BE4 A0 64 89 98 */ lhz r3, -0x7668(r4)
|
|
/* 80074DA8 00070BE8 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 80074DAC 00070BEC B0 04 89 98 */ sth r0, -0x7668(r4)
|
|
/* 80074DB0 00070BF0 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80074DB4 00070BF4 A0 04 89 9A */ lhz r0, -0x7666(r4)
|
|
/* 80074DB8 00070BF8 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80074DBC 00070BFC 40 81 00 0C */ ble lbl_80074DC8
|
|
/* 80074DC0 00070C00 A0 04 89 98 */ lhz r0, -0x7668(r4)
|
|
/* 80074DC4 00070C04 B0 04 89 9A */ sth r0, -0x7666(r4)
|
|
.global lbl_80074DC8
|
|
lbl_80074DC8:
|
|
/* 80074DC8 00070C08 48 00 15 E9 */ bl GKI_enable
|
|
/* 80074DCC 00070C0C 48 0A CF 05 */ bl GetType__Q44nw4r2ut6detail11ResFontBaseCFv
|
|
/* 80074DD0 00070C10 98 7E 00 05 */ stb r3, 0x5(r30)
|
|
/* 80074DD4 00070C14 38 80 00 01 */ li r4, 0x1
|
|
/* 80074DD8 00070C18 38 00 00 00 */ li r0, 0x0
|
|
/* 80074DDC 00070C1C 38 7E 00 08 */ addi r3, r30, 0x8
|
|
/* 80074DE0 00070C20 98 9E 00 06 */ stb r4, 0x6(r30)
|
|
/* 80074DE4 00070C24 90 1E 00 00 */ stw r0, 0x0(r30)
|
|
/* 80074DE8 00070C28 98 1E 00 07 */ stb r0, 0x7(r30)
|
|
/* 80074DEC 00070C2C 48 00 00 1C */ b lbl_80074E08
|
|
.global lbl_80074DF0
|
|
lbl_80074DF0:
|
|
/* 80074DF0 00070C30 3B FF 00 01 */ addi r31, r31, 0x1
|
|
.global lbl_80074DF4
|
|
lbl_80074DF4:
|
|
/* 80074DF4 00070C34 57 E0 06 3E */ clrlwi r0, r31, 24
|
|
/* 80074DF8 00070C38 7C 00 38 40 */ cmplw r0, r7
|
|
/* 80074DFC 00070C3C 41 80 FF 54 */ blt lbl_80074D50
|
|
/* 80074E00 00070C40 48 00 15 B1 */ bl GKI_enable
|
|
/* 80074E04 00070C44 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_80074E08
|
|
lbl_80074E08:
|
|
/* 80074E08 00070C48 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80074E0C 00070C4C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80074E10 00070C50 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80074E14 00070C54 7C 08 03 A6 */ mtlr r0
|
|
/* 80074E18 00070C58 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80074E1C 00070C5C 4E 80 00 20 */ blr
|
|
.global GKI_getpoolbuf
|
|
GKI_getpoolbuf:
|
|
/* 80074E20 00070C60 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80074E24 00070C64 7C 08 02 A6 */ mflr r0
|
|
/* 80074E28 00070C68 3C 80 80 4D */ lis r4, gki_cb@ha
|
|
/* 80074E2C 00070C6C 28 03 00 09 */ cmplwi r3, 0x9
|
|
/* 80074E30 00070C70 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80074E34 00070C74 38 84 96 A8 */ addi r4, r4, gki_cb@l
|
|
/* 80074E38 00070C78 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80074E3C 00070C7C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80074E40 00070C80 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80074E44 00070C84 3B C4 00 54 */ addi r30, r4, 0x54
|
|
/* 80074E48 00070C88 41 80 00 0C */ blt lbl_80074E54
|
|
/* 80074E4C 00070C8C 38 60 00 00 */ li r3, 0x0
|
|
/* 80074E50 00070C90 48 00 00 A0 */ b lbl_80074EF0
|
|
.global lbl_80074E54
|
|
lbl_80074E54:
|
|
/* 80074E54 00070C94 48 00 15 8D */ bl GKI_disable
|
|
/* 80074E58 00070C98 57 FF 25 36 */ rlwinm r31, r31, 4, 20, 27
|
|
/* 80074E5C 00070C9C 3C 1E 00 03 */ addis r0, r30, 0x3
|
|
/* 80074E60 00070CA0 7C 80 FA 14 */ add r4, r0, r31
|
|
/* 80074E64 00070CA4 A0 64 89 98 */ lhz r3, -0x7668(r4)
|
|
/* 80074E68 00070CA8 A0 04 89 96 */ lhz r0, -0x766a(r4)
|
|
/* 80074E6C 00070CAC 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80074E70 00070CB0 40 80 00 6C */ bge lbl_80074EDC
|
|
/* 80074E74 00070CB4 83 E4 89 8C */ lwz r31, -0x7674(r4)
|
|
/* 80074E78 00070CB8 80 1F 00 00 */ lwz r0, 0x0(r31)
|
|
/* 80074E7C 00070CBC 90 04 89 8C */ stw r0, -0x7674(r4)
|
|
/* 80074E80 00070CC0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80074E84 00070CC4 40 82 00 0C */ bne lbl_80074E90
|
|
/* 80074E88 00070CC8 38 00 00 00 */ li r0, 0x0
|
|
/* 80074E8C 00070CCC 90 04 89 90 */ stw r0, -0x7670(r4)
|
|
.global lbl_80074E90
|
|
lbl_80074E90:
|
|
/* 80074E90 00070CD0 A0 64 89 98 */ lhz r3, -0x7668(r4)
|
|
/* 80074E94 00070CD4 38 03 00 01 */ addi r0, r3, 0x1
|
|
/* 80074E98 00070CD8 B0 04 89 98 */ sth r0, -0x7668(r4)
|
|
/* 80074E9C 00070CDC 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80074EA0 00070CE0 A0 04 89 9A */ lhz r0, -0x7666(r4)
|
|
/* 80074EA4 00070CE4 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80074EA8 00070CE8 40 81 00 0C */ ble lbl_80074EB4
|
|
/* 80074EAC 00070CEC A0 04 89 98 */ lhz r0, -0x7668(r4)
|
|
/* 80074EB0 00070CF0 B0 04 89 9A */ sth r0, -0x7666(r4)
|
|
.global lbl_80074EB4
|
|
lbl_80074EB4:
|
|
/* 80074EB4 00070CF4 48 00 14 FD */ bl GKI_enable
|
|
/* 80074EB8 00070CF8 48 0A CE 19 */ bl GetType__Q44nw4r2ut6detail11ResFontBaseCFv
|
|
/* 80074EBC 00070CFC 98 7F 00 05 */ stb r3, 0x5(r31)
|
|
/* 80074EC0 00070D00 38 80 00 01 */ li r4, 0x1
|
|
/* 80074EC4 00070D04 38 00 00 00 */ li r0, 0x0
|
|
/* 80074EC8 00070D08 38 7F 00 08 */ addi r3, r31, 0x8
|
|
/* 80074ECC 00070D0C 98 9F 00 06 */ stb r4, 0x6(r31)
|
|
/* 80074ED0 00070D10 90 1F 00 00 */ stw r0, 0x0(r31)
|
|
/* 80074ED4 00070D14 98 1F 00 07 */ stb r0, 0x7(r31)
|
|
/* 80074ED8 00070D18 48 00 00 18 */ b lbl_80074EF0
|
|
.global lbl_80074EDC
|
|
lbl_80074EDC:
|
|
/* 80074EDC 00070D1C 48 00 14 D5 */ bl GKI_enable
|
|
/* 80074EE0 00070D20 3C 1E 00 03 */ addis r0, r30, 0x3
|
|
/* 80074EE4 00070D24 7C 60 FA 14 */ add r3, r0, r31
|
|
/* 80074EE8 00070D28 A0 63 89 94 */ lhz r3, -0x766c(r3)
|
|
/* 80074EEC 00070D2C 4B FF FD 95 */ bl GKI_getbuf
|
|
.global lbl_80074EF0
|
|
lbl_80074EF0:
|
|
/* 80074EF0 00070D30 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80074EF4 00070D34 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80074EF8 00070D38 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80074EFC 00070D3C 7C 08 03 A6 */ mtlr r0
|
|
/* 80074F00 00070D40 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80074F04 00070D44 4E 80 00 20 */ blr
|
|
/* 80074F08 00070D48 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80074F0C 00070D4C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GKI_freebuf
|
|
GKI_freebuf:
|
|
/* 80074F10 00070D50 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80074F14 00070D54 7C 08 02 A6 */ mflr r0
|
|
/* 80074F18 00070D58 3C A0 80 44 */ lis r5, "@749"@ha
|
|
/* 80074F1C 00070D5C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80074F20 00070D60 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80074F24 00070D64 38 A5 A8 68 */ addi r5, r5, "@749"@l
|
|
/* 80074F28 00070D68 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80074F2C 00070D6C 41 82 00 7C */ beq lbl_80074FA8
|
|
/* 80074F30 00070D70 3B E3 FF F8 */ addi r31, r3, -0x8
|
|
/* 80074F34 00070D74 57 E0 07 FF */ clrlwi. r0, r31, 31
|
|
/* 80074F38 00070D78 41 82 00 0C */ beq lbl_80074F44
|
|
/* 80074F3C 00070D7C 38 00 00 00 */ li r0, 0x0
|
|
/* 80074F40 00070D80 48 00 00 30 */ b lbl_80074F70
|
|
.global lbl_80074F44
|
|
lbl_80074F44:
|
|
/* 80074F44 00070D84 88 1F 00 04 */ lbz r0, 0x4(r31)
|
|
/* 80074F48 00070D88 28 00 00 09 */ cmplwi r0, 0x9
|
|
/* 80074F4C 00070D8C 40 80 00 20 */ bge lbl_80074F6C
|
|
/* 80074F50 00070D90 3C 80 80 4D */ lis r4, gki_cb@ha
|
|
/* 80074F54 00070D94 54 00 25 36 */ rlwinm r0, r0, 4, 20, 27
|
|
/* 80074F58 00070D98 38 84 96 A8 */ addi r4, r4, gki_cb@l
|
|
/* 80074F5C 00070D9C 3C 84 00 03 */ addis r4, r4, 0x3
|
|
/* 80074F60 00070DA0 7C 84 02 14 */ add r4, r4, r0
|
|
/* 80074F64 00070DA4 A0 04 89 E8 */ lhz r0, -0x7618(r4)
|
|
/* 80074F68 00070DA8 48 00 00 08 */ b lbl_80074F70
|
|
.global lbl_80074F6C
|
|
lbl_80074F6C:
|
|
/* 80074F6C 00070DAC 38 00 00 00 */ li r0, 0x0
|
|
.global lbl_80074F70
|
|
lbl_80074F70:
|
|
/* 80074F70 00070DB0 7C 83 02 14 */ add r4, r3, r0
|
|
/* 80074F74 00070DB4 54 80 07 FF */ clrlwi. r0, r4, 31
|
|
/* 80074F78 00070DB8 41 82 00 0C */ beq lbl_80074F84
|
|
/* 80074F7C 00070DBC 38 00 00 01 */ li r0, 0x1
|
|
/* 80074F80 00070DC0 48 00 00 20 */ b lbl_80074FA0
|
|
.global lbl_80074F84
|
|
lbl_80074F84:
|
|
/* 80074F84 00070DC4 3C 60 DD BB */ lis r3, 0xDDBADDBA@ha
|
|
/* 80074F88 00070DC8 80 84 00 00 */ lwz r4, 0x0(r4)
|
|
/* 80074F8C 00070DCC 38 03 DD BA */ addi r0, r3, 0xDDBADDBA@l
|
|
/* 80074F90 00070DD0 7C 64 00 50 */ subf r3, r4, r0
|
|
/* 80074F94 00070DD4 7C 00 20 50 */ subf r0, r0, r4
|
|
/* 80074F98 00070DD8 7C 60 03 78 */ or r0, r3, r0
|
|
/* 80074F9C 00070DDC 54 00 0F FE */ srwi r0, r0, 31
|
|
.global lbl_80074FA0
|
|
lbl_80074FA0:
|
|
/* 80074FA0 00070DE0 54 00 06 3F */ clrlwi. r0, r0, 24
|
|
/* 80074FA4 00070DE4 41 82 00 1C */ beq lbl_80074FC0
|
|
.global lbl_80074FA8
|
|
lbl_80074FA8:
|
|
/* 80074FA8 00070DE8 3C 60 00 01 */ lis r3, 0x1
|
|
/* 80074FAC 00070DEC 38 85 00 30 */ addi r4, r5, 0x30
|
|
/* 80074FB0 00070DF0 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80074FB4 00070DF4 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80074FB8 00070DF8 4B FA F4 E9 */ bl DefaultSwitchThreadCallback
|
|
/* 80074FBC 00070DFC 48 00 00 B0 */ b lbl_8007506C
|
|
.global lbl_80074FC0
|
|
lbl_80074FC0:
|
|
/* 80074FC0 00070E00 88 1F 00 06 */ lbz r0, 0x6(r31)
|
|
/* 80074FC4 00070E04 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 80074FC8 00070E08 41 82 00 1C */ beq lbl_80074FE4
|
|
/* 80074FCC 00070E0C 3C 60 00 01 */ lis r3, 0x1
|
|
/* 80074FD0 00070E10 38 85 00 48 */ addi r4, r5, 0x48
|
|
/* 80074FD4 00070E14 38 03 FF FC */ addi r0, r3, -0x4
|
|
/* 80074FD8 00070E18 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80074FDC 00070E1C 4B FA F4 C5 */ bl DefaultSwitchThreadCallback
|
|
/* 80074FE0 00070E20 48 00 00 8C */ b lbl_8007506C
|
|
.global lbl_80074FE4
|
|
lbl_80074FE4:
|
|
/* 80074FE4 00070E24 88 1F 00 04 */ lbz r0, 0x4(r31)
|
|
/* 80074FE8 00070E28 28 00 00 09 */ cmplwi r0, 0x9
|
|
/* 80074FEC 00070E2C 41 80 00 1C */ blt lbl_80075008
|
|
/* 80074FF0 00070E30 3C 60 00 01 */ lis r3, 0x1
|
|
/* 80074FF4 00070E34 38 85 00 5C */ addi r4, r5, 0x5c
|
|
/* 80074FF8 00070E38 38 03 FF FD */ addi r0, r3, -0x3
|
|
/* 80074FFC 00070E3C 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80075000 00070E40 4B FA F4 A1 */ bl DefaultSwitchThreadCallback
|
|
/* 80075004 00070E44 48 00 00 68 */ b lbl_8007506C
|
|
.global lbl_80075008
|
|
lbl_80075008:
|
|
/* 80075008 00070E48 48 00 13 D9 */ bl GKI_disable
|
|
/* 8007500C 00070E4C 88 1F 00 04 */ lbz r0, 0x4(r31)
|
|
/* 80075010 00070E50 3C 60 80 4D */ lis r3, gki_cb@ha
|
|
/* 80075014 00070E54 38 63 96 A8 */ addi r3, r3, gki_cb@l
|
|
/* 80075018 00070E58 3C 63 00 03 */ addis r3, r3, 0x3
|
|
/* 8007501C 00070E5C 54 00 20 36 */ slwi r0, r0, 4
|
|
/* 80075020 00070E60 7C 83 02 14 */ add r4, r3, r0
|
|
/* 80075024 00070E64 80 64 89 E4 */ lwz r3, -0x761c(r4)
|
|
/* 80075028 00070E68 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8007502C 00070E6C 41 82 00 0C */ beq lbl_80075038
|
|
/* 80075030 00070E70 93 E3 00 00 */ stw r31, 0x0(r3)
|
|
/* 80075034 00070E74 48 00 00 08 */ b lbl_8007503C
|
|
.global lbl_80075038
|
|
lbl_80075038:
|
|
/* 80075038 00070E78 93 E4 89 E0 */ stw r31, -0x7620(r4)
|
|
.global lbl_8007503C
|
|
lbl_8007503C:
|
|
/* 8007503C 00070E7C 93 E4 89 E4 */ stw r31, -0x761c(r4)
|
|
/* 80075040 00070E80 38 60 00 00 */ li r3, 0x0
|
|
/* 80075044 00070E84 38 00 00 F0 */ li r0, 0xf0
|
|
/* 80075048 00070E88 90 7F 00 00 */ stw r3, 0x0(r31)
|
|
/* 8007504C 00070E8C 98 7F 00 06 */ stb r3, 0x6(r31)
|
|
/* 80075050 00070E90 98 1F 00 05 */ stb r0, 0x5(r31)
|
|
/* 80075054 00070E94 A0 64 89 EC */ lhz r3, -0x7614(r4)
|
|
/* 80075058 00070E98 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8007505C 00070E9C 41 82 00 0C */ beq lbl_80075068
|
|
/* 80075060 00070EA0 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80075064 00070EA4 B0 04 89 EC */ sth r0, -0x7614(r4)
|
|
.global lbl_80075068
|
|
lbl_80075068:
|
|
/* 80075068 00070EA8 48 00 13 49 */ bl GKI_enable
|
|
.global lbl_8007506C
|
|
lbl_8007506C:
|
|
/* 8007506C 00070EAC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80075070 00070EB0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80075074 00070EB4 7C 08 03 A6 */ mtlr r0
|
|
/* 80075078 00070EB8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8007507C 00070EBC 4E 80 00 20 */ blr
|
|
.global GKI_get_buf_size
|
|
GKI_get_buf_size:
|
|
/* 80075080 00070EC0 38 63 FF F8 */ addi r3, r3, -0x8
|
|
/* 80075084 00070EC4 54 60 07 FF */ clrlwi. r0, r3, 31
|
|
/* 80075088 00070EC8 41 82 00 0C */ beq lbl_80075094
|
|
/* 8007508C 00070ECC 38 60 00 00 */ li r3, 0x0
|
|
/* 80075090 00070ED0 4E 80 00 20 */ blr
|
|
.global lbl_80075094
|
|
lbl_80075094:
|
|
/* 80075094 00070ED4 88 03 00 04 */ lbz r0, 0x4(r3)
|
|
/* 80075098 00070ED8 28 00 00 09 */ cmplwi r0, 0x9
|
|
/* 8007509C 00070EDC 40 80 00 20 */ bge lbl_800750BC
|
|
/* 800750A0 00070EE0 3C 60 80 4D */ lis r3, gki_cb@ha
|
|
/* 800750A4 00070EE4 54 00 25 36 */ rlwinm r0, r0, 4, 20, 27
|
|
/* 800750A8 00070EE8 38 63 96 A8 */ addi r3, r3, gki_cb@l
|
|
/* 800750AC 00070EEC 3C 63 00 03 */ addis r3, r3, 0x3
|
|
/* 800750B0 00070EF0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800750B4 00070EF4 A0 63 89 E8 */ lhz r3, -0x7618(r3)
|
|
/* 800750B8 00070EF8 4E 80 00 20 */ blr
|
|
.global lbl_800750BC
|
|
lbl_800750BC:
|
|
/* 800750BC 00070EFC 38 60 00 00 */ li r3, 0x0
|
|
/* 800750C0 00070F00 4E 80 00 20 */ blr
|
|
/* 800750C4 00070F04 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800750C8 00070F08 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800750CC 00070F0C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GKI_send_msg
|
|
GKI_send_msg:
|
|
/* 800750D0 00070F10 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 800750D4 00070F14 7C 08 02 A6 */ mflr r0
|
|
/* 800750D8 00070F18 3C E0 80 4D */ lis r7, gki_cb@ha
|
|
/* 800750DC 00070F1C 3C C0 80 44 */ lis r6, "@749"@ha
|
|
/* 800750E0 00070F20 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800750E4 00070F24 28 03 00 08 */ cmplwi r3, 0x8
|
|
/* 800750E8 00070F28 38 E7 96 A8 */ addi r7, r7, gki_cb@l
|
|
/* 800750EC 00070F2C 38 C6 A8 68 */ addi r6, r6, "@749"@l
|
|
/* 800750F0 00070F30 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 800750F4 00070F34 7C BF 2B 78 */ mr r31, r5
|
|
/* 800750F8 00070F38 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 800750FC 00070F3C 3B C7 00 54 */ addi r30, r7, 0x54
|
|
/* 80075100 00070F40 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80075104 00070F44 7C 9D 23 78 */ mr r29, r4
|
|
/* 80075108 00070F48 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 8007510C 00070F4C 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80075110 00070F50 40 80 00 20 */ bge lbl_80075130
|
|
/* 80075114 00070F54 28 04 00 04 */ cmplwi r4, 0x4
|
|
/* 80075118 00070F58 40 80 00 18 */ bge lbl_80075130
|
|
/* 8007511C 00070F5C 3C 1E 00 03 */ addis r0, r30, 0x3
|
|
/* 80075120 00070F60 7C 60 1A 14 */ add r3, r0, r3
|
|
/* 80075124 00070F64 88 03 87 AC */ lbz r0, -0x7854(r3)
|
|
/* 80075128 00070F68 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8007512C 00070F6C 40 82 00 24 */ bne lbl_80075150
|
|
.global lbl_80075130
|
|
lbl_80075130:
|
|
/* 80075130 00070F70 3C 60 00 01 */ lis r3, 0x1
|
|
/* 80075134 00070F74 38 86 00 68 */ addi r4, r6, 0x68
|
|
/* 80075138 00070F78 38 03 FF FB */ addi r0, r3, -0x5
|
|
/* 8007513C 00070F7C 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80075140 00070F80 4B FA F3 61 */ bl DefaultSwitchThreadCallback
|
|
/* 80075144 00070F84 7F E3 FB 78 */ mr r3, r31
|
|
/* 80075148 00070F88 4B FF FD C9 */ bl GKI_freebuf
|
|
/* 8007514C 00070F8C 48 00 01 20 */ b lbl_8007526C
|
|
.global lbl_80075150
|
|
lbl_80075150:
|
|
/* 80075150 00070F90 3B E5 FF F8 */ addi r31, r5, -0x8
|
|
/* 80075154 00070F94 57 E0 07 FF */ clrlwi. r0, r31, 31
|
|
/* 80075158 00070F98 41 82 00 0C */ beq lbl_80075164
|
|
/* 8007515C 00070F9C 38 00 00 00 */ li r0, 0x0
|
|
/* 80075160 00070FA0 48 00 00 28 */ b lbl_80075188
|
|
.global lbl_80075164
|
|
lbl_80075164:
|
|
/* 80075164 00070FA4 88 1F 00 04 */ lbz r0, 0x4(r31)
|
|
/* 80075168 00070FA8 28 00 00 09 */ cmplwi r0, 0x9
|
|
/* 8007516C 00070FAC 40 80 00 18 */ bge lbl_80075184
|
|
/* 80075170 00070FB0 3C 67 00 03 */ addis r3, r7, 0x3
|
|
/* 80075174 00070FB4 54 00 25 36 */ rlwinm r0, r0, 4, 20, 27
|
|
/* 80075178 00070FB8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8007517C 00070FBC A0 03 89 E8 */ lhz r0, -0x7618(r3)
|
|
/* 80075180 00070FC0 48 00 00 08 */ b lbl_80075188
|
|
.global lbl_80075184
|
|
lbl_80075184:
|
|
/* 80075184 00070FC4 38 00 00 00 */ li r0, 0x0
|
|
.global lbl_80075188
|
|
lbl_80075188:
|
|
/* 80075188 00070FC8 7C 85 02 14 */ add r4, r5, r0
|
|
/* 8007518C 00070FCC 54 80 07 FF */ clrlwi. r0, r4, 31
|
|
/* 80075190 00070FD0 41 82 00 0C */ beq lbl_8007519C
|
|
/* 80075194 00070FD4 38 00 00 01 */ li r0, 0x1
|
|
/* 80075198 00070FD8 48 00 00 20 */ b lbl_800751B8
|
|
.global lbl_8007519C
|
|
lbl_8007519C:
|
|
/* 8007519C 00070FDC 3C 60 DD BB */ lis r3, 0xDDBADDBA@ha
|
|
/* 800751A0 00070FE0 80 84 00 00 */ lwz r4, 0x0(r4)
|
|
/* 800751A4 00070FE4 38 03 DD BA */ addi r0, r3, 0xDDBADDBA@l
|
|
/* 800751A8 00070FE8 7C 64 00 50 */ subf r3, r4, r0
|
|
/* 800751AC 00070FEC 7C 00 20 50 */ subf r0, r0, r4
|
|
/* 800751B0 00070FF0 7C 60 03 78 */ or r0, r3, r0
|
|
/* 800751B4 00070FF4 54 00 0F FE */ srwi r0, r0, 31
|
|
.global lbl_800751B8
|
|
lbl_800751B8:
|
|
/* 800751B8 00070FF8 54 00 06 3F */ clrlwi. r0, r0, 24
|
|
/* 800751BC 00070FFC 41 82 00 1C */ beq lbl_800751D8
|
|
/* 800751C0 00071000 3C 60 00 01 */ lis r3, 0x1
|
|
/* 800751C4 00071004 38 86 00 80 */ addi r4, r6, 0x80
|
|
/* 800751C8 00071008 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 800751CC 0007100C 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 800751D0 00071010 4B FA F2 D1 */ bl DefaultSwitchThreadCallback
|
|
/* 800751D4 00071014 48 00 00 98 */ b lbl_8007526C
|
|
.global lbl_800751D8
|
|
lbl_800751D8:
|
|
/* 800751D8 00071018 88 1F 00 06 */ lbz r0, 0x6(r31)
|
|
/* 800751DC 0007101C 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 800751E0 00071020 41 82 00 1C */ beq lbl_800751FC
|
|
/* 800751E4 00071024 3C 60 00 01 */ lis r3, 0x1
|
|
/* 800751E8 00071028 38 86 00 98 */ addi r4, r6, 0x98
|
|
/* 800751EC 0007102C 38 03 FF FA */ addi r0, r3, -0x6
|
|
/* 800751F0 00071030 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 800751F4 00071034 4B FA F2 AD */ bl DefaultSwitchThreadCallback
|
|
/* 800751F8 00071038 48 00 00 74 */ b lbl_8007526C
|
|
.global lbl_800751FC
|
|
lbl_800751FC:
|
|
/* 800751FC 0007103C 48 00 11 E5 */ bl GKI_disable
|
|
/* 80075200 00071040 57 84 25 36 */ rlwinm r4, r28, 4, 20, 27
|
|
/* 80075204 00071044 3C 1E 00 03 */ addis r0, r30, 0x3
|
|
/* 80075208 00071048 57 A5 15 BA */ rlwinm r5, r29, 2, 22, 29
|
|
/* 8007520C 0007104C 7C 00 22 14 */ add r0, r0, r4
|
|
/* 80075210 00071050 7C 60 2A 14 */ add r3, r0, r5
|
|
/* 80075214 00071054 80 03 88 8C */ lwz r0, -0x7774(r3)
|
|
/* 80075218 00071058 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8007521C 0007105C 41 82 00 10 */ beq lbl_8007522C
|
|
/* 80075220 00071060 80 63 89 0C */ lwz r3, -0x76f4(r3)
|
|
/* 80075224 00071064 93 E3 00 00 */ stw r31, 0x0(r3)
|
|
/* 80075228 00071068 48 00 00 08 */ b lbl_80075230
|
|
.global lbl_8007522C
|
|
lbl_8007522C:
|
|
/* 8007522C 0007106C 93 E3 88 8C */ stw r31, -0x7774(r3)
|
|
.global lbl_80075230
|
|
lbl_80075230:
|
|
/* 80075230 00071070 3C 1E 00 03 */ addis r0, r30, 0x3
|
|
/* 80075234 00071074 38 60 00 00 */ li r3, 0x0
|
|
/* 80075238 00071078 7C 80 22 14 */ add r4, r0, r4
|
|
/* 8007523C 0007107C 7C 84 2A 14 */ add r4, r4, r5
|
|
/* 80075240 00071080 38 00 00 02 */ li r0, 0x2
|
|
/* 80075244 00071084 93 E4 89 0C */ stw r31, -0x76f4(r4)
|
|
/* 80075248 00071088 90 7F 00 00 */ stw r3, 0x0(r31)
|
|
/* 8007524C 0007108C 98 1F 00 06 */ stb r0, 0x6(r31)
|
|
/* 80075250 00071090 9B 9F 00 05 */ stb r28, 0x5(r31)
|
|
/* 80075254 00071094 48 00 11 5D */ bl GKI_enable
|
|
/* 80075258 00071098 38 00 00 01 */ li r0, 0x1
|
|
/* 8007525C 0007109C 7F 83 E3 78 */ mr r3, r28
|
|
/* 80075260 000710A0 7C 00 E8 30 */ slw r0, r0, r29
|
|
/* 80075264 000710A4 54 04 04 3E */ clrlwi r4, r0, 16
|
|
/* 80075268 000710A8 48 00 10 99 */ bl GKI_send_event
|
|
.global lbl_8007526C
|
|
lbl_8007526C:
|
|
/* 8007526C 000710AC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80075270 000710B0 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80075274 000710B4 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80075278 000710B8 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8007527C 000710BC 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80075280 000710C0 7C 08 03 A6 */ mtlr r0
|
|
/* 80075284 000710C4 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80075288 000710C8 4E 80 00 20 */ blr
|
|
/* 8007528C 000710CC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GKI_read_mbox
|
|
GKI_read_mbox:
|
|
/* 80075290 000710D0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80075294 000710D4 7C 08 02 A6 */ mflr r0
|
|
/* 80075298 000710D8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8007529C 000710DC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 800752A0 000710E0 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 800752A4 000710E4 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 800752A8 000710E8 7C 7D 1B 78 */ mr r29, r3
|
|
/* 800752AC 000710EC 48 0A CA 25 */ bl GetType__Q44nw4r2ut6detail11ResFontBaseCFv
|
|
/* 800752B0 000710F0 54 60 06 3E */ clrlwi r0, r3, 24
|
|
/* 800752B4 000710F4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 800752B8 000710F8 28 00 00 08 */ cmplwi r0, 0x8
|
|
/* 800752BC 000710FC 3B C0 00 00 */ li r30, 0x0
|
|
/* 800752C0 00071100 40 80 00 0C */ bge lbl_800752CC
|
|
/* 800752C4 00071104 28 1D 00 04 */ cmplwi r29, 0x4
|
|
/* 800752C8 00071108 41 80 00 0C */ blt lbl_800752D4
|
|
.global lbl_800752CC
|
|
lbl_800752CC:
|
|
/* 800752CC 0007110C 38 60 00 00 */ li r3, 0x0
|
|
/* 800752D0 00071110 48 00 00 54 */ b lbl_80075324
|
|
.global lbl_800752D4
|
|
lbl_800752D4:
|
|
/* 800752D4 00071114 48 00 11 0D */ bl GKI_disable
|
|
/* 800752D8 00071118 3C 60 80 4D */ lis r3, gki_cb@ha
|
|
/* 800752DC 0007111C 57 E4 25 36 */ rlwinm r4, r31, 4, 20, 27
|
|
/* 800752E0 00071120 38 63 96 A8 */ addi r3, r3, gki_cb@l
|
|
/* 800752E4 00071124 57 A5 15 BA */ rlwinm r5, r29, 2, 22, 29
|
|
/* 800752E8 00071128 3C 03 00 03 */ addis r0, r3, 0x3
|
|
/* 800752EC 0007112C 7C 60 22 14 */ add r3, r0, r4
|
|
/* 800752F0 00071130 38 C3 88 E0 */ addi r6, r3, -0x7720
|
|
/* 800752F4 00071134 7C 86 28 2E */ lwzx r4, r6, r5
|
|
/* 800752F8 00071138 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 800752FC 0007113C 41 82 00 20 */ beq lbl_8007531C
|
|
/* 80075300 00071140 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
/* 80075304 00071144 38 60 00 00 */ li r3, 0x0
|
|
/* 80075308 00071148 7C 06 29 2E */ stwx r0, r6, r5
|
|
/* 8007530C 0007114C 38 00 00 01 */ li r0, 0x1
|
|
/* 80075310 00071150 3B C4 00 08 */ addi r30, r4, 0x8
|
|
/* 80075314 00071154 90 64 00 00 */ stw r3, 0x0(r4)
|
|
/* 80075318 00071158 98 04 00 06 */ stb r0, 0x6(r4)
|
|
.global lbl_8007531C
|
|
lbl_8007531C:
|
|
/* 8007531C 0007115C 48 00 10 95 */ bl GKI_enable
|
|
/* 80075320 00071160 7F C3 F3 78 */ mr r3, r30
|
|
.global lbl_80075324
|
|
lbl_80075324:
|
|
/* 80075324 00071164 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80075328 00071168 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8007532C 0007116C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80075330 00071170 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80075334 00071174 7C 08 03 A6 */ mtlr r0
|
|
/* 80075338 00071178 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8007533C 0007117C 4E 80 00 20 */ blr
|
|
.global GKI_enqueue
|
|
GKI_enqueue:
|
|
/* 80075340 00071180 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80075344 00071184 7C 08 02 A6 */ mflr r0
|
|
/* 80075348 00071188 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8007534C 0007118C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80075350 00071190 3B E4 FF F8 */ addi r31, r4, -0x8
|
|
/* 80075354 00071194 57 E0 07 FF */ clrlwi. r0, r31, 31
|
|
/* 80075358 00071198 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8007535C 0007119C 7C 9E 23 78 */ mr r30, r4
|
|
/* 80075360 000711A0 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80075364 000711A4 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80075368 000711A8 41 82 00 0C */ beq lbl_80075374
|
|
/* 8007536C 000711AC 38 00 00 00 */ li r0, 0x0
|
|
/* 80075370 000711B0 48 00 00 30 */ b lbl_800753A0
|
|
.global lbl_80075374
|
|
lbl_80075374:
|
|
/* 80075374 000711B4 88 1F 00 04 */ lbz r0, 0x4(r31)
|
|
/* 80075378 000711B8 28 00 00 09 */ cmplwi r0, 0x9
|
|
/* 8007537C 000711BC 40 80 00 20 */ bge lbl_8007539C
|
|
/* 80075380 000711C0 3C 60 80 4D */ lis r3, gki_cb@ha
|
|
/* 80075384 000711C4 54 00 25 36 */ rlwinm r0, r0, 4, 20, 27
|
|
/* 80075388 000711C8 38 63 96 A8 */ addi r3, r3, gki_cb@l
|
|
/* 8007538C 000711CC 3C 63 00 03 */ addis r3, r3, 0x3
|
|
/* 80075390 000711D0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80075394 000711D4 A0 03 89 E8 */ lhz r0, -0x7618(r3)
|
|
/* 80075398 000711D8 48 00 00 08 */ b lbl_800753A0
|
|
.global lbl_8007539C
|
|
lbl_8007539C:
|
|
/* 8007539C 000711DC 38 00 00 00 */ li r0, 0x0
|
|
.global lbl_800753A0
|
|
lbl_800753A0:
|
|
/* 800753A0 000711E0 7C 84 02 14 */ add r4, r4, r0
|
|
/* 800753A4 000711E4 54 80 07 FF */ clrlwi. r0, r4, 31
|
|
/* 800753A8 000711E8 41 82 00 0C */ beq lbl_800753B4
|
|
/* 800753AC 000711EC 38 00 00 01 */ li r0, 0x1
|
|
/* 800753B0 000711F0 48 00 00 20 */ b lbl_800753D0
|
|
.global lbl_800753B4
|
|
lbl_800753B4:
|
|
/* 800753B4 000711F4 3C 60 DD BB */ lis r3, 0xDDBADDBA@ha
|
|
/* 800753B8 000711F8 80 84 00 00 */ lwz r4, 0x0(r4)
|
|
/* 800753BC 000711FC 38 03 DD BA */ addi r0, r3, 0xDDBADDBA@l
|
|
/* 800753C0 00071200 7C 64 00 50 */ subf r3, r4, r0
|
|
/* 800753C4 00071204 7C 00 20 50 */ subf r0, r0, r4
|
|
/* 800753C8 00071208 7C 60 03 78 */ or r0, r3, r0
|
|
/* 800753CC 0007120C 54 00 0F FE */ srwi r0, r0, 31
|
|
.global lbl_800753D0
|
|
lbl_800753D0:
|
|
/* 800753D0 00071210 54 00 06 3F */ clrlwi. r0, r0, 24
|
|
/* 800753D4 00071214 41 82 00 20 */ beq lbl_800753F4
|
|
/* 800753D8 00071218 3C 60 00 01 */ lis r3, 0x1
|
|
/* 800753DC 0007121C 3C 80 80 44 */ lis r4, "@880_8043A918"@ha
|
|
/* 800753E0 00071220 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 800753E4 00071224 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 800753E8 00071228 38 84 A9 18 */ addi r4, r4, "@880_8043A918"@l
|
|
/* 800753EC 0007122C 4B FA F0 B5 */ bl DefaultSwitchThreadCallback
|
|
/* 800753F0 00071230 48 00 00 70 */ b lbl_80075460
|
|
.global lbl_800753F4
|
|
lbl_800753F4:
|
|
/* 800753F4 00071234 88 1F 00 06 */ lbz r0, 0x6(r31)
|
|
/* 800753F8 00071238 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 800753FC 0007123C 41 82 00 20 */ beq lbl_8007541C
|
|
/* 80075400 00071240 3C 60 00 01 */ lis r3, 0x1
|
|
/* 80075404 00071244 3C 80 80 44 */ lis r4, "@881"@ha
|
|
/* 80075408 00071248 38 03 FF F9 */ addi r0, r3, -0x7
|
|
/* 8007540C 0007124C 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80075410 00071250 38 84 A9 34 */ addi r4, r4, "@881"@l
|
|
/* 80075414 00071254 4B FA F0 8D */ bl DefaultSwitchThreadCallback
|
|
/* 80075418 00071258 48 00 00 48 */ b lbl_80075460
|
|
.global lbl_8007541C
|
|
lbl_8007541C:
|
|
/* 8007541C 0007125C 48 00 0F C5 */ bl GKI_disable
|
|
/* 80075420 00071260 80 1D 00 00 */ lwz r0, 0x0(r29)
|
|
/* 80075424 00071264 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80075428 00071268 41 82 00 10 */ beq lbl_80075438
|
|
/* 8007542C 0007126C 80 7D 00 04 */ lwz r3, 0x4(r29)
|
|
/* 80075430 00071270 93 E3 FF F8 */ stw r31, -0x8(r3)
|
|
/* 80075434 00071274 48 00 00 08 */ b lbl_8007543C
|
|
.global lbl_80075438
|
|
lbl_80075438:
|
|
/* 80075438 00071278 93 DD 00 00 */ stw r30, 0x0(r29)
|
|
.global lbl_8007543C
|
|
lbl_8007543C:
|
|
/* 8007543C 0007127C A0 9D 00 08 */ lhz r4, 0x8(r29)
|
|
/* 80075440 00071280 38 60 00 00 */ li r3, 0x0
|
|
/* 80075444 00071284 93 DD 00 04 */ stw r30, 0x4(r29)
|
|
/* 80075448 00071288 38 00 00 02 */ li r0, 0x2
|
|
/* 8007544C 0007128C 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 80075450 00071290 B0 9D 00 08 */ sth r4, 0x8(r29)
|
|
/* 80075454 00071294 90 7F 00 00 */ stw r3, 0x0(r31)
|
|
/* 80075458 00071298 98 1F 00 06 */ stb r0, 0x6(r31)
|
|
/* 8007545C 0007129C 48 00 0F 55 */ bl GKI_enable
|
|
.global lbl_80075460
|
|
lbl_80075460:
|
|
/* 80075460 000712A0 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80075464 000712A4 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80075468 000712A8 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8007546C 000712AC 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80075470 000712B0 7C 08 03 A6 */ mtlr r0
|
|
/* 80075474 000712B4 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80075478 000712B8 4E 80 00 20 */ blr
|
|
/* 8007547C 000712BC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GKI_enqueue_head
|
|
GKI_enqueue_head:
|
|
/* 80075480 000712C0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80075484 000712C4 7C 08 02 A6 */ mflr r0
|
|
/* 80075488 000712C8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8007548C 000712CC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80075490 000712D0 3B E4 FF F8 */ addi r31, r4, -0x8
|
|
/* 80075494 000712D4 57 E0 07 FF */ clrlwi. r0, r31, 31
|
|
/* 80075498 000712D8 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8007549C 000712DC 7C 9E 23 78 */ mr r30, r4
|
|
/* 800754A0 000712E0 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 800754A4 000712E4 7C 7D 1B 78 */ mr r29, r3
|
|
/* 800754A8 000712E8 41 82 00 0C */ beq lbl_800754B4
|
|
/* 800754AC 000712EC 38 00 00 00 */ li r0, 0x0
|
|
/* 800754B0 000712F0 48 00 00 30 */ b lbl_800754E0
|
|
.global lbl_800754B4
|
|
lbl_800754B4:
|
|
/* 800754B4 000712F4 88 1F 00 04 */ lbz r0, 0x4(r31)
|
|
/* 800754B8 000712F8 28 00 00 09 */ cmplwi r0, 0x9
|
|
/* 800754BC 000712FC 40 80 00 20 */ bge lbl_800754DC
|
|
/* 800754C0 00071300 3C 60 80 4D */ lis r3, gki_cb@ha
|
|
/* 800754C4 00071304 54 00 25 36 */ rlwinm r0, r0, 4, 20, 27
|
|
/* 800754C8 00071308 38 63 96 A8 */ addi r3, r3, gki_cb@l
|
|
/* 800754CC 0007130C 3C 63 00 03 */ addis r3, r3, 0x3
|
|
/* 800754D0 00071310 7C 63 02 14 */ add r3, r3, r0
|
|
/* 800754D4 00071314 A0 03 89 E8 */ lhz r0, -0x7618(r3)
|
|
/* 800754D8 00071318 48 00 00 08 */ b lbl_800754E0
|
|
.global lbl_800754DC
|
|
lbl_800754DC:
|
|
/* 800754DC 0007131C 38 00 00 00 */ li r0, 0x0
|
|
.global lbl_800754E0
|
|
lbl_800754E0:
|
|
/* 800754E0 00071320 7C 84 02 14 */ add r4, r4, r0
|
|
/* 800754E4 00071324 54 80 07 FF */ clrlwi. r0, r4, 31
|
|
/* 800754E8 00071328 41 82 00 0C */ beq lbl_800754F4
|
|
/* 800754EC 0007132C 38 00 00 01 */ li r0, 0x1
|
|
/* 800754F0 00071330 48 00 00 20 */ b lbl_80075510
|
|
.global lbl_800754F4
|
|
lbl_800754F4:
|
|
/* 800754F4 00071334 3C 60 DD BB */ lis r3, 0xDDBADDBA@ha
|
|
/* 800754F8 00071338 80 84 00 00 */ lwz r4, 0x0(r4)
|
|
/* 800754FC 0007133C 38 03 DD BA */ addi r0, r3, 0xDDBADDBA@l
|
|
/* 80075500 00071340 7C 64 00 50 */ subf r3, r4, r0
|
|
/* 80075504 00071344 7C 00 20 50 */ subf r0, r0, r4
|
|
/* 80075508 00071348 7C 60 03 78 */ or r0, r3, r0
|
|
/* 8007550C 0007134C 54 00 0F FE */ srwi r0, r0, 31
|
|
.global lbl_80075510
|
|
lbl_80075510:
|
|
/* 80075510 00071350 54 00 06 3F */ clrlwi. r0, r0, 24
|
|
/* 80075514 00071354 41 82 00 20 */ beq lbl_80075534
|
|
/* 80075518 00071358 3C 60 00 01 */ lis r3, 0x1
|
|
/* 8007551C 0007135C 3C 80 80 44 */ lis r4, "@880_8043A918"@ha
|
|
/* 80075520 00071360 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80075524 00071364 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80075528 00071368 38 84 A9 18 */ addi r4, r4, "@880_8043A918"@l
|
|
/* 8007552C 0007136C 4B FA EF 75 */ bl DefaultSwitchThreadCallback
|
|
/* 80075530 00071370 48 00 00 74 */ b lbl_800755A4
|
|
.global lbl_80075534
|
|
lbl_80075534:
|
|
/* 80075534 00071374 88 1F 00 06 */ lbz r0, 0x6(r31)
|
|
/* 80075538 00071378 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 8007553C 0007137C 41 82 00 20 */ beq lbl_8007555C
|
|
/* 80075540 00071380 3C 60 00 01 */ lis r3, 0x1
|
|
/* 80075544 00071384 3C 80 80 44 */ lis r4, "@901"@ha
|
|
/* 80075548 00071388 38 03 FF F9 */ addi r0, r3, -0x7
|
|
/* 8007554C 0007138C 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80075550 00071390 38 84 A9 54 */ addi r4, r4, "@901"@l
|
|
/* 80075554 00071394 4B FA EF 4D */ bl DefaultSwitchThreadCallback
|
|
/* 80075558 00071398 48 00 00 4C */ b lbl_800755A4
|
|
.global lbl_8007555C
|
|
lbl_8007555C:
|
|
/* 8007555C 0007139C 48 00 0E 85 */ bl GKI_disable
|
|
/* 80075560 000713A0 80 7D 00 00 */ lwz r3, 0x0(r29)
|
|
/* 80075564 000713A4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80075568 000713A8 41 82 00 14 */ beq lbl_8007557C
|
|
/* 8007556C 000713AC 38 03 FF F8 */ addi r0, r3, -0x8
|
|
/* 80075570 000713B0 90 1F 00 00 */ stw r0, 0x0(r31)
|
|
/* 80075574 000713B4 93 DD 00 00 */ stw r30, 0x0(r29)
|
|
/* 80075578 000713B8 48 00 00 14 */ b lbl_8007558C
|
|
.global lbl_8007557C
|
|
lbl_8007557C:
|
|
/* 8007557C 000713BC 93 DD 00 00 */ stw r30, 0x0(r29)
|
|
/* 80075580 000713C0 38 00 00 00 */ li r0, 0x0
|
|
/* 80075584 000713C4 93 DD 00 04 */ stw r30, 0x4(r29)
|
|
/* 80075588 000713C8 90 1F 00 00 */ stw r0, 0x0(r31)
|
|
.global lbl_8007558C
|
|
lbl_8007558C:
|
|
/* 8007558C 000713CC A0 7D 00 08 */ lhz r3, 0x8(r29)
|
|
/* 80075590 000713D0 38 00 00 02 */ li r0, 0x2
|
|
/* 80075594 000713D4 38 63 00 01 */ addi r3, r3, 0x1
|
|
/* 80075598 000713D8 B0 7D 00 08 */ sth r3, 0x8(r29)
|
|
/* 8007559C 000713DC 98 1F 00 06 */ stb r0, 0x6(r31)
|
|
/* 800755A0 000713E0 48 00 0E 11 */ bl GKI_enable
|
|
.global lbl_800755A4
|
|
lbl_800755A4:
|
|
/* 800755A4 000713E4 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800755A8 000713E8 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 800755AC 000713EC 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 800755B0 000713F0 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 800755B4 000713F4 7C 08 03 A6 */ mtlr r0
|
|
/* 800755B8 000713F8 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800755BC 000713FC 4E 80 00 20 */ blr
|
|
.global GKI_dequeue
|
|
GKI_dequeue:
|
|
/* 800755C0 00071400 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 800755C4 00071404 7C 08 02 A6 */ mflr r0
|
|
/* 800755C8 00071408 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 800755CC 0007140C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 800755D0 00071410 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 800755D4 00071414 7C 7E 1B 78 */ mr r30, r3
|
|
/* 800755D8 00071418 48 00 0E 09 */ bl GKI_disable
|
|
/* 800755DC 0007141C 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 800755E0 00071420 41 82 00 10 */ beq lbl_800755F0
|
|
/* 800755E4 00071424 A0 1E 00 08 */ lhz r0, 0x8(r30)
|
|
/* 800755E8 00071428 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800755EC 0007142C 40 82 00 10 */ bne lbl_800755FC
|
|
.global lbl_800755F0
|
|
lbl_800755F0:
|
|
/* 800755F0 00071430 48 00 0D C1 */ bl GKI_enable
|
|
/* 800755F4 00071434 38 60 00 00 */ li r3, 0x0
|
|
/* 800755F8 00071438 48 00 00 50 */ b lbl_80075648
|
|
.global lbl_800755FC
|
|
lbl_800755FC:
|
|
/* 800755FC 0007143C 83 FE 00 00 */ lwz r31, 0x0(r30)
|
|
/* 80075600 00071440 80 7F FF F8 */ lwz r3, -0x8(r31)
|
|
/* 80075604 00071444 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80075608 00071448 41 82 00 10 */ beq lbl_80075618
|
|
/* 8007560C 0007144C 38 03 00 08 */ addi r0, r3, 0x8
|
|
/* 80075610 00071450 90 1E 00 00 */ stw r0, 0x0(r30)
|
|
/* 80075614 00071454 48 00 00 10 */ b lbl_80075624
|
|
.global lbl_80075618
|
|
lbl_80075618:
|
|
/* 80075618 00071458 38 00 00 00 */ li r0, 0x0
|
|
/* 8007561C 0007145C 90 1E 00 00 */ stw r0, 0x0(r30)
|
|
/* 80075620 00071460 90 1E 00 04 */ stw r0, 0x4(r30)
|
|
.global lbl_80075624
|
|
lbl_80075624:
|
|
/* 80075624 00071464 A0 9E 00 08 */ lhz r4, 0x8(r30)
|
|
/* 80075628 00071468 38 60 00 00 */ li r3, 0x0
|
|
/* 8007562C 0007146C 38 00 00 01 */ li r0, 0x1
|
|
/* 80075630 00071470 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 80075634 00071474 B0 9E 00 08 */ sth r4, 0x8(r30)
|
|
/* 80075638 00071478 90 7F FF F8 */ stw r3, -0x8(r31)
|
|
/* 8007563C 0007147C 98 1F FF FE */ stb r0, -0x2(r31)
|
|
/* 80075640 00071480 48 00 0D 71 */ bl GKI_enable
|
|
/* 80075644 00071484 7F E3 FB 78 */ mr r3, r31
|
|
.global lbl_80075648
|
|
lbl_80075648:
|
|
/* 80075648 00071488 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8007564C 0007148C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80075650 00071490 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80075654 00071494 7C 08 03 A6 */ mtlr r0
|
|
/* 80075658 00071498 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8007565C 0007149C 4E 80 00 20 */ blr
|
|
.global GKI_remove_from_queue
|
|
GKI_remove_from_queue:
|
|
/* 80075660 000714A0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80075664 000714A4 7C 08 02 A6 */ mflr r0
|
|
/* 80075668 000714A8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8007566C 000714AC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80075670 000714B0 7C 9F 23 78 */ mr r31, r4
|
|
/* 80075674 000714B4 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80075678 000714B8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8007567C 000714BC 48 00 0D 65 */ bl GKI_disable
|
|
/* 80075680 000714C0 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80075684 000714C4 7C 1F 18 40 */ cmplw r31, r3
|
|
/* 80075688 000714C8 40 82 00 14 */ bne lbl_8007569C
|
|
/* 8007568C 000714CC 48 00 0D 25 */ bl GKI_enable
|
|
/* 80075690 000714D0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80075694 000714D4 4B FF FF 2D */ bl GKI_dequeue
|
|
/* 80075698 000714D8 48 00 00 74 */ b lbl_8007570C
|
|
.global lbl_8007569C
|
|
lbl_8007569C:
|
|
/* 8007569C 000714DC 38 BF FF F8 */ addi r5, r31, -0x8
|
|
/* 800756A0 000714E0 38 63 FF F8 */ addi r3, r3, -0x8
|
|
/* 800756A4 000714E4 48 00 00 58 */ b lbl_800756FC
|
|
.global lbl_800756A8
|
|
lbl_800756A8:
|
|
/* 800756A8 000714E8 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
/* 800756AC 000714EC 7C 00 28 40 */ cmplw r0, r5
|
|
/* 800756B0 000714F0 40 82 00 48 */ bne lbl_800756F8
|
|
/* 800756B4 000714F4 80 05 00 00 */ lwz r0, 0x0(r5)
|
|
/* 800756B8 000714F8 90 03 00 00 */ stw r0, 0x0(r3)
|
|
/* 800756BC 000714FC 80 1E 00 04 */ lwz r0, 0x4(r30)
|
|
/* 800756C0 00071500 7C 1F 00 40 */ cmplw r31, r0
|
|
/* 800756C4 00071504 40 82 00 0C */ bne lbl_800756D0
|
|
/* 800756C8 00071508 38 03 00 08 */ addi r0, r3, 0x8
|
|
/* 800756CC 0007150C 90 1E 00 04 */ stw r0, 0x4(r30)
|
|
.global lbl_800756D0
|
|
lbl_800756D0:
|
|
/* 800756D0 00071510 A0 9E 00 08 */ lhz r4, 0x8(r30)
|
|
/* 800756D4 00071514 38 60 00 00 */ li r3, 0x0
|
|
/* 800756D8 00071518 38 00 00 01 */ li r0, 0x1
|
|
/* 800756DC 0007151C 38 84 FF FF */ addi r4, r4, -0x1
|
|
/* 800756E0 00071520 B0 9E 00 08 */ sth r4, 0x8(r30)
|
|
/* 800756E4 00071524 90 65 00 00 */ stw r3, 0x0(r5)
|
|
/* 800756E8 00071528 98 05 00 06 */ stb r0, 0x6(r5)
|
|
/* 800756EC 0007152C 48 00 0C C5 */ bl GKI_enable
|
|
/* 800756F0 00071530 7F E3 FB 78 */ mr r3, r31
|
|
/* 800756F4 00071534 48 00 00 18 */ b lbl_8007570C
|
|
.global lbl_800756F8
|
|
lbl_800756F8:
|
|
/* 800756F8 00071538 7C 03 03 78 */ mr r3, r0
|
|
.global lbl_800756FC
|
|
lbl_800756FC:
|
|
/* 800756FC 0007153C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80075700 00071540 40 82 FF A8 */ bne lbl_800756A8
|
|
/* 80075704 00071544 48 00 0C AD */ bl GKI_enable
|
|
/* 80075708 00071548 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_8007570C
|
|
lbl_8007570C:
|
|
/* 8007570C 0007154C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80075710 00071550 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80075714 00071554 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80075718 00071558 7C 08 03 A6 */ mtlr r0
|
|
/* 8007571C 0007155C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80075720 00071560 4E 80 00 20 */ blr
|
|
/* 80075724 00071564 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80075728 00071568 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8007572C 0007156C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GKI_getfirst
|
|
GKI_getfirst:
|
|
/* 80075730 00071570 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
/* 80075734 00071574 4E 80 00 20 */ blr
|
|
/* 80075738 00071578 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8007573C 0007157C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GKI_getnext
|
|
GKI_getnext:
|
|
/* 80075740 00071580 80 63 FF F8 */ lwz r3, -0x8(r3)
|
|
/* 80075744 00071584 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80075748 00071588 41 82 00 0C */ beq lbl_80075754
|
|
/* 8007574C 0007158C 38 63 00 08 */ addi r3, r3, 0x8
|
|
/* 80075750 00071590 4E 80 00 20 */ blr
|
|
.global lbl_80075754
|
|
lbl_80075754:
|
|
/* 80075754 00071594 38 60 00 00 */ li r3, 0x0
|
|
/* 80075758 00071598 4E 80 00 20 */ blr
|
|
/* 8007575C 0007159C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GKI_queue_is_empty
|
|
GKI_queue_is_empty:
|
|
/* 80075760 000715A0 A0 03 00 08 */ lhz r0, 0x8(r3)
|
|
/* 80075764 000715A4 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 80075768 000715A8 54 03 DE 3E */ extrwi r3, r0, 8, 19
|
|
/* 8007576C 000715AC 4E 80 00 20 */ blr
|
|
.global GKI_create_pool
|
|
GKI_create_pool:
|
|
/* 80075770 000715B0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80075774 000715B4 7C 08 02 A6 */ mflr r0
|
|
/* 80075778 000715B8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8007577C 000715BC 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80075780 000715C0 4B F9 1B BD */ bl lbl_8000733C
|
|
/* 80075784 000715C4 3C E0 80 4D */ lis r7, gki_cb@ha
|
|
/* 80075788 000715C8 28 03 FF F3 */ cmplwi r3, 0xfff3
|
|
/* 8007578C 000715CC 38 E7 96 A8 */ addi r7, r7, gki_cb@l
|
|
/* 80075790 000715D0 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80075794 000715D4 7C 9C 23 78 */ mr r28, r4
|
|
/* 80075798 000715D8 7C BD 2B 78 */ mr r29, r5
|
|
/* 8007579C 000715DC 3B C7 00 54 */ addi r30, r7, 0x54
|
|
/* 800757A0 000715E0 40 81 00 0C */ ble lbl_800757AC
|
|
/* 800757A4 000715E4 38 60 00 FF */ li r3, 0xff
|
|
/* 800757A8 000715E8 48 00 02 F8 */ b lbl_80075AA0
|
|
.global lbl_800757AC
|
|
lbl_800757AC:
|
|
/* 800757AC 000715EC 38 00 00 03 */ li r0, 0x3
|
|
/* 800757B0 000715F0 3B E0 00 00 */ li r31, 0x0
|
|
/* 800757B4 000715F4 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_800757B8
|
|
lbl_800757B8:
|
|
/* 800757B8 000715F8 57 E5 15 BA */ rlwinm r5, r31, 2, 22, 29
|
|
/* 800757BC 000715FC 3C A5 00 03 */ addis r5, r5, 0x3
|
|
/* 800757C0 00071600 38 05 8A 1C */ addi r0, r5, -0x75e4
|
|
/* 800757C4 00071604 7C 1E 00 2E */ lwzx r0, r30, r0
|
|
/* 800757C8 00071608 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800757CC 0007160C 41 82 00 44 */ beq lbl_80075810
|
|
/* 800757D0 00071610 3B FF 00 01 */ addi r31, r31, 0x1
|
|
/* 800757D4 00071614 57 E5 15 BA */ rlwinm r5, r31, 2, 22, 29
|
|
/* 800757D8 00071618 3C A5 00 03 */ addis r5, r5, 0x3
|
|
/* 800757DC 0007161C 38 05 8A 1C */ addi r0, r5, -0x75e4
|
|
/* 800757E0 00071620 7C 1E 00 2E */ lwzx r0, r30, r0
|
|
/* 800757E4 00071624 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800757E8 00071628 41 82 00 28 */ beq lbl_80075810
|
|
/* 800757EC 0007162C 3B FF 00 01 */ addi r31, r31, 0x1
|
|
/* 800757F0 00071630 57 E5 15 BA */ rlwinm r5, r31, 2, 22, 29
|
|
/* 800757F4 00071634 3C A5 00 03 */ addis r5, r5, 0x3
|
|
/* 800757F8 00071638 38 05 8A 1C */ addi r0, r5, -0x75e4
|
|
/* 800757FC 0007163C 7C 1E 00 2E */ lwzx r0, r30, r0
|
|
/* 80075800 00071640 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80075804 00071644 41 82 00 0C */ beq lbl_80075810
|
|
/* 80075808 00071648 3B FF 00 01 */ addi r31, r31, 0x1
|
|
/* 8007580C 0007164C 42 00 FF AC */ bdnz lbl_800757B8
|
|
.global lbl_80075810
|
|
lbl_80075810:
|
|
/* 80075810 00071650 57 E0 06 3E */ clrlwi r0, r31, 24
|
|
/* 80075814 00071654 28 00 00 09 */ cmplwi r0, 0x9
|
|
/* 80075818 00071658 40 82 00 0C */ bne lbl_80075824
|
|
/* 8007581C 0007165C 38 60 00 FF */ li r3, 0xff
|
|
/* 80075820 00071660 48 00 02 80 */ b lbl_80075AA0
|
|
.global lbl_80075824
|
|
lbl_80075824:
|
|
/* 80075824 00071664 38 03 00 03 */ addi r0, r3, 0x3
|
|
/* 80075828 00071668 2C 06 00 00 */ cmpwi r6, 0x0
|
|
/* 8007582C 0007166C 54 03 00 3A */ clrrwi r3, r0, 2
|
|
/* 80075830 00071670 38 03 00 0C */ addi r0, r3, 0xc
|
|
/* 80075834 00071674 7C 60 21 D6 */ mullw r3, r0, r4
|
|
/* 80075838 00071678 40 82 00 0C */ bne lbl_80075844
|
|
/* 8007583C 0007167C 48 00 0B F5 */ bl GKI_os_malloc
|
|
/* 80075840 00071680 7C 66 1B 78 */ mr r6, r3
|
|
.global lbl_80075844
|
|
lbl_80075844:
|
|
/* 80075844 00071684 2C 06 00 00 */ cmpwi r6, 0x0
|
|
/* 80075848 00071688 41 82 02 54 */ beq lbl_80075A9C
|
|
/* 8007584C 0007168C 7F 64 DB 78 */ mr r4, r27
|
|
/* 80075850 00071690 7F 85 E3 78 */ mr r5, r28
|
|
/* 80075854 00071694 57 E3 06 3E */ clrlwi r3, r31, 24
|
|
/* 80075858 00071698 4B FF EF 39 */ bl gki_init_free_queue
|
|
/* 8007585C 0007169C 3C 60 80 4D */ lis r3, gki_cb@ha
|
|
/* 80075860 000716A0 57 E5 25 36 */ rlwinm r5, r31, 4, 20, 27
|
|
/* 80075864 000716A4 38 63 96 A8 */ addi r3, r3, gki_cb@l
|
|
/* 80075868 000716A8 38 80 00 00 */ li r4, 0x0
|
|
/* 8007586C 000716AC 38 63 00 54 */ addi r3, r3, 0x54
|
|
/* 80075870 000716B0 3C C5 00 03 */ addis r6, r5, 0x3
|
|
/* 80075874 000716B4 3C A3 00 03 */ addis r5, r3, 0x3
|
|
/* 80075878 000716B8 88 A5 8A 87 */ lbz r5, -0x7579(r5)
|
|
/* 8007587C 000716BC 38 06 89 94 */ addi r0, r6, -0x766c
|
|
/* 80075880 000716C0 7C E3 02 2E */ lhzx r7, r3, r0
|
|
/* 80075884 000716C4 7C A9 03 A6 */ mtctr r5
|
|
/* 80075888 000716C8 2C 05 00 00 */ cmpwi r5, 0x0
|
|
/* 8007588C 000716CC 40 81 00 30 */ ble lbl_800758BC
|
|
.global lbl_80075890
|
|
lbl_80075890:
|
|
/* 80075890 000716D0 3C C4 00 03 */ addis r6, r4, 0x3
|
|
/* 80075894 000716D4 38 06 8A 7E */ addi r0, r6, -0x7582
|
|
/* 80075898 000716D8 7C 03 00 AE */ lbzx r0, r3, r0
|
|
/* 8007589C 000716DC 54 06 20 36 */ slwi r6, r0, 4
|
|
/* 800758A0 000716E0 3C C6 00 03 */ addis r6, r6, 0x3
|
|
/* 800758A4 000716E4 38 06 89 94 */ addi r0, r6, -0x766c
|
|
/* 800758A8 000716E8 7C 03 02 2E */ lhzx r0, r3, r0
|
|
/* 800758AC 000716EC 7C 07 00 40 */ cmplw r7, r0
|
|
/* 800758B0 000716F0 40 81 00 0C */ ble lbl_800758BC
|
|
/* 800758B4 000716F4 38 84 00 01 */ addi r4, r4, 0x1
|
|
/* 800758B8 000716F8 42 00 FF D8 */ bdnz lbl_80075890
|
|
.global lbl_800758BC
|
|
lbl_800758BC:
|
|
/* 800758BC 000716FC 7C 05 20 00 */ cmpw r5, r4
|
|
/* 800758C0 00071700 40 81 01 64 */ ble lbl_80075A24
|
|
/* 800758C4 00071704 7C 04 28 50 */ subf r0, r4, r5
|
|
/* 800758C8 00071708 39 04 00 08 */ addi r8, r4, 0x8
|
|
/* 800758CC 0007170C 2C 00 00 08 */ cmpwi r0, 0x8
|
|
/* 800758D0 00071710 40 81 01 2C */ ble lbl_800759FC
|
|
/* 800758D4 00071714 3C C3 00 03 */ addis r6, r3, 0x3
|
|
/* 800758D8 00071718 39 20 00 00 */ li r9, 0x0
|
|
/* 800758DC 0007171C 88 06 8A 87 */ lbz r0, -0x7579(r6)
|
|
/* 800758E0 00071720 39 40 00 00 */ li r10, 0x0
|
|
/* 800758E4 00071724 39 60 00 00 */ li r11, 0x0
|
|
/* 800758E8 00071728 38 E0 00 00 */ li r7, 0x0
|
|
/* 800758EC 0007172C 7C 00 20 00 */ cmpw r0, r4
|
|
/* 800758F0 00071730 41 80 00 18 */ blt lbl_80075908
|
|
/* 800758F4 00071734 3C C0 80 00 */ lis r6, 0x80000001@ha
|
|
/* 800758F8 00071738 38 06 00 01 */ addi r0, r6, 0x80000001@l
|
|
/* 800758FC 0007173C 7C 04 00 00 */ cmpw r4, r0
|
|
/* 80075900 00071740 41 80 00 08 */ blt lbl_80075908
|
|
/* 80075904 00071744 38 E0 00 01 */ li r7, 0x1
|
|
.global lbl_80075908
|
|
lbl_80075908:
|
|
/* 80075908 00071748 2C 07 00 00 */ cmpwi r7, 0x0
|
|
/* 8007590C 0007174C 41 82 00 20 */ beq lbl_8007592C
|
|
/* 80075910 00071750 3C E3 00 03 */ addis r7, r3, 0x3
|
|
/* 80075914 00071754 3C C0 80 00 */ lis r6, 0x80000001@ha
|
|
/* 80075918 00071758 88 E7 8A 87 */ lbz r7, -0x7579(r7)
|
|
/* 8007591C 0007175C 38 06 00 01 */ addi r0, r6, 0x80000001@l
|
|
/* 80075920 00071760 7C 07 00 00 */ cmpw r7, r0
|
|
/* 80075924 00071764 41 80 00 08 */ blt lbl_8007592C
|
|
/* 80075928 00071768 39 60 00 01 */ li r11, 0x1
|
|
.global lbl_8007592C
|
|
lbl_8007592C:
|
|
/* 8007592C 0007176C 2C 0B 00 00 */ cmpwi r11, 0x0
|
|
/* 80075930 00071770 41 82 00 14 */ beq lbl_80075944
|
|
/* 80075934 00071774 3C 04 80 00 */ addis r0, r4, 0x8000
|
|
/* 80075938 00071778 28 00 00 00 */ cmplwi r0, 0x0
|
|
/* 8007593C 0007177C 41 82 00 08 */ beq lbl_80075944
|
|
/* 80075940 00071780 39 40 00 01 */ li r10, 0x1
|
|
.global lbl_80075944
|
|
lbl_80075944:
|
|
/* 80075944 00071784 2C 0A 00 00 */ cmpwi r10, 0x0
|
|
/* 80075948 00071788 41 82 00 44 */ beq lbl_8007598C
|
|
/* 8007594C 0007178C 3C C3 00 03 */ addis r6, r3, 0x3
|
|
/* 80075950 00071790 7C 04 00 D0 */ neg r0, r4
|
|
/* 80075954 00071794 89 46 8A 87 */ lbz r10, -0x7579(r6)
|
|
/* 80075958 00071798 54 00 00 00 */ clrrwi r0, r0, 31
|
|
/* 8007595C 0007179C 38 C0 00 01 */ li r6, 0x1
|
|
/* 80075960 000717A0 55 47 00 00 */ clrrwi r7, r10, 31
|
|
/* 80075964 000717A4 7C 07 00 00 */ cmpw r7, r0
|
|
/* 80075968 000717A8 40 82 00 18 */ bne lbl_80075980
|
|
/* 8007596C 000717AC 7C 04 50 50 */ subf r0, r4, r10
|
|
/* 80075970 000717B0 54 00 00 00 */ clrrwi r0, r0, 31
|
|
/* 80075974 000717B4 7C 07 00 00 */ cmpw r7, r0
|
|
/* 80075978 000717B8 41 82 00 08 */ beq lbl_80075980
|
|
/* 8007597C 000717BC 38 C0 00 00 */ li r6, 0x0
|
|
.global lbl_80075980
|
|
lbl_80075980:
|
|
/* 80075980 000717C0 2C 06 00 00 */ cmpwi r6, 0x0
|
|
/* 80075984 000717C4 41 82 00 08 */ beq lbl_8007598C
|
|
/* 80075988 000717C8 39 20 00 01 */ li r9, 0x1
|
|
.global lbl_8007598C
|
|
lbl_8007598C:
|
|
/* 8007598C 000717CC 2C 09 00 00 */ cmpwi r9, 0x0
|
|
/* 80075990 000717D0 41 82 00 6C */ beq lbl_800759FC
|
|
/* 80075994 000717D4 38 05 00 07 */ addi r0, r5, 0x7
|
|
/* 80075998 000717D8 7C 08 00 50 */ subf r0, r8, r0
|
|
/* 8007599C 000717DC 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 800759A0 000717E0 7C 09 03 A6 */ mtctr r0
|
|
/* 800759A4 000717E4 7C 05 40 00 */ cmpw r5, r8
|
|
/* 800759A8 000717E8 40 81 00 54 */ ble lbl_800759FC
|
|
.global lbl_800759AC
|
|
lbl_800759AC:
|
|
/* 800759AC 000717EC 7C C3 2A 14 */ add r6, r3, r5
|
|
/* 800759B0 000717F0 38 A5 FF F8 */ addi r5, r5, -0x8
|
|
/* 800759B4 000717F4 3C C6 00 03 */ addis r6, r6, 0x3
|
|
/* 800759B8 000717F8 88 06 8A 7D */ lbz r0, -0x7583(r6)
|
|
/* 800759BC 000717FC 98 06 8A 7E */ stb r0, -0x7582(r6)
|
|
/* 800759C0 00071800 88 06 8A 7C */ lbz r0, -0x7584(r6)
|
|
/* 800759C4 00071804 98 06 8A 7D */ stb r0, -0x7583(r6)
|
|
/* 800759C8 00071808 88 06 8A 7B */ lbz r0, -0x7585(r6)
|
|
/* 800759CC 0007180C 98 06 8A 7C */ stb r0, -0x7584(r6)
|
|
/* 800759D0 00071810 88 06 8A 7A */ lbz r0, -0x7586(r6)
|
|
/* 800759D4 00071814 98 06 8A 7B */ stb r0, -0x7585(r6)
|
|
/* 800759D8 00071818 88 06 8A 79 */ lbz r0, -0x7587(r6)
|
|
/* 800759DC 0007181C 98 06 8A 7A */ stb r0, -0x7586(r6)
|
|
/* 800759E0 00071820 88 06 8A 78 */ lbz r0, -0x7588(r6)
|
|
/* 800759E4 00071824 98 06 8A 79 */ stb r0, -0x7587(r6)
|
|
/* 800759E8 00071828 88 06 8A 77 */ lbz r0, -0x7589(r6)
|
|
/* 800759EC 0007182C 98 06 8A 78 */ stb r0, -0x7588(r6)
|
|
/* 800759F0 00071830 88 06 8A 76 */ lbz r0, -0x758a(r6)
|
|
/* 800759F4 00071834 98 06 8A 77 */ stb r0, -0x7589(r6)
|
|
/* 800759F8 00071838 42 00 FF B4 */ bdnz lbl_800759AC
|
|
.global lbl_800759FC
|
|
lbl_800759FC:
|
|
/* 800759FC 0007183C 7C 04 28 50 */ subf r0, r4, r5
|
|
/* 80075A00 00071840 7C 09 03 A6 */ mtctr r0
|
|
/* 80075A04 00071844 7C 05 20 00 */ cmpw r5, r4
|
|
/* 80075A08 00071848 40 81 00 1C */ ble lbl_80075A24
|
|
.global lbl_80075A0C
|
|
lbl_80075A0C:
|
|
/* 80075A0C 0007184C 7C C3 2A 14 */ add r6, r3, r5
|
|
/* 80075A10 00071850 38 A5 FF FF */ addi r5, r5, -0x1
|
|
/* 80075A14 00071854 3C C6 00 03 */ addis r6, r6, 0x3
|
|
/* 80075A18 00071858 88 06 8A 7D */ lbz r0, -0x7583(r6)
|
|
/* 80075A1C 0007185C 98 06 8A 7E */ stb r0, -0x7582(r6)
|
|
/* 80075A20 00071860 42 00 FF EC */ bdnz lbl_80075A0C
|
|
.global lbl_80075A24
|
|
lbl_80075A24:
|
|
/* 80075A24 00071864 3C 03 00 03 */ addis r0, r3, 0x3
|
|
/* 80075A28 00071868 57 E5 06 3E */ clrlwi r5, r31, 24
|
|
/* 80075A2C 0007186C 7C 80 22 14 */ add r4, r0, r4
|
|
/* 80075A30 00071870 3C 60 80 4D */ lis r3, gki_cb@ha
|
|
/* 80075A34 00071874 38 63 96 A8 */ addi r3, r3, gki_cb@l
|
|
/* 80075A38 00071878 28 05 00 09 */ cmplwi r5, 0x9
|
|
/* 80075A3C 0007187C 9B E4 8A 7E */ stb r31, -0x7582(r4)
|
|
/* 80075A40 00071880 38 63 00 54 */ addi r3, r3, 0x54
|
|
/* 80075A44 00071884 40 80 00 40 */ bge lbl_80075A84
|
|
/* 80075A48 00071888 28 1D 00 01 */ cmplwi r29, 0x1
|
|
/* 80075A4C 0007188C 40 82 00 20 */ bne lbl_80075A6C
|
|
/* 80075A50 00071890 3C 83 00 03 */ addis r4, r3, 0x3
|
|
/* 80075A54 00071894 38 00 00 01 */ li r0, 0x1
|
|
/* 80075A58 00071898 A0 64 8A 7C */ lhz r3, -0x7584(r4)
|
|
/* 80075A5C 0007189C 7C 00 28 30 */ slw r0, r0, r5
|
|
/* 80075A60 000718A0 7C 60 03 78 */ or r0, r3, r0
|
|
/* 80075A64 000718A4 B0 04 8A 7C */ sth r0, -0x7584(r4)
|
|
/* 80075A68 000718A8 48 00 00 1C */ b lbl_80075A84
|
|
.global lbl_80075A6C
|
|
lbl_80075A6C:
|
|
/* 80075A6C 000718AC 3C 83 00 03 */ addis r4, r3, 0x3
|
|
/* 80075A70 000718B0 38 00 00 01 */ li r0, 0x1
|
|
/* 80075A74 000718B4 A0 64 8A 7C */ lhz r3, -0x7584(r4)
|
|
/* 80075A78 000718B8 7C 00 28 30 */ slw r0, r0, r5
|
|
/* 80075A7C 000718BC 7C 60 00 78 */ andc r0, r3, r0
|
|
/* 80075A80 000718C0 B0 04 8A 7C */ sth r0, -0x7584(r4)
|
|
.global lbl_80075A84
|
|
lbl_80075A84:
|
|
/* 80075A84 000718C4 3C BE 00 03 */ addis r5, r30, 0x3
|
|
/* 80075A88 000718C8 7F E3 FB 78 */ mr r3, r31
|
|
/* 80075A8C 000718CC 88 85 8A 87 */ lbz r4, -0x7579(r5)
|
|
/* 80075A90 000718D0 38 04 00 01 */ addi r0, r4, 0x1
|
|
/* 80075A94 000718D4 98 05 8A 87 */ stb r0, -0x7579(r5)
|
|
/* 80075A98 000718D8 48 00 00 08 */ b lbl_80075AA0
|
|
.global lbl_80075A9C
|
|
lbl_80075A9C:
|
|
/* 80075A9C 000718DC 38 60 00 FF */ li r3, 0xff
|
|
.global lbl_80075AA0
|
|
lbl_80075AA0:
|
|
/* 80075AA0 000718E0 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80075AA4 000718E4 4B F9 18 E5 */ bl lbl_80007388
|
|
/* 80075AA8 000718E8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80075AAC 000718EC 7C 08 03 A6 */ mtlr r0
|
|
/* 80075AB0 000718F0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80075AB4 000718F4 4E 80 00 20 */ blr
|
|
/* 80075AB8 000718F8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80075ABC 000718FC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GKI_delete_pool
|
|
GKI_delete_pool:
|
|
/* 80075AC0 00071900 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80075AC4 00071904 7C 08 02 A6 */ mflr r0
|
|
/* 80075AC8 00071908 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80075ACC 0007190C 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80075AD0 00071910 4B F9 18 69 */ bl lbl_80007338
|
|
/* 80075AD4 00071914 3F 60 80 4D */ lis r27, gki_cb@ha
|
|
/* 80075AD8 00071918 28 03 00 09 */ cmplwi r3, 0x9
|
|
/* 80075ADC 0007191C 3B 7B 96 A8 */ addi r27, r27, gki_cb@l
|
|
/* 80075AE0 00071920 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80075AE4 00071924 3B FB 00 54 */ addi r31, r27, 0x54
|
|
/* 80075AE8 00071928 40 80 01 28 */ bge lbl_80075C10
|
|
/* 80075AEC 0007192C 54 7A 15 BA */ rlwinm r26, r3, 2, 22, 29
|
|
/* 80075AF0 00071930 3C 1F 00 03 */ addis r0, r31, 0x3
|
|
/* 80075AF4 00071934 7C 60 D2 14 */ add r3, r0, r26
|
|
/* 80075AF8 00071938 80 03 8A 1C */ lwz r0, -0x75e4(r3)
|
|
/* 80075AFC 0007193C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80075B00 00071940 40 82 00 08 */ bne lbl_80075B08
|
|
/* 80075B04 00071944 48 00 01 0C */ b lbl_80075C10
|
|
.global lbl_80075B08
|
|
lbl_80075B08:
|
|
/* 80075B08 00071948 48 00 08 D9 */ bl GKI_disable
|
|
/* 80075B0C 0007194C 3C 9F 00 03 */ addis r4, r31, 0x3
|
|
/* 80075B10 00071950 57 C0 25 36 */ rlwinm r0, r30, 4, 20, 27
|
|
/* 80075B14 00071954 7C 64 02 14 */ add r3, r4, r0
|
|
/* 80075B18 00071958 A0 03 89 98 */ lhz r0, -0x7668(r3)
|
|
/* 80075B1C 0007195C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80075B20 00071960 40 82 00 D4 */ bne lbl_80075BF4
|
|
/* 80075B24 00071964 3B 80 00 00 */ li r28, 0x0
|
|
/* 80075B28 00071968 B3 83 89 94 */ sth r28, -0x766c(r3)
|
|
/* 80075B2C 0007196C 7F A4 D2 14 */ add r29, r4, r26
|
|
/* 80075B30 00071970 B3 83 89 96 */ sth r28, -0x766a(r3)
|
|
/* 80075B34 00071974 B3 83 89 98 */ sth r28, -0x7668(r3)
|
|
/* 80075B38 00071978 B3 83 89 9A */ sth r28, -0x7666(r3)
|
|
/* 80075B3C 0007197C 93 83 89 8C */ stw r28, -0x7674(r3)
|
|
/* 80075B40 00071980 93 83 89 90 */ stw r28, -0x7670(r3)
|
|
/* 80075B44 00071984 80 7D 8A 1C */ lwz r3, -0x75e4(r29)
|
|
/* 80075B48 00071988 48 00 09 19 */ bl GKI_os_free
|
|
/* 80075B4C 0007198C 3C 9F 00 03 */ addis r4, r31, 0x3
|
|
/* 80075B50 00071990 57 C0 0D FC */ rlwinm r0, r30, 1, 23, 30
|
|
/* 80075B54 00071994 7C 64 D2 14 */ add r3, r4, r26
|
|
/* 80075B58 00071998 93 9D 8A 1C */ stw r28, -0x75e4(r29)
|
|
/* 80075B5C 0007199C 7C 84 02 14 */ add r4, r4, r0
|
|
/* 80075B60 000719A0 7F E7 FB 78 */ mr r7, r31
|
|
/* 80075B64 000719A4 93 83 8A 40 */ stw r28, -0x75c0(r3)
|
|
/* 80075B68 000719A8 3C 67 00 03 */ addis r3, r7, 0x3
|
|
/* 80075B6C 000719AC 38 C0 00 00 */ li r6, 0x0
|
|
/* 80075B70 000719B0 B3 84 8A 64 */ sth r28, -0x759c(r4)
|
|
/* 80075B74 000719B4 88 83 8A 87 */ lbz r4, -0x7579(r3)
|
|
/* 80075B78 000719B8 48 00 00 24 */ b lbl_80075B9C
|
|
/* 80075B7C 000719BC 60 00 00 00 */ nop
|
|
.global lbl_80075B80
|
|
lbl_80075B80:
|
|
/* 80075B80 000719C0 54 C3 06 3E */ clrlwi r3, r6, 24
|
|
/* 80075B84 000719C4 3C 63 00 03 */ addis r3, r3, 0x3
|
|
/* 80075B88 000719C8 38 03 8A 7E */ addi r0, r3, -0x7582
|
|
/* 80075B8C 000719CC 7C 07 00 AE */ lbzx r0, r7, r0
|
|
/* 80075B90 000719D0 7C 1E 00 40 */ cmplw r30, r0
|
|
/* 80075B94 000719D4 41 82 00 14 */ beq lbl_80075BA8
|
|
/* 80075B98 000719D8 38 C6 00 01 */ addi r6, r6, 0x1
|
|
.global lbl_80075B9C
|
|
lbl_80075B9C:
|
|
/* 80075B9C 000719DC 54 C0 06 3E */ clrlwi r0, r6, 24
|
|
/* 80075BA0 000719E0 7C 00 20 40 */ cmplw r0, r4
|
|
/* 80075BA4 000719E4 41 80 FF DC */ blt lbl_80075B80
|
|
.global lbl_80075BA8
|
|
lbl_80075BA8:
|
|
/* 80075BA8 000719E8 3C 87 00 03 */ addis r4, r7, 0x3
|
|
/* 80075BAC 000719EC 48 00 00 20 */ b lbl_80075BCC
|
|
.global lbl_80075BB0
|
|
lbl_80075BB0:
|
|
/* 80075BB0 000719F0 54 C3 06 3E */ clrlwi r3, r6, 24
|
|
/* 80075BB4 000719F4 38 C6 00 01 */ addi r6, r6, 0x1
|
|
/* 80075BB8 000719F8 3C 63 00 03 */ addis r3, r3, 0x3
|
|
/* 80075BBC 000719FC 38 63 8A 7E */ addi r3, r3, -0x7582
|
|
/* 80075BC0 00071A00 7C 67 1A 14 */ add r3, r7, r3
|
|
/* 80075BC4 00071A04 88 03 00 01 */ lbz r0, 0x1(r3)
|
|
/* 80075BC8 00071A08 98 03 00 00 */ stb r0, 0x0(r3)
|
|
.global lbl_80075BCC
|
|
lbl_80075BCC:
|
|
/* 80075BCC 00071A0C 88 64 8A 87 */ lbz r3, -0x7579(r4)
|
|
/* 80075BD0 00071A10 54 C5 06 3E */ clrlwi r5, r6, 24
|
|
/* 80075BD4 00071A14 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80075BD8 00071A18 7C 05 00 00 */ cmpw r5, r0
|
|
/* 80075BDC 00071A1C 41 80 FF D4 */ blt lbl_80075BB0
|
|
/* 80075BE0 00071A20 3C 9F 00 03 */ addis r4, r31, 0x3
|
|
/* 80075BE4 00071A24 88 64 8A 87 */ lbz r3, -0x7579(r4)
|
|
/* 80075BE8 00071A28 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80075BEC 00071A2C 98 04 8A 87 */ stb r0, -0x7579(r4)
|
|
/* 80075BF0 00071A30 48 00 00 1C */ b lbl_80075C0C
|
|
.global lbl_80075BF4
|
|
lbl_80075BF4:
|
|
/* 80075BF4 00071A34 3C 60 00 01 */ lis r3, 0x1
|
|
/* 80075BF8 00071A38 3C 80 80 44 */ lis r4, "@1054_8043A998"@ha
|
|
/* 80075BFC 00071A3C 38 03 FF F8 */ addi r0, r3, -0x8
|
|
/* 80075C00 00071A40 54 03 04 3E */ clrlwi r3, r0, 16
|
|
/* 80075C04 00071A44 38 84 A9 98 */ addi r4, r4, "@1054_8043A998"@l
|
|
/* 80075C08 00071A48 4B FA E8 99 */ bl DefaultSwitchThreadCallback
|
|
.global lbl_80075C0C
|
|
lbl_80075C0C:
|
|
/* 80075C0C 00071A4C 48 00 07 A5 */ bl GKI_enable
|
|
.global lbl_80075C10
|
|
lbl_80075C10:
|
|
/* 80075C10 00071A50 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80075C14 00071A54 4B F9 17 71 */ bl lbl_80007384
|
|
/* 80075C18 00071A58 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80075C1C 00071A5C 7C 08 03 A6 */ mtlr r0
|
|
/* 80075C20 00071A60 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80075C24 00071A64 4E 80 00 20 */ blr
|
|
/* 80075C28 00071A68 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80075C2C 00071A6C 00 00 00 00 */ .4byte 0x00000000
|
|
.include "macros.inc"
|
|
|
|
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
|
|
.global "@749"
|
|
"@749":
|
|
|
|
.4byte 0x67657462
|
|
.4byte 0x75663A20
|
|
.4byte 0x53697A65
|
|
.4byte 0x20697320
|
|
.4byte 0x7A65726F
|
|
.4byte 0
|
|
|
|
.global "@750"
|
|
"@750":
|
|
|
|
.4byte 0x67657462
|
|
.4byte 0x75663A20
|
|
.4byte 0x53697A65
|
|
.4byte 0x20697320
|
|
.4byte 0x746F6F20
|
|
.4byte 0x62696700
|
|
.4byte 0x46726565
|
|
.4byte 0x202D2042
|
|
.4byte 0x75662043
|
|
.4byte 0x6F727275
|
|
.4byte 0x70746564
|
|
.4byte 0
|
|
.4byte 0x46726565
|
|
.4byte 0x696E6720
|
|
.4byte 0x4C696E6B
|
|
.4byte 0x65642042
|
|
.4byte 0x75660000
|
|
.4byte 0x42616420
|
|
.4byte 0x42756620
|
|
.4byte 0x51496400
|
|
.4byte 0x53656E64
|
|
.4byte 0x696E6720
|
|
.4byte 0x746F2075
|
|
.4byte 0x6E6B6E6F
|
|
.4byte 0x776E2064
|
|
.4byte 0x65737400
|
|
.4byte 0x53656E64
|
|
.4byte 0x202D2042
|
|
.4byte 0x75666665
|
|
.4byte 0x7220636F
|
|
.4byte 0x72727570
|
|
.4byte 0x74656400
|
|
.4byte 0x53656E64
|
|
.4byte 0x202D2062
|
|
.4byte 0x75666665
|
|
.4byte 0x72206C69
|
|
.4byte 0x6E6B6564
|
|
.4byte 0
|
|
|
|
.global "@880_8043A918"
|
|
"@880_8043A918":
|
|
|
|
.4byte 0x456E7175
|
|
.4byte 0x65756520
|
|
.4byte 0x2D204275
|
|
.4byte 0x66666572
|
|
.4byte 0x20636F72
|
|
.4byte 0x72757074
|
|
.4byte 0x65640000
|
|
|
|
.global "@881"
|
|
"@881":
|
|
|
|
.4byte 0x456E6575
|
|
.4byte 0x65756520
|
|
.4byte 0x2D206275
|
|
.4byte 0x6620616C
|
|
.4byte 0x72656164
|
|
.4byte 0x79206C69
|
|
.4byte 0x6E6B6564
|
|
.4byte 0
|
|
|
|
.global "@901"
|
|
"@901":
|
|
|
|
.4byte 0x456E6575
|
|
.4byte 0x65756520
|
|
.4byte 0x68656164
|
|
.4byte 0x202D2062
|
|
.4byte 0x75662061
|
|
.4byte 0x6C726561
|
|
.4byte 0x6479206C
|
|
.4byte 0x696E6B65
|
|
.4byte 0x64000000
|
|
.4byte 0x474B495F
|
|
.4byte 0x6765745F
|
|
.4byte 0x6275665F
|
|
.4byte 0x73746172
|
|
.4byte 0x743A3A20
|
|
.4byte 0x62616420
|
|
.4byte 0x61646472
|
|
.4byte 0
|
|
|
|
.global "@1054_8043A998"
|
|
"@1054_8043A998":
|
|
|
|
.4byte 0x44656C65
|
|
.4byte 0x74696E67
|
|
.4byte 0x20626164
|
|
.4byte 0x20706F6F
|
|
.4byte 0x6C000000
|
|
.4byte 0
|