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 main()
{
	long long int k;
	scanf("%lld", &k);
	long long  int i, n = 50;
	long long int a[50];
	for (i = 0; i < n; i++)
		a[i] = n - 1 + k / n;
	k %= n;
	for (i = 0; i < k; i++)
		a[i] += n - k + 1;
	for (i = k; i < n; i++)
		a[i] -= k;
	printf("%lld\n", n);
	for (i = 0; i < n - 1; i++)
		printf("%lld ", a[i]);
	printf("%lld\n", a[n - 1]);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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	$448, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$50, -424(%rbp)
	movq	$0, -432(%rbp)
	jmp	.L2
.L3:
	movq	-424(%rbp), %rax
	leaq	-1(%rax), %rcx
	movq	-440(%rbp), %rax
	cqto
	idivq	-424(%rbp)
	leaq	(%rcx,%rax), %rdx
	movq	-432(%rbp), %rax
	movq	%rdx, -416(%rbp,%rax,8)
	addq	$1, -432(%rbp)
.L2:
	movq	-432(%rbp), %rax
	cmpq	-424(%rbp), %rax
	jl	.L3
	movq	-440(%rbp), %rax
	cqto
	idivq	-424(%rbp)
	movq	%rdx, %rax
	movq	%rax, -440(%rbp)
	movq	$0, -432(%rbp)
	jmp	.L4
.L5:
	movq	-432(%rbp), %rax
	movq	-416(%rbp,%rax,8), %rdx
	movq	-440(%rbp), %rcx
	movq	-424(%rbp), %rax
	subq	%rcx, %rax
	addq	$1, %rax
	addq	%rax, %rdx
	movq	-432(%rbp), %rax
	movq	%rdx, -416(%rbp,%rax,8)
	addq	$1, -432(%rbp)
.L4:
	movq	-440(%rbp), %rax
	cmpq	%rax, -432(%rbp)
	jl	.L5
	movq	-440(%rbp), %rax
	movq	%rax, -432(%rbp)
	jmp	.L6
.L7:
	movq	-432(%rbp), %rax
	movq	-416(%rbp,%rax,8), %rax
	movq	-440(%rbp), %rcx
	subq	%rcx, %rax
	movq	%rax, %rdx
	movq	-432(%rbp), %rax
	movq	%rdx, -416(%rbp,%rax,8)
	addq	$1, -432(%rbp)
.L6:
	movq	-432(%rbp), %rax
	cmpq	-424(%rbp), %rax
	jl	.L7
	movq	-424(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	$0, -432(%rbp)
	jmp	.L8
.L9:
	movq	-432(%rbp), %rax
	movq	-416(%rbp,%rax,8), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -432(%rbp)
.L8:
	movq	-424(%rbp), %rax
	subq	$1, %rax
	cmpq	%rax, -432(%rbp)
	jl	.L9
	movq	-424(%rbp), %rax
	subq	$1, %rax
	movq	-416(%rbp,%rax,8), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	49(%rdx), %rax
	leaq	416(%rsp), %rdx
	movq	%rax, %xmm0
	movq	%r12, %rax
	punpcklqdq	%xmm0, %xmm0
	.p2align 4,,10
	.p2align 3
.L2:
	movaps	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L2
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rax,%rax,4), %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
	movq	%rcx, %rdx
	testq	%rcx, %rcx
	jle	.L28
	movl	$51, %ecx
	subq	%rdx, %rcx
	cmpq	$1, %rdx
	je	.L16
	movq	%rdx, %rsi
	movq	%rcx, %xmm1
	movq	%r12, %rax
	shrq	%rsi
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rsi
	addq	%r12, %rsi
	.p2align 4,,10
	.p2align 3
.L7:
	movdqa	(%rax), %xmm0
	addq	$16, %rax
	paddq	%xmm1, %xmm0
	movaps	%xmm0, -16(%rax)
	cmpq	%rsi, %rax
	jne	.L7
	movq	%rdx, %rax
	andq	$-2, %rax
	testb	$1, %dl
	je	.L11
.L6:
	addq	%rcx, 16(%rsp,%rax,8)
.L11:
	movl	$50, %esi
	subq	%rdx, %rsi
	cmpq	$49, %rdx
	je	.L29
.L10:
	movq	%rsi, %rcx
	movq	%rdx, %xmm1
	leaq	(%r12,%rdx,8), %rax
	shrq	%rcx
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rcx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	psubq	%xmm1, %xmm0
	movups	%xmm0, -16(%rax)
	cmpq	%rax, %rcx
	jne	.L5
	movq	%rsi, %rcx
	andq	$-2, %rcx
	leaq	(%rcx,%rdx), %rax
	cmpq	%rsi, %rcx
	je	.L12
.L9:
	subq	%rdx, 16(%rsp,%rax,8)
.L12:
	leaq	.LC1(%rip), %r13
	movl	$50, %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r13, %rsi
	addq	$392, %r12
	leaq	.LC2(%rip), %rbp
	call	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rbx), %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$8, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L14
	movq	408(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r13, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$440, %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
.L28:
	.cfi_restore_state
	movl	$50, %esi
	subq	%rcx, %rsi
	jmp	.L10
.L29:
	movl	$49, %eax
	jmp	.L9
.L16:
	xorl	%eax, %eax
	jmp	.L6
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	49(%rdx), %rax
	leaq	416(%rsp), %rdx
	movq	%rax, %xmm0
	movq	%r12, %rax
	punpcklqdq	%xmm0, %xmm0
	.p2align 4,,10
	.p2align 3
.L2:
	movaps	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L2
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rax,%rax,4), %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
	movq	%rcx, %rdx
	testq	%rcx, %rcx
	jle	.L28
	movl	$51, %ecx
	subq	%rdx, %rcx
	cmpq	$1, %rdx
	je	.L16
	movq	%rdx, %rsi
	movq	%rcx, %xmm1
	movq	%r12, %rax
	shrq	%rsi
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rsi
	addq	%r12, %rsi
	.p2align 4,,10
	.p2align 3
