	.file	"505705.c"
	.intel_syntax noprefix
	.text
	.globl	kaca
	.bss
	.align 32
	.type	kaca, @object
	.size	kaca, 8008
kaca:
	.zero	8008
	.globl	vsi
	.align 32
	.type	vsi, @object
	.size	vsi, 12012
vsi:
	.zero	12012
	.globl	smeri
	.data
	.align 32
	.type	smeri, @object
	.size	smeri, 32
smeri:
	.long	1
	.long	0
	.long	0
	.long	1
	.long	-1
	.long	0
	.long	0
	.long	-1
	.globl	gledanjeKace
	.align 4
	.type	gledanjeKace, @object
	.size	gledanjeKace, 4
gledanjeKace:
	.long	1
	.globl	pred
	.bss
	.align 4
	.type	pred, @object
	.size	pred, 4
pred:
	.zero	4
	.globl	kacaDebela
	.data
	.align 4
	.type	kacaDebela, @object
	.size	kacaDebela, 4
kacaDebela:
	.long	1
	.globl	zacetek
	.bss
	.align 4
	.type	zacetek, @object
	.size	zacetek, 4
zacetek:
	.zero	4
	.globl	konec
	.align 4
	.type	konec, @object
	.size	konec, 4
konec:
	.zero	4
	.globl	koncaj
	.align 4
	.type	koncaj, @object
	.size	koncaj, 4
koncaj:
	.zero	4
	.text
	.globl	obrni
	.type	obrni, @function
obrni:
.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 -4[rbp], edi
	mov	edx, DWORD PTR gledanjeKace[rip]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	DWORD PTR gledanjeKace[rip], eax
	mov	eax, DWORD PTR gledanjeKace[rip]
	test	eax, eax
	jns	.L2
	mov	DWORD PTR gledanjeKace[rip], 3
