	.file	"636505.c"
	.intel_syntax noprefix
	.text
	.globl	walkArray
	.bss
	.align 32
	.type	walkArray, @object
	.size	walkArray, 100
walkArray:
	.zero	100
	.globl	charToPlace
	.data
	.type	charToPlace, @object
	.size	charToPlace, 1
charToPlace:
	.byte	66
	.globl	firstArrayIndex
	.bss
	.align 4
	.type	firstArrayIndex, @object
	.size	firstArrayIndex, 4
firstArrayIndex:
	.zero	4
	.globl	secondArrayIndex
	.align 4
	.type	secondArrayIndex, @object
	.size	secondArrayIndex, 4
secondArrayIndex:
	.zero	4
	.text
	.globl	isWithinRange
	.type	isWithinRange, @function
isWithinRange:
.LFB6:
	.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 -20[rbp], edi
	mov	eax, DWORD PTR firstArrayIndex[rip]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR secondArrayIndex[rip]
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -20[rbp], 3
	je	.L2
	cmp	DWORD PTR -20[rbp], 3
	jg	.L13
	cmp	DWORD PTR -20[rbp], 2
	je	.L4
	cmp	DWORD PTR -20[rbp], 2
	jg	.L13
	cmp	DWORD PTR -20[rbp], 0
	je	.L5
	cmp	DWORD PTR -20[rbp], 1
	je	.L6
	jmp	.L13
.L5:
	sub	DWORD PTR -16[rbp], 1
	jmp	.L7
.L6:
	add	DWORD PTR -12[rbp], 1
	jmp	.L7
.L4:
	add	DWORD PTR -16[rbp], 1
	jmp	.L7
.L2:
	sub	DWORD PTR -12[rbp], 1
	jmp	.L7
.L13:
	nop
.L7:
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -16[rbp], 0
	js	.L8
	cmp	DWORD PTR -16[rbp], 9
	jg	.L8
	mov	DWORD PTR -8[rbp], 1
.L8:
	cmp	DWORD PTR -12[rbp], 0
	js	.L9
	cmp	DWORD PTR -12[rbp], 9
	jg	.L9
	mov	DWORD PTR -4[rbp], 1
.L9:
	cmp	DWORD PTR -8[rbp], 0
	je	.L10
	cmp	DWORD PTR -4[rbp], 0
	je	.L10
	mov	eax, 1
	jmp	.L12
.L10:
	mov	eax, 0
.L12:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	isWithinRange, .-isWithinRange
	.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	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR firstArrayIndex[rip]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR secondArrayIndex[rip]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -20[rbp], 3
	je	.L15
	cmp	DWORD PTR -20[rbp], 3
	jg	.L23
	cmp	DWORD PTR -20[rbp], 2
	je	.L17
	cmp	DWORD PTR -20[rbp], 2
	jg	.L23
	cmp	DWORD PTR -20[rbp], 0
	je	.L18
	cmp	DWORD PTR -20[rbp], 1
	je	.L19
	jmp	.L23
.L18:
	sub	DWORD PTR -8[rbp], 1
	jmp	.L20
.L19:
	add	DWORD PTR -4[rbp], 1
	jmp	.L20
.L17:
	add	DWORD PTR -8[rbp], 1
	jmp	.L20
.L15:
	sub	DWORD PTR -4[rbp], 1
	jmp	.L20
.L23:
	nop
