	.file	"97014029.c"
	.intel_syntax noprefix
	.text
	.type	matrix2dIsWellFormed, @function
matrix2dIsWellFormed:
.LFB0:
	.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 -16[rbp], 0
	jmp	.L2
.L7:
	mov	QWORD PTR -8[rbp], 0
	jmp	.L3
.L6:
	mov	rsi, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 3
	add	rax, rdx
	add	rax, rsi
	add	rax, 16
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L4
	mov	eax, 0
	jmp	.L5
.L4:
	add	QWORD PTR -8[rbp], 1
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L6
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -16[rbp], rax
	jb	.L7
	mov	eax, 1
.L5:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	matrix2dIsWellFormed, .-matrix2dIsWellFormed
	.section	.rodata
.LC0:
	.string	"the_stack_data/97014029.c"
	.align 8
.LC1:
	.string	"matrix && inputStream && !ferror(inputStream)"
.LC2:
	.string	"%zu;%zu;"
	.align 8
.LC3:
	.string	"rows < (sizeof matrix->data / sizeof *matrix->data)"
	.align 8
.LC4:
	.string	"cols < (sizeof *matrix->data / sizeof **matrix->data)"
.LC5:
	.string	"strlen(lineBuffer) >= 2"
.LC6:
	.string	"matrix2dIsWellFormed(matrix)"
	.text
	.type	matrix2dUnserialize, @function
matrix2dUnserialize:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -88[rbp], 0
	je	.L9
	cmp	QWORD PTR -96[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L30
.L9:
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 38
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L30:
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	lea	rcx, -56[rbp]
	lea	rdx, -64[rbp]
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 2
	jne	.L11
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	je	.L11
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	jne	.L12
.L11:
	mov	eax, 0
	jmp	.L28
.L12:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, 23
	jbe	.L14
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 48
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L14:
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, 23
	jbe	.L15
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 49
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L15:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, rax
	mov	esi, 512
	lea	rdi, lineBuffer.4[rip]
	call	fgets@PLT
	test	rax, rax
	jne	.L16
	mov	eax, 0
	jmp	.L28
.L16:
	lea	rdi, lineBuffer.4[rip]
	call	strlen@PLT
	cmp	rax, 1
	ja	.L17
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 56
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L17:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR 8[rax], rdx
	lea	rax, lineBuffer.4[rip]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	jmp	.L18
.L26:
	mov	QWORD PTR -32[rbp], 0
	jmp	.L19
.L21:
	add	QWORD PTR -48[rbp], 1
.L20:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L21
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	jmp	.L22
.L24:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -65[rbp], al
	cmp	BYTE PTR -65[rbp], 32
	je	.L23
	cmp	BYTE PTR -65[rbp], 10
	je	.L23
	cmp	BYTE PTR -65[rbp], -1
	je	.L23
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movzx	edx, BYTE PTR -65[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -16[rbp], 1
.L22:
	cmp	QWORD PTR -16[rbp], 1
	jbe	.L24
.L23:
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	add	QWORD PTR -32[rbp], 1
.L19:
	mov	rax, QWORD PTR -56[rbp]
	cmp	QWORD PTR -32[rbp], rax
	jb	.L20
	add	QWORD PTR -40[rbp], 1
.L18:
	mov	rax, QWORD PTR -64[rbp]
	cmp	QWORD PTR -40[rbp], rax
	jb	.L26
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	matrix2dIsWellFormed
	test	al, al
	jne	.L27
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 85
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L27:
	mov	eax, 1
.L28:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	matrix2dUnserialize, .-matrix2dUnserialize
	.section	.rodata
.LC7:
	.string	"i && i->rows && i->cols"
	.text
	.type	matrix2dSnakeIteratorAdvance, @function
matrix2dSnakeIteratorAdvance:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	je	.L32
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L32
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L51
.L32:
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 92
	lea	rsi, .LC0[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L51:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 40[rax]
	and	eax, 3
	movzx	eax, al
	cmp	eax, 3
	je	.L34
	cmp	eax, 3
	jg	.L35
	cmp	eax, 1
	je	.L36
	cmp	eax, 2
	je	.L37
.L35:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR 32[rax]
	mov	rax, rdx
	sub	rax, rsi
	cmp	rcx, rax
	jne	.L38
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 40[rax]
	and	eax, 3
	add	eax, 1
	and	eax, 3
	mov	rdx, QWORD PTR -8[rbp]
	and	eax, 3
	mov	ecx, eax
	movzx	eax, BYTE PTR 40[rdx]
	and	eax, -4
	or	eax, ecx
	mov	BYTE PTR 40[rdx], al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 40[rax]
	and	eax, 3
	test	al, al
	jne	.L39
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], rdx
.L39:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	jmp	.L41
.L38:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L41
.L36:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR 32[rax]
	mov	rax, rdx
	sub	rax, rsi
	cmp	rcx, rax
	jne	.L42
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 40[rax]
	and	eax, 3
	add	eax, 1
	and	eax, 3
	mov	rdx, QWORD PTR -8[rbp]
	and	eax, 3
	mov	ecx, eax
	movzx	eax, BYTE PTR 40[rdx]
	and	eax, -4
	or	eax, ecx
	mov	BYTE PTR 40[rdx], al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 40[rax]
	and	eax, 3
	test	al, al
	jne	.L43
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], rdx
.L43:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L41
.L42:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	jmp	.L41
.L37:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	cmp	rdx, rax
	jne	.L45
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 40[rax]
	and	eax, 3
	add	eax, 1
	and	eax, 3
	mov	rdx, QWORD PTR -8[rbp]
	and	eax, 3
	mov	ecx, eax
	movzx	eax, BYTE PTR 40[rdx]
	and	eax, -4
	or	eax, ecx
	mov	BYTE PTR 40[rdx], al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 40[rax]
	and	eax, 3
	test	al, al
	jne	.L46
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], rdx
.L46:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	jmp	.L41
.L45:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L41
.L34:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	cmp	rdx, rax
	jne	.L48
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 40[rax]
	and	eax, 3
	add	eax, 1
	and	eax, 3
	mov	rdx, QWORD PTR -8[rbp]
	and	eax, 3
	mov	ecx, eax
	movzx	eax, BYTE PTR 40[rdx]
	and	eax, -4
	or	eax, ecx
	mov	BYTE PTR 40[rdx], al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 40[rax]
	and	eax, 3
	test	al, al
	jne	.L49
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], rdx
.L49:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L52
.L48:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
.L52:
	nop
