	.file	"168384.c"
	.intel_syntax noprefix
	.text
	.globl	untestedPathSize
	.bss
	.align 4
	.type	untestedPathSize, @object
	.size	untestedPathSize, 4
untestedPathSize:
	.zero	4
	.globl	completePathSize
	.align 4
	.type	completePathSize, @object
	.size	completePathSize, 4
completePathSize:
	.zero	4
	.text
	.globl	getNumbersFromLine
	.type	getNumbersFromLine, @function
getNumbersFromLine:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L9:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -33[rbp], al
	cmp	BYTE PTR -33[rbp], 32
	je	.L3
	cmp	BYTE PTR -33[rbp], 10
	jne	.L4
.L3:
	cmp	DWORD PTR -32[rbp], 0
	jle	.L5
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	lea	rbx, [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR [rbx], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -32[rbp], 0
.L5:
	cmp	BYTE PTR -33[rbp], 10
	jne	.L8
	jmp	.L7
.L4:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -33[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -32[rbp], 1
.L8:
	add	DWORD PTR -28[rbp], 1
.L2:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	cmp	QWORD PTR -64[rbp], rax
	jg	.L9
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getNumbersFromLine, .-getNumbersFromLine
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"the_stack_data/168384.c"
.LC2:
	.string	"file != NULL"
.LC3:
	.string	"numberOfNumbers == 2"
	.text
	.globl	getMatrixFromFile
	.type	getMatrixFromFile, @function
getMatrixFromFile:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -80[rbp], 0
	jne	.L11
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 140
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L11:
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	rdx, QWORD PTR -80[rbp]
	lea	rcx, -88[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -104[rbp], 0
	mov	rax, QWORD PTR -96[rbp]
	lea	rcx, -104[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rsi, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	getNumbersFromLine
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, 2
	je	.L12
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 150
	lea	rsi, .LC1[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L12:
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -100[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	jmp	.L13
.L14:
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L13
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 2
	mov	rcx, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	DWORD PTR -104[rbp], 0
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	lea	rcx, -104[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	getNumbersFromLine
	add	DWORD PTR -100[rbp], 1
.L13:
	mov	rdx, QWORD PTR -80[rbp]
	lea	rcx, -88[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], -1
	jne	.L14
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getMatrixFromFile, .-getMatrixFromFile
	.globl	recordScore
	.type	recordScore, @function
recordScore:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 20[rax]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cdqe
	sal	rax, 2
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	cdqe
	sal	rax, 2
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	recordScore, .-recordScore
	.globl	putOnUntestedStack
	.type	putOnUntestedStack, @function
putOnUntestedStack:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR untestedPathSize[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rax, QWORD PTR 16[rbp]
	mov	rdx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR 32[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	eax, DWORD PTR untestedPathSize[rip]
	add	eax, 1
	mov	DWORD PTR untestedPathSize[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	putOnUntestedStack, .-putOnUntestedStack
	.globl	popUntestedStack
	.type	popUntestedStack, @function
popUntestedStack:
.LFB10:
	.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	eax, DWORD PTR untestedPathSize[rip]
	sub	eax, 1
	mov	DWORD PTR untestedPathSize[rip], eax
	mov	eax, DWORD PTR untestedPathSize[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR [rcx]
	mov	rdx, QWORD PTR 8[rcx]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR 16[rcx]
	mov	QWORD PTR -16[rbp], rax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	rax, QWORD PTR -40[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	popUntestedStack, .-popUntestedStack
	.globl	isComplete
	.type	isComplete, @function
isComplete:
.LFB11:
	.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	eax, DWORD PTR 32[rbp]
	cmp	DWORD PTR -4[rbp], eax
	setle	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	isComplete, .-isComplete
	.globl	getNewPath
	.type	getNewPath, @function
getNewPath:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	rax, QWORD PTR -40[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getNewPath, .-getNewPath
	.globl	getNextPath
	.type	getNextPath, @function
getNextPath:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	eax, ecx
	mov	BYTE PTR -76[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getNewPath
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 16[rax]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rcx, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rcx, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -36[rbp], 1
.L26:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L27
	cmp	BYTE PTR -76[rbp], 117
	jne	.L28
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jns	.L29
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L29
.L28:
	cmp	BYTE PTR -76[rbp], 100
	jne	.L29
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jl	.L29
	mov	DWORD PTR -12[rbp], 0
.L29:
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	mov	rax, QWORD PTR -56[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	getNextPath, .-getNextPath
	.globl	findPath
	.type	findPath, @function
findPath:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 10000000
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -96[rbp], 0
	jmp	.L33
.L34:
	lea	rax, -48[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getNewPath
	mov	DWORD PTR -32[rbp], 0
	mov	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR -28[rbp], eax
	lea	rax, -88[rbp]
	sub	rsp, 8
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	mov	rdi, rax
	call	putOnUntestedStack
	add	rsp, 32
	add	DWORD PTR -96[rbp], 1
.L33:
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	DWORD PTR -96[rbp], eax
	jl	.L34
	jmp	.L35
.L40:
	mov	rdx, QWORD PTR -88[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	popUntestedStack
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 8[rax]
	sub	rsp, 8
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	mov	edi, eax
	call	isComplete
	add	rsp, 32
	test	eax, eax
	je	.L36
	mov	rax, QWORD PTR -128[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR completePathSize[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	eax, DWORD PTR completePathSize[rip]
	add	eax, 1
	mov	DWORD PTR completePathSize[rip], eax
	jmp	.L35
.L36:
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	recordScore
	mov	WORD PTR -11[rbp], 25717
	mov	BYTE PTR -9[rbp], 102
	mov	DWORD PTR -92[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -11[rbp+rax]
	mov	BYTE PTR -97[rbp], al
	movsx	ecx, BYTE PTR -97[rbp]
	lea	rax, -48[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	lea	rsi, -80[rbp]
	mov	rdi, rax
	call	getNextPath
	lea	rax, -88[rbp]
	sub	rsp, 8
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	mov	rdi, rax
	call	putOnUntestedStack
	add	rsp, 32
	add	DWORD PTR -92[rbp], 1
.L38:
	cmp	DWORD PTR -92[rbp], 2
	jle	.L39
.L35:
	mov	eax, DWORD PTR untestedPathSize[rip]
	test	eax, eax
	jg	.L40
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	findPath, .-findPath
	.globl	getLexiSmallestPath
	.type	getLexiSmallestPath, @function
getLexiSmallestPath:
.LFB15:
	.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	DWORD PTR -4[rbp], 0
	jmp	.L43
.L47:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L44
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L45
.L44:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L46
	mov	rax, QWORD PTR -32[rbp]
	jmp	.L45
.L46:
	add	DWORD PTR -4[rbp], 1
.L43:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L47
	mov	rax, QWORD PTR -24[rbp]
.L45:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	getLexiSmallestPath, .-getLexiSmallestPath
	.globl	getPathScore
	.type	getPathScore, @function
getPathScore:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L49
.L50:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L49:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L50
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	getPathScore, .-getPathScore
	.section	.rodata
.LC4:
	.string	"matrices/matrix_0"
.LC5:
	.string	"%d "
.LC6:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 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
	lea	rax, .LC4[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	getMatrixFromFile
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	edi, 240000000
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	lea	rdx, -72[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	findPath
	mov	DWORD PTR -88[rbp], 9999
	mov	DWORD PTR -84[rbp], 0
	jmp	.L53
.L56:
	mov	rcx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rax, QWORD PTR [rcx]
	mov	rdx, QWORD PTR 8[rcx]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR 16[rcx]
	mov	QWORD PTR -16[rbp], rax
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	getPathScore
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jge	.L54
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -88[rbp], eax
	mov	rcx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	QWORD PTR -64[rbp], rax
	jmp	.L55
.L54:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jne	.L55
	mov	rcx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getLexiSmallestPath
	mov	QWORD PTR -64[rbp], rax
.L55:
	add	DWORD PTR -84[rbp], 1
.L53:
	mov	eax, DWORD PTR completePathSize[rip]
	cmp	DWORD PTR -84[rbp], eax
	jl	.L56
	mov	DWORD PTR -80[rbp], 0
	jmp	.L57
.L58:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -80[rbp], 1
.L57:
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -80[rbp], eax
	jl	.L58
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	getPathScore
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 18
__PRETTY_FUNCTION__.0:
	.string	"getMatrixFromFile"
	.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	"168384.c"
	.text
	.global	untestedPathSize
	.bss
	.align	2
	.type	untestedPathSize, %object
	.size	untestedPathSize, 4
untestedPathSize:
	.space	4
	.global	completePathSize
	.align	2
	.type	completePathSize, %object
	.size	completePathSize, 4
completePathSize:
	.space	4
	.text
	.align	2
	.global	getNumbersFromLine
	.syntax unified
	.arm
	.fpu softvfp
	.type	getNumbersFromLine, %function
getNumbersFromLine:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L9:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-25]
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L3
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L4
.L3:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L5
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r4, r2, r3
	ldr	r0, [fp, #-16]
	bl	atoi
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-44]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-24]
.L5:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L8
	b	.L7
.L4:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-25]
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L8:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L9
.L7:
	ldr	r0, [fp, #-16]
	bl	free
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	getNumbersFromLine, .-getNumbersFromLine
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"the_stack_data/168384.c\000"
	.align	2
.LC2:
	.ascii	"file != NULL\000"
	.align	2
.LC3:
	.ascii	"numberOfNumbers == 2\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getMatrixFromFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	getMatrixFromFile, %function
getMatrixFromFile:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L17+4
	ldr	r0, [fp, #-68]
	bl	fopen
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L17+8
	mov	r2, #140
	ldr	r1, .L17+12
	ldr	r0, .L17+16
	bl	__assert_fail
.L11:
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	sub	r1, fp, #56
	sub	r3, fp, #60
	ldr	r2, [fp, #-44]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-40]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-60]
	sub	r3, fp, #52
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-40]
	bl	getNumbersFromLine
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-52]
	cmp	r3, #2
	beq	.L12
	ldr	r3, .L17+8
	mov	r2, #150
	ldr	r1, .L17+12
	ldr	r0, .L17+20
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-36]
	bl	free
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L13
.L14:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L13
	ldr	r3, [fp, #-24]
	lsl	r1, r3, #2
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-60]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #52
	ldr	r1, [fp, #-32]
	bl	getNumbersFromLine
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L13:
	sub	r1, fp, #56
	sub	r3, fp, #60
	ldr	r2, [fp, #-44]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmn	r3, #1
	bne	.L14
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-44]
	bl	fclose
	ldr	r3, [fp, #-64]
	mov	ip, r3
	sub	r3, fp, #28
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	ldr	r0, [fp, #-64]
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC4
	.word	.LC0
	.word	__PRETTY_FUNCTION__.5345
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	getMatrixFromFile, .-getMatrixFromFile
	.align	2
	.global	recordScore
	.syntax unified
	.arm
	.fpu softvfp
	.type	recordScore, %function
recordScore:
	@ 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, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	recordScore, .-recordScore
	.align	2
	.global	putOnUntestedStack
	.syntax unified
	.arm
	.fpu softvfp
	.type	putOnUntestedStack, %function
putOnUntestedStack:
	@ args = 20, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	sp, sp, #16
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, .L21
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	ip, r3
	add	r3, fp, #8
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L21
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	add	sp, sp, #16
	bx	lr
.L22:
	.align	2
.L21:
	.word	untestedPathSize
	.size	putOnUntestedStack, .-putOnUntestedStack
	.align	2
	.global	popUntestedStack
	.syntax unified
	.arm
	.fpu softvfp
	.type	popUntestedStack, %function
popUntestedStack:
	@ 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	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L25
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L25
	str	r3, [r2]
	ldr	r3, .L25
	ldr	r3, [r3]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	sub	ip, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-24]
	mov	ip, r3
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r0, [fp, #-24]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L26:
	.align	2
.L25:
	.word	untestedPathSize
	.size	popUntestedStack, .-popUntestedStack
	.align	2
	.global	isComplete
	.syntax unified
	.arm
	.fpu softvfp
	.type	isComplete, %function
isComplete:
	@ args = 4, 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
	sub	ip, fp, #20
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #4]
	cmp	r2, r3
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isComplete, .-isComplete
	.align	2
	.global	getNewPath
	.syntax unified
	.arm
	.fpu softvfp
	.type	getNewPath, %function
getNewPath:
	@ 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]
	sub	r3, fp, #20
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	mov	ip, r3
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r0, [fp, #-24]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	getNewPath, .-getNewPath
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getNextPath
	.syntax unified
	.arm
	.fpu softvfp
	.type	getNextPath, %function
getNextPath:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	strb	r3, [fp, #-41]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	getNewPath
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L32
.L33:
	ldr	r3, [fp, #-36]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r1, [fp, #-24]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L32:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L33
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #117
	bne	.L34
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L35
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #8]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L35
.L34:
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L35
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	blt	.L35
	mov	r3, #0
	str	r3, [fp, #-12]
.L35:
	ldr	r3, [fp, #-32]
	mov	ip, r3
	sub	r3, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	ldr	r0, [fp, #-32]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC5
	.size	getNextPath, .-getNextPath
	.section	.rodata
	.align	2
.LC6:
	.ascii	"udf"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	findPath
	.syntax unified
	.arm
	.fpu softvfp
	.type	findPath, %function
findPath:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L50+4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L41
.L42:
	sub	r3, fp, #28
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	getNewPath
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-16]
	sub	r0, fp, #56
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	sub	r3, fp, #28
	ldm	r3, {r1, r2, r3}
	bl	putOnUntestedStack
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L41:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L42
	b	.L43
.L48:
	ldr	r2, [fp, #-56]
	sub	r3, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	popUntestedStack
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #4]
	str	r3, [sp]
	sub	r3, fp, #44
	ldm	r3, {r0, r1, r2, r3}
	bl	isComplete
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-68]
	ldr	r2, [r3]
	ldr	r3, .L50+8
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	ip, r3
	sub	r3, fp, #44
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L50+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50+8
	str	r3, [r2]
	b	.L43
.L44:
	sub	r3, fp, #44
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	recordScore
	ldr	r2, .L50+12
	sub	r3, fp, #12
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L46
.L47:
	sub	r2, fp, #12
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-57]
	sub	r0, fp, #28
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	sub	r1, fp, #44
	ldr	r2, [fp, #-64]
	bl	getNextPath
	sub	r0, fp, #56
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	sub	r3, fp, #28
	ldm	r3, {r1, r2, r3}
	bl	putOnUntestedStack
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L46:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	ble	.L47
.L43:
	ldr	r3, .L50+16
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L48
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	free
	nop
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC7
	.word	10000000
	.word	completePathSize
	.word	.LC6
	.word	untestedPathSize
	.size	findPath, .-findPath
	.align	2
	.global	getLexiSmallestPath
	.syntax unified
	.arm
	.fpu softvfp
	.type	getLexiSmallestPath, %function
getLexiSmallestPath:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L53
.L57:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L54
	ldr	r3, [fp, #-16]
	b	.L55
.L54:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L56
	ldr	r3, [fp, #-20]
	b	.L55
.L56:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L53:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L57
	ldr	r3, [fp, #-16]
.L55:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	getLexiSmallestPath, .-getLexiSmallestPath
	.align	2
	.global	getPathScore
	.syntax unified
	.arm
	.fpu softvfp
	.type	getPathScore, %function
getPathScore:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L59
.L60:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L59:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L60
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	getPathScore, .-getPathScore
	.section	.rodata
	.align	2
.LC8:
	.ascii	"matrices/matrix_0\000"
	.align	2
.LC9:
	.ascii	"%d \000"
	.align	2
.LC10:
	.ascii	"%d\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L71
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L71+4
	str	r3, [fp, #-44]
	sub	r3, fp, #36
	ldr	r1, [fp, #-44]
	mov	r0, r3
	bl	getMatrixFromFile
	ldr	r0, .L71+8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-64]
	sub	r2, fp, #64
	sub	r3, fp, #36
	mov	r1, r2
	mov	r0, r3
	bl	findPath
	ldr	r3, .L71+12
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L63
.L66:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	ip, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #24
	mov	r0, r3
	bl	getPathScore
	str	r0, [fp, #-40]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bge	.L64
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-60]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	add	r3, r2, r3
	str	r3, [fp, #-56]
	b	.L65
.L64:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bne	.L65
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	getLexiSmallestPath
	str	r0, [fp, #-56]
.L65:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L63:
	ldr	r3, .L71+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L66
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L67
.L68:
	ldr	r3, [fp, #-56]
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L71+20
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L67:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L68
	mov	r0, #10
	bl	putchar
	ldr	r0, [fp, #-56]
	bl	getPathScore
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L71+24
	bl	printf
	mov	r3, #0
	ldr	r2, .L71
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L70
	bl	__stack_chk_fail
.L70:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC11
	.word	.LC8
	.word	160000000
	.word	9999
	.word	completePathSize
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5345, %object
	.size	__PRETTY_FUNCTION__.5345, 18
__PRETTY_FUNCTION__.5345:
	.ascii	"getMatrixFromFile\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
