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>
#include <stdlib.h>

int main(void)
{
	int n, l;
	scanf("%d %d", &n, &l);
	int i = 1;
	int sum = 0;
	while (i <= n)
	{
		sum += i;
		i++;
	}
	if ( l >= 0)
	{
		printf("%d\n", n*l - n + sum - l);
	}
	else if (-1*l >= n)
	{
		printf("%d\n", n*l - n + sum - (l+n-1));
	}
	else
	{
		printf("%d\n", n*l - n + sum );
	}
	return (0);
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d %d"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L11
	leal	-1(%rcx), %eax
	cmpl	$9, %eax
	jbe	.L12
	movl	%ecx, %edx
	movdqa	.LC0(%rip), %xmm1
	xorl	%eax, %eax
	pxor	%xmm0, %xmm0
	movdqa	.LC2(%rip), %xmm3
	shrl	$2, %edx
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm1, %xmm2
	addl	$1, %eax
	paddd	%xmm3, %xmm1
	paddd	%xmm2, %xmm0
	cmpl	%eax, %edx
	jne	.L4
	movdqa	%xmm0, %xmm1
	movl	%ecx, %esi
	psrldq	$8, %xmm1
	andl	$-4, %esi
	paddd	%xmm1, %xmm0
	leal	1(%rsi), %edx
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	%esi, %ecx
	je	.L2
.L3:
	leal	1(%rdx), %esi
	addl	%edx, %eax
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	2(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	3(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	4(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	5(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	6(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	7(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	8(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	$9, %edx
	addl	%esi, %eax
	cmpl	%edx, %ecx
	jl	.L2
	addl	%edx, %eax
.L2:
	movl	4(%rsp), %esi
	testl	%esi, %esi
	jns	.L16
	movl	%esi, %edx
	negl	%edx
	cmpl	%edx, %ecx
	jle	.L17
	leal	-1(%rsi), %edx
	movl	$1, %edi
	movl	%edx, %esi
	imull	%ecx, %esi
	leal	(%rsi,%rax), %edx
	leaq	.LC3(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L8:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	movl	%esi, %edx
	movl	$1, %edi
	imull	%ecx, %edx
	subl	%ecx, %edx
	addl	%eax, %edx
	leal	-1(%rsi,%rcx), %eax
	leaq	.LC3(%rip), %rsi
	subl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L8
.L16:
	leal	-1(%rsi), %edx
	movl	$1, %edi
	imull	%ecx, %edx
	addl	%eax, %edx
	xorl	%eax, %eax
	subl	%esi, %edx
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L8
.L11:
	xorl	%eax, %eax
	jmp	.L2
.L12:
	xorl	%eax, %eax
	movl	$1, %edx
	jmp	.L3
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.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"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L11
	leal	-1(%rcx), %eax
	cmpl	$9, %eax
	jbe	.L12
	movl	%ecx, %edx
	movdqa	.LC0(%rip), %xmm1
	xorl	%eax, %eax
	pxor	%xmm0, %xmm0
	movdqa	.LC2(%rip), %xmm3
	shrl	$2, %edx
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm1, %xmm2
	addl	$1, %eax
	paddd	%xmm3, %xmm1
	paddd	%xmm2, %xmm0
	cmpl	%eax, %edx
	jne	.L4
	movdqa	%xmm0, %xmm1
	movl	%ecx, %esi
	psrldq	$8, %xmm1
	andl	$-4, %esi
	paddd	%xmm1, %xmm0
	leal	1(%rsi), %edx
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	%esi, %ecx
	je	.L2
.L3:
	leal	1(%rdx), %esi
	addl	%edx, %eax
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	2(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	3(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	4(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	5(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	6(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	7(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	8(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	$9, %edx
	addl	%esi, %eax
	cmpl	%edx, %ecx
	jl	.L2
	addl	%edx, %eax
.L2:
	movl	4(%rsp), %esi
	testl	%esi, %esi
	jns	.L16
	movl	%esi, %edx
	negl	%edx
	cmpl	%edx, %ecx
	jle	.L17
	leal	-1(%rsi), %edx
	movl	$1, %edi
	movl	%edx, %esi
	imull	%ecx, %esi
	leal	(%rsi,%rax), %edx
	leaq	.LC3(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L8:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	movl	%esi, %edx
	movl	$1, %edi
	imull	%ecx, %edx
	subl	%ecx, %edx
	addl	%eax, %edx
	leal	-1(%rsi,%rcx), %eax
	leaq	.LC3(%rip), %rsi
	subl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L8
.L16:
	leal	-1(%rsi), %edx
	movl	$1, %edi
	imull	%ecx, %edx
	addl	%eax, %edx
	xorl	%eax, %eax
	subl	%esi, %edx
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L8
.L11:
	xorl	%eax, %eax
	jmp	.L2
.L12:
	xorl	%eax, %eax
	movl	$1, %edx
	jmp	.L3
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.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"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L11
	leal	-1(%rcx), %eax
	cmpl	$9, %eax
	jbe	.L12
	movl	%ecx, %edx
	movdqa	.LC0(%rip), %xmm1
	xorl	%eax, %eax
	pxor	%xmm0, %xmm0
	movdqa	.LC2(%rip), %xmm3
	shrl	$2, %edx
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm1, %xmm2
	addl	$1, %eax
	paddd	%xmm3, %xmm1
	paddd	%xmm2, %xmm0
	cmpl	%eax, %edx
	jne	.L4
	movdqa	%xmm0, %xmm1
	movl	%ecx, %esi
	psrldq	$8, %xmm1
	andl	$-4, %esi
	paddd	%xmm1, %xmm0
	leal	1(%rsi), %edx
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	%esi, %ecx
	je	.L2
.L3:
	leal	1(%rdx), %esi
	addl	%edx, %eax
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	2(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	3(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	4(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	5(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	6(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	7(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	8(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	$9, %edx
	addl	%esi, %eax
	cmpl	%edx, %ecx
	jl	.L2
	addl	%edx, %eax
.L2:
	movl	4(%rsp), %esi
	testl	%esi, %esi
	jns	.L16
	movl	%esi, %edx
	negl	%edx
	cmpl	%edx, %ecx
	jle	.L17
	leal	-1(%rsi), %edx
	movl	$1, %edi
	movl	%edx, %esi
	imull	%ecx, %esi
	leal	(%rsi,%rax), %edx
	leaq	.LC3(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L8:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	movl	%esi, %edx
	movl	$1, %edi
	imull	%ecx, %edx
	subl	%ecx, %edx
	addl	%eax, %edx
	leal	-1(%rsi,%rcx), %eax
	leaq	.LC3(%rip), %rsi
	subl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L8
.L16:
	leal	-1(%rsi), %edx
	movl	$1, %edi
	imull	%ecx, %edx
	addl	%eax, %edx
	xorl	%eax, %eax
	subl	%esi, %edx
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L8
.L11:
	xorl	%eax, %eax
	jmp	.L2
.L12:
	xorl	%eax, %eax
	movl	$1, %edx
	jmp	.L3
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.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>
#include <stdlib.h>

int main(void)
{
	int n, l;
	scanf("%d %d", &n, &l);
	int i = 1;
	int sum = 0;
	while (i <= n)
	{
		sum += i;
		i++;
	}
	if ( l >= 0)
	{
		printf("%d\n", n*l - n + sum - l);
	}
	else if (-1*l >= n)
	{
		printf("%d\n", n*l - n + sum - (l+n-1));
	}
	else
	{
		printf("%d\n", n*l - n + 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>
#include <stdlib.h>

int main(void)
{
	int n, l;
	scanf("%d %d", &n, &l);
	int i = 1;
	int sum = 0;
	while (i <= n)
	{
		sum += i;
		i++;
	}
	if ( l >= 0)
	{
		printf("%d\n", n*l - n + sum - l);
	}
	else if (-1*l >= n)
	{
		printf("%d\n", n*l - n + sum - (l+n-1));
	}
	else
	{
		printf("%d\n", n*l - n + 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:

5 4
 13 -50
 3 -2
 5 7
 16 -50
 5 -2
 5 9
 23 -50
 4 -2
 8 9

26
 -534
 -3
 38
 -645
 0
 46
 -869
 -2
 91

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>
#include <stdlib.h>

int main(void)
{
	int n, l;
	scanf("%d %d", &n, &l);
	int i = 1;
	int sum = 0;
	while (i <= n)
	{
		sum += i;
		i++;
	}
	if ( l >= 0)
	{
		printf("%d\n", n*l - n + sum - l);
	}
	else if (-1*l >= n)
	{
		printf("%d\n", n*l - n + sum - (l+n-1));
	}
	else
	{
		printf("%d\n", n*l - n + sum );
	}
	return (0);
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d %d"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L11
	leal	-1(%rcx), %eax
	cmpl	$9, %eax
	jbe	.L12
	movl	%ecx, %edx
	movdqa	.LC0(%rip), %xmm1
	xorl	%eax, %eax
	pxor	%xmm0, %xmm0
	movdqa	.LC2(%rip), %xmm3
	shrl	$2, %edx
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm1, %xmm2
	addl	$1, %eax
	paddd	%xmm3, %xmm1
	paddd	%xmm2, %xmm0
	cmpl	%eax, %edx
	jne	.L4
	movdqa	%xmm0, %xmm1
	movl	%ecx, %esi
	psrldq	$8, %xmm1
	andl	$-4, %esi
	paddd	%xmm1, %xmm0
	leal	1(%rsi), %edx
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	%esi, %ecx
	je	.L2
.L3:
	leal	1(%rdx), %esi
	addl	%edx, %eax
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	2(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	3(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	4(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	5(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	6(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	7(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	8(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	$9, %edx
	addl	%esi, %eax
	cmpl	%edx, %ecx
	jl	.L2
	addl	%edx, %eax
.L2:
	movl	4(%rsp), %esi
	testl	%esi, %esi
	jns	.L16
	movl	%esi, %edx
	negl	%edx
	cmpl	%edx, %ecx
	jle	.L17
	leal	-1(%rsi), %edx
	movl	$1, %edi
	movl	%edx, %esi
	imull	%ecx, %esi
	leal	(%rsi,%rax), %edx
	leaq	.LC3(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L8:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	movl	%esi, %edx
	movl	$1, %edi
	imull	%ecx, %edx
	subl	%ecx, %edx
	addl	%eax, %edx
	leal	-1(%rsi,%rcx), %eax
	leaq	.LC3(%rip), %rsi
	subl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L8
.L16:
	leal	-1(%rsi), %edx
	movl	$1, %edi
	imull	%ecx, %edx
	addl	%eax, %edx
	xorl	%eax, %eax
	subl	%esi, %edx
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L8
.L11:
	xorl	%eax, %eax
	jmp	.L2
.L12:
	xorl	%eax, %eax
	movl	$1, %edx
	jmp	.L3
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.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"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L11
	leal	-1(%rcx), %eax
	cmpl	$9, %eax
	jbe	.L12
	movl	%ecx, %edx
	movdqa	.LC0(%rip), %xmm1
	xorl	%eax, %eax
	pxor	%xmm0, %xmm0
	movdqa	.LC2(%rip), %xmm3
	shrl	$2, %edx
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm1, %xmm2
	addl	$1, %eax
	paddd	%xmm3, %xmm1
	paddd	%xmm2, %xmm0
	cmpl	%eax, %edx
	jne	.L4
	movdqa	%xmm0, %xmm1
	movl	%ecx, %esi
	psrldq	$8, %xmm1
	andl	$-4, %esi
	paddd	%xmm1, %xmm0
	leal	1(%rsi), %edx
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	%esi, %ecx
	je	.L2
.L3:
	leal	1(%rdx), %esi
	addl	%edx, %eax
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	2(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	3(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	4(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	5(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	6(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	7(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	%esi, %eax
	leal	8(%rdx), %esi
	cmpl	%esi, %ecx
	jl	.L2
	addl	$9, %edx
	addl	%esi, %eax
	cmpl	%edx, %ecx
	jl	.L2
	addl	%edx, %eax
.L2:
	movl	4(%rsp), %esi
	testl	%esi, %esi
	jns	.L16
	movl	%esi, %edx
	negl	%edx
	cmpl	%edx, %ecx
	jle	.L17
	leal	-1(%rsi), %edx
	movl	$1, %edi
	movl	%edx, %esi
	imull	%ecx, %esi
	leal	(%rsi,%rax), %edx
	leaq	.LC3(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L8:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	movl	%esi, %edx
	movl	$1, %edi
	imull	%ecx, %edx
	subl	%ecx, %edx
	addl	%eax, %edx
	leal	-1(%rsi,%rcx), %eax
	leaq	.LC3(%rip), %rsi
	subl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L8
.L16:
	leal	-1(%rsi), %edx
	movl	$1, %edi
	imull	%ecx, %edx
	addl	%eax, %edx
	xorl	%eax, %eax
	subl	%esi, %edx
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L8
.L11:
	xorl	%eax, %eax
	jmp	.L2
.L12:
	xorl	%eax, %eax
	movl	$1, %edx
	jmp	.L3
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.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:
```