	.file	"128729.c"
	.intel_syntax noprefix
	.text
	.globl	contains
	.type	contains, @function
contains:
.LFB0:
	.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	QWORD PTR -32[rbp], rsi
	mov	BYTE PTR -20[rbp], al
	mov	BYTE PTR -1[rbp], 0
	jmp	.L2
.L5:
	movzx	edx, BYTE PTR -1[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -20[rbp], al
	jne	.L3
	mov	eax, 1
	jmp	.L4
.L3:
	add	BYTE PTR -1[rbp], 1
.L2:
	cmp	BYTE PTR -1[rbp], 8
	jbe	.L5
	mov	eax, 0
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	contains, .-contains
	.globl	get_row
	.type	get_row, @function
get_row:
.LFB1:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	BYTE PTR -20[rbp], al
	mov	BYTE PTR -1[rbp], 0
	jmp	.L7
.L8:
	movzx	edx, BYTE PTR -20[rbp]
	mov	eax, edx
	sal	eax, 3
	add	edx, eax
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR -1[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	BYTE PTR -1[rbp], 1
.L7:
	cmp	BYTE PTR -1[rbp], 8
	jbe	.L8
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	get_row, .-get_row
	.globl	get_column
	.type	get_column, @function
get_column:
.LFB2:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	BYTE PTR -20[rbp], al
	mov	BYTE PTR -1[rbp], 0
	jmp	.L10
.L11:
	movzx	edx, BYTE PTR -1[rbp]
	mov	eax, edx
	sal	eax, 3
	add	edx, eax
	movzx	eax, BYTE PTR -20[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR -1[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	BYTE PTR -1[rbp], 1
.L10:
	cmp	BYTE PTR -1[rbp], 8
	jbe	.L11
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	get_column, .-get_column
	.globl	get_box
	.type	get_box, @function
get_box:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, esi
	mov	QWORD PTR -32[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	edx, edi
	mov	BYTE PTR -20[rbp], dl
	mov	BYTE PTR -24[rbp], al
	mov	BYTE PTR -2[rbp], 0
	jmp	.L13
.L16:
	mov	BYTE PTR -1[rbp], 0
	jmp	.L14
.L15:
	movzx	edx, BYTE PTR -20[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -2[rbp]
	add	edx, eax
	mov	eax, edx
	sal	eax, 3
	lea	ecx, [rax+rdx]
	movzx	edx, BYTE PTR -24[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	lea	edx, [rcx+rax]
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	movzx	edx, BYTE PTR -2[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	BYTE PTR -1[rbp], 1
.L14:
	cmp	BYTE PTR -1[rbp], 2
	jbe	.L15
	add	BYTE PTR -2[rbp], 1
.L13:
	cmp	BYTE PTR -2[rbp], 2
	jbe	.L16
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	get_box, .-get_box
	.globl	get_box_for
	.type	get_box_for, @function
get_box_for:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	eax, esi
	mov	QWORD PTR -16[rbp], rdx
	mov	QWORD PTR -24[rbp], rcx
	mov	edx, edi
	mov	BYTE PTR -4[rbp], dl
	mov	BYTE PTR -8[rbp], al
	movzx	eax, BYTE PTR -8[rbp]
	movzx	edx, al
	mov	eax, edx
	sal	eax, 3
	add	eax, edx
	add	eax, eax
	add	eax, edx
	lea	edx, 0[0+rax*8]
	add	eax, edx
	shr	ax, 8
	shr	al
	movzx	esi, al
	movzx	eax, BYTE PTR -4[rbp]
	movzx	edx, al
	mov	eax, edx
	sal	eax, 3
	add	eax, edx
	add	eax, eax
	add	eax, edx
	lea	edx, 0[0+rax*8]
	add	eax, edx
	shr	ax, 8
	shr	al
	movzx	eax, al
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	edi, eax
	call	get_box
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	get_box_for, .-get_box_for
	.globl	copy_data
	.type	copy_data, @function
copy_data:
.LFB5:
	.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	QWORD PTR -32[rbp], rsi
	mov	BYTE PTR -1[rbp], 0
	jmp	.L19
.L20:
	movzx	edx, BYTE PTR -1[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR -1[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	BYTE PTR -1[rbp], 1
.L19:
	cmp	BYTE PTR -1[rbp], 80
	jbe	.L20
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	copy_data, .-copy_data
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	" "
.LC2:
	.string	"|"
.LC3:
	.string	"\n"
.LC4:
	.string	"---+---+---\n"
	.text
	.globl	print_data
	.type	print_data, @function
print_data:
.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, 304
	mov	QWORD PTR -296[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -276[rbp], 0
	mov	BYTE PTR -275[rbp], 0
	jmp	.L22
.L31:
	mov	BYTE PTR -274[rbp], 0
	jmp	.L23
.L28:
	movzx	edx, BYTE PTR -275[rbp]
	mov	eax, edx
	sal	eax, 3
	add	edx, eax
	movzx	eax, BYTE PTR -274[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -296[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -273[rbp], al
	cmp	BYTE PTR -273[rbp], 0
	je	.L24
	movzx	eax, BYTE PTR -273[rbp]
	movzx	edx, BYTE PTR -276[rbp]
	lea	rcx, -272[rbp]
	add	rcx, rdx
	mov	edx, eax
	lea	rsi, .LC0[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	add	BYTE PTR -276[rbp], al
	jmp	.L25
.L24:
	movzx	eax, BYTE PTR -276[rbp]
	lea	rdx, -272[rbp]
	add	rax, rdx
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	BYTE PTR -276[rbp], al
.L25:
	cmp	BYTE PTR -274[rbp], 2
	je	.L26
	cmp	BYTE PTR -274[rbp], 5
	jne	.L27
.L26:
	movzx	eax, BYTE PTR -276[rbp]
	lea	rdx, -272[rbp]
	add	rax, rdx
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	BYTE PTR -276[rbp], al
.L27:
	add	BYTE PTR -274[rbp], 1
.L23:
	cmp	BYTE PTR -274[rbp], 8
	jbe	.L28
	movzx	eax, BYTE PTR -276[rbp]
	lea	rdx, -272[rbp]
	add	rax, rdx
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	BYTE PTR -276[rbp], al
	cmp	BYTE PTR -275[rbp], 2
	je	.L29
	cmp	BYTE PTR -275[rbp], 5
	jne	.L30
.L29:
	movzx	eax, BYTE PTR -276[rbp]
	lea	rdx, -272[rbp]
	add	rax, rdx
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	BYTE PTR -276[rbp], al
.L30:
	add	BYTE PTR -275[rbp], 1
.L22:
	cmp	BYTE PTR -275[rbp], 8
	jbe	.L31
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_data, .-print_data
	.globl	solve
	.type	solve, @function
solve:
.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, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -126[rbp], 0
	jmp	.L34
.L44:
	mov	BYTE PTR -125[rbp], 0
	jmp	.L35
.L43:
	movzx	edx, BYTE PTR -126[rbp]
	mov	eax, edx
	sal	eax, 3
	add	edx, eax
	movzx	eax, BYTE PTR -125[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L36
	add	BYTE PTR -125[rbp], 1
	jmp	.L35
.L36:
	movzx	eax, BYTE PTR -126[rbp]
	lea	rdx, -123[rbp]
	mov	rcx, QWORD PTR -136[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	get_row
	movzx	eax, BYTE PTR -125[rbp]
	lea	rdx, -114[rbp]
	mov	rcx, QWORD PTR -136[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	get_column
	movzx	esi, BYTE PTR -125[rbp]
	movzx	eax, BYTE PTR -126[rbp]
	lea	rcx, -105[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	edi, eax
	call	get_box_for
	mov	BYTE PTR -124[rbp], 1
	jmp	.L37
.L42:
	movzx	eax, BYTE PTR -124[rbp]
	lea	rdx, -123[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	contains
	test	al, al
	jne	.L47
	movzx	eax, BYTE PTR -124[rbp]
	lea	rdx, -114[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	contains
	test	al, al
	jne	.L47
	movzx	eax, BYTE PTR -124[rbp]
	lea	rdx, -105[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	contains
	test	al, al
	jne	.L47
	lea	rdx, -96[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	copy_data
	movzx	edx, BYTE PTR -126[rbp]
	mov	eax, edx
	sal	eax, 3
	add	edx, eax
	movzx	eax, BYTE PTR -125[rbp]
	add	eax, edx
	cdqe
	movzx	edx, BYTE PTR -124[rbp]
	mov	BYTE PTR -96[rbp+rax], dl
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	solve
	test	al, al
	je	.L40
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	copy_data
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 1
	jmp	.L45
.L47:
	nop
.L40:
	add	BYTE PTR -124[rbp], 1
.L37:
	cmp	BYTE PTR -124[rbp], 9
	jbe	.L42
	mov	eax, 0
	jmp	.L45
.L35:
	cmp	BYTE PTR -125[rbp], 8
	jbe	.L43
	add	BYTE PTR -126[rbp], 1
.L34:
	cmp	BYTE PTR -126[rbp], 8
	jbe	.L44
	mov	eax, 1
.L45:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	solve, .-solve
	.section	.rodata
	.align 8
.LC5:
	.string	"Found unexpected newline at characher %d in puzzle file\n"
	.align 8
.LC6:
	.string	"Found unexpected value '%s' at characher %d in puzzle file\n"
	.align 8
.LC7:
	.string	"Too many values in puzzle file\n"
	.align 8
.LC8:
	.string	"Not enough values (found %d) in puzzle file\n"
	.text
	.globl	parse_puzzle_str
	.type	parse_puzzle_str, @function
parse_puzzle_str:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -14[rbp], 0
	mov	WORD PTR -10[rbp], 0
	mov	BYTE PTR -12[rbp], 0
	jmp	.L49
.L59:
	movzx	edx, BYTE PTR -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -11[rbp], al
	cmp	BYTE PTR -11[rbp], 32
	je	.L63
	cmp	BYTE PTR -11[rbp], 10
	jne	.L52
	movzx	ecx, BYTE PTR -14[rbp]
	movzx	edx, cl
	mov	eax, edx
	sal	eax, 3
	sub	eax, edx
	sal	eax, 3
	add	eax, edx
	shr	ax, 8
	shr	al
	mov	edx, eax
	sal	edx, 3
	add	edx, eax
	mov	eax, ecx
	sub	eax, edx
	test	al, al
	je	.L64
	movzx	edx, BYTE PTR -12[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L61
.L52:
	cmp	BYTE PTR -11[rbp], 46
	jne	.L55
	mov	BYTE PTR -13[rbp], 0
	jmp	.L56
.L55:
	movzx	eax, BYTE PTR -11[rbp]
	sub	eax, 48
	mov	BYTE PTR -13[rbp], al
	cmp	BYTE PTR -13[rbp], 9
	ja	.L57
	cmp	BYTE PTR -13[rbp], 0
	jne	.L56
.L57:
	movzx	eax, BYTE PTR -11[rbp]
	mov	BYTE PTR -10[rbp], al
	movzx	ecx, BYTE PTR -12[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -10[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L61
.L56:
	cmp	BYTE PTR -14[rbp], 80
	jbe	.L58
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L61
.L58:
	movzx	edx, BYTE PTR -14[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -13[rbp]
	mov	BYTE PTR [rdx], al
	add	BYTE PTR -14[rbp], 1
	jmp	.L51
.L63:
	nop
	jmp	.L51
.L64:
	nop
.L51:
	add	BYTE PTR -12[rbp], 1
.L49:
	cmp	BYTE PTR -12[rbp], -125
	jbe	.L59
	cmp	BYTE PTR -14[rbp], 80
	ja	.L60
	movzx	edx, BYTE PTR -14[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L61
.L60:
	mov	eax, 1
.L61:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	parse_puzzle_str, .-parse_puzzle_str
	.section	.rodata
.LC9:
	.string	"r"
.LC10:
	.string	"Failed to close puzzle file\n"
	.text
	.globl	load_puzzle_file
	.type	load_puzzle_file, @function
load_puzzle_file:
.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, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -152[rbp], rax
	mov	rdx, QWORD PTR -152[rbp]
	lea	rax, -144[rbp]
	mov	rcx, rdx
	mov	edx, 133
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L66
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L68
.L66:
	mov	rdx, QWORD PTR -176[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	parse_puzzle_str
.L68:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	load_puzzle_file, .-load_puzzle_file
	.section	.rodata
.LC11:
	.string	"Usage: %s puzzle\n"
.LC12:
	.string	"Failed to load puzzle file\n"
.LC13:
	.string	"Initial puzzle:"
.LC14:
	.string	"Unsolvable puzzle\n"
.LC15:
	.string	"Solved puzzle:"
	.text
	.globl	main
	.type	main, @function
main:
.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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -100[rbp], 2
	je	.L71
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L75
.L71:
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	load_puzzle_file
	xor	eax, 1
	test	al, al
	je	.L73
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L75
.L73:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	print_data
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	solve
	xor	eax, 1
	test	al, al
	je	.L74
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L75
.L74:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	print_data
	mov	eax, 0
.L75:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L76
	call	__stack_chk_fail@PLT
.L76:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"128729.c"
	.text
	.align	2
	.global	contains
	.syntax unified
	.arm
	.fpu softvfp
	.type	contains, %function
contains:
	@ 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
	mov	r3, r0
	str	r1, [fp, #-20]
	strb	r3, [fp, #-13]
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L2
.L5:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L3
	mov	r3, #1
	b	.L4
.L3:
	ldrb	r3, [fp, #-5]
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L2:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #8
	bls	.L5
	mov	r3, #0
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	contains, .-contains
	.align	2
	.global	get_row
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_row, %function
get_row:
	@ args = 0, 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
	mov	r3, r0
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-13]
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L7
.L8:
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #3
	add	r2, r3, r2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r2, r3, r2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [fp, #-5]
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L7:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #8
	bls	.L8
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	get_row, .-get_row
	.align	2
	.global	get_column
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_column, %function
get_column:
	@ args = 0, 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
	mov	r3, r0
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-13]
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L10
.L11:
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #3
	add	r2, r3, r2
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r2, r3, r2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [fp, #-5]
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L10:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #8
	bls	.L11
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	get_column, .-get_column
	.align	2
	.global	get_box
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_box, %function
get_box:
	@ args = 0, 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	r2, [fp, #-20]
	str	r3, [fp, #-24]
	mov	r3, r0
	strb	r3, [fp, #-13]
	mov	r3, r1
	strb	r3, [fp, #-14]
	mov	r3, #0
	strb	r3, [fp, #-6]
	b	.L13
.L16:
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L14
.L15:
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	add	r1, r3, r2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r2, r1, r3
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, r2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldrb	r2, [r1]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [fp, #-5]
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L14:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L15
	ldrb	r3, [fp, #-6]
	add	r3, r3, #1
	strb	r3, [fp, #-6]
.L13:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #2
	bls	.L16
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	get_box, .-get_box
	.align	2
	.global	get_box_for
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_box_for, %function
get_box_for:
	@ 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	r2, [fp, #-12]
	str	r3, [fp, #-16]
	mov	r3, r0
	strb	r3, [fp, #-5]
	mov	r3, r1
	strb	r3, [fp, #-6]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L18
	umull	r1, r3, r2, r3
	lsr	r3, r3, #1
	and	r0, r3, #255
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	ldr	r2, .L18
	umull	r1, r3, r2, r3
	lsr	r3, r3, #1
	and	r1, r3, #255
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	bl	get_box
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	-1431655765
	.size	get_box_for, .-get_box_for
	.align	2
	.global	copy_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_data, %function
copy_data:
	@ 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
	strb	r3, [fp, #-5]
	b	.L21
.L22:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [fp, #-5]
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L21:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #80
	bls	.L22
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	copy_data, .-copy_data
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	" \000"
	.align	2
.LC2:
	.ascii	"|\000"
	.align	2
.LC3:
	.ascii	"\012\000"
	.align	2
.LC4:
	.ascii	"---+---+---\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_data, %function
print_data:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-268]
	mov	r3, #0
	strb	r3, [fp, #-267]
	b	.L24
.L33:
	mov	r3, #0
	strb	r3, [fp, #-266]
	b	.L25
.L30:
	ldrb	r2, [fp, #-267]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #3
	add	r2, r3, r2
	ldrb	r3, [fp, #-266]	@ zero_extendqisi2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-272]
	add	r3, r3, r2
	ldrb	r3, [r3]
	strb	r3, [fp, #-265]
	ldrb	r3, [fp, #-265]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L26
	ldrb	r3, [fp, #-268]	@ zero_extendqisi2
	sub	r2, fp, #264
	add	r3, r2, r3
	ldrb	r2, [fp, #-265]	@ zero_extendqisi2
	ldr	r1, .L35+4
	mov	r0, r3
	bl	sprintf
	mov	r3, r0
	and	r2, r3, #255
	ldrb	r3, [fp, #-268]
	add	r3, r2, r3
	strb	r3, [fp, #-268]
	b	.L27
.L26:
	ldrb	r3, [fp, #-268]	@ zero_extendqisi2
	sub	r2, fp, #264
	add	r3, r2, r3
	ldr	r1, .L35+8
	mov	r0, r3
	bl	sprintf
	mov	r3, r0
	and	r2, r3, #255
	ldrb	r3, [fp, #-268]
	add	r3, r2, r3
	strb	r3, [fp, #-268]
.L27:
	ldrb	r3, [fp, #-266]	@ zero_extendqisi2
	cmp	r3, #2
	beq	.L28
	ldrb	r3, [fp, #-266]	@ zero_extendqisi2
	cmp	r3, #5
	bne	.L29
.L28:
	ldrb	r3, [fp, #-268]	@ zero_extendqisi2
	sub	r2, fp, #264
	add	r3, r2, r3
	ldr	r1, .L35+12
	mov	r0, r3
	bl	sprintf
	mov	r3, r0
	and	r2, r3, #255
	ldrb	r3, [fp, #-268]
	add	r3, r2, r3
	strb	r3, [fp, #-268]
.L29:
	ldrb	r3, [fp, #-266]
	add	r3, r3, #1
	strb	r3, [fp, #-266]
.L25:
	ldrb	r3, [fp, #-266]	@ zero_extendqisi2
	cmp	r3, #8
	bls	.L30
	ldrb	r3, [fp, #-268]	@ zero_extendqisi2
	sub	r2, fp, #264
	add	r3, r2, r3
	ldr	r1, .L35+16
	mov	r0, r3
	bl	sprintf
	mov	r3, r0
	and	r2, r3, #255
	ldrb	r3, [fp, #-268]
	add	r3, r2, r3
	strb	r3, [fp, #-268]
	ldrb	r3, [fp, #-267]	@ zero_extendqisi2
	cmp	r3, #2
	beq	.L31
	ldrb	r3, [fp, #-267]	@ zero_extendqisi2
	cmp	r3, #5
	bne	.L32
.L31:
	ldrb	r3, [fp, #-268]	@ zero_extendqisi2
	sub	r2, fp, #264
	add	r3, r2, r3
	ldr	r1, .L35+20
	mov	r0, r3
	bl	sprintf
	mov	r3, r0
	and	r2, r3, #255
	ldrb	r3, [fp, #-268]
	add	r3, r2, r3
	strb	r3, [fp, #-268]
.L32:
	ldrb	r3, [fp, #-267]
	add	r3, r3, #1
	strb	r3, [fp, #-267]
.L24:
	ldrb	r3, [fp, #-267]	@ zero_extendqisi2
	cmp	r3, #8
	bls	.L33
	sub	r3, fp, #264
	mov	r0, r3
	bl	puts
	nop
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	print_data, .-print_data
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	solve
	.syntax unified
	.arm
	.fpu softvfp
	.type	solve, %function
solve:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-136]
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-131]
	b	.L38
.L48:
	mov	r3, #0
	strb	r3, [fp, #-130]
	b	.L39
.L47:
	ldrb	r2, [fp, #-131]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #3
	add	r2, r3, r2
	ldrb	r3, [fp, #-130]	@ zero_extendqisi2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-136]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	ldrb	r3, [fp, #-130]
	add	r3, r3, #1
	strb	r3, [fp, #-130]
	b	.L39
.L40:
	sub	r2, fp, #128
	ldrb	r3, [fp, #-131]	@ zero_extendqisi2
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	get_row
	sub	r2, fp, #116
	ldrb	r3, [fp, #-130]	@ zero_extendqisi2
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	get_column
	sub	r3, fp, #104
	ldrb	r1, [fp, #-130]	@ zero_extendqisi2
	ldrb	r0, [fp, #-131]	@ zero_extendqisi2
	ldr	r2, [fp, #-136]
	bl	get_box_for
	mov	r3, #1
	strb	r3, [fp, #-129]
	b	.L41
.L46:
	sub	r2, fp, #128
	ldrb	r3, [fp, #-129]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	contains
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	sub	r2, fp, #116
	ldrb	r3, [fp, #-129]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	contains
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	sub	r2, fp, #104
	ldrb	r3, [fp, #-129]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	contains
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, [fp, #-136]
	bl	copy_data
	ldrb	r2, [fp, #-131]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #3
	add	r2, r3, r2
	ldrb	r3, [fp, #-130]	@ zero_extendqisi2
	add	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [fp, #-129]
	strb	r2, [r3, #-88]
	sub	r3, fp, #92
	mov	r0, r3
	bl	solve
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	sub	r3, fp, #92
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	copy_data
	ldr	r3, .L52+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r3, #1
	b	.L49
.L51:
	nop
.L44:
	ldrb	r3, [fp, #-129]
	add	r3, r3, #1
	strb	r3, [fp, #-129]
.L41:
	ldrb	r3, [fp, #-129]	@ zero_extendqisi2
	cmp	r3, #9
	bls	.L46
	mov	r3, #0
	b	.L49
.L39:
	ldrb	r3, [fp, #-130]	@ zero_extendqisi2
	cmp	r3, #8
	bls	.L47
	ldrb	r3, [fp, #-131]
	add	r3, r3, #1
	strb	r3, [fp, #-131]
.L38:
	ldrb	r3, [fp, #-131]	@ zero_extendqisi2
	cmp	r3, #8
	bls	.L48
	mov	r3, #1
.L49:
	ldr	r2, .L52
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC6
	.word	stdout
	.size	solve, .-solve
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Found unexpected newline at characher %d in puzzle "
	.ascii	"file\012\000"
	.align	2
.LC8:
	.ascii	"Found unexpected value '%s' at characher %d in puzz"
	.ascii	"le file\012\000"
	.align	2
.LC9:
	.ascii	"Too many values in puzzle file\012\000"
	.align	2
.LC10:
	.ascii	"Not enough values (found %d) in puzzle file\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse_puzzle_str
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_puzzle_str, %function
parse_puzzle_str:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L71
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-16]
	mov	r3, #0
	strh	r3, [fp, #-12]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-14]
	b	.L55
.L65:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L69
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L58
	ldrb	r2, [fp, #-16]	@ zero_extendqisi2
	ldr	r3, .L71+4
	umull	r1, r3, r2, r3
	lsr	r1, r3, #1
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	sub	r3, r2, r3
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L70
	ldr	r3, .L71+8
	ldr	r3, [r3]
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	ldr	r1, .L71+12
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L67
.L58:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L61
	mov	r3, #0
	strb	r3, [fp, #-15]
	b	.L62
.L61:
	ldrb	r3, [fp, #-13]
	sub	r3, r3, #48
	strb	r3, [fp, #-15]
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	cmp	r3, #9
	bhi	.L63
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L62
.L63:
	ldrb	r3, [fp, #-13]
	strb	r3, [fp, #-12]
	ldr	r3, .L71+8
	ldr	r0, [r3]
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r2, fp, #12
	ldr	r1, .L71+16
	bl	fprintf
	mov	r3, #0
	b	.L67
.L62:
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #80
	bls	.L64
	ldr	r3, .L71+8
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L71+20
	bl	fwrite
	mov	r3, #0
	b	.L67
.L64:
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r2, [fp, #-15]
	strb	r2, [r3]
	ldrb	r3, [fp, #-16]
	add	r3, r3, #1
	strb	r3, [fp, #-16]
	b	.L57
.L69:
	nop
	b	.L57
.L70:
	nop
.L57:
	ldrb	r3, [fp, #-14]
	add	r3, r3, #1
	strb	r3, [fp, #-14]
.L55:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #131
	bls	.L65
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #80
	bhi	.L66
	ldr	r3, .L71+8
	ldr	r3, [r3]
	ldrb	r2, [fp, #-16]	@ zero_extendqisi2
	ldr	r1, .L71+24
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L67
.L66:
	mov	r3, #1
.L67:
	ldr	r2, .L71
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L68
	bl	__stack_chk_fail
.L68:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC11
	.word	954437177
	.word	stderr
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	parse_puzzle_str, .-parse_puzzle_str
	.section	.rodata
	.align	2
.LC12:
	.ascii	"r\000"
	.align	2
.LC13:
	.ascii	"Failed to close puzzle file\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	load_puzzle_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_puzzle_file, %function
load_puzzle_file:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L78
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L78+4
	ldr	r0, [fp, #-152]
	bl	fopen
	str	r0, [fp, #-148]
	sub	r0, fp, #144
	ldr	r3, [fp, #-148]
	mov	r2, #133
	mov	r1, #1
	bl	fread
	ldr	r0, [fp, #-148]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	ldr	r3, .L78+8
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L78+12
	bl	fwrite
	mov	r3, #0
	b	.L76
.L74:
	sub	r3, fp, #144
	ldr	r1, [fp, #-156]
	mov	r0, r3
	bl	parse_puzzle_str
	mov	r3, r0
.L76:
	ldr	r2, .L78
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L77
	bl	__stack_chk_fail
.L77:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L79:
	.align	2
.L78:
	.word	.LC14
	.word	.LC12
	.word	stderr
	.word	.LC13
	.size	load_puzzle_file, .-load_puzzle_file
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Usage: %s puzzle\012\000"
	.align	2
.LC16:
	.ascii	"Failed to load puzzle file\012\000"
	.align	2
.LC17:
	.ascii	"Initial puzzle:\000"
	.align	2
.LC18:
	.ascii	"Unsolvable puzzle\012\000"
	.align	2
.LC19:
	.ascii	"Solved puzzle:\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L87
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-96]
	cmp	r3, #2
	beq	.L81
	ldr	r3, .L87+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L87+8
	bl	fprintf
	mov	r3, #2
	b	.L85
.L81:
	ldr	r3, [fp, #-100]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #92
	mov	r1, r2
	mov	r0, r3
	bl	load_puzzle_file
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L83
	ldr	r3, .L87+4
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L87+12
	bl	fwrite
	mov	r3, #1
	b	.L85
.L83:
	ldr	r0, .L87+16
	bl	puts
	sub	r3, fp, #92
	mov	r0, r3
	bl	print_data
	sub	r3, fp, #92
	mov	r0, r3
	bl	solve
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L84
	ldr	r3, .L87+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L87+20
	bl	fwrite
	mov	r3, #1
	b	.L85
.L84:
	ldr	r0, .L87+24
	bl	puts
	sub	r3, fp, #92
	mov	r0, r3
	bl	print_data
	mov	r3, #0
.L85:
	ldr	r2, .L87
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L86
	bl	__stack_chk_fail
.L86:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L88:
	.align	2
.L87:
	.word	.LC20
	.word	stderr
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
