	.file	"menu_couleurs.c"
@ 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=100 --param ggc-min-heapsize=131072
@ 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
@ -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

	.global	couleursDefaut
	.data
	.align	2
	.type	couleursDefaut, %object
	.size	couleursDefaut, 96
couleursDefaut:
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	31
	.word	31
	.word	31
	.word	31
	.word	31
	.word	31
	.word	0
	.word	31
	.word	0
	.word	0
	.word	31
	.word	31
	.word	0
	.word	31
	.word	31
	.word	0
	.word	0
	.word	0
	.word	0
	.global	gblSur
	.bss
	.global	gblSur
	.align	2
	.type	gblSur, %object
	.size	gblSur, 4
gblSur:
	.space	4
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC3:
	.ascii	"Erreur\000"
	.align	2
.LC2:
	.ascii	"curs2.son\000"
	.align	2
.LC1:
	.ascii	"curs1.son\000"
	.align	2
.LC0:
	.ascii	"%i\000"
	.text
	.align	2
	.global	FctMenu1Couleur
	.type	FctMenu1Couleur, %function
FctMenu1Couleur:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	cmp	r0, #2	@  demande
	stmfd	sp!, {r4, r5, r6, r7, r8, fp, ip, lr, pc}
	sub	fp, ip, #4
	mov	r4, r1	@  param
	mov	r5, r2	@  touches
	beq	.L26
	cmp	r0, #3	@  demande
	beq	.L27
.L3:
	ldr	r0, .L33	@  demande
.L1:
	ldmea	fp, {r4, r5, r6, r7, r8, fp, sp, lr}
	bx	lr
