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>
#include <stdint.h>
typedef int64_t i64;

int main(void){
    i64 n, s = 1;
    int count = 1, i;
    char alpha[27] = "abcdefghijklmnopqrstuvwxyz";
    scanf("%ld", &n);
    while(n > 26*(26*s-1)/25){
        s *= 26;
        count++;
    };
    n -= 26*(s-1)/25+1;
    for(i = 0; i < count; i++){
        putchar(alpha[n/s]);
        n %= s;
        s /= 26;
    }
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld"
	.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	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$1, -56(%rbp)
	movl	$1, -72(%rbp)
	movabsq	$7523094288207667809, %rax
	movabsq	$8101815670912281193, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movabsq	$8680537053616894577, %rax
	movq	%rax, -32(%rbp)
	movw	$31353, -24(%rbp)
	movb	$0, -22(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L2
.L3:
	movq	-56(%rbp), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, -56(%rbp)
	addl	$1, -72(%rbp)
.L2:
	movq	-56(%rbp), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$4, %rax
	sarq	$63, %rcx
	subq	%rcx, %rax
	movq	%rax, %rdx
	movq	-64(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L3
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$4, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	leaq	1(%rax), %rdx
	movq	%rsi, %rax
	subq	%rdx, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -68(%rbp)
	jmp	.L4
.L5:
	movq	-64(%rbp), %rax
	cqto
	idivq	-56(%rbp)
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	movq	-64(%rbp), %rax
	cqto
	idivq	-56(%rbp)
	movq	%rdx, %rax
	movq	%rax, -64(%rbp)
	movq	-56(%rbp), %rcx
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -56(%rbp)
	addl	$1, -68(%rbp)
.L4:
	movl	-68(%rbp), %eax
	cmpl	-72(%rbp), %eax
	jl	.L5
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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	"%ld"
	.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
	movl	$1, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$72, %rsp
	.cfi_def_cfa_offset 112
	movdqa	.LC1(%rip), %xmm0
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	movb	$0, 42(%rsp)
	movabsq	$8680537053616894577, %rax
	movq	%rax, 32(%rsp)
	movl	$31353, %eax
	movw	%ax, 40(%rsp)
	xorl	%eax, %eax
	movaps	%xmm0, 16(%rsp)
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rsi
	cmpq	$26, %rsi
	jle	.L6
	movabsq	$-6640827866535438581, %r8
	movl	$26, %edi
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	(%rdi,%rdi,2), %rax
	movq	%rdi, %rbx
	addl	$1, %ebp
	leaq	(%rdi,%rax,4), %rdi
	addq	%rdi, %rdi
	leaq	-1(%rdi), %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rcx
	addq	%rcx, %rcx
	movq	%rcx, %rax
	imulq	%r8
	addq	%rcx, %rdx
	sarq	$63, %rcx
	sarq	$4, %rdx
	subq	%rcx, %rdx
	cmpq	%rsi, %rdx
	jl	.L3
.L2:
	leaq	-1(%rbx), %rax
	xorl	%r13d, %r13d
	movabsq	$5675921253449092805, %r12
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rcx
	movabsq	$-6640827866535438581, %rdx
	addq	%rcx, %rcx
	movq	%rcx, %rax
	imulq	%rdx
	addq	%rcx, %rdx
	sarq	$63, %rcx
	sarq	$4, %rdx
	subq	%rcx, %rdx
	leaq	1(%rdx), %rax
	subq	%rax, %rsi
	movq	%rsi, 8(%rsp)
	movq	%rsi, %rcx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rcx, %rax
	movq	stdout(%rip), %rsi
	addl	$1, %r13d
	cqto
	idivq	%rbx
	movsbl	16(%rsp,%rax), %edi
	call	putc@PLT
	movq	8(%rsp), %rax
	cqto
	idivq	%rbx
	movq	%rbx, %rax
	movq	%rdx, 8(%rsp)
	movq	%rdx, %rcx
	mulq	%r12
	movq	%rdx, %rbx
	shrq	$3, %rbx
	cmpl	%ebp, %r13d
	jne	.L4
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$72, %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
.L6:
	.cfi_restore_state
	movl	$1, %ebx
	jmp	.L2
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	7523094288207667809
	.quad	8101815670912281193
	.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	"%ld"
	.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
	movl	$1, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$72, %rsp
	.cfi_def_cfa_offset 112
	movdqa	.LC1(%rip), %xmm0
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	movb	$0, 42(%rsp)
	movabsq	$8680537053616894577, %rax
	movq	%rax, 32(%rsp)
	movl	$31353, %eax
	movw	%ax, 40(%rsp)
	xorl	%eax, %eax
	movaps	%xmm0, 16(%rsp)
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rsi
	cmpq	$26, %rsi
	jle	.L6
	movabsq	$-6640827866535438581, %r8
	movl	$26, %edi
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	(%rdi,%rdi,2), %rax
	movq	%rdi, %rbx
	addl	$1, %ebp
	leaq	(%rdi,%rax,4), %rdi
	addq	%rdi, %rdi
	leaq	-1(%rdi), %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rcx
	addq	%rcx, %rcx
	movq	%rcx, %rax
	imulq	%r8
	addq	%rcx, %rdx
	sarq	$63, %rcx
	sarq	$4, %rdx
	subq	%rcx, %rdx
	cmpq	%rsi, %rdx
	jl	.L3
.L2:
	leaq	-1(%rbx), %rax
	xorl	%r13d, %r13d
	movabsq	$5675921253449092805, %r12
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rcx
	movabsq	$-6640827866535438581, %rdx
	addq	%rcx, %rcx
	movq	%rcx, %rax
	imulq	%rdx
	addq	%rcx, %rdx
	sarq	$63, %rcx
	sarq	$4, %rdx
	subq	%rcx, %rdx
	leaq	1(%rdx), %rax
	subq	%rax, %rsi
	movq	%rsi, 8(%rsp)
	movq	%rsi, %rcx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rcx, %rax
	movq	stdout(%rip), %rsi
	addl	$1, %r13d
	cqto
	idivq	%rbx
	movsbl	16(%rsp,%rax), %edi
	call	putc@PLT
	movq	8(%rsp), %rax
	cqto
	idivq	%rbx
	movq	%rbx, %rax
	movq	%rdx, 8(%rsp)
	movq	%rdx, %rcx
	mulq	%r12
	movq	%rdx, %rbx
	shrq	$3, %rbx
	cmpl	%ebp, %r13d
	jne	.L4
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$72, %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
.L6:
	.cfi_restore_state
	movl	$1, %ebx
	jmp	.L2
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	7523094288207667809
	.quad	8101815670912281193
	.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>
#include <stdint.h>
typedef int64_t i64;

int main(void){
    i64 n, s = 1;
    int count = 1, i;
    char alpha[27] = "abcdefghijklmnopqrstuvwxyz";
    scanf("%ld", &n);
    while(n > 26*(26*s-1)/25){
        s *= 26;
        count++;
    };
    n -= 26*(s-1)/25+1;
    for(i = 0; i < count; i++){
        putchar(alpha[n/s]);
        n %= s;
        s /= 26;
    }
    return 0;
}
40
 1
 71095103
 51
 50389265
 4
 56744729
 3
 61759127
 6

an a eynzga ay dffxhq d dtdmwo c eecuqa f
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>
#include <stdint.h>
typedef int64_t i64;

int main(void){
    i64 n, s = 1;
    int count = 1, i;
    char alpha[27] = "abcdefghijklmnopqrstuvwxyz";
    scanf("%ld", &n);
    while(n > 26*(26*s-1)/25){
        s *= 26;
        count++;
    };
    n -= 26*(s-1)/25+1;
    for(i = 0; i < count; i++){
        putchar(alpha[n/s]);
        n %= s;
        s /= 26;
    }
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld"
	.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	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$1, -56(%rbp)
	movl	$1, -72(%rbp)
	movabsq	$7523094288207667809, %rax
	movabsq	$8101815670912281193, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movabsq	$8680537053616894577, %rax
	movq	%rax, -32(%rbp)
	movw	$31353, -24(%rbp)
	movb	$0, -22(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L2
.L3:
	movq	-56(%rbp), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, -56(%rbp)
	addl	$1, -72(%rbp)
.L2:
	movq	-56(%rbp), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$4, %rax
	sarq	$63, %rcx
	subq	%rcx, %rax
	movq	%rax, %rdx
	movq	-64(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L3
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$4, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	leaq	1(%rax), %rdx
	movq	%rsi, %rax
	subq	%rdx, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -68(%rbp)
	jmp	.L4
.L5:
	movq	-64(%rbp), %rax
	cqto
	idivq	-56(%rbp)
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	movq	-64(%rbp), %rax
	cqto
	idivq	-56(%rbp)
	movq	%rdx, %rax
	movq	%rax, -64(%rbp)
	movq	-56(%rbp), %rcx
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -56(%rbp)
	addl	$1, -68(%rbp)
.L4:
	movl	-68(%rbp), %eax
	cmpl	-72(%rbp), %eax
	jl	.L5
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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	"%ld"
	.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	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$1, -56(%rbp)
	movl	$1, -72(%rbp)
	movabsq	$7523094288207667809, %rax
	movabsq	$8101815670912281193, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movabsq	$8680537053616894577, %rax
	movq	%rax, -32(%rbp)
	movw	$31353, -24(%rbp)
	movb	$0, -22(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L2
.L3:
	movq	-56(%rbp), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, -56(%rbp)
	addl	$1, -72(%rbp)
.L2:
	movq	-56(%rbp), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$4, %rax
	sarq	$63, %rcx
	subq	%rcx, %rax
	movq	%rax, %rdx
	movq	-64(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L3
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$4, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	leaq	1(%rax), %rdx
	movq	%rsi, %rax
	subq	%rdx, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -68(%rbp)
	jmp	.L4
.L5:
	movq	-64(%rbp), %rax
	cqto
	idivq	-56(%rbp)
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	movq	-64(%rbp), %rax
	cqto
	idivq	-56(%rbp)
	movq	%rdx, %rax
	movq	%rax, -64(%rbp)
	movq	-56(%rbp), %rcx
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -56(%rbp)
	addl	$1, -68(%rbp)
.L4:
	movl	-68(%rbp), %eax
	cmpl	-72(%rbp), %eax
	jl	.L5
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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:
