	.file	"19597.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Usage: %s pbmfile outfile\n"
.LC1:
	.string	"r"
.LC2:
	.string	"Invalid file contents"
.LC3:
	.string	"%d%hhd"
.LC4:
	.string	"P1\n"
.LC5:
	.string	"Bad magic"
.LC6:
	.string	"Bad X dimension"
.LC7:
	.string	"Bad Y dimension"
.LC8:
	.string	"w"
	.align 8
.LC9:
	.string	"/* DGen font, generated by pbm2df from \"%s\" */\n\n#include <stdio.h> /* for NULL definition */\n\n"
	.align 8
.LC10:
	.string	"static const short _glyph_%02X[] = {"
.LC11:
	.string	"%d, "
.LC12:
	.string	"-1};\n"
	.align 8
.LC13:
	.ascii	"const short *dgen_font_%hhdx"
	.string	"%hhd[0x80] = {\n  /* Fill in for the control characters */\n  NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,\n  NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,\n  NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,\n  NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL"
.LC14:
	.string	",\n  _glyph_%02X"
.LC15:
	.string	"\n};\n"
	.align 8
.LC16:
	.string	"Successfully generated dgen font source \"%s\" from \"%s\"\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 664
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -676[rbp], edi
	mov	QWORD PTR -688[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -676[rbp], 2
	jg	.L2
	mov	rax, QWORD PTR -688[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -688[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -648[rbp], rax
	cmp	QWORD PTR -648[rbp], 0
	jne	.L3
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rdx, QWORD PTR -648[rbp]
	lea	rax, -608[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L4
	nop
.L5:
	mov	rax, QWORD PTR -648[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L31
.L4:
	mov	rdx, QWORD PTR -648[rbp]
	lea	rax, -576[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L7
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L5
.L7:
	movzx	eax, BYTE PTR -576[rbp]
	cmp	al, 35
	je	.L4
	lea	rcx, -671[rbp]
	lea	rdx, -668[rbp]
	lea	rax, -576[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	lea	rax, -608[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L8
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -668[rbp]
	test	eax, eax
	js	.L9
	mov	ecx, DWORD PTR -668[rbp]
	movsx	rax, ecx
	imul	rax, rax, 715827883
	shr	rax, 32
	sar	eax, 4
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 5
	sub	ecx, eax
	mov	edx, ecx
	test	edx, edx
	jne	.L9
	mov	eax, DWORD PTR -668[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	edx, 4
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	BYTE PTR -669[rbp], al
	cmp	BYTE PTR -669[rbp], 0
	jns	.L10
.L9:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L5
.L10:
	movzx	eax, BYTE PTR -671[rbp]
	test	al, al
	jns	.L11
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L5
.L11:
	movzx	ecx, BYTE PTR -671[rbp]
	movsx	rax, cl
	sub	rax, 1
	mov	QWORD PTR -640[rbp], rax
	movsx	rax, cl
	mov	QWORD PTR -704[rbp], rax
	mov	QWORD PTR -696[rbp], 0
	movsx	rbx, cl
	mov	esi, DWORD PTR -668[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -632[rbp], rax
	movsx	rax, cl
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, esi
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rdi, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rdx, cl
	movsx	rax, esi
	imul	rax, rdx
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -624[rbp], rax
	cmp	QWORD PTR -624[rbp], 0
	je	.L33
	mov	DWORD PTR -660[rbp], 0
	jmp	.L14
.L20:
	mov	DWORD PTR -656[rbp], 0
	jmp	.L15
.L18:
	mov	rdx, QWORD PTR -648[rbp]
	lea	rax, -670[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	jne	.L34
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -670[rbp]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L18
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -670[rbp]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L35
	movzx	eax, BYTE PTR -670[rbp]
	lea	edx, -48[rax]
	mov	rsi, QWORD PTR -624[rbp]
	mov	eax, DWORD PTR -660[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -656[rbp]
	cdqe
	imul	rax, rbx
	add	rcx, rsi
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -656[rbp], 1
.L15:
	mov	eax, DWORD PTR -668[rbp]
	cmp	DWORD PTR -656[rbp], eax
	jl	.L18
	add	DWORD PTR -660[rbp], 1
.L14:
	movzx	eax, BYTE PTR -671[rbp]
	movsx	eax, al
	cmp	DWORD PTR -660[rbp], eax
	jl	.L20
	mov	rax, QWORD PTR -648[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -688[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -616[rbp], rax
	cmp	QWORD PTR -616[rbp], 0
	jne	.L21
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	rax, QWORD PTR -688[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -616[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -664[rbp], 0
	jmp	.L22
.L28:
	mov	eax, DWORD PTR -664[rbp]
	lea	edx, 32[rax]
	mov	rax, QWORD PTR -616[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -652[rbp], 0
	mov	DWORD PTR -660[rbp], 0
	jmp	.L23
.L27:
	movsx	eax, BYTE PTR -669[rbp]
	mov	edx, DWORD PTR -664[rbp]
	imul	eax, edx
	mov	DWORD PTR -656[rbp], eax
	jmp	.L24
.L26:
	mov	rcx, QWORD PTR -624[rbp]
	mov	eax, DWORD PTR -660[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -656[rbp]
	cdqe
	imul	rax, rbx
	add	rdx, rcx
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L25
	mov	edx, DWORD PTR -652[rbp]
	mov	rax, QWORD PTR -616[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -652[rbp], 0
.L25:
	add	DWORD PTR -652[rbp], 1
	add	DWORD PTR -656[rbp], 1
.L24:
	movsx	eax, BYTE PTR -669[rbp]
	imul	eax, DWORD PTR -664[rbp]
	mov	edx, eax
	movsx	eax, BYTE PTR -669[rbp]
	add	eax, edx
	cmp	DWORD PTR -656[rbp], eax
	jl	.L26
	add	DWORD PTR -660[rbp], 1
.L23:
	movzx	eax, BYTE PTR -671[rbp]
	movsx	eax, al
	cmp	DWORD PTR -660[rbp], eax
	jl	.L27
	mov	rax, QWORD PTR -616[rbp]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	add	DWORD PTR -664[rbp], 1
.L22:
	cmp	DWORD PTR -664[rbp], 95
	jle	.L28
	movzx	eax, BYTE PTR -671[rbp]
	movsx	ecx, al
	movsx	edx, BYTE PTR -669[rbp]
	mov	rax, QWORD PTR -616[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -664[rbp], 32
	jmp	.L29
.L30:
	mov	edx, DWORD PTR -664[rbp]
	mov	rax, QWORD PTR -616[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -664[rbp], 1
.L29:
	cmp	DWORD PTR -664[rbp], 127
	jle	.L30
	mov	rax, QWORD PTR -616[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -616[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -688[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -688[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -624[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L31
.L33:
	nop
	jmp	.L13
.L34:
	nop
	jmp	.L13
.L35:
	nop
.L13:
	mov	rax, QWORD PTR -624[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -648[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 1
.L31:
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	add	rsp, 664
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"19597.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s pbmfile outfile\012\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"Invalid file contents\000"
	.align	2
.LC3:
	.ascii	"%d%hhd\000"
	.align	2
.LC4:
	.ascii	"P1\012\000"
	.align	2
.LC5:
	.ascii	"Bad magic\000"
	.align	2
.LC6:
	.ascii	"Bad X dimension\000"
	.align	2
.LC7:
	.ascii	"Bad Y dimension\000"
	.align	2
.LC8:
	.ascii	"w\000"
	.align	2
.LC9:
	.ascii	"/* DGen font, generated by pbm2df from \"%s\" */\012"
	.ascii	"\012#include <stdio.h> /* for NULL definition */\012"
	.ascii	"\012\000"
	.align	2
.LC10:
	.ascii	"static const short _glyph_%02X[] = {\000"
	.align	2
.LC11:
	.ascii	"%d, \000"
	.align	2
.LC12:
	.ascii	"-1};\012\000"
	.align	2
.LC13:
	.ascii	"const short *dgen_font_%hhdx%hhd[0x80] = {\012  /* "
	.ascii	"Fill in for the control characters */\012  NULL, NU"
	.ascii	"LL, NULL, NULL, NULL, NULL, NULL, NULL,\012  NULL, "
	.ascii	"NULL, NULL, NULL, NULL, NULL, NULL, NULL,\012  NULL"
	.ascii	", NULL, NULL, NULL, NULL, NULL, NULL, NULL,\012  NU"
	.ascii	"LL, NULL, NULL, NULL, NULL, NULL, NULL, NULL\000"
	.align	2
.LC14:
	.ascii	",\012  _glyph_%02X\000"
	.align	2
.LC15:
	.ascii	"\012};\012\000"
	.align	2
.LC16:
	.ascii	"Successfully generated dgen font source \"%s\" from"
	.ascii	" \"%s\"\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 600
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #600
	str	r0, [fp, #-616]
	str	r1, [fp, #-620]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, [fp, #-616]
	cmp	r3, #2
	bgt	.L2
	ldr	r3, [fp, #-620]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L36+4
	bl	printf
	mov	r0, #2
	bl	exit
.L2:
	ldr	r3, [fp, #-620]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L36+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-588]
	ldr	r3, [fp, #-588]
	cmp	r3, #0
	bne	.L3
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #568
	ldr	r2, [fp, #-588]
	mov	r1, #32
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	nop
.L5:
	ldr	r0, [fp, #-588]
	bl	fclose
	mov	r3, #1
	b	.L31
.L4:
	sub	r3, fp, #536
	ldr	r2, [fp, #-588]
	mov	r1, #512
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L36+12
	bl	puts
	b	.L5
.L7:
	ldrb	r3, [fp, #-536]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L4
	sub	r3, fp, #608
	sub	r3, r3, #3
	sub	r2, fp, #608
	sub	r0, fp, #536
	ldr	r1, .L36+16
	bl	__isoc99_sscanf
	sub	r3, fp, #568
	ldr	r1, .L36+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L36+24
	bl	puts
	b	.L5
.L8:
	ldr	r3, [fp, #-608]
	cmp	r3, #0
	blt	.L9
	ldr	r1, [fp, #-608]
	ldr	r3, .L36+28
	smull	r2, r3, r1, r3
	asr	r2, r3, #4
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #5
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L9
	ldr	r3, [fp, #-608]
	ldr	r2, .L36+28
	smull	r1, r2, r3, r2
	asr	r2, r2, #4
	asr	r3, r3, #31
	sub	r3, r2, r3
	strb	r3, [fp, #-609]
	sub	r3, fp, #608
	sub	r3, r3, #1
	ldrsb	r3, [r3]
	cmp	r3, #0
	bge	.L10
.L9:
	ldr	r0, .L36+32
	bl	puts
	b	.L5
.L10:
	sub	r3, fp, #608
	sub	r3, r3, #3
	ldrsb	r3, [r3]
	cmp	r3, #0
	bge	.L11
	ldr	r0, .L36+36
	bl	puts
	b	.L5
.L11:
	sub	r3, fp, #608
	sub	r3, r3, #3
	ldrsb	lr, [r3]
	mov	r3, lr
	sub	r3, r3, #1
	str	r3, [fp, #-584]
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r6, lr
	ldr	ip, [fp, #-608]
	sub	r3, ip, #1
	str	r3, [fp, #-580]
	mov	r3, lr
	mov	r4, r3
	mov	r5, #0
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r3, lr
	mov	r2, ip
	mul	r3, r2, r3
	mov	r1, r3
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-576]
	ldr	r3, [fp, #-576]
	cmp	r3, #0
	beq	.L33
	mov	r3, #0
	str	r3, [fp, #-600]
	b	.L14
.L20:
	mov	r3, #0
	str	r3, [fp, #-596]
	b	.L15
.L18:
	sub	r0, fp, #608
	sub	r0, r0, #2
	ldr	r3, [fp, #-588]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	bne	.L34
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-610]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L18
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-610]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L35
	ldrb	r3, [fp, #-610]	@ zero_extendqisi2
	sub	r3, r3, #48
	and	r1, r3, #255
	ldr	r2, [fp, #-576]
	ldr	r3, [fp, #-596]
	mul	r3, r6, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-600]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-596]
	add	r3, r3, #1
	str	r3, [fp, #-596]
.L15:
	ldr	r3, [fp, #-608]
	ldr	r2, [fp, #-596]
	cmp	r2, r3
	blt	.L18
	ldr	r3, [fp, #-600]
	add	r3, r3, #1
	str	r3, [fp, #-600]
.L14:
	sub	r3, fp, #608
	sub	r3, r3, #3
	ldrsb	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-600]
	cmp	r3, r2
	blt	.L20
	ldr	r0, [fp, #-588]
	bl	fclose
	ldr	r3, [fp, #-620]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L36+40
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-572]
	ldr	r3, [fp, #-572]
	cmp	r3, #0
	bne	.L21
	mov	r0, #1
	bl	exit
.L21:
	ldr	r3, [fp, #-620]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L36+44
	ldr	r0, [fp, #-572]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-604]
	b	.L22
.L28:
	ldr	r3, [fp, #-604]
	add	r3, r3, #32
	mov	r2, r3
	ldr	r1, .L36+48
	ldr	r0, [fp, #-572]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-592]
	mov	r3, #0
	str	r3, [fp, #-600]
	b	.L23
.L27:
	sub	r3, fp, #608
	sub	r3, r3, #1
	ldrsb	r2, [r3]
	ldr	r3, [fp, #-604]
	mul	r3, r2, r3
	str	r3, [fp, #-596]
	b	.L24
.L26:
	ldr	r2, [fp, #-576]
	ldr	r3, [fp, #-596]
	mul	r3, r6, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-600]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
	ldr	r2, [fp, #-592]
	ldr	r1, .L36+52
	ldr	r0, [fp, #-572]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-592]
.L25:
	ldr	r3, [fp, #-592]
	add	r3, r3, #1
	str	r3, [fp, #-592]
	ldr	r3, [fp, #-596]
	add	r3, r3, #1
	str	r3, [fp, #-596]
.L24:
	sub	r3, fp, #608
	sub	r3, r3, #1
	ldrsb	r3, [r3]
	ldr	r2, [fp, #-604]
	mul	r2, r3, r2
	sub	r3, fp, #608
	sub	r3, r3, #1
	ldrsb	r3, [r3]
	add	r3, r2, r3
	ldr	r2, [fp, #-596]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-600]
	add	r3, r3, #1
	str	r3, [fp, #-600]
.L23:
	sub	r3, fp, #608
	sub	r3, r3, #3
	ldrsb	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-600]
	cmp	r3, r2
	blt	.L27
	ldr	r3, [fp, #-572]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L36+56
	bl	fwrite
	ldr	r3, [fp, #-604]
	add	r3, r3, #1
	str	r3, [fp, #-604]
.L22:
	ldr	r3, [fp, #-604]
	cmp	r3, #95
	ble	.L28
	sub	r3, fp, #608
	sub	r3, r3, #1
	ldrsb	r2, [r3]
	sub	r3, fp, #608
	sub	r3, r3, #3
	ldrsb	r3, [r3]
	ldr	r1, .L36+60
	ldr	r0, [fp, #-572]
	bl	fprintf
	mov	r3, #32
	str	r3, [fp, #-604]
	b	.L29
.L30:
	ldr	r2, [fp, #-604]
	ldr	r1, .L36+64
	ldr	r0, [fp, #-572]
	bl	fprintf
	ldr	r3, [fp, #-604]
	add	r3, r3, #1
	str	r3, [fp, #-604]
.L29:
	ldr	r3, [fp, #-604]
	cmp	r3, #127
	ble	.L30
	ldr	r3, [fp, #-572]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L36+68
	bl	fwrite
	ldr	r0, [fp, #-572]
	bl	fclose
	ldr	r3, [fp, #-620]
	add	r3, r3, #8
	ldr	r1, [r3]
	ldr	r3, [fp, #-620]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L36+72
	bl	printf
	ldr	r0, [fp, #-576]
	bl	free
	mov	r3, #0
	b	.L31
.L33:
	nop
	b	.L13
.L34:
	nop
	b	.L13
.L35:
	nop
.L13:
	ldr	r0, [fp, #-576]
	bl	free
	ldr	r0, [fp, #-588]
	bl	fclose
	ldr	r0, .L36+12
	bl	puts
	mov	r3, #1
.L31:
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC17
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	715827883
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
