	.file	"87556.c"
	.intel_syntax noprefix
	.text
	.type	count_space, @function
count_space:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L4:
	add	QWORD PTR -8[rbp], 1
.L2:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L4
.L3:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	count_space, .-count_space
	.section	.rodata
.LC0:
	.string	"the_stack_data/87556.c"
.LC1:
	.string	"x >= 0 && x < WIDTH_RANGE"
.LC2:
	.string	"y >= 0 && y < HEIGHT_RANGE"
.LC3:
	.string	"z >= 0 && z < DEPTH_RANGE"
.LC4:
	.string	"w >= 0 && w < DEPTH_RANGE"
	.text
	.type	write_pos, @function
write_pos:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	DWORD PTR -24[rbp], r8d
	mov	DWORD PTR -28[rbp], r9d
	mov	BYTE PTR -12[rbp], al
	cmp	DWORD PTR -16[rbp], 0
	js	.L7
	cmp	DWORD PTR -16[rbp], 21
	jle	.L15
.L7:
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 36
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L15:
	cmp	DWORD PTR -20[rbp], 0
	js	.L9
	cmp	DWORD PTR -20[rbp], 21
	jle	.L16
.L9:
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 37
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L16:
	cmp	DWORD PTR -24[rbp], 0
	js	.L11
	cmp	DWORD PTR -24[rbp], 14
	jle	.L17
.L11:
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 38
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L17:
	cmp	DWORD PTR -28[rbp], 0
	js	.L13
	cmp	DWORD PTR -28[rbp], 14
	jle	.L18
.L13:
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 39
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L18:
	mov	eax, DWORD PTR -28[rbp]
	imul	edx, eax, 7260
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, eax, 484
	add	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 22
	add	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -12[rbp]
	mov	BYTE PTR [rdx], al
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	write_pos, .-write_pos
	.type	read_pos, @function
read_pos:
.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	DWORD PTR -24[rbp], r8d
	cmp	DWORD PTR -12[rbp], 0
	js	.L20
	cmp	DWORD PTR -12[rbp], 21
	jle	.L29
.L20:
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 46
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L29:
	cmp	DWORD PTR -16[rbp], 0
	js	.L22
	cmp	DWORD PTR -16[rbp], 21
	jle	.L30
.L22:
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 47
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L30:
	cmp	DWORD PTR -20[rbp], 0
	js	.L24
	cmp	DWORD PTR -20[rbp], 14
	jle	.L31
.L24:
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 48
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L31:
	cmp	DWORD PTR -24[rbp], 0
	js	.L26
	cmp	DWORD PTR -24[rbp], 14
	jle	.L32
.L26:
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 49
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L32:
	mov	eax, DWORD PTR -24[rbp]
	imul	edx, eax, 7260
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 484
	add	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, eax, 22
	add	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_pos, .-read_pos
	.type	count_neighbors, @function
count_neighbors:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -40[rbp], r8d
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L34
.L49:
	cmp	DWORD PTR -8[rbp], 0
	js	.L51
	cmp	DWORD PTR -8[rbp], 14
	jg	.L51
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L38
.L48:
	cmp	DWORD PTR -12[rbp], 0
	js	.L52
	cmp	DWORD PTR -12[rbp], 21
	jg	.L52
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L42
.L47:
	cmp	DWORD PTR -16[rbp], 0
	js	.L53
	cmp	DWORD PTR -16[rbp], 21
	jg	.L53
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jne	.L46
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jne	.L46
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	je	.L54
.L46:
	mov	edi, DWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	read_pos
	cmp	al, 35
	jne	.L45
	add	DWORD PTR -4[rbp], 1
	jmp	.L45
.L53:
	nop
	jmp	.L45
.L54:
	nop
.L45:
	add	DWORD PTR -16[rbp], 1
.L42:
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	cmp	DWORD PTR -16[rbp], eax
	jle	.L47
	jmp	.L41
.L52:
	nop
.L41:
	add	DWORD PTR -12[rbp], 1
.L38:
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jle	.L48
	jmp	.L37
.L51:
	nop
.L37:
	add	DWORD PTR -8[rbp], 1
.L34:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jle	.L49
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	count_neighbors, .-count_neighbors
	.type	count_neighbors_space, @function
