	.file	"788263.c"
	.intel_syntax noprefix
	.text
	.globl	w
	.bss
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	pix
	.align 8
	.type	pix, @object
	.size	pix, 8
pix:
	.zero	8
	.section	.rodata
.LC0:
	.string	"\033[H"
	.text
	.globl	refresh
	.type	refresh, @function
refresh:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L2
.L7:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L3
.L6:
	mov	rdx, QWORD PTR pix[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
	mov	eax, 35
	jmp	.L5
.L4:
	mov	eax, 32
.L5:
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
	add	DWORD PTR -4[rbp], 1
.L3:
	mov	eax, DWORD PTR w[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L6
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR h[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L7
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	refresh, .-refresh
	.section	.rodata
.LC1:
	.string	"\033[H\033[J"
.LC2:
	.string	"\033[%d;%dH%c"
.LC3:
	.string	"\033[%d;%dH\033[31m@\033[m"
	.text
	.globl	walk
	.type	walk, @function
walk:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR w[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR h[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR w[rip]
	mov	eax, DWORD PTR h[rip]
	imul	eax, edx
	cdqe
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR pix[rip], rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	rdx, QWORD PTR pix[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L9
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	neg	eax
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	neg	eax
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -24[rbp], eax
.L10:
	mov	rdx, QWORD PTR pix[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	sete	cl
	mov	rdx, QWORD PTR pix[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR pix[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L11
	mov	ecx, 35
	jmp	.L12
.L11:
	mov	ecx, 32
.L12:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	add	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	add	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	cmp	DWORD PTR -8[rbp], 0
	jns	.L13
	mov	edx, DWORD PTR w[rip]
	mov	eax, DWORD PTR h[rip]
	imul	eax, edx
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, QWORD PTR pix[rip]
	mov	rcx, QWORD PTR pix[rip]
	add	rcx, 1
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove@PLT
	mov	DWORD PTR -16[rbp], 0
	jmp	.L14
.L15:
	mov	rdx, QWORD PTR pix[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR w[rip]
	add	DWORD PTR -16[rbp], eax
.L14:
	mov	edx, DWORD PTR w[rip]
	mov	eax, DWORD PTR h[rip]
	imul	eax, edx
	cmp	DWORD PTR -16[rbp], eax
	jl	.L15
	add	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -12[rbp], 1
	jmp	.L16
.L13:
	mov	eax, DWORD PTR w[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L16
	mov	edx, DWORD PTR w[rip]
	mov	eax, DWORD PTR h[rip]
	imul	eax, edx
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, QWORD PTR pix[rip]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR pix[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	mov	eax, DWORD PTR w[rip]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L17
.L18:
	mov	rdx, QWORD PTR pix[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR w[rip]
	add	DWORD PTR -16[rbp], eax
.L17:
	mov	edx, DWORD PTR w[rip]
	mov	eax, DWORD PTR h[rip]
	imul	eax, edx
	cmp	DWORD PTR -16[rbp], eax
	jl	.L18
	sub	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -12[rbp], 1
.L16:
	mov	eax, DWORD PTR h[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L19
	mov	eax, DWORD PTR h[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR w[rip]
	imul	eax, edx
	movsx	rdx, eax
	mov	rcx, QWORD PTR pix[rip]
	mov	eax, DWORD PTR w[rip]
	cdqe
	add	rcx, rax
	mov	rax, QWORD PTR pix[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	mov	eax, DWORD PTR w[rip]
	cdqe
	mov	rsi, QWORD PTR pix[rip]
	mov	edx, DWORD PTR h[rip]
	lea	ecx, -1[rdx]
	mov	edx, DWORD PTR w[rip]
	imul	edx, ecx
	movsx	rdx, edx
	lea	rcx, [rsi+rdx]
	mov	rdx, rax
	mov	esi, 0
	mov	rdi, rcx
	call	memset@PLT
	sub	DWORD PTR -4[rbp], 1
	mov	DWORD PTR -12[rbp], 1
	jmp	.L20
.L19:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L20
	mov	eax, DWORD PTR h[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR w[rip]
	imul	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR pix[rip]
	mov	rsi, QWORD PTR pix[rip]
	mov	ecx, DWORD PTR w[rip]
	movsx	rcx, ecx
	add	rcx, rsi
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove@PLT
	mov	eax, DWORD PTR w[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR pix[rip]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	add	DWORD PTR -4[rbp], 1
	mov	DWORD PTR -12[rbp], 1
.L20:
	cmp	DWORD PTR -12[rbp], 0
	je	.L21
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	refresh
.L21:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	edi, 10000
	call	usleep@PLT
	jmp	.L22
	.cfi_endproc
.LFE7:
	.size	walk, .-walk
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 1
	jle	.L24
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR w[rip], eax
.L24:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L25
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR h[rip], eax
.L25:
	mov	eax, DWORD PTR w[rip]
	cmp	eax, 39
	jg	.L26
	mov	DWORD PTR w[rip], 40
.L26:
	mov	eax, DWORD PTR h[rip]
	cmp	eax, 24
	jg	.L27
	mov	DWORD PTR h[rip], 25
.L27:
	mov	eax, 0
	call	walk
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"788263.c"
	.text
	.global	w
	.bss
	.align	2
	.type	w, %object
	.size	w, 4
w:
	.space	4
	.global	h
	.align	2
	.type	h, %object
	.size	h, 4
h:
	.space	4
	.comm	pix,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\033[H\000"
	.text
	.align	2
	.global	refresh
	.syntax unified
	.arm
	.fpu softvfp
	.type	refresh, %function
refresh:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r0, .L8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L3
.L6:
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	mov	r3, #35
	b	.L5
.L4:
	mov	r3, #32
.L5:
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, .L8+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L6
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, .L8+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L7
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	pix
	.word	w
	.word	h
	.size	refresh, .-refresh
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\033[H\033[J\000"
	.align	2
.LC2:
	.ascii	"\033[%d;%dH%c\000"
	.align	2
.LC3:
	.ascii	"\033[%d;%dH\033[31m@\033[m\000"
	.text
	.align	2
	.global	walk
	.syntax unified
	.arm
	.fpu softvfp
	.type	walk, %function
walk:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-24]
	ldr	r3, .L25
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r1, r3
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L25+8
	str	r2, [r3]
	ldr	r0, .L25+12
	bl	printf
.L24:
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, .L25+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-24]
	b	.L12
.L11:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	rsb	r3, r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-28]
.L12:
	ldr	r3, .L25+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r1, r3, #255
	ldr	r3, .L25+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r3, [fp, #-12]
	add	r0, r3, #1
	ldr	r3, .L25+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	mov	r3, #35
	b	.L14
.L13:
	mov	r3, #32
.L14:
	mov	r2, r0
	ldr	r0, .L25+16
	bl	printf
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L15
	ldr	r3, .L25+8
	ldr	r3, [r3]
	add	r0, r3, #1
	ldr	r3, .L25+8
	ldr	r1, [r3]
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	mul	r3, r2, r3
	sub	r3, r3, #1
	mov	r2, r3
	bl	memmove
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L16
.L17:
	ldr	r3, .L25+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
.L16:
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L18
.L15:
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L18
	ldr	r3, .L25+8
	ldr	r0, [r3]
	ldr	r3, .L25+8
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	mul	r3, r2, r3
	sub	r3, r3, #1
	mov	r2, r3
	bl	memmove
	ldr	r3, .L25
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L19
.L20:
	ldr	r3, .L25+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
.L19:
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-16]
.L18:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L21
	ldr	r3, .L25+8
	ldr	r0, [r3]
	ldr	r3, .L25+8
	ldr	r3, [r3]
	ldr	r2, .L25
	ldr	r2, [r2]
	add	r1, r3, r2
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L25
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r2, r3
	bl	memmove
	ldr	r3, .L25+8
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	sub	r2, r2, #1
	ldr	r1, .L25
	ldr	r1, [r1]
	mul	r2, r1, r2
	add	r3, r3, r2
	ldr	r2, .L25
	ldr	r2, [r2]
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L22
.L21:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L22
	ldr	r3, .L25+8
	ldr	r3, [r3]
	ldr	r2, .L25
	ldr	r2, [r2]
	add	r0, r3, r2
	ldr	r3, .L25+8
	ldr	r1, [r3]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L25
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r2, r3
	bl	memmove
	ldr	r3, .L25+8
	ldr	r3, [r3]
	ldr	r2, .L25
	ldr	r2, [r2]
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-16]
.L22:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L23
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	refresh
.L23:
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, .L25+20
	bl	printf
	ldr	r3, .L25+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L25+28
	bl	usleep
	b	.L24
.L26:
	.align	2
.L25:
	.word	w
	.word	h
	.word	pix
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stdout
	.word	10000
	.size	walk, .-walk
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L28
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L33
	str	r3, [r2]
.L28:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L29
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L33+4
	str	r3, [r2]
.L29:
	ldr	r3, .L33
	ldr	r3, [r3]
	cmp	r3, #39
	bgt	.L30
	ldr	r3, .L33
	mov	r2, #40
	str	r2, [r3]
.L30:
	ldr	r3, .L33+4
	ldr	r3, [r3]
	cmp	r3, #24
	bgt	.L31
	ldr	r3, .L33+4
	mov	r2, #25
	str	r2, [r3]
.L31:
	bl	walk
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	w
	.word	h
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
