	.file	"mybattleinit.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	"HP: %d/%d\000"
	.align	2
.LC1:
	.ascii	"Celes\000"
	.align	2
.LC2:
	.ascii	"Level: %d  \000"
	.align	2
.LC3:
	.ascii	"HP: %d/%d  \000"
	.align	2
.LC4:
	.ascii	"MP: %d/%d  \000"
	.align	2
.LC5:
	.ascii	">\000"
	.align	2
.LC6:
	.ascii	"Attack\000"
	.align	2
.LC7:
	.ascii	"Hurt Spell\000"
	.align	2
.LC8:
	.ascii	"Heal Spell\000"
	.align	2
.LC9:
	.ascii	"Flee\000"
	.text
	.align	2
	.global	_Z12myBattleInitv
	.type	_Z12myBattleInitv, %function
_Z12myBattleInitv:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	ldr	r3, .L9
	sub	fp, ip, #4
	sub	sp, sp, #556
	mov	r1, #20	@ movhi
	ldr	sl, .L9+4
	ldr	r5, .L9+8
	strh	r1, [r3, #0]	@ movhi 	@  delay
	mov	r4, #0	@  x
.L6:
	ldrb	r0, [sl, r4]	@ zero_extendqisi2	@  sprites
	mov	r1, #0
	add	r4, r4, #1	@  x,  x
	mov	lr, pc
	bx	r5
	cmp	r4, #118	@  x
	ble	.L6
	ldr	r2, .L9+12
	ldr	ip, .L9+16
	ldrsh	r3, [r2, #26]	@  watashi.monster
	add	r3, ip, r3, asl #5
	ldrh	r2, [r3, #22]	@ movhi	@  <variable>.maxhp
	ldr	r0, [r3, #16]	@  <variable>.palette
	strh	r2, [r3, #20]	@ movhi 	@  <variable>.hp
	mov	r1, #15
	ldr	r2, .L9+20
	mov	lr, pc
	bx	r2
	ldr	ip, .L9+12
	ldr	r1, .L9+16
	ldrsh	r3, [ip, #26]	@  watashi.monster
	mov	r4, #0
	mov	r6, #128
	mov	r7, #24
	mov	ip, #15
	ldr	r0, [r1, r3, asl #5]	@  <variable>.spritenw
	ldr	r5, .L9+24
	mov	r1, r4
	mov	r3, r4
	stmia	sp, {r4, ip}	@ phole stm
	str	r4, [sp, #8]
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r4, [sp, #20]
	str	r4, [sp, #24]
	str	r6, [sp, #28]
	str	r7, [sp, #32]
	mov	r2, #2
	mov	lr, pc
	bx	r5
	ldr	r1, .L9+12
	ldr	r2, .L9+16
	ldrsh	r3, [r1, #26]	@  watashi.monster
	mov	ip, r0
	add	r3, r2, r3, asl #5
	ldr	r0, [r3, #4]	@  <variable>.spritesw
	mov	r8, #56
	strb	ip, [sl, #120]	@  sprites
	mov	ip, #15
	mov	r1, r4
	mov	r3, r4
	str	r6, [sp, #28]
	stmia	sp, {r4, ip}	@ phole stm
	str	r4, [sp, #8]
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r4, [sp, #20]
	str	r4, [sp, #24]
	str	r8, [sp, #32]
	mov	r2, #2
	mov	lr, pc
	bx	r5
	ldr	r1, .L9+12
	ldr	r2, .L9+16
	ldrsh	r3, [r1, #26]	@  watashi.monster
	mov	ip, r0
	add	r3, r2, r3, asl #5
	ldr	r0, [r3, #8]	@  <variable>.spritene
	mov	r6, #160
	strb	ip, [sl, #121]	@  sprites
	mov	ip, #15
	mov	r1, r4
	mov	r3, r4
	str	r7, [sp, #32]
	stmia	sp, {r4, ip}	@ phole stm
	str	r4, [sp, #8]
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r4, [sp, #20]
	str	r4, [sp, #24]
	str	r6, [sp, #28]
	mov	r2, #2
	mov	lr, pc
	bx	r5
	ldr	r1, .L9+12
	ldr	r2, .L9+16
	ldrsh	r3, [r1, #26]	@  watashi.monster
	mov	ip, r0
	add	r3, r2, r3, asl #5
	ldr	r0, [r3, #12]	@  <variable>.spritese
	strb	ip, [sl, #122]	@  sprites
	mov	ip, #15
	str	ip, [sp, #4]
	mov	r3, r4
	mov	r1, r4
	str	r6, [sp, #28]
	str	r8, [sp, #32]
	str	r4, [sp, #0]
	str	r4, [sp, #8]
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r4, [sp, #20]
	str	r4, [sp, #24]
	mov	r2, #2
	mov	lr, pc
	bx	r5
	mov	r2, r0
	sub	r5, fp, #328
	strb	r2, [sl, #123]	@  sprites
	ldr	r3, .L9+28
	mov	r0, #2
	mov	r1, #1
	ldr	r6, .L9+32
	mov	lr, pc
	bx	r3
	ldr	r1, .L9+36
	mov	r2, #268
	mov	r0, r5
	mov	lr, pc
	bx	r6
	sub	sl, fp, #312
	mov	ip, #19
	mov	r3, #29
	str	ip, [sp, #264]
	mov	r1, sl
	str	r4, [sp, #256]
	str	r3, [sp, #260]
	str	r4, [sp, #252]
	mov	r2, #252
	mov	r0, sp
	ldr	r8, .L9+40
	mov	lr, pc
	bx	r6
	ldmia	r5, {r0, r1, r2, r3}
	mov	lr, pc
	bx	r8
	mov	r0, r5
	ldr	r1, .L9+36
	mov	r2, #268
	mov	lr, pc
	bx	r6
	mov	r4, #1
	mov	r7, #12
	mov	r3, #3
	mov	r1, sl
	str	r4, [sp, #252]
	str	r4, [sp, #256]
	str	r7, [sp, #260]
	str	r3, [sp, #264]
	mov	r2, #252
	mov	r0, sp
	mov	lr, pc
	bx	r6
	ldmia	r5, {r0, r1, r2, r3}
	mov	lr, pc
	bx	r8
	mov	r0, r5
	ldr	r1, .L9+36
	mov	r2, #268
	mov	lr, pc
	bx	r6
	mov	r3, #6
	str	r3, [sp, #256]
	mov	r3, #5
	mov	r1, sl
	str	r7, [sp, #260]
	str	r3, [sp, #264]
	str	r4, [sp, #252]
	mov	r2, #252
	mov	r0, sp
	mov	lr, pc
	bx	r6
	ldmia	r5, {r0, r1, r2, r3}
	mov	lr, pc
	bx	r8
	mov	r0, r5
	ldr	r1, .L9+36
	mov	r2, #268
	mov	lr, pc
	bx	r6
	mov	r7, #2
	mov	ip, #15
	mov	r3, #9
	str	ip, [sp, #252]
	mov	r1, sl
	str	r3, [sp, #260]
	str	r3, [sp, #264]
	mov	r2, #252
	mov	r0, sp
	str	r7, [sp, #256]
	mov	lr, pc
	bx	r6
	ldmia	r5, {r0, r1, r2, r3}
	mov	lr, pc
	bx	r8
	mov	r0, r5
	ldr	r1, .L9+36
	mov	r2, #268
	mov	lr, pc
	bx	r6
	mov	r9, #13
	mov	ip, #15
	mov	r3, #3
	str	ip, [sp, #256]
	mov	r1, sl
	str	r4, [sp, #252]
	str	r3, [sp, #264]
	mov	r2, #252
	mov	r0, sp
	str	r9, [sp, #260]
	mov	lr, pc
	bx	r6
	ldmia	r5, {r0, r1, r2, r3}
	mov	lr, pc
	bx	r8
	mov	r0, r5
	ldr	r1, .L9+36
	mov	r2, #268
	mov	lr, pc
	bx	r6
	mov	ip, #15
	mov	r3, #3
	str	ip, [sp, #256]
	str	ip, [sp, #252]
	mov	r1, sl
	str	r3, [sp, #264]
	mov	r2, #252
	mov	r0, sp
	str	r9, [sp, #260]
	mov	lr, pc
	bx	r6
	ldmia	r5, {r0, r1, r2, r3}
	mov	lr, pc
	bx	r8
	ldr	ip, .L9+12
	ldr	r1, .L9+16
	ldrsh	r2, [ip, #26]	@  watashi.monster
	add	r2, r1, r2, asl #5
	ldr	r5, .L9+44
	ldr	r3, [r2, #28]	@  <variable>.name
	mov	r1, r7
	mov	r2, r7
	ldr	r0, .L9+36
	mov	lr, pc
	bx	r5
	ldr	r2, .L9+12
	ldr	ip, .L9+16
	ldrsh	r3, [r2, #26]	@  watashi.monster
	sub	r4, fp, #60
	add	r2, ip, r3, asl #5
	ldr	r6, .L9+48
	ldrsh	r3, [r2, #22]	@  <variable>.maxhp
	ldr	r1, .L9+52
	ldrsh	r2, [r2, #20]	@  <variable>.hp
	mov	r0, r4
	mov	lr, pc
	bx	r6
	mov	r1, r7
	mov	r3, r4
	ldr	r0, .L9+36
	mov	r2, #3
	mov	lr, pc
	bx	r5
	ldr	r3, .L9+56
	mov	r1, r7
	ldr	r0, .L9+36
	mov	r2, #16
	mov	lr, pc
	bx	r5
	ldr	r1, .L9+12
	mov	r0, r4
	ldrsh	r2, [r1, #24]	@  watashi.level
	ldr	r1, .L9+60
	mov	lr, pc
	bx	r6
	mov	r1, r7
	mov	r3, r4
	ldr	r0, .L9+36
	mov	r2, #17
	mov	lr, pc
	bx	r5
	ldr	r3, .L9+12
	ldr	r1, .L9+64
	ldrsh	r2, [r3, #12]	@  watashi.hp
	mov	r0, r4
	ldrsh	r3, [r3, #14]	@  watashi.maxhp
	mov	lr, pc
	bx	r6
	mov	r1, #16
	mov	r2, r1
	mov	r3, r4
	ldr	r0, .L9+36
	mov	lr, pc
	bx	r5
	ldr	ip, .L9+12
	ldr	r1, .L9+68
	ldrsh	r3, [ip, #18]	@  watashi.maxmp
	ldrsh	r2, [ip, #16]	@  watashi.mp
	mov	r0, r4
	mov	lr, pc
	bx	r6
	mov	r3, r4
	ldr	r0, .L9+36
	mov	r1, #16
	mov	r2, #17
	mov	lr, pc
	bx	r5
	mov	r1, r7
	ldr	r0, .L9+36
	mov	r2, #7
	ldr	r3, .L9+72
	mov	lr, pc
	bx	r5
	ldr	r0, .L9+36
	mov	r1, #3
	mov	r2, #7
	ldr	r3, .L9+76
	mov	lr, pc
	bx	r5
	ldr	r0, .L9+36
	mov	r1, #3
	mov	r2, #8
	ldr	r3, .L9+80
	mov	lr, pc
	bx	r5
	mov	r2, #9
	ldr	r0, .L9+36
	mov	r1, #3
	ldr	r3, .L9+84
	mov	lr, pc
	bx	r5
	mov	r1, #3
	ldr	r0, .L9+36
	mov	r2, #10
	ldr	r3, .L9+88
	mov	lr, pc
	bx	r5
	ldmea	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, lr}
	bx	lr
.L10:
	.align	2
.L9:
	.word	delay
	.word	sprites
	.word	ham_SetObjVisible
	.word	watashi
	.word	monsterlist
	.word	ham_LoadObjPal16
	.word	ham_CreateObj
	.word	ham_SetBgVisible
	.word	memcpy
	.word	g_TextInfo
	.word	_Z11drawTextBox15TCustomTextInfossss
	.word	hel_CustomTextPrint
	.word	sprintf
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	_Z12myBattleInitv, .-_Z12myBattleInitv
	.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, .L16
	beq	.L14
.L12:
	cmp	r5, r4	@  __priority
	cmpeq	r6, #0	@  __initialize_p
	ldr	r0, .L16
	beq	.L15
.L11:
	ldmea	fp, {r4, r5, r6, fp, sp, lr}
	bx	lr
.L15:
	ldr	r3, .L16+4
	mov	lr, pc
	bx	r3
	b	.L11
.L14:
	ldr	r3, .L16+8
	mov	lr, pc
	bx	r3
	b	.L12
.L17:
	.align	2
.L16:
	.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__Z12myBattleInitv, %function
_GLOBAL__I__Z12myBattleInitv:
	@ 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__Z12myBattleInitv, .-_GLOBAL__I__Z12myBattleInitv
	.section	.ctors,"aw",%progbits
	.align	2
	.word	_GLOBAL__I__Z12myBattleInitv
	.text
	.align	2
	.type	_GLOBAL__D__Z12myBattleInitv, %function
_GLOBAL__D__Z12myBattleInitv:
	@ 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__Z12myBattleInitv, .-_GLOBAL__D__Z12myBattleInitv
	.section	.dtors,"aw",%progbits
	.align	2
	.word	_GLOBAL__D__Z12myBattleInitv
	.ident	"GCC: (GNU) 3.3.2"
