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

```c
#include <stdio.h>

int main(void){
	int i, a, sum=0, x=0;

	for(i=0; i<4; i++){
		scanf(" %d", &a);
		sum+=a;
	}
	
	while(sum>=60){
		sum-=60;
		x++;
	}

	printf("%d\n%d\n", x, sum);

	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	" %d"
.LC7:
	.string	"%d\n%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xorl	%r12d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	$4, %ebx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r13
.L2:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	addl	%r12d, %eax
	movl	%eax, %r12d
	subl	$1, %ebx
	jne	.L2
	cmpl	$59, %eax
	jle	.L9
	leal	-60(%rax), %ecx
	movl	$2290649225, %esi
	movq	%rcx, %rdx
	imulq	%rsi, %rcx
	shrq	$37, %rcx
	addl	$1, %ecx
	cmpl	$239, %edx
	jbe	.L10
	movd	%eax, %xmm4
	movl	%ecx, %edx
	movdqa	.LC0(%rip), %xmm3
	movdqa	.LC3(%rip), %xmm7
	pshufd	$0, %xmm4, %xmm2
	movdqa	.LC4(%rip), %xmm6
	shrl	$2, %edx
	paddd	.LC2(%rip), %xmm2
	movdqa	.LC5(%rip), %xmm5
	movdqa	.LC6(%rip), %xmm4
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm3, %xmm0
	movdqa	%xmm2, %xmm1
	paddd	%xmm7, %xmm3
	addl	$1, %ebx
	paddd	%xmm6, %xmm2
	paddd	%xmm5, %xmm1
	paddd	%xmm4, %xmm0
	cmpl	%ebx, %edx
	jne	.L5
	movl	%ecx, %esi
	pshufd	$255, %xmm0, %xmm0
	pshufd	$255, %xmm1, %xmm1
	andl	$-4, %esi
	movd	%xmm0, %edx
	movd	%xmm1, %r12d
	movl	%esi, %r8d
	movl	%esi, %edi
	sall	$4, %r8d
	subl	%r8d, %edi
	leal	(%rax,%rdi,4), %eax
	cmpl	%esi, %ecx
	je	.L3
.L4:
	leal	-60(%rax), %r12d
	leal	1(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-120(%rax), %r12d
	leal	2(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-180(%rax), %r12d
	leal	3(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-240(%rax), %r12d
	leal	4(%rsi), %edx
.L3:
	xorl	%eax, %eax
	movl	%r12d, %ecx
	movl	$1, %edi
	leaq	.LC7(%rip), %rsi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	xorl	%edx, %edx
	jmp	.L3
.L10:
	xorl	%esi, %esi
	jmp	.L4
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	0
	.long	-60
	.long	-120
	.long	-180
	.align 16
.LC3:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC4:
	.long	-240
	.long	-240
	.long	-240
	.long	-240
	.align 16
.LC5:
	.long	-60
	.long	-60
	.long	-60
	.long	-60
	.align 16
.LC6:
	.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:
```

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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	" %d"
.LC7:
	.string	"%d\n%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xorl	%r12d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	$4, %ebx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r13
.L2:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	addl	%r12d, %eax
	movl	%eax, %r12d
	subl	$1, %ebx
	jne	.L2
	cmpl	$59, %eax
	jle	.L9
	leal	-60(%rax), %ecx
	movl	$2290649225, %esi
	movq	%rcx, %rdx
	imulq	%rsi, %rcx
	shrq	$37, %rcx
	addl	$1, %ecx
	cmpl	$239, %edx
	jbe	.L10
	movd	%eax, %xmm4
	movl	%ecx, %edx
	movdqa	.LC0(%rip), %xmm3
	movdqa	.LC3(%rip), %xmm7
	pshufd	$0, %xmm4, %xmm2
	movdqa	.LC4(%rip), %xmm6
	shrl	$2, %edx
	paddd	.LC2(%rip), %xmm2
	movdqa	.LC5(%rip), %xmm5
	movdqa	.LC6(%rip), %xmm4
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm3, %xmm0
	movdqa	%xmm2, %xmm1
	paddd	%xmm7, %xmm3
	addl	$1, %ebx
	paddd	%xmm6, %xmm2
	paddd	%xmm5, %xmm1
	paddd	%xmm4, %xmm0
	cmpl	%ebx, %edx
	jne	.L5
	movl	%ecx, %esi
	pshufd	$255, %xmm0, %xmm0
	pshufd	$255, %xmm1, %xmm1
	andl	$-4, %esi
	movd	%xmm0, %edx
	movd	%xmm1, %r12d
	movl	%esi, %r8d
	movl	%esi, %edi
	sall	$4, %r8d
	subl	%r8d, %edi
	leal	(%rax,%rdi,4), %eax
	cmpl	%esi, %ecx
	je	.L3