.L41:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	matrix2dSnakeIteratorAdvance, .-matrix2dSnakeIteratorAdvance
	.section	.rodata
	.align 8
.LC8:
	.string	"matrix && outputStream && !ferror(outputStream)"
.LC9:
	.string	"matrix->rows && matrix->cols"
	.text
	.type	matrix2dDumpSnakePath, @function
matrix2dDumpSnakePath:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -88[rbp], 0
	je	.L54
	cmp	QWORD PTR -96[rbp], 0
	je	.L54
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L61
.L54:
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 126
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L61:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L56
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L62
.L56:
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 127
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L62:
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 8[rax]
	imul	rax, rdx
	mov	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -80[rbp], 0
	jmp	.L58
.L59:
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	fputs@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	matrix2dSnakeIteratorAdvance
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rax
	mov	edi, 32
	call	fputc@PLT
	add	QWORD PTR -80[rbp], 1
.L58:
	mov	rax, QWORD PTR -80[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	jb	.L59
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	matrix2dDumpSnakePath, .-matrix2dDumpSnakePath
	.section	.rodata
	.align 8
.LC10:
	.string	"argc >= 2 && \"Expecting at least one command-line argument.\""
.LC11:
	.string	"r"
	.align 8
.LC12:
	.string	"inputStream && \"Failed to open input stream.\""
	.text
	.globl	main
	.type	main, @function
main:
.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, 1792
	mov	DWORD PTR -1780[rbp], edi
	mov	QWORD PTR -1792[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -1780[rbp], 1
	jg	.L64
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 152
	lea	rsi, .LC0[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L64:
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 2048
	mov	edx, 0
	lea	rsi, stdoutBuffer.0[rip]
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR -1792[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1768[rbp], rax
	cmp	QWORD PTR -1768[rbp], 0
	jne	.L65
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 161
	lea	rsi, .LC0[rip]
	lea	rdi, .LC12[rip]
	call	__assert_fail@PLT
.L65:
	lea	rdx, -1760[rbp]
	mov	eax, 0
	mov	ecx, 218
	mov	rdi, rdx
	rep stosq
	jmp	.L66
.L67:
	mov	rdx, QWORD PTR stdout[rip]
	lea	rax, -1760[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	matrix2dDumpSnakePath
.L66:
	mov	rdx, QWORD PTR -1768[rbp]
	lea	rax, -1760[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	matrix2dUnserialize
	test	al, al
	jne	.L67
	mov	eax, 0
	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
.LFE4:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	__PRETTY_FUNCTION__.5, @object
	.size	__PRETTY_FUNCTION__.5, 20
__PRETTY_FUNCTION__.5:
	.string	"matrix2dUnserialize"
	.local	lineBuffer.4
	.comm	lineBuffer.4,512,32
	.align 16
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 29
__PRETTY_FUNCTION__.3:
	.string	"matrix2dSnakeIteratorAdvance"
	.align 16
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 22
__PRETTY_FUNCTION__.2:
	.string	"matrix2dDumpSnakePath"
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"main"
	.local	stdoutBuffer.0
	.comm	stdoutBuffer.0,2048,32
	.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	"97014029.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	matrix2dIsWellFormed, %function
matrix2dIsWellFormed:
	@ 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]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L6:
	ldr	r0, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r0, r3
	add	r3, r3, #8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	mov	r3, #0
	b	.L5
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L6
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcc	.L7
	mov	r3, #1
.L5:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	matrix2dIsWellFormed, .-matrix2dIsWellFormed
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/97014029.c\000"
	.align	2
.LC1:
	.ascii	"matrix && inputStream && !ferror(inputStream)\000"
	.align	2
.LC2:
	.ascii	"%zu;%zu;\000"
	.align	2
.LC3:
	.ascii	"rows < (sizeof matrix->data / sizeof *matrix->data)"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"cols < (sizeof *matrix->data / sizeof **matrix->dat"
	.ascii	"a)\000"
	.align	2
.LC5:
	.ascii	"strlen(lineBuffer) >= 2\000"
	.align	2
.LC6:
	.ascii	"matrix2dIsWellFormed(matrix)\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	matrix2dUnserialize, %function
matrix2dUnserialize:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L9
	ldr	r0, [fp, #-52]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
.L9:
	ldr	r3, .L31+4
	mov	r2, #38
	ldr	r1, .L31+8
	ldr	r0, .L31+12
	bl	__assert_fail
.L30:
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	sub	r3, fp, #32
	sub	r2, fp, #36
	ldr	r1, .L31+16
	ldr	r0, [fp, #-52]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #2
	bne	.L11
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L12
.L11:
	mov	r3, #0
	b	.L28
.L12:
	ldr	r3, [fp, #-36]
	cmp	r3, #23
	bls	.L14
	ldr	r3, .L31+4
	mov	r2, #48
	ldr	r1, .L31+8
	ldr	r0, .L31+20
	bl	__assert_fail
.L14:
	ldr	r3, [fp, #-32]
	cmp	r3, #23
	bls	.L15
	ldr	r3, .L31+4
	mov	r2, #49
	ldr	r1, .L31+8
	ldr	r0, .L31+24
	bl	__assert_fail
.L15:
	ldr	r2, [fp, #-52]
	mov	r1, #512
	ldr	r0, .L31+28
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r3, #0
	b	.L28
.L16:
	ldr	r0, .L31+28
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bhi	.L17
	ldr	r3, .L31+4
	mov	r2, #56
	ldr	r1, .L31+8
	ldr	r0, .L31+32
	bl	__assert_fail
.L17:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-48]
	str	r2, [r3]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	str	r2, [r3, #4]
	ldr	r3, .L31+28
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L18
.L26:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L19
.L21:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L20:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L21
	ldr	r3, [fp, #-20]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	ldr	r1, [fp, #-24]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #8
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L22
.L24:
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	ldrb	r3, [r3]
	strb	r3, [fp, #-37]
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L23
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L23
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldrb	r2, [fp, #-37]
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L22:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bls	.L24
.L23:
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L19:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bcc	.L20
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L18:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bcc	.L26
	ldr	r0, [fp, #-48]
	bl	matrix2dIsWellFormed
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L31+4
	mov	r2, #85
	ldr	r1, .L31+8
	ldr	r0, .L31+36
	bl	__assert_fail
.L27:
	mov	r3, #1
.L28:
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC7
	.word	__PRETTY_FUNCTION__.4828
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	lineBuffer.4831
	.word	.LC5
	.word	.LC6
	.size	matrix2dUnserialize, .-matrix2dUnserialize
	.section	.rodata
	.align	2
.LC8:
	.ascii	"i && i->rows && i->cols\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	matrix2dSnakeIteratorAdvance, %function
matrix2dSnakeIteratorAdvance:
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L53
.L34:
	ldr	r3, .L55
	mov	r2, #92
	ldr	r1, .L55+4
	ldr	r0, .L55+8
	bl	__assert_fail
.L53:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #20]
	and	r3, r3, #3
	and	r3, r3, #255
	cmp	r3, #3
	beq	.L36
	cmp	r3, #3
	bgt	.L37
	cmp	r3, #1
	beq	.L38
	cmp	r3, #2
	beq	.L39
.L37:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	sub	r3, r1, r3
	cmp	r2, r3
	bne	.L40
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #20]
	and	r3, r3, #3
	and	r3, r3, #255
	add	r3, r3, #1
	and	r3, r3, #3
	and	r1, r3, #255
	ldr	r2, [fp, #-8]
	ldrb	r3, [r2, #20]
	and	r1, r1, #3
	bic	r3, r3, #3
	orr	r3, r1, r3
	strb	r3, [r2, #20]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #20]
	and	r3, r3, #3
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
.L41:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	b	.L43
.L40:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	b	.L43
.L38:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	sub	r3, r1, r3
	cmp	r2, r3
	bne	.L44
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #20]
	and	r3, r3, #3
	and	r3, r3, #255
	add	r3, r3, #1
	and	r3, r3, #3
	and	r1, r3, #255
	ldr	r2, [fp, #-8]
	ldrb	r3, [r2, #20]
	and	r1, r1, #3
	bic	r3, r3, #3
	orr	r3, r1, r3
	strb	r3, [r2, #20]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #20]
	and	r3, r3, #3
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L45
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
.L45:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	b	.L43
.L44:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	b	.L43
.L39:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	bne	.L47
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #20]
	and	r3, r3, #3
	and	r3, r3, #255
	add	r3, r3, #1
	and	r3, r3, #3
	and	r1, r3, #255
	ldr	r2, [fp, #-8]
	ldrb	r3, [r2, #20]
	and	r1, r1, #3
	bic	r3, r3, #3
	orr	r3, r1, r3
	strb	r3, [r2, #20]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #20]
	and	r3, r3, #3
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L48
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
.L48:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	b	.L43
.L47:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	b	.L43
.L36:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	bne	.L50
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #20]
	and	r3, r3, #3
	and	r3, r3, #255
	add	r3, r3, #1
	and	r3, r3, #3
	and	r1, r3, #255
	ldr	r2, [fp, #-8]
	ldrb	r3, [r2, #20]
	and	r1, r1, #3
	bic	r3, r3, #3
	orr	r3, r1, r3
	strb	r3, [r2, #20]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #20]
	and	r3, r3, #3
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L51
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
.L51:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	b	.L54
.L50:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
.L54:
	nop
.L43:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	__PRETTY_FUNCTION__.4853
	.word	.LC0
	.word	.LC8
	.size	matrix2dSnakeIteratorAdvance, .-matrix2dSnakeIteratorAdvance
	.section	.rodata
	.align	2
.LC9:
	.ascii	"matrix && outputStream && !ferror(outputStream)\000"
	.align	2
.LC10:
	.ascii	"matrix->rows && matrix->cols\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	matrix2dDumpSnakePath, %function
matrix2dDumpSnakePath:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L67
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L58
	ldr	r0, [fp, #-52]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L65
.L58:
	ldr	r3, .L67+4
	mov	r2, #126
	ldr	r1, .L67+8
	ldr	r0, .L67+12
	bl	__assert_fail
.L65:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L66
.L60:
	ldr	r3, .L67+4
	mov	r2, #127
	ldr	r1, .L67+8
	ldr	r0, .L67+16
	bl	__assert_fail
.L66:
	sub	r3, fp, #32
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	ldr	r2, [r2, #4]
	mul	r3, r2, r3
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L62
.L63:
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-24]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #8
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r1, [fp, #-52]
	mov	r0, r3
	bl	fputs
	sub	r3, fp, #32
	mov	r0, r3
	bl	matrix2dSnakeIteratorAdvance
	ldr	r1, [fp, #-52]
	mov	r0, #32
	bl	fputc
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L62:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcc	.L63
	ldr	r1, [fp, #-52]
	mov	r0, #10
	bl	fputc
	nop
	ldr	r3, .L67
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC11
	.word	__PRETTY_FUNCTION__.4868
	.word	.LC0
	.word	.LC9
	.word	.LC10
	.size	matrix2dDumpSnakePath, .-matrix2dDumpSnakePath
	.section	.rodata
	.align	2
.LC12:
	.ascii	"argc >= 2 && \"Expecting at least one command-line "
	.ascii	"argument.\"\000"
	.align	2
.LC13:
	.ascii	"r\000"
	.align	2
.LC14:
	.ascii	"inputStream && \"Failed to open input stream.\"\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1752
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1744
	sub	sp, sp, #8
	str	r0, [fp, #-1752]
	str	r1, [fp, #-1756]
	ldr	r3, .L76
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1752]
	cmp	r3, #1
	bgt	.L70
	ldr	r3, .L76+4
	mov	r2, #152
	ldr	r1, .L76+8
	ldr	r0, .L76+12
	bl	__assert_fail
.L70:
	ldr	r3, .L76+16
	ldr	r0, [r3]
	mov	r3, #2048
	mov	r2, #0
	ldr	r1, .L76+20
	bl	setvbuf
	ldr	r3, [fp, #-1756]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L76+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1748]
	ldr	r3, [fp, #-1748]
	cmp	r3, #0
	bne	.L71
	ldr	r3, .L76+4
	mov	r2, #161
	ldr	r1, .L76+8
	ldr	r0, .L76+28
	bl	__assert_fail
.L71:
	sub	r3, fp, #1728
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L76+32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L72
.L73:
	ldr	r3, .L76+16
	ldr	r2, [r3]
	sub	r3, fp, #1728
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r2
	mov	r0, r3
	bl	matrix2dDumpSnakePath
.L72:
	sub	r3, fp, #1728
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, [fp, #-1748]
	mov	r0, r3
	bl	matrix2dUnserialize
	mov	r3, r0
	cmp	r3, #0
	bne	.L73
	mov	r3, #0
	ldr	r2, .L76
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L75
	bl	__stack_chk_fail
.L75:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	.LC15
	.word	__PRETTY_FUNCTION__.4879
	.word	.LC0
	.word	.LC12
	.word	stdout
	.word	stdoutBuffer.4880
	.word	.LC13
	.word	.LC14
	.word	1736
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4828, %object
	.size	__PRETTY_FUNCTION__.4828, 20
__PRETTY_FUNCTION__.4828:
	.ascii	"matrix2dUnserialize\000"
	.local	lineBuffer.4831
	.comm	lineBuffer.4831,512,4
	.align	2
	.type	__PRETTY_FUNCTION__.4853, %object
	.size	__PRETTY_FUNCTION__.4853, 29
__PRETTY_FUNCTION__.4853:
	.ascii	"matrix2dSnakeIteratorAdvance\000"
	.align	2
	.type	__PRETTY_FUNCTION__.4868, %object
	.size	__PRETTY_FUNCTION__.4868, 22
__PRETTY_FUNCTION__.4868:
	.ascii	"matrix2dDumpSnakePath\000"
	.align	2
	.type	__PRETTY_FUNCTION__.4879, %object
	.size	__PRETTY_FUNCTION__.4879, 5
__PRETTY_FUNCTION__.4879:
	.ascii	"main\000"
	.local	stdoutBuffer.4880
	.comm	stdoutBuffer.4880,2048,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
