	.file	"mytextinit.cpp"
@ GNU C++ version 3.3.2 (arm-thumb-elf)
@	compiled by GNU C version 3.3.1 (cygming special).
@ GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=65463
@ options passed:  -fpreprocessed -mthumb-interwork -mlong-calls
@ -auxbase-strip -O2 -Wall -fverbose-asm
@ options enabled:  -fdefer-pop -fomit-frame-pointer
@ -foptimize-sibling-calls -fcse-follow-jumps -fcse-skip-blocks
@ -fexpensive-optimizations -fthread-jumps -fstrength-reduce -fpeephole
@ -fforce-mem -ffunction-cse -fkeep-static-consts -fcaller-saves
@ -freg-struct-return -fgcse -fgcse-lm -fgcse-sm -floop-optimize
@ -fcrossjumping -fif-conversion -fif-conversion2 -frerun-cse-after-loop
@ -frerun-loop-opt -fdelete-null-pointer-checks -fschedule-insns
@ -fschedule-insns2 -fsched-interblock -fsched-spec -fbranch-count-reg
@ -fexceptions -freorder-blocks -freorder-functions -fcprop-registers
@ -fcommon -fverbose-asm -fgnu-linker -fregmove -foptimize-register-move
@ -fargument-alias -fstrict-aliasing -fmerge-constants
@ -fzero-initialized-in-bss -fident -fpeephole2 -fguess-branch-probability
@ -fmath-errno -ftrapping-math -mapcs -mapcs-frame -mapcs-32 -msoft-float
@ -mthumb-interwork -mlong-calls

	.bss
	.align	2
_ZSt8__ioinit:
	.space	4
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"X\000"
	.align	2
.LC1:
	.ascii	"Y\000"
	.align	2
.LC2:
	.ascii	"Map\000"
	.align	2
.LC3:
	.ascii	"Textnum\000"
	.align	2
.LC4:
	.ascii	"Musicnum\000"
	.align	2
.LC5:
	.ascii	"Dir\000"
	.align	2
.LC6:
	.ascii	"Hp\000"
	.align	2
.LC7:
	.ascii	"Maxhp\000"
	.align	2
.LC8:
	.ascii	"Mp\000"
	.align	2
.LC9:
	.ascii	"Maxmp\000"
	.align	2
.LC10:
	.ascii	"Exp\000"
	.align	2
.LC11:
	.ascii	"Level\000"
	.align	2
.LC12:
	.ascii	"Playerstate\000"
	.text
	.align	2
	.global	_Z10myTextInitv
	.type	_Z10myTextInitv, %function