.L2:
	mov	eax, DWORD PTR gledanjeKace[rip]
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	DWORD PTR gledanjeKace[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	obrni, .-obrni
	.globl	pohodiPolje
	.type	pohodiPolje, @function
pohodiPolje:
.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, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, vsi[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR zacetek[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, kaca[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L10
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, vsi[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR zacetek[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, kaca[rip+4]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L10
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, vsi[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	je	.L6
	cmp	eax, 3
	je	.L7
	jmp	.L5
.L6:
	mov	edi, 1
	call	obrni
	jmp	.L5
.L7:
	mov	edi, -1
	call	obrni
	jmp	.L5
.L10:
	nop
.L5:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, vsi[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR zacetek[rip]
	sub	eax, 1
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, kaca[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L8
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, vsi[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR zacetek[rip]
	sub	eax, 1
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, kaca[rip+4]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L8
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, vsi[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L8
	mov	eax, DWORD PTR kacaDebela[rip]
	add	eax, 1
	mov	DWORD PTR kacaDebela[rip], eax
.L8:
	add	DWORD PTR -4[rbp], 1
.L4:
	mov	eax, DWORD PTR pred[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pohodiPolje, .-pohodiPolje
	.section	.rodata
.LC0:
	.string	"%d %d\n"
	.text
	.globl	izpisi
	.type	izpisi, @function
izpisi:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, kaca[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, kaca[rip]
	mov	eax, DWORD PTR [rcx+rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L12:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	izpisi, .-izpisi
	.section	.rodata
.LC1:
	.string	"%d"
	.text
	.globl	izirsi_polje
	.type	izirsi_polje, @function
izirsi_polje:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	DWORD PTR -32[rbp], ecx
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L15
.L24:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L16
.L23:
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	jmp	.L17
.L21:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, vsi[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L18
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, vsi[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L18
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, vsi[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L19
.L18:
	cmp	DWORD PTR -16[rbp], 0
	jne	.L20
	cmp	DWORD PTR -12[rbp], 0
	jne	.L20
	mov	edi, 48
	call	putchar@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L19
.L20:
	add	DWORD PTR -4[rbp], 1
.L17:
	mov	eax, DWORD PTR pred[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L21
.L19:
	cmp	DWORD PTR -8[rbp], 0
	je	.L22
	mov	edi, 45
	call	putchar@PLT
.L22:
	add	DWORD PTR -12[rbp], 1
.L16:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L23
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -16[rbp], 1
.L15:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L24
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	izirsi_polje, .-izirsi_polje
	.globl	preveri
	.type	preveri, @function
preveri:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR zacetek[rip]
	mov	edx, DWORD PTR kacaDebela[rip]
	sub	eax, edx
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L26
.L28:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, kaca[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR zacetek[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, kaca[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L27
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, kaca[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR zacetek[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, kaca[rip+4]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L27
	mov	DWORD PTR koncaj[rip], 1
	mov	DWORD PTR kacaDebela[rip], 0
.L27:
	add	DWORD PTR -4[rbp], 1
.L26:
	mov	eax, DWORD PTR zacetek[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L28
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	preveri, .-preveri
	.globl	premik
	.type	premik, @function
premik:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR zacetek[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, kaca[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR gledanjeKace[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, smeri[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR zacetek[rip]
	add	eax, 1
	add	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, kaca[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR zacetek[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, kaca[rip+4]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR gledanjeKace[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, smeri[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR zacetek[rip]
	add	eax, 1
	add	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, kaca[rip+4]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR zacetek[rip]
	add	eax, 1
	mov	DWORD PTR zacetek[rip], eax
	mov	eax, 0
	call	pohodiPolje
	mov	eax, 0
	call	preveri
	mov	eax, DWORD PTR zacetek[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, kaca[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdq
	xor	eax, edx
	sub	eax, edx
	cmp	eax, 1000000
	jg	.L30
	mov	eax, DWORD PTR zacetek[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, kaca[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	cdq
	xor	eax, edx
	sub	eax, edx
	cmp	eax, 1000000
	jle	.L32
.L30:
	mov	DWORD PTR koncaj[rip], 1
.L32:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	premik, .-premik
	.section	.rodata
.LC2:
	.string	"%d %d %d"
.LC3:
	.string	"%d %d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, pred[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L34
.L35:
	lea	rcx, -16[rbp]
	lea	rdx, -20[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, vsi[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, vsi[rip+4]
	mov	DWORD PTR [rcx+rax], edx
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, vsi[rip+8]
	mov	DWORD PTR [rcx+rax], edx
	add	DWORD PTR -12[rbp], 1
.L34:
	mov	eax, DWORD PTR pred[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L35
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR kaca[rip], 0
	mov	DWORD PTR kaca[rip+4], 0
	jmp	.L36
.L39:
	mov	eax, 0
	call	premik
	mov	eax, DWORD PTR koncaj[rip]
	test	eax, eax
	jne	.L42
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
.L36:
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jg	.L39
	jmp	.L38
.L42:
	nop
.L38:
	mov	eax, DWORD PTR zacetek[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, kaca[rip+4]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR zacetek[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, kaca[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR kacaDebela[rip]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"505705.c"
	.text
	.comm	kaca,8008,4
	.comm	vsi,12012,4
	.global	smeri
	.data
	.align	2
	.type	smeri, %object
	.size	smeri, 32
smeri:
	.word	1
	.word	0
	.word	0
	.word	1
	.word	-1
	.word	0
	.word	0
	.word	-1
	.global	gledanjeKace
	.align	2
	.type	gledanjeKace, %object
	.size	gledanjeKace, 4
gledanjeKace:
	.word	1
	.comm	pred,4,4
	.global	kacaDebela
	.align	2
	.type	kacaDebela, %object
	.size	kacaDebela, 4
kacaDebela:
	.word	1
	.global	zacetek
	.bss
	.align	2
	.type	zacetek, %object
	.size	zacetek, 4
zacetek:
	.space	4
	.global	konec
	.align	2
	.type	konec, %object
	.size	konec, 4
konec:
	.space	4
	.global	koncaj
	.align	2
	.type	koncaj, %object
	.size	koncaj, 4
koncaj:
	.space	4
	.text
	.align	2
	.global	obrni
	.syntax unified
	.arm
	.fpu softvfp
	.type	obrni, %function
obrni:
	@ 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, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, .L3
	str	r3, [r2]
	ldr	r3, .L3
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L2
	ldr	r3, .L3
	mov	r2, #3
	str	r2, [r3]
.L2:
	ldr	r3, .L3
	ldr	r3, [r3]
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	ldr	r2, .L3
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L4:
	.align	2
.L3:
	.word	gledanjeKace
	.size	obrni, .-obrni
	.align	2
	.global	pohodiPolje
	.syntax unified
	.arm
	.fpu softvfp
	.type	pohodiPolje, %function
pohodiPolje:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L11:
	ldr	r1, .L13
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, .L13+4
	ldr	r3, [r3]
	ldr	r1, .L13+8
	ldr	r3, [r1, r3, lsl #3]
	cmp	r2, r3
	bne	.L12
	ldr	r1, .L13
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, .L13+4
	ldr	r3, [r3]
	ldr	r1, .L13+8
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L12
	ldr	r1, .L13
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L8
	cmp	r3, #3
	beq	.L9
	b	.L7
.L8:
	mov	r0, #1
	bl	obrni
	b	.L7
.L9:
	mvn	r0, #0
	bl	obrni
	b	.L7
.L12:
	nop
.L7:
	ldr	r1, .L13
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, .L13+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, .L13+8
	ldr	r3, [r1, r3, lsl #3]
	cmp	r2, r3
	bne	.L10
	ldr	r1, .L13
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, .L13+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, .L13+8
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L10
	ldr	r1, .L13
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L10
	ldr	r3, .L13+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L13+12
	str	r3, [r2]
.L10:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, .L13+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L11
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	vsi
	.word	zacetek
	.word	kaca
	.word	kacaDebela
	.word	pred
	.size	pohodiPolje, .-pohodiPolje
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d %d\012\000"
	.text
	.align	2
	.global	izpisi
	.syntax unified
	.arm
	.fpu softvfp
	.type	izpisi, %function
izpisi:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L16
.L17:
	ldr	r2, .L18
	ldr	r3, [fp, #-8]
	ldr	r1, [r2, r3, lsl #3]
	ldr	r2, .L18
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L18+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L17
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	kaca
	.word	.LC0
	.size	izpisi, .-izpisi
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d\000"
	.text
	.align	2
	.global	izirsi_polje
	.syntax unified
	.arm
	.fpu softvfp
	.type	izirsi_polje, %function
izirsi_polje:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
	b	.L21
.L30:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	b	.L22
.L29:
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L23
.L27:
	ldr	r1, .L31
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L24
	ldr	r1, .L31
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L24
	ldr	r1, .L31
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L31+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L25
.L24:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L26
	mov	r0, #48
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L25
.L26:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L23:
	ldr	r3, .L31+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L27
.L25:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L28
	mov	r0, #45
	bl	putchar
.L28:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L22:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L29
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L21:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L30
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	vsi
	.word	.LC1
	.word	pred
	.size	izirsi_polje, .-izirsi_polje
	.align	2
	.global	preveri
	.syntax unified
	.arm
	.fpu softvfp
	.type	preveri, %function
preveri:
	@ 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
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, .L37+4
	ldr	r3, [r3]
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L34
.L36:
	ldr	r2, .L37+8
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #3]
	ldr	r3, .L37
	ldr	r3, [r3]
	ldr	r1, .L37+8
	ldr	r3, [r1, r3, lsl #3]
	cmp	r2, r3
	bne	.L35
	ldr	r2, .L37+8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L37
	ldr	r3, [r3]
	ldr	r1, .L37+8
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L35
	ldr	r3, .L37+12
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L37+4
	mov	r2, #0
	str	r2, [r3]
.L35:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L34:
	ldr	r3, .L37
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L36
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L38:
	.align	2
.L37:
	.word	zacetek
	.word	kacaDebela
	.word	kaca
	.word	koncaj
	.size	preveri, .-preveri
	.align	2
	.global	premik
	.syntax unified
	.arm
	.fpu softvfp
	.type	premik, %function
premik:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L43
	ldr	r3, [r3]
	ldr	r2, .L43+4
	ldr	r1, [r2, r3, lsl #3]
	ldr	r3, .L43+8
	ldr	r3, [r3]
	ldr	r2, .L43+12
	ldr	r2, [r2, r3, lsl #3]
	ldr	r3, .L43
	ldr	r3, [r3]
	add	r3, r3, #1
	add	r2, r1, r2
	ldr	r1, .L43+4
	str	r2, [r1, r3, lsl #3]
	ldr	r3, .L43
	ldr	r3, [r3]
	ldr	r2, .L43+4
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r3, .L43+8
	ldr	r3, [r3]
	ldr	r2, .L43+12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L43
	ldr	r3, [r3]
	add	r3, r3, #1
	add	r2, r1, r2
	ldr	r1, .L43+4
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L43
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43
	str	r3, [r2]
	bl	pohodiPolje
	bl	preveri
	ldr	r3, .L43
	ldr	r3, [r3]
	ldr	r2, .L43+4
	ldr	r3, [r2, r3, lsl #3]
	cmp	r3, #0
	rsblt	r3, r3, #0
	ldr	r2, .L43+16
	cmp	r3, r2
	bgt	.L40
	ldr	r3, .L43
	ldr	r3, [r3]
	ldr	r2, .L43+4
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	rsblt	r3, r3, #0
	ldr	r2, .L43+16
	cmp	r3, r2
	ble	.L42
.L40:
	ldr	r3, .L43+20
	mov	r2, #1
	str	r2, [r3]
.L42:
	nop
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	zacetek
	.word	kaca
	.word	gledanjeKace
	.word	smeri
	.word	1000000
	.word	koncaj
	.size	premik, .-premik
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%d %d %d\000"
	.align	2
.LC3:
	.ascii	"%d %d %d\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L55+4
	ldr	r0, .L55+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L46
.L47:
	sub	r3, fp, #16
	sub	r2, fp, #20
	sub	r1, fp, #24
	ldr	r0, .L55+12
	bl	__isoc99_scanf
	ldr	r1, [fp, #-24]
	ldr	r0, .L55+16
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r1, [fp, #-20]
	ldr	r0, .L55+16
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r1, [fp, #-16]
	ldr	r0, .L55+16
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	str	r1, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L46:
	ldr	r3, .L55+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L47
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L55+8
	bl	__isoc99_scanf
	ldr	r3, .L55+20
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L55+20
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L48
.L51:
	bl	premik
	ldr	r3, .L55+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L48:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L51
	b	.L50
.L54:
	nop
.L50:
	ldr	r3, .L55+28
	ldr	r1, [r3]
	ldr	r3, .L55+32
	ldr	r3, [r3]
	ldr	r2, .L55+20
	ldr	r2, [r2, r3, lsl #3]
	ldr	r3, .L55+32
	ldr	r3, [r3]
	ldr	r0, .L55+20
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldr	r3, [r3, #4]
	ldr	r0, .L55+36
	bl	printf
	mov	r3, #0
	ldr	r2, .L55
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC4
	.word	pred
	.word	.LC1
	.word	.LC2
	.word	vsi
	.word	kaca
	.word	koncaj
	.word	kacaDebela
	.word	zacetek
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
