	.file	"70074.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s %s %s"
	.text
	.globl	Ucitaj
	.type	Ucitaj, @function
Ucitaj:
.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	lea	rsi, 38[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	lea	rcx, 31[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	r8, rsi
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L3
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Ucitaj, .-Ucitaj
	.section	.rodata
.LC1:
	.string	"izvodjac"
.LC2:
	.string	"tip"
.LC3:
	.string	"%s %s %s\n"
	.text
	.globl	Ispisi
	.type	Ispisi, @function
Ispisi:
.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, 64
	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	DWORD PTR -52[rbp], r8d
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L9:
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L7
.L6:
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	lea	rdx, 31[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
.L7:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	lea	rsi, 38[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	lea	rcx, 31[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rsi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L8:
	add	DWORD PTR -4[rbp], 1
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Ispisi, .-Ispisi
	.section	.rodata
.LC4:
	.string	"r"
.LC5:
	.string	"ulaz.txt"
.LC6:
	.string	"w"
.LC7:
	.string	"izlaz.txt"
	.text
	.globl	main
	.type	main, @function
main:
.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, 2800
	mov	DWORD PTR -2788[rbp], edi
	mov	QWORD PTR -2800[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -2780[rbp], 0
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	call	fopen@PLT
	mov	QWORD PTR -2776[rbp], rax
	lea	rdx, -2780[rbp]
	lea	rcx, -2768[rbp]
	mov	rax, QWORD PTR -2776[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Ucitaj
	mov	rax, QWORD PTR -2776[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	fopen@PLT
	mov	QWORD PTR -2776[rbp], rax
	mov	edi, DWORD PTR -2780[rbp]
	mov	rax, QWORD PTR -2800[rbp]
	add	rax, 16
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -2800[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rsi, -2768[rbp]
	mov	rax, QWORD PTR -2776[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	Ispisi
	mov	rax, QWORD PTR -2776[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"70074.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s %s %s\000"
	.text
	.align	2
	.global	Ucitaj
	.syntax unified
	.arm
	.fpu softvfp
	.type	Ucitaj, %function
Ucitaj:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L2:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r0, r3
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	add	r1, r3, #31
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #38
	str	r3, [sp]
	mov	r3, r1
	mov	r2, r0
	ldr	r1, .L4
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	Ucitaj, .-Ucitaj
	.section	.rodata
	.align	2
.LC1:
	.ascii	"izvodjac\000"
	.align	2
.LC2:
	.ascii	"tip\000"
	.align	2
.LC3:
	.ascii	"%s %s %s\012\000"
	.text
	.align	2
	.global	Ispisi
	.syntax unified
	.arm
	.fpu softvfp
	.type	Ispisi, %function
Ispisi:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L11:
	ldr	r1, .L12
	ldr	r0, [fp, #-24]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
.L8:
	ldr	r1, .L12+4
	ldr	r0, [fp, #-24]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #31
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
.L9:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r0, r3
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	add	r1, r3, #31
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #38
	str	r3, [sp]
	mov	r3, r1
	mov	r2, r0
	ldr	r1, .L12+8
	ldr	r0, [fp, #-16]
	bl	fprintf
.L10:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L11
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	Ispisi, .-Ispisi
	.section	.rodata
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"ulaz.txt\000"
	.align	2
.LC6:
	.ascii	"w\000"
	.align	2
.LC7:
	.ascii	"izlaz.txt\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2784
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2784
	sub	sp, sp, #8
	str	r0, [fp, #-2784]
	str	r1, [fp, #-2788]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2776]
	ldr	r1, .L17+4
	ldr	r0, .L17+8
	bl	fopen
	str	r0, [fp, #-2772]
	sub	r2, fp, #2768
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r3, fp, #2752
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, [fp, #-2772]
	bl	Ucitaj
	ldr	r0, [fp, #-2772]
	bl	fclose
	ldr	r1, .L17+12
	ldr	r0, .L17+16
	bl	fopen
	str	r0, [fp, #-2772]
	ldr	r3, [fp, #-2788]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-2788]
	add	r3, r3, #8
	ldr	r0, [r3]
	ldr	r3, [fp, #-2776]
	sub	r1, fp, #2752
	sub	r1, r1, #4
	sub	r1, r1, #12
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, [fp, #-2772]
	bl	Ispisi
	ldr	r0, [fp, #-2772]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC8
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