.L4:
	leal	-60(%rax), %r12d
	leal	1(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-120(%rax), %r12d
	leal	2(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-180(%rax), %r12d
	leal	3(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-240(%rax), %r12d
	leal	4(%rsi), %edx
.L3:
	xorl	%eax, %eax
	movl	%r12d, %ecx
	movl	$1, %edi
	leaq	.LC7(%rip), %rsi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	xorl	%edx, %edx
	jmp	.L3
.L10:
	xorl	%esi, %esi
	jmp	.L4
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	0
	.long	-60
	.long	-120
	.long	-180
	.align 16
.LC3:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC4:
	.long	-240
	.long	-240
	.long	-240
	.long	-240
	.align 16
.LC5:
	.long	-60
	.long	-60
	.long	-60
	.long	-60
	.align 16
.LC6:
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	" %d"
.LC7:
	.string	"%d\n%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xorl	%r12d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	$4, %ebx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r13
.L2:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	addl	%r12d, %eax
	movl	%eax, %r12d
	subl	$1, %ebx
	jne	.L2
	cmpl	$59, %eax
	jle	.L9
	leal	-60(%rax), %ecx
	movl	$2290649225, %esi
	movq	%rcx, %rdx
	imulq	%rsi, %rcx
	shrq	$37, %rcx
	addl	$1, %ecx
	cmpl	$239, %edx
	jbe	.L10
	movd	%eax, %xmm4
	movl	%ecx, %edx
	movdqa	.LC0(%rip), %xmm3
	movdqa	.LC3(%rip), %xmm7
	pshufd	$0, %xmm4, %xmm2
	movdqa	.LC4(%rip), %xmm6
	shrl	$2, %edx
	paddd	.LC2(%rip), %xmm2
	movdqa	.LC5(%rip), %xmm5
	movdqa	.LC6(%rip), %xmm4
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm3, %xmm0
	movdqa	%xmm2, %xmm1
	paddd	%xmm7, %xmm3
	addl	$1, %ebx
	paddd	%xmm6, %xmm2
	paddd	%xmm5, %xmm1
	paddd	%xmm4, %xmm0
	cmpl	%ebx, %edx
	jne	.L5
	movl	%ecx, %esi
	pshufd	$255, %xmm0, %xmm0
	pshufd	$255, %xmm1, %xmm1
	andl	$-4, %esi
	movd	%xmm0, %edx
	movd	%xmm1, %r12d
	movl	%esi, %r8d
	movl	%esi, %edi
	sall	$4, %r8d
	subl	%r8d, %edi
	leal	(%rax,%rdi,4), %eax
	cmpl	%esi, %ecx
	je	.L3
.L4:
	leal	-60(%rax), %r12d
	leal	1(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-120(%rax), %r12d
	leal	2(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-180(%rax), %r12d
	leal	3(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-240(%rax), %r12d
	leal	4(%rsi), %edx
.L3:
	xorl	%eax, %eax
	movl	%r12d, %ecx
	movl	$1, %edi
	leaq	.LC7(%rip), %rsi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	xorl	%edx, %edx
	jmp	.L3
.L10:
	xorl	%esi, %esi
	jmp	.L4
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	0
	.long	-60
	.long	-120
	.long	-180
	.align 16
.LC3:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC4:
	.long	-240
	.long	-240
	.long	-240
	.long	-240
	.align 16
.LC5:
	.long	-60
	.long	-60
	.long	-60
	.long	-60
	.align 16
.LC6:
	.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:
```
```c
#include <stdio.h>

int main(void){
	int i, a, sum=0, x=0;

	for(i=0; i<4; i++){
		scanf(" %d", &a);
		sum+=a;
	}
	
	while(sum>=60){
		sum-=60;
		x++;
	}

	printf("%d\n%d\n", x, sum);

	return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int main(void){
	int i, a, sum=0, x=0;

	for(i=0; i<4; i++){
		scanf(" %d", &a);
		sum+=a;
	}
	
	while(sum>=60){
		sum-=60;
		x++;
	}

	printf("%d\n%d\n", x, sum);

	return 0;
}```

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.
Optimized Assembly Code:

31
34
7
151

3
43

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

```c
#include <stdio.h>

int main(void){
	int i, a, sum=0, x=0;

	for(i=0; i<4; i++){
		scanf(" %d", &a);
		sum+=a;
	}
	
	while(sum>=60){
		sum-=60;
		x++;
	}

	printf("%d\n%d\n", x, sum);

	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	" %d"
.LC7:
	.string	"%d\n%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xorl	%r12d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	$4, %ebx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r13
.L2:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	addl	%r12d, %eax
	movl	%eax, %r12d
	subl	$1, %ebx
	jne	.L2
	cmpl	$59, %eax
	jle	.L9
	leal	-60(%rax), %ecx
	movl	$2290649225, %esi
	movq	%rcx, %rdx
	imulq	%rsi, %rcx
	shrq	$37, %rcx
	addl	$1, %ecx
	cmpl	$239, %edx
	jbe	.L10
	movd	%eax, %xmm4
	movl	%ecx, %edx
	movdqa	.LC0(%rip), %xmm3
	movdqa	.LC3(%rip), %xmm7
	pshufd	$0, %xmm4, %xmm2
	movdqa	.LC4(%rip), %xmm6
	shrl	$2, %edx
	paddd	.LC2(%rip), %xmm2
	movdqa	.LC5(%rip), %xmm5
	movdqa	.LC6(%rip), %xmm4
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm3, %xmm0
	movdqa	%xmm2, %xmm1
	paddd	%xmm7, %xmm3
	addl	$1, %ebx
	paddd	%xmm6, %xmm2
	paddd	%xmm5, %xmm1
	paddd	%xmm4, %xmm0
	cmpl	%ebx, %edx
	jne	.L5
	movl	%ecx, %esi
	pshufd	$255, %xmm0, %xmm0
	pshufd	$255, %xmm1, %xmm1
	andl	$-4, %esi
	movd	%xmm0, %edx
	movd	%xmm1, %r12d
	movl	%esi, %r8d
	movl	%esi, %edi
	sall	$4, %r8d
	subl	%r8d, %edi
	leal	(%rax,%rdi,4), %eax
	cmpl	%esi, %ecx
	je	.L3
.L4:
	leal	-60(%rax), %r12d
	leal	1(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-120(%rax), %r12d
	leal	2(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-180(%rax), %r12d
	leal	3(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-240(%rax), %r12d
	leal	4(%rsi), %edx
.L3:
	xorl	%eax, %eax
	movl	%r12d, %ecx
	movl	$1, %edi
	leaq	.LC7(%rip), %rsi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	xorl	%edx, %edx
	jmp	.L3
.L10:
	xorl	%esi, %esi
	jmp	.L4
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	0
	.long	-60
	.long	-120
	.long	-180
	.align 16
.LC3:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC4:
	.long	-240
	.long	-240
	.long	-240
	.long	-240
	.align 16
.LC5:
	.long	-60
	.long	-60
	.long	-60
	.long	-60
	.align 16
.LC6:
	.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:
```

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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	" %d"
.LC7:
	.string	"%d\n%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xorl	%r12d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	$4, %ebx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r13
.L2:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	addl	%r12d, %eax
	movl	%eax, %r12d
	subl	$1, %ebx
	jne	.L2
	cmpl	$59, %eax
	jle	.L9
	leal	-60(%rax), %ecx
	movl	$2290649225, %esi
	movq	%rcx, %rdx
	imulq	%rsi, %rcx
	shrq	$37, %rcx
	addl	$1, %ecx
	cmpl	$239, %edx
	jbe	.L10
	movd	%eax, %xmm4
	movl	%ecx, %edx
	movdqa	.LC0(%rip), %xmm3
	movdqa	.LC3(%rip), %xmm7
	pshufd	$0, %xmm4, %xmm2
	movdqa	.LC4(%rip), %xmm6
	shrl	$2, %edx
	paddd	.LC2(%rip), %xmm2
	movdqa	.LC5(%rip), %xmm5
	movdqa	.LC6(%rip), %xmm4
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm3, %xmm0
	movdqa	%xmm2, %xmm1
	paddd	%xmm7, %xmm3
	addl	$1, %ebx
	paddd	%xmm6, %xmm2
	paddd	%xmm5, %xmm1
	paddd	%xmm4, %xmm0
	cmpl	%ebx, %edx
	jne	.L5
	movl	%ecx, %esi
	pshufd	$255, %xmm0, %xmm0
	pshufd	$255, %xmm1, %xmm1
	andl	$-4, %esi
	movd	%xmm0, %edx
	movd	%xmm1, %r12d
	movl	%esi, %r8d
	movl	%esi, %edi
	sall	$4, %r8d
	subl	%r8d, %edi
	leal	(%rax,%rdi,4), %eax
	cmpl	%esi, %ecx
	je	.L3
.L4:
	leal	-60(%rax), %r12d
	leal	1(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-120(%rax), %r12d
	leal	2(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-180(%rax), %r12d
	leal	3(%rsi), %edx
	cmpl	$59, %r12d
	jle	.L3
	leal	-240(%rax), %r12d
	leal	4(%rsi), %edx
.L3:
	xorl	%eax, %eax
	movl	%r12d, %ecx
	movl	$1, %edi
	leaq	.LC7(%rip), %rsi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	xorl	%edx, %edx
	jmp	.L3
.L10:
	xorl	%esi, %esi
	jmp	.L4
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	0
	.long	-60
	.long	-120
	.long	-180
	.align 16
.LC3:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC4:
	.long	-240
	.long	-240
	.long	-240
	.long	-240
	.align 16
.LC5:
	.long	-60
	.long	-60
	.long	-60
	.long	-60
	.align 16
.LC6:
	.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:
```