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>

int main(void) { 
  int num; 
  
  while(1){
      scanf("%d",&num);
      if(num == 0) {
          break;
      }
      
      int i;
      int divPlus = 1;
      
      int med = floor(sqrt(num));
      
      if(num == 1) {
          printf("deficient number\n");
      } else {
          for(i = 2; i <= med; i++){
              if(num%i == 0) {
                  divPlus+= i;
                  int quot = num / i;
                  if(i != quot) {
                      divPlus+= (num/i);
                  }
            }
          }
          if(divPlus == num) {
          printf("perfect number\n");
      }else if(divPlus < num) {
          printf("deficient number\n");
      } else {
          printf("abundant number\n");
        }
      }
      
  }
  
  return 0;
  
} ```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"deficient number"
.LC2:
	.string	"perfect number"
.LC3:
	.string	"abundant number"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L11:
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	je	.L15
	movl	$1, -20(%rbp)
	movl	-28(%rbp), %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	floor@PLT
	cvttsd2sil	%xmm0, %eax
	movl	%eax, -16(%rbp)
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jne	.L4
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L4:
	movl	$2, -24(%rbp)
	jmp	.L6
.L8:
	movl	-28(%rbp), %eax
	cltd
	idivl	-24(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L7
	movl	-24(%rbp), %eax
	addl	%eax, -20(%rbp)
	movl	-28(%rbp), %eax
	cltd
	idivl	-24(%rbp)
	movl	%eax, -12(%rbp)
	movl	-24(%rbp), %eax
	cmpl	-12(%rbp), %eax
	je	.L7
	movl	-28(%rbp), %eax
	cltd
	idivl	-24(%rbp)
	addl	%eax, -20(%rbp)
.L7:
	addl	$1, -24(%rbp)
.L6:
	movl	-24(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L8
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jne	.L9
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L9:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jge	.L10
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L10:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L15:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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	"%d"
.LC5:
	.string	"deficient number"
.LC6:
	.string	"perfect number"
.LC7:
	.string	"abundant number"
	.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	.LC5(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %ebx
	testl	%ebx, %ebx
	je	.L3
	pxor	%xmm0, %xmm0
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%ebx, %xmm0
	ucomisd	%xmm0, %xmm5
	ja	.L21
	sqrtsd	%xmm0, %xmm0
.L6:
	cmpl	$1, %ebx
	je	.L7
	movsd	.LC3(%rip), %xmm2
	movsd	.LC2(%rip), %xmm6
	movapd	%xmm0, %xmm1
	andpd	%xmm2, %xmm1
	ucomisd	%xmm1, %xmm6
	jbe	.L8
	cvttsd2siq	%xmm0, %rax
	pxor	%xmm1, %xmm1
	movsd	.LC4(%rip), %xmm4
	andnpd	%xmm0, %xmm2
	cvtsi2sdq	%rax, %xmm1
	movapd	%xmm1, %xmm3
	cmpnlesd	%xmm0, %xmm3
	andpd	%xmm4, %xmm3
	subsd	%xmm3, %xmm1
	orpd	%xmm2, %xmm1
	movapd	%xmm1, %xmm0
.L8:
	cvttsd2sil	%xmm0, %eax
	movl	$1, %esi
	movl	$2, %ecx
	leal	1(%rax), %edi
	cmpl	$1, %eax
	jle	.L10
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L12
	addl	%ecx, %esi
	cmpl	%ecx, %eax
	leal	(%rsi,%rax), %edx
	cmovne	%edx, %esi
.L12:
	addl	$1, %ecx
	cmpl	%ecx, %edi
	jne	.L13
	cmpl	%esi, %ebx
	je	.L24
.L10:
	cmpl	%esi, %ebx
	jg	.L7
	leaq	.LC7(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$24, %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
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L21:
	call	sqrt@PLT
	jmp	.L6
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1127219200
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC4:
	.long	0
	.long	1072693248
	.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"
.LC5:
	.string	"deficient number"
.LC6:
	.string	"perfect number"
.LC7:
	.string	"abundant number"
	.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	.LC5(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %ebx
	testl	%ebx, %ebx
	je	.L3
	pxor	%xmm0, %xmm0
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%ebx, %xmm0
	ucomisd	%xmm0, %xmm5
	ja	.L21
	sqrtsd	%xmm0, %xmm0
.L6:
	cmpl	$1, %ebx
	je	.L7
	movsd	.LC3(%rip), %xmm2
	movsd	.LC2(%rip), %xmm6
	movapd	%xmm0, %xmm1
	andpd	%xmm2, %xmm1
	ucomisd	%xmm1, %xmm6
	jbe	.L8
	cvttsd2siq	%xmm0, %rax
	pxor	%xmm1, %xmm1
	movsd	.LC4(%rip), %xmm4
	andnpd	%xmm0, %xmm2
	cvtsi2sdq	%rax, %xmm1
	movapd	%xmm1, %xmm3
	cmpnlesd	%xmm0, %xmm3
	andpd	%xmm4, %xmm3
	subsd	%xmm3, %xmm1
	orpd	%xmm2, %xmm1
	movapd	%xmm1, %xmm0
.L8:
	cvttsd2sil	%xmm0, %eax
	movl	$1, %esi
	movl	$2, %ecx
	leal	1(%rax), %edi
	cmpl	$1, %eax
	jle	.L10
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L12
	addl	%ecx, %esi
	cmpl	%ecx, %eax
	leal	(%rsi,%rax), %edx
	cmovne	%edx, %esi
.L12:
	addl	$1, %ecx
	cmpl	%ecx, %edi
	jne	.L13
	cmpl	%esi, %ebx
	je	.L24
.L10:
	cmpl	%esi, %ebx
	jg	.L7
	leaq	.LC7(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$24, %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
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L21:
	call	sqrt@PLT
	jmp	.L6
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1127219200
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC4:
	.long	0
	.long	1072693248
	.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>

int main(void) { 
  int num; 
  
  while(1){
      scanf("%d",&num);
      if(num == 0) {
          break;
      }
      
      int i;
      int divPlus = 1;
      
      int med = floor(sqrt(num));
      
      if(num == 1) {
          printf("deficient number\n");
      } else {
          for(i = 2; i <= med; i++){
              if(num%i == 0) {
                  divPlus+= i;
                  int quot = num / i;
                  if(i != quot) {
                      divPlus+= (num/i);
                  }
            }
          }
          if(divPlus == num) {
          printf("perfect number\n");
      }else if(divPlus < num) {
          printf("deficient number\n");
      } else {
          printf("abundant number\n");
        }
      }
      
  }
  
  return 0;
  
} 
1
2
3
4
6
12
16
28
33550336
99999998
99999999
100001000
0
 1
2
5
4
6
12
16
28
820514
99999998
99999999
100001100
0
 1
2
5
4
6
12
18
28
820514
99999998
99999999
100001100
0
 1
1
5
0
6
12
16
28
33550336
99999998
99999999
100001100
0
 1
1
5
4
6
12
18
4
820514
99999998
99999999
100001100
0
 1
2
3
6
6
12
29
28
33550336
99999998
99999999
100001000
0
 1
1
5
4
6
12
18
4
820514
99999998
699564
100001100
0
 1
2
3
6
6
12
29
28
27350355
99999998
99999999
100001000
0
 1
2
5
3
7
12
16
28
33550336
119648219
124798312
100001000
0
 1
2
1
3
6
12
16
28
256736
48969127
99999999
100001100
0

deficient number
deficient number
deficient number
deficient number
perfect number
abundant number
deficient number
perfect number
perfect number
deficient number
deficient number
abundant number
 deficient number
deficient number
deficient number
deficient number
perfect number
abundant number
deficient number
perfect number
deficient number
deficient number
deficient number
abundant number
 deficient number
deficient number
deficient number
deficient number
perfect number
abundant number
abundant number
perfect number
deficient number
deficient number
deficient number
abundant number
 deficient number
deficient number
deficient number
 deficient number
deficient number
deficient number
deficient number
perfect number
abundant number
abundant number
deficient number
deficient number
deficient number
deficient number
abundant number
 deficient number
deficient number
deficient number
perfect number
perfect number
abundant number
deficient number
perfect number
perfect number
deficient number
deficient number
abundant number
 deficient number
deficient number
deficient number
deficient number
perfect number
abundant number
abundant number
deficient number
deficient number
deficient number
abundant number
abundant number
 deficient number
deficient number
deficient number
perfect number
perfect number
abundant number
deficient number
perfect number
deficient number
deficient number
deficient number
abundant number
 deficient number
deficient number
deficient number
deficient number
deficient number
abundant number
deficient number
perfect number
perfect number
deficient number
deficient number
abundant number
 deficient number
deficient number
deficient number
deficient number
perfect number
abundant number
deficient number
perfect number
abundant number
deficient number
deficient number
abundant number

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>

int main(void) { 
  int num; 
  
  while(1){
      scanf("%d",&num);
      if(num == 0) {
          break;
      }
      
      int i;
      int divPlus = 1;
      
      int med = floor(sqrt(num));
      
      if(num == 1) {
          printf("deficient number\n");
      } else {
          for(i = 2; i <= med; i++){
              if(num%i == 0) {
                  divPlus+= i;
                  int quot = num / i;
                  if(i != quot) {
                      divPlus+= (num/i);
                  }
            }
          }
          if(divPlus == num) {
          printf("perfect number\n");
      }else if(divPlus < num) {
          printf("deficient number\n");
      } else {
          printf("abundant number\n");
        }
      }
      
  }
  
  return 0;
  
} ```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"deficient number"
.LC2:
	.string	"perfect number"
