donut-decomp/asm/libnw4r_snd/snd_TaskManager.s

595 lines
29 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global GetInstance__Q44nw4r3snd6detail11TaskManagerFv
GetInstance__Q44nw4r3snd6detail11TaskManagerFv:
/* 80119260 001150A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80119264 001150A4 7C 08 02 A6 */ mflr r0
/* 80119268 001150A8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8011926C 001150AC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80119270 001150B0 88 0D EC 30 */ lbz r0, "@GUARD@GetInstance__Q44nw4r3snd6detail11TaskManagerFv@instance"@sda21(r13)
/* 80119274 001150B4 7C 00 07 75 */ extsb. r0, r0
/* 80119278 001150B8 40 82 00 68 */ bne lbl_801192E0
/* 8011927C 001150BC 3F E0 80 54 */ lis r31, "@LOCAL@GetInstance__Q44nw4r3snd6detail11TaskManagerFv@instance"@ha
/* 80119280 001150C0 3C 80 80 12 */ lis r4, "__ct__Q34nw4r2ut35LinkList<Q44nw4r3snd6detail4Task,4>Fv"@ha
/* 80119284 001150C4 3B FF 2F C4 */ addi r31, r31, "@LOCAL@GetInstance__Q44nw4r3snd6detail11TaskManagerFv@instance"@l
/* 80119288 001150C8 3C A0 80 12 */ lis r5, "__dt__Q34nw4r2ut35LinkList<Q44nw4r3snd6detail4Task,4>Fv"@ha
/* 8011928C 001150CC 7F E3 FB 78 */ mr r3, r31
/* 80119290 001150D0 38 84 93 80 */ addi r4, r4, "__ct__Q34nw4r2ut35LinkList<Q44nw4r3snd6detail4Task,4>Fv"@l
/* 80119294 001150D4 38 A5 93 70 */ addi r5, r5, "__dt__Q34nw4r2ut35LinkList<Q44nw4r3snd6detail4Task,4>Fv"@l
/* 80119298 001150D8 38 C0 00 0C */ li r6, 0xc
/* 8011929C 001150DC 38 E0 00 03 */ li r7, 0x3
/* 801192A0 001150E0 4B EE DD 85 */ bl __construct_array
/* 801192A4 001150E4 38 00 00 00 */ li r0, 0x0
/* 801192A8 001150E8 90 1F 00 24 */ stw r0, 0x24(r31)
/* 801192AC 001150EC 38 7F 00 2C */ addi r3, r31, 0x2c
/* 801192B0 001150F0 98 1F 00 28 */ stb r0, 0x28(r31)
/* 801192B4 001150F4 4B F0 B4 8D */ bl OSInitThreadQueue
/* 801192B8 001150F8 38 7F 00 34 */ addi r3, r31, 0x34
/* 801192BC 001150FC 4B F0 B4 85 */ bl OSInitThreadQueue
/* 801192C0 00115100 3C 80 80 12 */ lis r4, __dt__Q44nw4r3snd6detail11TaskManagerFv@ha
/* 801192C4 00115104 3C A0 80 54 */ lis r5, "@2759"@ha
/* 801192C8 00115108 7F E3 FB 78 */ mr r3, r31
/* 801192CC 0011510C 38 84 93 00 */ addi r4, r4, __dt__Q44nw4r3snd6detail11TaskManagerFv@l
/* 801192D0 00115110 38 A5 2F B8 */ addi r5, r5, "@2759"@l
/* 801192D4 00115114 4B EE D8 9D */ bl lbl_80006B70
/* 801192D8 00115118 38 00 00 01 */ li r0, 0x1
/* 801192DC 0011511C 98 0D EC 30 */ stb r0, "@GUARD@GetInstance__Q44nw4r3snd6detail11TaskManagerFv@instance"@sda21(r13)
.global lbl_801192E0
lbl_801192E0:
/* 801192E0 00115120 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801192E4 00115124 3C 60 80 54 */ lis r3, "@LOCAL@GetInstance__Q44nw4r3snd6detail11TaskManagerFv@instance"@ha
/* 801192E8 00115128 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801192EC 0011512C 38 63 2F C4 */ addi r3, r3, "@LOCAL@GetInstance__Q44nw4r3snd6detail11TaskManagerFv@instance"@l
/* 801192F0 00115130 7C 08 03 A6 */ mtlr r0
/* 801192F4 00115134 38 21 00 10 */ addi r1, r1, 0x10
/* 801192F8 00115138 4E 80 00 20 */ blr
/* 801192FC 0011513C 00 00 00 00 */ .4byte 0x00000000
.global __dt__Q44nw4r3snd6detail11TaskManagerFv
__dt__Q44nw4r3snd6detail11TaskManagerFv:
/* 80119300 00115140 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80119304 00115144 7C 08 02 A6 */ mflr r0
/* 80119308 00115148 2C 03 00 00 */ cmpwi r3, 0x0
/* 8011930C 0011514C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80119310 00115150 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80119314 00115154 7C 9F 23 78 */ mr r31, r4
/* 80119318 00115158 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8011931C 0011515C 7C 7E 1B 78 */ mr r30, r3
/* 80119320 00115160 41 82 00 28 */ beq lbl_80119348
/* 80119324 00115164 3C 80 80 12 */ lis r4, "__dt__Q34nw4r2ut35LinkList<Q44nw4r3snd6detail4Task,4>Fv"@ha
/* 80119328 00115168 38 A0 00 0C */ li r5, 0xc
/* 8011932C 0011516C 38 84 93 70 */ addi r4, r4, "__dt__Q34nw4r2ut35LinkList<Q44nw4r3snd6detail4Task,4>Fv"@l
/* 80119330 00115170 38 C0 00 03 */ li r6, 0x3
/* 80119334 00115174 4B EE DD E9 */ bl __destroy_arr
/* 80119338 00115178 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8011933C 0011517C 40 81 00 0C */ ble lbl_80119348
/* 80119340 00115180 7F C3 F3 78 */ mr r3, r30
/* 80119344 00115184 48 0A 63 D1 */ bl __dl__FPv
.global lbl_80119348
lbl_80119348:
/* 80119348 00115188 7F C3 F3 78 */ mr r3, r30
/* 8011934C 0011518C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80119350 00115190 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80119354 00115194 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80119358 00115198 7C 08 03 A6 */ mtlr r0
/* 8011935C 0011519C 38 21 00 10 */ addi r1, r1, 0x10
/* 80119360 001151A0 4E 80 00 20 */ blr
/* 80119364 001151A4 00 00 00 00 */ .4byte 0x00000000
/* 80119368 001151A8 00 00 00 00 */ .4byte 0x00000000
/* 8011936C 001151AC 00 00 00 00 */ .4byte 0x00000000
.global "__dt__Q34nw4r2ut35LinkList<Q44nw4r3snd6detail4Task,4>Fv"
"__dt__Q34nw4r2ut35LinkList<Q44nw4r3snd6detail4Task,4>Fv":
/* 80119370 001151B0 4B FE 6D 00 */ b "__dt__Q34nw4r2ut30LinkList<Q34nw4r3snd6FxBase,4>Fv"
/* 80119374 001151B4 00 00 00 00 */ .4byte 0x00000000
/* 80119378 001151B8 00 00 00 00 */ .4byte 0x00000000
/* 8011937C 001151BC 00 00 00 00 */ .4byte 0x00000000
.global "__ct__Q34nw4r2ut35LinkList<Q44nw4r3snd6detail4Task,4>Fv"
"__ct__Q34nw4r2ut35LinkList<Q44nw4r3snd6detail4Task,4>Fv":
/* 80119380 001151C0 4B FE 6C D0 */ b "__ct__Q34nw4r2ut30LinkList<Q34nw4r3snd6FxBase,4>Fv"
/* 80119384 001151C4 00 00 00 00 */ .4byte 0x00000000
/* 80119388 001151C8 00 00 00 00 */ .4byte 0x00000000
/* 8011938C 001151CC 00 00 00 00 */ .4byte 0x00000000
.global AppendTask__Q44nw4r3snd6detail11TaskManagerFPQ44nw4r3snd6detail4TaskQ54nw4r3snd6detail11TaskManager12TaskPriority
AppendTask__Q44nw4r3snd6detail11TaskManagerFPQ44nw4r3snd6detail4TaskQ54nw4r3snd6detail11TaskManager12TaskPriority:
/* 80119390 001151D0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80119394 001151D4 7C 08 02 A6 */ mflr r0
/* 80119398 001151D8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8011939C 001151DC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801193A0 001151E0 7C BF 2B 78 */ mr r31, r5
/* 801193A4 001151E4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801193A8 001151E8 7C 9E 23 78 */ mr r30, r4
/* 801193AC 001151EC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801193B0 001151F0 7C 7D 1B 78 */ mr r29, r3
/* 801193B4 001151F4 4B F0 84 6D */ bl OSDisableInterrupts
/* 801193B8 001151F8 1C 1F 00 0C */ mulli r0, r31, 0xc
/* 801193BC 001151FC 38 80 00 01 */ li r4, 0x1
/* 801193C0 00115200 98 9E 00 0C */ stb r4, 0xc(r30)
/* 801193C4 00115204 7C 7F 1B 78 */ mr r31, r3
/* 801193C8 00115208 38 81 00 08 */ addi r4, r1, 0x8
/* 801193CC 0011520C 7C 7D 02 14 */ add r3, r29, r0
/* 801193D0 00115210 38 03 00 04 */ addi r0, r3, 0x4
/* 801193D4 00115214 90 01 00 08 */ stw r0, 0x8(r1)
/* 801193D8 00115218 38 BE 00 04 */ addi r5, r30, 0x4
/* 801193DC 0011521C 48 00 69 D5 */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
/* 801193E0 00115220 38 7D 00 2C */ addi r3, r29, 0x2c
/* 801193E4 00115224 4B F0 C5 1D */ bl OSWakeupThread
/* 801193E8 00115228 7F E3 FB 78 */ mr r3, r31
/* 801193EC 0011522C 4B F0 84 75 */ bl OSRestoreInterrupts
/* 801193F0 00115230 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801193F4 00115234 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801193F8 00115238 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801193FC 0011523C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80119400 00115240 7C 08 03 A6 */ mtlr r0
/* 80119404 00115244 38 21 00 20 */ addi r1, r1, 0x20
/* 80119408 00115248 4E 80 00 20 */ blr
/* 8011940C 0011524C 00 00 00 00 */ .4byte 0x00000000
.global PopTask__Q44nw4r3snd6detail11TaskManagerFv
PopTask__Q44nw4r3snd6detail11TaskManagerFv:
/* 80119410 00115250 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80119414 00115254 7C 08 02 A6 */ mflr r0
/* 80119418 00115258 90 01 00 34 */ stw r0, 0x34(r1)
/* 8011941C 0011525C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80119420 00115260 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80119424 00115264 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80119428 00115268 93 81 00 20 */ stw r28, 0x20(r1)
/* 8011942C 0011526C 7C 7C 1B 78 */ mr r28, r3
/* 80119430 00115270 4B F0 83 F1 */ bl OSDisableInterrupts
/* 80119434 00115274 7C 7F 1B 78 */ mr r31, r3
/* 80119438 00115278 4B F0 83 E9 */ bl OSDisableInterrupts
/* 8011943C 0011527C 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 80119440 00115280 7C 7E 1B 78 */ mr r30, r3
/* 80119444 00115284 2C 00 00 00 */ cmpwi r0, 0x0
/* 80119448 00115288 40 82 00 10 */ bne lbl_80119458
/* 8011944C 0011528C 4B F0 84 15 */ bl OSRestoreInterrupts
/* 80119450 00115290 3B A0 00 00 */ li r29, 0x0
/* 80119454 00115294 48 00 00 24 */ b lbl_80119478
.global lbl_80119458
lbl_80119458:
/* 80119458 00115298 80 BC 00 1C */ lwz r5, 0x1c(r28)
/* 8011945C 0011529C 38 7C 00 18 */ addi r3, r28, 0x18
/* 80119460 001152A0 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80119464 001152A4 38 81 00 10 */ addi r4, r1, 0x10
/* 80119468 001152A8 3B A5 FF FC */ addi r29, r5, -0x4
/* 8011946C 001152AC 48 00 68 A5 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8Iterator
/* 80119470 001152B0 7F C3 F3 78 */ mr r3, r30
/* 80119474 001152B4 4B F0 83 ED */ bl OSRestoreInterrupts
.global lbl_80119478
lbl_80119478:
/* 80119478 001152B8 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8011947C 001152BC 41 82 00 14 */ beq lbl_80119490
/* 80119480 001152C0 7F E3 FB 78 */ mr r3, r31
/* 80119484 001152C4 4B F0 83 DD */ bl OSRestoreInterrupts
/* 80119488 001152C8 7F A3 EB 78 */ mr r3, r29
/* 8011948C 001152CC 48 00 00 C0 */ b lbl_8011954C
.global lbl_80119490
lbl_80119490:
/* 80119490 001152D0 4B F0 83 91 */ bl OSDisableInterrupts
/* 80119494 001152D4 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 80119498 001152D8 7C 7E 1B 78 */ mr r30, r3
/* 8011949C 001152DC 2C 00 00 00 */ cmpwi r0, 0x0
/* 801194A0 001152E0 40 82 00 10 */ bne lbl_801194B0
/* 801194A4 001152E4 4B F0 83 BD */ bl OSRestoreInterrupts
/* 801194A8 001152E8 3B A0 00 00 */ li r29, 0x0
/* 801194AC 001152EC 48 00 00 24 */ b lbl_801194D0
.global lbl_801194B0
lbl_801194B0:
/* 801194B0 001152F0 80 BC 00 10 */ lwz r5, 0x10(r28)
/* 801194B4 001152F4 38 7C 00 0C */ addi r3, r28, 0xc
/* 801194B8 001152F8 90 A1 00 0C */ stw r5, 0xc(r1)
/* 801194BC 001152FC 38 81 00 0C */ addi r4, r1, 0xc
/* 801194C0 00115300 3B A5 FF FC */ addi r29, r5, -0x4
/* 801194C4 00115304 48 00 68 4D */ bl Erase__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8Iterator
/* 801194C8 00115308 7F C3 F3 78 */ mr r3, r30
/* 801194CC 0011530C 4B F0 83 95 */ bl OSRestoreInterrupts
.global lbl_801194D0
lbl_801194D0:
/* 801194D0 00115310 2C 1D 00 00 */ cmpwi r29, 0x0
/* 801194D4 00115314 41 82 00 14 */ beq lbl_801194E8
/* 801194D8 00115318 7F E3 FB 78 */ mr r3, r31
/* 801194DC 0011531C 4B F0 83 85 */ bl OSRestoreInterrupts
/* 801194E0 00115320 7F A3 EB 78 */ mr r3, r29
/* 801194E4 00115324 48 00 00 68 */ b lbl_8011954C
.global lbl_801194E8
lbl_801194E8:
/* 801194E8 00115328 4B F0 83 39 */ bl OSDisableInterrupts
/* 801194EC 0011532C 80 1C 00 00 */ lwz r0, 0x0(r28)
/* 801194F0 00115330 7C 7E 1B 78 */ mr r30, r3
/* 801194F4 00115334 2C 00 00 00 */ cmpwi r0, 0x0
/* 801194F8 00115338 40 82 00 10 */ bne lbl_80119508
/* 801194FC 0011533C 4B F0 83 65 */ bl OSRestoreInterrupts
/* 80119500 00115340 3B A0 00 00 */ li r29, 0x0
/* 80119504 00115344 48 00 00 24 */ b lbl_80119528
.global lbl_80119508
lbl_80119508:
/* 80119508 00115348 80 BC 00 04 */ lwz r5, 0x4(r28)
/* 8011950C 0011534C 7F 83 E3 78 */ mr r3, r28
/* 80119510 00115350 90 A1 00 08 */ stw r5, 0x8(r1)
/* 80119514 00115354 38 81 00 08 */ addi r4, r1, 0x8
/* 80119518 00115358 3B A5 FF FC */ addi r29, r5, -0x4
/* 8011951C 0011535C 48 00 67 F5 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8Iterator
/* 80119520 00115360 7F C3 F3 78 */ mr r3, r30
/* 80119524 00115364 4B F0 83 3D */ bl OSRestoreInterrupts
.global lbl_80119528
lbl_80119528:
/* 80119528 00115368 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8011952C 0011536C 41 82 00 14 */ beq lbl_80119540
/* 80119530 00115370 7F E3 FB 78 */ mr r3, r31
/* 80119534 00115374 4B F0 83 2D */ bl OSRestoreInterrupts
/* 80119538 00115378 7F A3 EB 78 */ mr r3, r29
/* 8011953C 0011537C 48 00 00 10 */ b lbl_8011954C
.global lbl_80119540
lbl_80119540:
/* 80119540 00115380 7F E3 FB 78 */ mr r3, r31
/* 80119544 00115384 4B F0 83 1D */ bl OSRestoreInterrupts
/* 80119548 00115388 38 60 00 00 */ li r3, 0x0
.global lbl_8011954C
lbl_8011954C:
/* 8011954C 0011538C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80119550 00115390 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80119554 00115394 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80119558 00115398 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8011955C 0011539C 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80119560 001153A0 7C 08 03 A6 */ mtlr r0
/* 80119564 001153A4 38 21 00 30 */ addi r1, r1, 0x30
/* 80119568 001153A8 4E 80 00 20 */ blr
/* 8011956C 001153AC 00 00 00 00 */ .4byte 0x00000000
.global GetNextTask__Q44nw4r3snd6detail11TaskManagerFv
GetNextTask__Q44nw4r3snd6detail11TaskManagerFv:
/* 80119570 001153B0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80119574 001153B4 7C 08 02 A6 */ mflr r0
/* 80119578 001153B8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8011957C 001153BC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80119580 001153C0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80119584 001153C4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80119588 001153C8 7C 7D 1B 78 */ mr r29, r3
/* 8011958C 001153CC 4B F0 82 95 */ bl OSDisableInterrupts
/* 80119590 001153D0 7C 7F 1B 78 */ mr r31, r3
/* 80119594 001153D4 4B F0 82 8D */ bl OSDisableInterrupts
/* 80119598 001153D8 80 1D 00 18 */ lwz r0, 0x18(r29)
/* 8011959C 001153DC 2C 00 00 00 */ cmpwi r0, 0x0
/* 801195A0 001153E0 40 82 00 10 */ bne lbl_801195B0
/* 801195A4 001153E4 4B F0 82 BD */ bl OSRestoreInterrupts
/* 801195A8 001153E8 3B C0 00 00 */ li r30, 0x0
/* 801195AC 001153EC 48 00 00 10 */ b lbl_801195BC
.global lbl_801195B0
lbl_801195B0:
/* 801195B0 001153F0 80 9D 00 1C */ lwz r4, 0x1c(r29)
/* 801195B4 001153F4 3B C4 FF FC */ addi r30, r4, -0x4
/* 801195B8 001153F8 4B F0 82 A9 */ bl OSRestoreInterrupts
.global lbl_801195BC
lbl_801195BC:
/* 801195BC 001153FC 2C 1E 00 00 */ cmpwi r30, 0x0
/* 801195C0 00115400 41 82 00 14 */ beq lbl_801195D4
/* 801195C4 00115404 7F E3 FB 78 */ mr r3, r31
/* 801195C8 00115408 4B F0 82 99 */ bl OSRestoreInterrupts
/* 801195CC 0011540C 7F C3 F3 78 */ mr r3, r30
/* 801195D0 00115410 48 00 00 90 */ b lbl_80119660
.global lbl_801195D4
lbl_801195D4:
/* 801195D4 00115414 4B F0 82 4D */ bl OSDisableInterrupts
/* 801195D8 00115418 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 801195DC 0011541C 2C 00 00 00 */ cmpwi r0, 0x0
/* 801195E0 00115420 40 82 00 10 */ bne lbl_801195F0
/* 801195E4 00115424 4B F0 82 7D */ bl OSRestoreInterrupts
/* 801195E8 00115428 3B C0 00 00 */ li r30, 0x0
/* 801195EC 0011542C 48 00 00 10 */ b lbl_801195FC
.global lbl_801195F0
lbl_801195F0:
/* 801195F0 00115430 80 9D 00 10 */ lwz r4, 0x10(r29)
/* 801195F4 00115434 3B C4 FF FC */ addi r30, r4, -0x4
/* 801195F8 00115438 4B F0 82 69 */ bl OSRestoreInterrupts
.global lbl_801195FC
lbl_801195FC:
/* 801195FC 0011543C 2C 1E 00 00 */ cmpwi r30, 0x0
/* 80119600 00115440 41 82 00 14 */ beq lbl_80119614
/* 80119604 00115444 7F E3 FB 78 */ mr r3, r31
/* 80119608 00115448 4B F0 82 59 */ bl OSRestoreInterrupts
/* 8011960C 0011544C 7F C3 F3 78 */ mr r3, r30
/* 80119610 00115450 48 00 00 50 */ b lbl_80119660
.global lbl_80119614
lbl_80119614:
/* 80119614 00115454 4B F0 82 0D */ bl OSDisableInterrupts
/* 80119618 00115458 80 1D 00 00 */ lwz r0, 0x0(r29)
/* 8011961C 0011545C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80119620 00115460 40 82 00 10 */ bne lbl_80119630
/* 80119624 00115464 4B F0 82 3D */ bl OSRestoreInterrupts
/* 80119628 00115468 3B C0 00 00 */ li r30, 0x0
/* 8011962C 0011546C 48 00 00 10 */ b lbl_8011963C
.global lbl_80119630
lbl_80119630:
/* 80119630 00115470 80 9D 00 04 */ lwz r4, 0x4(r29)
/* 80119634 00115474 3B C4 FF FC */ addi r30, r4, -0x4
/* 80119638 00115478 4B F0 82 29 */ bl OSRestoreInterrupts
.global lbl_8011963C
lbl_8011963C:
/* 8011963C 0011547C 2C 1E 00 00 */ cmpwi r30, 0x0
/* 80119640 00115480 41 82 00 14 */ beq lbl_80119654
/* 80119644 00115484 7F E3 FB 78 */ mr r3, r31
/* 80119648 00115488 4B F0 82 19 */ bl OSRestoreInterrupts
/* 8011964C 0011548C 7F C3 F3 78 */ mr r3, r30
/* 80119650 00115490 48 00 00 10 */ b lbl_80119660
.global lbl_80119654
lbl_80119654:
/* 80119654 00115494 7F E3 FB 78 */ mr r3, r31
/* 80119658 00115498 4B F0 82 09 */ bl OSRestoreInterrupts
/* 8011965C 0011549C 38 60 00 00 */ li r3, 0x0
.global lbl_80119660
lbl_80119660:
/* 80119660 001154A0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80119664 001154A4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80119668 001154A8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8011966C 001154AC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80119670 001154B0 7C 08 03 A6 */ mtlr r0
/* 80119674 001154B4 38 21 00 20 */ addi r1, r1, 0x20
/* 80119678 001154B8 4E 80 00 20 */ blr
/* 8011967C 001154BC 00 00 00 00 */ .4byte 0x00000000
.global ExecuteTask__Q44nw4r3snd6detail11TaskManagerFv
ExecuteTask__Q44nw4r3snd6detail11TaskManagerFv:
/* 80119680 001154C0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80119684 001154C4 7C 08 02 A6 */ mflr r0
/* 80119688 001154C8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8011968C 001154CC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80119690 001154D0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80119694 001154D4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80119698 001154D8 7C 7D 1B 78 */ mr r29, r3
/* 8011969C 001154DC 4B FF FD 75 */ bl PopTask__Q44nw4r3snd6detail11TaskManagerFv
/* 801196A0 001154E0 2C 03 00 00 */ cmpwi r3, 0x0
/* 801196A4 001154E4 7C 7E 1B 78 */ mr r30, r3
/* 801196A8 001154E8 40 82 00 0C */ bne lbl_801196B4
/* 801196AC 001154EC 38 60 00 00 */ li r3, 0x0
/* 801196B0 001154F0 48 00 00 30 */ b lbl_801196E0
.global lbl_801196B4
lbl_801196B4:
/* 801196B4 001154F4 90 7D 00 24 */ stw r3, 0x24(r29)
/* 801196B8 001154F8 3B E0 00 00 */ li r31, 0x0
/* 801196BC 001154FC 9B E3 00 0C */ stb r31, 0xc(r3)
/* 801196C0 00115500 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801196C4 00115504 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 801196C8 00115508 7D 89 03 A6 */ mtctr r12
/* 801196CC 0011550C 4E 80 04 21 */ bctrl
/* 801196D0 00115510 93 FD 00 24 */ stw r31, 0x24(r29)
/* 801196D4 00115514 38 7D 00 34 */ addi r3, r29, 0x34
/* 801196D8 00115518 4B F0 C2 29 */ bl OSWakeupThread
/* 801196DC 0011551C 7F C3 F3 78 */ mr r3, r30
.global lbl_801196E0
lbl_801196E0:
/* 801196E0 00115520 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801196E4 00115524 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801196E8 00115528 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801196EC 0011552C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801196F0 00115530 7C 08 03 A6 */ mtlr r0
/* 801196F4 00115534 38 21 00 20 */ addi r1, r1, 0x20
/* 801196F8 00115538 4E 80 00 20 */ blr
/* 801196FC 0011553C 00 00 00 00 */ .4byte 0x00000000
.global CancelTask__Q44nw4r3snd6detail11TaskManagerFPQ44nw4r3snd6detail4Task
CancelTask__Q44nw4r3snd6detail11TaskManagerFPQ44nw4r3snd6detail4Task:
/* 80119700 00115540 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80119704 00115544 7C 08 02 A6 */ mflr r0
/* 80119708 00115548 90 01 00 34 */ stw r0, 0x34(r1)
/* 8011970C 0011554C 39 61 00 30 */ addi r11, r1, 0x30
/* 80119710 00115550 4B EE DC 25 */ bl lbl_80007334
/* 80119714 00115554 7C 79 1B 78 */ mr r25, r3
/* 80119718 00115558 7C 9A 23 78 */ mr r26, r4
/* 8011971C 0011555C 4B F0 81 05 */ bl OSDisableInterrupts
/* 80119720 00115560 80 19 00 24 */ lwz r0, 0x24(r25)
/* 80119724 00115564 7C 7E 1B 78 */ mr r30, r3
/* 80119728 00115568 7C 1A 00 40 */ cmplw r26, r0
/* 8011972C 0011556C 40 82 00 34 */ bne lbl_80119760
/* 80119730 00115570 81 9A 00 00 */ lwz r12, 0x0(r26)
/* 80119734 00115574 7F 43 D3 78 */ mr r3, r26
/* 80119738 00115578 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8011973C 0011557C 7D 89 03 A6 */ mtctr r12
/* 80119740 00115580 4E 80 04 21 */ bctrl
/* 80119744 00115584 48 00 00 0C */ b lbl_80119750
.global lbl_80119748
lbl_80119748:
/* 80119748 00115588 38 79 00 34 */ addi r3, r25, 0x34
/* 8011974C 0011558C 4B F0 C0 C5 */ bl OSSleepThread
.global lbl_80119750
lbl_80119750:
/* 80119750 00115590 80 19 00 24 */ lwz r0, 0x24(r25)
/* 80119754 00115594 7C 1A 00 40 */ cmplw r26, r0
/* 80119758 00115598 41 82 FF F0 */ beq lbl_80119748
/* 8011975C 0011559C 48 00 00 78 */ b lbl_801197D4
.global lbl_80119760
lbl_80119760:
/* 80119760 001155A0 3B 60 00 00 */ li r27, 0x0
/* 80119764 001155A4 3B E0 00 00 */ li r31, 0x0
/* 80119768 001155A8 3B A0 00 00 */ li r29, 0x0
.global lbl_8011976C
lbl_8011976C:
/* 8011976C 001155AC 7C 79 FA 14 */ add r3, r25, r31
/* 80119770 001155B0 80 83 00 04 */ lwz r4, 0x4(r3)
/* 80119774 001155B4 38 03 00 04 */ addi r0, r3, 0x4
/* 80119778 001155B8 48 00 00 44 */ b lbl_801197BC
/* 8011977C 001155BC 60 00 00 00 */ nop
.global lbl_80119780
lbl_80119780:
/* 80119780 001155C0 7C 85 23 78 */ mr r5, r4
/* 80119784 001155C4 80 84 00 00 */ lwz r4, 0x0(r4)
/* 80119788 001155C8 3B 85 FF FC */ addi r28, r5, -0x4
/* 8011978C 001155CC 7C 1C D0 40 */ cmplw r28, r26
/* 80119790 001155D0 40 82 00 2C */ bne lbl_801197BC
/* 80119794 001155D4 90 A1 00 08 */ stw r5, 0x8(r1)
/* 80119798 001155D8 38 81 00 08 */ addi r4, r1, 0x8
/* 8011979C 001155DC 48 00 65 75 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8Iterator
/* 801197A0 001155E0 9B BC 00 0C */ stb r29, 0xc(r28)
/* 801197A4 001155E4 7F 83 E3 78 */ mr r3, r28
/* 801197A8 001155E8 81 9C 00 00 */ lwz r12, 0x0(r28)
/* 801197AC 001155EC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 801197B0 001155F0 7D 89 03 A6 */ mtctr r12
/* 801197B4 001155F4 4E 80 04 21 */ bctrl
/* 801197B8 001155F8 48 00 00 0C */ b lbl_801197C4
.global lbl_801197BC
lbl_801197BC:
/* 801197BC 001155FC 7C 04 00 40 */ cmplw r4, r0
/* 801197C0 00115600 40 82 FF C0 */ bne lbl_80119780
.global lbl_801197C4
lbl_801197C4:
/* 801197C4 00115604 3B 7B 00 01 */ addi r27, r27, 0x1
/* 801197C8 00115608 3B FF 00 0C */ addi r31, r31, 0xc
/* 801197CC 0011560C 2C 1B 00 03 */ cmpwi r27, 0x3
/* 801197D0 00115610 41 80 FF 9C */ blt lbl_8011976C
.global lbl_801197D4
lbl_801197D4:
/* 801197D4 00115614 7F C3 F3 78 */ mr r3, r30
/* 801197D8 00115618 4B F0 80 89 */ bl OSRestoreInterrupts
/* 801197DC 0011561C 39 61 00 30 */ addi r11, r1, 0x30
/* 801197E0 00115620 4B EE DB A1 */ bl lbl_80007380
/* 801197E4 00115624 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801197E8 00115628 7C 08 03 A6 */ mtlr r0
/* 801197EC 0011562C 38 21 00 30 */ addi r1, r1, 0x30
/* 801197F0 00115630 4E 80 00 20 */ blr
/* 801197F4 00115634 00 00 00 00 */ .4byte 0x00000000
/* 801197F8 00115638 00 00 00 00 */ .4byte 0x00000000
/* 801197FC 0011563C 00 00 00 00 */ .4byte 0x00000000
.global CancelAllTask__Q44nw4r3snd6detail11TaskManagerFv
CancelAllTask__Q44nw4r3snd6detail11TaskManagerFv:
/* 80119800 00115640 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80119804 00115644 7C 08 02 A6 */ mflr r0
/* 80119808 00115648 90 01 00 34 */ stw r0, 0x34(r1)
/* 8011980C 0011564C 39 61 00 30 */ addi r11, r1, 0x30
/* 80119810 00115650 4B EE DB 25 */ bl lbl_80007334
/* 80119814 00115654 7C 79 1B 78 */ mr r25, r3
/* 80119818 00115658 4B F0 80 09 */ bl OSDisableInterrupts
/* 8011981C 0011565C 7C 7E 1B 78 */ mr r30, r3
/* 80119820 00115660 3B 60 00 00 */ li r27, 0x0
/* 80119824 00115664 3B E0 00 00 */ li r31, 0x0
/* 80119828 00115668 3B A0 00 00 */ li r29, 0x0
.global lbl_8011982C
lbl_8011982C:
/* 8011982C 0011566C 7C 19 F8 2E */ lwzx r0, r25, r31
/* 80119830 00115670 7F 59 FA 14 */ add r26, r25, r31
/* 80119834 00115674 2C 00 00 00 */ cmpwi r0, 0x0
/* 80119838 00115678 41 82 00 44 */ beq lbl_8011987C
/* 8011983C 0011567C 48 00 00 34 */ b lbl_80119870
.global lbl_80119840
lbl_80119840:
/* 80119840 00115680 80 BA 00 08 */ lwz r5, 0x8(r26)
/* 80119844 00115684 7F 43 D3 78 */ mr r3, r26
/* 80119848 00115688 90 A1 00 08 */ stw r5, 0x8(r1)
/* 8011984C 0011568C 38 81 00 08 */ addi r4, r1, 0x8
/* 80119850 00115690 3B 85 FF FC */ addi r28, r5, -0x4
/* 80119854 00115694 48 00 64 BD */ bl Erase__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8Iterator
/* 80119858 00115698 9B BC 00 0C */ stb r29, 0xc(r28)
/* 8011985C 0011569C 7F 83 E3 78 */ mr r3, r28
/* 80119860 001156A0 81 9C 00 00 */ lwz r12, 0x0(r28)
/* 80119864 001156A4 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80119868 001156A8 7D 89 03 A6 */ mtctr r12
/* 8011986C 001156AC 4E 80 04 21 */ bctrl
.global lbl_80119870
lbl_80119870:
/* 80119870 001156B0 80 1A 00 00 */ lwz r0, 0x0(r26)
/* 80119874 001156B4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80119878 001156B8 40 82 FF C8 */ bne lbl_80119840
.global lbl_8011987C
lbl_8011987C:
/* 8011987C 001156BC 3B 7B 00 01 */ addi r27, r27, 0x1
/* 80119880 001156C0 3B FF 00 0C */ addi r31, r31, 0xc
/* 80119884 001156C4 2C 1B 00 03 */ cmpwi r27, 0x3
/* 80119888 001156C8 41 80 FF A4 */ blt lbl_8011982C
/* 8011988C 001156CC 80 19 00 24 */ lwz r0, 0x24(r25)
/* 80119890 001156D0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80119894 001156D4 41 82 00 30 */ beq lbl_801198C4
/* 80119898 001156D8 80 79 00 24 */ lwz r3, 0x24(r25)
/* 8011989C 001156DC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801198A0 001156E0 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 801198A4 001156E4 7D 89 03 A6 */ mtctr r12
/* 801198A8 001156E8 4E 80 04 21 */ bctrl
/* 801198AC 001156EC 48 00 00 0C */ b lbl_801198B8
.global lbl_801198B0
lbl_801198B0:
/* 801198B0 001156F0 38 79 00 34 */ addi r3, r25, 0x34
/* 801198B4 001156F4 4B F0 BF 5D */ bl OSSleepThread
.global lbl_801198B8
lbl_801198B8:
/* 801198B8 001156F8 80 19 00 24 */ lwz r0, 0x24(r25)
/* 801198BC 001156FC 2C 00 00 00 */ cmpwi r0, 0x0
/* 801198C0 00115700 40 82 FF F0 */ bne lbl_801198B0
.global lbl_801198C4
lbl_801198C4:
/* 801198C4 00115704 7F C3 F3 78 */ mr r3, r30
/* 801198C8 00115708 4B F0 7F 99 */ bl OSRestoreInterrupts
/* 801198CC 0011570C 39 61 00 30 */ addi r11, r1, 0x30
/* 801198D0 00115710 4B EE DA B1 */ bl lbl_80007380
/* 801198D4 00115714 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801198D8 00115718 7C 08 03 A6 */ mtlr r0
/* 801198DC 0011571C 38 21 00 30 */ addi r1, r1, 0x30
/* 801198E0 00115720 4E 80 00 20 */ blr
/* 801198E4 00115724 00 00 00 00 */ .4byte 0x00000000
/* 801198E8 00115728 00 00 00 00 */ .4byte 0x00000000
/* 801198EC 0011572C 00 00 00 00 */ .4byte 0x00000000
.global WaitTask__Q44nw4r3snd6detail11TaskManagerFv
WaitTask__Q44nw4r3snd6detail11TaskManagerFv:
/* 801198F0 00115730 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801198F4 00115734 7C 08 02 A6 */ mflr r0
/* 801198F8 00115738 90 01 00 14 */ stw r0, 0x14(r1)
/* 801198FC 0011573C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80119900 00115740 93 C1 00 08 */ stw r30, 0x8(r1)
/* 80119904 00115744 7C 7E 1B 78 */ mr r30, r3
/* 80119908 00115748 4B F0 7F 19 */ bl OSDisableInterrupts
/* 8011990C 0011574C 38 00 00 00 */ li r0, 0x0
/* 80119910 00115750 98 1E 00 28 */ stb r0, 0x28(r30)
/* 80119914 00115754 7C 7F 1B 78 */ mr r31, r3
/* 80119918 00115758 48 00 00 0C */ b lbl_80119924
.global lbl_8011991C
lbl_8011991C:
/* 8011991C 0011575C 38 7E 00 2C */ addi r3, r30, 0x2c
/* 80119920 00115760 4B F0 BE F1 */ bl OSSleepThread
.global lbl_80119924
lbl_80119924:
/* 80119924 00115764 7F C3 F3 78 */ mr r3, r30
/* 80119928 00115768 4B FF FC 49 */ bl GetNextTask__Q44nw4r3snd6detail11TaskManagerFv
/* 8011992C 0011576C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80119930 00115770 40 82 00 10 */ bne lbl_80119940
/* 80119934 00115774 88 1E 00 28 */ lbz r0, 0x28(r30)
/* 80119938 00115778 2C 00 00 00 */ cmpwi r0, 0x0
/* 8011993C 0011577C 41 82 FF E0 */ beq lbl_8011991C
.global lbl_80119940
lbl_80119940:
/* 80119940 00115780 7F E3 FB 78 */ mr r3, r31
/* 80119944 00115784 4B F0 7F 1D */ bl OSRestoreInterrupts
/* 80119948 00115788 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8011994C 0011578C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80119950 00115790 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80119954 00115794 7C 08 03 A6 */ mtlr r0
/* 80119958 00115798 38 21 00 10 */ addi r1, r1, 0x10
/* 8011995C 0011579C 4E 80 00 20 */ blr
.global CancelWaitTask__Q44nw4r3snd6detail11TaskManagerFv
CancelWaitTask__Q44nw4r3snd6detail11TaskManagerFv:
/* 80119960 001157A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80119964 001157A4 7C 08 02 A6 */ mflr r0
/* 80119968 001157A8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8011996C 001157AC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80119970 001157B0 93 C1 00 08 */ stw r30, 0x8(r1)
/* 80119974 001157B4 7C 7E 1B 78 */ mr r30, r3
/* 80119978 001157B8 4B F0 7E A9 */ bl OSDisableInterrupts
/* 8011997C 001157BC 38 00 00 01 */ li r0, 0x1
/* 80119980 001157C0 98 1E 00 28 */ stb r0, 0x28(r30)
/* 80119984 001157C4 7C 7F 1B 78 */ mr r31, r3
/* 80119988 001157C8 38 7E 00 2C */ addi r3, r30, 0x2c
/* 8011998C 001157CC 4B F0 BF 75 */ bl OSWakeupThread
/* 80119990 001157D0 7F E3 FB 78 */ mr r3, r31
/* 80119994 001157D4 4B F0 7E CD */ bl OSRestoreInterrupts
/* 80119998 001157D8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8011999C 001157DC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801199A0 001157E0 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 801199A4 001157E4 7C 08 03 A6 */ mtlr r0
/* 801199A8 001157E8 38 21 00 10 */ addi r1, r1, 0x10
/* 801199AC 001157EC 4E 80 00 20 */ blr
.include "macros.inc"
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
.global "@2759"
"@2759":
.skip 0xC
.global "@LOCAL@GetInstance__Q44nw4r3snd6detail11TaskManagerFv@instance"
"@LOCAL@GetInstance__Q44nw4r3snd6detail11TaskManagerFv@instance":
.skip 0x3C
.include "macros.inc"
.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0
.global "@GUARD@GetInstance__Q44nw4r3snd6detail11TaskManagerFv@instance"
"@GUARD@GetInstance__Q44nw4r3snd6detail11TaskManagerFv@instance":
.skip 0x8