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(void){

  long n,m;
  scanf("%ld %ld", &n, &m);
  if (m%2 == 1) {
  	for (long i = 1; i <= m/2; i++) {
  		printf("%ld %ld\n", i, m+1-i);
  	}
		for (long i = 1; i <= (m+1)/2; i++) {
  		printf("%ld %ld\n", m+i, (m+1)*2-i);
  	}
  } else {
		for (long i = 1; i <= m/2; i++) {
			printf("%ld %ld\n", i, m+2-i);
		}
		for (long i = 1; i <= (m+1)/2; i++) {
			printf("%ld %ld\n", m+1+i, (m+1)*2-i);
		}
	}

  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld %ld"
.LC1:
	.string	"%ld %ld\n"
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-48(%rbp), %rax
	cqto
	shrq	$63, %rdx
	addq	%rdx, %rax
	andl	$1, %eax
	subq	%rdx, %rax
	cmpq	$1, %rax
	jne	.L2
	movq	$1, -40(%rbp)
	jmp	.L3
.L4:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	subq	-40(%rbp), %rax
	movq	%rax, %rdx
	movq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -40(%rbp)
.L3:
	movq	-48(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -40(%rbp)
	jle	.L4
	movq	$1, -32(%rbp)
	jmp	.L5
.L6:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	addq	%rax, %rax
	subq	-32(%rbp), %rax
	movq	-48(%rbp), %rcx
	movq	-32(%rbp), %rdx
	addq	%rdx, %rcx
	movq	%rax, %rdx
	movq	%rcx, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -32(%rbp)
.L5:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -32(%rbp)
	jle	.L6
	jmp	.L7
.L2:
	movq	$1, -24(%rbp)
	jmp	.L8
.L9:
	movq	-48(%rbp), %rax
	addq	$2, %rax
	subq	-24(%rbp), %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -24(%rbp)
.L8:
	movq	-48(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -24(%rbp)
	jle	.L9
	movq	$1, -16(%rbp)
	jmp	.L10
.L11:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	addq	%rax, %rax
	subq	-16(%rbp), %rax
	movq	-48(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	-16(%rbp), %rdx
	addq	%rdx, %rcx
	movq	%rax, %rdx
	movq	%rcx, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -16(%rbp)
.L10:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -16(%rbp)
	jle	.L11
.L7:
	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	"%ld %ld"
.LC1:
	.string	"%ld %ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rcx
	movq	%rcx, %rax
	shrq	$63, %rax
	leaq	(%rcx,%rax), %rbp
	andl	$1, %ebp
	subq	%rax, %rbp
	cmpq	$1, %rbp
	je	.L2
	movl	$1, %ebp
	leaq	.LC1(%rip), %rbx
	cmpq	$1, %rcx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$2, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movl	$1, %edi
	subq	%rbp, %rcx
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	movq	16(%rsp), %rcx
	movq	%rcx, %rax
	shrq	$63, %rax
	addq	%rcx, %rax
	sarq	%rax
	cmpq	%rbp, %rax
	jge	.L3
.L4:
	leaq	1(%rcx), %rdx
	cmpq	$1, %rdx
	jle	.L7
	movl	$1, %ebp
	leaq	.LC1(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L9:
	leaq	(%rdx,%rdx), %rcx
	movq	%rbx, %rsi
	addq	%rbp, %rdx
	movl	$1, %edi
	subq	%rbp, %rcx
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	movq	16(%rsp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rbp, %rax
	jge	.L9
.L7:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	cmpq	$1, %rcx
	jle	.L5
	movl	$1, %r12d
	leaq	.LC1(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	addq	$1, %rcx
	movq	%r12, %rdx
	movq	%rbx, %rsi
	movl	$1, %edi
	subq	%r12, %rcx
	xorl	%eax, %eax
	addq	$1, %r12
	call	__printf_chk@PLT
	movq	16(%rsp), %rcx
	movq	%rcx, %rax
	shrq	$63, %rax
	addq	%rcx, %rax
	sarq	%rax
	cmpq	%r12, %rax
	jge	.L6
.L5:
	movq	%rcx, %rdx
	leaq	1(%rcx), %rcx
	cmpq	$1, %rcx
	jle	.L7
	leaq	.LC1(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L8:
	addq	%rcx, %rcx
	addq	%rbp, %rdx
	movq	%rbx, %rsi
	movl	$1, %edi
	subq	%rbp, %rcx
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	movq	16(%rsp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, %rax
	shrq	$63, %rax
	addq	%rcx, %rax
	sarq	%rax
	cmpq	%rbp, %rax
	jge	.L8
	jmp	.L7
.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ld %ld"
.LC1:
	.string	"%ld %ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rcx
	movq	%rcx, %rax
	shrq	$63, %rax
	leaq	(%rcx,%rax), %rbp
	andl	$1, %ebp
	subq	%rax, %rbp
	cmpq	$1, %rbp
	je	.L2
	movl	$1, %ebp
	leaq	.LC1(%rip), %rbx
	cmpq	$1, %rcx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$2, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movl	$1, %edi
	subq	%rbp, %rcx
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	movq	16(%rsp), %rcx
	movq	%rcx, %rax
	shrq	$63, %rax
	addq	%rcx, %rax
	sarq	%rax
	cmpq	%rbp, %rax
	jge	.L3
.L4:
	leaq	1(%rcx), %rdx
	cmpq	$1, %rdx
	jle	.L7
	movl	$1, %ebp
	leaq	.LC1(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L9:
	leaq	(%rdx,%rdx), %rcx
	movq	%rbx, %rsi
	addq	%rbp, %rdx
	movl	$1, %edi
	subq	%rbp, %rcx
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	movq	16(%rsp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rbp, %rax
	jge	.L9
.L7:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	cmpq	$1, %rcx
	jle	.L5
	movl	$1, %r12d
	leaq	.LC1(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	addq	$1, %rcx
	movq	%r12, %rdx
	movq	%rbx, %rsi
	movl	$1, %edi
	subq	%r12, %rcx
	xorl	%eax, %eax
	addq	$1, %r12
	call	__printf_chk@PLT
	movq	16(%rsp), %rcx
	movq	%rcx, %rax
	shrq	$63, %rax
	addq	%rcx, %rax
	sarq	%rax
	cmpq	%r12, %rax
	jge	.L6
.L5:
	movq	%rcx, %rdx
	leaq	1(%rcx), %rcx
	cmpq	$1, %rcx
	jle	.L7
	leaq	.LC1(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L8:
	addq	%rcx, %rcx
	addq	%rbp, %rdx
	movq	%rbx, %rsi
	movl	$1, %edi
	subq	%rbp, %rcx
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	movq	16(%rsp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, %rax
	shrq	$63, %rax
	addq	%rcx, %rax
	sarq	%rax
	cmpq	%rbp, %rax
	jge	.L8
	jmp	.L7
.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:

#include <stdio.h>

int main(void){

  long n,m;
  scanf("%ld %ld", &n, &m);
  if (m%2 == 1) {
  	for (long i = 1; i <= m/2; i++) {
  		printf("%ld %ld\n", i, m+1-i);
  	}
		for (long i = 1; i <= (m+1)/2; i++) {
  		printf("%ld %ld\n", m+i, (m+1)*2-i);
  	}
  } else {
		for (long i = 1; i <= m/2; i++) {
			printf("%ld %ld\n", i, m+2-i);
		}
		for (long i = 1; i <= (m+1)/2; i++) {
			printf("%ld %ld\n", m+1+i, (m+1)*2-i);
		}
	}

  return 0;
}
3 1
 8 3
 11 5
 20 9
 15 7
 24 11
 6 1
 5 1
 12 5
 19 9

2 3
 1 3
4 7
5 6
 1 5
2 4
6 11
7 10
8 9
 1 9
2 8
3 7
4 6
10 19
11 18
12 17
13 16
14 15
 1 7
2 6
3 5
8 15
9 14
10 13
11 12
 1 11
2 10
3 9
4 8
5 7
12 23
13 22
14 21
15 20
16 19
17 18
 2 3
 2 3
 1 5
2 4
6 11
7 10
8 9
 1 9
2 8
3 7
4 6
10 19
11 18
12 17
13 16
14 15

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(void){

  long n,m;
  scanf("%ld %ld", &n, &m);
  if (m%2 == 1) {
  	for (long i = 1; i <= m/2; i++) {
  		printf("%ld %ld\n", i, m+1-i);
  	}
		for (long i = 1; i <= (m+1)/2; i++) {
  		printf("%ld %ld\n", m+i, (m+1)*2-i);
  	}
  } else {
		for (long i = 1; i <= m/2; i++) {
			printf("%ld %ld\n", i, m+2-i);
		}
		for (long i = 1; i <= (m+1)/2; i++) {
			printf("%ld %ld\n", m+1+i, (m+1)*2-i);
		}
	}

  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld %ld"
.LC1:
	.string	"%ld %ld\n"
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-48(%rbp), %rax
	cqto
	shrq	$63, %rdx
	addq	%rdx, %rax
	andl	$1, %eax
	subq	%rdx, %rax
	cmpq	$1, %rax
	jne	.L2
	movq	$1, -40(%rbp)
	jmp	.L3
.L4:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	subq	-40(%rbp), %rax
	movq	%rax, %rdx
	movq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -40(%rbp)
.L3:
	movq	-48(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -40(%rbp)
	jle	.L4
	movq	$1, -32(%rbp)
	jmp	.L5
.L6:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	addq	%rax, %rax
	subq	-32(%rbp), %rax
	movq	-48(%rbp), %rcx
	movq	-32(%rbp), %rdx
	addq	%rdx, %rcx
	movq	%rax, %rdx
	movq	%rcx, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -32(%rbp)
.L5:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -32(%rbp)
	jle	.L6
	jmp	.L7
.L2:
	movq	$1, -24(%rbp)
	jmp	.L8
.L9:
	movq	-48(%rbp), %rax
	addq	$2, %rax
	subq	-24(%rbp), %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -24(%rbp)
.L8:
	movq	-48(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -24(%rbp)
	jle	.L9
	movq	$1, -16(%rbp)
	jmp	.L10
.L11:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	addq	%rax, %rax
	subq	-16(%rbp), %rax
	movq	-48(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	-16(%rbp), %rdx
	addq	%rdx, %rcx
	movq	%rax, %rdx
	movq	%rcx, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -16(%rbp)
.L10:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -16(%rbp)
	jle	.L11
.L7:
	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	"%ld %ld"
.LC1:
	.string	"%ld %ld\n"
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-48(%rbp), %rax
	cqto
	shrq	$63, %rdx
	addq	%rdx, %rax
	andl	$1, %eax
	subq	%rdx, %rax
	cmpq	$1, %rax
	jne	.L2
	movq	$1, -40(%rbp)
	jmp	.L3
.L4:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	subq	-40(%rbp), %rax
	movq	%rax, %rdx
	movq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -40(%rbp)
.L3:
	movq	-48(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -40(%rbp)
	jle	.L4
	movq	$1, -32(%rbp)
	jmp	.L5
.L6:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	addq	%rax, %rax
	subq	-32(%rbp), %rax
	movq	-48(%rbp), %rcx
	movq	-32(%rbp), %rdx
	addq	%rdx, %rcx
	movq	%rax, %rdx
	movq	%rcx, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -32(%rbp)
.L5:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -32(%rbp)
	jle	.L6
	jmp	.L7
.L2:
	movq	$1, -24(%rbp)
	jmp	.L8
.L9:
	movq	-48(%rbp), %rax
	addq	$2, %rax
	subq	-24(%rbp), %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -24(%rbp)
.L8:
	movq	-48(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -24(%rbp)
	jle	.L9
	movq	$1, -16(%rbp)
	jmp	.L10
.L11:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	addq	%rax, %rax
	subq	-16(%rbp), %rax
	movq	-48(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	-16(%rbp), %rdx
	addq	%rdx, %rcx
	movq	%rax, %rdx
	movq	%rcx, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -16(%rbp)
.L10:
	movq	-48(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	cmpq	%rax, -16(%rbp)
	jle	.L11
.L7:
	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:
