	.file	"1192897.c"
	.intel_syntax noprefix
	.text
	.globl	maze
	.data
	.align 32
	.type	maze, @object
	.size	maze, 36
maze:
	.ascii	"111111"
	.ascii	"e01011"
	.ascii	"100011"
	.ascii	"101011"
	.ascii	"10100x"
	.ascii	"111111"
	.text
	.globl	initialize
	.type	initialize, @function
initialize:
.LFB6:
	.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	DWORD PTR 24[rax], -1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	initialize, .-initialize
	.globl	isFull
	.type	isFull, @function
isFull:
.LFB7:
	.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	eax, DWORD PTR 24[rax]
	cmp	eax, 5
	sete	al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	isFull, .-isFull
	.globl	isEmpty
	.type	isEmpty, @function
isEmpty:
.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	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, -1
	sete	al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	isEmpty, .-isEmpty
	.globl	push
	.type	push, @function
push:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	isFull
	test	al, al
	je	.L7
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	push, .-push
	.globl	pop
	.type	pop, @function
pop:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	isEmpty
	test	al, al
	je	.L9
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	lea	ecx, -1[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR 24[rdx], ecx
	mov	rdx, QWORD PTR -8[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	pop, .-pop
	.globl	pushPosition
	.type	pushPosition, @function
pushPosition:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	cmp	DWORD PTR -28[rbp], 0
	js	.L15
	cmp	DWORD PTR -32[rbp], 0
	js	.L15
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, maze[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 49
	je	.L11
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, maze[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L11
	mov	eax, DWORD PTR -28[rbp]
	mov	WORD PTR -4[rbp], ax
	mov	eax, DWORD PTR -32[rbp]
	mov	WORD PTR -2[rbp], ax
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	push
	jmp	.L11
.L15:
	nop
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	pushPosition, .-pushPosition
	.section	.rodata
.LC0:
	.string	"\354\213\244\355\214\250"
.LC1:
	.string	"\354\204\261\352\263\265"
	.text
	.globl	searchMaze
	.type	searchMaze, @function
searchMaze:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	initialize
	mov	WORD PTR -52[rbp], 1
	mov	WORD PTR -50[rbp], 0
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -56[rbp], eax
	jmp	.L17
.L20:
	movzx	eax, WORD PTR -56[rbp]
	cwde
	mov	DWORD PTR -64[rbp], eax
	movzx	eax, WORD PTR -54[rbp]
	cwde
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 46
	mov	eax, DWORD PTR -64[rbp]
	lea	ecx, -1[rax]
	mov	edx, DWORD PTR -60[rbp]
	lea	rax, -48[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	pushPosition
	mov	eax, DWORD PTR -64[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -60[rbp]
	lea	rax, -48[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	pushPosition
	mov	eax, DWORD PTR -60[rbp]
	lea	edx, -1[rax]
	mov	ecx, DWORD PTR -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	pushPosition
	mov	eax, DWORD PTR -60[rbp]
	lea	edx, 1[rax]
	mov	ecx, DWORD PTR -64[rbp]
	lea	rax, -48[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	pushPosition
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	isEmpty
	test	al, al
	je	.L18
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L16
.L18:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pop
	mov	DWORD PTR -56[rbp], eax
.L17:
	movzx	eax, WORD PTR -56[rbp]
	movsx	rdx, ax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	movzx	eax, WORD PTR -54[rbp]
	cwde
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 120
	jne	.L20
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L16:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	searchMaze, .-searchMaze
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, maze[rip]
	call	searchMaze
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"1192897.c"
	.text
	.global	maze
	.data
	.align	2
	.type	maze, %object
	.size	maze, 36
maze:
	.ascii	"111111"
	.ascii	"e01011"
	.ascii	"100011"
	.ascii	"101011"
	.ascii	"10100x"
	.ascii	"111111"
	.text
	.align	2
	.global	initialize
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialize, %function
initialize:
	@ 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]
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	str	r2, [r3, #24]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	initialize, .-initialize
	.align	2
	.global	isFull
	.syntax unified
	.arm
	.fpu softvfp
	.type	isFull, %function
isFull:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	cmp	r3, #5
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isFull, .-isFull
	.align	2
	.global	isEmpty
	.syntax unified
	.arm
	.fpu softvfp
	.type	isEmpty, %function
isEmpty:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isEmpty, .-isEmpty
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	isFull
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	str	r1, [r3, r2, lsl #2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	push, .-push
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ 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	r0, [fp, #-16]
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	mov	r0, #1
	bl	exit
.L9:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #24]
	sub	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #24]
	ldr	r2, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	mov	r3, #0
	ldrh	r2, [fp, #-8]
	lsl	r2, r2, #16
	lsr	r3, r3, #16
	orr	r3, r3, r2
	ror	r3, r3, #16
	ldrh	r2, [fp, #-6]
	lsl	r2, r2, #16
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	orr	r3, r3, r2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pop, .-pop
	.align	2
	.global	pushPosition
	.syntax unified
	.arm
	.fpu softvfp
	.type	pushPosition, %function
pushPosition:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L15
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L15
	ldr	r1, .L16
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	beq	.L11
	ldr	r1, .L16
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L11
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-8]	@ movhi
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-6]	@ movhi
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	push
	b	.L11
.L15:
	nop
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	maze
	.size	pushPosition, .-pushPosition
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\354\213\244\355\214\250\000"
	.align	2
.LC1:
	.ascii	"\354\204\261\352\263\265\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	searchMaze
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchMaze, %function
searchMaze:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #36
	mov	r0, r3
	bl	initialize
	mov	r3, #1
	strh	r3, [fp, #-48]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-46]	@ movhi
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-52]
	b	.L19
.L22:
	ldrsh	r3, [fp, #-52]
	str	r3, [fp, #-44]
	ldrsh	r3, [fp, #-50]
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r2, r3, r2
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #46
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	sub	r1, r3, #1
	sub	r3, fp, #36
	ldr	r2, [fp, #-40]
	mov	r0, r3
	bl	pushPosition
	ldr	r3, [fp, #-44]
	add	r1, r3, #1
	sub	r3, fp, #36
	ldr	r2, [fp, #-40]
	mov	r0, r3
	bl	pushPosition
	ldr	r3, [fp, #-40]
	sub	r2, r3, #1
	sub	r3, fp, #36
	ldr	r1, [fp, #-44]
	mov	r0, r3
	bl	pushPosition
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	sub	r3, fp, #36
	ldr	r1, [fp, #-44]
	mov	r0, r3
	bl	pushPosition
	sub	r3, fp, #36
	mov	r0, r3
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L24+4
	bl	puts
	b	.L18
.L20:
	sub	r3, fp, #36
	mov	r0, r3
	bl	pop
	mov	r3, r0
	str	r3, [fp, #-52]
.L19:
	ldrsh	r3, [fp, #-52]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldrsh	r2, [fp, #-50]
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	cmp	r3, #120
	bne	.L22
	ldr	r0, .L24+8
	bl	puts
.L18:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	searchMaze, .-searchMaze
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L28
	bl	searchMaze
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	maze
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
