	.file	"32949537.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"wb"
.LC1:
	.string	"P6\n%d %d 255\n"
.LC2:
	.string	"%c%c%c"
	.text
	.globl	save_to_ppm
	.type	save_to_ppm, @function
save_to_ppm:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -16[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -16[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	mov	eax, eax
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	shr	eax, 24
	mov	BYTE PTR -19[rbp], al
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -16[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	mov	eax, eax
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	shr	eax, 16
	mov	BYTE PTR -18[rbp], al
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -16[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	mov	eax, eax
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	shr	eax, 8
	mov	BYTE PTR -17[rbp], al
	movzx	esi, BYTE PTR -17[rbp]
	movzx	ecx, BYTE PTR -18[rbp]
	movzx	edx, BYTE PTR -19[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, esi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L4:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	cmp	edx, eax
	ja	.L5
	add	DWORD PTR -16[rbp], 1
.L3:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	ja	.L6
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L7:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	save_to_ppm, .-save_to_ppm
	.globl	draw_rect
	.type	draw_rect, @function
draw_rect:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -40[rbp], r8d
	mov	DWORD PTR -44[rbp], r9d
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	neg	eax
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
	jmp	.L9
.L13:
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	neg	eax
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	jmp	.L10
.L12:
	cmp	DWORD PTR -4[rbp], 0
	js	.L11
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cmp	edx, eax
	jbe	.L11
	cmp	DWORD PTR -8[rbp], 0
	js	.L11
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -8[rbp]
	cmp	edx, eax
	jbe	.L11
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	eax, eax
	sal	rax, 2
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR [rdx], eax
.L11:
	add	DWORD PTR -4[rbp], 1
.L10:
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	jle	.L12
	add	DWORD PTR -8[rbp], 1
.L9:
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	cmp	DWORD PTR -8[rbp], eax
	jle	.L13
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	draw_rect, .-draw_rect
	.globl	draw_circle
	.type	draw_circle, @function
draw_circle:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -40[rbp], r8d
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L15
.L19:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L16
.L18:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	ecx, edx
	imul	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -32[rbp]
	imul	eax, edx
	lea	edx, [rcx+rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, eax
	cmp	edx, eax
	jg	.L17
	cmp	DWORD PTR -4[rbp], 0
	js	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cmp	edx, eax
	jbe	.L17
	cmp	DWORD PTR -8[rbp], 0
	js	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -8[rbp]
	cmp	edx, eax
	jbe	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	eax, eax
	sal	rax, 2
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR [rdx], eax
.L17:
	add	DWORD PTR -4[rbp], 1
.L16:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	jle	.L18
	add	DWORD PTR -8[rbp], 1
.L15:
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	cmp	DWORD PTR -8[rbp], eax
	jle	.L19
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	draw_circle, .-draw_circle
	.globl	clear_screen
	.type	clear_screen, @function
clear_screen:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L21
.L24:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	eax, eax
	sal	rax, 2
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L22:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cmp	edx, eax
	ja	.L23
	add	DWORD PTR -8[rbp], 1
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -8[rbp]
	cmp	edx, eax
	ja	.L24
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	clear_screen, .-clear_screen
	.globl	is_digit
	.type	is_digit, @function
is_digit:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 47
	jle	.L26
	cmp	BYTE PTR -4[rbp], 57
	jg	.L26
	mov	eax, 1
	jmp	.L28
.L26:
	mov	eax, 0
.L28:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	is_digit, .-is_digit
	.globl	parse_int
	.type	parse_int, @function
parse_int:
.LFB11:
	.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	QWORD PTR -24[rbp], rdi
	jmp	.L30
.L31:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
.L30:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	is_digit
	test	eax, eax
	je	.L31
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L32
.L33:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
.L32:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	is_digit
	test	eax, eax
	jne	.L33
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	parse_int, .-parse_int
	.section	.rodata
.LC3:
	.string	"rb"
	.text
	.globl	read_file
	.type	read_file, @function
read_file:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	cmp	QWORD PTR -8[rbp], 0
	je	.L36
	mov	DWORD PTR -20[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	cmp	QWORD PTR -16[rbp], 0
	je	.L37
	mov	esi, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L37:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L36:
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	read_file, .-read_file
	.section	.rodata
.LC4:
	.string	"render.txt"
.LC5:
	.string	"output.ppm"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	lea	rax, -32[rbp]
	mov	esi, 404232447
	mov	rdi, rax
	call	clear_screen
	lea	rdi, .LC4[rip]
	call	read_file
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L40
	mov	eax, -1
	jmp	.L51
.L40:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -88[rbp], 0
	lea	rax, -56[rbp]
	mov	rdi, rax
	call	parse_int
	mov	DWORD PTR -24[rbp], eax
	lea	rax, -56[rbp]
	mov	rdi, rax
	call	parse_int
	mov	DWORD PTR -20[rbp], eax
	nop
.L42:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -56[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L42
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, edx
	mov	eax, eax
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	jmp	.L43
.L50:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L44
.L46:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	mov	QWORD PTR -48[rbp], rax
.L44:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L45
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L46
.L45:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L47
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	BYTE PTR [rax], 0
.L47:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	sub	rax, rdx
	mov	DWORD PTR -88[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 99
	je	.L48
	cmp	eax, 114
	jne	.L49
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	DWORD PTR -84[rbp], eax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	DWORD PTR -80[rbp], eax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	DWORD PTR -76[rbp], eax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	DWORD PTR -72[rbp], eax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	BYTE PTR -94[rbp], al
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	BYTE PTR -93[rbp], al
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	BYTE PTR -92[rbp], al
	movzx	eax, BYTE PTR -94[rbp]
	sal	eax, 24
	mov	edx, eax
	movzx	eax, BYTE PTR -93[rbp]
	sal	eax, 16
	or	edx, eax
	movzx	eax, BYTE PTR -92[rbp]
	sal	eax, 8
	or	eax, edx
	or	al, -1
	mov	r8d, eax
	mov	edi, DWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -76[rbp]
	mov	edx, DWORD PTR -80[rbp]
	mov	esi, DWORD PTR -84[rbp]
	lea	rax, -32[rbp]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	draw_rect
	jmp	.L49
.L48:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	DWORD PTR -68[rbp], eax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	DWORD PTR -64[rbp], eax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	DWORD PTR -60[rbp], eax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	BYTE PTR -91[rbp], al
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	BYTE PTR -90[rbp], al
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	parse_int
	mov	BYTE PTR -89[rbp], al
	movzx	eax, BYTE PTR -91[rbp]
	sal	eax, 24
	mov	edx, eax
	movzx	eax, BYTE PTR -90[rbp]
	sal	eax, 16
	or	edx, eax
	movzx	eax, BYTE PTR -89[rbp]
	sal	eax, 8
	or	eax, edx
	or	al, -1
	mov	edi, eax
	mov	ecx, DWORD PTR -60[rbp]
	mov	edx, DWORD PTR -64[rbp]
	mov	esi, DWORD PTR -68[rbp]
	lea	rax, -32[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	draw_circle
	nop
.L49:
	mov	rdx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -88[rbp]
	add	rax, rdx
	mov	QWORD PTR -56[rbp], rax
.L43:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L50
	lea	rax, -32[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	save_to_ppm
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L51:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"32949537.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"wb\000"
	.align	2
.LC1:
	.ascii	"P6\012%d %d 255\012\000"
	.align	2
.LC2:
	.ascii	"%c%c%c\000"
	.text
	.align	2
	.global	save_to_ppm
	.syntax unified
	.arm
	.fpu softvfp
	.type	save_to_ppm, %function
save_to_ppm:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r1, .L8
	ldr	r0, [fp, #-28]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r1, .L8+4
	ldr	r0, [fp, #-8]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L5:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-16]
	mul	r1, r3, r1
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	lsr	r3, r3, #24
	strb	r3, [fp, #-19]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-16]
	mul	r1, r3, r1
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	lsr	r3, r3, #16
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-16]
	mul	r1, r3, r1
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	lsr	r3, r3, #8
	strb	r3, [fp, #-17]
	ldrb	r2, [fp, #-19]	@ zero_extendqisi2
	ldrb	r1, [fp, #-18]	@ zero_extendqisi2
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L8+8
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bhi	.L5
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bhi	.L6
	ldr	r0, [fp, #-8]
	bl	fclose
.L7:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	save_to_ppm, .-save_to_ppm
	.align	2
	.global	draw_rect
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_rect, %function
draw_rect:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #4]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	rsb	r3, r3, #0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	b	.L11
.L15:
	ldr	r3, [fp, #-28]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	rsb	r3, r3, #0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	b	.L12
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L13
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bls	.L13
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L13
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bls	.L13
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-12]
	mul	r1, r3, r1
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #8]
	str	r2, [r3]
.L13:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-28]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L14
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L11:
	ldr	r3, [fp, #4]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L15
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	draw_rect, .-draw_rect
	.align	2
	.global	draw_circle
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_circle, %function
draw_circle:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	b	.L17
.L21:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L18
.L20:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	ldr	r1, [fp, #-8]
	ldr	r2, [fp, #-20]
	sub	r2, r1, r2
	mul	r2, r3, r2
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-24]
	sub	r3, r1, r3
	ldr	r0, [fp, #-12]
	ldr	r1, [fp, #-24]
	sub	r1, r0, r1
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	mov	r1, r3
	mul	r1, r3, r1
	mov	r3, r1
	cmp	r2, r3
	bgt	.L19
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L19
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bls	.L19
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L19
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bls	.L19
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-12]
	mul	r1, r3, r1
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #4]
	str	r2, [r3]
.L19:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L18:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L20
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L17:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L21
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	draw_circle, .-draw_circle
	.align	2
	.global	clear_screen
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear_screen, %function
clear_screen:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L23
.L26:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L24
.L25:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-12]
	mul	r1, r3, r1
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L24:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bhi	.L25
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L23:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bhi	.L26
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	clear_screen, .-clear_screen
	.align	2
	.global	is_digit
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_digit, %function
is_digit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L28
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L28
	mov	r3, #1
	b	.L30
.L28:
	mov	r3, #0
.L30:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_digit, .-is_digit
	.align	2
	.global	parse_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_int, %function
parse_int:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	b	.L32
.L33:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L32:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	is_digit
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
	b	.L34
.L35:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L34:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	is_digit
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	parse_int, .-parse_int
	.section	.rodata
	.align	2
.LC3:
	.ascii	"rb\000"
	.text
	.align	2
	.global	read_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_file, %function
read_file:
	@ 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]
	ldr	r1, .L41
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L38
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	fseek
	ldr	r0, [fp, #-12]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	fseek
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-12]
	mov	r2, #1
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	fread
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L39:
	ldr	r0, [fp, #-12]
	bl	fclose
.L38:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC3
	.size	read_file, .-read_file
	.section	.rodata
	.align	2
.LC4:
	.ascii	"render.txt\000"
	.align	2
.LC5:
	.ascii	"output.ppm\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L57
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #20
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	sub	r3, fp, #20
	ldr	r1, .L57+4
	mov	r0, r3
	bl	clear_screen
	ldr	r0, .L57+8
	bl	read_file
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L44
	mvn	r3, #0
	b	.L55
.L44:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-52]
	sub	r3, fp, #64
	mov	r0, r3
	bl	parse_int
	mov	r3, r0
	str	r3, [fp, #-16]
	sub	r3, fp, #64
	mov	r0, r3
	bl	parse_int
	mov	r3, r0
	str	r3, [fp, #-12]
	nop
.L46:
	ldr	r3, [fp, #-64]
	add	r2, r3, #1
	str	r2, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L46
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	b	.L47
.L54:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-60]
	b	.L48
.L50:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L48:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L49
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L50
.L49:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-60]
	add	r2, r3, #1
	str	r2, [fp, #-60]
	mov	r2, #0
	strb	r2, [r3]
.L51:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #99
	beq	.L52
	cmp	r3, #114
	bne	.L53
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	str	r0, [fp, #-48]
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	str	r0, [fp, #-44]
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	str	r0, [fp, #-40]
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	str	r0, [fp, #-36]
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	mov	r3, r0
	strb	r3, [fp, #-70]
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	mov	r3, r0
	strb	r3, [fp, #-69]
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	mov	r3, r0
	strb	r3, [fp, #-68]
	ldrb	r3, [fp, #-70]	@ zero_extendqisi2
	lsl	r2, r3, #24
	ldrb	r3, [fp, #-69]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldrb	r3, [fp, #-68]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r2, r3
	orr	r3, r3, #255
	sub	r0, fp, #20
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-48]
	bl	draw_rect
	b	.L53
.L52:
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	str	r0, [fp, #-32]
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	str	r0, [fp, #-28]
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	str	r0, [fp, #-24]
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	mov	r3, r0
	strb	r3, [fp, #-67]
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	mov	r3, r0
	strb	r3, [fp, #-66]
	sub	r3, fp, #60
	mov	r0, r3
	bl	parse_int
	mov	r3, r0
	strb	r3, [fp, #-65]
	ldrb	r3, [fp, #-67]	@ zero_extendqisi2
	lsl	r2, r3, #24
	ldrb	r3, [fp, #-66]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r2, r3
	orr	r3, r3, #255
	sub	r0, fp, #20
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-32]
	bl	draw_circle
	nop
.L53:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-64]
.L47:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L54
	sub	r3, fp, #20
	ldr	r1, .L57+12
	mov	r0, r3
	bl	save_to_ppm
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-56]
	bl	free
	mov	r3, #0
.L55:
	ldr	r2, .L57
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L56
	bl	__stack_chk_fail
.L56:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	.LC6
	.word	404232447
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