.LC3:
	.string	"abundant number"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L11:
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	je	.L15
	movl	$1, -20(%rbp)
	movl	-28(%rbp), %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	floor@PLT
	cvttsd2sil	%xmm0, %eax
	movl	%eax, -16(%rbp)
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jne	.L4
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L4:
	movl	$2, -24(%rbp)
	jmp	.L6
.L8:
	movl	-28(%rbp), %eax
	cltd
	idivl	-24(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L7
	movl	-24(%rbp), %eax
	addl	%eax, -20(%rbp)
	movl	-28(%rbp), %eax
	cltd
	idivl	-24(%rbp)
	movl	%eax, -12(%rbp)
	movl	-24(%rbp), %eax
	cmpl	-12(%rbp), %eax
	je	.L7
	movl	-28(%rbp), %eax
	cltd
	idivl	-24(%rbp)
	addl	%eax, -20(%rbp)
.L7:
	addl	$1, -24(%rbp)
.L6:
	movl	-24(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L8
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jne	.L9
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L9:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jge	.L10
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L10:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L15:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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	"%d"
.LC1:
	.string	"deficient number"
.LC2:
	.string	"perfect number"
.LC3:
	.string	"abundant number"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L11:
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	je	.L15
	movl	$1, -20(%rbp)
	movl	-28(%rbp), %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	floor@PLT
	cvttsd2sil	%xmm0, %eax
	movl	%eax, -16(%rbp)
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jne	.L4
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L4:
	movl	$2, -24(%rbp)
	jmp	.L6
.L8:
	movl	-28(%rbp), %eax
	cltd
	idivl	-24(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L7
	movl	-24(%rbp), %eax
	addl	%eax, -20(%rbp)
	movl	-28(%rbp), %eax
	cltd
	idivl	-24(%rbp)
	movl	%eax, -12(%rbp)
	movl	-24(%rbp), %eax
	cmpl	-12(%rbp), %eax
	je	.L7
	movl	-28(%rbp), %eax
	cltd
	idivl	-24(%rbp)
	addl	%eax, -20(%rbp)
.L7:
	addl	$1, -24(%rbp)
.L6:
	movl	-24(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L8
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jne	.L9
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L9:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jge	.L10
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L10:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L15:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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:
