.include "macros.inc"

.section .data
.balign 8

.global lbl_803EE410
lbl_803EE410:
	# ROM: 0x3EB410
	.4byte 0
	.4byte 0
	.4byte GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer
	.4byte GetObj__11CSimplePoolFRC10SObjectTag
	.4byte GetObj__11CSimplePoolFPCc
	.4byte GetObj__11CSimplePoolFPCcRC15CVParamTransfer
	.4byte HasObject__11CSimplePoolCFRC10SObjectTag
	.4byte ObjectIsLive__11CSimplePoolCFRC10SObjectTag
	.4byte GetFactory__11CSimplePoolCFv
	.4byte Flush__11CSimplePoolFv
	.4byte ObjectUnreferenced__11CSimplePoolFRC10SObjectTag
	.4byte 0

.section .sdata
.balign 8

.global lbl_805A8908
lbl_805A8908:
	# ROM: 0x3F62A8
	.4byte 0x00000002

.global lbl_805A890C
lbl_805A890C:
	# ROM: 0x3F62AC
	.byte 0x01

.global lbl_805A890D
lbl_805A890D:
	# ROM: 0x3F62AD
	.byte 0x00

.global lbl_805A890E
lbl_805A890E:
	# ROM: 0x3F62AE
	.2byte 0x00000100

.global lbl_805A8910
lbl_805A8910:
	# ROM: 0x3F62B0
	.byte 0x01

.global lbl_805A8911
lbl_805A8911:
	# ROM: 0x3F62B1
	.byte 0x00

.global lbl_805A8912
lbl_805A8912:
	# ROM: 0x3F62B2
	.byte 0x01, 0x00
	.4byte 0

.section .sbss, "wa"
.balign 8

.global lbl_805A9508
lbl_805A9508:
	.skip 0x8

.section .text, "ax"

.global GetFactory__11CSimplePoolCFv
GetFactory__11CSimplePoolCFv:
/* 8033FFE0 0033CF40  80 63 00 18 */	lwz r3, 0x18(r3)
/* 8033FFE4 0033CF44  4E 80 00 20 */	blr

.global GetReferencedTags__11CSimplePoolFv
GetReferencedTags__11CSimplePoolFv:
/* 8033FFE8 0033CF48  94 21 FF C0 */	stwu r1, -0x40(r1)
/* 8033FFEC 0033CF4C  7C 08 02 A6 */	mflr r0
/* 8033FFF0 0033CF50  90 01 00 44 */	stw r0, 0x44(r1)
/* 8033FFF4 0033CF54  38 00 00 00 */	li r0, 0
/* 8033FFF8 0033CF58  93 E1 00 3C */	stw r31, 0x3c(r1)
/* 8033FFFC 0033CF5C  7C 7F 1B 78 */	mr r31, r3
/* 80340000 0033CF60  38 61 00 18 */	addi r3, r1, 0x18
/* 80340004 0033CF64  93 C1 00 38 */	stw r30, 0x38(r1)
/* 80340008 0033CF68  7C 9E 23 78 */	mr r30, r4
/* 8034000C 0033CF6C  93 A1 00 34 */	stw r29, 0x34(r1)
/* 80340010 0033CF70  90 01 00 1C */	stw r0, 0x1c(r1)
/* 80340014 0033CF74  80 84 00 08 */	lwz r4, 8(r4)
/* 80340018 0033CF78  90 01 00 20 */	stw r0, 0x20(r1)
/* 8034001C 0033CF7C  90 01 00 24 */	stw r0, 0x24(r1)
/* 80340020 0033CF80  48 00 09 65 */	bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi"
/* 80340024 0033CF84  3B BE 00 0C */	addi r29, r30, 0xc
/* 80340028 0033CF88  83 DE 00 0C */	lwz r30, 0xc(r30)
/* 8034002C 0033CF8C  48 00 00 6C */	b lbl_80340098
lbl_80340030:
/* 80340030 0033CF90  80 01 00 1C */	lwz r0, 0x1c(r1)
/* 80340034 0033CF94  80 A1 00 20 */	lwz r5, 0x20(r1)
/* 80340038 0033CF98  7C 00 28 00 */	cmpw r0, r5
/* 8034003C 0033CF9C  41 80 00 1C */	blt lbl_80340058
/* 80340040 0033CFA0  2C 05 00 00 */	cmpwi r5, 0
/* 80340044 0033CFA4  38 61 00 18 */	addi r3, r1, 0x18
/* 80340048 0033CFA8  38 80 00 04 */	li r4, 4
/* 8034004C 0033CFAC  41 82 00 08 */	beq lbl_80340054
/* 80340050 0033CFB0  54 A4 08 3C */	slwi r4, r5, 1
lbl_80340054:
/* 80340054 0033CFB4  48 00 09 31 */	bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi"
lbl_80340058:
/* 80340058 0033CFB8  80 01 00 1C */	lwz r0, 0x1c(r1)
/* 8034005C 0033CFBC  80 61 00 24 */	lwz r3, 0x24(r1)
/* 80340060 0033CFC0  54 00 18 38 */	slwi r0, r0, 3
/* 80340064 0033CFC4  7C 63 02 15 */	add. r3, r3, r0
/* 80340068 0033CFC8  41 82 00 14 */	beq lbl_8034007C
/* 8034006C 0033CFCC  80 1E 00 10 */	lwz r0, 0x10(r30)
/* 80340070 0033CFD0  90 03 00 00 */	stw r0, 0(r3)
/* 80340074 0033CFD4  80 1E 00 14 */	lwz r0, 0x14(r30)
/* 80340078 0033CFD8  90 03 00 04 */	stw r0, 4(r3)
lbl_8034007C:
/* 8034007C 0033CFDC  80 A1 00 1C */	lwz r5, 0x1c(r1)
/* 80340080 0033CFE0  7F A3 EB 78 */	mr r3, r29
/* 80340084 0033CFE4  7F C4 F3 78 */	mr r4, r30
/* 80340088 0033CFE8  38 05 00 01 */	addi r0, r5, 1
/* 8034008C 0033CFEC  90 01 00 1C */	stw r0, 0x1c(r1)
/* 80340090 0033CFF0  4B FF C5 51 */	bl rbtree_traverse_forward__4rstlFPCvPv
/* 80340094 0033CFF4  7C 7E 1B 78 */	mr r30, r3
lbl_80340098:
/* 80340098 0033CFF8  28 1E 00 00 */	cmplwi r30, 0
/* 8034009C 0033CFFC  38 00 00 00 */	li r0, 0
/* 803400A0 0033D000  40 82 00 0C */	bne lbl_803400AC
/* 803400A4 0033D004  7C 1D E8 40 */	cmplw r29, r29
/* 803400A8 0033D008  41 82 00 08 */	beq lbl_803400B0
lbl_803400AC:
/* 803400AC 0033D00C  38 00 00 01 */	li r0, 1
lbl_803400B0:
/* 803400B0 0033D010  54 00 06 3F */	clrlwi. r0, r0, 0x18
/* 803400B4 0033D014  40 82 FF 7C */	bne lbl_80340030
/* 803400B8 0033D018  80 01 00 1C */	lwz r0, 0x1c(r1)
/* 803400BC 0033D01C  90 1F 00 04 */	stw r0, 4(r31)
/* 803400C0 0033D020  80 01 00 20 */	lwz r0, 0x20(r1)
/* 803400C4 0033D024  90 1F 00 08 */	stw r0, 8(r31)
/* 803400C8 0033D028  80 01 00 1C */	lwz r0, 0x1c(r1)
/* 803400CC 0033D02C  2C 00 00 00 */	cmpwi r0, 0
/* 803400D0 0033D030  40 82 00 1C */	bne lbl_803400EC
/* 803400D4 0033D034  80 01 00 20 */	lwz r0, 0x20(r1)
/* 803400D8 0033D038  2C 00 00 00 */	cmpwi r0, 0
/* 803400DC 0033D03C  40 82 00 10 */	bne lbl_803400EC
/* 803400E0 0033D040  38 00 00 00 */	li r0, 0
/* 803400E4 0033D044  90 1F 00 0C */	stw r0, 0xc(r31)
/* 803400E8 0033D048  48 00 00 6C */	b lbl_80340154
lbl_803400EC:
/* 803400EC 0033D04C  80 1F 00 08 */	lwz r0, 8(r31)
/* 803400F0 0033D050  54 03 18 39 */	rlwinm. r3, r0, 3, 0, 0x1c
/* 803400F4 0033D054  40 82 00 10 */	bne lbl_80340104
/* 803400F8 0033D058  38 00 00 00 */	li r0, 0
/* 803400FC 0033D05C  90 1F 00 0C */	stw r0, 0xc(r31)
/* 80340100 0033D060  48 00 00 18 */	b lbl_80340118
lbl_80340104:
/* 80340104 0033D064  3C 80 80 3D */	lis r4, lbl_803D7A98@ha
/* 80340108 0033D068  38 A0 00 00 */	li r5, 0
/* 8034010C 0033D06C  38 84 7A 98 */	addi r4, r4, lbl_803D7A98@l
/* 80340110 0033D070  4B FD 57 09 */	bl __nwa__FUlPCcPCc
/* 80340114 0033D074  90 7F 00 0C */	stw r3, 0xc(r31)
lbl_80340118:
/* 80340118 0033D078  80 1F 00 04 */	lwz r0, 4(r31)
/* 8034011C 0033D07C  80 81 00 24 */	lwz r4, 0x24(r1)
/* 80340120 0033D080  80 7F 00 0C */	lwz r3, 0xc(r31)
/* 80340124 0033D084  7C 09 03 A6 */	mtctr r0
/* 80340128 0033D088  2C 00 00 00 */	cmpwi r0, 0
/* 8034012C 0033D08C  40 81 00 28 */	ble lbl_80340154
lbl_80340130:
/* 80340130 0033D090  28 03 00 00 */	cmplwi r3, 0
/* 80340134 0033D094  41 82 00 14 */	beq lbl_80340148
/* 80340138 0033D098  80 04 00 00 */	lwz r0, 0(r4)
/* 8034013C 0033D09C  90 03 00 00 */	stw r0, 0(r3)
/* 80340140 0033D0A0  80 04 00 04 */	lwz r0, 4(r4)
/* 80340144 0033D0A4  90 03 00 04 */	stw r0, 4(r3)
lbl_80340148:
/* 80340148 0033D0A8  38 63 00 08 */	addi r3, r3, 8
/* 8034014C 0033D0AC  38 84 00 08 */	addi r4, r4, 8
/* 80340150 0033D0B0  42 00 FF E0 */	bdnz lbl_80340130
lbl_80340154:
/* 80340154 0033D0B4  80 01 00 1C */	lwz r0, 0x1c(r1)
/* 80340158 0033D0B8  80 61 00 24 */	lwz r3, 0x24(r1)
/* 8034015C 0033D0BC  54 00 18 38 */	slwi r0, r0, 3
/* 80340160 0033D0C0  7C 03 02 14 */	add r0, r3, r0
/* 80340164 0033D0C4  90 61 00 0C */	stw r3, 0xc(r1)
/* 80340168 0033D0C8  7C 64 1B 78 */	mr r4, r3
/* 8034016C 0033D0CC  90 01 00 14 */	stw r0, 0x14(r1)
/* 80340170 0033D0D0  90 01 00 10 */	stw r0, 0x10(r1)
/* 80340174 0033D0D4  90 61 00 08 */	stw r3, 8(r1)
/* 80340178 0033D0D8  48 00 00 08 */	b lbl_80340180
lbl_8034017C:
/* 8034017C 0033D0DC  38 84 00 08 */	addi r4, r4, 8
lbl_80340180:
/* 80340180 0033D0E0  7C 04 00 40 */	cmplw r4, r0
/* 80340184 0033D0E4  40 82 FF F8 */	bne lbl_8034017C
/* 80340188 0033D0E8  28 03 00 00 */	cmplwi r3, 0
/* 8034018C 0033D0EC  41 82 00 08 */	beq lbl_80340194
/* 80340190 0033D0F0  4B FD 57 A1 */	bl Free__7CMemoryFPCv
lbl_80340194:
/* 80340194 0033D0F4  80 01 00 44 */	lwz r0, 0x44(r1)
/* 80340198 0033D0F8  83 E1 00 3C */	lwz r31, 0x3c(r1)
/* 8034019C 0033D0FC  83 C1 00 38 */	lwz r30, 0x38(r1)
/* 803401A0 0033D100  83 A1 00 34 */	lwz r29, 0x34(r1)
/* 803401A4 0033D104  7C 08 03 A6 */	mtlr r0
/* 803401A8 0033D108  38 21 00 40 */	addi r1, r1, 0x40
/* 803401AC 0033D10C  4E 80 00 20 */	blr

.global DebugDumpPool__11CSimplePoolCFv
DebugDumpPool__11CSimplePoolCFv:
/* 803401B0 0033D110  94 21 FF F0 */	stwu r1, -0x10(r1)
/* 803401B4 0033D114  7C 08 02 A6 */	mflr r0
/* 803401B8 0033D118  90 01 00 14 */	stw r0, 0x14(r1)
/* 803401BC 0033D11C  93 E1 00 0C */	stw r31, 0xc(r1)
/* 803401C0 0033D120  93 C1 00 08 */	stw r30, 8(r1)
/* 803401C4 0033D124  3B C3 00 0C */	addi r30, r3, 0xc
/* 803401C8 0033D128  83 E3 00 0C */	lwz r31, 0xc(r3)
/* 803401CC 0033D12C  48 00 00 1C */	b lbl_803401E8
lbl_803401D0:
/* 803401D0 0033D130  80 7F 00 10 */	lwz r3, 0x10(r31)
/* 803401D4 0033D134  48 00 0E 31 */	bl Type2Text__10SObjectTagFUi
/* 803401D8 0033D138  7F C3 F3 78 */	mr r3, r30
/* 803401DC 0033D13C  7F E4 FB 78 */	mr r4, r31
/* 803401E0 0033D140  4B FF C4 01 */	bl rbtree_traverse_forward__4rstlFPCvPv
/* 803401E4 0033D144  7C 7F 1B 78 */	mr r31, r3
lbl_803401E8:
/* 803401E8 0033D148  28 1F 00 00 */	cmplwi r31, 0
/* 803401EC 0033D14C  38 00 00 00 */	li r0, 0
/* 803401F0 0033D150  40 82 00 0C */	bne lbl_803401FC
/* 803401F4 0033D154  7C 1E F0 40 */	cmplw r30, r30
/* 803401F8 0033D158  41 82 00 08 */	beq lbl_80340200
lbl_803401FC:
/* 803401FC 0033D15C  38 00 00 01 */	li r0, 1
lbl_80340200:
/* 80340200 0033D160  54 00 06 3F */	clrlwi. r0, r0, 0x18
/* 80340204 0033D164  40 82 FF CC */	bne lbl_803401D0
/* 80340208 0033D168  80 01 00 14 */	lwz r0, 0x14(r1)
/* 8034020C 0033D16C  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 80340210 0033D170  83 C1 00 08 */	lwz r30, 8(r1)
/* 80340214 0033D174  7C 08 03 A6 */	mtlr r0
/* 80340218 0033D178  38 21 00 10 */	addi r1, r1, 0x10
/* 8034021C 0033D17C  4E 80 00 20 */	blr

.global Flush__11CSimplePoolFv
Flush__11CSimplePoolFv:
/* 80340220 0033D180  4E 80 00 20 */	blr

.global ObjectIsLive__11CSimplePoolCFRC10SObjectTag
ObjectIsLive__11CSimplePoolCFRC10SObjectTag:
/* 80340224 0033D184  80 C3 00 14 */	lwz r6, 0x14(r3)
/* 80340228 0033D188  38 E0 00 00 */	li r7, 0
/* 8034022C 0033D18C  48 00 00 24 */	b lbl_80340250
lbl_80340230:
/* 80340230 0033D190  80 A6 00 14 */	lwz r5, 0x14(r6)
/* 80340234 0033D194  80 04 00 04 */	lwz r0, 4(r4)
/* 80340238 0033D198  7C 05 00 40 */	cmplw r5, r0
/* 8034023C 0033D19C  41 80 00 10 */	blt lbl_8034024C
/* 80340240 0033D1A0  7C C7 33 78 */	mr r7, r6
/* 80340244 0033D1A4  80 C6 00 00 */	lwz r6, 0(r6)
/* 80340248 0033D1A8  48 00 00 08 */	b lbl_80340250
lbl_8034024C:
/* 8034024C 0033D1AC  80 C6 00 04 */	lwz r6, 4(r6)
lbl_80340250:
/* 80340250 0033D1B0  28 06 00 00 */	cmplwi r6, 0
/* 80340254 0033D1B4  40 82 FF DC */	bne lbl_80340230
/* 80340258 0033D1B8  28 07 00 00 */	cmplwi r7, 0
/* 8034025C 0033D1BC  38 A0 00 00 */	li r5, 0
/* 80340260 0033D1C0  41 82 00 14 */	beq lbl_80340274
/* 80340264 0033D1C4  80 84 00 04 */	lwz r4, 4(r4)
/* 80340268 0033D1C8  80 07 00 14 */	lwz r0, 0x14(r7)
/* 8034026C 0033D1CC  7C 04 00 40 */	cmplw r4, r0
/* 80340270 0033D1D0  40 80 00 08 */	bge lbl_80340278
lbl_80340274:
/* 80340274 0033D1D4  38 A0 00 01 */	li r5, 1
lbl_80340278:
/* 80340278 0033D1D8  54 A0 06 3F */	clrlwi. r0, r5, 0x18
/* 8034027C 0033D1DC  41 82 00 08 */	beq lbl_80340284
/* 80340280 0033D1E0  38 E0 00 00 */	li r7, 0
lbl_80340284:
/* 80340284 0033D1E4  28 07 00 00 */	cmplwi r7, 0
/* 80340288 0033D1E8  38 63 00 0C */	addi r3, r3, 0xc
/* 8034028C 0033D1EC  38 00 00 00 */	li r0, 0
/* 80340290 0033D1F0  40 82 00 10 */	bne lbl_803402A0
/* 80340294 0033D1F4  7C 03 18 40 */	cmplw r3, r3
/* 80340298 0033D1F8  40 82 00 08 */	bne lbl_803402A0
/* 8034029C 0033D1FC  38 00 00 01 */	li r0, 1
lbl_803402A0:
/* 803402A0 0033D200  54 00 06 3F */	clrlwi. r0, r0, 0x18
/* 803402A4 0033D204  41 82 00 0C */	beq lbl_803402B0
/* 803402A8 0033D208  38 60 00 00 */	li r3, 0
/* 803402AC 0033D20C  4E 80 00 20 */	blr
lbl_803402B0:
/* 803402B0 0033D210  80 67 00 18 */	lwz r3, 0x18(r7)
/* 803402B4 0033D214  80 63 00 10 */	lwz r3, 0x10(r3)
/* 803402B8 0033D218  7C 03 00 D0 */	neg r0, r3
/* 803402BC 0033D21C  7C 00 1B 78 */	or r0, r0, r3
/* 803402C0 0033D220  54 03 0F FE */	srwi r3, r0, 0x1f
/* 803402C4 0033D224  4E 80 00 20 */	blr

.global HasObject__11CSimplePoolCFRC10SObjectTag
HasObject__11CSimplePoolCFRC10SObjectTag:
/* 803402C8 0033D228  94 21 FF F0 */	stwu r1, -0x10(r1)
/* 803402CC 0033D22C  7C 08 02 A6 */	mflr r0
/* 803402D0 0033D230  38 E0 00 00 */	li r7, 0
/* 803402D4 0033D234  90 01 00 14 */	stw r0, 0x14(r1)
/* 803402D8 0033D238  93 E1 00 0C */	stw r31, 0xc(r1)
/* 803402DC 0033D23C  93 C1 00 08 */	stw r30, 8(r1)
/* 803402E0 0033D240  80 C3 00 14 */	lwz r6, 0x14(r3)
/* 803402E4 0033D244  48 00 00 24 */	b lbl_80340308
lbl_803402E8:
/* 803402E8 0033D248  80 A6 00 14 */	lwz r5, 0x14(r6)
/* 803402EC 0033D24C  80 04 00 04 */	lwz r0, 4(r4)
/* 803402F0 0033D250  7C 05 00 40 */	cmplw r5, r0
/* 803402F4 0033D254  41 80 00 10 */	blt lbl_80340304
/* 803402F8 0033D258  7C C7 33 78 */	mr r7, r6
/* 803402FC 0033D25C  80 C6 00 00 */	lwz r6, 0(r6)
/* 80340300 0033D260  48 00 00 08 */	b lbl_80340308
lbl_80340304:
/* 80340304 0033D264  80 C6 00 04 */	lwz r6, 4(r6)
lbl_80340308:
/* 80340308 0033D268  28 06 00 00 */	cmplwi r6, 0
/* 8034030C 0033D26C  40 82 FF DC */	bne lbl_803402E8
/* 80340310 0033D270  28 07 00 00 */	cmplwi r7, 0
/* 80340314 0033D274  38 C0 00 00 */	li r6, 0
/* 80340318 0033D278  41 82 00 14 */	beq lbl_8034032C
/* 8034031C 0033D27C  80 A4 00 04 */	lwz r5, 4(r4)
/* 80340320 0033D280  80 07 00 14 */	lwz r0, 0x14(r7)
/* 80340324 0033D284  7C 05 00 40 */	cmplw r5, r0
/* 80340328 0033D288  40 80 00 08 */	bge lbl_80340330
lbl_8034032C:
/* 8034032C 0033D28C  38 C0 00 01 */	li r6, 1
lbl_80340330:
/* 80340330 0033D290  54 C0 06 3F */	clrlwi. r0, r6, 0x18
/* 80340334 0033D294  41 82 00 08 */	beq lbl_8034033C
/* 80340338 0033D298  38 E0 00 00 */	li r7, 0
lbl_8034033C:
/* 8034033C 0033D29C  28 07 00 00 */	cmplwi r7, 0
/* 80340340 0033D2A0  38 A3 00 0C */	addi r5, r3, 0xc
/* 80340344 0033D2A4  3B C0 00 01 */	li r30, 1
/* 80340348 0033D2A8  38 00 00 00 */	li r0, 0
/* 8034034C 0033D2AC  40 82 00 0C */	bne lbl_80340358
/* 80340350 0033D2B0  7C 05 28 40 */	cmplw r5, r5
/* 80340354 0033D2B4  41 82 00 08 */	beq lbl_8034035C
lbl_80340358:
/* 80340358 0033D2B8  38 00 00 01 */	li r0, 1
lbl_8034035C:
/* 8034035C 0033D2BC  54 00 06 3F */	clrlwi. r0, r0, 0x18
/* 80340360 0033D2C0  40 82 00 3C */	bne lbl_8034039C
/* 80340364 0033D2C4  80 63 00 18 */	lwz r3, 0x18(r3)
/* 80340368 0033D2C8  3B E0 00 00 */	li r31, 0
/* 8034036C 0033D2CC  28 03 00 00 */	cmplwi r3, 0
/* 80340370 0033D2D0  41 82 00 20 */	beq lbl_80340390
/* 80340374 0033D2D4  81 83 00 00 */	lwz r12, 0(r3)
/* 80340378 0033D2D8  81 8C 00 18 */	lwz r12, 0x18(r12)
/* 8034037C 0033D2DC  7D 89 03 A6 */	mtctr r12
/* 80340380 0033D2E0  4E 80 04 21 */	bctrl
/* 80340384 0033D2E4  54 60 06 3F */	clrlwi. r0, r3, 0x18
/* 80340388 0033D2E8  41 82 00 08 */	beq lbl_80340390
/* 8034038C 0033D2EC  3B E0 00 01 */	li r31, 1
lbl_80340390:
/* 80340390 0033D2F0  57 E0 06 3F */	clrlwi. r0, r31, 0x18
/* 80340394 0033D2F4  40 82 00 08 */	bne lbl_8034039C
/* 80340398 0033D2F8  3B C0 00 00 */	li r30, 0
lbl_8034039C:
/* 8034039C 0033D2FC  80 01 00 14 */	lwz r0, 0x14(r1)
/* 803403A0 0033D300  7F C3 F3 78 */	mr r3, r30
/* 803403A4 0033D304  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 803403A8 0033D308  83 C1 00 08 */	lwz r30, 8(r1)
/* 803403AC 0033D30C  7C 08 03 A6 */	mtlr r0
/* 803403B0 0033D310  38 21 00 10 */	addi r1, r1, 0x10
/* 803403B4 0033D314  4E 80 00 20 */	blr

.global GetObj__11CSimplePoolFPCcRC15CVParamTransfer
GetObj__11CSimplePoolFPCcRC15CVParamTransfer:
/* 803403B8 0033D318  94 21 FF E0 */	stwu r1, -0x20(r1)
/* 803403BC 0033D31C  7C 08 02 A6 */	mflr r0
/* 803403C0 0033D320  90 01 00 24 */	stw r0, 0x24(r1)
/* 803403C4 0033D324  93 E1 00 1C */	stw r31, 0x1c(r1)
/* 803403C8 0033D328  7C DF 33 78 */	mr r31, r6
/* 803403CC 0033D32C  93 C1 00 18 */	stw r30, 0x18(r1)
/* 803403D0 0033D330  7C 9E 23 78 */	mr r30, r4
/* 803403D4 0033D334  93 A1 00 14 */	stw r29, 0x14(r1)
/* 803403D8 0033D338  7C 7D 1B 78 */	mr r29, r3
/* 803403DC 0033D33C  80 64 00 18 */	lwz r3, 0x18(r4)
/* 803403E0 0033D340  7C A4 2B 78 */	mr r4, r5
/* 803403E4 0033D344  81 83 00 00 */	lwz r12, 0(r3)
/* 803403E8 0033D348  81 8C 00 1C */	lwz r12, 0x1c(r12)
/* 803403EC 0033D34C  7D 89 03 A6 */	mtctr r12
/* 803403F0 0033D350  4E 80 04 21 */	bctrl
/* 803403F4 0033D354  7C 60 1B 78 */	mr r0, r3
/* 803403F8 0033D358  7F A3 EB 78 */	mr r3, r29
/* 803403FC 0033D35C  7C 05 03 78 */	mr r5, r0
/* 80340400 0033D360  7F C4 F3 78 */	mr r4, r30
/* 80340404 0033D364  7F E6 FB 78 */	mr r6, r31
/* 80340408 0033D368  48 00 00 81 */	bl GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer
/* 8034040C 0033D36C  80 01 00 24 */	lwz r0, 0x24(r1)
/* 80340410 0033D370  83 E1 00 1C */	lwz r31, 0x1c(r1)
/* 80340414 0033D374  83 C1 00 18 */	lwz r30, 0x18(r1)
/* 80340418 0033D378  83 A1 00 14 */	lwz r29, 0x14(r1)
/* 8034041C 0033D37C  7C 08 03 A6 */	mtlr r0
/* 80340420 0033D380  38 21 00 20 */	addi r1, r1, 0x20
/* 80340424 0033D384  4E 80 00 20 */	blr

.global GetObj__11CSimplePoolFPCc
GetObj__11CSimplePoolFPCc:
/* 80340428 0033D388  94 21 FF F0 */	stwu r1, -0x10(r1)
/* 8034042C 0033D38C  7C 08 02 A6 */	mflr r0
/* 80340430 0033D390  38 C4 00 1C */	addi r6, r4, 0x1c
/* 80340434 0033D394  90 01 00 14 */	stw r0, 0x14(r1)
/* 80340438 0033D398  93 E1 00 0C */	stw r31, 0xc(r1)
/* 8034043C 0033D39C  7C 7F 1B 78 */	mr r31, r3
/* 80340440 0033D3A0  4B FF FF 79 */	bl GetObj__11CSimplePoolFPCcRC15CVParamTransfer
/* 80340444 0033D3A4  80 01 00 14 */	lwz r0, 0x14(r1)
/* 80340448 0033D3A8  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 8034044C 0033D3AC  7C 08 03 A6 */	mtlr r0
/* 80340450 0033D3B0  38 21 00 10 */	addi r1, r1, 0x10
/* 80340454 0033D3B4  4E 80 00 20 */	blr

.global GetObj__11CSimplePoolFRC10SObjectTag
GetObj__11CSimplePoolFRC10SObjectTag:
/* 80340458 0033D3B8  94 21 FF F0 */	stwu r1, -0x10(r1)
/* 8034045C 0033D3BC  7C 08 02 A6 */	mflr r0
/* 80340460 0033D3C0  38 C4 00 1C */	addi r6, r4, 0x1c
/* 80340464 0033D3C4  90 01 00 14 */	stw r0, 0x14(r1)
/* 80340468 0033D3C8  93 E1 00 0C */	stw r31, 0xc(r1)
/* 8034046C 0033D3CC  7C 7F 1B 78 */	mr r31, r3
/* 80340470 0033D3D0  48 00 00 19 */	bl GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer
/* 80340474 0033D3D4  80 01 00 14 */	lwz r0, 0x14(r1)
/* 80340478 0033D3D8  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 8034047C 0033D3DC  7C 08 03 A6 */	mtlr r0
/* 80340480 0033D3E0  38 21 00 10 */	addi r1, r1, 0x10
/* 80340484 0033D3E4  4E 80 00 20 */	blr

.global GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer
GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer:
/* 80340488 0033D3E8  94 21 FF A0 */	stwu r1, -0x60(r1)
/* 8034048C 0033D3EC  7C 08 02 A6 */	mflr r0
/* 80340490 0033D3F0  90 01 00 64 */	stw r0, 0x64(r1)
/* 80340494 0033D3F4  BF 21 00 44 */	stmw r25, 0x44(r1)
/* 80340498 0033D3F8  7C 9D 23 78 */	mr r29, r4
/* 8034049C 0033D3FC  7C BE 2B 78 */	mr r30, r5
/* 803404A0 0033D400  7C 7C 1B 78 */	mr r28, r3
/* 803404A4 0033D404  7C DF 33 78 */	mr r31, r6
/* 803404A8 0033D408  38 A0 00 00 */	li r5, 0
/* 803404AC 0033D40C  80 84 00 14 */	lwz r4, 0x14(r4)
/* 803404B0 0033D410  48 00 00 24 */	b lbl_803404D4
lbl_803404B4:
/* 803404B4 0033D414  80 64 00 14 */	lwz r3, 0x14(r4)
/* 803404B8 0033D418  80 1E 00 04 */	lwz r0, 4(r30)
/* 803404BC 0033D41C  7C 03 00 40 */	cmplw r3, r0
/* 803404C0 0033D420  41 80 00 10 */	blt lbl_803404D0
/* 803404C4 0033D424  7C 85 23 78 */	mr r5, r4
/* 803404C8 0033D428  80 84 00 00 */	lwz r4, 0(r4)
/* 803404CC 0033D42C  48 00 00 08 */	b lbl_803404D4
lbl_803404D0:
/* 803404D0 0033D430  80 84 00 04 */	lwz r4, 4(r4)
lbl_803404D4:
/* 803404D4 0033D434  28 04 00 00 */	cmplwi r4, 0
/* 803404D8 0033D438  40 82 FF DC */	bne lbl_803404B4
/* 803404DC 0033D43C  28 05 00 00 */	cmplwi r5, 0
/* 803404E0 0033D440  38 80 00 00 */	li r4, 0
/* 803404E4 0033D444  41 82 00 14 */	beq lbl_803404F8
/* 803404E8 0033D448  80 7E 00 04 */	lwz r3, 4(r30)
/* 803404EC 0033D44C  80 05 00 14 */	lwz r0, 0x14(r5)
/* 803404F0 0033D450  7C 03 00 40 */	cmplw r3, r0
/* 803404F4 0033D454  40 80 00 08 */	bge lbl_803404FC
lbl_803404F8:
/* 803404F8 0033D458  38 80 00 01 */	li r4, 1
lbl_803404FC:
/* 803404FC 0033D45C  54 80 06 3F */	clrlwi. r0, r4, 0x18
/* 80340500 0033D460  41 82 00 08 */	beq lbl_80340508
/* 80340504 0033D464  38 A0 00 00 */	li r5, 0
lbl_80340508:
/* 80340508 0033D468  38 00 00 00 */	li r0, 0
/* 8034050C 0033D46C  38 7D 00 0C */	addi r3, r29, 0xc
/* 80340510 0033D470  7C 05 00 40 */	cmplw r5, r0
/* 80340514 0033D474  90 01 00 14 */	stw r0, 0x14(r1)
/* 80340518 0033D478  90 61 00 18 */	stw r3, 0x18(r1)
/* 8034051C 0033D47C  40 82 00 0C */	bne lbl_80340528
/* 80340520 0033D480  7C 03 18 40 */	cmplw r3, r3
/* 80340524 0033D484  41 82 00 08 */	beq lbl_8034052C
lbl_80340528:
/* 80340528 0033D488  38 00 00 01 */	li r0, 1
lbl_8034052C:
/* 8034052C 0033D48C  54 00 06 3F */	clrlwi. r0, r0, 0x18
/* 80340530 0033D490  41 82 00 14 */	beq lbl_80340544
/* 80340534 0033D494  80 85 00 18 */	lwz r4, 0x18(r5)
/* 80340538 0033D498  7F 83 E3 78 */	mr r3, r28
/* 8034053C 0033D49C  48 00 0A A9 */	bl __ct__6CTokenFP16CObjectReference
/* 80340540 0033D4A0  48 00 00 E0 */	b lbl_80340620
lbl_80340544:
/* 80340544 0033D4A4  3C 60 80 3D */	lis r3, lbl_803D7A98@ha
/* 80340548 0033D4A8  3B 40 00 00 */	li r26, 0
/* 8034054C 0033D4AC  38 83 7A 98 */	addi r4, r3, lbl_803D7A98@l
/* 80340550 0033D4B0  3B 20 00 00 */	li r25, 0
/* 80340554 0033D4B4  38 60 00 18 */	li r3, 0x18
/* 80340558 0033D4B8  38 A0 00 00 */	li r5, 0
/* 8034055C 0033D4BC  4B FD 53 11 */	bl __nw__FUlPCcPCc
/* 80340560 0033D4C0  7C 7B 1B 79 */	or. r27, r3, r3
/* 80340564 0033D4C4  41 82 00 44 */	beq lbl_803405A8
/* 80340568 0033D4C8  81 3F 00 00 */	lwz r9, 0(r31)
/* 8034056C 0033D4CC  38 00 00 00 */	li r0, 0
/* 80340570 0033D4D0  98 01 00 0C */	stb r0, 0xc(r1)
/* 80340574 0033D4D4  7F A4 EB 78 */	mr r4, r29
/* 80340578 0033D4D8  7F C6 F3 78 */	mr r6, r30
/* 8034057C 0033D4DC  38 A1 00 0C */	addi r5, r1, 0xc
/* 80340580 0033D4E0  90 01 00 10 */	stw r0, 0x10(r1)
/* 80340584 0033D4E4  38 E1 00 08 */	addi r7, r1, 8
/* 80340588 0033D4E8  3B 20 00 01 */	li r25, 1
/* 8034058C 0033D4EC  3B 40 00 01 */	li r26, 1
/* 80340590 0033D4F0  91 21 00 08 */	stw r9, 8(r1)
/* 80340594 0033D4F4  81 09 00 04 */	lwz r8, 4(r9)
/* 80340598 0033D4F8  38 08 00 01 */	addi r0, r8, 1
/* 8034059C 0033D4FC  90 09 00 04 */	stw r0, 4(r9)
/* 803405A0 0033D500  4B FF F9 DD */	bl "__ct__16CObjectReferenceFR12IObjectStoreRCQ24rstl15auto_ptr<4IObj>RC10SObjectTag15CVParamTransfer"
/* 803405A4 0033D504  7C 7B 1B 78 */	mr r27, r3
lbl_803405A8:
/* 803405A8 0033D508  7F 20 07 75 */	extsb. r0, r25
/* 803405AC 0033D50C  41 82 00 30 */	beq lbl_803405DC
/* 803405B0 0033D510  88 01 00 0C */	lbz r0, 0xc(r1)
/* 803405B4 0033D514  28 00 00 00 */	cmplwi r0, 0
/* 803405B8 0033D518  41 82 00 24 */	beq lbl_803405DC
/* 803405BC 0033D51C  80 61 00 10 */	lwz r3, 0x10(r1)
/* 803405C0 0033D520  28 03 00 00 */	cmplwi r3, 0
/* 803405C4 0033D524  41 82 00 18 */	beq lbl_803405DC
/* 803405C8 0033D528  81 83 00 00 */	lwz r12, 0(r3)
/* 803405CC 0033D52C  38 80 00 01 */	li r4, 1
/* 803405D0 0033D530  81 8C 00 08 */	lwz r12, 8(r12)
/* 803405D4 0033D534  7D 89 03 A6 */	mtctr r12
/* 803405D8 0033D538  4E 80 04 21 */	bctrl
lbl_803405DC:
/* 803405DC 0033D53C  7F 40 07 75 */	extsb. r0, r26
/* 803405E0 0033D540  41 82 00 0C */	beq lbl_803405EC
/* 803405E4 0033D544  38 61 00 08 */	addi r3, r1, 8
/* 803405E8 0033D548  4B CF 3D 1D */	bl sub_80034304
lbl_803405EC:
/* 803405EC 0033D54C  80 BE 00 00 */	lwz r5, 0(r30)
/* 803405F0 0033D550  38 61 00 1C */	addi r3, r1, 0x1c
/* 803405F4 0033D554  80 1E 00 04 */	lwz r0, 4(r30)
/* 803405F8 0033D558  38 9D 00 04 */	addi r4, r29, 4
/* 803405FC 0033D55C  90 A1 00 28 */	stw r5, 0x28(r1)
/* 80340600 0033D560  38 C1 00 28 */	addi r6, r1, 0x28
/* 80340604 0033D564  90 01 00 2C */	stw r0, 0x2c(r1)
/* 80340608 0033D568  93 61 00 30 */	stw r27, 0x30(r1)
/* 8034060C 0033D56C  80 BD 00 14 */	lwz r5, 0x14(r29)
/* 80340610 0033D570  48 00 04 69 */	bl sub_80340a78
/* 80340614 0033D574  7F 83 E3 78 */	mr r3, r28
/* 80340618 0033D578  7F 64 DB 78 */	mr r4, r27
/* 8034061C 0033D57C  48 00 09 C9 */	bl __ct__6CTokenFP16CObjectReference
lbl_80340620:
/* 80340620 0033D580  BB 21 00 44 */	lmw r25, 0x44(r1)
/* 80340624 0033D584  80 01 00 64 */	lwz r0, 0x64(r1)
/* 80340628 0033D588  7C 08 03 A6 */	mtlr r0
/* 8034062C 0033D58C  38 21 00 60 */	addi r1, r1, 0x60
/* 80340630 0033D590  4E 80 00 20 */	blr

.global ObjectUnreferenced__11CSimplePoolFRC10SObjectTag
ObjectUnreferenced__11CSimplePoolFRC10SObjectTag:
/* 80340634 0033D594  94 21 FF E0 */	stwu r1, -0x20(r1)
/* 80340638 0033D598  7C 08 02 A6 */	mflr r0
/* 8034063C 0033D59C  38 C0 00 00 */	li r6, 0
/* 80340640 0033D5A0  90 01 00 24 */	stw r0, 0x24(r1)
/* 80340644 0033D5A4  93 E1 00 1C */	stw r31, 0x1c(r1)
/* 80340648 0033D5A8  93 C1 00 18 */	stw r30, 0x18(r1)
/* 8034064C 0033D5AC  7C 7E 1B 78 */	mr r30, r3
/* 80340650 0033D5B0  80 A3 00 14 */	lwz r5, 0x14(r3)
/* 80340654 0033D5B4  48 00 00 24 */	b lbl_80340678
lbl_80340658:
/* 80340658 0033D5B8  80 65 00 14 */	lwz r3, 0x14(r5)
/* 8034065C 0033D5BC  80 04 00 04 */	lwz r0, 4(r4)
/* 80340660 0033D5C0  7C 03 00 40 */	cmplw r3, r0
/* 80340664 0033D5C4  41 80 00 10 */	blt lbl_80340674
/* 80340668 0033D5C8  7C A6 2B 78 */	mr r6, r5
/* 8034066C 0033D5CC  80 A5 00 00 */	lwz r5, 0(r5)
/* 80340670 0033D5D0  48 00 00 08 */	b lbl_80340678
lbl_80340674:
/* 80340674 0033D5D4  80 A5 00 04 */	lwz r5, 4(r5)
lbl_80340678:
/* 80340678 0033D5D8  28 05 00 00 */	cmplwi r5, 0
/* 8034067C 0033D5DC  40 82 FF DC */	bne lbl_80340658
/* 80340680 0033D5E0  28 06 00 00 */	cmplwi r6, 0
/* 80340684 0033D5E4  38 A0 00 00 */	li r5, 0
/* 80340688 0033D5E8  41 82 00 14 */	beq lbl_8034069C
/* 8034068C 0033D5EC  80 64 00 04 */	lwz r3, 4(r4)
/* 80340690 0033D5F0  80 06 00 14 */	lwz r0, 0x14(r6)
/* 80340694 0033D5F4  7C 03 00 40 */	cmplw r3, r0
/* 80340698 0033D5F8  40 80 00 08 */	bge lbl_803406A0
lbl_8034069C:
/* 8034069C 0033D5FC  38 A0 00 01 */	li r5, 1
lbl_803406A0:
/* 803406A0 0033D600  54 A0 06 3F */	clrlwi. r0, r5, 0x18
/* 803406A4 0033D604  41 82 00 08 */	beq lbl_803406AC
/* 803406A8 0033D608  38 C0 00 00 */	li r6, 0
lbl_803406AC:
/* 803406AC 0033D60C  3B FE 00 0C */	addi r31, r30, 0xc
/* 803406B0 0033D610  90 C1 00 10 */	stw r6, 0x10(r1)
/* 803406B4 0033D614  7F E3 FB 78 */	mr r3, r31
/* 803406B8 0033D618  7C C4 33 78 */	mr r4, r6
/* 803406BC 0033D61C  93 E1 00 14 */	stw r31, 0x14(r1)
/* 803406C0 0033D620  90 C1 00 08 */	stw r6, 8(r1)
/* 803406C4 0033D624  93 E1 00 0C */	stw r31, 0xc(r1)
/* 803406C8 0033D628  4B FF BF 19 */	bl rbtree_traverse_forward__4rstlFPCvPv
/* 803406CC 0033D62C  80 81 00 08 */	lwz r4, 8(r1)
/* 803406D0 0033D630  7F E3 FB 78 */	mr r3, r31
/* 803406D4 0033D634  4B FF BF A9 */	bl rbtree_rebalance_for_erase__4rstlFPvPv
/* 803406D8 0033D638  28 03 00 00 */	cmplwi r3, 0
/* 803406DC 0033D63C  41 82 00 08 */	beq lbl_803406E4
/* 803406E0 0033D640  4B FD 52 51 */	bl Free__7CMemoryFPCv
lbl_803406E4:
/* 803406E4 0033D644  80 7E 00 08 */	lwz r3, 8(r30)
/* 803406E8 0033D648  38 03 FF FF */	addi r0, r3, -1
/* 803406EC 0033D64C  90 1E 00 08 */	stw r0, 8(r30)
/* 803406F0 0033D650  83 E1 00 1C */	lwz r31, 0x1c(r1)
/* 803406F4 0033D654  83 C1 00 18 */	lwz r30, 0x18(r1)
/* 803406F8 0033D658  80 01 00 24 */	lwz r0, 0x24(r1)
/* 803406FC 0033D65C  7C 08 03 A6 */	mtlr r0
/* 80340700 0033D660  38 21 00 20 */	addi r1, r1, 0x20
/* 80340704 0033D664  4E 80 00 20 */	blr

.global __dt__11CSimplePoolFv
__dt__11CSimplePoolFv:
/* 80340708 0033D668  94 21 FF F0 */	stwu r1, -0x10(r1)
/* 8034070C 0033D66C  7C 08 02 A6 */	mflr r0
/* 80340710 0033D670  90 01 00 14 */	stw r0, 0x14(r1)
/* 80340714 0033D674  93 E1 00 0C */	stw r31, 0xc(r1)
/* 80340718 0033D678  7C 9F 23 78 */	mr r31, r4
/* 8034071C 0033D67C  93 C1 00 08 */	stw r30, 8(r1)
/* 80340720 0033D680  7C 7E 1B 79 */	or. r30, r3, r3
/* 80340724 0033D684  41 82 00 94 */	beq lbl_803407B8
/* 80340728 0033D688  3C 80 80 3F */	lis r4, lbl_803EE410@ha
/* 8034072C 0033D68C  38 04 E4 10 */	addi r0, r4, lbl_803EE410@l
/* 80340730 0033D690  90 1E 00 00 */	stw r0, 0(r30)
/* 80340734 0033D694  81 83 00 00 */	lwz r12, 0(r3)
/* 80340738 0033D698  81 8C 00 24 */	lwz r12, 0x24(r12)
/* 8034073C 0033D69C  7D 89 03 A6 */	mtctr r12
/* 80340740 0033D6A0  4E 80 04 21 */	bctrl
/* 80340744 0033D6A4  80 1E 00 08 */	lwz r0, 8(r30)
/* 80340748 0033D6A8  2C 00 00 00 */	cmpwi r0, 0
/* 8034074C 0033D6AC  40 81 00 0C */	ble lbl_80340758
/* 80340750 0033D6B0  7F C3 F3 78 */	mr r3, r30
/* 80340754 0033D6B4  4B FF FA 5D */	bl DebugDumpPool__11CSimplePoolCFv
lbl_80340758:
/* 80340758 0033D6B8  34 1E 00 1C */	addic. r0, r30, 0x1c
/* 8034075C 0033D6BC  41 82 00 14 */	beq lbl_80340770
/* 80340760 0033D6C0  34 1E 00 1C */	addic. r0, r30, 0x1c
/* 80340764 0033D6C4  41 82 00 0C */	beq lbl_80340770
/* 80340768 0033D6C8  38 7E 00 1C */	addi r3, r30, 0x1c
/* 8034076C 0033D6CC  4B CF 3B 99 */	bl sub_80034304
lbl_80340770:
/* 80340770 0033D6D0  34 1E 00 04 */	addic. r0, r30, 4
/* 80340774 0033D6D4  41 82 00 34 */	beq lbl_803407A8
/* 80340778 0033D6D8  34 1E 00 04 */	addic. r0, r30, 4
/* 8034077C 0033D6DC  41 82 00 2C */	beq lbl_803407A8
/* 80340780 0033D6E0  80 9E 00 14 */	lwz r4, 0x14(r30)
/* 80340784 0033D6E4  28 04 00 00 */	cmplwi r4, 0
/* 80340788 0033D6E8  41 82 00 0C */	beq lbl_80340794
/* 8034078C 0033D6EC  38 7E 00 04 */	addi r3, r30, 4
/* 80340790 0033D6F0  48 00 01 8D */	bl sub_8034091c
lbl_80340794:
/* 80340794 0033D6F4  38 00 00 00 */	li r0, 0
/* 80340798 0033D6F8  90 1E 00 14 */	stw r0, 0x14(r30)
/* 8034079C 0033D6FC  90 1E 00 0C */	stw r0, 0xc(r30)
/* 803407A0 0033D700  90 1E 00 10 */	stw r0, 0x10(r30)
/* 803407A4 0033D704  90 1E 00 08 */	stw r0, 8(r30)
lbl_803407A8:
/* 803407A8 0033D708  7F E0 07 35 */	extsh. r0, r31
/* 803407AC 0033D70C  40 81 00 0C */	ble lbl_803407B8
/* 803407B0 0033D710  7F C3 F3 78 */	mr r3, r30
/* 803407B4 0033D714  4B FD 51 7D */	bl Free__7CMemoryFPCv
lbl_803407B8:
/* 803407B8 0033D718  80 01 00 14 */	lwz r0, 0x14(r1)
/* 803407BC 0033D71C  7F C3 F3 78 */	mr r3, r30
/* 803407C0 0033D720  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 803407C4 0033D724  83 C1 00 08 */	lwz r30, 8(r1)
/* 803407C8 0033D728  7C 08 03 A6 */	mtlr r0
/* 803407CC 0033D72C  38 21 00 10 */	addi r1, r1, 0x10
/* 803407D0 0033D730  4E 80 00 20 */	blr

.global __ct__11CSimplePoolFR8IFactory
__ct__11CSimplePoolFR8IFactory:
/* 803407D4 0033D734  94 21 FF E0 */	stwu r1, -0x20(r1)
/* 803407D8 0033D738  7C 08 02 A6 */	mflr r0
/* 803407DC 0033D73C  3C A0 80 3F */	lis r5, lbl_803EE3E4@ha
/* 803407E0 0033D740  90 01 00 24 */	stw r0, 0x24(r1)
/* 803407E4 0033D744  38 05 E3 E4 */	addi r0, r5, lbl_803EE3E4@l
/* 803407E8 0033D748  88 A1 00 08 */	lbz r5, 8(r1)
/* 803407EC 0033D74C  93 E1 00 1C */	stw r31, 0x1c(r1)
/* 803407F0 0033D750  7C 7F 1B 78 */	mr r31, r3
/* 803407F4 0033D754  3C 60 80 3F */	lis r3, lbl_803EE410@ha
/* 803407F8 0033D758  93 C1 00 18 */	stw r30, 0x18(r1)
/* 803407FC 0033D75C  38 63 E4 10 */	addi r3, r3, lbl_803EE410@l
/* 80340800 0033D760  90 1F 00 00 */	stw r0, 0(r31)
/* 80340804 0033D764  38 00 00 00 */	li r0, 0
/* 80340808 0033D768  90 7F 00 00 */	stw r3, 0(r31)
/* 8034080C 0033D76C  38 61 00 14 */	addi r3, r1, 0x14
/* 80340810 0033D770  88 CD A9 48 */	lbz r6, lbl_805A9508@sda21(r13)
/* 80340814 0033D774  98 BF 00 04 */	stb r5, 4(r31)
/* 80340818 0033D778  98 DF 00 05 */	stb r6, 5(r31)
/* 8034081C 0033D77C  90 1F 00 08 */	stw r0, 8(r31)
/* 80340820 0033D780  90 1F 00 0C */	stw r0, 0xc(r31)
/* 80340824 0033D784  90 1F 00 10 */	stw r0, 0x10(r31)
/* 80340828 0033D788  90 1F 00 14 */	stw r0, 0x14(r31)
/* 8034082C 0033D78C  98 C1 00 0C */	stb r6, 0xc(r1)
/* 80340830 0033D790  90 9F 00 18 */	stw r4, 0x18(r31)
/* 80340834 0033D794  4B CF 41 21 */	bl Null__15CVParamTransferFv
/* 80340838 0033D798  80 01 00 14 */	lwz r0, 0x14(r1)
/* 8034083C 0033D79C  38 61 00 14 */	addi r3, r1, 0x14
/* 80340840 0033D7A0  90 1F 00 1C */	stw r0, 0x1c(r31)
/* 80340844 0033D7A4  80 BF 00 1C */	lwz r5, 0x1c(r31)
/* 80340848 0033D7A8  80 85 00 04 */	lwz r4, 4(r5)
/* 8034084C 0033D7AC  38 04 00 01 */	addi r0, r4, 1
/* 80340850 0033D7B0  90 05 00 04 */	stw r0, 4(r5)
/* 80340854 0033D7B4  4B CF 3A B1 */	bl sub_80034304
/* 80340858 0033D7B8  3C 80 80 3D */	lis r4, lbl_803D7A98@ha
/* 8034085C 0033D7BC  38 60 00 08 */	li r3, 8
/* 80340860 0033D7C0  38 84 7A 98 */	addi r4, r4, lbl_803D7A98@l
/* 80340864 0033D7C4  38 A0 00 00 */	li r5, 0
/* 80340868 0033D7C8  4B FD 50 05 */	bl __nw__FUlPCcPCc
/* 8034086C 0033D7CC  7C 7E 1B 79 */	or. r30, r3, r3
/* 80340870 0033D7D0  41 82 00 2C */	beq lbl_8034089C
/* 80340874 0033D7D4  3C 60 80 3E */	lis r3, __vt__4IObj@ha
/* 80340878 0033D7D8  3C 80 80 3E */	lis r4, lbl_803D9C44@ha
/* 8034087C 0033D7DC  38 03 8D 6C */	addi r0, r3, __vt__4IObj@l
/* 80340880 0033D7E0  3C 60 80 3F */	lis r3, lbl_803EE3D8@ha
/* 80340884 0033D7E4  90 1E 00 00 */	stw r0, 0(r30)
/* 80340888 0033D7E8  38 84 9C 44 */	addi r4, r4, lbl_803D9C44@l
/* 8034088C 0033D7EC  38 03 E3 D8 */	addi r0, r3, lbl_803EE3D8@l
/* 80340890 0033D7F0  90 9E 00 00 */	stw r4, 0(r30)
/* 80340894 0033D7F4  90 1E 00 00 */	stw r0, 0(r30)
/* 80340898 0033D7F8  93 FE 00 04 */	stw r31, 4(r30)
lbl_8034089C:
/* 8034089C 0033D7FC  3C 80 80 3D */	lis r4, lbl_803D7A98@ha
/* 803408A0 0033D800  38 60 00 08 */	li r3, 8
/* 803408A4 0033D804  38 84 7A 98 */	addi r4, r4, lbl_803D7A98@l
/* 803408A8 0033D808  38 A0 00 00 */	li r5, 0
/* 803408AC 0033D80C  4B FD 4F C1 */	bl __nw__FUlPCcPCc
/* 803408B0 0033D810  28 03 00 00 */	cmplwi r3, 0
/* 803408B4 0033D814  41 82 00 10 */	beq lbl_803408C4
/* 803408B8 0033D818  93 C3 00 00 */	stw r30, 0(r3)
/* 803408BC 0033D81C  38 00 00 01 */	li r0, 1
/* 803408C0 0033D820  90 03 00 04 */	stw r0, 4(r3)
lbl_803408C4:
/* 803408C4 0033D824  90 61 00 10 */	stw r3, 0x10(r1)
/* 803408C8 0033D828  38 9F 00 1C */	addi r4, r31, 0x1c
/* 803408CC 0033D82C  80 1F 00 1C */	lwz r0, 0x1c(r31)
/* 803408D0 0033D830  7C 00 18 40 */	cmplw r0, r3
/* 803408D4 0033D834  41 82 00 24 */	beq lbl_803408F8
/* 803408D8 0033D838  7C 83 23 78 */	mr r3, r4
/* 803408DC 0033D83C  4B CF 3A 29 */	bl sub_80034304
/* 803408E0 0033D840  80 01 00 10 */	lwz r0, 0x10(r1)
/* 803408E4 0033D844  90 1F 00 1C */	stw r0, 0x1c(r31)
/* 803408E8 0033D848  80 9F 00 1C */	lwz r4, 0x1c(r31)
/* 803408EC 0033D84C  80 64 00 04 */	lwz r3, 4(r4)
/* 803408F0 0033D850  38 03 00 01 */	addi r0, r3, 1
/* 803408F4 0033D854  90 04 00 04 */	stw r0, 4(r4)
lbl_803408F8:
/* 803408F8 0033D858  38 61 00 10 */	addi r3, r1, 0x10
/* 803408FC 0033D85C  4B CF 3A 09 */	bl sub_80034304
/* 80340900 0033D860  80 01 00 24 */	lwz r0, 0x24(r1)
/* 80340904 0033D864  7F E3 FB 78 */	mr r3, r31
/* 80340908 0033D868  83 E1 00 1C */	lwz r31, 0x1c(r1)
/* 8034090C 0033D86C  83 C1 00 18 */	lwz r30, 0x18(r1)
/* 80340910 0033D870  7C 08 03 A6 */	mtlr r0
/* 80340914 0033D874  38 21 00 20 */	addi r1, r1, 0x20
/* 80340918 0033D878  4E 80 00 20 */	blr

.global sub_8034091c
sub_8034091c:
/* 8034091C 0033D87C  94 21 FF F0 */	stwu r1, -0x10(r1)
/* 80340920 0033D880  7C 08 02 A6 */	mflr r0
/* 80340924 0033D884  90 01 00 14 */	stw r0, 0x14(r1)
/* 80340928 0033D888  93 E1 00 0C */	stw r31, 0xc(r1)
/* 8034092C 0033D88C  7C 9F 23 78 */	mr r31, r4
/* 80340930 0033D890  93 C1 00 08 */	stw r30, 8(r1)
/* 80340934 0033D894  7C 7E 1B 78 */	mr r30, r3
/* 80340938 0033D898  80 84 00 00 */	lwz r4, 0(r4)
/* 8034093C 0033D89C  28 04 00 00 */	cmplwi r4, 0
/* 80340940 0033D8A0  41 82 00 08 */	beq lbl_80340948
/* 80340944 0033D8A4  4B FF FF D9 */	bl sub_8034091c
lbl_80340948:
/* 80340948 0033D8A8  80 9F 00 04 */	lwz r4, 4(r31)
/* 8034094C 0033D8AC  28 04 00 00 */	cmplwi r4, 0
/* 80340950 0033D8B0  41 82 00 0C */	beq lbl_8034095C
/* 80340954 0033D8B4  7F C3 F3 78 */	mr r3, r30
/* 80340958 0033D8B8  4B FF FF C5 */	bl sub_8034091c
lbl_8034095C:
/* 8034095C 0033D8BC  28 1F 00 00 */	cmplwi r31, 0
/* 80340960 0033D8C0  41 82 00 0C */	beq lbl_8034096C
/* 80340964 0033D8C4  7F E3 FB 78 */	mr r3, r31
/* 80340968 0033D8C8  4B FD 4F C9 */	bl Free__7CMemoryFPCv
lbl_8034096C:
/* 8034096C 0033D8CC  80 01 00 14 */	lwz r0, 0x14(r1)
/* 80340970 0033D8D0  83 E1 00 0C */	lwz r31, 0xc(r1)
/* 80340974 0033D8D4  83 C1 00 08 */	lwz r30, 8(r1)
/* 80340978 0033D8D8  7C 08 03 A6 */	mtlr r0
/* 8034097C 0033D8DC  38 21 00 10 */	addi r1, r1, 0x10
/* 80340980 0033D8E0  4E 80 00 20 */	blr

