	.file	"texte.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

	.section	.iwram,"ax",%progbits
	.align	2
	.global	ClrPix
	.type	ClrPix, %function
ClrPix:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, lr}
	ldr	r3, .L2
	ldr	lr, [r3, #0]	@  largeur
	bic	ip, r0, #7	@  x
	bic	r3, r1, #7	@  y
	mla	r4, lr, r3, ip
	ldr	r2, .L2+4
	ldr	ip, [r2, #0]	@  adresse
	and	r1, r1, #7	@  y
	add	ip, ip, r4, asl #2	@  adr
	ldr	r3, [ip, r1, asl #2]!	@  adr
	and	r0, r0, #7	@  x
	mov	r0, r0, asl #2
	mov	r2, #15
	bic	r3, r3, r2, asl r0
	str	r3, [ip, #0]	@ * adr
	ldmfd	sp!, {r4, lr}
	bx	lr
.L3:
	.align	2
.L2:
	.word	largeur
	.word	adresse
	.size	ClrPix, .-ClrPix
	.align	2
	.global	SetPix
	.type	SetPix, %function
SetPix:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, lr}
	ldr	r3, .L5
	ldr	lr, [r3, #0]	@  largeur
	bic	ip, r0, #7	@  x
	bic	r3, r1, #7	@  y
	mla	r4, lr, r3, ip
	ldr	r2, .L5+4
	ldr	ip, [r2, #0]	@  adresse
	and	r1, r1, #7	@  y
	add	ip, ip, r4, asl #2	@  adr
	ldr	r3, [ip, r1, asl #2]!	@  adr
	and	r0, r0, #7	@  x
	mov	r0, r0, asl #2
	mov	r2, #15
	orr	r3, r3, r2, asl r0
	str	r3, [ip, #0]	@ * adr
	ldmfd	sp!, {r4, lr}
	bx	lr
.L6:
	.align	2
.L5:
	.word	largeur
	.word	adresse
	.size	SetPix, .-SetPix
	.align	2
	.global	EcritPixel
	.type	EcritPixel, %function
EcritPixel:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, lr}
	ldr	r3, .L8
	ldr	r4, [r3, #0]	@  largeur
	bic	lr, r0, #7	@  x
	bic	r3, r1, #7	@  y
	mla	r5, r4, r3, lr
	ldr	ip, .L8+4
	ldr	lr, [ip, #0]	@  adresse
	and	r1, r1, #7	@  y
	add	lr, lr, r5, asl #2	@  adr
	ldr	r3, [lr, r1, asl #2]!	@  adr
	and	r0, r0, #7	@  x
	mov	r0, r0, asl #2
	mov	r1, #15
	bic	r3, r3, r1, asl r0
	orr	r3, r3, r2, asl r0	@  couleur
	str	r3, [lr, #0]	@ * adr
	ldmfd	sp!, {r4, r5, lr}
	bx	lr
.L9:
	.align	2
.L8:
	.word	largeur
	.word	adresse
	.size	EcritPixel, .-EcritPixel
	.align	2
	.global	PrepareMap
	.type	PrepareMap, %function
PrepareMap:
	@ Function supports interworking.
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, r7, lr}
	ldr	r7, [sp, #24]	@  hauteur,  hauteur
	mov	r6, #0	@  j
	cmp	r6, r7	@  j,  hauteur
	mov	r5, r0	@  adresse
	add	r3, r3, #1	@  offset,  offset
	mov	r0, r1	@  x
	ldr	r1, [sp, #20]	@  largeur,  largeur
	bcs	.L22
	add	r4, r0, r2, asl #5	@  x,  y
	mov	r0, r3	@  offset,  offset
.L20:
	mov	lr, #0	@  i
	cmp	lr, r1	@  i,  largeur
	bcs	.L24
	mov	r2, r0	@  offset,  offset
	mov	ip, r4, asl #1
.L19:
	add	r3, r2, lr	@  offset,  i
	add	lr, lr, #1	@  i,  i
	cmp	lr, r1	@  i,  largeur
	strh	r3, [ip, r5]	@ movhi 	@ * adresse
	add	ip, ip, #2
	bcc	.L19
.L24:
	add	r6, r6, #1	@  j,  j
	cmp	r6, r7	@  j,  hauteur
	add	r4, r4, #32
	add	r0, r0, r1	@  offset,  offset,  largeur
	bcc	.L20
.L22:
	ldmfd	sp!, {r4, r5, r6, r7, lr}
	bx	lr
	.size	PrepareMap, .-PrepareMap
	.align	2
	.global	EcritMotifMasque
	.type	EcritMotifMasque, %function
EcritMotifMasque:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, lr}
	ldr	ip, .L27
	ldr	r6, [ip, #0]	@  largeur
	bic	r4, r0, #7	@  x
	bic	ip, r1, #7	@  y
	mla	r5, r6, ip, r4
	ldr	lr, .L27+4
	ldr	ip, [lr, #0]	@  adresse
	and	r1, r1, #7	@  y
	add	lr, ip, r5, asl #2	@  adr
	ldr	ip, [lr, r1, asl #2]!	@  adr
	and	r0, r0, #7	@  x
	mov	r1, r0, asl #2	@  i
	bic	ip, ip, r3, asl r1	@  masque
	cmp	r0, #0
	orr	ip, ip, r2, asl r1	@  motif
	mov	r4, r3	@  masque
	str	ip, [lr, #0]	@ * adr
	ldrne	r3, [lr, #32]!	@  adr
	rsb	r1, r1, #32	@  i,  i
	bicne	r3, r3, r4, lsr r1	@  masque
	orrne	r3, r3, r2, lsr r1	@  motif
	strne	r3, [lr, #0]	@ * adr
	ldmfd	sp!, {r4, r5, r6, lr}
	bx	lr
.L28:
	.align	2
.L27:
	.word	largeur
	.word	adresse
	.size	EcritMotifMasque, .-EcritMotifMasque
	.align	2
	.global	EcritMotifsMasque
	.type	EcritMotifsMasque, %function
EcritMotifsMasque:
	@ Function supports interworking.
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, r7, r8, lr}
	ldr	r8, .L49
	ldr	r4, [r8, #0]	@  largeur
	bic	lr, r0, #7	@  x
	mov	r6, r1	@  y
	bic	r1, r1, #7	@  y
	mla	r5, r4, r1, lr
	ldr	ip, .L49+4
	ldr	r1, [ip, #0]	@  adresse
	and	r0, r0, #7	@  x
	add	r1, r1, r5, asl #2	@  adr
	cmp	r0, #0
	and	r5, r6, #7	@  y
	mov	lr, r3	@  motifs
	ldr	ip, [sp, #24]	@  masques,  masques
	add	r1, r1, r5, asl #2	@  adr,  adr
	mov	r0, r0, asl #2	@  i
	beq	.L30
	sub	r4, r2, #1	@  nombre,  nombre
	cmn	r4, #1	@  nombre
	rsb	r7, r0, #32	@  j,  i
	beq	.L29
.L36:
	ldr	r2, [ip, #0]	@ * masques
	ldr	r3, [r1, #0]	@ * adr
	bic	r3, r3, r2, asl r0
	str	r3, [r1, #0]	@ * adr
	ldr	r2, [lr, #0]	@ * motifs
	orr	r3, r3, r2, asl r0
	str	r3, [r1, #0]	@ * adr
	ldr	r2, [r1, #32]
	ldr	r3, [ip, #0]	@ * masques
	bic	r2, r2, r3, lsr r7
	str	r2, [r1, #32]
	ldr	r3, [lr, #0]	@ * motifs
	orr	r2, r2, r3, lsr r7
	str	r2, [r1, #32]
	cmp	r5, #7
	ldreq	r3, [r8, #0]	@  largeur
	sub	r4, r4, #1	@  nombre,  nombre
	addeq	r3, r1, r3, asl #5	@  adr
	subeq	r1, r3, #28	@  adr
	addne	r1, r1, #4	@  adr,  adr
	add	r6, r6, #1	@  y,  y
	cmn	r4, #1	@  nombre
	add	ip, ip, #4	@  masques,  masques
	add	lr, lr, #4	@  motifs,  motifs
	andne	r5, r6, #7	@  y
	bne	.L36
.L29:
	ldmfd	sp!, {r4, r5, r6, r7, r8, lr}
	bx	lr
.L30:
	sub	r4, r2, #1	@  nombre,  nombre
	cmn	r4, #1	@  nombre
	beq	.L29
.L43:
	ldr	r3, [r1, #0]	@ * adr
	ldr	r2, [ip, #0]	@ * masques
	bic	r3, r3, r2, asl r0
	str	r3, [r1, #0]	@ * adr
	ldr	r2, [lr, #0]	@ * motifs
	orr	r3, r3, r2, asl r0
	str	r3, [r1, #0]	@ * adr
	cmp	r5, #7
	ldreq	r3, [r8, #0]	@  largeur
	sub	r4, r4, #1	@  nombre,  nombre
	addeq	r3, r1, r3, asl #5	@  adr
	subeq	r1, r3, #28	@  adr
	addne	r1, r1, #4	@  adr,  adr
	add	r6, r6, #1	@  y,  y
	cmn	r4, #1	@  nombre
	add	ip, ip, #4	@  masques,  masques
	add	lr, lr, #4	@  motifs,  motifs
	andne	r5, r6, #7	@  y
	bne	.L43
	b	.L29
.L50:
	.align	2
.L49:
	.word	largeur
	.word	adresse
	.size	EcritMotifsMasque, .-EcritMotifsMasque
	.align	2
	.global	EcritMotifsMasqueCouleur
	.type	EcritMotifsMasqueCouleur, %function
EcritMotifsMasqueCouleur:
	@ Function supports interworking.
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, lr}
	ldr	r9, .L71
	ldr	r4, [r9, #0]	@  largeur
	bic	lr, r0, #7	@  x
	mov	r6, r1	@  y
	bic	r1, r1, #7	@  y
	mla	r5, r4, r1, lr
	ldr	ip, .L71+4
	ldr	r1, [ip, #0]	@  adresse
	and	r0, r0, #7	@  x
	add	ip, r1, r5, asl #2	@  adr
	cmp	r0, #0
	and	r7, r6, #7	@  y
	mov	r4, r3	@  motifs
	ldr	lr, [sp, #32]	@  masques,  masques
	ldr	sl, [sp, #36]	@  couleur,  couleur
	add	ip, ip, r7, asl #2	@  adr,  adr
	mov	r0, r0, asl #2	@  i
	beq	.L52
	sub	r5, r2, #1	@  nombre,  nombre
	cmn	r5, #1	@  nombre
	rsb	r8, r0, #32	@  j,  i
	beq	.L51
.L58:
	ldr	r2, [lr, #0]	@ * masques
	ldr	r3, [ip, #0]	@ * adr
	bic	r3, r3, r2, asl r0
	str	r3, [ip, #0]	@ * adr
	ldr	r2, [r4, #0]	@ * motifs
	mul	r1, sl, r2	@  couleur
	orr	r3, r3, r1, asl r0
	str	r3, [ip, #0]	@ * adr
	ldr	r2, [ip, #32]
	ldr	r3, [lr, #0]	@ * masques
	bic	r2, r2, r3, lsr r8
	str	r2, [ip, #32]
	ldr	r3, [r4, #0]	@ * motifs
	mul	r1, sl, r3	@  couleur
	orr	r2, r2, r1, lsr r8
	str	r2, [ip, #32]
	cmp	r7, #7
	ldreq	r3, [r9, #0]	@  largeur
	sub	r5, r5, #1	@  nombre,  nombre
	addeq	r3, ip, r3, asl #5	@  adr
	subeq	ip, r3, #28	@  adr
	addne	ip, ip, #4	@  adr,  adr
	add	r6, r6, #1	@  y,  y
	cmn	r5, #1	@  nombre
	add	lr, lr, #4	@  masques,  masques
	add	r4, r4, #4	@  motifs,  motifs
	andne	r7, r6, #7	@  y
	bne	.L58
.L51:
	ldmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, lr}
	bx	lr
.L52:
	sub	r5, r2, #1	@  nombre,  nombre
	cmn	r5, #1	@  nombre
	beq	.L51
.L65:
	ldr	r2, [ip, #0]	@ * adr
	ldr	r3, [lr, #0]	@ * masques
	bic	r2, r2, r3, asl r0
	str	r2, [ip, #0]	@ * adr
	ldr	r3, [r4, #0]	@ * motifs
	mul	r1, sl, r3	@  couleur
	orr	r2, r2, r1, asl r0
	str	r2, [ip, #0]	@ * adr
	cmp	r7, #7
	ldreq	r3, [r9, #0]	@  largeur
	sub	r5, r5, #1	@  nombre,  nombre
	addeq	r3, ip, r3, asl #5	@  adr
	subeq	ip, r3, #28	@  adr
	addne	ip, ip, #4	@  adr,  adr
	add	r6, r6, #1	@  y,  y
	cmn	r5, #1	@  nombre
	add	lr, lr, #4	@  masques,  masques
	add	r4, r4, #4	@  motifs,  motifs
	andne	r7, r6, #7	@  y
	bne	.L65
	b	.L51
.L72:
	.align	2
.L71:
	.word	largeur
	.word	adresse
	.size	EcritMotifsMasqueCouleur, .-EcritMotifsMasqueCouleur
	.align	2
	.global	DessTexte
	.type	DessTexte, %function
DessTexte:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	sub	fp, ip, #4
	sub	sp, sp, #8
	mov	r6, r2	@  chaine
	ldrb	r2, [r2, #0]	@ zero_extendqisi2	@ * chaine
	cmp	r2, #0
	mov	r5, r0	@  x
	mov	r8, r1	@  y
	mov	r7, r3	@  couleur
	beq	.L75
	ldr	sl, .L80
	ldr	r9, .L80+4
	mov	ip, r2
.L78:
	ldr	r2, [sl, #0]	@  tailles
	mov	r3, ip, asl #2
	add	r2, r2, ip
	sub	r4, r3, #128
	ldrb	r3, [r2, #-32]	@ zero_extendqisi2
	ldr	ip, [r9, #0]	@  largeur
	add	r3, r5, r3	@  x
	cmp	r3, ip, asl #3
	mov	r0, r5	@  x
	mov	r1, r8	@  y
	bhi	.L75
	ldr	r3, .L80+8
	ldr	r2, [r3, #0]	@  chaine,  hauteur_texte
	mul	r4, r2, r4	@  chaine
	ldr	ip, .L80+12
	ldr	r3, [ip, #0]	@  fonte
	ldr	ip, .L80+16
	ldr	lr, [ip, #0]	@  masque
	add	r3, r3, r4	@  couleur
	add	lr, lr, r4
	str	lr, [sp, #0]
	str	r7, [sp, #4]	@  couleur
	bl	EcritMotifsMasqueCouleur
	ldrb	r1, [r6, #0]	@ zero_extendqisi2	@ * chaine
	ldr	r3, [sl, #0]	@  tailles
	ldrb	r2, [r6, #1]!	@ zero_extendqisi2
	add	r3, r3, r1
	ldrb	r0, [r3, #-32]	@ zero_extendqisi2
	cmp	r2, #0
	mov	ip, r2
	add	r5, r5, r0	@  x,  x
	bne	.L78
.L75:
	ldmea	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, lr}
	bx	lr
.L81:
	.align	2
.L80:
	.word	tailles
	.word	largeur
	.word	hauteur_texte
	.word	fonte
	.word	masque
	.size	DessTexte, .-DessTexte
	.text
	.align	2
	.global	DessCar
	.type	DessCar, %function
DessCar:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, fp, ip, lr, pc}
	sub	fp, ip, #4
	sub	sp, sp, #8
	ldr	ip, .L83
	and	r2, r2, #255	@  car
	ldr	r8, [ip, #0]	@  hauteur_texte
	mov	r2, r2, asl #2	@  car
	sub	r2, r2, #128
	mul	r5, r2, r8
	ldr	r2, .L83+4
	ldr	ip, .L83+8
	ldr	lr, [r2, #0]	@  fonte
	ldr	r4, [ip, #0]	@  masque
	ldr	r6, .L83+12
	ldr	ip, .L83+16
	add	lr, lr, r5	@  couleur
	mov	r7, r3	@  couleur
	str	r6, [ip, #0]	@  pRoutineLointaine
	add	r4, r4, r5
	mov	r2, r8
	mov	r3, lr	@  couleur
	stmia	sp, {r4, r7}	@ phole stm
	mov	lr, pc
	bx	r6
	ldmea	fp, {r4, r5, r6, r7, r8, fp, sp, lr}
	bx	lr
.L84:
	.align	2
.L83:
	.word	hauteur_texte
	.word	fonte
	.word	masque
	.word	EcritMotifsMasqueCouleur
	.word	pRoutineLointaine
	.size	DessCar, .-DessCar
	.align	2
	.global	DessCarItalique
	.type	DessCarItalique, %function
DessCarItalique:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	sub	fp, ip, #4
	sub	sp, sp, #8
	ldr	r6, .L107
	ldr	lr, [r6, #0]	@  hauteur_texte
	ldr	ip, .L107+4
	umull	r5, r4, ip, lr
	mov	r5, #0	@  i
	and	r2, r2, #255
	cmp	r5, r4, lsr #1	@  i
	str	r0, [fp, #-44]	@  x
	mov	r8, r1	@  y
	mov	r7, r3	@  couleur
	str	r2, [fp, #-48]	@  car
	bcs	.L102
	ldr	r9, .L107+8
	add	sl, r0, #2	@  x
	sub	r4, r2, #32
.L90:
	ldr	r3, [r6, #0]	@  hauteur_texte
	mla	r0, r4, r3, r5	@  i
	ldr	r3, .L107+12
	ldr	r2, [r3, #0]	@  fonte
	ldr	r3, [r2, r0, asl #2]
	mul	r2, r7, r3	@  couleur
	ldr	r3, .L107+16
	ldr	r1, [r3, #0]	@  masque
	ldr	r3, [r1, r0, asl #2]	@  couleur
	ldr	r0, .L107+20
	add	r1, r8, r5	@  y,  y,  i
	str	r9, [r0, #0]	@  pRoutineLointaine
	mov	r0, sl	@  x
	mov	lr, pc
	bx	r9
	ldr	r2, [r6, #0]	@  hauteur_texte
	ldr	r3, .L107+4
	umull	r0, r1, r3, r2
	add	r5, r5, #1	@  i,  i
	cmp	r5, r1, lsr #1	@  i
	bcc	.L90
.L102:
	ldr	r6, .L107
	ldr	r3, [r6, #0]	@  hauteur_texte
	ldr	r2, .L107+4
	mov	r3, r3, asl #1
	umull	r0, r1, r2, r3
	cmp	r5, r1, lsr #1	@  i
	bcs	.L104
	ldr	r3, [fp, #-48]	@  car
	ldr	r0, [fp, #-44]	@  x
	ldr	r9, .L107+8
	sub	r4, r3, #32
	add	sl, r0, #1	@  x
.L95:
	ldr	r3, [r6, #0]	@  hauteur_texte
	mla	r0, r4, r3, r5	@  i
	ldr	r3, .L107+12
	ldr	r2, [r3, #0]	@  fonte
	ldr	r3, [r2, r0, asl #2]
	mul	r2, r7, r3	@  couleur
	ldr	r3, .L107+16
	ldr	r1, [r3, #0]	@  masque
	ldr	r3, [r1, r0, asl #2]	@  couleur
	ldr	r0, .L107+20
	add	r1, r8, r5	@  y,  y,  i
	str	r9, [r0, #0]	@  pRoutineLointaine
	mov	r0, sl	@  x
	mov	lr, pc
	bx	r9
	ldr	r3, [r6, #0]	@  hauteur_texte
	ldr	r2, .L107+4
	mov	r3, r3, asl #1
	umull	r0, r1, r2, r3
	add	r5, r5, #1	@  i,  i
	cmp	r5, r1, lsr #1	@  i
	bcc	.L95
.L104:
	ldr	r6, .L107
	ldr	r3, [r6, #0]	@  hauteur_texte
	cmp	r5, r3	@  i
	bcs	.L106
	ldr	r3, [fp, #-48]	@  car
	ldr	r9, .L107+8
	sub	r4, r3, #32
.L100:
	ldr	r3, [r6, #0]	@  hauteur_texte
	mla	r0, r4, r3, r5	@  i
	ldr	r3, .L107+12
	ldr	r2, [r3, #0]	@  fonte
	ldr	r3, [r2, r0, asl #2]
	mul	r2, r7, r3	@  couleur
	ldr	r3, .L107+16
	ldr	r1, [r3, #0]	@  masque
	ldr	r3, [r1, r0, asl #2]	@  couleur
	ldr	r0, .L107+20
	add	r1, r8, r5	@  y,  y,  i
	str	r9, [r0, #0]	@  pRoutineLointaine
	ldr	r0, [fp, #-44]	@  x
	mov	lr, pc
	bx	r9
	ldr	r3, [r6, #0]	@  hauteur_texte
	add	r5, r5, #1	@  i,  i
	cmp	r5, r3	@  i
	bcc	.L100
.L106:
	ldmea	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, lr}
	bx	lr
.L108:
	.align	2
.L107:
	.word	hauteur_texte
	.word	-1431655765
	.word	EcritMotifMasque
	.word	fonte
	.word	masque
	.word	pRoutineLointaine
	.size	DessCarItalique, .-DessCarItalique
	.section	.iwram
	.align	2
	.global	DessTexteWW
	.type	DessTexteWW, %function
DessTexteWW:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 12
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	sub	fp, ip, #4
	sub	sp, sp, #20
	mov	r4, r2	@  chaine
	ldrb	r2, [r2, #0]	@ zero_extendqisi2	@ * chaine
	mov	lr, r2
	and	r2, r2, #255
	mov	r6, r1	@  y
	str	r1, [fp, #-48]	@  y,  ybase
	cmp	r2, #0
	mov	r1, #0
	mov	r7, r0	@  x
	mov	sl, r3	@  couleur
	str	r0, [fp, #-44]	@  x,  xbase
	str	r1, [fp, #-52]	@  gras
	beq	.L111
	mov	r3, r2
.L130:
	cmp	r3, #32
	beq	.L133
.L113:
	and	r0, lr, #255
	cmp	r0, #167
	beq	.L134
	cmp	r0, #10
	beq	.L120
	ldr	r9, .L136
	ldr	r3, [r9, #0]	@  tailles
	ldr	r1, .L136+4
	add	r3, r3, r0
	ldrb	r2, [r3, #-32]	@ zero_extendqisi2
	ldr	r3, [r1, #0]	@  largeur
	add	r2, r7, r2	@  x
	cmp	r2, r3, asl #3
	bhi	.L120
	ldr	r1, .L136+8
	mov	r3, r0, asl #2
	ldr	r2, [r1, #0]	@  chaine,  hauteur_texte
	sub	r3, r3, #128
	mul	r1, r3, r2	@  chaine
	ldr	r5, .L136+12
	ldr	r8, .L136+16
	ldr	r3, [r5, #0]	@  fonte
	ldr	ip, [r8, #0]	@  masque
	add	r3, r3, r1	@  couleur
	add	ip, ip, r1
	mov	r0, r7	@  x
	mov	r1, r6	@  y
	str	ip, [sp, #0]
	str	sl, [sp, #4]	@  couleur
	bl	EcritMotifsMasqueCouleur
	ldr	r3, [fp, #-52]	@  gras
	cmp	r3, #0
	bne	.L135
.L129:
	ldr	r3, [r9, #0]	@  tailles
	ldrb	r2, [r4, #0]	@ zero_extendqisi2	@ * chaine
	add	r3, r3, r2
	ldrb	r1, [r3, #-32]	@ zero_extendqisi2
	add	r7, r7, r1	@  x,  x
.L126:
	add	r4, r4, #1	@  chaine,  chaine
	ldrb	r2, [r4, #0]	@ zero_extendqisi2	@ * chaine
	and	r3, r2, #255
	cmp	r3, #0
	mov	lr, r2
	bne	.L130
.L111:
	ldr	r3, .L136+20
	str	r6, [r3, #0]	@  y,  y_ww
	ldmea	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, lr}
	bx	lr
.L135:
	ldrb	r3, [r4, #0]	@ zero_extendqisi2	@ * chaine
	ldr	r1, .L136+8
	mov	r3, r3, asl #2
	ldr	r2, [r1, #0]	@  chaine,  hauteur_texte
	sub	r3, r3, #128
	mul	r1, r3, r2	@  chaine
	ldr	ip, [r8, #0]	@  masque
	ldr	r3, [r5, #0]	@  fonte
	add	ip, ip, r1
	add	r3, r3, r1	@  couleur
	add	r0, r7, #1	@  x,  x
	mov	r1, r6	@  y
	str	ip, [sp, #0]
	str	sl, [sp, #4]	@  couleur
	bl	EcritMotifsMasqueCouleur
	b	.L129
.L120:
	ldr	r3, [fp, #-48]	@  ybase
	cmp	r6, r3	@  y
	ldreq	r3, .L136+24
	addeq	r2, r4, #1	@  chaine
	streq	r2, [r3, #0]	@  ligne2
	ldr	r3, .L136+8
	ldr	r1, .L136+28
	ldr	r2, [r3, #0]	@  hauteur_texte
	ldr	r3, [r1, #0]	@  hauteur
	add	r6, r6, r2	@  y,  y
	add	r2, r6, r2	@  y
	cmp	r2, r3, asl #3
	ldr	r7, [fp, #-44]	@  x,  xbase
	bls	.L126
	b	.L111
.L134:
	ldrb	r3, [r4, #1]!	@ zero_extendqisi2
	cmp	r3, #42
	ldreq	r1, [fp, #-52]	@  gras
	subne	sl, r3, #48	@  couleur
	eoreq	r1, r1, #1
	streq	r1, [fp, #-52]	@  gras
	b	.L126
.L133:
	ldr	r3, .L136
	ldrb	r0, [r4, #1]	@ zero_extendqisi2
	ldr	r2, [r3, #0]	@  tailles
	and	r1, r0, #255
	ldrb	r3, [r2, #0]	@ zero_extendqisi2
	cmp	r1, #32
	cmpne	r1, #10
	add	ip, r7, r3	@  xx,  x
	add	r5, r4, #1	@  temp,  chaine
	beq	.L115
	cmp	r1, #0
	beq	.L115
	mov	r8, r2
.L118:
	ldrb	r3, [r5, #1]!	@ zero_extendqisi2
	add	r2, r8, r0
	ldrb	r1, [r2, #-32]	@ zero_extendqisi2
	mov	r0, r3
	and	r3, r3, #255
	cmp	r3, #32
	cmpne	r3, #10
	add	ip, ip, r1	@  xx,  xx
	beq	.L115
	cmp	r3, #0
	bne	.L118
.L115:
	ldr	r3, .L136+4
	ldr	r2, [r3, #0]	@  largeur
	cmp	ip, r2, asl #3	@  xx
	bcc	.L113
	b	.L120
.L137:
	.align	2
.L136:
	.word	tailles
	.word	largeur
	.word	hauteur_texte
	.word	fonte
	.word	masque
	.word	y_ww
	.word	ligne2
	.word	hauteur
	.size	DessTexteWW, .-DessTexteWW
	.text
	.align	2
	.global	ChangePaletteMap
	.type	ChangePaletteMap, %function
ChangePaletteMap:
	@ Function supports interworking.
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, r7, lr}
	ldr	r6, [sp, #20]	@  hauteur,  hauteur
	mov	r5, #0	@  j
	cmp	r5, r6	@  j,  hauteur
	mov	ip, r1	@  x
	ldr	r7, [sp, #24]	@  nvPalette,  nvPalette
	mov	r1, r3	@  largeur
	bcs	.L150
	add	r4, ip, r2, asl #5	@  x,  y
.L148:
	mov	lr, #0	@  i
	cmp	lr, r1	@  i,  largeur
	bcs	.L152
	mov	r2, r7, asl #12	@  nvPalette
	mov	ip, r4, asl #1
.L147:
	ldrh	r3, [ip, r0]	@ * adresse
	add	lr, lr, #1	@  i,  i
	orr	r3, r3, r2
	cmp	lr, r1	@  i,  largeur
	strh	r3, [ip, r0]	@ movhi 	@ * adresse
	add	ip, ip, #2
	bcc	.L147
.L152:
	add	r5, r5, #1	@  j,  j
	cmp	r5, r6	@  j,  hauteur
	add	r4, r4, #32
	bcc	.L148
.L150:
	ldmfd	sp!, {r4, r5, r6, r7, lr}
	bx	lr
	.size	ChangePaletteMap, .-ChangePaletteMap
	.align	2
	.global	SelectZoneTexte
	.type	SelectZoneTexte, %function
SelectZoneTexte:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	ip, [r0, #4]	@  <variable>.largeur
	ldr	r3, .L154
	ldr	r2, .L154+4
	ldr	r1, [r0, #0]	@  <variable>.adresse
	ldr	lr, [r0, #8]	@  <variable>.hauteur
	str	r1, [r3, #0]	@  adresse
	str	ip, [r2, #0]	@  largeur
	ldr	r3, .L154+8
	ldr	r2, .L154+12
	str	lr, [r3, #0]	@  hauteur
	str	r0, [r2, #0]	@  z,  zone_texte_courante
	ldr	lr, [sp], #4
	bx	lr
.L155:
	.align	2
.L154:
	.word	adresse
	.word	largeur
	.word	hauteur
	.word	zone_texte_courante
	.size	SelectZoneTexte, .-SelectZoneTexte
	.align	2
	.global	EffaceZone
	.type	EffaceZone, %function
EffaceZone:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 4
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {fp, ip, lr, pc}
	sub	fp, ip, #4
	sub	sp, sp, #4
	ldr	r1, [r0, #8]	@  <variable>.hauteur
	ldr	r3, [r0, #4]	@  <variable>.largeur
	mul	r2, r1, r3
	sub	ip, fp, #12	@  z
	mov	r3, #0
	str	r3, [ip, #-4]!
	ldr	r1, [r0, #0]	@  <variable>.adresse
	mov	r2, r2, asl #3
	mov	r0, ip	@  z
	mov	r3, #-2080374784
	ldr	ip, .L157
	mov	lr, pc
	bx	ip
	ldmea	fp, {fp, sp, lr}
	bx	lr
.L158:
	.align	2
.L157:
	.word	MemSet
	.size	EffaceZone, .-EffaceZone
	.section	.iwram
	.align	2
	.global	EcritPixel256
	.type	EcritPixel256, %function
EcritPixel256:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, lr}
	ldr	r3, .L160
	ldr	r4, [r3, #0]	@  largeur
	bic	lr, r0, #7	@  x
	bic	r3, r1, #7	@  y
	mla	r5, r4, r3, lr
	ldr	ip, .L160+4
	ldr	r3, [ip, #0]	@  adresse256
	and	r1, r1, #7	@  y
	add	r3, r3, r5, asl #3	@  adr
	and	ip, r0, #4	@  x
	add	r3, r3, r1, asl #3	@  adr,  adr
	ldr	r1, [r3, ip]!	@  adr
	and	r0, r0, #3	@  x
	mov	r0, r0, asl #3
	mov	ip, #255
	bic	r1, r1, ip, asl r0
	orr	r1, r1, r2, asl r0	@  couleur
	str	r1, [r3, #0]	@ * adr
	ldmfd	sp!, {r4, r5, lr}
	bx	lr
.L161:
	.align	2
.L160:
	.word	largeur
	.word	adresse256
	.size	EcritPixel256, .-EcritPixel256
	.align	2
	.global	EcritPlusDe4Pixels256
	.type	EcritPlusDe4Pixels256, %function
EcritPlusDe4Pixels256:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, r7, lr}
	mov	r6, r0	@  x
	ldr	r0, .L172
	ldr	r4, [r0, #0]	@  largeur
	bic	lr, r6, #7	@  x
	bic	r0, r1, #7	@  y
	mla	r5, r4, r0, lr
	ldr	ip, .L172+4
	ldr	r0, [ip, #0]	@  adresse256
	sub	r7, r2, #1	@  nbre,  nbre
	add	r0, r0, r5, asl #3	@  adr
	and	r1, r1, #7	@  y
	and	r4, r6, #7	@  x
	add	r0, r0, r1, asl #3	@  adr,  adr
	cmn	r7, #1	@  nbre
	and	r2, r4, #4
	mov	ip, r3	@  motif
	add	r0, r0, r2	@  adr,  adr
	mvnne	r5, #0
	beq	.L170
.L168:
	ldr	r2, [r0, #0]	@ * adr
	and	lr, r6, #3	@  x
	mov	r1, lr, asl #3	@  i
	bic	r2, r2, r5, asl r1
	str	r2, [r0, #0]	@ * adr
	ldr	r3, [ip, #0]	@ * motif
	orr	r2, r2, r3, asl r1
	rsb	r1, lr, #4
	str	r2, [r0, #0]	@ * adr
	cmp	r4, #3
	mov	r1, r1, asl #3	@  i
	addhi	r0, r0, #60	@  adr,  adr
	addls	r0, r0, #4	@  adr,  adr
	mov	r3, r5, asr r1
	ldr	r2, [r0, #0]	@ * adr
	cmp	r3, #0
	movne	r2, #0
	str	r2, [r0, #0]	@ * adr
	ldr	r3, [ip], #4
	sub	r7, r7, #1	@  nbre,  nbre
	add	r6, r6, #4	@  x,  x
	orr	r2, r2, r3, lsr r1
	cmn	r7, #1	@  nbre
	str	r2, [r0, #0]	@ * adr
	andne	r4, r6, #7	@  x
	bne	.L168
.L170:
	ldmfd	sp!, {r4, r5, r6, r7, lr}
	bx	lr
.L173:
	.align	2
.L172:
	.word	largeur
	.word	adresse256
	.size	EcritPlusDe4Pixels256, .-EcritPlusDe4Pixels256
	.align	2
	.global	Mode4_EcritPlusDe4Pixels
	.type	Mode4_EcritPlusDe4Pixels, %function
Mode4_EcritPlusDe4Pixels:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, lr}
	mov	r4, r2	@  nbre
	ldr	r2, .L181
	rsb	r1, r1, r1, asl #4	@  y,  y
	mov	ip, r0, lsr #2	@  x
	ldr	lr, [r2, #0]	@  MemVideo
	sub	r4, r4, #1	@  nbre,  nbre
	add	ip, ip, r1, asl #2
	and	r0, r0, #3	@  x
	cmn	r4, #1	@  nbre
	add	r1, lr, ip, asl #2	@  adr
	mov	r0, r0, asl #3	@  j
	mov	ip, r3	@  motif
	beq	.L180
	mvn	r3, #0
	rsb	r5, r0, #32	@  j
	mvn	r6, r3, asl r5
	mvn	lr, r3, asl r0
.L178:
	ldr	r3, [r1, #0]	@ * adr
	and	r3, r3, lr
	str	r3, [r1, #0]	@ * adr
	ldr	r2, [ip, #0]	@ * motif
	orr	r3, r3, r2, asl r0
	str	r3, [r1, #0]	@ * adr
	ldr	r2, [r1, #4]!
	and	r2, r2, r6
	str	r2, [r1, #0]	@ * adr
	ldr	r3, [ip], #4
	sub	r4, r4, #1	@  nbre,  nbre
	orr	r2, r2, r3, lsr r5
	cmn	r4, #1	@  nbre
	str	r2, [r1, #0]	@ * adr
	bne	.L178
.L180:
	ldmfd	sp!, {r4, r5, r6, lr}
	bx	lr
.L182:
	.align	2
.L181:
	.word	MemVideo
	.size	Mode4_EcritPlusDe4Pixels, .-Mode4_EcritPlusDe4Pixels
	.align	2
	.global	Mode4_EcritPlusDe4PixelsMasque
	.type	Mode4_EcritPlusDe4PixelsMasque, %function
Mode4_EcritPlusDe4PixelsMasque:
	@ Function supports interworking.
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, lr}
	mov	r4, r2	@  nbre
	ldr	r2, .L190
	rsb	r1, r1, r1, asl #4	@  y,  y
	ldr	lr, [r2, #0]	@  MemVideo
	mov	ip, r0, lsr #2	@  x
	sub	r4, r4, #1	@  nbre,  nbre
	add	ip, ip, r1, asl #2
	and	r0, r0, #3	@  x
	cmn	r4, #1	@  nbre
	add	r1, lr, ip, asl #2	@  adr
	mov	r0, r0, asl #3	@  j
	mov	lr, r3	@  motif
	ldr	ip, [sp, #12]	@  masque,  masque
	beq	.L189
	rsb	r5, r0, #32	@  j
.L187:
	ldr	r2, [ip, #0]	@ * masque
	ldr	r3, [r1, #0]	@ * adr
	bic	r3, r3, r2, asl r0
	str	r3, [r1, #0]	@ * adr
	ldr	r2, [lr, #0]	@ * motif
	orr	r3, r3, r2, asl r0
	str	r3, [r1, #0]	@ * adr
	ldr	r2, [r1, #4]!
	ldr	r3, [ip], #4
	bic	r2, r2, r3, lsr r5
	str	r2, [r1, #0]	@ * adr
	ldr	r3, [lr], #4
	sub	r4, r4, #1	@  nbre,  nbre
	orr	r2, r2, r3, lsr r5
	cmn	r4, #1	@  nbre
	str	r2, [r1, #0]	@ * adr
	bne	.L187
.L189:
	ldmfd	sp!, {r4, r5, lr}
	bx	lr
.L191:
	.align	2
.L190:
	.word	MemVideo
	.size	Mode4_EcritPlusDe4PixelsMasque, .-Mode4_EcritPlusDe4PixelsMasque
	.align	2
	.global	Mode4_EcritPlusDe4PixelsMasqueCouleur
	.type	Mode4_EcritPlusDe4PixelsMasqueCouleur, %function
Mode4_EcritPlusDe4PixelsMasqueCouleur:
	@ Function supports interworking.
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, r7, lr}
	mov	r4, r2	@  nbre
	ldr	r2, .L199
	mov	ip, r0, lsr #2	@  x
	ldr	lr, [r2, #0]	@  MemVideo
	rsb	r1, r1, r1, asl #4	@  y,  y
	sub	r4, r4, #1	@  nbre,  nbre
	add	ip, ip, r1, asl #2
	and	r0, r0, #3	@  x
	cmn	r4, #1	@  nbre
	add	ip, lr, ip, asl #2	@  adr
	mov	r5, r3	@  motif
	mov	r0, r0, asl #3	@  j
	ldr	lr, [sp, #20]	@  masque,  masque
	ldr	r7, [sp, #24]	@  couleur,  couleur
	beq	.L198
	rsb	r6, r0, #32	@  j
.L196:
	ldr	r3, [r5], #4
	mul	r1, r7, r3	@  val,  couleur
	ldr	r2, [lr, #0]	@ * masque
	ldr	r3, [ip, #0]	@ * adr
	bic	r3, r3, r2, asl r0
	orr	r3, r3, r1, asl r0	@  val
	str	r3, [ip, #0]	@ * adr
	ldr	r2, [ip, #4]!
	ldr	r3, [lr], #4
	sub	r4, r4, #1	@  nbre,  nbre
	bic	r2, r2, r3, lsr r6
	orr	r2, r2, r1, lsr r6	@  val
	cmn	r4, #1	@  nbre
	str	r2, [ip, #0]	@ * adr
	bne	.L196
.L198:
	ldmfd	sp!, {r4, r5, r6, r7, lr}
	bx	lr
.L200:
	.align	2
.L199:
	.word	MemVideo
	.size	Mode4_EcritPlusDe4PixelsMasqueCouleur, .-Mode4_EcritPlusDe4PixelsMasqueCouleur
	.align	2
	.global	Mode4_EcritPixel
	.type	Mode4_EcritPixel, %function
Mode4_EcritPixel:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	r3, .L202
	rsb	r1, r1, r1, asl #4	@  y,  y
	mov	ip, r0, lsr #2	@  x
	add	ip, ip, r1, asl #2
	ldr	lr, [r3, #0]	@  MemVideo
	mov	ip, ip, asl #2
	ldr	r3, [ip, lr]
	and	r0, r0, #3	@  x
	mov	r0, r0, asl #3
	mov	r1, #255
	bic	r3, r3, r1, asl r0
	orr	r3, r3, r2, asl r0	@  couleur
	str	r3, [ip, lr]
	ldr	lr, [sp], #4
	bx	lr
.L203:
	.align	2
.L202:
	.word	MemVideo
	.size	Mode4_EcritPixel, .-Mode4_EcritPixel
	.align	2
	.global	DessCar256
	.type	DessCar256, %function
DessCar256:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 4
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	mov	r7, r1	@  y
	sub	fp, ip, #4
	ldr	r1, .L217
	sub	sp, sp, #12
	ldr	r6, [r1, #0]	@  h,  hauteur_texte
	cmp	r7, #0	@  y
	str	r0, [fp, #-44]	@  x
	mov	r9, r3	@  couleur
	and	r2, r2, #255	@  car
	mov	r5, #0	@  i
	mov	r0, r6	@  h,  h
	addge	r1, r7, r6	@  y,  h
	blt	.L216
.L205:
	cmp	r1, #159
	ble	.L207
	cmp	r7, #159	@  y
	bgt	.L204
	rsb	r3, r1, r6	@  h
	add	r6, r3, #160	@  h
.L207:
	ldr	r8, .L217+4
	ldr	r3, [r8, #0]	@  largeur_texte
	mul	r0, r3, r0	@  h
	mul	r1, r3, r5	@  i
	sub	r2, r2, #32	@  car
	cmp	r5, r6	@  i,  h
	mla	r4, r2, r0, r1	@  o
	bge	.L204
	ldr	sl, .L217+8
.L213:
	ldr	r2, .L217+12
	ldr	ip, [sl, #0]	@  masque
	ldr	r3, [r2, #0]	@  fonte
	mov	r0, r4, asl #2	@  o
	add	r3, r3, r0	@  couleur
	add	ip, ip, r0
	add	r1, r7, r5	@  y,  y,  i
	ldr	r2, [r8, #0]	@  largeur_texte
	ldr	r0, [fp, #-44]	@  x
	str	ip, [sp, #0]
	str	r9, [sp, #4]	@  couleur
	add	r5, r5, #1	@  i,  i
	bl	Mode4_EcritPlusDe4PixelsMasqueCouleur
	ldr	r3, [r8, #0]	@  largeur_texte
	cmp	r5, r6	@  i,  h
	add	r4, r4, r3	@  o,  o
	blt	.L213
.L204:
	ldmea	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, lr}
	bx	lr
.L216:
	adds	r1, r7, r6	@  y,  h
	rsbpl	r5, r7, #0	@  i,  y
	bpl	.L205
	b	.L204
.L218:
	.align	2
.L217:
	.word	hauteur_texte
	.word	largeur_texte
	.word	masque
	.word	fonte
	.size	DessCar256, .-DessCar256
	.align	2
	.global	DessCarItalique256
	.type	DessCarItalique256, %function
DessCarItalique256:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	mov	r7, r1	@  y
	sub	fp, ip, #4
	ldr	r1, .L232
	sub	sp, sp, #8
	ldr	r6, [r1, #0]	@  h,  hauteur_texte
	cmp	r7, #0	@  y
	mov	r9, r0	@  x
	mov	sl, r3	@  couleur
	and	r2, r2, #255	@  car
	mov	r5, #0	@  i
	mov	r0, r6	@  h,  h
	addge	r1, r7, r6	@  y,  h
	blt	.L231
.L220:
	cmp	r1, #159
	ble	.L222
	cmp	r7, #159	@  y
	bgt	.L219
	rsb	r3, r1, r6	@  h
	add	r6, r3, #160	@  h
.L222:
	ldr	r8, .L232+4
	ldr	r3, [r8, #0]	@  largeur_texte
	mul	r0, r3, r0	@  h
	mul	r1, r3, r5	@  i
	sub	r2, r2, #32	@  car
	cmp	r5, r6	@  i,  h
	mla	r4, r2, r0, r1	@  o
	bge	.L219
.L228:
	ldr	r3, .L232+8
	smull	r1, r0, r3, r5	@  i
	ldr	r2, .L232+12
	ldr	r1, .L232+16
	ldr	r3, [r2, #0]	@  fonte
	ldr	ip, [r1, #0]	@  masque
	sub	r0, r0, r5, asr #31	@  i
	mov	lr, r4, asl #2	@  o
	rsb	r0, r0, r9	@  x
	add	r3, r3, lr	@  couleur
	add	r1, r7, r5	@  y,  y,  i
	add	ip, ip, lr
	ldr	r2, [r8, #0]	@  largeur_texte
	add	r0, r0, #2	@  x
	str	ip, [sp, #0]
	str	sl, [sp, #4]	@  couleur
	add	r5, r5, #1	@  i,  i
	bl	Mode4_EcritPlusDe4PixelsMasqueCouleur
	ldr	r3, [r8, #0]	@  largeur_texte
	cmp	r5, r6	@  i,  h
	add	r4, r4, r3	@  o,  o
	blt	.L228
.L219:
	ldmea	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, lr}
	bx	lr
.L231:
	adds	r1, r7, r6	@  y,  h
	rsbpl	r5, r7, #0	@  i,  y
	bpl	.L220
	b	.L219
.L233:
	.align	2
.L232:
	.word	hauteur_texte
	.word	largeur_texte
	.word	1431655766
	.word	fonte
	.word	masque
	.size	DessCarItalique256, .-DessCarItalique256
	.text
	.align	2
	.global	Debug
	.type	Debug, %function
Debug:
	@ Function supports interworking.
	@ args = 4, pretend = 16, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 1
	mov	ip, sp
	stmfd	sp!, {r0, r1, r2, r3}
	stmfd	sp!, {r4, r5, r6, r7, r8, fp, ip, lr, pc}
	ldr	r3, .L246
	sub	fp, ip, #20
	sub	sp, sp, #104
	ldr	r2, .L246+4
	ldr	lr, .L246+8
	ldr	ip, .L246+12
	ldr	r1, [r3, #0]	@  format,  MemVideo
	ldr	r6, [r2, #0]	@  Verdana_hauteur
	str	lr, [ip, #0]	@  fonte
	ldr	r3, .L246+16
	ldr	r4, .L246+20
	ldr	ip, .L246+24
	ldr	lr, .L246+28
	ldr	r7, [r3, #0]	@  Verdana_largeur
	str	r4, [ip, #0]	@  masque
	str	r6, [lr, #0]	@  hauteur_texte
	ldr	ip, .L246+32
	ldr	lr, .L246+36
	ldr	r8, .L246+40
	mov	r5, #0	@  x
	str	r7, [ip, #0]	@  largeur_texte
	sub	r0, fp, #136
	mov	r2, #1440
	mov	r3, #-2147483648
	str	lr, [r8, #0]	@  tailles
	ldr	ip, .L246+44
	str	r5, [fp, #-136]	@  x
	sub	r4, fp, #132	@  ptr
	mov	lr, pc
	bx	ip
	add	r2, fp, #8
	ldr	r1, [fp, #4]	@  format
	mov	r0, r4	@  ptr
	ldr	r3, .L246+48
	mov	lr, pc
	bx	r3
	ldrb	r2, [fp, #-132]	@ zero_extendqisi2
	cmp	r2, r5
	str	r0, [fp, #-136]	@  x
	beq	.L239
	ldr	r7, .L246+52
	ldr	r6, .L246+56
.L238:
	mov	r0, r5	@  x
	and	r2, r2, #255
	mov	r1, #0
	mov	r3, #254
	str	r6, [r7, #0]	@  pRoutineLointaine
	mov	lr, pc
	bx	r6
	ldrb	r1, [r4, #0]	@ zero_extendqisi2	@ * ptr
	ldr	r3, [r8, #0]	@  tailles
	ldrb	r2, [r4, #1]!	@ zero_extendqisi2
	add	r3, r3, r1
	ldrb	r0, [r3, #-32]	@ zero_extendqisi2
	cmp	r2, #0
	add	r5, r5, r0	@  x,  x
	bne	.L238
.L239:
	mov	r2, #67108864
	ldr	r3, [r2, #304]
	mvn	r3, r3
	tst	r3, #4
	beq	.L239
.L242:
	ldr	r3, [r2, #304]
	mvn	r3, r3
	tst	r3, #4
	bne	.L242
	ldmea	fp, {r4, r5, r6, r7, r8, fp, sp, lr}
	bx	lr
.L247:
	.align	2
.L246:
	.word	MemVideo
	.word	Verdana_hauteur
	.word	Verdana_fonte256
	.word	fonte
	.word	Verdana_largeur
	.word	Verdana_masque256
	.word	masque
	.word	hauteur_texte
	.word	largeur_texte
	.word	Verdana_tailles
	.word	tailles
	.word	MemSet
	.word	vsprintf
	.word	pRoutineLointaine
	.word	DessCar256
	.size	Debug, .-Debug
	.section	.iwram
	.align	2
	.global	DessTexteSpecial
	.type	DessTexteSpecial, %function
DessTexteSpecial:
	@ Function supports interworking.
	@ args = 16, pretend = 0, frame = 20
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	sub	fp, ip, #4
	sub	sp, sp, #28
	str	r3, [fp, #-44]	@  couleur
	ldrb	ip, [fp, #16]	@ zero_extendqisi2	@  bAffiche
	ldr	r3, .L312
	mov	sl, r1	@  y
	ldr	r1, [fp, #-44]	@  couleur
	mov	r9, #0	@  interieur
	str	r9, [r3, #0]	@  interieur,  nEvenement
	str	ip, [fp, #-48]	@  bAffiche
	str	r0, [fp, #-52]	@  x,  xbase
	str	r1, [fp, #-56]	@  coul
	str	r9, [fp, #-60]	@  interieur,  chnesauve
	mov	r8, r0	@  x
	mov	r4, r2	@  chaine
.L249:
	ldrb	r3, [r4, #0]	@ zero_extendqisi2	@ * chaine
	mov	ip, r3
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L292
	mov	r2, r3
.L291:
	cmp	r2, #32
	addne	r7, r4, #1	@  temp,  chaine
	beq	.L307
.L253:
	cmp	ip, #35
	beq	.L308
.L263:
	and	r0, ip, #255
	cmp	r0, #10
	beq	.L309
	ldr	r6, .L312+4
	ldr	r3, [r6, #0]	@  tailles
	ldr	r1, .L312+8
	add	r3, r3, r0
	ldrb	r2, [r3, #-32]	@ zero_extendqisi2
	ldr	r3, [r1, #0]	@  largeur
	add	r2, r8, r2	@  x
	cmp	r2, r3, asl #3
	bhi	.L305
	ldr	r3, [fp, #-48]	@  bAffiche
	cmp	r3, #0
	beq	.L290
	ldr	r1, [fp, #8]	@  offset
	rsb	lr, r1, sl	@  y,  y
	cmp	lr, #11	@  y
	ble	.L290
	ldr	r3, .L312+12
	ldr	r5, [r3, #0]	@  chaine,  hauteur_texte
	add	r2, lr, r5	@  y,  chaine
	cmp	r2, #63
	bls	.L310
.L290:
	ldr	r3, [r6, #0]	@  tailles
	add	r3, r3, ip
	ldrb	r2, [r3, #-32]	@ zero_extendqisi2
	mov	r4, r7	@  chaine,  temp
	add	r8, r8, r2	@  x,  x
.L250:
	ldrb	r3, [r4, #0]	@ zero_extendqisi2	@ * chaine
	mov	ip, r3
	and	r3, r3, #255	@  chnesauve
	cmp	r3, #0	@  chnesauve
	mov	r2, r3	@  chnesauve
	bne	.L291
	ldr	r1, [fp, #-60]	@  chnesauve
	cmp	r1, #0
	movne	r4, r1	@  chaine
	strne	r3, [fp, #-60]	@  chnesauve,  chnesauve
	bne	.L249
.L292:
	cmp	r9, #0	@  interieur
	beq	.L293
	ldr	r3, .L312
	ldr	r2, [r3, #0]	@  nEvenement
	ldr	r3, .L312+12
	add	r1, r2, r2, asl #2
	ldr	r0, [r3, #0]	@  hauteur_texte
	ldr	r3, .L312+16
	add	r2, r2, r1, asl #1
	add	r3, r3, r2, asl #2
	add	r0, sl, r0	@  y
	str	r0, [r3, #-8]	@  <variable>.yfin
.L293:
	ldr	r3, .L312+20
	str	sl, [r3, #0]	@  y,  y_ww
	ldmea	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, lr}
	bx	lr
.L310:
	mov	r3, r0, asl #2
	sub	r3, r3, #128
	mul	r0, r3, r5	@  chaine
	ldr	r1, .L312+24
	ldr	r2, .L312+28
	ldr	ip, [r1, #0]	@  masque
	ldr	r3, [r2, #0]	@  fonte
	add	ip, ip, r0
	str	ip, [sp, #0]
	ldr	ip, [fp, #-56]	@  coul
	add	r3, r3, r0	@  couleur
	mov	r1, lr	@  y
	mov	r2, r5	@  chaine
	mov	r0, r8	@  x
	str	ip, [sp, #4]
	bl	EcritMotifsMasqueCouleur
	ldrb	ip, [r4, #0]	@ zero_extendqisi2	@ * chaine
	b	.L290
.L305:
	ldr	ip, .L312+12
.L260:
	cmp	r9, #0	@  interieur
	ldr	r3, [ip, #0]	@  hauteur_texte
	ldrne	r2, [fp, #-52]	@  xbase
	ldreq	r8, [fp, #-52]	@  x,  xbase
	add	sl, sl, r3	@  y,  y
	addne	r8, r2, #9	@  x
	mov	r4, r7	@  chaine,  temp
	b	.L250
.L309:
	cmp	r9, #0	@  interieur
	ldreq	ip, .L312+12
	beq	.L288
	ldr	ip, .L312
	ldr	r3, [ip, #0]	@  nEvenement
	ldr	ip, .L312+12
	add	r2, r3, r3, asl #2
	ldr	r0, [ip, #0]	@  hauteur_texte
	ldr	r1, .L312+16
	add	r3, r3, r2, asl #1
	ldr	r2, [fp, #-44]	@  couleur
	add	r1, r1, r3, asl #2
	add	r0, sl, r0	@  y
	str	r2, [fp, #-56]	@  coul
	str	r0, [r1, #-8]	@  <variable>.yfin
.L288:
	mov	r9, #0	@  interieur
	b	.L260
.L308:
	ldr	r1, .L312
	ldr	r3, [r1, #0]	@  nEvenement
	cmp	r3, #28
	bhi	.L263
	ldr	r2, [fp, #4]	@  selection
	cmp	r2, r3
	ldreq	r3, [fp, #-56]	@  coul
	addeq	r3, r3, #1
	streq	r3, [fp, #-56]	@  coul
	mov	r4, r7	@  chaine,  temp
	ldrb	r1, [r4, #0]	@ zero_extendqisi2	@ * chaine
	and	r3, r1, #255
	cmp	r3, #35
	cmpne	r3, #124
	mov	r0, #0	@  i
	beq	.L302
	cmp	r3, r0
	beq	.L302
	ldr	lr, .L312+16
.L269:
	ldr	ip, .L312
	ldr	r3, [ip, #0]	@  nEvenement
	add	r2, r3, r3, asl #2
	add	r3, r3, r2, asl #1
	add	r3, r0, r3, asl #2	@  i
	strb	r1, [r3, lr]	@  <variable>.symbole
	ldrb	r1, [r4, #1]!	@ zero_extendqisi2
	and	r2, r1, #255
	cmp	r2, #35
	cmpne	r2, #124
	add	r0, r0, #1	@  i,  i
	beq	.L266
	cmp	r0, #30	@  i
	movhi	r3, #0
	movls	r3, #1
	cmp	r2, #0
	moveq	r3, #0
	andne	r3, r3, #1
	cmp	r3, #0
	bne	.L269
.L266:
	ldr	r1, .L312
	ldr	r3, [r1, #0]	@  nEvenement
	ldr	ip, [fp, #4]	@  selection
	add	r2, r3, r3, asl #2
	add	r2, r3, r2, asl #1
	cmp	ip, r3
	add	r2, lr, r2, asl #2
	mov	r3, #0	@  i
	strb	r3, [r2, r0]	@  i,  <variable>.symbole
	mov	r0, r3	@  i,  i
	beq	.L311
	ldrb	r3, [r4, #0]	@ zero_extendqisi2	@ * chaine
	cmp	r3, #35
	cmpne	r3, #0
	beq	.L277
.L281:
	ldrb	r3, [r4, #1]!	@ zero_extendqisi2
	cmp	r3, #35
	cmpne	r3, #0
	bne	.L281
.L277:
	ldr	r2, .L312
	ldr	r1, [r2, #0]	@  y,  nEvenement
	add	r3, r1, r1, asl #2	@  y,  y
	add	r3, r1, r3, asl #1	@  y
	add	r2, lr, r3, asl #2
	str	sl, [r2, #32]	@  y,  <variable>.y
	ldrb	r3, [r4, #1]!	@ zero_extendqisi2
	cmp	r3, #10
	cmpne	r3, #0
	bne	.L282
	ldr	r3, [fp, #12]	@  handler
	cmp	r3, #0
	beq	.L282
	str	r1, [r2, #40]	@  y,  <variable>.demande
	str	r4, [fp, #-60]	@  chaine,  chnesauve
	mov	r0, #2
	mov	r2, #0
	mov	lr, pc
	bx	r3
	cmp	r0, #0	@  chaine
	mov	r4, r0	@  chaine
	ldreq	r4, [fp, #-60]	@  chaine,  chnesauve
	streq	r0, [fp, #-60]	@  chnesauve
.L284:
	ldr	r1, .L312
	ldr	r2, [fp, #-52]	@  xbase
	ldr	r3, [r1, #0]	@  nEvenement
	cmp	r8, r2	@  x
	add	r3, r3, #1
	addeq	r8, r8, #9	@  x,  x
	mov	r9, #1	@  interieur
	str	r3, [r1, #0]	@  nEvenement
	b	.L250
.L282:
	ldr	ip, .L312
	ldr	r3, [ip, #0]	@  nEvenement
	add	r2, r3, r3, asl #2
	add	r3, r3, r2, asl #1
	add	r3, lr, r3, asl #2
	mvn	r2, #0
	str	r2, [r3, #40]	@  <variable>.demande
	b	.L284
.L311:
	ldrb	ip, [r4, #0]	@ zero_extendqisi2	@ * chaine
	cmp	ip, #124
	ldreqb	ip, [r4, #1]!	@ zero_extendqisi2
	cmp	ip, #35
	cmpne	ip, #0
	mov	r3, ip
	ldreq	r2, .L312+32
	beq	.L273
	ldr	r2, .L312+32
.L276:
	strb	r3, [r0, r2]	@  message_fond
	ldrb	r3, [r4, #1]!	@ zero_extendqisi2
	cmp	r3, #35
	cmpne	r3, #0
	add	r0, r0, #1	@  i,  i
	beq	.L273
	cmp	r0, #98	@  i
	bls	.L276
.L273:
	mov	r3, #0
	strb	r3, [r2, r0]	@  message_fond
	b	.L277
.L302:
	ldr	lr, .L312+16
	b	.L266
.L307:
	ldr	r6, .L312+4
	ldrb	r0, [r4, #1]	@ zero_extendqisi2
	ldr	r2, [r6, #0]	@  tailles
	and	r1, r0, #255
	ldrb	r3, [r2, #0]	@ zero_extendqisi2
	add	r7, r4, #1	@  temp,  chaine
	cmp	r1, #32
	cmpne	r1, #10
	add	lr, r8, r3	@  xx,  x
	mov	r5, r7	@  temp,  temp
	beq	.L255
	cmp	r1, #35
	beq	.L255
	cmp	r1, #0
	beq	.L255
	mov	r6, r2
.L258:
	ldrb	r3, [r5, #1]!	@ zero_extendqisi2
	add	r2, r6, r0
	ldrb	r1, [r2, #-32]	@ zero_extendqisi2
	mov	r0, r3
	and	r3, r3, #255
	cmp	r3, #32
	cmpne	r3, #10
	add	lr, lr, r1	@  xx,  xx
	beq	.L255
	cmp	r3, #35
	beq	.L255
	cmp	r3, #0
	bne	.L258
.L255:
	ldr	r3, .L312+8
	ldr	r2, [r3, #0]	@  largeur
	cmp	lr, r2, asl #3	@  xx
	bcc	.L253
	b	.L305
.L313:
	.align	2
.L312:
	.word	nEvenement
	.word	tailles
	.word	largeur
	.word	hauteur_texte
	.word	liens
	.word	y_ww
	.word	masque
	.word	fonte
	.word	message_fond
	.size	DessTexteSpecial, .-DessTexteSpecial
	.align	2
	.global	DessTexte256
	.type	DessTexte256, %function
DessTexte256:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, fp, ip, lr, pc}
	mov	r5, r2	@  chaine
	ldrb	r2, [r2, #0]	@ zero_extendqisi2	@  chaine, * chaine
	cmp	r2, #0	@  chaine
	sub	fp, ip, #4
	mov	r4, r0	@  x
	mov	r7, r1	@  y
	mov	r6, r3	@  couleur
	beq	.L316
	ldr	r8, .L321
	mov	ip, r2	@  chaine,  chaine
.L319:
	ldr	lr, [r8, #0]	@  tailles
	add	lr, lr, ip	@  chaine
	mov	r2, ip	@  chaine
	ldrb	ip, [lr, #-32]	@ zero_extendqisi2
	add	ip, r4, ip	@  x
	cmp	ip, #240
	mov	r0, r4	@  x
	mov	r1, r7	@  y
	mov	r3, r6	@  couleur
	bhi	.L316
	bl	DessCar256
	ldrb	r1, [r5, #0]	@ zero_extendqisi2	@ * chaine
	ldr	r3, [r8, #0]	@  tailles
	ldrb	r2, [r5, #1]!	@ zero_extendqisi2	@  chaine
	add	r3, r3, r1
	ldrb	r0, [r3, #-32]	@ zero_extendqisi2
	cmp	r2, #0	@  chaine
	mov	ip, r2	@  chaine,  chaine
	add	r4, r4, r0	@  x,  x
	bne	.L319
.L316:
	ldmea	fp, {r4, r5, r6, r7, r8, fp, sp, lr}
	bx	lr
.L322:
	.align	2
.L321:
	.word	tailles
	.size	DessTexte256, .-DessTexte256
	.comm	pRoutineLointaine, 4, 32
	.comm	pFctLointaine, 4, 32
	.comm	y_ww, 4, 32
	.comm	ligne2, 4, 32
	.comm	gblCurs, 4, 32
	.comm	fonte, 4, 32
	.comm	masque, 4, 32
	.comm	tailles, 4, 32
	.comm	hauteur_texte, 4, 32
	.comm	largeur_texte, 4, 32
	.comm	adresse, 4, 32
	.comm	largeur, 4, 32
	.comm	hauteur, 4, 32
	.comm	adresse256, 4, 32
	.comm	largeur256, 4, 32
	.comm	hauteur256, 4, 32
	.global	liens
	.section	.ewram,"aw",%progbits
	.align	2
	.type	liens, %object
	.size	liens, 1320
liens:
	.space	1320
	.comm	nEvenement, 4, 32
	.global	message_fond
	.type	message_fond, %object
	.size	message_fond, 100
message_fond:
	.space	100
	.comm	zone_texte_courante, 4, 32
	.ident	"GCC: (GNU) 3.3.2"