.L7:
	movdqa	(%rax), %xmm0
	addq	$16, %rax
	paddq	%xmm1, %xmm0
	movaps	%xmm0, -16(%rax)
	cmpq	%rsi, %rax
	jne	.L7
	movq	%rdx, %rax
	andq	$-2, %rax
	testb	$1, %dl
	je	.L11
.L6:
	addq	%rcx, 16(%rsp,%rax,8)
.L11:
	movl	$50, %esi
	subq	%rdx, %rsi
	cmpq	$49, %rdx
	je	.L29
.L10:
	movq	%rsi, %rcx
	movq	%rdx, %xmm1
	leaq	(%r12,%rdx,8), %rax
	shrq	%rcx
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rcx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	psubq	%xmm1, %xmm0
	movups	%xmm0, -16(%rax)
	cmpq	%rax, %rcx
	jne	.L5
	movq	%rsi, %rcx
	andq	$-2, %rcx
	leaq	(%rcx,%rdx), %rax
	cmpq	%rsi, %rcx
	je	.L12
.L9:
	subq	%rdx, 16(%rsp,%rax,8)
.L12:
	leaq	.LC1(%rip), %r13
	movl	$50, %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r13, %rsi
	addq	$392, %r12
	leaq	.LC2(%rip), %rbp
	call	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rbx), %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$8, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L14
	movq	408(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r13, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$440, %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
.L28:
	.cfi_restore_state
	movl	$50, %esi
	subq	%rcx, %rsi
	jmp	.L10
.L29:
	movl	$49, %eax
	jmp	.L9
.L16:
	xorl	%eax, %eax
	jmp	.L6
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:

#include<stdio.h>
int main()
{
	long long int k;
	scanf("%lld", &k);
	long long  int i, n = 50;
	long long int a[50];
	for (i = 0; i < n; i++)
		a[i] = n - 1 + k / n;
	k %= n;
	for (i = 0; i < k; i++)
		a[i] += n - k + 1;
	for (i = k; i < n; i++)
		a[i] -= k;
	printf("%lld\n", n);
	for (i = 0; i < n - 1; i++)
		printf("%lld ", a[i]);
	printf("%lld\n", a[n - 1]);
	return 0;
}
0

50
49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49

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 main()
{
	long long int k;
	scanf("%lld", &k);
	long long  int i, n = 50;
	long long int a[50];
	for (i = 0; i < n; i++)
		a[i] = n - 1 + k / n;
	k %= n;
	for (i = 0; i < k; i++)
		a[i] += n - k + 1;
	for (i = k; i < n; i++)
		a[i] -= k;
	printf("%lld\n", n);
	for (i = 0; i < n - 1; i++)
		printf("%lld ", a[i]);
	printf("%lld\n", a[n - 1]);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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	$448, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$50, -424(%rbp)
	movq	$0, -432(%rbp)
	jmp	.L2
.L3:
	movq	-424(%rbp), %rax
	leaq	-1(%rax), %rcx
	movq	-440(%rbp), %rax
	cqto
	idivq	-424(%rbp)
	leaq	(%rcx,%rax), %rdx
	movq	-432(%rbp), %rax
	movq	%rdx, -416(%rbp,%rax,8)
	addq	$1, -432(%rbp)
.L2:
	movq	-432(%rbp), %rax
	cmpq	-424(%rbp), %rax
	jl	.L3
	movq	-440(%rbp), %rax
	cqto
	idivq	-424(%rbp)
	movq	%rdx, %rax
	movq	%rax, -440(%rbp)
	movq	$0, -432(%rbp)
	jmp	.L4
.L5:
	movq	-432(%rbp), %rax
	movq	-416(%rbp,%rax,8), %rdx
	movq	-440(%rbp), %rcx
	movq	-424(%rbp), %rax
	subq	%rcx, %rax
	addq	$1, %rax
	addq	%rax, %rdx
	movq	-432(%rbp), %rax
	movq	%rdx, -416(%rbp,%rax,8)
	addq	$1, -432(%rbp)
.L4:
	movq	-440(%rbp), %rax
	cmpq	%rax, -432(%rbp)
	jl	.L5
	movq	-440(%rbp), %rax
	movq	%rax, -432(%rbp)
	jmp	.L6
.L7:
	movq	-432(%rbp), %rax
	movq	-416(%rbp,%rax,8), %rax
	movq	-440(%rbp), %rcx
	subq	%rcx, %rax
	movq	%rax, %rdx
	movq	-432(%rbp), %rax
	movq	%rdx, -416(%rbp,%rax,8)
	addq	$1, -432(%rbp)
.L6:
	movq	-432(%rbp), %rax
	cmpq	-424(%rbp), %rax
	jl	.L7
	movq	-424(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	$0, -432(%rbp)
	jmp	.L8
.L9:
	movq	-432(%rbp), %rax
	movq	-416(%rbp,%rax,8), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -432(%rbp)
.L8:
	movq	-424(%rbp), %rax
	subq	$1, %rax
	cmpq	%rax, -432(%rbp)
	jl	.L9
	movq	-424(%rbp), %rax
	subq	$1, %rax
	movq	-416(%rbp,%rax,8), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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	$448, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$50, -424(%rbp)
	movq	$0, -432(%rbp)
	jmp	.L2
.L3:
	movq	-424(%rbp), %rax
	leaq	-1(%rax), %rcx
	movq	-440(%rbp), %rax
	cqto
	idivq	-424(%rbp)
	leaq	(%rcx,%rax), %rdx
	movq	-432(%rbp), %rax
	movq	%rdx, -416(%rbp,%rax,8)
	addq	$1, -432(%rbp)
.L2:
	movq	-432(%rbp), %rax
	cmpq	-424(%rbp), %rax
	jl	.L3
	movq	-440(%rbp), %rax
	cqto
	idivq	-424(%rbp)
	movq	%rdx, %rax
	movq	%rax, -440(%rbp)
	movq	$0, -432(%rbp)
	jmp	.L4
.L5:
	movq	-432(%rbp), %rax
	movq	-416(%rbp,%rax,8), %rdx
	movq	-440(%rbp), %rcx
	movq	-424(%rbp), %rax
	subq	%rcx, %rax
	addq	$1, %rax
	addq	%rax, %rdx
	movq	-432(%rbp), %rax
	movq	%rdx, -416(%rbp,%rax,8)
	addq	$1, -432(%rbp)
.L4:
	movq	-440(%rbp), %rax
	cmpq	%rax, -432(%rbp)
	jl	.L5
	movq	-440(%rbp), %rax
	movq	%rax, -432(%rbp)
	jmp	.L6
.L7:
	movq	-432(%rbp), %rax
	movq	-416(%rbp,%rax,8), %rax
	movq	-440(%rbp), %rcx
	subq	%rcx, %rax
	movq	%rax, %rdx
	movq	-432(%rbp), %rax
	movq	%rdx, -416(%rbp,%rax,8)
	addq	$1, -432(%rbp)
.L6:
	movq	-432(%rbp), %rax
	cmpq	-424(%rbp), %rax
	jl	.L7
	movq	-424(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	$0, -432(%rbp)
	jmp	.L8
.L9:
	movq	-432(%rbp), %rax
	movq	-416(%rbp,%rax,8), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -432(%rbp)
.L8:
	movq	-424(%rbp), %rax
	subq	$1, %rax
	cmpq	%rax, -432(%rbp)
	jl	.L9
	movq	-424(%rbp), %rax
	subq	$1, %rax
	movq	-416(%rbp,%rax,8), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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:
