	.file	"648276.c"
	.intel_syntax noprefix
	.text
	.globl	m
	.bss
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	scale
	.align 4
	.type	scale, @object
	.size	scale, 4
scale:
	.zero	4
	.globl	w
	.align 32
	.type	w, @object
	.size	w, 24336
w:
	.zero	24336
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 128
buf:
	.zero	128
	.section	.rodata
.LC0:
	.string	"%d"
	.align 8
.LC1:
	.string	"Usage: %s m n t scale < w[m][n]\n"
	.align 8
.LC2:
	.string	"Sorry, m (%d) must not exceed %d!\n"
	.align 8
.LC3:
	.string	"Sorry, n (%d) must not exceed %d!\n"
.LC4:
	.string	"%s"
	.align 8
.LC5:
	.string	"Oops, I had trouble reading w%d%d!\n"
	.align 8
.LC6:
	.string	"Oops, w%d%d should be between 0 and %d, not %d!\n"
	.align 8
.LC7:
	.string	"Unsatisfiable (machine %d needs %d)!\n"
	.align 8
.LC8:
	.string	"Unsatisfiable (job %d needs %d)!\n"
	.align 8
.LC9:
	.string	"~ sat-oss-sym-scaled %d %d %d %d\n"
.LC10:
	.string	"~ "
.LC11:
	.string	"%4d"
.LC12:
	.string	"~%c%c<%d %c%c<%d\n"
.LC13:
	.string	"!%c%c%c%c\n"
.LC14:
	.string	"~!%c%c%c%c"
.LC15:
	.string	"!%c%c%c%c"
.LC16:
	.string	" %c%c<%d"