count_neighbors_space:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	DWORD PTR -52[rbp], ecx
	mov	DWORD PTR -56[rbp], r8d
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L56
.L76:
	cmp	DWORD PTR -8[rbp], 0
	js	.L78
	cmp	DWORD PTR -8[rbp], 14
	jg	.L78
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L60
.L75:
	cmp	DWORD PTR -12[rbp], 0
	js	.L79
	cmp	DWORD PTR -12[rbp], 14
	jg	.L79
	mov	eax, DWORD PTR -48[rbp]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L64
.L74:
	cmp	DWORD PTR -16[rbp], 0
	js	.L80
	cmp	DWORD PTR -16[rbp], 21
	jg	.L80
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L68
.L73:
	cmp	DWORD PTR -20[rbp], 0
	js	.L81
	cmp	DWORD PTR -20[rbp], 21
	jg	.L81
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jne	.L72
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jne	.L72
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jne	.L72
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	je	.L82
.L72:
	mov	edi, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	read_pos
	cmp	al, 35
	jne	.L71
	add	DWORD PTR -4[rbp], 1
	jmp	.L71
.L81:
	nop
	jmp	.L71
.L82:
	nop
.L71:
	add	DWORD PTR -20[rbp], 1
.L68:
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jle	.L73
	jmp	.L67
.L80:
	nop
.L67:
	add	DWORD PTR -16[rbp], 1
.L64:
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 1
	cmp	DWORD PTR -16[rbp], eax
	jle	.L74
	jmp	.L63
.L79:
	nop
.L63:
	add	DWORD PTR -12[rbp], 1
.L60:
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jle	.L75
	jmp	.L59
.L78:
	nop
.L59:
	add	DWORD PTR -8[rbp], 1
.L56:
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jle	.L76
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	count_neighbors_space, .-count_neighbors_space
	.type	should_active, @function