.global "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi":
/* 80340984 0033D8E4  94 21 FF D0 */	stwu r1, -0x30(r1)
/* 80340988 0033D8E8  7C 08 02 A6 */	mflr r0
/* 8034098C 0033D8EC  90 01 00 34 */	stw r0, 0x34(r1)
/* 80340990 0033D8F0  93 E1 00 2C */	stw r31, 0x2c(r1)
/* 80340994 0033D8F4  7C 9F 23 78 */	mr r31, r4
/* 80340998 0033D8F8  93 C1 00 28 */	stw r30, 0x28(r1)
/* 8034099C 0033D8FC  7C 7E 1B 78 */	mr r30, r3
/* 803409A0 0033D900  93 A1 00 24 */	stw r29, 0x24(r1)
/* 803409A4 0033D904  80 03 00 08 */	lwz r0, 8(r3)
/* 803409A8 0033D908  7C 1F 00 00 */	cmpw r31, r0
/* 803409AC 0033D90C  40 81 00 B0 */	ble lbl_80340A5C
/* 803409B0 0033D910  57 E3 18 39 */	rlwinm. r3, r31, 3, 0, 0x1c
/* 803409B4 0033D914  40 82 00 0C */	bne lbl_803409C0
/* 803409B8 0033D918  3B A0 00 00 */	li r29, 0
/* 803409BC 0033D91C  48 00 00 18 */	b lbl_803409D4
lbl_803409C0:
/* 803409C0 0033D920  3C 80 80 3D */	lis r4, lbl_803D7A98@ha
/* 803409C4 0033D924  38 A0 00 00 */	li r5, 0
/* 803409C8 0033D928  38 84 7A 98 */	addi r4, r4, lbl_803D7A98@l
/* 803409CC 0033D92C  4B FD 4E 4D */	bl __nwa__FUlPCcPCc
/* 803409D0 0033D930  7C 7D 1B 78 */	mr r29, r3
lbl_803409D4:
/* 803409D4 0033D934  80 1E 00 04 */	lwz r0, 4(r30)
/* 803409D8 0033D938  7F A4 EB 78 */	mr r4, r29
/* 803409DC 0033D93C  80 BE 00 0C */	lwz r5, 0xc(r30)
/* 803409E0 0033D940  54 00 18 38 */	slwi r0, r0, 3
/* 803409E4 0033D944  7C 65 02 14 */	add r3, r5, r0
/* 803409E8 0033D948  90 A1 00 10 */	stw r5, 0x10(r1)
/* 803409EC 0033D94C  90 61 00 08 */	stw r3, 8(r1)
/* 803409F0 0033D950  90 61 00 0C */	stw r3, 0xc(r1)
/* 803409F4 0033D954  90 A1 00 14 */	stw r5, 0x14(r1)
/* 803409F8 0033D958  48 00 00 24 */	b lbl_80340A1C
lbl_803409FC:
/* 803409FC 0033D95C  28 04 00 00 */	cmplwi r4, 0
/* 80340A00 0033D960  41 82 00 14 */	beq lbl_80340A14
/* 80340A04 0033D964  80 05 00 00 */	lwz r0, 0(r5)
/* 80340A08 0033D968  90 04 00 00 */	stw r0, 0(r4)
/* 80340A0C 0033D96C  80 05 00 04 */	lwz r0, 4(r5)
/* 80340A10 0033D970  90 04 00 04 */	stw r0, 4(r4)
lbl_80340A14:
/* 80340A14 0033D974  38 84 00 08 */	addi r4, r4, 8
/* 80340A18 0033D978  38 A5 00 08 */	addi r5, r5, 8
lbl_80340A1C:
/* 80340A1C 0033D97C  7C 05 18 40 */	cmplw r5, r3
/* 80340A20 0033D980  40 82 FF DC */	bne lbl_803409FC
/* 80340A24 0033D984  80 1E 00 04 */	lwz r0, 4(r30)
/* 80340A28 0033D988  80 7E 00 0C */	lwz r3, 0xc(r30)
/* 80340A2C 0033D98C  54 00 18 38 */	slwi r0, r0, 3
/* 80340A30 0033D990  7C 64 1B 78 */	mr r4, r3
/* 80340A34 0033D994  7C 03 02 14 */	add r0, r3, r0
/* 80340A38 0033D998  48 00 00 08 */	b lbl_80340A40
lbl_80340A3C:
/* 80340A3C 0033D99C  38 84 00 08 */	addi r4, r4, 8
lbl_80340A40:
/* 80340A40 0033D9A0  7C 04 00 40 */	cmplw r4, r0
/* 80340A44 0033D9A4  40 82 FF F8 */	bne lbl_80340A3C
/* 80340A48 0033D9A8  28 03 00 00 */	cmplwi r3, 0
/* 80340A4C 0033D9AC  41 82 00 08 */	beq lbl_80340A54
/* 80340A50 0033D9B0  4B FD 4E E1 */	bl Free__7CMemoryFPCv
lbl_80340A54:
/* 80340A54 0033D9B4  93 BE 00 0C */	stw r29, 0xc(r30)
/* 80340A58 0033D9B8  93 FE 00 08 */	stw r31, 8(r30)
lbl_80340A5C:
/* 80340A5C 0033D9BC  80 01 00 34 */	lwz r0, 0x34(r1)
/* 80340A60 0033D9C0  83 E1 00 2C */	lwz r31, 0x2c(r1)
/* 80340A64 0033D9C4  83 C1 00 28 */	lwz r30, 0x28(r1)
/* 80340A68 0033D9C8  83 A1 00 24 */	lwz r29, 0x24(r1)
/* 80340A6C 0033D9CC  7C 08 03 A6 */	mtlr r0
/* 80340A70 0033D9D0  38 21 00 30 */	addi r1, r1, 0x30
/* 80340A74 0033D9D4  4E 80 00 20 */	blr