.LC17:
	.string	" ~%c%c<%d"
	.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, 24
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -56[rbp], 0
	cmp	DWORD PTR -52[rbp], 5
	jne	.L2
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, m[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	jne	.L2
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, n[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	jne	.L2
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	lea	rdx, t[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	jne	.L2
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	lea	rdx, scale[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L3
.L2:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	mov	eax, DWORD PTR m[rip]
	cmp	eax, 78
	jle	.L4
	mov	edx, DWORD PTR m[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 78
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -2
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 78
	jle	.L5
	mov	edx, DWORD PTR n[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 78
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -3
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR stdin[rip]
	mov	rsi, rax
	mov	edi, ebx
	call	ungetc@PLT
	cmp	ebx, 126
	jne	.L58
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	mov	esi, 128
	lea	rdi, buf[rip]
	call	fgets@PLT
	lea	rsi, buf[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L58:
	nop
	mov	ebx, 0
	jmp	.L8
.L14:
	mov	r12d, 0
	jmp	.L9
.L13:
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	add	rdx, rax
	mov	rax, QWORD PTR stdin[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 1
	je	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, r12d
	mov	edx, ebx
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -4
	call	exit@PLT
.L10:
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	ecx, DWORD PTR scale[rip]
	cdq
	idiv	ecx
	mov	ecx, eax
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	DWORD PTR [rdx+rax], ecx
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	js	.L11
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR t[rip]
	cmp	edx, eax
	jle	.L12
.L11:
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR t[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, ecx
	mov	r8d, edx
	mov	ecx, r12d
	mov	edx, ebx
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -5
	call	exit@PLT
.L12:
	add	r12d, 1
.L9:
	mov	eax, DWORD PTR n[rip]
	cmp	r12d, eax
	jl	.L13
	add	ebx, 1
.L8:
	mov	eax, DWORD PTR m[rip]
	cmp	ebx, eax
	jl	.L14
	mov	ebx, 0
	jmp	.L15
.L19:
	mov	r13d, 0
	mov	r12d, 0
	jmp	.L16
.L17:
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	r13d, eax
	add	r12d, 1
.L16:
	mov	eax, DWORD PTR n[rip]
	cmp	r12d, eax
	jl	.L17
	mov	eax, DWORD PTR t[rip]
	cmp	r13d, eax
	jle	.L18
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, r13d
	mov	edx, ebx
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -10
	call	exit@PLT
.L18:
	add	ebx, 1
.L15:
	mov	eax, DWORD PTR m[rip]
	cmp	ebx, eax
	jl	.L19
	mov	r12d, 0
	jmp	.L20
.L24:
	mov	r13d, 0
	mov	ebx, 0
	jmp	.L21
.L22:
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	r13d, eax
	add	ebx, 1
.L21:
	mov	eax, DWORD PTR m[rip]
	cmp	ebx, eax
	jl	.L22
	mov	eax, DWORD PTR t[rip]
	cmp	r13d, eax
	jle	.L23
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, r13d
	mov	edx, r12d
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -11
	call	exit@PLT
.L23:
	add	r12d, 1
.L20:
	mov	eax, DWORD PTR n[rip]
	cmp	r12d, eax
	jl	.L24
	mov	esi, DWORD PTR scale[rip]
	mov	ecx, DWORD PTR t[rip]
	mov	edx, DWORD PTR n[rip]
	mov	eax, DWORD PTR m[rip]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ebx, 0
	jmp	.L25
.L28:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	r12d, 0
	jmp	.L26
.L27:
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	r12d, 1
.L26:
	mov	eax, DWORD PTR n[rip]
	cmp	r12d, eax
	jl	.L27
	mov	edi, 10
	call	putchar@PLT
	add	ebx, 1
.L25:
	mov	eax, DWORD PTR m[rip]
	cmp	ebx, eax
	jl	.L28
	mov	ebx, 0
	jmp	.L29
.L35:
	mov	r12d, 0
	jmp	.L30
.L34:
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L31
	mov	r15d, 1
	jmp	.L32
.L33:
	lea	ecx, 1[r15]
	lea	edi, 48[r12]
	lea	esi, 48[rbx]
	lea	edx, 48[r12]
	lea	eax, 48[rbx]
	sub	rsp, 8
	push	rcx
	mov	r9d, edi
	mov	r8d, esi
	mov	ecx, r15d
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	add	r15d, 1
.L32:
	mov	eax, DWORD PTR t[rip]
	movsx	rcx, r12d
	movsx	rdx, ebx
	imul	rdx, rdx, 78
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, w[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	cmp	r15d, eax
	jl	.L33
.L31:
	add	r12d, 1
.L30:
	mov	eax, DWORD PTR n[rip]
	cmp	r12d, eax
	jl	.L34
	add	ebx, 1
.L29:
	mov	eax, DWORD PTR m[rip]
	cmp	ebx, eax
	jl	.L35
	mov	ebx, 0
	jmp	.L36
.L55:
	mov	r12d, 0
	jmp	.L37
.L54:
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L38
	mov	r13d, 0
	jmp	.L39
.L53:
	mov	r14d, 0
	jmp	.L40
.L52:
	cmp	r13d, ebx
	jne	.L41
	cmp	r14d, r12d
	jne	.L42
.L41:
	cmp	r13d, ebx
	je	.L43
	cmp	r14d, r12d
	jne	.L43
.L42:
	movsx	rdx, r14d
	movsx	rax, r13d
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L43
	cmp	DWORD PTR -56[rbp], 0
	jne	.L44
	mov	DWORD PTR -56[rbp], 1
	lea	esi, 48[r14]
	lea	ecx, 48[r13]
	lea	edx, 48[r12]
	lea	eax, 48[rbx]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L44:
	mov	r15d, 0
	jmp	.L45
.L51:
	cmp	ebx, r13d
	jl	.L46
	cmp	r12d, r14d
	jge	.L47
.L46:
	lea	esi, 48[r14]
	lea	ecx, 48[r13]
	lea	edx, 48[r12]
	lea	eax, 48[rbx]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L47:
	lea	esi, 48[r12]
	lea	ecx, 48[rbx]
	lea	edx, 48[r14]
	lea	eax, 48[r13]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
.L48:
	test	r15d, r15d
	jle	.L49
	lea	edx, 48[r12]
	lea	eax, 48[rbx]
	mov	ecx, r15d
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L49:
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, [r15+rax]
	mov	eax, DWORD PTR t[rip]
	lea	esi, 1[rax]
	movsx	rdx, r14d
	movsx	rax, r13d
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, esi
	sub	eax, edx
	cmp	ecx, eax
	jge	.L50
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, [r15+rax]
	lea	edx, 48[r14]
	lea	eax, 48[r13]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L50:
	mov	edi, 10
	call	putchar@PLT
	add	r15d, 1
.L45:
	movsx	rdx, r12d
	movsx	rax, ebx
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, [r15+rax]
	mov	eax, DWORD PTR t[rip]
	lea	esi, 1[rax]
	movsx	rdx, r14d
	movsx	rax, r13d
	imul	rax, rax, 78
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, w[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, esi
	sub	eax, edx
	cmp	ecx, eax
	jle	.L51
.L43:
	add	r14d, 1
.L40:
	mov	eax, DWORD PTR n[rip]
	cmp	r14d, eax
	jl	.L52
	add	r13d, 1
.L39:
	mov	eax, DWORD PTR m[rip]
	cmp	r13d, eax
	jl	.L53
.L38:
	add	r12d, 1
.L37:
	mov	eax, DWORD PTR n[rip]
	cmp	r12d, eax
	jl	.L54
	add	ebx, 1
.L36:
	mov	eax, DWORD PTR m[rip]
	cmp	ebx, eax
	jl	.L55
	mov	eax, 0
	lea	rsp, -40[rbp]
	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	"648276.c"
	.text
	.comm	m,4,4
	.comm	n,4,4
	.comm	t,4,4
	.comm	scale,4,4
	.comm	w,24336,4
	.comm	buf,128,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"Usage: %s m n t scale < w[m][n]\012\000"
	.align	2
.LC2:
	.ascii	"Sorry, m (%d) must not exceed %d!\012\000"
	.align	2
.LC3:
	.ascii	"Sorry, n (%d) must not exceed %d!\012\000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.ascii	"Oops, I had trouble reading w%d%d!\012\000"
	.global	__aeabi_idiv
	.align	2
.LC6:
	.ascii	"Oops, w%d%d should be between 0 and %d, not %d!\012"
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"Unsatisfiable (machine %d needs %d)!\012\000"
	.align	2
.LC8:
	.ascii	"Unsatisfiable (job %d needs %d)!\012\000"
	.align	2
.LC9:
	.ascii	"~ sat-oss-sym-scaled %d %d %d %d\012\000"
	.align	2
.LC10:
	.ascii	"~ \000"
	.align	2
.LC11:
	.ascii	"%4d\000"
	.align	2
.LC12:
	.ascii	"~%c%c<%d %c%c<%d\012\000"
	.align	2
.LC13:
	.ascii	"!%c%c%c%c\012\000"
	.align	2
.LC14:
	.ascii	"~!%c%c%c%c\000"
	.align	2
.LC15:
	.ascii	"!%c%c%c%c\000"
	.align	2
.LC16:
	.ascii	" %c%c<%d\000"
	.align	2
.LC17:
	.ascii	" ~%c%c<%d\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r9, #0
	ldr	r3, [fp, #-32]
	cmp	r3, #5
	bne	.L2
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, .L59
	ldr	r1, .L59+4
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L2
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, .L59+8
	ldr	r1, .L59+4
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L2
	ldr	r3, [fp, #-36]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r2, .L59+12
	ldr	r1, .L59+4
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L2
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r2, .L59+16
	ldr	r1, .L59+4
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L3
.L2:
	ldr	r3, .L59+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L59+24
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L3:
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r3, #78
	ble	.L4
	ldr	r3, .L59+20
	ldr	r0, [r3]
	ldr	r3, .L59
	ldr	r2, [r3]
	mov	r3, #78
	ldr	r1, .L59+28
	bl	fprintf
	mvn	r0, #1
	bl	exit
.L4:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	cmp	r3, #78
	ble	.L5
	ldr	r3, .L59+20
	ldr	r0, [r3]
	ldr	r3, .L59+8
	ldr	r2, [r3]
	mov	r3, #78
	ldr	r1, .L59+32
	bl	fprintf
	mvn	r0, #2
	bl	exit
.L5:
	ldr	r3, .L59+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	mov	r4, r0
	ldr	r3, .L59+36
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r4
	bl	ungetc
	cmp	r4, #126
	bne	.L58
	ldr	r3, .L59+36
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #128
	ldr	r0, .L59+40
	bl	fgets
	ldr	r1, .L59+40
	ldr	r0, .L59+44
	bl	printf
	b	.L5
.L58:
	nop
	mov	r4, #0
	b	.L8
.L14:
	mov	r5, #0
	b	.L9
.L13:
	ldr	r3, .L59+36
	ldr	r0, [r3]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	lsl	r3, r3, #2
	ldr	r2, .L59+48
	add	r3, r3, r2
	mov	r2, r3
	ldr	r1, .L59+4
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L10
	ldr	r3, .L59+20
	ldr	r0, [r3]
	mov	r3, r5
	mov	r2, r4
	ldr	r1, .L59+52
	bl	fprintf
	mvn	r0, #3
	bl	exit
.L10:
	ldr	r2, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L59+16
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	str	r1, [r2, r3, lsl #2]
	ldr	r2, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	blt	.L11
	ldr	r2, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L59+12
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L12
.L11:
	ldr	r3, .L59+20
	ldr	r0, [r3]
	ldr	r3, .L59+12
	ldr	r2, [r3]
	ldr	r1, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, r5
	mov	r2, r4
	ldr	r1, .L59+56
	bl	fprintf
	mvn	r0, #4
	bl	exit
.L12:
	add	r5, r5, #1
.L9:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L13
	add	r4, r4, #1
.L8:
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L14
	mov	r4, #0
	b	.L15
.L19:
	mov	r6, #0
	mov	r5, #0
	b	.L16
.L17:
	ldr	r2, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r2, r3, lsl #2]
	add	r6, r6, r3
	add	r5, r5, #1
.L16:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L17
	ldr	r3, .L59+12
	ldr	r3, [r3]
	cmp	r6, r3
	ble	.L18
	ldr	r3, .L59+20
	ldr	r0, [r3]
	mov	r3, r6
	mov	r2, r4
	ldr	r1, .L59+60
	bl	fprintf
	mvn	r0, #9
	bl	exit
.L18:
	add	r4, r4, #1
.L15:
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L19
	mov	r5, #0
	b	.L20
.L24:
	mov	r6, #0
	mov	r4, #0
	b	.L21
.L22:
	ldr	r2, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r2, r3, lsl #2]
	add	r6, r6, r3
	add	r4, r4, #1
.L21:
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L22
	ldr	r3, .L59+12
	ldr	r3, [r3]
	cmp	r6, r3
	ble	.L23
	ldr	r3, .L59+20
	ldr	r0, [r3]
	mov	r3, r6
	mov	r2, r5
	ldr	r1, .L59+64
	bl	fprintf
	mvn	r0, #10
	bl	exit
.L23:
	add	r5, r5, #1
.L20:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L24
	ldr	r3, .L59
	ldr	r1, [r3]
	ldr	r3, .L59+8
	ldr	r2, [r3]
	ldr	r3, .L59+12
	ldr	r0, [r3]
	ldr	r3, .L59+16
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L59+68
	bl	printf
	mov	r4, #0
	b	.L25
.L28:
	ldr	r0, .L59+72
	bl	printf
	mov	r5, #0
	b	.L26
.L27:
	ldr	r2, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L59+76
	bl	printf
	add	r5, r5, #1
.L26:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L27
	mov	r0, #10
	bl	putchar
	add	r4, r4, #1
.L25:
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L28
	mov	r4, #0
	b	.L29
.L35:
	mov	r5, #0
	b	.L30
.L34:
	ldr	r2, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L31
	mov	r8, #1
	b	.L32
.L33:
	add	r0, r4, #48
	add	ip, r5, #48
	add	r3, r4, #48
	add	r2, r5, #48
	add	r1, r8, #1
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r8
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L59+80
	bl	printf
	add	r8, r8, #1
.L32:
	ldr	r3, .L59+12
	ldr	r2, [r3]
	ldr	r1, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r1, r3, lsl #2]
	sub	r3, r2, r3
	cmp	r8, r3
	blt	.L33
.L31:
	add	r5, r5, #1
.L30:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L34
	add	r4, r4, #1
.L29:
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L35
	mov	r4, #0
	b	.L36
.L55:
	mov	r5, #0
	b	.L37
.L54:
	ldr	r2, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L38
	mov	r6, #0
	b	.L39
.L53:
	mov	r7, #0
	b	.L40
.L52:
	cmp	r6, r4
	bne	.L41
	cmp	r7, r5
	bne	.L42
.L41:
	cmp	r6, r4
	beq	.L43
	cmp	r7, r5
	bne	.L43
.L42:
	ldr	r2, .L59+48
	mov	r3, r6
	lsl	r3, r3, #2
	add	r3, r3, r6
	lsl	r3, r3, #3
	sub	r3, r3, r6
	lsl	r3, r3, #1
	add	r3, r3, r7
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L43
	cmp	r9, #0
	bne	.L44
	mov	r9, #1
	add	r1, r4, #48
	add	r2, r5, #48
	add	r0, r6, #48
	add	r3, r7, #48
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L59+84
	bl	printf
.L44:
	mov	r8, #0
	b	.L45
.L51:
	cmp	r4, r6
	blt	.L46
	cmp	r5, r7
	bge	.L47
.L46:
	add	r1, r4, #48
	add	r2, r5, #48
	add	r0, r6, #48
	add	r3, r7, #48
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L59+88
	bl	printf
	b	.L48
.L47:
	add	r1, r6, #48
	add	r2, r7, #48
	add	r0, r4, #48
	add	r3, r5, #48
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L59+92
	bl	printf
.L48:
	cmp	r8, #0
	ble	.L49
	add	r1, r4, #48
	add	r2, r5, #48
	mov	r3, r8
	ldr	r0, .L59+96
	bl	printf
.L49:
	ldr	r2, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r8, r3
	ldr	r3, .L59+12
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L59+48
	mov	r3, r6
	lsl	r3, r3, #2
	add	r3, r3, r6
	lsl	r3, r3, #3
	sub	r3, r3, r6
	lsl	r3, r3, #1
	add	r3, r3, r7
	ldr	r3, [r0, r3, lsl #2]
	sub	r3, r1, r3
	cmp	r2, r3
	bge	.L50
	add	r1, r6, #48
	add	r2, r7, #48
	ldr	r0, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r0, r3, lsl #2]
	add	r3, r8, r3
	ldr	r0, .L59+100
	bl	printf
.L50:
	mov	r0, #10
	bl	putchar
	add	r8, r8, #1
.L45:
	ldr	r2, .L59+48
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #3
	sub	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r5
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r8, r3
	ldr	r3, .L59+12
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L59+48
	mov	r3, r6
	lsl	r3, r3, #2
	add	r3, r3, r6
	lsl	r3, r3, #3
	sub	r3, r3, r6
	lsl	r3, r3, #1
	add	r3, r3, r7
	ldr	r3, [r0, r3, lsl #2]
	sub	r3, r1, r3
	cmp	r2, r3
	ble	.L51
.L43:
	add	r7, r7, #1
.L40:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	cmp	r7, r3
	blt	.L52
	add	r6, r6, #1
.L39:
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r6, r3
	blt	.L53
.L38:
	add	r5, r5, #1
.L37:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L54
	add	r4, r4, #1
.L36:
	ldr	r3, .L59
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L55
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L60:
	.align	2
.L59:
	.word	m
	.word	.LC0
	.word	n
	.word	t
	.word	scale
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stdin
	.word	buf
	.word	.LC4
	.word	w
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
