Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int flag[60];

int main(void) {
	int a, b, c;
	int cur, t;

	scanf("%d %d %d", &a, &b, &c);

	cur = t = 0;
	flag[0] = 1;
	while (1) {
		if (cur <= c + t * 60 && c + t * 60 <= cur + a) {
			printf("%d\n", c + t * 60);
			return 0;
		}

		cur += a + b;
		if (flag[cur % 60]) {
			puts("-1");
			return 0;
		}
		flag[cur % 60] = 1;

		while (c + t * 60 < cur)
			t++;
	}

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	flag
	.bss
	.align 32
	.type	flag, @object
	.size	flag, 240
flag:
	.zero	240
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"-1"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20(%rbp), %rcx
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12(%rbp)
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	$1, flag(%rip)
.L7:
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -16(%rbp)
	jg	.L2
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%eax, %edx
	movl	-28(%rbp), %ecx
	movl	-16(%rbp), %eax
	addl	%ecx, %eax
	cmpl	%eax, %edx
	jg	.L2
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L8
.L2:
	movl	-28(%rbp), %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -16(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$-2004318071, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$5, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$60, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L4
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L8
.L4:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$-2004318071, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$5, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$60, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L5
.L6:
	addl	$1, -12(%rbp)
.L5:
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -16(%rbp)
	jg	.L6
	jmp	.L7
.L8:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebx
	movl	16(%rsp), %r10d
	xorl	%ecx, %ecx
	movl	$1, flag(%rip)
	movl	20(%rsp), %esi
	xorl	%edx, %edx
	leaq	flag(%rip), %r9
	movdqa	.LC3(%rip), %xmm4
	movdqa	.LC4(%rip), %xmm3
	addl	%ebx, %r10d
	movl	$2290649225, %r11d
	movdqa	.LC5(%rip), %xmm2
	.p2align 4,,10
	.p2align 3
.L12:
	imull	$60, %ecx, %edi
	leal	(%rdi,%rsi), %r8d
	cmpl	%edx, %r8d
	jl	.L2
	leal	(%rdx,%rbx), %eax
	cmpl	%eax, %r8d
	jle	.L26
.L2:
	addl	%r10d, %edx
	movslq	%edx, %rax
	movl	%edx, %ebp
	imulq	$-2004318071, %rax, %rax
	sarl	$31, %ebp
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$5, %eax
	subl	%ebp, %eax
	imull	$60, %eax, %ebp
	movl	%edx, %eax
	subl	%ebp, %eax
	cltq
	movl	(%r9,%rax,4), %ebp
	testl	%ebp, %ebp
	jne	.L27
	movl	$1, (%r9,%rax,4)
	cmpl	%edx, %r8d
	jge	.L12
	leal	60(%rdi,%rsi), %edi
	leal	59(%rdx), %eax
	subl	%edi, %eax
	subl	$59, %edi
	cmpl	%edi, %edx
	jl	.L10
	cmpl	$1319, %eax
	jbe	.L10
	movl	%eax, %edi
	movd	%ecx, %xmm5
	xorl	%eax, %eax
	imulq	%r11, %rdi
	pshufd	$0, %xmm5, %xmm1
	paddd	%xmm4, %xmm1
	shrq	$37, %rdi
	addl	$1, %edi
	movl	%edi, %r8d
	shrl	$2, %r8d
	.p2align 4,,10
	.p2align 3
.L7:
	movdqa	%xmm1, %xmm0
	addl	$1, %eax
	paddd	%xmm3, %xmm1
	paddd	%xmm2, %xmm0
	cmpl	%eax, %r8d
	ja	.L7
	movl	%edi, %eax
	pshufd	$255, %xmm0, %xmm0
	andl	$-4, %eax
	leal	(%rax,%rcx), %r8d
	movd	%xmm0, %ecx
	cmpl	%eax, %edi
	je	.L12
	leal	1(%r8), %ecx
	imull	$60, %ecx, %eax
	leal	(%rsi,%rax), %edi
	cmpl	%edx, %edi
	jge	.L12
	leal	60(%rsi,%rax), %eax
	xorl	%ecx, %ecx
	cmpl	%eax, %edx
	setg	%cl
	leal	2(%rcx,%r8), %ecx
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$60, %r8d
	addl	$1, %ecx
	cmpl	%r8d, %edx
	jle	.L12
	addl	$60, %r8d
	addl	$1, %ecx
	cmpl	%r8d, %edx
	jg	.L10
	jmp	.L12
.L27:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L3:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L28
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L26:
	.cfi_restore_state
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L3
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	flag
	.bss
	.align 32
	.type	flag, @object
	.size	flag, 240
flag:
	.zero	240
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC4:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC5:
	.long	1
	.long	1
	.long	1
	.long	1
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebx
	movl	16(%rsp), %r10d
	xorl	%ecx, %ecx
	movl	$1, flag(%rip)
	movl	20(%rsp), %esi
	xorl	%edx, %edx
	leaq	flag(%rip), %r9
	movdqa	.LC3(%rip), %xmm4
	movdqa	.LC4(%rip), %xmm3
	addl	%ebx, %r10d
	movl	$2290649225, %r11d
	movdqa	.LC5(%rip), %xmm2
	.p2align 4,,10
	.p2align 3
.L12:
	imull	$60, %ecx, %edi
	leal	(%rdi,%rsi), %r8d
	cmpl	%edx, %r8d
	jl	.L2
	leal	(%rdx,%rbx), %eax
	cmpl	%eax, %r8d
	jle	.L26
.L2:
	addl	%r10d, %edx
	movslq	%edx, %rax
	movl	%edx, %ebp
	imulq	$-2004318071, %rax, %rax
	sarl	$31, %ebp
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$5, %eax
	subl	%ebp, %eax
	imull	$60, %eax, %ebp
	movl	%edx, %eax
	subl	%ebp, %eax
	cltq
	movl	(%r9,%rax,4), %ebp
	testl	%ebp, %ebp
	jne	.L27
	movl	$1, (%r9,%rax,4)
	cmpl	%edx, %r8d
	jge	.L12
	leal	60(%rdi,%rsi), %edi
	leal	59(%rdx), %eax
	subl	%edi, %eax
	subl	$59, %edi
	cmpl	%edi, %edx
	jl	.L10
	cmpl	$1319, %eax
	jbe	.L10
	movl	%eax, %edi
	movd	%ecx, %xmm5
	xorl	%eax, %eax
	imulq	%r11, %rdi
	pshufd	$0, %xmm5, %xmm1
	paddd	%xmm4, %xmm1
	shrq	$37, %rdi
	addl	$1, %edi
	movl	%edi, %r8d
	shrl	$2, %r8d
	.p2align 4,,10
	.p2align 3
.L7:
	movdqa	%xmm1, %xmm0
	addl	$1, %eax
	paddd	%xmm3, %xmm1
	paddd	%xmm2, %xmm0
	cmpl	%eax, %r8d
	ja	.L7
	movl	%edi, %eax
	pshufd	$255, %xmm0, %xmm0
	andl	$-4, %eax
	leal	(%rax,%rcx), %r8d
	movd	%xmm0, %ecx
	cmpl	%eax, %edi
	je	.L12
	leal	1(%r8), %ecx
	imull	$60, %ecx, %eax
	leal	(%rsi,%rax), %edi
	cmpl	%edx, %edi
	jge	.L12
	leal	60(%rsi,%rax), %eax
	xorl	%ecx, %ecx
	cmpl	%eax, %edx
	setg	%cl
	leal	2(%rcx,%r8), %ecx
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$60, %r8d
	addl	$1, %ecx
	cmpl	%r8d, %edx
	jle	.L12
	addl	$60, %r8d
	addl	$1, %ecx
	cmpl	%r8d, %edx
	jg	.L10
	jmp	.L12
.L27:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L3:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L28
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L26:
	.cfi_restore_state
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L3
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	flag
	.bss
	.align 32
	.type	flag, @object
	.size	flag, 240
flag:
	.zero	240
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC4:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC5:
	.long	1
	.long	1
	.long	1
	.long	1
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

#include <stdio.h>

int flag[60];

int main(void) {
	int a, b, c;
	int cur, t;

	scanf("%d %d %d", &a, &b, &c);

	cur = t = 0;
	flag[0] = 1;
	while (1) {
		if (cur <= c + t * 60 && c + t * 60 <= cur + a) {
			printf("%d\n", c + t * 60);
			return 0;
		}

		cur += a + b;
		if (flag[cur % 60]) {
			puts("-1");
			return 0;
		}
		flag[cur % 60] = 1;

		while (c + t * 60 < cur)
			t++;
	}

	return 0;
}
20 25 20
 89 40 51
 10 14 5
 36 18 15
 3 18 15
 16 5 4
 0 18 15
 128 12 16
 0 18 12
 2 5 4

20
 51
 5
 15
 255
 4
 -1
 16
 72
 64

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int flag[60];

int main(void) {
	int a, b, c;
	int cur, t;

	scanf("%d %d %d", &a, &b, &c);

	cur = t = 0;
	flag[0] = 1;
	while (1) {
		if (cur <= c + t * 60 && c + t * 60 <= cur + a) {
			printf("%d\n", c + t * 60);
			return 0;
		}

		cur += a + b;
		if (flag[cur % 60]) {
			puts("-1");
			return 0;
		}
		flag[cur % 60] = 1;

		while (c + t * 60 < cur)
			t++;
	}

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	flag
	.bss
	.align 32
	.type	flag, @object
	.size	flag, 240
flag:
	.zero	240
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"-1"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20(%rbp), %rcx
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12(%rbp)
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	$1, flag(%rip)
.L7:
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -16(%rbp)
	jg	.L2
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%eax, %edx
	movl	-28(%rbp), %ecx
	movl	-16(%rbp), %eax
	addl	%ecx, %eax
	cmpl	%eax, %edx
	jg	.L2
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L8
.L2:
	movl	-28(%rbp), %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -16(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$-2004318071, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$5, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$60, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L4
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L8
.L4:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$-2004318071, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$5, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$60, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L5
.L6:
	addl	$1, -12(%rbp)
.L5:
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -16(%rbp)
	jg	.L6
	jmp	.L7
.L8:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.globl	flag
	.bss
	.align 32
	.type	flag, @object
	.size	flag, 240
flag:
	.zero	240
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"-1"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20(%rbp), %rcx
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12(%rbp)
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	$1, flag(%rip)
.L7:
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -16(%rbp)
	jg	.L2
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%eax, %edx
	movl	-28(%rbp), %ecx
	movl	-16(%rbp), %eax
	addl	%ecx, %eax
	cmpl	%eax, %edx
	jg	.L2
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L8
.L2:
	movl	-28(%rbp), %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -16(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$-2004318071, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$5, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$60, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L4
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L8
.L4:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$-2004318071, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$5, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$60, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L5
.L6:
	addl	$1, -12(%rbp)
.L5:
	movl	-12(%rbp), %eax
	imull	$60, %eax, %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -16(%rbp)
	jg	.L6
	jmp	.L7
.L8:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
