	.file	"746784.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s\n"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d %d\n"
.LC3:
	.string	"%d"
.LC4:
	.string	"%d\n"
	.text
	.globl	iterator
	.type	iterator, @function
iterator:
.LFB0:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -11[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -11[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	iterator, .-iterator
	.section	.rodata
.LC5:
	.string	"%d %d %d"
.LC6:
	.string	"%d %d %d  "
	.text
	.globl	remove_red
	.type	remove_red, @function
remove_red:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	lea	rdx, -32[rbp]
	lea	rcx, -36[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	iterator
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 10
	jle	.L4
	mov	DWORD PTR -24[rbp], 0
	jmp	.L5
.L9:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L6
.L8:
	lea	rcx, -44[rbp]
	lea	rdx, -48[rbp]
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -52[rbp], 0
	mov	ecx, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -28[rbp], 1
	cmp	DWORD PTR -28[rbp], 9
	jle	.L7
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -28[rbp], 0
.L7:
	add	DWORD PTR -20[rbp], 1
.L6:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L8
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -24[rbp], 1
.L5:
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L9
	jmp	.L16
.L4:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L11
.L14:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L12
.L13:
	lea	rcx, -44[rbp]
	lea	rdx, -48[rbp]
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -52[rbp], 0
	mov	ecx, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L12:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L13
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -16[rbp], 1
.L11:
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L14
.L16:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	remove_red, .-remove_red
	.globl	convert_to_black_and_white
	.type	convert_to_black_and_white, @function
convert_to_black_and_white:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	lea	rdx, -36[rbp]
	lea	rcx, -40[rbp]
	lea	rax, -44[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	iterator
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 10
	jle	.L18
	mov	DWORD PTR -28[rbp], 0
	jmp	.L19
.L23:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L20
.L22:
	lea	rcx, -48[rbp]
	lea	rdx, -52[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	add	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -48[rbp], eax
	mov	ecx, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -32[rbp], 1
	cmp	DWORD PTR -32[rbp], 9
	jle	.L21
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -32[rbp], 0
.L21:
	add	DWORD PTR -24[rbp], 1
.L20:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L22
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -28[rbp], 1
.L19:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L23
	jmp	.L30
.L18:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L25
.L28:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L26
.L27:
	lea	rcx, -48[rbp]
	lea	rdx, -52[rbp]
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	add	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -48[rbp], eax
	mov	ecx, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -16[rbp], 1
.L26:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L27
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -20[rbp], 1
.L25:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L28
.L30:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	convert_to_black_and_white, .-convert_to_black_and_white
	.globl	instagram_square
	.type	instagram_square, @function
instagram_square:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 1
	lea	rax, -11[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -11[rbp]
	mov	rdi, rax
	call	puts@PLT
	lea	rdx, -44[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cmp	edx, eax
	jle	.L32
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 10
	jle	.L40
	jmp	.L34
.L38:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jg	.L35
	mov	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L35:
	cmp	DWORD PTR -36[rbp], 9
	jle	.L36
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -36[rbp], 0
.L36:
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jne	.L37
	mov	DWORD PTR -32[rbp], 0
	mov	edi, 10
	call	putchar@PLT
.L37:
	add	DWORD PTR -32[rbp], 1
.L34:
	lea	rcx, -52[rbp]
	lea	rdx, -56[rbp]
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L38
	jmp	.L55
.L43:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jg	.L41
	mov	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L41:
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jne	.L42
	mov	DWORD PTR -32[rbp], 0
	mov	edi, 10
	call	putchar@PLT
.L42:
	add	DWORD PTR -32[rbp], 1
.L40:
	lea	rcx, -52[rbp]
	lea	rdx, -56[rbp]
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L43
	jmp	.L55
.L32:
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cmp	edx, eax
	jg	.L55
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 10
	jle	.L44
	mov	DWORD PTR -28[rbp], 0
	jmp	.L45
.L49:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L46
.L48:
	lea	rcx, -52[rbp]
	lea	rdx, -56[rbp]
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -36[rbp], 9
	jle	.L47
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -36[rbp], 0
.L47:
	add	DWORD PTR -24[rbp], 1
.L46:
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L48
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -28[rbp], 1
.L45:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L49
	jmp	.L55
.L44:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L50
.L53:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L51
.L52:
	lea	rcx, -52[rbp]
	lea	rdx, -56[rbp]
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -16[rbp], 1
.L51:
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L52
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -20[rbp], 1
.L50:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L53
.L55:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	instagram_square, .-instagram_square
	.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	"746784.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\012\000"
	.align	2
.LC1:
	.ascii	"%d %d\000"
	.align	2
.LC2:
	.ascii	"%d %d\012\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"%d\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	iterator
	.syntax unified
	.arm
	.fpu softvfp
	.type	iterator, %function
iterator:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L3+4
	bl	__isoc99_scanf
	sub	r3, fp, #12
	mov	r0, r3
	bl	puts
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, .L3+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L3+12
	bl	printf
	ldr	r1, [fp, #-24]
	ldr	r0, .L3+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L3+20
	bl	printf
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	iterator, .-iterator
	.section	.rodata
	.align	2
.LC6:
	.ascii	"%d %d %d\000"
	.align	2
.LC7:
	.ascii	"%d %d %d  \000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	remove_red
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_red, %function
remove_red:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	sub	r2, fp, #32
	sub	r1, fp, #36
	sub	r3, fp, #40
	mov	r0, r3
	bl	iterator
	ldr	r3, [fp, #-40]
	cmp	r3, #10
	ble	.L6
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L7
.L11:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L8
.L10:
	sub	r3, fp, #44
	sub	r2, fp, #48
	sub	r1, fp, #52
	ldr	r0, .L19+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r1, [fp, #-52]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	ldr	r0, .L19+8
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #9
	ble	.L9
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-28]
.L9:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L8:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L10
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L7:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L11
	b	.L18
.L6:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L13
.L16:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L14
.L15:
	sub	r3, fp, #44
	sub	r2, fp, #48
	sub	r1, fp, #52
	ldr	r0, .L19+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r1, [fp, #-52]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	ldr	r0, .L19+8
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L14:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L15
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L13:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L16
.L18:
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC8
	.word	.LC6
	.word	.LC7
	.size	remove_red, .-remove_red
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	convert_to_black_and_white
	.syntax unified
	.arm
	.fpu softvfp
	.type	convert_to_black_and_white, %function
convert_to_black_and_white:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	sub	r2, fp, #36
	sub	r1, fp, #40
	sub	r3, fp, #44
	mov	r0, r3
	bl	iterator
	ldr	r3, [fp, #-44]
	cmp	r3, #10
	ble	.L22
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L23
.L27:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L24
.L26:
	sub	r3, fp, #48
	sub	r2, fp, #52
	sub	r1, fp, #56
	ldr	r0, .L35+4
	bl	__isoc99_scanf
	bl	getchar
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, .L35+8
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-48]
	ldr	r1, [fp, #-56]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	ldr	r0, .L35+12
	bl	printf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #9
	ble	.L25
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-32]
.L25:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L24:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L26
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L23:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L27
	b	.L34
.L22:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L29
.L32:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L30
.L31:
	sub	r3, fp, #48
	sub	r2, fp, #52
	sub	r1, fp, #56
	ldr	r0, .L35+4
	bl	__isoc99_scanf
	bl	getchar
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, .L35+8
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-48]
	ldr	r1, [fp, #-56]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	ldr	r0, .L35+12
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L30:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L31
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L29:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L32
.L34:
	nop
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC9
	.word	.LC6
	.word	1431655766
	.word	.LC7
	.size	convert_to_black_and_white, .-convert_to_black_and_white
	.section	.rodata
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	instagram_square
	.syntax unified
	.arm
	.fpu softvfp
	.type	instagram_square, %function
instagram_square:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-32]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L62+4
	bl	__isoc99_scanf
	sub	r3, fp, #12
	mov	r0, r3
	bl	puts
	sub	r2, fp, #44
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L62+8
	bl	__isoc99_scanf
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	ble	.L38
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-44]
	mov	r1, r3
	ldr	r0, .L62+12
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L62+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]
	mov	r1, r3
	ldr	r0, .L62+20
	bl	printf
	ldr	r3, [fp, #-48]
	cmp	r3, #10
	ble	.L46
	b	.L40
.L44:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bgt	.L41
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	ldr	r0, .L62+24
	bl	printf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L41:
	ldr	r3, [fp, #-36]
	cmp	r3, #9
	ble	.L42
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-36]
.L42:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L43
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r0, #10
	bl	putchar
.L43:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L40:
	sub	r3, fp, #52
	sub	r2, fp, #56
	sub	r1, fp, #60
	ldr	r0, .L62+28
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L44
	b	.L61
.L49:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bgt	.L47
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	ldr	r0, .L62+24
	bl	printf
.L47:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L48
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r0, #10
	bl	putchar
.L48:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L46:
	sub	r3, fp, #52
	sub	r2, fp, #56
	sub	r1, fp, #60
	ldr	r0, .L62+28
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L49
	b	.L61
.L38:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bgt	.L61
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	mov	r1, r3
	ldr	r0, .L62+12
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L62+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]
	mov	r1, r3
	ldr	r0, .L62+20
	bl	printf
	ldr	r3, [fp, #-48]
	cmp	r3, #10
	ble	.L50
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L51
.L55:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L52
.L54:
	sub	r3, fp, #52
	sub	r2, fp, #56
	sub	r1, fp, #60
	ldr	r0, .L62+28
	bl	__isoc99_scanf
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	ldr	r0, .L62+24
	bl	printf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #9
	ble	.L53
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-36]
.L53:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L52:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L54
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L51:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L55
	b	.L61
.L50:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L56
.L59:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L57
.L58:
	sub	r3, fp, #52
	sub	r2, fp, #56
	sub	r1, fp, #60
	ldr	r0, .L62+28
	bl	__isoc99_scanf
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	ldr	r0, .L62+24
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L57:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L58
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L56:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L59
.L61:
	nop
	ldr	r3, .L62
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC7
	.word	.LC6
	.size	instagram_square, .-instagram_square
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