.L20:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, walkArray[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L21
	mov	eax, 0
	jmp	.L22
.L21:
	mov	eax, 1
.L22:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	isFull, .-isFull
	.globl	canGoTowardsDirection
	.type	canGoTowardsDirection, @function
canGoTowardsDirection:
.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, 8
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	isWithinRange
	test	eax, eax
	je	.L25
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	isFull
	test	eax, eax
	jne	.L25
	mov	eax, 1
	jmp	.L27
.L25:
	mov	eax, 0
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	canGoTowardsDirection, .-canGoTowardsDirection
	.globl	isBlockedCompletely
	.type	isBlockedCompletely, @function
isBlockedCompletely:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 0
	call	canGoTowardsDirection
	test	eax, eax
	jne	.L29
	mov	edi, 1
	call	canGoTowardsDirection
	test	eax, eax
	jne	.L29
	mov	edi, 2
	call	canGoTowardsDirection
	test	eax, eax
	jne	.L29
	mov	edi, 3
	call	canGoTowardsDirection
	test	eax, eax
	jne	.L29
	mov	eax, 1
	jmp	.L31
.L29:
	mov	eax, 0
.L31:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	isBlockedCompletely, .-isBlockedCompletely
	.globl	changeIndex
	.type	changeIndex, @function
changeIndex:
.LFB10:
	.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
	cmp	DWORD PTR -4[rbp], 3
	je	.L33
	cmp	DWORD PTR -4[rbp], 3
	jg	.L39
	cmp	DWORD PTR -4[rbp], 2
	je	.L35
	cmp	DWORD PTR -4[rbp], 2
	jg	.L39
	cmp	DWORD PTR -4[rbp], 0
	je	.L36
	cmp	DWORD PTR -4[rbp], 1
	je	.L37
	jmp	.L39
.L36:
	mov	eax, DWORD PTR firstArrayIndex[rip]
	sub	eax, 1
	mov	DWORD PTR firstArrayIndex[rip], eax
	jmp	.L38
.L37:
	mov	eax, DWORD PTR secondArrayIndex[rip]
	add	eax, 1
	mov	DWORD PTR secondArrayIndex[rip], eax
	jmp	.L38
.L35:
	mov	eax, DWORD PTR firstArrayIndex[rip]
	add	eax, 1
	mov	DWORD PTR firstArrayIndex[rip], eax
	jmp	.L38
.L33:
	mov	eax, DWORD PTR secondArrayIndex[rip]
	sub	eax, 1
	mov	DWORD PTR secondArrayIndex[rip], eax
	jmp	.L38
.L39:
	nop
.L38:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	changeIndex, .-changeIndex
	.section	.rodata
.LC0:
	.string	"%c "
	.text
	.globl	printResult
	.type	printResult, @function
printResult:
.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, 16
	mov	DWORD PTR -8[rbp], 0
	jmp	.L41
.L44:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L42
.L43:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, walkArray[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -9[rbp], al
	movsx	eax, BYTE PTR -9[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L42:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L43
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L41:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L44
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	printResult, .-printResult
	.globl	initializeArray
	.type	initializeArray, @function
initializeArray:
.LFB12:
	.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 -8[rbp], 0
	jmp	.L46
.L49:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L47
.L48:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, walkArray[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 46
	add	DWORD PTR -4[rbp], 1
.L47:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L48
	add	DWORD PTR -8[rbp], 1
.L46:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L49
	mov	BYTE PTR walkArray[rip], 65
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	initializeArray, .-initializeArray
	.globl	move
	.type	move, @function
move:
.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, 16
	call	rand@PLT
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	canGoTowardsDirection
	test	eax, eax
	je	.L51
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	changeIndex
	mov	eax, DWORD PTR firstArrayIndex[rip]
	mov	ecx, DWORD PTR secondArrayIndex[rip]
	movzx	edx, BYTE PTR charToPlace[rip]
	movsx	rsi, ecx
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	lea	rcx, [rax+rsi]
	lea	rax, walkArray[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR charToPlace[rip]
	add	eax, 1
	mov	BYTE PTR charToPlace[rip], al
.L51:
	mov	eax, 0
	call	isBlockedCompletely
	test	eax, eax
	jne	.L53
	movzx	eax, BYTE PTR charToPlace[rip]
	cmp	al, 90
	jg	.L53
	mov	eax, 0
	call	move
.L53:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	move, .-move
	.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
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	eax, 0
	call	initializeArray
	mov	eax, 0
	call	move
	mov	eax, 0
	call	printResult
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.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	"636505.c"
	.text
	.comm	walkArray,100,4
	.global	charToPlace
	.data
	.type	charToPlace, %object
	.size	charToPlace, 1
charToPlace:
	.byte	66
	.global	firstArrayIndex
	.bss
	.align	2
	.type	firstArrayIndex, %object
	.size	firstArrayIndex, 4
firstArrayIndex:
	.space	4
	.global	secondArrayIndex
	.align	2
	.type	secondArrayIndex, %object
	.size	secondArrayIndex, 4
secondArrayIndex:
	.space	4
	.text
	.align	2
	.global	isWithinRange
	.syntax unified
	.arm
	.fpu softvfp
	.type	isWithinRange, %function
isWithinRange:
	@ 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]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L14
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L7:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L8
.L6:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L8
.L5:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L8
.L3:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L8
.L14:
	nop
.L8:
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L9
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	bgt	.L9
	mov	r3, #1
	str	r3, [fp, #-12]
.L9:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L10
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	bgt	.L10
	mov	r3, #1
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L11
	mov	r3, #1
	b	.L13
.L11:
	mov	r3, #0
.L13:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	firstArrayIndex
	.word	secondArrayIndex
	.size	isWithinRange, .-isWithinRange
	.align	2
	.global	isFull
	.syntax unified
	.arm
	.fpu softvfp
	.type	isFull, %function
isFull:
	@ 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]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L28+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L27
.L20:
	.word	.L23
	.word	.L22
	.word	.L21
	.word	.L19
.L23:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L24
.L22:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L24
.L21:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L24
.L19:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L24
.L27:
	nop
.L24:
	ldr	r1, .L28+8
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L25
	mov	r3, #0
	b	.L26
.L25:
	mov	r3, #1
.L26:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L29:
	.align	2
.L28:
	.word	firstArrayIndex
	.word	secondArrayIndex
	.word	walkArray
	.size	isFull, .-isFull
	.align	2
	.global	canGoTowardsDirection
	.syntax unified
	.arm
	.fpu softvfp
	.type	canGoTowardsDirection, %function
canGoTowardsDirection:
	@ 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	r0, [fp, #-8]
	bl	isWithinRange
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r0, [fp, #-8]
	bl	isFull
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	mov	r3, #1
	b	.L33
.L31:
	mov	r3, #0
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	canGoTowardsDirection, .-canGoTowardsDirection
	.align	2
	.global	isBlockedCompletely
	.syntax unified
	.arm
	.fpu softvfp
	.type	isBlockedCompletely, %function
isBlockedCompletely:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #0
	bl	canGoTowardsDirection
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	mov	r0, #1
	bl	canGoTowardsDirection
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	mov	r0, #2
	bl	canGoTowardsDirection
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	mov	r0, #3
	bl	canGoTowardsDirection
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	mov	r3, #1
	b	.L37
.L35:
	mov	r3, #0
.L37:
	mov	r0, r3
	pop	{fp, pc}
	.size	isBlockedCompletely, .-isBlockedCompletely
	.align	2
	.global	changeIndex
	.syntax unified
	.arm
	.fpu softvfp
	.type	changeIndex, %function
changeIndex:
	@ 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]
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L46
.L41:
	.word	.L44
	.word	.L43
	.word	.L42
	.word	.L40
.L44:
	ldr	r3, .L47
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L47
	str	r3, [r2]
	b	.L45
.L43:
	ldr	r3, .L47+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L47+4
	str	r3, [r2]
	b	.L45
.L42:
	ldr	r3, .L47
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L47
	str	r3, [r2]
	b	.L45
.L40:
	ldr	r3, .L47+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L47+4
	str	r3, [r2]
	b	.L45
.L46:
	nop
.L45:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L48:
	.align	2
.L47:
	.word	firstArrayIndex
	.word	secondArrayIndex
	.size	changeIndex, .-changeIndex
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c \000"
	.text
	.align	2
	.global	printResult
	.syntax unified
	.arm
	.fpu softvfp
	.type	printResult, %function
printResult:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L50
.L53:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L51
.L52:
	ldr	r1, .L54
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L54+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L51:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L52
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L50:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L53
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	walkArray
	.word	.LC0
	.size	printResult, .-printResult
	.align	2
	.global	initializeArray
	.syntax unified
	.arm
	.fpu softvfp
	.type	initializeArray, %function
initializeArray:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L57
.L60:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L58
.L59:
	ldr	r1, .L61
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #46
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L58:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L59
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L57:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L60
	ldr	r3, .L61
	mov	r2, #65
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L62:
	.align	2
.L61:
	.word	walkArray
	.size	initializeArray, .-initializeArray
	.align	2
	.global	move
	.syntax unified
	.arm
	.fpu softvfp
	.type	move, %function
move:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	canGoTowardsDirection
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	ldr	r0, [fp, #-8]
	bl	changeIndex
	ldr	r3, .L67
	ldr	r2, [r3]
	ldr	r3, .L67+4
	ldr	r1, [r3]
	ldr	r3, .L67+8
	ldrb	ip, [r3]	@ zero_extendqisi2
	ldr	r0, .L67+12
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	mov	r2, ip
	strb	r2, [r3]
	ldr	r3, .L67+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L67+8
	strb	r2, [r3]
.L64:
	bl	isBlockedCompletely
	mov	r3, r0
	cmp	r3, #0
	bne	.L66
	ldr	r3, .L67+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L66
	bl	move
.L66:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	firstArrayIndex
	.word	secondArrayIndex
	.word	charToPlace
	.word	walkArray
	.size	move, .-move
	.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
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	initializeArray
	bl	move
	bl	printResult
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
