	.file	"917519.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d"
	.text
	.globl	unos_vremena
	.type	unos_vremena, @function
unos_vremena:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	lea	rcx, 8[rax]
	lea	rax, -32[rbp]
	lea	rdx, 4[rax]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -20[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, rcx
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	unos_vremena, .-unos_vremena
	.globl	proteklo
	.type	proteklo, @function
proteklo:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, rdx
	mov	rdx, rcx
	mov	QWORD PTR -48[rbp], rdi
	mov	DWORD PTR -40[rbp], esi
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -56[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -56[rbp], eax
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -60[rbp]
	cmp	edx, eax
	jge	.L5
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	je	.L5
	mov	eax, DWORD PTR -48[rbp]
	sub	eax, 1
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 60
	mov	DWORD PTR -44[rbp], eax
.L5:
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -56[rbp]
	cmp	edx, eax
	jge	.L6
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	je	.L6
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 60
	mov	DWORD PTR -40[rbp], eax
.L6:
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -64[rbp]
	sub	eax, edx
	cdq
	xor	eax, edx
	sub	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -60[rbp]
	sub	eax, edx
	cdq
	xor	eax, edx
	sub	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -56[rbp]
	sub	eax, edx
	cdq
	xor	eax, edx
	sub	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -12[rbp], rax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -12[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	rdx, rcx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	proteklo, .-proteklo
	.section	.rodata
	.align 8
.LC1:
	.string	"Unesite prvo vrijeme (h m s): "
	.align 8
.LC2:
	.string	"\nUnesite drugo vrijeme (h m s): "
	.align 8
.LC3:
	.string	"\nIzmedju dva vremena je proteklo %d sati, %d minuta i %d sekundi."
	.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, 48
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	unos_vremena
	mov	QWORD PTR -36[rbp], rax
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -28[rbp], eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	unos_vremena
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	mov	rdx, rcx
	mov	rdi, QWORD PTR -36[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	proteklo
	mov	QWORD PTR -12[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	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	"917519.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d %d %d\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	unos_vremena
	.syntax unified
	.arm
	.fpu softvfp
	.type	unos_vremena, %function
unos_vremena:
	@ 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]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #20
	add	r0, r3, #8
	sub	r3, fp, #20
	add	r2, r3, #4
	sub	r1, fp, #20
	mov	r3, r0
	ldr	r0, .L4+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	mov	ip, r3
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, .L4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	ldr	r0, [fp, #-24]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC1
	.word	.LC0
	.size	unos_vremena, .-unos_vremena
	.align	2
	.global	proteklo
	.syntax unified
	.arm
	.fpu softvfp
	.type	proteklo, %function
proteklo:
	@ args = 12, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	sub	r0, fp, #36
	stm	r0, {r1, r2, r3}
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	bge	.L7
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r3, #60
	str	r3, [fp, #-32]
.L7:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	bge	.L8
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r3, #60
	str	r3, [fp, #-28]
.L8:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #4]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #8]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #12]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	mov	ip, r3
	sub	r3, fp, #16
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r0, [fp, #-24]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	proteklo, .-proteklo
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Unesite prvo vrijeme (h m s): \000"
	.align	2
.LC3:
	.ascii	"\012Unesite drugo vrijeme (h m s): \000"
	.align	2
.LC4:
	.ascii	"\012Izmedju dva vremena je proteklo %d sati, %d min"
	.ascii	"uta i %d sekundi.\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L13+4
	bl	printf
	sub	r3, fp, #44
	mov	r0, r3
	bl	unos_vremena
	ldr	r0, .L13+8
	bl	printf
	sub	r3, fp, #32
	mov	r0, r3
	bl	unos_vremena
	sub	lr, fp, #20
	mov	ip, sp
	sub	r3, fp, #32
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #44
	ldm	r3, {r1, r2, r3}
	mov	r0, lr
	bl	proteklo
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r0, .L13+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
