	.file	"966387.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%2d:%2d:%2d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 17
	mov	DWORD PTR -28[rbp], 38
	mov	DWORD PTR -24[rbp], 10
	mov	DWORD PTR -52[rbp], 21
	mov	edx, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	rdi, rcx
	mov	esi, eax
	call	addminutes
	mov	QWORD PTR -20[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	rdx, QWORD PTR -20[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	rdi, rdx
	mov	esi, eax
	call	showTime
	mov	rcx, QWORD PTR -20[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 23
	mov	rdi, rcx
	mov	esi, eax
	call	addminutes
	mov	QWORD PTR -20[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	rdx, QWORD PTR -20[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	rdi, rdx
	mov	esi, eax
	call	showTime
	lea	rax, -20[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 382
	mov	rdi, rax
	call	addminutesPointer
	mov	rdx, QWORD PTR -20[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	rdi, rdx
	mov	esi, eax
	call	showTime
	call	input
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	showTime
	.type	showTime, @function
showTime:
.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	rdx, rdi
	mov	eax, esi
	mov	QWORD PTR -16[rbp], rdx
	mov	DWORD PTR -8[rbp], eax
	mov	ecx, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	showTime, .-showTime
	.globl	addminutes
	.type	addminutes, @function
addminutes:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rcx, rdi
	mov	eax, esi
	mov	DWORD PTR -52[rbp], edx
	mov	QWORD PTR -48[rbp], rcx
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 59
	jle	.L6
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -32[rbp], eax
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, edx
	sal	edx, 4
	sub	eax, edx
	sal	eax, 2
	add	eax, ecx
	mov	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -24[rbp], eax
.L6:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 23
	jle	.L7
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -28[rbp], eax
	mov	ecx, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, edx
	sal	edx, 2
	sub	eax, edx
	sal	eax, 3
	add	eax, ecx
	mov	DWORD PTR -24[rbp], eax
.L7:
	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
.LFE8:
	.size	addminutes, .-addminutes
	.globl	addminutesPointer
	.type	addminutesPointer, @function
addminutesPointer:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	QWORD PTR -32[rbp], rdi
	mov	DWORD PTR -36[rbp], esi
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -36[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 59
	jle	.L10
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 4[rax]
	movsx	rdx, eax
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 5
	sar	eax, 31
	mov	esi, eax
	mov	eax, edx
	sub	eax, esi
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, DWORD PTR 4[rax]
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	sal	edx, 4
	sub	eax, edx
	sal	eax, 2
	lea	edx, [rsi+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
.L10:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 23
	jle	.L11
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	esi, eax
	mov	eax, edx
	sub	eax, esi
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, DWORD PTR [rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, edx
	sal	edx, 2
	sub	eax, edx
	sal	eax, 3
	lea	edx, [rsi+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
.L11:
	nop
	mov	rax, rcx
	mov	rdx, rbx
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	addminutesPointer, .-addminutesPointer
	.section	.rodata
.LC1:
	.string	"Enter hour: "
.LC2:
	.string	"%d"
.LC3:
	.string	"Enter minutes: "
.LC4:
	.string	"Enter seconds: "
	.text
	.globl	input
	.type	input, @function
input:
.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	edi, 12
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	input, .-input
	.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	"966387.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%2d:%2d:%2d\012\000"
	.align	2
.LC0:
	.word	17
	.word	38
	.word	10
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L4+4
	sub	r3, fp, #32
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #21
	str	r3, [fp, #-44]
	sub	r0, fp, #20
	ldr	r3, [fp, #-44]
	str	r3, [sp]
	sub	r3, fp, #32
	ldm	r3, {r1, r2, r3}
	bl	addminutes
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2}
	bl	showTime
	sub	r0, fp, #60
	mov	r3, #23
	str	r3, [sp]
	sub	r3, fp, #20
	ldm	r3, {r1, r2, r3}
	bl	addminutes
	sub	r3, fp, #20
	sub	r2, fp, #60
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2}
	bl	showTime
	sub	r3, fp, #20
	str	r3, [fp, #-40]
	sub	r3, fp, #60
	ldr	r2, .L4+8
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	addminutesPointer
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2}
	bl	showTime
	bl	input
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	ldr	r0, .L4+12
	bl	printf
	ldr	r0, [fp, #-36]
	bl	free
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC2
	.word	.LC0
	.word	382
	.word	.LC1
	.size	main, .-main
	.align	2
	.global	showTime
	.syntax unified
	.arm
	.fpu softvfp
	.type	showTime, %function
showTime:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	sub	r3, fp, #16
	stm	r3, {r0, r1, r2}
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r0, .L7
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.size	showTime, .-showTime
	.align	2
	.global	addminutes
	.syntax unified
	.arm
	.fpu softvfp
	.type	addminutes, %function
addminutes:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	sub	r0, fp, #44
	stm	r0, {r1, r2, r3}
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #59
	ble	.L10
	ldr	r3, [fp, #-12]
	ldr	r2, .L13
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-12]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r2, r2, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-16]
.L10:
	ldr	r3, [fp, #-16]
	cmp	r3, #23
	ble	.L11
	ldr	r3, [fp, #-16]
	ldr	r2, .L13+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r2, r2, #2
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r3, [fp, #-16]
.L11:
	ldr	r3, [fp, #-32]
	mov	ip, r3
	sub	r3, fp, #16
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r0, [fp, #-32]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L14:
	.align	2
.L13:
	.word	-2004318071
	.word	715827883
	.size	addminutes, .-addminutes
	.align	2
	.global	addminutesPointer
	.syntax unified
	.arm
	.fpu softvfp
	.type	addminutesPointer, %function
addminutesPointer:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	cmp	r3, #59
	ble	.L16
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	ldr	r2, .L18
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r1, [r3, #4]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r2, r2, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]
.L16:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #23
	ble	.L17
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, .L18+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r2, r2, #2
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, r1, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]
.L17:
	nop
	ldr	r0, [fp, #-16]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L19:
	.align	2
.L18:
	.word	-2004318071
	.word	715827883
	.size	addminutesPointer, .-addminutesPointer
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Enter hour: \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"Enter minutes: \000"
	.align	2
.LC6:
	.ascii	"Enter seconds: \000"
	.text
	.align	2
	.global	input
	.syntax unified
	.arm
	.fpu softvfp
	.type	input, %function
input:
	@ 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	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r0, .L22
	bl	printf
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L22+4
	bl	__isoc99_scanf
	ldr	r0, .L22+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L22+4
	bl	__isoc99_scanf
	ldr	r0, .L22+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L22+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	input, .-input
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
