	.file	"247018569.c"
	.intel_syntax noprefix
	.text
	.globl	chess
	.bss
	.align 32
	.type	chess, @object
	.size	chess, 256
chess:
	.zero	256
	.globl	moves
	.data
	.align 32
	.type	moves, @object
	.size	moves, 128
moves:
	.long	-1
	.long	-1
	.long	-1
	.long	0
	.long	-1
	.long	1
	.long	0
	.long	1
	.long	1
	.long	1
	.long	1
	.long	0
	.long	1
	.long	-1
	.long	0
	.long	-1
	.long	-1
	.long	-2
	.long	-2
	.long	-1
	.long	1
	.long	-2
	.long	2
	.long	-1
	.long	1
	.long	2
	.long	2
	.long	1
	.long	-2
	.long	1
	.long	-1
	.long	2
	.text
	.globl	valid
	.type	valid, @function
valid:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -4[rbp], 0
	js	.L2
	cmp	DWORD PTR -8[rbp], 0
	js	.L2
	cmp	DWORD PTR -4[rbp], 7
	jg	.L2
	cmp	DWORD PTR -8[rbp], 7
	jg	.L2
	mov	eax, 1
	jmp	.L4
.L2:
	mov	eax, 0
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	valid, .-valid
	.globl	set_attack
	.type	set_attack, @function
