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<math.h>
#include<stdlib.h>
int main(void){
    int x,days;
    scanf("%d",&x);
    if(x>=9){
        days=(x-9+1)%7;
        if(days==1){
            printf("sat\n");
        }
        if(days==2){
            printf("sun\n");
        }
        if(days==3){
            printf("mon\n");
        }
        if(days==4){
            printf("tue\n");
        }
        if(days==5){
            printf("wed\n");
        }
        if(days==6){
            printf("thu\n");
        }
        if(days==0){
            printf("fri\n");
        }
        
        
        
    }
    if(x<9){
        days=(9-x)%7;
        
        if(days==0){
            printf("sat\n");
        }
        if(days==6){
            printf("sun\n");
        }
        if(days==5){
            printf("mon\n");
        }
        if(days==4){
            printf("tue\n");
        }
        if(days==3){
            printf("wed\n");
        }
        if(days==2){
            printf("thu\n");
        }
        if(days==1){
            printf("fri\n");
        }
        
        
        
        
    }
    
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"sat"
.LC2:
	.string	"sun"
.LC3:
	.string	"mon"
.LC4:
	.string	"tue"
.LC5:
	.string	"wed"
.LC6:
	.string	"thu"
.LC7:
	.string	"fri"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-16(%rbp), %eax
	cmpl	$8, %eax
	jle	.L2
	movl	-16(%rbp), %eax
	subl	$8, %eax
	movslq	%eax, %rdx
	imulq	$-1840700269, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$2, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -12(%rbp)
	movl	-12(%rbp), %ecx
	movl	%ecx, %edx
	sall	$3, %edx
	subl	%ecx, %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	cmpl	$1, -12(%rbp)
	jne	.L3
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L3:
	cmpl	$2, -12(%rbp)
	jne	.L4
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L4:
	cmpl	$3, -12(%rbp)
	jne	.L5
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L5:
	cmpl	$4, -12(%rbp)
	jne	.L6
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L6:
	cmpl	$5, -12(%rbp)
	jne	.L7
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L7:
	cmpl	$6, -12(%rbp)
	jne	.L8
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L8:
	cmpl	$0, -12(%rbp)
	jne	.L2
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	movl	-16(%rbp), %eax
	cmpl	$8, %eax
	jg	.L9
	movl	-16(%rbp), %edx
	movl	$9, %eax
	subl	%edx, %eax
	movslq	%eax, %rdx
	imulq	$-1840700269, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$2, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -12(%rbp)
	movl	-12(%rbp), %ecx
	movl	%ecx, %edx
	sall	$3, %edx
	subl	%ecx, %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	cmpl	$0, -12(%rbp)
	jne	.L10
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L10:
	cmpl	$6, -12(%rbp)
	jne	.L11
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L11:
	cmpl	$5, -12(%rbp)
	jne	.L12
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L12:
	cmpl	$4, -12(%rbp)
	jne	.L13
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L13:
	cmpl	$3, -12(%rbp)
	jne	.L14
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L14:
	cmpl	$2, -12(%rbp)
	jne	.L15
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	cmpl	$1, -12(%rbp)
	jne	.L9
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"%d"
.LC1:
	.string	"sat"
.LC2:
	.string	"sun"
.LC3:
	.string	"mon"
.LC4:
	.string	"tue"
.LC5:
	.string	"wed"
.LC6:
	.string	"thu"
.LC7:
	.string	"fri"
	.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	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %ecx
	cmpl	$8, %ecx
	jle	.L2
	leal	-8(%rcx), %eax
	movl	$7, %esi
	cltd
	idivl	%esi
	cmpl	$1, %edx
	je	.L41
	cmpl	$2, %edx
	je	.L5
	cmpl	$3, %edx
	je	.L42
	cmpl	$4, %edx
	jne	.L43
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
.L13:
	cmpl	$8, %ecx
	jle	.L2
.L16:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L44
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movl	$9, %eax
	subl	%ecx, %eax
	movl	$7, %ecx
	cltd
	idivl	%ecx
	testl	%edx, %edx
	je	.L45
	cmpl	$6, %edx
	je	.L19
	cmpl	$5, %edx
	je	.L46
	cmpl	$4, %edx
	jne	.L47
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L45:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L41:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L42:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L46:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L43:
	cmpl	$5, %edx
	jne	.L48
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L48:
	cmpl	$6, %edx
	jne	.L49
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L49:
	testl	%edx, %edx
	jne	.L13
	leaq	.LC7(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L19:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L5:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L47:
	cmpl	$3, %edx
	jne	.L50
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L50:
	cmpl	$2, %edx
	jne	.L51
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L51:
	subl	$1, %edx
	jne	.L16
	leaq	.LC7(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L44:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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	"%d"
.LC1:
	.string	"sat"
.LC2:
	.string	"sun"
.LC3:
	.string	"mon"
.LC4:
	.string	"tue"
.LC5:
	.string	"wed"
.LC6:
	.string	"thu"
.LC7:
	.string	"fri"
	.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	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %ecx
	cmpl	$8, %ecx
	jle	.L2
	leal	-8(%rcx), %eax
	movl	$7, %esi
	cltd
	idivl	%esi
	cmpl	$1, %edx
	je	.L41
	cmpl	$2, %edx
	je	.L5
	cmpl	$3, %edx
	je	.L42
	cmpl	$4, %edx
	jne	.L43
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
.L13:
	cmpl	$8, %ecx
	jle	.L2
.L16:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L44
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movl	$9, %eax
	subl	%ecx, %eax
	movl	$7, %ecx
	cltd
	idivl	%ecx
	testl	%edx, %edx
	je	.L45
	cmpl	$6, %edx
	je	.L19
	cmpl	$5, %edx
	je	.L46
	cmpl	$4, %edx
	jne	.L47
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L45:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L41:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L42:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L46:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L43:
	cmpl	$5, %edx
	jne	.L48
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L48:
	cmpl	$6, %edx
	jne	.L49
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L49:
	testl	%edx, %edx
	jne	.L13
	leaq	.LC7(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L19:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L5:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movl	4(%rsp), %ecx
	jmp	.L13
.L47:
	cmpl	$3, %edx
	jne	.L50
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L50:
	cmpl	$2, %edx
	jne	.L51
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L51:
	subl	$1, %edx
	jne	.L16
	leaq	.LC7(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L44:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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>
#include<math.h>
#include<stdlib.h>
int main(void){
    int x,days;
    scanf("%d",&x);
    if(x>=9){
        days=(x-9+1)%7;
        if(days==1){
            printf("sat\n");
        }
        if(days==2){
            printf("sun\n");
        }
        if(days==3){
            printf("mon\n");
        }
        if(days==4){
            printf("tue\n");
        }
        if(days==5){
            printf("wed\n");
        }
        if(days==6){
            printf("thu\n");
        }
        if(days==0){
            printf("fri\n");
        }
        
        
        
    }
    if(x<9){
        days=(9-x)%7;
        
        if(days==0){
            printf("sat\n");
        }
        if(days==6){
            printf("sun\n");
        }
        if(days==5){
            printf("mon\n");
        }
        if(days==4){
            printf("tue\n");
        }
        if(days==3){
            printf("wed\n");
        }
        if(days==2){
            printf("thu\n");
        }
        if(days==1){
            printf("fri\n");
        }
        
        
        
        
    }
    
}

1

fri

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<math.h>
#include<stdlib.h>
int main(void){
    int x,days;
    scanf("%d",&x);
    if(x>=9){
        days=(x-9+1)%7;
        if(days==1){
            printf("sat\n");
        }
        if(days==2){
            printf("sun\n");
        }
        if(days==3){
            printf("mon\n");
        }
        if(days==4){
            printf("tue\n");
        }
        if(days==5){
            printf("wed\n");
        }
        if(days==6){
            printf("thu\n");
        }
        if(days==0){
            printf("fri\n");
        }
        
        
        
    }
    if(x<9){
        days=(9-x)%7;
        
        if(days==0){
            printf("sat\n");
        }
        if(days==6){
            printf("sun\n");
        }
        if(days==5){
            printf("mon\n");
        }
        if(days==4){
            printf("tue\n");
        }
        if(days==3){
            printf("wed\n");
        }
        if(days==2){
            printf("thu\n");
        }
        if(days==1){
            printf("fri\n");
        }
        
        
        
        
    }
    
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"sat"
.LC2:
	.string	"sun"
.LC3:
	.string	"mon"
.LC4:
	.string	"tue"
.LC5:
	.string	"wed"
.LC6:
	.string	"thu"
.LC7:
	.string	"fri"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-16(%rbp), %eax
	cmpl	$8, %eax
	jle	.L2
	movl	-16(%rbp), %eax
	subl	$8, %eax
	movslq	%eax, %rdx
	imulq	$-1840700269, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$2, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -12(%rbp)
	movl	-12(%rbp), %ecx
	movl	%ecx, %edx
	sall	$3, %edx
	subl	%ecx, %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	cmpl	$1, -12(%rbp)
	jne	.L3
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L3:
	cmpl	$2, -12(%rbp)
	jne	.L4
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L4:
	cmpl	$3, -12(%rbp)
	jne	.L5
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L5:
	cmpl	$4, -12(%rbp)
	jne	.L6
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L6:
	cmpl	$5, -12(%rbp)
	jne	.L7
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L7:
	cmpl	$6, -12(%rbp)
	jne	.L8
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L8:
	cmpl	$0, -12(%rbp)
	jne	.L2
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	movl	-16(%rbp), %eax
	cmpl	$8, %eax
	jg	.L9
	movl	-16(%rbp), %edx
	movl	$9, %eax
	subl	%edx, %eax
	movslq	%eax, %rdx
	imulq	$-1840700269, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$2, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -12(%rbp)
	movl	-12(%rbp), %ecx
	movl	%ecx, %edx
	sall	$3, %edx
	subl	%ecx, %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	cmpl	$0, -12(%rbp)
	jne	.L10
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L10:
	cmpl	$6, -12(%rbp)
	jne	.L11
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L11:
	cmpl	$5, -12(%rbp)
	jne	.L12
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L12:
	cmpl	$4, -12(%rbp)
	jne	.L13
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L13:
	cmpl	$3, -12(%rbp)
	jne	.L14
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L14:
	cmpl	$2, -12(%rbp)
	jne	.L15
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	cmpl	$1, -12(%rbp)
	jne	.L9
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"%d"
.LC1:
	.string	"sat"
.LC2:
	.string	"sun"
.LC3:
	.string	"mon"
.LC4:
	.string	"tue"
.LC5:
	.string	"wed"
.LC6:
	.string	"thu"
.LC7:
	.string	"fri"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-16(%rbp), %eax
	cmpl	$8, %eax
	jle	.L2
	movl	-16(%rbp), %eax
	subl	$8, %eax
	movslq	%eax, %rdx
	imulq	$-1840700269, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$2, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -12(%rbp)
	movl	-12(%rbp), %ecx
	movl	%ecx, %edx
	sall	$3, %edx
	subl	%ecx, %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	cmpl	$1, -12(%rbp)
	jne	.L3
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L3:
	cmpl	$2, -12(%rbp)
	jne	.L4
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L4:
	cmpl	$3, -12(%rbp)
	jne	.L5
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L5:
	cmpl	$4, -12(%rbp)
	jne	.L6
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L6:
	cmpl	$5, -12(%rbp)
	jne	.L7
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L7:
	cmpl	$6, -12(%rbp)
	jne	.L8
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L8:
	cmpl	$0, -12(%rbp)
	jne	.L2
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	movl	-16(%rbp), %eax
	cmpl	$8, %eax
	jg	.L9
	movl	-16(%rbp), %edx
	movl	$9, %eax
	subl	%edx, %eax
	movslq	%eax, %rdx
	imulq	$-1840700269, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$2, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -12(%rbp)
	movl	-12(%rbp), %ecx
	movl	%ecx, %edx
	sall	$3, %edx
	subl	%ecx, %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	cmpl	$0, -12(%rbp)
	jne	.L10
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L10:
	cmpl	$6, -12(%rbp)
	jne	.L11
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L11:
	cmpl	$5, -12(%rbp)
	jne	.L12
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L12:
	cmpl	$4, -12(%rbp)
	jne	.L13
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L13:
	cmpl	$3, -12(%rbp)
	jne	.L14
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L14:
	cmpl	$2, -12(%rbp)
	jne	.L15
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	cmpl	$1, -12(%rbp)
	jne	.L9
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