.global sub_80340a78
sub_80340a78:
/* 80340A78 0033D9D8  94 21 FF E0 */	stwu r1, -0x20(r1)
/* 80340A7C 0033D9DC  7C 08 02 A6 */	mflr r0
/* 80340A80 0033D9E0  28 05 00 00 */	cmplwi r5, 0
/* 80340A84 0033D9E4  90 01 00 24 */	stw r0, 0x24(r1)
/* 80340A88 0033D9E8  BF 61 00 0C */	stmw r27, 0xc(r1)
/* 80340A8C 0033D9EC  7C 7C 1B 78 */	mr r28, r3
/* 80340A90 0033D9F0  7C 9D 23 78 */	mr r29, r4
/* 80340A94 0033D9F4  7C DE 33 78 */	mr r30, r6
/* 80340A98 0033D9F8  40 82 00 90 */	bne lbl_80340B28
/* 80340A9C 0033D9FC  3C 80 80 3D */	lis r4, lbl_803D7A98@ha
/* 80340AA0 0033DA00  38 60 00 1C */	li r3, 0x1c
/* 80340AA4 0033DA04  38 84 7A 98 */	addi r4, r4, lbl_803D7A98@l
/* 80340AA8 0033DA08  38 A0 00 00 */	li r5, 0
/* 80340AAC 0033DA0C  4B FD 4D 6D */	bl __nwa__FUlPCcPCc
/* 80340AB0 0033DA10  28 03 00 00 */	cmplwi r3, 0
/* 80340AB4 0033DA14  41 82 00 38 */	beq lbl_80340AEC
/* 80340AB8 0033DA18  38 00 00 00 */	li r0, 0
/* 80340ABC 0033DA1C  34 83 00 10 */	addic. r4, r3, 0x10
/* 80340AC0 0033DA20  90 03 00 00 */	stw r0, 0(r3)
/* 80340AC4 0033DA24  90 03 00 04 */	stw r0, 4(r3)
/* 80340AC8 0033DA28  90 03 00 08 */	stw r0, 8(r3)
/* 80340ACC 0033DA2C  90 03 00 0C */	stw r0, 0xc(r3)
/* 80340AD0 0033DA30  41 82 00 1C */	beq lbl_80340AEC
/* 80340AD4 0033DA34  80 1E 00 00 */	lwz r0, 0(r30)
/* 80340AD8 0033DA38  90 04 00 00 */	stw r0, 0(r4)
/* 80340ADC 0033DA3C  80 1E 00 04 */	lwz r0, 4(r30)
/* 80340AE0 0033DA40  90 04 00 04 */	stw r0, 4(r4)
/* 80340AE4 0033DA44  80 1E 00 08 */	lwz r0, 8(r30)
/* 80340AE8 0033DA48  90 04 00 08 */	stw r0, 8(r4)
lbl_80340AEC:
/* 80340AEC 0033DA4C  90 7D 00 10 */	stw r3, 0x10(r29)
/* 80340AF0 0033DA50  38 1D 00 08 */	addi r0, r29, 8
/* 80340AF4 0033DA54  80 7D 00 04 */	lwz r3, 4(r29)
/* 80340AF8 0033DA58  38 63 00 01 */	addi r3, r3, 1
/* 80340AFC 0033DA5C  90 7D 00 04 */	stw r3, 4(r29)
/* 80340B00 0033DA60  80 7D 00 10 */	lwz r3, 0x10(r29)
/* 80340B04 0033DA64  90 7D 00 08 */	stw r3, 8(r29)
/* 80340B08 0033DA68  80 7D 00 10 */	lwz r3, 0x10(r29)
/* 80340B0C 0033DA6C  90 7D 00 0C */	stw r3, 0xc(r29)
/* 80340B10 0033DA70  80 7D 00 10 */	lwz r3, 0x10(r29)
/* 80340B14 0033DA74  90 7C 00 00 */	stw r3, 0(r28)
/* 80340B18 0033DA78  90 1C 00 04 */	stw r0, 4(r28)
/* 80340B1C 0033DA7C  88 0D 9D 50 */	lbz r0, lbl_805A8910@sda21(r13)
/* 80340B20 0033DA80  98 1C 00 08 */	stb r0, 8(r28)
/* 80340B24 0033DA84  48 00 01 8C */	b lbl_80340CB0
lbl_80340B28:
/* 80340B28 0033DA88  7C BF 2B 78 */	mr r31, r5
/* 80340B2C 0033DA8C  3B 60 00 00 */	li r27, 0
/* 80340B30 0033DA90  48 00 01 4C */	b lbl_80340C7C
lbl_80340B34:
/* 80340B34 0033DA94  80 7E 00 04 */	lwz r3, 4(r30)
/* 80340B38 0033DA98  80 9F 00 14 */	lwz r4, 0x14(r31)
/* 80340B3C 0033DA9C  7C 80 1A 78 */	xor r0, r4, r3
/* 80340B40 0033DAA0  7C 00 00 34 */	cntlzw r0, r0
/* 80340B44 0033DAA4  7C 80 00 30 */	slw r0, r4, r0
/* 80340B48 0033DAA8  54 00 0F FF */	rlwinm. r0, r0, 1, 0x1f, 0x1f
/* 80340B4C 0033DAAC  40 82 00 24 */	bne lbl_80340B70
/* 80340B50 0033DAB0  7C 04 18 40 */	cmplw r4, r3
/* 80340B54 0033DAB4  41 80 00 1C */	blt lbl_80340B70
/* 80340B58 0033DAB8  93 FC 00 00 */	stw r31, 0(r28)
/* 80340B5C 0033DABC  38 1D 00 08 */	addi r0, r29, 8
/* 80340B60 0033DAC0  90 1C 00 04 */	stw r0, 4(r28)
/* 80340B64 0033DAC4  88 0D 9D 51 */	lbz r0, lbl_805A8911@sda21(r13)
/* 80340B68 0033DAC8  98 1C 00 08 */	stb r0, 8(r28)
/* 80340B6C 0033DACC  48 00 01 44 */	b lbl_80340CB0
lbl_80340B70:
/* 80340B70 0033DAD0  28 00 00 00 */	cmplwi r0, 0
/* 80340B74 0033DAD4  41 82 00 88 */	beq lbl_80340BFC
/* 80340B78 0033DAD8  80 1F 00 00 */	lwz r0, 0(r31)
/* 80340B7C 0033DADC  28 00 00 00 */	cmplwi r0, 0
/* 80340B80 0033DAE0  40 82 00 74 */	bne lbl_80340BF4
/* 80340B84 0033DAE4  3C 80 80 3D */	lis r4, lbl_803D7A98@ha
/* 80340B88 0033DAE8  38 60 00 1C */	li r3, 0x1c
/* 80340B8C 0033DAEC  38 84 7A 98 */	addi r4, r4, lbl_803D7A98@l
/* 80340B90 0033DAF0  38 A0 00 00 */	li r5, 0
/* 80340B94 0033DAF4  4B FD 4C 85 */	bl __nwa__FUlPCcPCc
/* 80340B98 0033DAF8  28 03 00 00 */	cmplwi r3, 0
/* 80340B9C 0033DAFC  41 82 00 3C */	beq lbl_80340BD8
/* 80340BA0 0033DB00  38 80 00 00 */	li r4, 0
/* 80340BA4 0033DB04  34 A3 00 10 */	addic. r5, r3, 0x10
/* 80340BA8 0033DB08  90 83 00 00 */	stw r4, 0(r3)
/* 80340BAC 0033DB0C  38 00 00 01 */	li r0, 1
/* 80340BB0 0033DB10  90 83 00 04 */	stw r4, 4(r3)
/* 80340BB4 0033DB14  93 E3 00 08 */	stw r31, 8(r3)
/* 80340BB8 0033DB18  90 03 00 0C */	stw r0, 0xc(r3)
/* 80340BBC 0033DB1C  41 82 00 1C */	beq lbl_80340BD8
/* 80340BC0 0033DB20  80 1E 00 00 */	lwz r0, 0(r30)
/* 80340BC4 0033DB24  90 05 00 00 */	stw r0, 0(r5)
/* 80340BC8 0033DB28  80 1E 00 04 */	lwz r0, 4(r30)
/* 80340BCC 0033DB2C  90 05 00 04 */	stw r0, 4(r5)
/* 80340BD0 0033DB30  80 1E 00 08 */	lwz r0, 8(r30)
/* 80340BD4 0033DB34  90 05 00 08 */	stw r0, 8(r5)
lbl_80340BD8:
/* 80340BD8 0033DB38  90 7F 00 00 */	stw r3, 0(r31)
/* 80340BDC 0033DB3C  7C 7B 1B 78 */	mr r27, r3
/* 80340BE0 0033DB40  80 1D 00 08 */	lwz r0, 8(r29)
/* 80340BE4 0033DB44  7C 1F 00 40 */	cmplw r31, r0
/* 80340BE8 0033DB48  40 82 00 94 */	bne lbl_80340C7C
/* 80340BEC 0033DB4C  90 7D 00 08 */	stw r3, 8(r29)
/* 80340BF0 0033DB50  48 00 00 8C */	b lbl_80340C7C
lbl_80340BF4:
/* 80340BF4 0033DB54  7C 1F 03 78 */	mr r31, r0
/* 80340BF8 0033DB58  48 00 00 84 */	b lbl_80340C7C
lbl_80340BFC:
/* 80340BFC 0033DB5C  80 1F 00 04 */	lwz r0, 4(r31)
/* 80340C00 0033DB60  28 00 00 00 */	cmplwi r0, 0
/* 80340C04 0033DB64  40 82 00 74 */	bne lbl_80340C78
/* 80340C08 0033DB68  3C 80 80 3D */	lis r4, lbl_803D7A98@ha
/* 80340C0C 0033DB6C  38 60 00 1C */	li r3, 0x1c
/* 80340C10 0033DB70  38 84 7A 98 */	addi r4, r4, lbl_803D7A98@l
/* 80340C14 0033DB74  38 A0 00 00 */	li r5, 0
/* 80340C18 0033DB78  4B FD 4C 01 */	bl __nwa__FUlPCcPCc
/* 80340C1C 0033DB7C  28 03 00 00 */	cmplwi r3, 0
/* 80340C20 0033DB80  41 82 00 3C */	beq lbl_80340C5C
/* 80340C24 0033DB84  38 80 00 00 */	li r4, 0
/* 80340C28 0033DB88  34 A3 00 10 */	addic. r5, r3, 0x10
/* 80340C2C 0033DB8C  90 83 00 00 */	stw r4, 0(r3)
/* 80340C30 0033DB90  38 00 00 01 */	li r0, 1
/* 80340C34 0033DB94  90 83 00 04 */	stw r4, 4(r3)
/* 80340C38 0033DB98  93 E3 00 08 */	stw r31, 8(r3)
/* 80340C3C 0033DB9C  90 03 00 0C */	stw r0, 0xc(r3)
/* 80340C40 0033DBA0  41 82 00 1C */	beq lbl_80340C5C
/* 80340C44 0033DBA4  80 1E 00 00 */	lwz r0, 0(r30)
/* 80340C48 0033DBA8  90 05 00 00 */	stw r0, 0(r5)
/* 80340C4C 0033DBAC  80 1E 00 04 */	lwz r0, 4(r30)
/* 80340C50 0033DBB0  90 05 00 04 */	stw r0, 4(r5)
/* 80340C54 0033DBB4  80 1E 00 08 */	lwz r0, 8(r30)
/* 80340C58 0033DBB8  90 05 00 08 */	stw r0, 8(r5)
lbl_80340C5C:
/* 80340C5C 0033DBBC  90 7F 00 04 */	stw r3, 4(r31)
/* 80340C60 0033DBC0  7C 7B 1B 78 */	mr r27, r3
/* 80340C64 0033DBC4  80 1D 00 0C */	lwz r0, 0xc(r29)
/* 80340C68 0033DBC8  7C 1F 00 40 */	cmplw r31, r0
/* 80340C6C 0033DBCC  40 82 00 10 */	bne lbl_80340C7C
/* 80340C70 0033DBD0  90 7D 00 0C */	stw r3, 0xc(r29)
/* 80340C74 0033DBD4  48 00 00 08 */	b lbl_80340C7C
lbl_80340C78:
/* 80340C78 0033DBD8  7C 1F 03 78 */	mr r31, r0
lbl_80340C7C:
/* 80340C7C 0033DBDC  28 1B 00 00 */	cmplwi r27, 0
/* 80340C80 0033DBE0  41 82 FE B4 */	beq lbl_80340B34
/* 80340C84 0033DBE4  80 BD 00 04 */	lwz r5, 4(r29)
/* 80340C88 0033DBE8  7F 64 DB 78 */	mr r4, r27
/* 80340C8C 0033DBEC  38 7D 00 08 */	addi r3, r29, 8
/* 80340C90 0033DBF0  38 05 00 01 */	addi r0, r5, 1
/* 80340C94 0033DBF4  90 1D 00 04 */	stw r0, 4(r29)
/* 80340C98 0033DBF8  4B FF BE 01 */	bl rbtree_rebalance__4rstlFPvPv
/* 80340C9C 0033DBFC  93 7C 00 00 */	stw r27, 0(r28)
/* 80340CA0 0033DC00  38 1D 00 08 */	addi r0, r29, 8
/* 80340CA4 0033DC04  90 1C 00 04 */	stw r0, 4(r28)
/* 80340CA8 0033DC08  88 0D 9D 52 */	lbz r0, lbl_805A8912@sda21(r13)
/* 80340CAC 0033DC0C  98 1C 00 08 */	stb r0, 8(r28)
lbl_80340CB0:
/* 80340CB0 0033DC10  BB 61 00 0C */	lmw r27, 0xc(r1)
/* 80340CB4 0033DC14  80 01 00 24 */	lwz r0, 0x24(r1)
/* 80340CB8 0033DC18  7C 08 03 A6 */	mtlr r0
/* 80340CBC 0033DC1C  38 21 00 20 */	addi r1, r1, 0x20
/* 80340CC0 0033DC20  4E 80 00 20 */	blr

.section .rodata
.balign 8
.global lbl_803D7A98
lbl_803D7A98:
	# ROM: 0x3D4A98
	.asciz "??(??)"
	.balign 4