set_attack:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, chess[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L7
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, chess[rip]
	mov	DWORD PTR [rdx+rax], 1
.L7:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	set_attack, .-set_attack
	.globl	move
	.type	move, @function
move:
.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, 32
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	mov	DWORD PTR -20[rbp], r8d
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	valid
	test	eax, eax
	je	.L13
	cmp	DWORD PTR -20[rbp], 0
	jne	.L11
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, chess[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jg	.L8
.L11:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L12
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	set_attack
.L12:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -16[rbp]
	lea	esi, [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -12[rbp]
	lea	edi, [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	r8d, 0
	mov	ecx, edx
	mov	edx, eax
	call	move
	jmp	.L8
.L13:
	nop
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	move, .-move
	.globl	king_knight
	.type	king_knight, @function
king_knight:
.LFB9:
	.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
	mov	DWORD PTR -28[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L15
.L17:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, moves[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	lea	rax, moves[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, ecx
	mov	esi, edx
	mov	edi, eax
	call	valid
	test	eax, eax
	je	.L16
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, moves[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	lea	rax, moves[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, ecx
	mov	esi, edx
	mov	edi, eax
	call	set_attack
.L16:
	add	DWORD PTR -4[rbp], 1
.L15:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L17
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	king_knight, .-king_knight
	.globl	rook
	.type	rook, @function
rook:
.LFB10:
	.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
	mov	DWORD PTR -4[rbp], 1
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, moves[rip+4]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, moves[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, 1
	mov	edi, eax
	call	move
	add	DWORD PTR -4[rbp], 2
.L19:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L20
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	rook, .-rook
	.globl	bishop
	.type	bishop, @function
bishop:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, moves[rip+4]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, moves[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, 1
	mov	edi, eax
	call	move
	add	DWORD PTR -4[rbp], 2
.L22:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L23
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	bishop, .-bishop
	.globl	queen
	.type	queen, @function
queen:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	rook
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	bishop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	queen, .-queen
	.globl	pawn
	.type	pawn, @function
pawn:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	cmp	DWORD PTR -12[rbp], 0
	je	.L26
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	valid
	test	eax, eax
	je	.L27
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	set_attack
.L27:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	valid
	test	eax, eax
	je	.L30
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	set_attack
	jmp	.L30
.L26:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	valid
	test	eax, eax
	je	.L29
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	set_attack
.L29:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	valid
	test	eax, eax
	je	.L30
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	set_attack
.L30:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	pawn, .-pawn
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	print_result
	.type	print_result, @function
print_result:
.LFB14:
	.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], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L32
.L36:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L33
.L35:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, chess[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L34
	add	DWORD PTR -4[rbp], 1
.L34:
	add	DWORD PTR -8[rbp], 1
.L33:
	cmp	DWORD PTR -8[rbp], 7
	jle	.L35
	add	DWORD PTR -12[rbp], 1
.L32:
	cmp	DWORD PTR -12[rbp], 7
	jle	.L36
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	print_result, .-print_result
	.globl	init_chess
	.type	init_chess, @function
init_chess:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -8[rbp], 0
	jmp	.L38
.L41:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, chess[rip]
	mov	DWORD PTR [rdx+rax], 0
	add	DWORD PTR -4[rbp], 1
.L39:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L40
	add	DWORD PTR -8[rbp], 1
.L38:
	cmp	DWORD PTR -8[rbp], 7
	jle	.L41
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	init_chess, .-init_chess
	.section	.rodata
.LC1:
	.string	"/"
	.text
	.globl	set_chess
	.type	set_chess, @function
set_chess:
.LFB16:
	.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, .LC1[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L43
.L48:
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L44
.L47:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L45
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	add	DWORD PTR -16[rbp], eax
	jmp	.L46
.L45:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	edx, cl
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	lea	rax, chess[rip]
	mov	DWORD PTR [rcx+rax], edx
.L46:
	add	DWORD PTR -12[rbp], 1
.L44:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L47
	lea	rsi, .LC1[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L43:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L48
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	set_chess, .-set_chess
	.globl	solve_chess
	.type	solve_chess, @function
solve_chess:
.LFB17:
	.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 -12[rbp], 0
	jmp	.L50
.L65:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L51
.L64:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, chess[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 113
	je	.L52
	cmp	DWORD PTR -4[rbp], 81
	jne	.L53
.L52:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	call	queen
	jmp	.L54
.L53:
	cmp	DWORD PTR -4[rbp], 114
	je	.L55
	cmp	DWORD PTR -4[rbp], 82
	jne	.L56
.L55:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	call	rook
	jmp	.L54
.L56:
	cmp	DWORD PTR -4[rbp], 98
	je	.L57
	cmp	DWORD PTR -4[rbp], 66
	jne	.L58
.L57:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	call	bishop
	jmp	.L54
.L58:
	cmp	DWORD PTR -4[rbp], 107
	je	.L59
	cmp	DWORD PTR -4[rbp], 75
	jne	.L60
.L59:
	mov	ecx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	king_knight
	jmp	.L54
.L60:
	cmp	DWORD PTR -4[rbp], 110
	je	.L61
	cmp	DWORD PTR -4[rbp], 78
	jne	.L62
.L61:
	mov	ecx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	edi, eax
	call	king_knight
	jmp	.L54
.L62:
	cmp	DWORD PTR -4[rbp], 112
	jne	.L63
	mov	ecx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	pawn
	jmp	.L54
.L63:
	cmp	DWORD PTR -4[rbp], 80
	jne	.L54
	mov	ecx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	edi, eax
	call	pawn
.L54:
	add	DWORD PTR -8[rbp], 1
.L51:
	cmp	DWORD PTR -8[rbp], 7
	jle	.L64
	add	DWORD PTR -12[rbp], 1
.L50:
	cmp	DWORD PTR -12[rbp], 7
	jle	.L65
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	solve_chess, .-solve_chess
	.section	.rodata
.LC2:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB18:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L67
.L68:
	mov	eax, 0
	call	init_chess
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	set_chess
	mov	eax, 0
	call	solve_chess
	mov	eax, 0
	call	print_result
.L67:
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L68
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L70
	call	__stack_chk_fail@PLT
.L70:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.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	"247018569.c"
	.text
	.comm	chess,256,4
	.global	moves
	.data
	.align	2
	.type	moves, %object
	.size	moves, 128
moves:
	.word	-1
	.word	-1
	.word	-1
	.word	0
	.word	-1
	.word	1
	.word	0
	.word	1
	.word	1
	.word	1
	.word	1
	.word	0
	.word	1
	.word	-1
	.word	0
	.word	-1
	.word	-1
	.word	-2
	.word	-2
	.word	-1
	.word	1
	.word	-2
	.word	2
	.word	-1
	.word	1
	.word	2
	.word	2
	.word	1
	.word	-2
	.word	1
	.word	-1
	.word	2
	.text
	.align	2
	.global	valid
	.syntax unified
	.arm
	.fpu softvfp
	.type	valid, %function
valid:
	@ 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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L2
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L2
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	bgt	.L2
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	bgt	.L2
	mov	r3, #1
	b	.L4
.L2:
	mov	r3, #0
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	valid, .-valid
	.align	2
	.global	set_attack
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_attack, %function
set_attack:
	@ 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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, .L8
	ldr	r3, [fp, #-8]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	bne	.L7
	ldr	r1, .L8
	ldr	r3, [fp, #-8]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r1, r3, lsl #2]
.L7:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	chess
	.size	set_attack, .-set_attack
	.align	2
	.global	move
	.syntax unified
	.arm
	.fpu softvfp
	.type	move, %function
move:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	valid
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L13
	ldr	r1, .L16
	ldr	r3, [fp, #-8]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #1
	bgt	.L10
.L13:
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L14
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	set_attack
.L14:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r0, r2, r3
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r1, r2, r3
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	bl	move
	b	.L10
.L15:
	nop
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	chess
	.size	move, .-move
	.align	2
	.global	king_knight
	.syntax unified
	.arm
	.fpu softvfp
	.type	king_knight, %function
king_knight:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L19
.L21:
	ldr	r1, .L22
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #3]
	ldr	r3, [fp, #-16]
	add	r0, r2, r3
	ldr	r1, .L22
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r1, r3
	bl	valid
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r1, .L22
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #3]
	ldr	r3, [fp, #-16]
	add	r0, r2, r3
	ldr	r1, .L22
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r1, r3
	bl	set_attack
.L20:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L21
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	moves
	.size	king_knight, .-king_knight
	.align	2
	.global	rook
	.syntax unified
	.arm
	.fpu softvfp
	.type	rook, %function
rook:
	@ args = 0, pretend = 0, frame = 16
	@ 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]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L25
.L26:
	ldr	r2, .L27
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #3]
	ldr	r1, .L27
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	mov	r1, #1
	str	r1, [sp]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	move
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	str	r3, [fp, #-8]
.L25:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L26
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	moves
	.size	rook, .-rook
	.align	2
	.global	bishop
	.syntax unified
	.arm
	.fpu softvfp
	.type	bishop, %function
bishop:
	@ args = 0, pretend = 0, frame = 16
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L30
.L31:
	ldr	r2, .L32
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #3]
	ldr	r1, .L32
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	mov	r1, #1
	str	r1, [sp]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	move
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	str	r3, [fp, #-8]
.L30:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L31
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	moves
	.size	bishop, .-bishop
	.align	2
	.global	queen
	.syntax unified
	.arm
	.fpu softvfp
	.type	queen, %function
queen:
	@ 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	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	rook
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	bishop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	queen, .-queen
	.align	2
	.global	pawn
	.syntax unified
	.arm
	.fpu softvfp
	.type	pawn, %function
pawn:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	valid
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	set_attack
.L37:
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	valid
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	set_attack
	b	.L40
.L36:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	valid
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	set_attack
.L39:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	valid
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	set_attack
.L40:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pawn, .-pawn
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	print_result
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_result, %function
print_result:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L42
.L46:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L43
.L45:
	ldr	r1, .L47
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L44:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L43:
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	ble	.L45
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L42:
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	ble	.L46
	ldr	r1, [fp, #-8]
	ldr	r0, .L47+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	chess
	.word	.LC0
	.size	print_result, .-print_result
	.align	2
	.global	init_chess
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_chess, %function
init_chess:
	@ 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, #0
	str	r3, [fp, #-12]
	b	.L50
.L53:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L51
.L52:
	ldr	r1, .L54
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L51:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L52
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L50:
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	ble	.L53
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L55:
	.align	2
.L54:
	.word	chess
	.size	init_chess, .-init_chess
	.section	.rodata
	.align	2
.LC1:
	.ascii	"/\000"
	.text
	.align	2
	.global	set_chess
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_chess, %function
set_chess:
	@ 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, .L63
	ldr	r0, [fp, #-24]
	bl	strtok
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L57
.L62:
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L58
.L61:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	b	.L60
.L59:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r0, r1
	ldr	r1, .L63+4
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #3
	add	r3, r2, r3
	str	r0, [r1, r3, lsl #2]
.L60:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L58:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L61
	ldr	r1, .L63
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L57:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L62
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC1
	.word	chess
	.size	set_chess, .-set_chess
	.align	2
	.global	solve_chess
	.syntax unified
	.arm
	.fpu softvfp
	.type	solve_chess, %function
solve_chess:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L66
.L81:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L67
.L80:
	ldr	r1, .L82
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #113
	beq	.L68
	ldr	r3, [fp, #-8]
	cmp	r3, #81
	bne	.L69
.L68:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	queen
	b	.L70
.L69:
	ldr	r3, [fp, #-8]
	cmp	r3, #114
	beq	.L71
	ldr	r3, [fp, #-8]
	cmp	r3, #82
	bne	.L72
.L71:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	rook
	b	.L70
.L72:
	ldr	r3, [fp, #-8]
	cmp	r3, #98
	beq	.L73
	ldr	r3, [fp, #-8]
	cmp	r3, #66
	bne	.L74
.L73:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	bishop
	b	.L70
.L74:
	ldr	r3, [fp, #-8]
	cmp	r3, #107
	beq	.L75
	ldr	r3, [fp, #-8]
	cmp	r3, #75
	bne	.L76
.L75:
	mov	r2, #0
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	king_knight
	b	.L70
.L76:
	ldr	r3, [fp, #-8]
	cmp	r3, #110
	beq	.L77
	ldr	r3, [fp, #-8]
	cmp	r3, #78
	bne	.L78
.L77:
	mov	r2, #1
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	king_knight
	b	.L70
.L78:
	ldr	r3, [fp, #-8]
	cmp	r3, #112
	bne	.L79
	mov	r2, #0
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	pawn
	b	.L70
.L79:
	ldr	r3, [fp, #-8]
	cmp	r3, #80
	bne	.L70
	mov	r2, #1
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	pawn
.L70:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L67:
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	ble	.L80
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L66:
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	ble	.L81
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L83:
	.align	2
.L82:
	.word	chess
	.size	solve_chess, .-solve_chess
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L85
.L86:
	bl	init_chess
	sub	r3, fp, #48
	mov	r0, r3
	bl	set_chess
	bl	solve_chess
	bl	print_result
.L85:
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L89+4
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L86
	mov	r3, #0
	ldr	r2, .L89
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L88
	bl	__stack_chk_fail
.L88:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC3
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
