	.file	"166884.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%i "
.LC1:
	.string	"0"
	.text
	.globl	printCls
	.type	printCls, @function
printCls:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L3
	lea	rdi, .LC1[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printCls, .-printCls
	.section	.rodata
.LC2:
	.string	"%i 0\n"
.LC3:
	.string	"%i %i 0\n"
.LC4:
	.string	"%i %i %i 0\n"
	.text
	.globl	printXOR
	.type	printXOR, @function
printXOR:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	cmp	DWORD PTR -28[rbp], 0
	jg	.L5
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -32[rbp]
	jmp	.L6
.L5:
	cmp	DWORD PTR -28[rbp], 1
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	neg	eax
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	jmp	.L6
.L7:
	cmp	DWORD PTR -28[rbp], 2
	jne	.L8
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rdx]
	mov	ecx, edx
	neg	ecx
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	jmp	.L6
.L8:
	cmp	DWORD PTR -28[rbp], 3
	jne	.L9
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	neg	eax
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	neg	eax
	mov	esi, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	ecx, edx
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR [rcx]
	mov	esi, ecx
	neg	esi
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	neg	eax
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	neg	eax
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -32[rbp]
	neg	eax
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	neg	eax
	mov	esi, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, edx
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rdx]
	mov	esi, edx
	neg	esi
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	neg	eax
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	neg	eax
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -36[rbp], 1
	jne	.L10
	mov	DWORD PTR -8[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -8[rbp], 1
.L11:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 2
	cmp	DWORD PTR -8[rbp], eax
	jl	.L12
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR [rdx], eax
.L10:
	cmp	DWORD PTR -36[rbp], 2
	jne	.L13
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 1
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L14:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 2
	cmp	DWORD PTR -4[rbp], eax
	jl	.L15
.L13:
	mov	eax, DWORD PTR -32[rbp]
	lea	edi, 1[rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	esi, -1[rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	call	printXOR
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printXOR, .-printXOR
	.section	.rodata
.LC5:
	.string	"r"
.LC6:
	.string	" p xnf %i %i "
.LC7:
	.string	" x %i "
.LC8:
	.string	" %i "
.LC9:
	.string	"p cnf %i %i\n"
	.text
	.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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -100[rbp], 2
	cmp	DWORD PTR -132[rbp], 2
	jle	.L17
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L18
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 108
	jne	.L18
	mov	DWORD PTR -100[rbp], 2
.L18:
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L17
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 112
	jne	.L17
	mov	DWORD PTR -100[rbp], 1
.L17:
	lea	rcx, -116[rbp]
	lea	rdx, -120[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L19:
	cmp	rsp, rdx
	je	.L20
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L19
.L20:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L21
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L21:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	DWORD PTR -108[rbp], eax
.L30:
	mov	DWORD PTR -96[rbp], 0
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -88[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	jne	.L22
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -104[rbp], eax
.L22:
	mov	eax, DWORD PTR -96[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -96[rbp], edx
	mov	ecx, DWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	cmp	DWORD PTR -104[rbp], -1
	je	.L45
.L23:
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	test	eax, eax
	je	.L25
	mov	eax, DWORD PTR -96[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -96[rbp], edx
	mov	ecx, DWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
.L25:
	mov	eax, DWORD PTR -112[rbp]
	test	eax, eax
	je	.L26
	cmp	DWORD PTR -104[rbp], -1
	je	.L26
	jmp	.L23
.L26:
	cmp	DWORD PTR -104[rbp], -1
	je	.L46
	cmp	DWORD PTR -88[rbp], 1
	jne	.L30
	cmp	DWORD PTR -96[rbp], 3
	jle	.L29
	mov	eax, DWORD PTR -96[rbp]
	sub	eax, 3
	add	DWORD PTR -108[rbp], eax
.L29:
	cmp	DWORD PTR -96[rbp], 3
	jle	.L30
	mov	eax, DWORD PTR -96[rbp]
	sub	eax, 2
	sal	eax, 2
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -116[rbp]
	add	eax, edx
	mov	DWORD PTR -116[rbp], eax
	jmp	.L30
.L45:
	nop
	jmp	.L24
.L46:
	nop
.L24:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -116[rbp]
	mov	edx, DWORD PTR -108[rbp]
	lea	ecx, -1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -80[rbp], rax
	lea	rcx, -116[rbp]
	lea	rdx, -120[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	DWORD PTR -108[rbp], eax
.L42:
	mov	DWORD PTR -92[rbp], 0
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], -1
	je	.L47
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	jne	.L33
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -104[rbp], eax
.L33:
	cmp	DWORD PTR -104[rbp], -1
	je	.L48
	mov	eax, DWORD PTR -92[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -92[rbp], edx
	mov	ecx, DWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	cmp	DWORD PTR -84[rbp], 0
	je	.L38
	mov	eax, DWORD PTR -112[rbp]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR [rax], edx
.L38:
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	test	eax, eax
	je	.L36
	mov	eax, DWORD PTR -92[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -92[rbp], edx
	mov	ecx, DWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
.L36:
	mov	eax, DWORD PTR -112[rbp]
	test	eax, eax
	je	.L37
	cmp	DWORD PTR -104[rbp], -1
	je	.L37
	jmp	.L38
.L37:
	cmp	DWORD PTR -104[rbp], -1
	je	.L49
	cmp	DWORD PTR -84[rbp], 1
	jne	.L40
	mov	ecx, DWORD PTR -100[rbp]
	mov	edx, DWORD PTR -108[rbp]
	mov	esi, DWORD PTR -92[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	printXOR
	mov	DWORD PTR -108[rbp], eax
	jmp	.L42
.L40:
	mov	edx, DWORD PTR -92[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printCls
	jmp	.L42
.L47:
	nop
	jmp	.L32
.L48:
	nop
	jmp	.L32
.L49:
	nop
.L32:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rsp, rbx
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.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	"166884.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%i \000"
	.align	2
.LC1:
	.ascii	"0\000"
	.text
	.align	2
	.global	printCls
	.syntax unified
	.arm
	.fpu softvfp
	.type	printCls, %function
printCls:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	ldr	r0, .L4+4
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.size	printCls, .-printCls
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%i 0\012\000"
	.align	2
.LC3:
	.ascii	"%i %i 0\012\000"
	.align	2
.LC4:
	.ascii	"%i %i %i 0\012\000"
	.text
	.align	2
	.global	printXOR
	.syntax unified
	.arm
	.fpu softvfp
	.type	printXOR, %function
printXOR:
	@ 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]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L7
	ldr	r0, .L18
	bl	puts
	ldr	r3, [fp, #-24]
	b	.L8
.L7:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L9
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	rsb	r3, r3, #0
	mov	r1, r3
	ldr	r0, .L18+4
	bl	printf
	ldr	r3, [fp, #-24]
	b	.L8
.L9:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L10
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r3, [r3]
	rsb	r3, r3, #0
	mov	r2, r3
	ldr	r0, .L18+8
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	rsb	r1, r3, #0
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L18+8
	bl	printf
	ldr	r3, [fp, #-24]
	b	.L8
.L10:
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	bne	.L11
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldr	r3, [r3]
	rsb	r3, r3, #0
	ldr	r0, .L18+12
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r3, [r3]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r0, .L18+12
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	rsb	r1, r3, #0
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r0, .L18+12
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	rsb	r1, r3, #0
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r3, [r3]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldr	r3, [r3]
	rsb	r3, r3, #0
	ldr	r0, .L18+12
	bl	printf
	ldr	r3, [fp, #-24]
	b	.L8
.L11:
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #0
	ldr	r0, .L18+12
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r3, [r3]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-24]
	ldr	r0, .L18+12
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	rsb	r1, r3, #0
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r0, .L18+12
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	rsb	r1, r3, #0
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r3, [r3]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #0
	ldr	r0, .L18+12
	bl	printf
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L12
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L13
.L14:
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L13:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #2
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-20]
	sub	r3, r3, #-1073741822
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
.L12:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bne	.L15
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L16
.L17:
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #2
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L17
.L15:
	ldr	r3, [fp, #-20]
	sub	r1, r3, #1
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	ldr	r3, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	printXOR
	mov	r3, r0
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	printXOR, .-printXOR
	.section	.rodata
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	" p xnf %i %i \000"
	.align	2
.LC7:
	.ascii	" x %i \000"
	.align	2
.LC8:
	.ascii	" %i \000"
	.align	2
.LC9:
	.ascii	"p cnf %i %i\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r3, [fp, #-76]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L51+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-36]
	mov	r3, #2
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-72]
	cmp	r3, #2
	ble	.L21
	ldr	r3, [fp, #-76]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L22
	ldr	r3, [fp, #-76]
	add	r3, r3, #8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #108
	bne	.L22
	mov	r3, #2
	str	r3, [fp, #-48]
.L22:
	ldr	r3, [fp, #-76]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L21
	ldr	r3, [fp, #-76]
	add	r3, r3, #8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L21
	mov	r3, #1
	str	r3, [fp, #-48]
.L21:
	sub	r3, fp, #64
	sub	r2, fp, #68
	ldr	r1, .L51+8
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	str	r0, [fp, #-52]
	ldr	ip, [fp, #-68]
	sub	r3, ip, #1
	str	r3, [fp, #-32]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L31:
	mov	r3, #0
	str	r3, [fp, #-44]
	sub	r3, fp, #60
	mov	r2, r3
	ldr	r1, .L51+12
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L23
	sub	r3, fp, #60
	mov	r2, r3
	ldr	r1, .L51+16
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	str	r0, [fp, #-52]
.L23:
	ldr	r3, [fp, #-44]
	add	r2, r3, #1
	str	r2, [fp, #-44]
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-28]
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	beq	.L46
.L24:
	sub	r3, fp, #60
	mov	r2, r3
	ldr	r1, .L51+16
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-44]
	add	r2, r3, #1
	str	r2, [fp, #-44]
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-28]
	str	r1, [r2, r3, lsl #2]
.L26:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	beq	.L27
	b	.L24
.L27:
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	beq	.L47
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L31
	ldr	r3, [fp, #-44]
	cmp	r3, #3
	ble	.L30
	ldr	r3, [fp, #-44]
	sub	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
.L30:
	ldr	r3, [fp, #-44]
	cmp	r3, #3
	ble	.L31
	ldr	r3, [fp, #-44]
	sub	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, r3, #1
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-64]
	b	.L31
.L46:
	nop
	b	.L25
.L47:
	nop
.L25:
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	ldr	r2, [fp, #-64]
	mov	r1, r3
	ldr	r0, .L51+20
	bl	printf
	ldr	r3, [fp, #-76]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L51+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-36]
	sub	r3, fp, #64
	sub	r2, fp, #68
	ldr	r1, .L51+8
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L43:
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #60
	mov	r2, r3
	ldr	r1, .L51+12
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	beq	.L48
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L34
	sub	r3, fp, #60
	mov	r2, r3
	ldr	r1, .L51+16
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	str	r0, [fp, #-52]
.L34:
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	beq	.L49
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-28]
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-60]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-28]
	str	r2, [r3]
.L39:
	sub	r3, fp, #60
	mov	r2, r3
	ldr	r1, .L51+16
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-28]
	str	r1, [r2, r3, lsl #2]
.L37:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	beq	.L38
	b	.L39
.L38:
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	beq	.L50
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L41
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-28]
	bl	printXOR
	str	r0, [fp, #-56]
	b	.L43
.L41:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-28]
	bl	printCls
	b	.L43
.L48:
	nop
	b	.L33
.L49:
	nop
	b	.L33
.L50:
	nop
.L33:
	ldr	r0, [fp, #-36]
	bl	fclose
	mov	sp, r4
	mov	r3, #0
	ldr	r2, .L51
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC10
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
