	.file	"818263.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter flight time (24-hour format): "
.LC1:
	.string	"%d:%d"
	.align 8
.LC3:
	.string	"Closest departure time is %d:%.2d, arriving at %d:%.2d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -140[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -144[rbp]
	imul	edx, eax, 60
	mov	eax, DWORD PTR -140[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	mov	DWORD PTR -124[rbp], 480
	mov	DWORD PTR -120[rbp], 583
	mov	DWORD PTR -116[rbp], 679
	mov	DWORD PTR -112[rbp], 767
	mov	DWORD PTR -108[rbp], 840
	mov	DWORD PTR -104[rbp], 945
	mov	DWORD PTR -100[rbp], 1140
	mov	DWORD PTR -96[rbp], 1305
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -48[rbp], 616
	mov	DWORD PTR -44[rbp], 712
	mov	DWORD PTR -40[rbp], 811
	mov	DWORD PTR -36[rbp], 900
	mov	DWORD PTR -32[rbp], 968
	mov	DWORD PTR -28[rbp], 1075
	mov	DWORD PTR -24[rbp], 1280
	mov	DWORD PTR -132[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, DWORD PTR -92[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movq	xmm1, QWORD PTR .LC2[rip]
	andpd	xmm1, xmm0
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, DWORD PTR -88[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movq	xmm2, QWORD PTR .LC2[rip]
	andpd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L3
	mov	eax, DWORD PTR -92[rbp]
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	mov	DWORD PTR -136[rbp], eax
.L3:
	add	DWORD PTR -132[rbp], 1
.L2:
	cmp	DWORD PTR -132[rbp], 7
	jle	.L5
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	movsx	rdx, eax
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 5
	mov	esi, eax
	sar	esi, 31
	mov	ecx, edx
	sub	ecx, esi
	imul	edx, ecx, 60
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	movsx	rdx, eax
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 5
	sar	eax, 31
	mov	edi, edx
	sub	edi, eax
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	mov	edx, DWORD PTR -80[rbp+rax*4]
	movsx	rax, edx
	imul	rax, rax, -2004318071
	shr	rax, 32
	add	eax, edx
	sar	eax, 5
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	imul	esi, eax, 60
	mov	eax, edx
	sub	eax, esi
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR -80[rbp+rdx*4]
	movsx	rsi, edx
	imul	rsi, rsi, -2004318071
	shr	rsi, 32
	add	esi, edx
	sar	esi, 5
	sar	edx, 31
	sub	esi, edx
	mov	r8d, ecx
	mov	ecx, edi
	mov	edx, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC2:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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	"818263.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter flight time (24-hour format): \000"
	.align	2
.LC1:
	.ascii	"%d:%d\000"
	.global	__aeabi_i2d
	.global	__aeabi_dcmplt
	.align	2
.LC2:
	.ascii	"Closest departure time is %d:%.2d, arriving at %d:%"
	.ascii	".2d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #144
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r0, .L9+4
	bl	printf
	sub	r2, fp, #148
	sub	r3, fp, #152
	mov	r1, r3
	ldr	r0, .L9+8
	bl	__isoc99_scanf
	ldr	r2, [fp, #-152]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r2, r3
	str	r3, [fp, #-136]
	mov	r3, #480
	str	r3, [fp, #-132]
	ldr	r3, .L9+12
	str	r3, [fp, #-128]
	ldr	r3, .L9+16
	str	r3, [fp, #-124]
	ldr	r3, .L9+20
	str	r3, [fp, #-120]
	mov	r3, #840
	str	r3, [fp, #-116]
	ldr	r3, .L9+24
	str	r3, [fp, #-112]
	ldr	r3, .L9+28
	str	r3, [fp, #-108]
	ldr	r3, .L9+32
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-128]
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-124]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-60]
	sub	r3, fp, #56
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #616
	str	r3, [fp, #-56]
	mov	r3, #712
	str	r3, [fp, #-52]
	ldr	r3, .L9+36
	str	r3, [fp, #-48]
	mov	r3, #900
	str	r3, [fp, #-44]
	mov	r3, #968
	str	r3, [fp, #-40]
	ldr	r3, .L9+40
	str	r3, [fp, #-36]
	mov	r3, #1280
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L2
.L5:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-68]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-68]
	str	r3, [fp, #-96]
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-100]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-96]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	bic	r7, r3, #-2147483648
	mov	r2, r6
	mov	r3, r7
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-140]
	str	r3, [fp, #-144]
.L3:
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L2:
	ldr	r3, [fp, #-140]
	cmp	r3, #7
	ble	.L5
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-68]
	ldr	r2, .L9+44
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	ip, r2, r3
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-68]
	ldr	r3, .L9+44
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r0, r1, r3
	mov	r3, r0
	lsl	r3, r3, #4
	sub	r3, r3, r0
	lsl	r3, r3, #2
	sub	r0, r2, r3
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-36]
	ldr	r2, .L9+44
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	lr, r2, r3
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-36]
	ldr	r3, .L9+44
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, r2, r3
	str	r1, [sp]
	mov	r3, lr
	mov	r2, r0
	mov	r1, ip
	ldr	r0, .L9+48
	bl	printf
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	583
	.word	679
	.word	767
	.word	945
	.word	1140
	.word	1305
	.word	811
	.word	1075
	.word	-2004318071
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
