	.file	"40763200.c"
	.intel_syntax noprefix
	.text
	.globl	init
	.type	init, @function
init:
.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	QWORD PTR [rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	init, .-init
	.section	.rodata
	.align 8
.LC0:
	.string	"Neusme\305\241no alociranje memorije!"
	.text
	.globl	napravi_elem
	.type	napravi_elem, @function
napravi_elem:
.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, 80
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	movss	DWORD PTR -60[rbp], xmm0
	mov	QWORD PTR -72[rbp], r9
	mov	edi, 184
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L3
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	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, 10[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 26[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 77[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 108[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR -60[rbp]
	movss	DWORD PTR 160[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 164[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 176[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	napravi_elem, .-napravi_elem
	.globl	dodaj_elem
	.type	dodaj_elem, @function
dodaj_elem:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L6
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L10
.L6:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 176[rax]
	mov	QWORD PTR -8[rbp], rax
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 176[rax]
	test	rax, rax
	jne	.L9
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 176[rax], rdx
.L10:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	dodaj_elem, .-dodaj_elem
	.section	.rodata
.LC1:
	.string	"%s %s %s %s %s %f %s"
	.text
	.globl	ucitaj
	.type	ucitaj, @function
ucitaj:
.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, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L12
.L13:
	mov	edi, DWORD PTR -204[rbp]
	lea	r9, -191[rbp]
	lea	r8, -64[rbp]
	lea	rcx, -160[rbp]
	lea	rdx, -128[rbp]
	lea	rsi, -176[rbp]
	lea	rax, -186[rbp]
	movd	xmm0, edi
	mov	rdi, rax
	call	napravi_elem
	mov	QWORD PTR -200[rbp], rax
	mov	rdx, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	dodaj_elem
.L12:
	lea	r8, -160[rbp]
	lea	rdi, -128[rbp]
	lea	rcx, -176[rbp]
	lea	rdx, -186[rbp]
	mov	rax, QWORD PTR -216[rbp]
	sub	rsp, 8
	lea	rsi, -191[rbp]
	push	rsi
	lea	rsi, -204[rbp]
	push	rsi
	lea	rsi, -64[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 32
	cmp	eax, -1
	jne	.L13
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ucitaj, .-ucitaj
	.globl	izracunaj_maloprod_cenu
	.type	izracunaj_maloprod_cenu, @function
izracunaj_maloprod_cenu:
.LFB10:
	.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]
	movss	xmm0, DWORD PTR 160[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	izracunaj_maloprod_cenu, .-izracunaj_maloprod_cenu
	.section	.rodata
.LC4:
	.string	"%s %s %6.2f\n"
	.align 8
.LC5:
	.string	"\nProsecna maloprodajna cena knjige %s zanra je: %6.2f\n"
	.text
	.globl	ispisi
	.type	ispisi, @function
ispisi:
.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	movss	DWORD PTR -44[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L18
.L21:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	izracunaj_maloprod_cenu
	movd	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 10[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	movss	xmm0, DWORD PTR -12[rbp]
	addss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR -12[rbp], xmm0
	add	DWORD PTR -8[rbp], 1
	movss	xmm0, DWORD PTR -44[rbp]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L19
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -4[rbp]
	movq	rdx, xmm2
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, 77[rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, 26[rax]
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rdx
	mov	rdx, rsi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
.L19:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 176[rax]
	mov	QWORD PTR -32[rbp], rax
.L18:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L21
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -12[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -12[rbp]
	movq	rcx, xmm3
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rcx
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	ispisi, .-ispisi
	.globl	obrisi_listu
	.type	obrisi_listu, @function
obrisi_listu:
.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	QWORD PTR -24[rbp], rdi
	jmp	.L24
.L25:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 176[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 176[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L25
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	obrisi_listu, .-obrisi_listu
	.section	.rodata
	.align 8
.LC6:
	.string	"Neuspe\305\241no otvaranje datoteke %s"
	.text
	.globl	safe_open
	.type	safe_open, @function
safe_open:
.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	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	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	safe_open, .-safe_open
	.section	.rodata
.LC7:
	.string	"Lo\305\241 unos sa komandne linije!"
.LC8:
	.string	"r"
.LC9:
	.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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -100[rbp], 4
	je	.L30
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 255
	call	exit@PLT
.L30:
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	init
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	safe_open
	mov	QWORD PTR -72[rbp], rax
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ucitaj
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -84[rbp], xmm0
	mov	rax, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, -48[rbp]
	movabs	rcx, 7743220957286068848
	mov	QWORD PTR [rax], rcx
	mov	WORD PTR 8[rax], 24417
	mov	BYTE PTR 10[rax], 0
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -48[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1954051118
	mov	BYTE PTR 4[rax], 0
	lea	rax, -48[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	safe_open
	mov	QWORD PTR -56[rbp], rax
	mov	rcx, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR -84[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movd	xmm0, esi
	mov	rsi, rcx
	mov	rdi, rax
	call	ispisi
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	obrisi_listu
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	-1374389535
	.long	1072881991
	.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	"40763200.c"
	.text
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ 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	init, .-init
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Neusme\305\241no alociranje memorije!\000"
	.text
	.align	2
	.global	napravi_elem
	.syntax unified
	.arm
	.fpu softvfp
	.type	napravi_elem, %function
napravi_elem:
	@ args = 12, 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]
	str	r3, [fp, #-28]
	mov	r0, #176
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L5
	bl	puts
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #10
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #26
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #77
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #108
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #8]	@ float
	str	r2, [r3, #160]	@ float
	ldr	r3, [fp, #-8]
	add	r3, r3, #164
	ldr	r1, [fp, #12]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #172]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.size	napravi_elem, .-napravi_elem
	.align	2
	.global	dodaj_elem
	.syntax unified
	.arm
	.fpu softvfp
	.type	dodaj_elem, %function
dodaj_elem:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	b	.L12
.L8:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L10
.L11:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #172]
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #172]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #172]
.L12:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	dodaj_elem, .-dodaj_elem
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%s %s %s %s %s %f %s\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ucitaj
	.syntax unified
	.arm
	.fpu softvfp
	.type	ucitaj, %function
ucitaj:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	str	r0, [fp, #-192]
	str	r1, [fp, #-196]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L14
.L15:
	ldr	r3, [fp, #-188]	@ float
	sub	lr, fp, #144
	sub	ip, fp, #112
	sub	r1, fp, #160
	sub	r0, fp, #172
	sub	r2, fp, #180
	str	r2, [sp, #8]
	str	r3, [sp, #4]	@ float
	sub	r3, fp, #60
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	bl	napravi_elem
	str	r0, [fp, #-184]
	ldr	r1, [fp, #-184]
	ldr	r0, [fp, #-196]
	bl	dodaj_elem
.L14:
	sub	r1, fp, #160
	sub	r2, fp, #172
	sub	r3, fp, #180
	str	r3, [sp, #16]
	sub	r3, fp, #188
	str	r3, [sp, #12]
	sub	r3, fp, #60
	str	r3, [sp, #8]
	sub	r3, fp, #144
	str	r3, [sp, #4]
	sub	r3, fp, #112
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L17+4
	ldr	r0, [fp, #-192]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L15
	nop
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	.LC1
	.size	ucitaj, .-ucitaj
	.global	__aeabi_f2d
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.align	2
	.global	izracunaj_maloprod_cenu
	.syntax unified
	.arm
	.fpu softvfp
	.type	izracunaj_maloprod_cenu, %function
izracunaj_maloprod_cenu:
	@ 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, #160]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L21
	ldr	r3, .L21+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	-1374389535
	.word	1072881991
	.size	izracunaj_maloprod_cenu, .-izracunaj_maloprod_cenu
	.global	__aeabi_fadd
	.global	__aeabi_fcmplt
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s %s %6.2f\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC4:
	.ascii	"\012Prosecna maloprodajna cena knjige %s zanra je: "
	.ascii	"%6.2f\012\000"
	.text
	.align	2
	.global	ispisi
	.syntax unified
	.arm
	.fpu softvfp
	.type	ispisi, %function
ispisi:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]	@ float
	mov	r3, #0
	str	r3, [fp, #-24]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L24
.L27:
	ldr	r0, [fp, #-36]
	bl	izracunaj_maloprod_cenu
	str	r0, [fp, #-16]	@ float
	ldr	r3, [fp, #-36]
	add	r3, r3, #10
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	ldr	r1, [fp, #-16]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-44]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-36]
	add	r4, r3, #26
	ldr	r3, [fp, #-36]
	add	r5, r3, #77
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r3, r5
	mov	r2, r4
	ldr	r1, .L29
	ldr	r0, [fp, #-32]
	bl	fprintf
.L25:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #172]
	str	r3, [fp, #-36]
.L24:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L27
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-40]
	ldr	r1, .L29+4
	ldr	r0, [fp, #-32]
	bl	fprintf
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC3
	.word	.LC4
	.size	ispisi, .-ispisi
	.align	2
	.global	obrisi_listu
	.syntax unified
	.arm
	.fpu softvfp
	.type	obrisi_listu, %function
obrisi_listu:
	@ 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]
	b	.L32
.L33:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3, #172]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #172]
	ldr	r0, [fp, #-8]
	bl	free
.L32:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L33
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	obrisi_listu, .-obrisi_listu
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Neuspe\305\241no otvaranje datoteke %s\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	.L35
	ldr	r1, [fp, #-16]
	ldr	r0, .L37
	bl	printf
	mov	r0, #1
	bl	exit
.L35:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC5
	.size	safe_open, .-safe_open
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Lo\305\241 unos sa komandne linije!\000"
	.align	2
.LC7:
	.ascii	"r\000"
	.align	2
.LC8:
	.ascii	"preporuka_\000"
	.align	2
.LC9:
	.ascii	".txt\000"
	.align	2
.LC10:
	.ascii	"w\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	cmp	r3, #4
	beq	.L40
	ldr	r0, .L43+4
	bl	puts
	mov	r0, #255
	bl	exit
.L40:
	sub	r3, fp, #60
	mov	r0, r3
	bl	init
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L43+8
	mov	r0, r3
	bl	safe_open
	str	r0, [fp, #-56]
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	ucitaj
	ldr	r0, [fp, #-56]
	bl	fclose
	ldr	r3, [fp, #-68]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-52]	@ float
	ldr	r3, [fp, #-68]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-48]
	sub	r3, fp, #40
	ldr	r2, .L43+12
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r3, fp, #40
	ldr	r1, [fp, #-48]
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #40
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #40
	add	r3, r3, r2
	ldr	r2, .L43+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #40
	ldr	r1, .L43+20
	mov	r0, r3
	bl	safe_open
	str	r0, [fp, #-44]
	ldr	r1, [fp, #-60]
	ldr	r3, [fp, #-52]	@ float
	ldr	r2, [fp, #-48]
	ldr	r0, [fp, #-44]
	bl	ispisi
	ldr	r0, [fp, #-44]
	bl	fclose
	sub	r3, fp, #60
	mov	r0, r3
	bl	obrisi_listu
	mov	r3, #0
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC11
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
