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()
{
    int N, m, min=10000001, i, sum=0, sum1=0, count=0;
    scanf("%d%d",&N, &m);
    int L[N];

    for(i=0; i<N; i++)
    {
        scanf("%d", &L[i]);
        sum += L[i];
        }

    for(i=0; i<N; i++)
        if(L[i] < min)
            min= L[i];
    int t_d = N + (m - sum) / min;
    printf("%d\n", t_d);

}

// Author: Sorowar Mahabub
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d"
.LC3:
	.string	"%d\n"
	.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	.LC1(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L22:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L22
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L23
.L4:
	movq	%rsp, %rbx
	movq	%rbx, -72(%rbp)
	testl	%ecx, %ecx
	jle	.L12
	movq	%rbx, %r15
	xorl	%r14d, %r14d
	leaq	.LC2(%rip), %r13
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbx, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %ecx
	addl	(%rbx), %r14d
	addq	$4, %rbx
	cmpl	%r12d, %ecx
	jg	.L6
	testl	%ecx, %ecx
	jle	.L13
	leal	-1(%rcx), %eax
	cmpl	$2, %eax
	jbe	.L14
	movl	%ecx, %eax
	movdqa	.LC0(%rip), %xmm0
	shrl	$2, %eax
	salq	$4, %rax
	addq	-72(%rbp), %rax
	.p2align 4,,10
	.p2align 3
.L8:
	movdqu	(%r15), %xmm1
	movdqu	(%r15), %xmm3
	addq	$16, %r15
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm3, %xmm1
	por	%xmm1, %xmm0
	cmpq	%rax, %r15
	jne	.L8
	movdqa	%xmm0, %xmm2
	movl	%ecx, %eax
	psrldq	$8, %xmm2
	andl	$-4, %eax
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %esi
	testb	$3, %cl
	je	.L5
.L7:
	movq	-72(%rbp), %rdi
	movslq	%eax, %rdx
	leaq	(%rdi,%rdx,4), %rdx
	movl	(%rdx), %edi
	cmpl	%edi, %esi
	cmovg	%edi, %esi
	leal	1(%rax), %edi
	cmpl	%edi, %ecx
	jle	.L5
	movl	4(%rdx), %edi
	cmpl	%edi, %esi
	cmovg	%edi, %esi
	addl	$2, %eax
	cmpl	%eax, %ecx
	jle	.L5
	movl	8(%rdx), %eax
	cmpl	%eax, %esi
	cmovg	%eax, %esi
.L5:
	movl	-60(%rbp), %eax
	movl	$1, %edi
	subl	%r14d, %eax
	cltd
	idivl	%esi
	leaq	.LC3(%rip), %rsi
	leal	(%rax,%rcx), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L24
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L23:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L12:
	xorl	%r14d, %r14d
	movl	$10000001, %esi
	jmp	.L5
.L14:
	xorl	%eax, %eax
	movl	$10000001, %esi
	jmp	.L7
.L13:
	movl	$10000001, %esi
	jmp	.L5
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	10000001
	.long	10000001
	.long	10000001
	.long	10000001
	.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%d"
.LC2:
	.string	"%d"
.LC3:
	.string	"%d\n"
	.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	.LC1(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L22:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L22
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L23
.L4:
	movq	%rsp, %rbx
	movq	%rbx, -72(%rbp)
	testl	%ecx, %ecx
	jle	.L12
	movq	%rbx, %r15
	xorl	%r14d, %r14d
	leaq	.LC2(%rip), %r13
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbx, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %ecx
	addl	(%rbx), %r14d
	addq	$4, %rbx
	cmpl	%r12d, %ecx
	jg	.L6
	testl	%ecx, %ecx
	jle	.L13
	leal	-1(%rcx), %eax
	cmpl	$2, %eax
	jbe	.L14
	movl	%ecx, %eax
	movdqa	.LC0(%rip), %xmm0
	shrl	$2, %eax
	salq	$4, %rax
	addq	-72(%rbp), %rax
	.p2align 4,,10
	.p2align 3
.L8:
	movdqu	(%r15), %xmm1
	movdqu	(%r15), %xmm3
	addq	$16, %r15
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm3, %xmm1
	por	%xmm1, %xmm0
	cmpq	%rax, %r15
	jne	.L8
	movdqa	%xmm0, %xmm2
	movl	%ecx, %eax
	psrldq	$8, %xmm2
	andl	$-4, %eax
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %esi
	testb	$3, %cl
	je	.L5
.L7:
	movq	-72(%rbp), %rdi
	movslq	%eax, %rdx
	leaq	(%rdi,%rdx,4), %rdx
	movl	(%rdx), %edi
	cmpl	%edi, %esi
	cmovg	%edi, %esi
	leal	1(%rax), %edi
	cmpl	%edi, %ecx
	jle	.L5
	movl	4(%rdx), %edi
	cmpl	%edi, %esi
	cmovg	%edi, %esi
	addl	$2, %eax
	cmpl	%eax, %ecx
	jle	.L5
	movl	8(%rdx), %eax
	cmpl	%eax, %esi
	cmovg	%eax, %esi
.L5:
	movl	-60(%rbp), %eax
	movl	$1, %edi
	subl	%r14d, %eax
	cltd
	idivl	%esi
	leaq	.LC3(%rip), %rsi
	leal	(%rax,%rcx), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L24
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L23:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L12:
	xorl	%r14d, %r14d
	movl	$10000001, %esi
	jmp	.L5
.L14:
	xorl	%eax, %eax
	movl	$10000001, %esi
	jmp	.L7
.L13:
	movl	$10000001, %esi
	jmp	.L5
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	10000001
	.long	10000001
	.long	10000001
	.long	10000001
	.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%d"
.LC2:
	.string	"%d"
.LC3:
	.string	"%d\n"
	.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	.LC1(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L22:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L22
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L23
.L4:
	movq	%rsp, %rbx
	movq	%rbx, -72(%rbp)
	testl	%ecx, %ecx
	jle	.L12
	movq	%rbx, %r15
	xorl	%r14d, %r14d
	leaq	.LC2(%rip), %r13
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbx, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %ecx
	addl	(%rbx), %r14d
	addq	$4, %rbx
	cmpl	%r12d, %ecx
	jg	.L6
	testl	%ecx, %ecx
	jle	.L13
	leal	-1(%rcx), %eax
	cmpl	$2, %eax
	jbe	.L14
	movl	%ecx, %eax
	movdqa	.LC0(%rip), %xmm0
	shrl	$2, %eax
	salq	$4, %rax
	addq	-72(%rbp), %rax
	.p2align 4,,10
	.p2align 3
.L8:
	movdqu	(%r15), %xmm1
	movdqu	(%r15), %xmm3
	addq	$16, %r15
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm3, %xmm1
	por	%xmm1, %xmm0
	cmpq	%rax, %r15
	jne	.L8
	movdqa	%xmm0, %xmm2
	movl	%ecx, %eax
	psrldq	$8, %xmm2
	andl	$-4, %eax
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %esi
	testb	$3, %cl
	je	.L5
.L7:
	movq	-72(%rbp), %rdi
	movslq	%eax, %rdx
	leaq	(%rdi,%rdx,4), %rdx
	movl	(%rdx), %edi
	cmpl	%edi, %esi
	cmovg	%edi, %esi
	leal	1(%rax), %edi
	cmpl	%edi, %ecx
	jle	.L5
	movl	4(%rdx), %edi
	cmpl	%edi, %esi
	cmovg	%edi, %esi
	addl	$2, %eax
	cmpl	%eax, %ecx
	jle	.L5
	movl	8(%rdx), %eax
	cmpl	%eax, %esi
	cmovg	%eax, %esi
.L5:
	movl	-60(%rbp), %eax
	movl	$1, %edi
	subl	%r14d, %eax
	cltd
	idivl	%esi
	leaq	.LC3(%rip), %rsi
	leal	(%rax,%rcx), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L24
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L23:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L12:
	xorl	%r14d, %r14d
	movl	$10000001, %esi
	jmp	.L5
.L14:
	xorl	%eax, %eax
	movl	$10000001, %esi
	jmp	.L7
.L13:
	movl	$10000001, %esi
	jmp	.L5
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	10000001
	.long	10000001
	.long	10000001
	.long	10000001
	.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()
{
    int N, m, min=10000001, i, sum=0, sum1=0, count=0;
    scanf("%d%d",&N, &m);
    int L[N];

    for(i=0; i<N; i++)
    {
        scanf("%d", &L[i]);
        sum += L[i];
        }

    for(i=0; i<N; i++)
        if(L[i] < min)
            min= L[i];
    int t_d = N + (m - sum) / min;
    printf("%d\n", t_d);

}

// Author: Sorowar Mahabub
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c

#include<stdio.h>
int main()
{
    int N, m, min=10000001, i, sum=0, sum1=0, count=0;
    scanf("%d%d",&N, &m);
    int L[N];

    for(i=0; i<N; i++)
    {
        scanf("%d", &L[i]);
        sum += L[i];
        }

    for(i=0; i<N; i++)
        if(L[i] < min)
            min= L[i];
    int t_d = N + (m - sum) / min;
    printf("%d\n", t_d);

}

// Author: Sorowar Mahabub
```

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:

3 1001
120
100
140
 5 3000
150
130
150
130
100
 3 1001
120
110
140
 4 360
90
13
126
90
 4 293
90
13
126
90
 4 293
144
13
126
90
 4 293
144
13
41
90
 3 0111
129
110
140
 4 293
144
13
17
90
 4 293
144
13
27
90

9
 28
 8
 7
 2
 -2
 4
 1
 6
 5

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()
{
    int N, m, min=10000001, i, sum=0, sum1=0, count=0;
    scanf("%d%d",&N, &m);
    int L[N];

    for(i=0; i<N; i++)
    {
        scanf("%d", &L[i]);
        sum += L[i];
        }

    for(i=0; i<N; i++)
        if(L[i] < min)
            min= L[i];
    int t_d = N + (m - sum) / min;
    printf("%d\n", t_d);

}

// Author: Sorowar Mahabub
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d"
.LC3:
	.string	"%d\n"
	.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	.LC1(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L22:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L22
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L23
.L4:
	movq	%rsp, %rbx
	movq	%rbx, -72(%rbp)
	testl	%ecx, %ecx
	jle	.L12
	movq	%rbx, %r15
	xorl	%r14d, %r14d
	leaq	.LC2(%rip), %r13
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbx, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %ecx
	addl	(%rbx), %r14d
	addq	$4, %rbx
	cmpl	%r12d, %ecx
	jg	.L6
	testl	%ecx, %ecx
	jle	.L13
	leal	-1(%rcx), %eax
	cmpl	$2, %eax
	jbe	.L14
	movl	%ecx, %eax
	movdqa	.LC0(%rip), %xmm0
	shrl	$2, %eax
	salq	$4, %rax
	addq	-72(%rbp), %rax
	.p2align 4,,10
	.p2align 3
.L8:
	movdqu	(%r15), %xmm1
	movdqu	(%r15), %xmm3
	addq	$16, %r15
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm3, %xmm1
	por	%xmm1, %xmm0
	cmpq	%rax, %r15
	jne	.L8
	movdqa	%xmm0, %xmm2
	movl	%ecx, %eax
	psrldq	$8, %xmm2
	andl	$-4, %eax
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %esi
	testb	$3, %cl
	je	.L5
.L7:
	movq	-72(%rbp), %rdi
	movslq	%eax, %rdx
	leaq	(%rdi,%rdx,4), %rdx
	movl	(%rdx), %edi
	cmpl	%edi, %esi
	cmovg	%edi, %esi
	leal	1(%rax), %edi
	cmpl	%edi, %ecx
	jle	.L5
	movl	4(%rdx), %edi
	cmpl	%edi, %esi
	cmovg	%edi, %esi
	addl	$2, %eax
	cmpl	%eax, %ecx
	jle	.L5
	movl	8(%rdx), %eax
	cmpl	%eax, %esi
	cmovg	%eax, %esi
.L5:
	movl	-60(%rbp), %eax
	movl	$1, %edi
	subl	%r14d, %eax
	cltd
	idivl	%esi
	leaq	.LC3(%rip), %rsi
	leal	(%rax,%rcx), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L24
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L23:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L12:
	xorl	%r14d, %r14d
	movl	$10000001, %esi
	jmp	.L5
.L14:
	xorl	%eax, %eax
	movl	$10000001, %esi
	jmp	.L7
.L13:
	movl	$10000001, %esi
	jmp	.L5
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	10000001
	.long	10000001
	.long	10000001
	.long	10000001
	.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%d"
.LC2:
	.string	"%d"
.LC3:
	.string	"%d\n"
	.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	.LC1(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L22:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L22
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L23
.L4:
	movq	%rsp, %rbx
	movq	%rbx, -72(%rbp)
	testl	%ecx, %ecx
	jle	.L12
	movq	%rbx, %r15
	xorl	%r14d, %r14d
	leaq	.LC2(%rip), %r13
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbx, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %ecx
	addl	(%rbx), %r14d
	addq	$4, %rbx
	cmpl	%r12d, %ecx
	jg	.L6
	testl	%ecx, %ecx
	jle	.L13
	leal	-1(%rcx), %eax
	cmpl	$2, %eax
	jbe	.L14
	movl	%ecx, %eax
	movdqa	.LC0(%rip), %xmm0
	shrl	$2, %eax
	salq	$4, %rax
	addq	-72(%rbp), %rax
	.p2align 4,,10
	.p2align 3
.L8:
	movdqu	(%r15), %xmm1
	movdqu	(%r15), %xmm3
	addq	$16, %r15
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm3, %xmm1
	por	%xmm1, %xmm0
	cmpq	%rax, %r15
	jne	.L8
	movdqa	%xmm0, %xmm2
	movl	%ecx, %eax
	psrldq	$8, %xmm2
	andl	$-4, %eax
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %esi
	testb	$3, %cl
	je	.L5
.L7:
	movq	-72(%rbp), %rdi
	movslq	%eax, %rdx
	leaq	(%rdi,%rdx,4), %rdx
	movl	(%rdx), %edi
	cmpl	%edi, %esi
	cmovg	%edi, %esi
	leal	1(%rax), %edi
	cmpl	%edi, %ecx
	jle	.L5
	movl	4(%rdx), %edi
	cmpl	%edi, %esi
	cmovg	%edi, %esi
	addl	$2, %eax
	cmpl	%eax, %ecx
	jle	.L5
	movl	8(%rdx), %eax
	cmpl	%eax, %esi
	cmovg	%eax, %esi
.L5:
	movl	-60(%rbp), %eax
	movl	$1, %edi
	subl	%r14d, %eax
	cltd
	idivl	%esi
	leaq	.LC3(%rip), %rsi
	leal	(%rax,%rcx), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L24
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L23:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L12:
	xorl	%r14d, %r14d
	movl	$10000001, %esi
	jmp	.L5
.L14:
	xorl	%eax, %eax
	movl	$10000001, %esi
	jmp	.L7
.L13:
	movl	$10000001, %esi
	jmp	.L5
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	10000001
	.long	10000001
	.long	10000001
	.long	10000001
	.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:
```