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>

int main() {
  int i, j;
  int n, k;
  scanf("%d %d", &n, &k);

  int k_max = n * (n - 1) / 2 - (n - 1);
  if(k > k_max) printf("-1\n");
  else {
    int m = (n - 1) + k_max - k;
    printf("%d\n", m);
    for(i = 2; i <= n; i++) printf("1 %d\n", i);
    int edge_count = n - 1;
    for(i = 2; i <= n; i++) {
      for(j = i + 1; j <= n; j++) {
        if(edge_count >= m) break;
        printf("%d %d\n", i, j);
        edge_count++;
      }
    }
  }

  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"1 %d\n"
.LC4:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %eax
	leal	-1(%rax), %edx
	imull	%edx, %eax
	movl	%eax, %r12d
	shrl	$31, %r12d
	addl	%eax, %r12d
	movl	4(%rsp), %eax
	sarl	%r12d
	movl	%r12d, %ecx
	subl	%edx, %ecx
	cmpl	%ecx, %eax
	jle	.L2
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L3:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	subl	%eax, %r12d
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	movl	%r12d, %edx
	movl	$2, %ebx
	leaq	.LC3(%rip), %rbp
	call	__printf_chk@PLT
	cmpl	$1, (%rsp)
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	movl	%ebx, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	addl	$1, %ebx
	cmpl	%ebx, %eax
	jge	.L4
	leal	-1(%rax), %ebp
	cmpl	$1, %eax
	jle	.L3
	movl	$2, %r15d
	leaq	.LC4(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%r15d, %r13d
	addl	$1, %r15d
	cmpl	%ebp, %r12d
	jle	.L6
	cmpl	%eax, %r15d
	jg	.L3
	movl	%r15d, %ebx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	cmpl	%ebp, %r12d
	jle	.L6
.L7:
	movl	%ebx, %ecx
	movl	%r13d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addl	$1, %ebx
	addl	$1, %ebp
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	cmpl	%ebx, %eax
	jge	.L20
.L6:
	cmpl	%eax, %r15d
	jle	.L9
	jmp	.L3
.L19:
	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:
```

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
.LC0:
	.string	"%d %d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"1 %d\n"
.LC4:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %eax
	leal	-1(%rax), %edx
	imull	%edx, %eax
	movl	%eax, %r12d
	shrl	$31, %r12d
	addl	%eax, %r12d
	movl	4(%rsp), %eax
	sarl	%r12d
	movl	%r12d, %ecx
	subl	%edx, %ecx
	cmpl	%ecx, %eax
	jle	.L2
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L3:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	subl	%eax, %r12d
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	movl	%r12d, %edx
	movl	$2, %ebx
	leaq	.LC3(%rip), %rbp
	call	__printf_chk@PLT
	cmpl	$1, (%rsp)
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	movl	%ebx, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	addl	$1, %ebx
	cmpl	%ebx, %eax
	jge	.L4
	leal	-1(%rax), %ebp
	cmpl	$1, %eax
	jle	.L3
	movl	$2, %r15d
	leaq	.LC4(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%r15d, %r13d
	addl	$1, %r15d
	cmpl	%ebp, %r12d
	jle	.L6
	cmpl	%eax, %r15d
	jg	.L3
	movl	%r15d, %ebx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	cmpl	%ebp, %r12d
	jle	.L6
.L7:
	movl	%ebx, %ecx
	movl	%r13d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addl	$1, %ebx
	addl	$1, %ebp
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	cmpl	%ebx, %eax
	jge	.L20
.L6:
	cmpl	%eax, %r15d
	jle	.L9
	jmp	.L3
.L19:
	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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"1 %d\n"
.LC4:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %eax
	leal	-1(%rax), %edx
	imull	%edx, %eax
	movl	%eax, %r12d
	shrl	$31, %r12d
	addl	%eax, %r12d
	movl	4(%rsp), %eax
	sarl	%r12d
	movl	%r12d, %ecx
	subl	%edx, %ecx
	cmpl	%ecx, %eax
	jle	.L2
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L3:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	subl	%eax, %r12d
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	movl	%r12d, %edx
	movl	$2, %ebx
	leaq	.LC3(%rip), %rbp
	call	__printf_chk@PLT
	cmpl	$1, (%rsp)
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	movl	%ebx, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	addl	$1, %ebx
	cmpl	%ebx, %eax
	jge	.L4
	leal	-1(%rax), %ebp
	cmpl	$1, %eax
	jle	.L3
	movl	$2, %r15d
	leaq	.LC4(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%r15d, %r13d
	addl	$1, %r15d
	cmpl	%ebp, %r12d
	jle	.L6
	cmpl	%eax, %r15d
	jg	.L3
	movl	%r15d, %ebx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	cmpl	%ebp, %r12d
	jle	.L6
.L7:
	movl	%ebx, %ecx
	movl	%r13d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addl	$1, %ebx
	addl	$1, %ebp
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	cmpl	%ebx, %eax
	jge	.L20
.L6:
	cmpl	%eax, %r15d
	jle	.L9
	jmp	.L3
.L19:
	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:
```
```c
#include<stdio.h>

int main() {
  int i, j;
  int n, k;
  scanf("%d %d", &n, &k);

  int k_max = n * (n - 1) / 2 - (n - 1);
  if(k > k_max) printf("-1\n");
  else {
    int m = (n - 1) + k_max - k;
    printf("%d\n", m);
    for(i = 2; i <= n; i++) printf("1 %d\n", i);
    int edge_count = n - 1;
    for(i = 2; i <= n; i++) {
      for(j = i + 1; j <= n; j++) {
        if(edge_count >= m) break;
        printf("%d %d\n", i, j);
        edge_count++;
      }
    }
  }

  return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>

int main() {
  int i, j;
  int n, k;
  scanf("%d %d", &n, &k);

  int k_max = n * (n - 1) / 2 - (n - 1);
  if(k > k_max) printf("-1\n");
  else {
    int m = (n - 1) + k_max - k;
    printf("%d\n", m);
    for(i = 2; i <= n; i++) printf("1 %d\n", i);
    int edge_count = n - 1;
    for(i = 2; i <= n; i++) {
      for(j = i + 1; j <= n; j++) {
        if(edge_count >= m) break;
        printf("%d %d\n", i, j);
        edge_count++;
      }
    }
  }

  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 3

7
1 2
1 3
1 4
1 5
2 3
2 4
2 5

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>

int main() {
  int i, j;
  int n, k;
  scanf("%d %d", &n, &k);

  int k_max = n * (n - 1) / 2 - (n - 1);
  if(k > k_max) printf("-1\n");
  else {
    int m = (n - 1) + k_max - k;
    printf("%d\n", m);
    for(i = 2; i <= n; i++) printf("1 %d\n", i);
    int edge_count = n - 1;
    for(i = 2; i <= n; i++) {
      for(j = i + 1; j <= n; j++) {
        if(edge_count >= m) break;
        printf("%d %d\n", i, j);
        edge_count++;
      }
    }
  }

  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"1 %d\n"
.LC4:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %eax
	leal	-1(%rax), %edx
	imull	%edx, %eax
	movl	%eax, %r12d
	shrl	$31, %r12d
	addl	%eax, %r12d
	movl	4(%rsp), %eax
	sarl	%r12d
	movl	%r12d, %ecx
	subl	%edx, %ecx
	cmpl	%ecx, %eax
	jle	.L2
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L3:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	subl	%eax, %r12d
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	movl	%r12d, %edx
	movl	$2, %ebx
	leaq	.LC3(%rip), %rbp
	call	__printf_chk@PLT
	cmpl	$1, (%rsp)
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	movl	%ebx, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	addl	$1, %ebx
	cmpl	%ebx, %eax
	jge	.L4
	leal	-1(%rax), %ebp
	cmpl	$1, %eax
	jle	.L3
	movl	$2, %r15d
	leaq	.LC4(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%r15d, %r13d
	addl	$1, %r15d
	cmpl	%ebp, %r12d
	jle	.L6
	cmpl	%eax, %r15d
	jg	.L3
	movl	%r15d, %ebx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	cmpl	%ebp, %r12d
	jle	.L6
.L7:
	movl	%ebx, %ecx
	movl	%r13d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addl	$1, %ebx
	addl	$1, %ebp
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	cmpl	%ebx, %eax
	jge	.L20
.L6:
	cmpl	%eax, %r15d
	jle	.L9
	jmp	.L3
.L19:
	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:
```

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
.LC0:
	.string	"%d %d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"1 %d\n"
.LC4:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %eax
	leal	-1(%rax), %edx
	imull	%edx, %eax
	movl	%eax, %r12d
	shrl	$31, %r12d
	addl	%eax, %r12d
	movl	4(%rsp), %eax
	sarl	%r12d
	movl	%r12d, %ecx
	subl	%edx, %ecx
	cmpl	%ecx, %eax
	jle	.L2
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L3:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	subl	%eax, %r12d
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	movl	%r12d, %edx
	movl	$2, %ebx
	leaq	.LC3(%rip), %rbp
	call	__printf_chk@PLT
	cmpl	$1, (%rsp)
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	movl	%ebx, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	addl	$1, %ebx
	cmpl	%ebx, %eax
	jge	.L4
	leal	-1(%rax), %ebp
	cmpl	$1, %eax
	jle	.L3
	movl	$2, %r15d
	leaq	.LC4(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%r15d, %r13d
	addl	$1, %r15d
	cmpl	%ebp, %r12d
	jle	.L6
	cmpl	%eax, %r15d
	jg	.L3
	movl	%r15d, %ebx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	cmpl	%ebp, %r12d
	jle	.L6
.L7:
	movl	%ebx, %ecx
	movl	%r13d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addl	$1, %ebx
	addl	$1, %ebp
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	cmpl	%ebx, %eax
	jge	.L20
.L6:
	cmpl	%eax, %r15d
	jle	.L9
	jmp	.L3
.L19:
	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:
```