	.file	"130525.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Fajl %s nije uspesno otvoren. \n"
	.text
	.globl	safe_open
	.type	safe_open, @function
safe_open:
.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	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	safe_open, .-safe_open
	.globl	inicijalizacija
	.type	inicijalizacija, @function
inicijalizacija:
.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	QWORD PTR [rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	inicijalizacija, .-inicijalizacija
	.section	.rodata
	.align 8
.LC1:
	.string	"Neuspesno zauzimanje memorije. "
	.text
	.globl	napravi_cvor
	.type	napravi_cvor, @function
napravi_cvor:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	movss	DWORD PTR -36[rbp], xmm0
	mov	edi, 56
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 11[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR -36[rbp]
	movss	DWORD PTR 32[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 40[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 48[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	napravi_cvor, .-napravi_cvor
	.globl	dodaj_cvor
	.type	dodaj_cvor, @function
dodaj_cvor:
.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	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L9
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L17
.L9:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movss	xmm0, DWORD PTR 32[rax]
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR 32[rax]
	comiss	xmm0, xmm1
	jbe	.L16
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	dodaj_cvor
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movss	xmm1, DWORD PTR 32[rax]
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR 32[rax]
	comiss	xmm0, xmm1
	jnb	.L15
	jmp	.L17
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 48[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	dodaj_cvor
.L17:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	dodaj_cvor, .-dodaj_cvor
	.globl	obrisi_stablo
	.type	obrisi_stablo, @function
obrisi_stablo:
.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	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L20
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 40
	mov	rdi, rax
	call	obrisi_stablo
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 48
	mov	rdi, rax
	call	obrisi_stablo
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
.L20:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	obrisi_stablo, .-obrisi_stablo
	.section	.rodata
.LC2:
	.string	"%s %s %f"
	.text
	.globl	upis_u_stablo
	.type	upis_u_stablo, @function
upis_u_stablo:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L22
.L23:
	mov	ecx, DWORD PTR -60[rbp]
	lea	rdx, -32[rbp]
	lea	rax, -43[rbp]
	movd	xmm0, ecx
	mov	rsi, rdx
	mov	rdi, rax
	call	napravi_cvor
	mov	QWORD PTR -56[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	dodaj_cvor
.L22:
	lea	rsi, -60[rbp]
	lea	rcx, -32[rbp]
	lea	rdx, -43[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	r8, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L23
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	upis_u_stablo, .-upis_u_stablo
	.section	.rodata
.LC3:
	.string	"%3.1f %-10s %s\n"
	.text
	.globl	ispis_iz_stabla
	.type	ispis_iz_stabla, @function
ispis_iz_stabla:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -16[rbp], 0
	je	.L27
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ispis_iz_stabla
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 11[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR 32[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rsi, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rsi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ispis_iz_stabla
.L27:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	ispis_iz_stabla, .-ispis_iz_stabla
	.section	.rodata
	.align 8
.LC4:
	.string	"\nNajgore ocenjen restoran u gradu je:\n"
.LC5:
	.string	"%f %s %s\n"
	.text
	.globl	pronadji_najgori
	.type	pronadji_najgori, @function
pronadji_najgori:
.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
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 11[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR 32[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rsi, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rsi
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	jmp	.L31
.L29:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pronadji_najgori
.L31:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	pronadji_najgori, .-pronadji_najgori
	.section	.rodata
	.align 8
.LC6:
	.string	"Niste dobro uneli argumente (Izlazna i ulazna datoteka). "
.LC7:
	.string	"r"
.LC8:
	.string	"w"
	.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
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -36[rbp], 3
	je	.L33
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L33:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	safe_open
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	safe_open
	mov	QWORD PTR -16[rbp], rax
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	inicijalizacija
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	upis_u_stablo
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ispis_iz_stabla
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pronadji_najgori
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	obrisi_stablo
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.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	"130525.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Fajl %s nije uspesno otvoren. \012\000"
	.text
	.align	2
	.global	safe_open
	.syntax unified
	.arm
	.fpu softvfp
	.type	safe_open, %function
safe_open:
	@ 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]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r1, [fp, #-16]
	ldr	r0, .L4
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	safe_open, .-safe_open
	.align	2
	.global	inicijalizacija
	.syntax unified
	.arm
	.fpu softvfp
	.type	inicijalizacija, %function
inicijalizacija:
	@ 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]
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	inicijalizacija, .-inicijalizacija
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Neuspesno zauzimanje memorije. \000"
	.text
	.align	2
	.global	napravi_cvor
	.syntax unified
	.arm
	.fpu softvfp
	.type	napravi_cvor, %function
napravi_cvor:
	@ 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]	@ float
	mov	r0, #44
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L10
	bl	puts
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #11
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]	@ float
	str	r2, [r3, #32]	@ float
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #40]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC1
	.size	napravi_cvor, .-napravi_cvor
	.global	__aeabi_fcmpgt
	.global	__aeabi_fcmple
	.align	2
	.global	dodaj_cvor
	.syntax unified
	.arm
	.fpu softvfp
	.type	dodaj_cvor, %function
dodaj_cvor:
	@ 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	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	b	.L21
.L13:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r3, #32]	@ float
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #32]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #36
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	dodaj_cvor
	b	.L21
.L20:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r3, #32]	@ float
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #32]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	b	.L21
.L19:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #40
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	dodaj_cvor
.L21:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	dodaj_cvor, .-dodaj_cvor
	.align	2
	.global	obrisi_stablo
	.syntax unified
	.arm
	.fpu softvfp
	.type	obrisi_stablo, %function
obrisi_stablo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #36
	mov	r0, r3
	bl	obrisi_stablo
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #40
	mov	r0, r3
	bl	obrisi_stablo
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
.L24:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	obrisi_stablo, .-obrisi_stablo
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%s %s %f\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	upis_u_stablo
	.syntax unified
	.arm
	.fpu softvfp
	.type	upis_u_stablo, %function
upis_u_stablo:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L26
.L27:
	ldr	r2, [fp, #-52]	@ float
	sub	r1, fp, #32
	sub	r3, fp, #44
	mov	r0, r3
	bl	napravi_cvor
	str	r0, [fp, #-48]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-60]
	bl	dodaj_cvor
.L26:
	sub	r1, fp, #32
	sub	r2, fp, #44
	sub	r3, fp, #52
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L29+4
	ldr	r0, [fp, #-56]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L27
	nop
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC3
	.word	.LC2
	.size	upis_u_stablo, .-upis_u_stablo
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%3.1f %-10s %s\012\000"
	.text
	.align	2
	.global	ispis_iz_stabla
	.syntax unified
	.arm
	.fpu softvfp
	.type	ispis_iz_stabla, %function
ispis_iz_stabla:
	@ args = 0, pretend = 0, frame = 8
	@ 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]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #40]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	ispis_iz_stabla
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #32]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-12]
	add	r0, r0, #11
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r1, .L34
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #36]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	ispis_iz_stabla
.L33:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC4
	.size	ispis_iz_stabla, .-ispis_iz_stabla
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012Najgore ocenjen restoran u gradu je:\012\000"
	.align	2
.LC6:
	.ascii	"%f %s %s\012\000"
	.text
	.align	2
	.global	pronadji_najgori
	.syntax unified
	.arm
	.fpu softvfp
	.type	pronadji_najgori, %function
pronadji_najgori:
	@ args = 0, pretend = 0, frame = 8
	@ 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]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #36]
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-8]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L40
	bl	fwrite
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #32]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-12]
	add	r0, r0, #11
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r1, .L40+4
	ldr	r0, [fp, #-8]
	bl	fprintf
	b	.L39
.L37:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #36]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	pronadji_najgori
.L39:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC5
	.word	.LC6
	.size	pronadji_najgori, .-pronadji_najgori
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Niste dobro uneli argumente (Izlazna i ulazna datot"
	.ascii	"eka). \000"
	.align	2
.LC8:
	.ascii	"r\000"
	.align	2
.LC9:
	.ascii	"w\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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	beq	.L43
	ldr	r0, .L46+4
	bl	puts
	mov	r0, #1
	bl	exit
.L43:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L46+8
	mov	r0, r3
	bl	safe_open
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L46+12
	mov	r0, r3
	bl	safe_open
	str	r0, [fp, #-12]
	sub	r3, fp, #20
	mov	r0, r3
	bl	inicijalizacija
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	upis_u_stablo
	ldr	r0, [fp, #-16]
	bl	fclose
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	ispis_iz_stabla
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	pronadji_najgori
	ldr	r0, [fp, #-12]
	bl	fclose
	sub	r3, fp, #20
	mov	r0, r3
	bl	obrisi_stablo
	mov	r3, #0
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC10
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