_Z10myTextInitv:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 300
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, sl, fp, ip, lr, pc}
	ldr	r7, .L52
	sub	fp, ip, #4
	sub	sp, sp, #568
	ldrsh	r2, [r7, #6]	@  watashi.textnum
	ldr	r3, .L52+4
	cmp	r2, #12
	mov	r0, #20	@ movhi
	strh	r0, [r3, #0]	@ movhi 	@  delay
	ldreqh	r1, [r7, #14]	@ movhi	@  watashi.maxhp
	ldreqh	r0, [r7, #18]	@ movhi	@  watashi.maxmp
	streqh	r1, [r7, #12]	@ movhi 	@  watashi.hp
	streqh	r0, [r7, #16]	@ movhi 	@  watashi.mp
	cmp	r2, #11
	ldrh	r3, [r7, #6]	@  watashi.textnum
	beq	.L43
.L3:
	cmp	r3, #17
	beq	.L44
.L4:
	ldrsh	r3, [r7, #6]	@  watashi.textnum
	cmp	r3, #17
	ldreq	r3, [r7, #28]	@  watashi.playerstate
	orreq	r3, r3, #1
	streq	r3, [r7, #28]	@  watashi.playerstate
	ldr	r1, .L52
	mov	r3, #1376256
	ldr	r2, [r1, #4]
	add	r3, r3, #10
	cmp	r2, r3
	beq	.L45
.L6:
	ldr	r2, [r7, #4]
	mov	r3, #1376256
	add	r3, r3, #10
	cmp	r2, r3
	ldreq	r3, [r7, #28]	@  watashi.playerstate
	orreq	r3, r3, #2
	streq	r3, [r7, #28]	@  watashi.playerstate
	mov	r3, #1376256
	add	r3, r3, #11
	cmp	r2, r3
	ldr	r1, .L52
	beq	.L46
.L8:
	ldr	r2, [r7, #4]
	mov	r3, #1376256
	add	r3, r3, #11
	cmp	r2, r3
	ldreq	r3, [r7, #28]	@  watashi.playerstate
	orreq	r3, r3, #4
	streq	r3, [r7, #28]	@  watashi.playerstate
	mov	r3, #1376256
	add	r3, r3, #15
	cmp	r2, r3
	ldr	r1, .L52
	beq	.L47
.L10:
	ldr	r2, [r7, #4]
	mov	r3, #1376256
	add	r3, r3, #15
	cmp	r2, r3
	ldreq	r3, [r7, #28]	@  watashi.playerstate
	orreq	r3, r3, #8
	streq	r3, [r7, #28]	@  watashi.playerstate
	mov	r3, #1376256
	add	r3, r3, #16
	cmp	r2, r3
	ldr	r1, .L52
	beq	.L48
.L12:
	ldr	r2, [r7, #4]
	mov	r3, #1376256
	add	r3, r3, #16
	cmp	r2, r3
	ldreq	r3, [r7, #28]	@  watashi.playerstate
	orreq	r3, r3, #16
	streq	r3, [r7, #28]	@  watashi.playerstate
	mov	r3, #1376256
	add	r3, r3, #17
	cmp	r2, r3
	ldr	r1, .L52
	beq	.L49
.L14:
	ldr	r2, [r7, #4]
	mov	r3, #1376256
	add	r3, r3, #17
	cmp	r2, r3
	ldreq	r3, [r7, #28]	@  watashi.playerstate
	ldr	r1, .L52
	orreq	r3, r3, #32
	streq	r3, [r7, #28]	@  watashi.playerstate
	ldrsh	r3, [r1, #6]	@  watashi.textnum
	cmp	r3, #9
	beq	.L50
.L16:
	ldrsh	r3, [r7, #6]	@  watashi.textnum
	cmp	r3, #9
	beq	.L51
.L21:
	ldr	r6, .L52+8
	ldr	r5, .L52+12
	mov	r4, #0	@  x
.L26:
	ldrb	r0, [r6, r4]	@ zero_extendqisi2	@  sprites
	mov	r1, #0
	add	r4, r4, #1	@  x,  x
	mov	lr, pc
	bx	r5
	cmp	r4, #118	@  x
	ble	.L26
	ldr	r0, .L52+16
	ldr	r3, .L52+20
	mov	lr, pc
	bx	r3
	sub	r4, fp, #336
	ldr	r3, .L52+24
	mov	r0, #2
	mov	r1, #1
	mov	lr, pc
	bx	r3
	ldr	r6, .L52+28
	ldr	r1, .L52+16
	mov	r2, #268
	mov	r0, r4
	mov	lr, pc
	bx	r6
	mov	r5, #0	@  x
	mov	r3, #29
	mov	ip, #19
	sub	r1, fp, #320
	mov	r2, #252
	str	r3, [sp, #260]
	str	ip, [sp, #264]
	mov	r0, sp
	str	r5, [sp, #252]	@  x
	str	r5, [sp, #256]	@  x
	mov	lr, pc
	bx	r6
	ldmia	r4, {r0, r1, r2, r3}
	ldr	ip, .L52+32
	mov	lr, pc
	bx	ip
	ldrsh	r3, [r7, #6]	@  watashi.textnum
	ldr	sl, .L52+36
	mov	r3, r3, asl #1
	ldrh	r2, [r3, sl]	@  textlength
	ldr	r1, .L52+40
	mov	r2, r2, lsr #2
	umull	r0, r3, r1, r2
	mov	r3, r3, asl #16
	cmp	r5, r3, lsr #16	@  x
	mov	r4, r5	@  x,  x
	bgt	.L40
	ldr	r8, .L52+44
	ldr	r6, .L52+48
	sub	r5, fp, #68
.L36:
	ldrsh	r3, [r7, #6]	@  watashi.textnum
	rsb	r2, r4, r4, asl #3	@  x,  x
	ldr	lr, [r8, r3, asl #2]	@  text
	mov	ip, r2, asl #2
	mov	r1, #0	@  y
	sub	r0, fp, #36
.L35:
	add	r3, ip, r1	@  y
	ldrb	r2, [lr, r3]	@ zero_extendqisi2
	add	r1, r1, #1	@  y,  y
	cmp	r1, #27	@  y
	strb	r2, [r0, #-32]	@  tempy
	add	r0, r0, #1
	ble	.L35
	add	r4, r4, #1	@  x,  x
	mov	ip, #0
	ldr	r0, .L52+16
	mov	r1, #1
	mov	r2, r4	@  x
	mov	r3, r5
	strb	ip, [fp, #-40]	@  tempy
	mov	lr, pc
	bx	r6
	ldrsh	r3, [r7, #6]	@  watashi.textnum
	mov	r3, r3, asl #1
	ldrh	r2, [r3, sl]	@  textlength
	ldr	r1, .L52+40
	mov	r2, r2, lsr #2
	umull	r0, r3, r1, r2
	mov	r3, r3, asl #16
	cmp	r4, r3, lsr #16	@  x
	ble	.L36
.L40:
	ldmea	fp, {r4, r5, r6, r7, r8, sl, fp, sp, lr}
	bx	lr
.L51:
	ldr	r2, [r7, #28]
	and	r3, r2, #254
	cmp	r3, #254
	moveq	r1, #23	@ movhi
	streqh	r1, [r7, #6]	@ movhi 	@  watashi.textnum
	orreq	r3, r2, #256
	streq	r3, [r7, #28]	@  watashi.playerstate
	ldrsh	r3, [r7, #6]	@  watashi.textnum
	cmp	r3, #9
	bne	.L21
	ldr	r3, [r7, #28]
	and	r3, r3, #198
	cmp	r3, #198
	moveq	r3, #6	@ movhi
	streqh	r3, [r7, #6]	@ movhi 	@  watashi.textnum
	ldrsh	r3, [r7, #6]	@  watashi.textnum
	cmp	r3, #9
	bne	.L21
	ldr	r2, [r7, #28]
	and	r3, r2, #70
	cmp	r3, #70
	moveq	r0, #22	@ movhi
	streqh	r0, [r7, #6]	@ movhi 	@  watashi.textnum
	orreq	r3, r2, #128
	streq	r3, [r7, #28]	@  watashi.playerstate
	ldrsh	r3, [r7, #6]	@  watashi.textnum
	cmp	r3, #9
	bne	.L21
	ldr	r3, [r7, #28]	@  watashi.playerstate
	tst	r3, #64
	movne	r1, #6	@ movhi
	strneh	r1, [r7, #6]	@ movhi 	@  watashi.textnum
	ldrsh	r3, [r7, #6]	@  watashi.textnum
	cmp	r3, #9
	ldreq	r3, [r7, #28]	@  watashi.playerstate
	orreq	r3, r3, #64
	streq	r3, [r7, #28]	@  watashi.playerstate
	b	.L21
.L50:
	ldr	r3, [r1, #28]
	bic	r3, r3, #1
	mov	r2, #508
	mov	r3, r3, asl #23
	add	r2, r2, #2
	mov	r3, r3, lsr #23
	cmp	r3, r2
	moveq	r0, #24	@ movhi
	streqh	r0, [r1, #6]	@ movhi 	@  watashi.textnum
	b	.L16
.L49:
	ldr	r3, [r1, #28]	@  watashi.playerstate
	tst	r3, #32
	movne	r3, #7	@ movhi
	strneh	r3, [r1, #6]	@ movhi 	@  watashi.textnum
	b	.L14
.L48:
	ldr	r3, [r1, #28]	@  watashi.playerstate
	tst	r3, #16
	movne	r0, #7	@ movhi
	strneh	r0, [r1, #6]	@ movhi 	@  watashi.textnum
	b	.L12
.L47:
	ldr	r3, [r1, #28]	@  watashi.playerstate
	tst	r3, #8
	movne	r3, #7	@ movhi
	strneh	r3, [r1, #6]	@ movhi 	@  watashi.textnum
	b	.L10
.L46:
	ldr	r3, [r1, #28]	@  watashi.playerstate
	tst	r3, #4
	movne	r0, #7	@ movhi
	strneh	r0, [r1, #6]	@ movhi 	@  watashi.textnum
	b	.L8
.L45:
	ldr	r3, [r1, #28]	@  watashi.playerstate
	tst	r3, #2
	movne	r3, #7	@ movhi
	strneh	r3, [r1, #6]	@ movhi 	@  watashi.textnum
	b	.L6
.L44:
	ldr	r3, [r7, #28]	@  watashi.playerstate
	tst	r3, #1
	movne	r1, #8	@ movhi
	strneh	r1, [r7, #6]	@ movhi 	@  watashi.textnum
	b	.L4
.L43:
	ldr	r4, .L52+52
	ldrsh	r1, [r7, #0]	@  tempint,  watashi.x
	ldr	r0, .L52+56
	mov	lr, pc
	bx	r4
	ldrsh	r1, [r7, #2]	@  tempint,  watashi.y
	ldr	r0, .L52+60
	mov	lr, pc
	bx	r4
	ldrsh	r1, [r7, #4]	@  tempint,  watashi.map
	ldr	r0, .L52+64
	mov	lr, pc
	bx	r4
	ldrsh	r1, [r7, #6]	@  tempint,  watashi.textnum
	ldr	r0, .L52+68
	mov	lr, pc
	bx	r4
	ldrsh	r1, [r7, #8]	@  tempint,  watashi.musicnum
	ldr	r0, .L52+72
	mov	lr, pc
	bx	r4
	ldrsh	r1, [r7, #10]	@  tempint,  watashi.dir
	ldr	r0, .L52+76
	mov	lr, pc
	bx	r4
	ldrsh	r1, [r7, #12]	@  tempint,  watashi.hp
	ldr	r0, .L52+80
	mov	lr, pc
	bx	r4
	ldrsh	r1, [r7, #14]	@  tempint,  watashi.maxhp
	ldr	r0, .L52+84
	mov	lr, pc
	bx	r4
	ldrsh	r1, [r7, #16]	@  tempint,  watashi.mp
	ldr	r0, .L52+88
	mov	lr, pc
	bx	r4
	ldrsh	r1, [r7, #18]	@  tempint,  watashi.maxmp
	ldr	r0, .L52+92
	mov	lr, pc
	bx	r4
	ldr	r1, [r7, #20]	@  tempint,  watashi.exp
	ldr	r0, .L52+96
	mov	lr, pc
	bx	r4
	ldrsh	r1, [r7, #24]	@  tempint,  watashi.level
	ldr	r0, .L52+100
	mov	lr, pc
	bx	r4
	ldr	r1, [r7, #28]	@  tempint,  watashi.playerstate
	ldr	r0, .L52+104
	mov	lr, pc
	bx	r4
	ldrh	r3, [r7, #6]	@  watashi.textnum
	b	.L3
.L53:
	.align	2
.L52:
	.word	watashi
	.word	delay
	.word	sprites
	.word	ham_SetObjVisible
	.word	g_TextInfo
	.word	hel_CustomTextClear
	.word	ham_SetBgVisible
	.word	memcpy
	.word	_Z11drawTextBox15TCustomTextInfossss
	.word	textlength
	.word	613566757
	.word	text
	.word	hel_CustomTextPrint
	.word	ham_SaveIntToRAM
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	_Z10myTextInitv, .-_Z10myTextInitv
	.align	2
	.type	_Z41__static_initialization_and_destruction_0ii, %function
_Z41__static_initialization_and_destruction_0ii:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, fp, ip, lr, pc}
	mov	r4, #65280
	add	r4, r4, #255
	cmp	r1, r4	@  __priority
	cmpeq	r0, #1	@  __initialize_p
	mov	r6, r0	@  __initialize_p
	sub	fp, ip, #4
	mov	r5, r1	@  __priority
	ldr	r0, .L59
	beq	.L57
.L55:
	cmp	r5, r4	@  __priority
	cmpeq	r6, #0	@  __initialize_p
	ldr	r0, .L59
	beq	.L58
.L54:
	ldmea	fp, {r4, r5, r6, fp, sp, lr}
	bx	lr
.L58:
	ldr	r3, .L59+4
	mov	lr, pc
	bx	r3
	b	.L54
.L57:
	ldr	r3, .L59+8
	mov	lr, pc
	bx	r3
	b	.L55
.L60:
	.align	2
.L59:
	.word	_ZSt8__ioinit
	.word	_ZNSt8ios_base4InitD1Ev
	.word	_ZNSt8ios_base4InitC1Ev
	.size	_Z41__static_initialization_and_destruction_0ii, .-_Z41__static_initialization_and_destruction_0ii
	.weak	_ZNSt15basic_streambufIcSt11char_traitsIcEE13_S_pback_sizeE
	.section	.gnu.linkonce.r._ZNSt15basic_streambufIcSt11char_traitsIcEE13_S_pback_sizeE,"a",%progbits
	.align	2
	.type	_ZNSt15basic_streambufIcSt11char_traitsIcEE13_S_pback_sizeE, %object
	.size	_ZNSt15basic_streambufIcSt11char_traitsIcEE13_S_pback_sizeE, 4
_ZNSt15basic_streambufIcSt11char_traitsIcEE13_S_pback_sizeE:
	.word	1
	.text
	.align	2
	.type	_GLOBAL__I__Z10myTextInitv, %function
_GLOBAL__I__Z10myTextInitv:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r1, #65280
	add	r1, r1, #255
	mov	r0, #1
	@ lr needed for prologue
	b	_Z41__static_initialization_and_destruction_0ii
	.size	_GLOBAL__I__Z10myTextInitv, .-_GLOBAL__I__Z10myTextInitv
	.section	.ctors,"aw",%progbits
	.align	2
	.word	_GLOBAL__I__Z10myTextInitv
	.text
	.align	2
	.type	_GLOBAL__D__Z10myTextInitv, %function
_GLOBAL__D__Z10myTextInitv:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r1, #65280
	add	r1, r1, #255
	mov	r0, #0
	@ lr needed for prologue
	b	_Z41__static_initialization_and_destruction_0ii
	.size	_GLOBAL__D__Z10myTextInitv, .-_GLOBAL__D__Z10myTextInitv
	.section	.dtors,"aw",%progbits
	.align	2
	.word	_GLOBAL__D__Z10myTextInitv
	.ident	"GCC: (GNU) 3.3.2"