should_active:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -40[rbp], r8d
	mov	QWORD PTR -48[rbp], r9
	mov	edi, DWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r9, QWORD PTR -48[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	r9
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 3
	je	.L84
	cmp	DWORD PTR -4[rbp], 2
	jne	.L85
	mov	edi, DWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	read_pos
	cmp	al, 35
	jne	.L85
.L84:
	mov	eax, 1
	jmp	.L87
.L85:
	mov	eax, 0
.L87:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	should_active, .-should_active
	.type	run, @function
run:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L89
.L96:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L90
.L95:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L91
.L94:
	mov	r8, QWORD PTR -40[rbp]
	mov	edi, DWORD PTR -44[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r9, r8
	mov	r8d, edi
	mov	rdi, rax
	call	should_active
	test	eax, eax
	je	.L92
	mov	edi, DWORD PTR -44[rbp]
	mov	esi, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, 35
	mov	rdi, rax
	call	write_pos
	jmp	.L93
.L92:
	mov	edi, DWORD PTR -44[rbp]
	mov	esi, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, 46
	mov	rdi, rax
	call	write_pos
.L93:
	add	DWORD PTR -12[rbp], 1
.L91:
	cmp	DWORD PTR -12[rbp], 21
	jle	.L94
	add	DWORD PTR -8[rbp], 1
.L90:
	cmp	DWORD PTR -8[rbp], 21
	jle	.L95
	add	DWORD PTR -4[rbp], 1
.L89:
	cmp	DWORD PTR -4[rbp], 14
	jle	.L96
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	run, .-run
	.type	run_space, @function
run_space:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L98
.L99:
	mov	edx, DWORD PTR -4[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, edx
	lea	rdx, count_neighbors_space[rip]
	mov	rdi, rax
	call	run
	add	DWORD PTR -4[rbp], 1
.L98:
	cmp	DWORD PTR -4[rbp], 14
	jle	.L99
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	run_space, .-run_space
	.section	.rodata
.LC5:
	.string	"r"
.LC6:
	.string	"failure opening input file"
.LC7:
	.string	"cols == read"
.LC8:
	.string	"cols == rows"
.LC9:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -229376[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3104
	mov	DWORD PTR -232468[rbp], edi
	mov	QWORD PTR -232480[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -232400[rbp], rax
	mov	QWORD PTR -232416[rbp], 0
	mov	QWORD PTR -232408[rbp], 0
	mov	DWORD PTR -232452[rbp], 0
	mov	DWORD PTR -232448[rbp], -1
	mov	DWORD PTR -232428[rbp], 0
	mov	DWORD PTR -232424[rbp], 0
	cmp	DWORD PTR -232468[rbp], 1
	jle	.L101
	mov	rax, QWORD PTR -232480[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -232400[rbp], rax
.L101:
	cmp	QWORD PTR -232400[rbp], 0
	jne	.L102
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L124
.L102:
	lea	rax, -232352[rbp]
	mov	QWORD PTR -232392[rbp], rax
	lea	rax, -225088[rbp]
	mov	QWORD PTR -232384[rbp], rax
	mov	DWORD PTR -232432[rbp], 0
	jmp	.L104
.L105:
	mov	eax, DWORD PTR -232432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -232392[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 46
	add	DWORD PTR -232432[rbp], 1
.L104:
	cmp	DWORD PTR -232432[rbp], 7259
	jle	.L105
	lea	rax, -217824[rbp]
	mov	QWORD PTR -232376[rbp], rax
	lea	rax, -108912[rbp]
	mov	QWORD PTR -232368[rbp], rax
	mov	DWORD PTR -232432[rbp], 0
	jmp	.L106
.L107:
	mov	eax, DWORD PTR -232432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -232376[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 46
	add	DWORD PTR -232432[rbp], 1
.L106:
	cmp	DWORD PTR -232432[rbp], 108899
	jle	.L107
	jmp	.L108
.L113:
	mov	rax, QWORD PTR -232416[rbp]
	mov	rdi, rax
	call	count_space
	mov	DWORD PTR -232420[rbp], eax
	cmp	DWORD PTR -232448[rbp], 0
	jns	.L109
	mov	eax, DWORD PTR -232420[rbp]
	mov	DWORD PTR -232448[rbp], eax
	mov	eax, DWORD PTR -232448[rbp]
	add	eax, 1
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	neg	eax
	add	eax, 11
	mov	DWORD PTR -232440[rbp], eax
	mov	eax, DWORD PTR -232448[rbp]
	add	eax, 1
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	neg	eax
	add	eax, 11
	mov	DWORD PTR -232444[rbp], eax
	mov	DWORD PTR -232436[rbp], 8
.L109:
	mov	eax, DWORD PTR -232448[rbp]
	cmp	eax, DWORD PTR -232420[rbp]
	je	.L110
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 181
	lea	rsi, .LC0[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L110:
	mov	DWORD PTR -232432[rbp], 0
	jmp	.L111
.L112:
	mov	edx, DWORD PTR -232444[rbp]
	mov	eax, DWORD PTR -232452[rbp]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR -232440[rbp]
	mov	eax, DWORD PTR -232432[rbp]
	add	edx, eax
	mov	rsi, QWORD PTR -232416[rbp]
	mov	eax, DWORD PTR -232432[rbp]
	cdqe
	add	rax, rsi
	movzx	eax, BYTE PTR [rax]
	movsx	esi, al
	mov	edi, DWORD PTR -232436[rbp]
	mov	rax, QWORD PTR -232392[rbp]
	mov	r9d, 0
	mov	r8d, edi
	mov	rdi, rax
	call	write_pos
	mov	edx, DWORD PTR -232444[rbp]
	mov	eax, DWORD PTR -232452[rbp]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR -232440[rbp]
	mov	eax, DWORD PTR -232432[rbp]
	add	edx, eax
	mov	rsi, QWORD PTR -232416[rbp]
	mov	eax, DWORD PTR -232432[rbp]
	cdqe
	add	rax, rsi
	movzx	eax, BYTE PTR [rax]
	movsx	esi, al
	mov	r8d, DWORD PTR -232436[rbp]
	mov	edi, DWORD PTR -232436[rbp]
	mov	rax, QWORD PTR -232376[rbp]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	write_pos
	add	DWORD PTR -232432[rbp], 1
.L111:
	mov	eax, DWORD PTR -232432[rbp]
	cmp	eax, DWORD PTR -232448[rbp]
	jl	.L112
	add	DWORD PTR -232452[rbp], 1
.L108:
	mov	rdx, QWORD PTR -232400[rbp]
	lea	rcx, -232408[rbp]
	lea	rax, -232416[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	test	rax, rax
	jg	.L113
	mov	eax, DWORD PTR -232448[rbp]
	cmp	eax, DWORD PTR -232452[rbp]
	je	.L114
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 193
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L114:
	mov	rax, QWORD PTR -232416[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR stdin[rip]
	cmp	QWORD PTR -232400[rbp], rax
	je	.L115
	mov	rax, QWORD PTR -232400[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L115:
	mov	DWORD PTR -232432[rbp], 0
	jmp	.L116
.L117:
	mov	rsi, QWORD PTR -232384[rbp]
	mov	rax, QWORD PTR -232392[rbp]
	mov	ecx, 0
	lea	rdx, count_neighbors[rip]
	mov	rdi, rax
	call	run
	mov	rax, QWORD PTR -232392[rbp]
	mov	QWORD PTR -232360[rbp], rax
	mov	rax, QWORD PTR -232384[rbp]
	mov	QWORD PTR -232392[rbp], rax
	mov	rax, QWORD PTR -232360[rbp]
	mov	QWORD PTR -232384[rbp], rax
	mov	rdx, QWORD PTR -232368[rbp]
	mov	rax, QWORD PTR -232376[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	run_space
	mov	rax, QWORD PTR -232376[rbp]
	mov	QWORD PTR -232360[rbp], rax
	mov	rax, QWORD PTR -232368[rbp]
	mov	QWORD PTR -232376[rbp], rax
	mov	rax, QWORD PTR -232360[rbp]
	mov	QWORD PTR -232368[rbp], rax
	add	DWORD PTR -232432[rbp], 1
.L116:
	cmp	DWORD PTR -232432[rbp], 5
	jle	.L117
	mov	DWORD PTR -232432[rbp], 0
	jmp	.L118
.L120:
	mov	eax, DWORD PTR -232432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -232392[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	jne	.L119
	add	DWORD PTR -232428[rbp], 1
.L119:
	add	DWORD PTR -232432[rbp], 1
.L118:
	cmp	DWORD PTR -232432[rbp], 7259
	jle	.L120
	mov	DWORD PTR -232432[rbp], 0
	jmp	.L121
.L123:
	mov	eax, DWORD PTR -232432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -232376[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	jne	.L122
	add	DWORD PTR -232424[rbp], 1
.L122:
	add	DWORD PTR -232432[rbp], 1
.L121:
	cmp	DWORD PTR -232432[rbp], 108899
	jle	.L123
	mov	eax, DWORD PTR -232428[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -232424[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L124:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L125
	call	__stack_chk_fail@PLT
.L125:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 10
__PRETTY_FUNCTION__.2:
	.string	"write_pos"
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 9
__PRETTY_FUNCTION__.1:
	.string	"read_pos"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"87556.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	count_space, %function
count_space:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L2
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
.L3:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	count_space, .-count_space
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/87556.c\000"
	.align	2
.LC1:
	.ascii	"x >= 0 && x < WIDTH_RANGE\000"
	.align	2
.LC2:
	.ascii	"y >= 0 && y < HEIGHT_RANGE\000"
	.align	2
.LC3:
	.ascii	"z >= 0 && z < DEPTH_RANGE\000"
	.align	2
.LC4:
	.ascii	"w >= 0 && w < DEPTH_RANGE\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_pos, %function
write_pos:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r3, r1
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L7
	ldr	r3, [fp, #-16]
	cmp	r3, #21
	ble	.L15
.L7:
	ldr	r3, .L19
	mov	r2, #36
	ldr	r1, .L19+4
	ldr	r0, .L19+8
	bl	__assert_fail
.L15:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L9
	ldr	r3, [fp, #-20]
	cmp	r3, #21
	ble	.L16
.L9:
	ldr	r3, .L19
	mov	r2, #37
	ldr	r1, .L19+4
	ldr	r0, .L19+12
	bl	__assert_fail
.L16:
	ldr	r3, [fp, #4]
	cmp	r3, #0
	blt	.L11
	ldr	r3, [fp, #4]
	cmp	r3, #14
	ble	.L17
.L11:
	ldr	r3, .L19
	mov	r2, #38
	ldr	r1, .L19+4
	ldr	r0, .L19+16
	bl	__assert_fail
.L17:
	ldr	r3, [fp, #8]
	cmp	r3, #0
	blt	.L13
	ldr	r3, [fp, #8]
	cmp	r3, #14
	ble	.L18
.L13:
	ldr	r3, .L19
	mov	r2, #39
	ldr	r1, .L19+4
	ldr	r0, .L19+20
	bl	__assert_fail
.L18:
	ldr	r2, [fp, #8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r2, [fp, #4]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r1, r1, r3
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldrb	r2, [fp, #-9]
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	__PRETTY_FUNCTION__.5262
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	write_pos, .-write_pos
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_pos, %function
read_pos:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L22
	ldr	r3, [fp, #-12]
	cmp	r3, #21
	ble	.L31
.L22:
	ldr	r3, .L35
	mov	r2, #46
	ldr	r1, .L35+4
	ldr	r0, .L35+8
	bl	__assert_fail
.L31:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L24
	ldr	r3, [fp, #-16]
	cmp	r3, #21
	ble	.L32
.L24:
	ldr	r3, .L35
	mov	r2, #47
	ldr	r1, .L35+4
	ldr	r0, .L35+12
	bl	__assert_fail
.L32:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L26
	ldr	r3, [fp, #-20]
	cmp	r3, #14
	ble	.L33
.L26:
	ldr	r3, .L35
	mov	r2, #48
	ldr	r1, .L35+4
	ldr	r0, .L35+16
	bl	__assert_fail
.L33:
	ldr	r3, [fp, #4]
	cmp	r3, #0
	blt	.L28
	ldr	r3, [fp, #4]
	cmp	r3, #14
	ble	.L34
.L28:
	ldr	r3, .L35
	mov	r2, #49
	ldr	r1, .L35+4
	ldr	r0, .L35+20
	bl	__assert_fail
.L34:
	ldr	r2, [fp, #4]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r1, r1, r3
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	__PRETTY_FUNCTION__.5270
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	read_pos, .-read_pos
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	count_neighbors, %function
count_neighbors:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L38
.L53:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L55
	ldr	r3, [fp, #-12]
	cmp	r3, #14
	bgt	.L55
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L42
.L52:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L56
	ldr	r3, [fp, #-16]
	cmp	r3, #21
	bgt	.L56
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L46
.L51:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L57
	ldr	r3, [fp, #-20]
	cmp	r3, #21
	bgt	.L57
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L50
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L50
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	beq	.L58
.L50:
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	read_pos
	mov	r3, r0
	cmp	r3, #35
	bne	.L49
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L49
.L57:
	nop
	b	.L49
.L58:
	nop
.L49:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L46:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L51
	b	.L45
.L56:
	nop
.L45:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L42:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L52
	b	.L41
.L55:
	nop
.L41:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L38:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L53
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	count_neighbors, .-count_neighbors
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	count_neighbors_space, %function
count_neighbors_space:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L60
.L80:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L82
	ldr	r3, [fp, #-12]
	cmp	r3, #14
	bgt	.L82
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L64
.L79:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L83
	ldr	r3, [fp, #-16]
	cmp	r3, #14
	bgt	.L83
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L68
.L78:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L84
	ldr	r3, [fp, #-20]
	cmp	r3, #21
	bgt	.L84
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L72
.L77:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L85
	ldr	r3, [fp, #-24]
	cmp	r3, #21
	bgt	.L85
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bne	.L76
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bne	.L76
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bne	.L76
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	beq	.L86
.L76:
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	read_pos
	mov	r3, r0
	cmp	r3, #35
	bne	.L75
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L75
.L85:
	nop
	b	.L75
.L86:
	nop
.L75:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L72:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L77
	b	.L71
.L84:
	nop
.L71:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L68:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L78
	b	.L67
.L83:
	nop
.L67:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L64:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L79
	b	.L63
.L82:
	nop
.L63:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L60:
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L80
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	count_neighbors_space, .-count_neighbors_space
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	should_active, %function
should_active:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r4, [fp, #8]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	blx	r4
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	beq	.L88
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L89
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	read_pos
	mov	r3, r0
	cmp	r3, #35
	bne	.L89
.L88:
	mov	r3, #1
	b	.L91
.L89:
	mov	r3, #0
.L91:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	should_active, .-should_active
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	run, %function
run:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L93
.L100:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L94
.L99:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L95
.L98:
	ldr	r3, [fp, #-32]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	should_active
	mov	r3, r0
	cmp	r3, #0
	beq	.L96
	ldr	r3, [fp, #-36]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	mov	r1, #35
	ldr	r0, [fp, #-28]
	bl	write_pos
	b	.L97
.L96:
	ldr	r3, [fp, #-36]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	mov	r1, #46
	ldr	r0, [fp, #-28]
	bl	write_pos
.L97:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L95:
	ldr	r3, [fp, #-16]
	cmp	r3, #21
	ble	.L98
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L94:
	ldr	r3, [fp, #-12]
	cmp	r3, #21
	ble	.L99
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L93:
	ldr	r3, [fp, #-8]
	cmp	r3, #14
	ble	.L100
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	run, .-run
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_space, %function
run_space:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L102
.L103:
	ldr	r3, [fp, #-8]
	ldr	r2, .L104
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	run
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L102:
	ldr	r3, [fp, #-8]
	cmp	r3, #14
	ble	.L103
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L105:
	.align	2
.L104:
	.word	count_neighbors_space
	.size	run_space, .-run_space
	.section	.rodata
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"failure opening input file\000"
	.align	2
.LC7:
	.ascii	"cols == read\000"
	.align	2
.LC8:
	.ascii	"cols == rows\000"
	.align	2
.LC9:
	.ascii	"%d\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 232400
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #231424
	sub	sp, sp, #988
	sub	r3, fp, #229376
	sub	r3, r3, #12
	str	r0, [r3, #-3020]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	str	r1, [r3, #-3024]
	ldr	r3, .L132
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L132+4
	ldr	r3, [r3]
	str	r3, [r2, #-3008]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3016]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3012]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2988]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-2984]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2964]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2960]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-3020]
	cmp	r3, #1
	ble	.L107
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-3024]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L132+8
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-3008]
.L107:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-3008]
	cmp	r3, #0
	bne	.L108
	ldr	r0, .L132+12
	bl	perror
	mvn	r3, #0
	b	.L130
.L108:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #231424
	sub	r3, r3, #12
	sub	r3, r3, #900
	str	r3, [r2, #-3004]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #224256
	sub	r3, r3, #12
	sub	r3, r3, #808
	str	r3, [r2, #-3000]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2968]
	b	.L110
.L111:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-3004]
	add	r3, r2, r3
	mov	r2, #46
	strb	r2, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	add	r3, r3, #1
	str	r3, [r2, #-2968]
.L110:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	ldr	r2, .L132+16
	cmp	r3, r2
	ble	.L111
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #217088
	sub	r3, r3, #12
	sub	r3, r3, #716
	str	r3, [r2, #-2996]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #108544
	sub	r3, r3, #12
	sub	r3, r3, #360
	str	r3, [r2, #-2992]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2968]
	b	.L112
.L113:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-2996]
	add	r3, r2, r3
	mov	r2, #46
	strb	r2, [r3]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	add	r3, r3, #1
	str	r3, [r2, #-2968]
.L112:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	ldr	r2, .L132+20
	cmp	r3, r2
	blt	.L113
	b	.L114
.L119:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-3016]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	count_space
	str	r0, [r4, #-2952]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2984]
	cmp	r3, #0
	bge	.L115
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2952]
	str	r3, [r2, #-2984]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2984]
	add	r3, r3, #1
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	rsb	r3, r3, #0
	sub	r2, fp, #229376
	sub	r2, r2, #12
	add	r3, r3, #11
	str	r3, [r2, #-2976]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2984]
	add	r3, r3, #1
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	rsb	r3, r3, #0
	sub	r2, fp, #229376
	sub	r2, r2, #12
	add	r3, r3, #11
	str	r3, [r2, #-2980]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #8
	str	r3, [r2, #-2972]
.L115:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r2, #-2984]
	ldr	r3, [r3, #-2952]
	cmp	r2, r3
	beq	.L116
	ldr	r3, .L132+24
	mov	r2, #181
	ldr	r1, .L132+28
	ldr	r0, .L132+32
	bl	__assert_fail
.L116:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2968]
	b	.L117
.L118:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-3016]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r2, #-2976]
	ldr	r3, [r3, #-2968]
	add	r0, r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r2, #-2980]
	ldr	r3, [r3, #-2988]
	add	r2, r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	ip, r3
	mov	r3, #0
	str	r3, [sp, #4]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2972]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r0
	ldr	r0, [ip, #-3004]
	bl	write_pos
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r3, #-3016]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r2, #-2976]
	ldr	r3, [r3, #-2968]
	add	r0, r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r2, #-2980]
	ldr	r3, [r3, #-2988]
	add	r2, r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2972]
	str	r3, [sp, #4]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2972]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r0
	ldr	r0, [ip, #-2996]
	bl	write_pos
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	add	r3, r3, #1
	str	r3, [r2, #-2968]
.L117:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r2, #-2968]
	ldr	r3, [r3, #-2984]
	cmp	r2, r3
	blt	.L118
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2988]
	add	r3, r3, #1
	str	r3, [r2, #-2988]
.L114:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r1, fp, #231424
	sub	r1, r1, #12
	sub	r1, r1, #964
	sub	r3, fp, #231424
	sub	r3, r3, #12
	sub	r3, r3, #968
	ldr	r2, [r2, #-3008]
	mov	r0, r3
	bl	getline
	mov	r3, r0
	cmp	r3, #0
	bgt	.L119
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r2, [r2, #-2984]
	ldr	r3, [r3, #-2988]
	cmp	r2, r3
	beq	.L120
	ldr	r3, .L132+24
	mov	r2, #193
	ldr	r1, .L132+28
	ldr	r0, .L132+36
	bl	__assert_fail
.L120:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-3016]
	mov	r0, r3
	bl	free
	ldr	r3, .L132+4
	ldr	r3, [r3]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-3008]
	cmp	r2, r3
	beq	.L121
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r0, [r3, #-3008]
	bl	fclose
.L121:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2968]
	b	.L122
.L123:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	ldr	r2, .L132+40
	ldr	r1, [r1, #-3000]
	ldr	r0, [r0, #-3004]
	bl	run
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-3004]
	str	r3, [r2, #-2956]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-3000]
	str	r3, [r2, #-3004]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2956]
	str	r3, [r2, #-3000]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r1, [r2, #-2992]
	ldr	r0, [r3, #-2996]
	bl	run_space
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2996]
	str	r3, [r2, #-2956]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2992]
	str	r3, [r2, #-2996]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2956]
	str	r3, [r2, #-2992]
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	add	r3, r3, #1
	str	r3, [r2, #-2968]
.L122:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	cmp	r3, #5
	ble	.L123
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2968]
	b	.L124
.L126:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-3004]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L125
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2964]
	add	r3, r3, #1
	str	r3, [r2, #-2964]
.L125:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	add	r3, r3, #1
	str	r3, [r2, #-2968]
.L124:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	ldr	r2, .L132+16
	cmp	r3, r2
	ble	.L126
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2968]
	b	.L127
.L129:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	sub	r2, fp, #229376
	sub	r2, r2, #12
	ldr	r2, [r2, #-2996]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L128
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2960]
	add	r3, r3, #1
	str	r3, [r2, #-2960]
.L128:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	add	r3, r3, #1
	str	r3, [r2, #-2968]
.L127:
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r3, [r3, #-2968]
	ldr	r2, .L132+20
	cmp	r3, r2
	blt	.L129
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r1, [r3, #-2964]
	ldr	r0, .L132+44
	bl	printf
	sub	r3, fp, #229376
	sub	r3, r3, #12
	ldr	r1, [r3, #-2960]
	ldr	r0, .L132+44
	bl	printf
	mov	r3, #0
.L130:
	ldr	r2, .L132
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L131
	bl	__stack_chk_fail
.L131:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L133:
	.align	2
.L132:
	.word	.LC10
	.word	stdin
	.word	.LC5
	.word	.LC6
	.word	7259
	.word	108900
	.word	__PRETTY_FUNCTION__.5388
	.word	.LC0
	.word	.LC7
	.word	.LC8
	.word	count_neighbors
	.word	.LC9
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5262, %object
	.size	__PRETTY_FUNCTION__.5262, 10
__PRETTY_FUNCTION__.5262:
	.ascii	"write_pos\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5270, %object
	.size	__PRETTY_FUNCTION__.5270, 9
__PRETTY_FUNCTION__.5270:
	.ascii	"read_pos\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5388, %object
	.size	__PRETTY_FUNCTION__.5388, 5
__PRETTY_FUNCTION__.5388:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