.L27:
	ldr	r7, .L33+4
	ldr	r3, [r7, #0]	@  gblCouleur
	ldr	r6, .L33+8
	add	r3, r3, r3, asl #1
	add	r3, r3, r1	@  param
	tst	r2, #512	@  touches
	ldr	r8, [r6, r3, asl #2]	@  ancCoul,  couleurs
	bne	.L28
	tst	r2, #256	@  touches
	bne	.L29
.L6:
	tst	r5, #16	@  touches
	bne	.L30
	tst	r5, #32	@  touches
	bne	.L31
.L9:
	ldr	r3, [r7, #0]	@  gblCouleur
	add	r3, r3, r3, asl #1
	add	r2, r3, r4	@  param
	ldr	r3, [r6, r2, asl #2]	@  couleurs
	cmp	r3, #0
	ldr	r1, .L33+8
	blt	.L32
.L11:
	ldr	r3, [r7, #0]	@  gblCouleur
	add	r3, r3, r3, asl #1
	add	r1, r3, r4	@  param
	ldr	r3, [r6, r1, asl #2]	@  couleurs
	cmp	r3, #31
	ldr	r2, .L33+8
	ble	.L16
	tst	r5, #768	@  touches
	subeq	r3, r3, #32
	beq	.L25
	cmp	r8, #31	@  ancCoul
	moveq	r3, #0
	streq	r3, [r6, r1, asl #2]	@  couleurs
	beq	.L16
	mov	r3, #31
.L25:
	str	r3, [r2, r1, asl #2]	@  couleurs
.L16:
	ldr	r3, .L33+12
	mov	lr, pc
	bx	r3
	tst	r5, #1	@  touches
	beq	.L3
	ldr	r0, .L33+16
	ldr	r3, .L33+20
	mov	lr, pc
	bx	r3
	mov	r0, #2	@  demande
	b	.L1
.L32:
	tst	r5, #768	@  touches
	addeq	r3, r3, #32
	beq	.L24
	cmp	r8, #0	@  ancCoul
	moveq	r3, #31
	streq	r3, [r6, r2, asl #2]	@  couleurs
	beq	.L11
	mov	r3, #0
.L24:
	str	r3, [r1, r2, asl #2]	@  couleurs
	b	.L11
.L31:
	ldr	r3, .L33+20
	ldr	r0, .L33+24
	mov	lr, pc
	bx	r3
	ldr	r2, [r7, #0]	@  gblCouleur
	add	r2, r2, r2, asl #1
	add	r2, r2, r4	@  param
	ldr	r3, [r6, r2, asl #2]	@  couleurs
	sub	r3, r3, #1
.L23:
	str	r3, [r6, r2, asl #2]	@  couleurs
	b	.L9
.L30:
	ldr	r3, .L33+20
	ldr	r0, .L33+24
	mov	lr, pc
	bx	r3
	ldr	r2, [r7, #0]	@  gblCouleur
	add	r2, r2, r2, asl #1
	add	r2, r2, r4	@  param
	ldr	r3, [r6, r2, asl #2]	@  couleurs
	add	r3, r3, #1
	b	.L23
.L29:
	ldr	r3, .L33+20
	ldr	r0, .L33+24
	mov	lr, pc
	bx	r3
	ldr	r2, [r7, #0]	@  gblCouleur
	add	r2, r2, r2, asl #1
	add	r2, r2, r4	@  param
	ldr	r3, [r6, r2, asl #2]	@  couleurs
	add	r3, r3, #4
.L22:
	str	r3, [r6, r2, asl #2]	@  couleurs
	b	.L6
.L28:
	ldr	r3, .L33+20
	ldr	r0, .L33+24
	mov	lr, pc
	bx	r3
	ldr	r2, [r7, #0]	@  gblCouleur
	add	r2, r2, r2, asl #1
	add	r2, r2, r4	@  param
	ldr	r3, [r6, r2, asl #2]	@  couleurs
	sub	r3, r3, #4
	b	.L22
.L26:
	ldr	r2, .L33+4
	ldr	r3, [r2, #0]	@  gblCouleur
	add	r3, r3, r3, asl #1
	add	r3, r3, r1	@  param
	ldr	r1, .L33+8
	ldr	r0, .L33+28
	ldr	r2, [r1, r3, asl #2]	@  touches,  couleurs
	ldr	r1, .L33+32
	ldr	r3, .L33+36
	mov	lr, pc
	bx	r3
	ldr	r0, .L33+28	@  demande
	b	.L1
.L34:
	.align	2
.L33:
	.word	.LC3
	.word	gblCouleur
	.word	couleurs
	.word	ChangeCouleursBteDialogue
	.word	.LC2
	.word	JoueSon
	.word	.LC1
	.word	str
	.word	.LC0
	.word	sprintf
	.size	FctMenu1Couleur, .-FctMenu1Couleur
	.section	.rodata.str1.4
	.align	2
.LC4:
	.ascii	"Choisir une couleur\000"
	.align	2
.LC5:
	.ascii	"Les couleurs sont en RVB\n"
	.ascii	"   Rouge: #|+vert->jaune, +bleu->rose#\n"
	.ascii	"   Vert: #|+rouge->jaune, +bleu->turquoise#\n"
	.ascii	"   Bleu: #|+rouge->rose, +vert->turquoise#\000"
	.global	evMenu1Couleur
	.data
	.align	2
	.type	evMenu1Couleur, %object
	.size	evMenu1Couleur, 12
evMenu1Couleur:
	.word	.LC4
	.word	.LC5
	.word	FctMenu1Couleur
	.text
	.align	2
	.global	FctSur
	.type	FctSur, %function
FctSur:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	r3, r0	@  demande
	mov	ip, sp
	cmp	r3, #1	@  demande
	stmfd	sp!, {r4, fp, ip, lr, pc}
	ldr	r0, .L38
	sub	fp, ip, #4
	mov	r4, r1	@  param
	ldrne	r0, .L38+4	@  demande
	beq	.L37
.L35:
	ldmea	fp, {r4, fp, sp, lr}
	bx	lr
.L37:
	ldr	r3, .L38+8
	mov	lr, pc
	bx	r3
	ldr	r3, .L38+12
	mov	r0, #2	@  demande
	str	r4, [r3, #0]	@  param,  gblSur
	b	.L35
.L39:
	.align	2
.L38:
	.word	.LC2
	.word	.LC3
	.word	JoueSon
	.word	gblSur
	.size	FctSur, .-FctSur
	.section	.rodata.str1.4
	.align	2
.LC6:
	.ascii	"\312tes-vous s\373r(e)?\000"
	.align	2
.LC7:
	.ascii	"##Non\n"
	.ascii	"##Oui\000"
	.global	evSur
	.data
	.align	2
	.type	evSur, %object
	.size	evSur, 12
evSur:
	.word	.LC6
	.word	.LC7
	.word	FctSur
	.section	.rodata.str1.4
	.align	2
.LC11:
	.ascii	"alerte.son\000"
	.align	2
.LC10:
	.ascii	"Non\000"
	.align	2
.LC9:
	.ascii	"Oui\000"
	.align	2
.LC8:
	.ascii	"%i,%i,%i\000"
	.text
	.align	2
	.global	FctMenuCouleurs
	.type	FctMenuCouleurs, %function
FctMenuCouleurs:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, fp, ip, lr, pc}
	cmp	r0, #2	@  demande
	sub	fp, ip, #4
	sub	sp, sp, #4
	mov	r4, r1	@  param
	beq	.L57
	cmp	r0, #1	@  demande
	beq	.L58
.L47:
	ldr	r0, .L63	@  demande
.L40:
	ldmea	fp, {r4, fp, sp, lr}
	bx	lr
.L58:
	cmp	r1, #7	@  param
	bls	.L59
	cmp	r1, #8	@  param
	beq	.L60
	cmp	r1, #9	@  param
	beq	.L61
.L50:
	mov	r0, #0	@  demande
	b	.L40
.L61:
	ldr	r0, .L63+4
	ldr	r3, .L63+8
	mov	lr, pc
	bx	r3
	ldr	r2, .L63+12
	ldr	r3, .L63+16
	ldr	r0, [r2, #0]	@  demande,  gblCurs
	ldr	r1, .L63+20
	mov	lr, pc
	bx	r3
	ldr	r2, .L63+24
	ldr	r3, [r2, #0]	@  gblSur
	cmp	r3, #0
	beq	.L50
	ldr	r3, .L63+28
	mov	lr, pc
	bx	r3
	ldr	r2, .L63+32
	mov	lr, pc
	bx	r2
	b	.L50
.L60:
	ldr	r3, .L63+8
	ldr	r0, .L63+36
	mov	lr, pc
	bx	r3
	ldr	r2, .L63+40
	ldr	r3, [r2, #0]	@  bTransp
	cmp	r3, #0
	movne	r3, #0
	moveq	r3, #1
	cmp	r3, #0
	str	r3, [r2, #0]	@  bTransp
	movne	r3, #2048
	addne	r3, r3, #8
	movne	r2, #67108864
	moveq	r3, #67108864
	moveq	r2, #16	@ movhi
	strneh	r3, [r2, #82]	@ movhi 
	streqh	r2, [r3, #82]	@ movhi 
	b	.L50
.L59:
	ldr	r0, .L63+36
	ldr	r3, .L63+8
	mov	lr, pc
	bx	r3
	ldr	r2, .L63+12
	ldr	r3, .L63+44
	ldr	r0, [r2, #0]	@  demande,  gblCurs
	ldr	r1, .L63+48
	str	r4, [r3, #0]	@  param,  gblCouleur
	ldr	r2, .L63+16
	mov	lr, pc
	bx	r2
	b	.L50
.L57:
	cmp	r1, #7	@  param
	bls	.L62
	cmp	r1, #8	@  param
	bne	.L47
	ldr	r3, .L63+40
	ldr	r1, [r3, #0]	@  bTransp
	ldr	r2, .L63+52
	ldr	r3, .L63+56
	cmp	r1, #0
	moveq	r0, r2	@  demande
	movne	r0, r3	@  demande
	b	.L40
.L62:
	add	r3, r1, r1, asl #1	@  param,  param
	ldr	r1, .L63+60
	mov	r3, r3, asl #2
	add	r0, r3, r1
	ldr	lr, [r0, #8]	@  couleurs
	ldr	r2, [r3, r1]	@  touches,  couleurs
	ldr	ip, .L63+64
	ldr	r3, [r0, #4]	@  couleurs
	ldr	r1, .L63+68
	ldr	r0, .L63+72
	str	lr, [sp, #0]
	mov	lr, pc
	bx	ip
	ldr	r0, .L63+72	@  demande
	b	.L40
.L64:
	.align	2
.L63:
	.word	.LC3
	.word	.LC11
	.word	JoueSon
	.word	gblCurs
	.word	SelectionneProjet
	.word	evSur
	.word	gblSur
	.word	InitCouleurs
	.word	ChangeCouleursBteDialogue
	.word	.LC2
	.word	bTransp
	.word	gblCouleur
	.word	evMenu1Couleur
	.word	.LC10
	.word	.LC9
	.word	couleurs
	.word	sprintf
	.word	.LC8
	.word	str
	.size	FctMenuCouleurs, .-FctMenuCouleurs
	.section	.rodata.str1.4
	.align	2
.LC12:
	.ascii	"Menu couleurs\000"
	.align	2
.LC13:
	.ascii	"   Haut bo\356te: #|Couleur du haut de la bo\356te#"
	.ascii	"\n"
	.ascii	"   Bas bo\356te: #|Couleur du bas de la bo\356te#\n"
	.ascii	"   Texte: #|Couleur du texte de la bo\356te#\n"
	.ascii	"   Titre: #|Couleur du titre de la bo\356te#\n"
	.ascii	"   Surbrillance 1: #|Couleur de d\351part de l'opti"
	.ascii	"on en surbrillance#\n"
	.ascii	"   Surbrillance 2: #|Couleur de fin de l'option en "
	.ascii	"surbrillance#\n"
	.ascii	"   Message: #|Couleur du texte du message#\n"
	.ascii	"   Fond message: #|Couleur de fond du message#\n"
	.ascii	"   Transparence: #|Transparence des bo\356tes de di"
	.ascii	"alogue#\n"
	.ascii	"#|R\351initialise toutes les couleurs par d\351faut"
	.ascii	"#R\351initialiser tout!\000"
	.global	evMenuCouleurs
	.data
	.align	2
	.type	evMenuCouleurs, %object
	.size	evMenuCouleurs, 12
evMenuCouleurs:
	.word	.LC12
	.word	.LC13
	.word	FctMenuCouleurs
	.text
	.align	2
	.global	MCMain
	.type	MCMain, %function
MCMain:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {fp, ip, lr, pc}
	ldr	r0, .L66
	sub	fp, ip, #4
	ldr	r3, .L66+4
	mov	lr, pc
	bx	r3
	ldr	r2, .L66+8
	ldr	r1, .L66+12
	ldr	r0, [r2, #0]	@  curs,  gblCurs
	ldr	r3, .L66+16
	mov	lr, pc
	bx	r3
	ldmea	fp, {fp, sp, lr}
	bx	lr
.L67:
	.align	2
.L66:
	.word	.LC2
	.word	JoueSon
	.word	gblCurs
	.word	evMenuCouleurs
	.word	SelectionneProjet
	.size	MCMain, .-MCMain
	.align	2
	.global	InitCouleurs
	.type	InitCouleurs, %function
InitCouleurs:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {fp, ip, lr, pc}
	ldr	r1, .L69
	mov	r2, #96
	ldr	r3, .L69+4
	sub	fp, ip, #4
	ldr	r0, .L69+8
	mov	lr, pc
	bx	r3
	mov	r1, #2048
	ldr	r3, .L69+12
	add	r1, r1, #8
	mov	r0, #1
	mov	r2, #67108864
	str	r0, [r3, #0]	@  bTransp
	strh	r1, [r2, #82]	@ movhi 
	ldmea	fp, {fp, sp, lr}
	bx	lr
.L70:
	.align	2
.L69:
	.word	couleursDefaut
	.word	memcpy
	.word	couleurs
	.word	bTransp
	.size	InitCouleurs, .-InitCouleurs
	.comm	pRoutineLointaine, 4, 32
	.comm	pFctLointaine, 4, 32
	.comm	ligne2, 4, 32
	.comm	couleurs, 96, 32
	.comm	gblCurs, 4, 32
	.comm	str, 100, 8
	.comm	gblCouleur, 4, 32
	.ident	"GCC: (GNU) 3.3.2"
