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>

#define MAX 10

void print( int val, int delim )
{
	if ( val != delim ) {
		printf( "%d ", val );
	} else if ( val == delim ) {
		printf( "%d", val );
	}
}

int main()
{
	int path[MAX][MAX], s, d;
	int num;

	scanf( "%d", &num );
	for ( int i = 0 ; i < num ; i++ ) {
		scanf( "%d %d", &s, &d );
		if ( i > 102 ) { break; }
		// 場合分け
		// s:d:5 x
		// d:s:5 x
		// s:5:d
		// d:5:s
		// 5:d:s o
		// 5:s:d o
		if ( s <= 5 && d <= 5 ) {
			if ( s < d ) {
				while ( s < d ) {
					print( s, d );
					s++;
				}
			} else if ( s > d ) {
				while ( s > d ) {
					print( s, d );
					s--;
				}
			}
		} else if ( s >= 5 && d >= 5 ) {
			if ( s < d ) {
				while ( s < d ) {
					print( s, d );
					s++;
				}
			} else if ( s > d ) {
				while ( s < MAX ) {
					print( s, d );
					s++;
				}
			s = 5;
				if ( s != d ) {

					while ( s > 0 ) {
						print( s, d );
						s--;
					}
					s = 0;
					while ( s < d ) {
						print( s, d );
						s++;
					}
				}
			}
		} else {
			if ( s < d ) {
				while ( s < d ) {
					print( s, d );
					s++;
				}
			} else if ( s > d ) {
				while ( s < MAX ) {
					print( s, d );
					s++;
				}
				s = 5;
				while ( s > d ) {
					print( s, d );
					s--;
				}
			}
		}
		print( s, d );
		printf( "\n" );
	}

	return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d "
.LC1:
	.string	"%d"
	.text
	.globl	print
	.type	print, @function
print:
.LFB0:
	.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
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	je	.L2
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L4
.L2:
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jne	.L4
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print, .-print
	.section	.rodata
.LC2:
	.string	"%d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$432, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-424(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -420(%rbp)
	jmp	.L6
.L35:
	leaq	-428(%rbp), %rdx
	leaq	-432(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$102, -420(%rbp)
	jg	.L38
	movl	-432(%rbp), %eax
	cmpl	$5, %eax
	jg	.L9
	movl	-428(%rbp), %eax
	cmpl	$5, %eax
	jg	.L9
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L10
	jmp	.L11
.L12:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L11:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L12
	jmp	.L39
.L10:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L39
	jmp	.L14
.L15:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -432(%rbp)
.L14:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L15
	jmp	.L39
.L9:
	movl	-432(%rbp), %eax
	cmpl	$4, %eax
	jle	.L17
	movl	-428(%rbp), %eax
	cmpl	$4, %eax
	jle	.L17
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L18
	jmp	.L19
.L20:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L19:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L20
	jmp	.L40
.L18:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L40
	jmp	.L22
.L23:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L22:
	movl	-432(%rbp), %eax
	cmpl	$9, %eax
	jle	.L23
	movl	$5, -432(%rbp)
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	je	.L40
	jmp	.L24
.L25:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -432(%rbp)
.L24:
	movl	-432(%rbp), %eax
	testl	%eax, %eax
	jg	.L25
	movl	$0, -432(%rbp)
	jmp	.L26
.L27:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L26:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L27
	jmp	.L40
.L17:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L28
	jmp	.L29
.L30:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L29:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L30
	jmp	.L16
.L28:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L16
	jmp	.L31
.L32:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L31:
	movl	-432(%rbp), %eax
	cmpl	$9, %eax
	jle	.L32
	movl	$5, -432(%rbp)
	jmp	.L33
.L34:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -432(%rbp)
.L33:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L34
	jmp	.L16
.L39:
	nop
	jmp	.L16
.L40:
	nop
.L16:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -420(%rbp)
.L6:
	movl	-424(%rbp), %eax
	cmpl	%eax, -420(%rbp)
	jl	.L35
	jmp	.L8
.L38:
	nop
.L8:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"%d"
	.text
	.p2align 4
	.globl	print
	.type	print, @function
print:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%edi, %edx
	cmpl	%esi, %edi
	je	.L2
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	jmp	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	jmp	__printf_chk@PLT
	.cfi_endproc
.LFE23:
	.size	print, .-print
	.section	.rodata.str1.1
.LC2:
	.string	"%d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC1(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%r15, %rdi
	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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	jle	.L6
	leaq	16(%rsp), %r14
	leaq	12(%rsp), %r13
	xorl	%eax, %eax
	xorl	%ebp, %ebp
	leaq	.LC2(%rip), %r12
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r12, %rdi
	leaq	.LC0(%rip), %rbx
	call	__isoc99_scanf@PLT
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	$4, %eax
	jle	.L63
	cmpl	%eax, %edx
	jl	.L17
	jg	.L64
	.p2align 4,,10
	.p2align 3
.L11:
	cmpl	%edx, %eax
	je	.L20
.L65:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L33:
	movl	$10, %edi
	addl	$1, %ebp
	call	putchar@PLT
	cmpl	%ebp, 20(%rsp)
	jle	.L6
	xorl	%eax, %eax
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$103, %ebp
	je	.L6
.L35:
	movl	16(%rsp), %eax
	movl	12(%rsp), %edx
	movl	%eax, %r8d
	cmpl	$5, %edx
	jg	.L7
	cmpl	$5, %eax
	jg	.L8
	cmpl	%eax, %edx
	jl	.L10
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	-1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jg	.L12
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L28:
	movq	%rbx, %rsi
	cmpl	%edx, %r8d
	jne	.L62
	movl	%r8d, %edx
	movq	%r15, %rsi
.L62:
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	movl	16(%rsp), %r8d
	leal	1(%rax), %edx
	movl	%edx, 12(%rsp)
.L63:
	cmpl	$9, %edx
	jle	.L28
	movl	$5, 12(%rsp)
	movl	%r8d, %eax
	movl	$5, %edx
	cmpl	$4, %r8d
	jg	.L11
	.p2align 4,,10
	.p2align 3
.L29:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	-1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jg	.L29
	cmpl	%edx, %eax
	jne	.L65
	.p2align 4,,10
	.p2align 3
.L20:
	movq	%r15, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L10:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jl	.L10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L17:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jl	.L17
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L8:
	cmpl	$5, %edx
	je	.L17
.L14:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jl	.L14
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L66
	addq	$40, %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
.L64:
	.cfi_restore_state
	cmpl	$9, %edx
	jg	.L23
	.p2align 4,,10
	.p2align 3
.L18:
	movq	%rbx, %rsi
	cmpl	%edx, 16(%rsp)
	jne	.L59
	movq	%r15, %rsi
.L59:
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	1(%rax), %edx
	movl	%edx, 12(%rsp)
	cmpl	$9, %edx
	jle	.L18
	movl	16(%rsp), %r8d
.L23:
	movl	$5, 12(%rsp)
	movl	%r8d, %edx
	cmpl	$5, %r8d
	je	.L20
	movl	$5, %edx
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%rbx, %rsi
	cmpl	%edx, 16(%rsp)
	jne	.L60
	movq	%r15, %rsi
.L60:
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 12(%rsp)
	testl	%edx, %edx
	jg	.L19
	movl	16(%rsp), %eax
	movl	$0, 12(%rsp)
	xorl	%edx, %edx
	testl	%eax, %eax
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L27:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jl	.L27
	jmp	.L11
.L66:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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	"%d"
	.text
	.p2align 4
	.globl	print
	.type	print, @function
print:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%edi, %edx
	cmpl	%esi, %edi
	je	.L2
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	jmp	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	jmp	__printf_chk@PLT
	.cfi_endproc
.LFE23:
	.size	print, .-print
	.section	.rodata.str1.1
.LC2:
	.string	"%d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC1(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%r15, %rdi
	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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	jle	.L6
	leaq	16(%rsp), %r14
	leaq	12(%rsp), %r13
	xorl	%eax, %eax
	xorl	%ebp, %ebp
	leaq	.LC2(%rip), %r12
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r12, %rdi
	leaq	.LC0(%rip), %rbx
	call	__isoc99_scanf@PLT
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	$4, %eax
	jle	.L63
	cmpl	%eax, %edx
	jl	.L17
	jg	.L64
	.p2align 4,,10
	.p2align 3
.L11:
	cmpl	%edx, %eax
	je	.L20
.L65:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L33:
	movl	$10, %edi
	addl	$1, %ebp
	call	putchar@PLT
	cmpl	%ebp, 20(%rsp)
	jle	.L6
	xorl	%eax, %eax
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$103, %ebp
	je	.L6
.L35:
	movl	16(%rsp), %eax
	movl	12(%rsp), %edx
	movl	%eax, %r8d
	cmpl	$5, %edx
	jg	.L7
	cmpl	$5, %eax
	jg	.L8
	cmpl	%eax, %edx
	jl	.L10
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	-1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jg	.L12
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L28:
	movq	%rbx, %rsi
	cmpl	%edx, %r8d
	jne	.L62
	movl	%r8d, %edx
	movq	%r15, %rsi
.L62:
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	movl	16(%rsp), %r8d
	leal	1(%rax), %edx
	movl	%edx, 12(%rsp)
.L63:
	cmpl	$9, %edx
	jle	.L28
	movl	$5, 12(%rsp)
	movl	%r8d, %eax
	movl	$5, %edx
	cmpl	$4, %r8d
	jg	.L11
	.p2align 4,,10
	.p2align 3
.L29:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	-1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jg	.L29
	cmpl	%edx, %eax
	jne	.L65
	.p2align 4,,10
	.p2align 3
.L20:
	movq	%r15, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L10:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jl	.L10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L17:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jl	.L17
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L8:
	cmpl	$5, %edx
	je	.L17
.L14:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jl	.L14
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L66
	addq	$40, %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
.L64:
	.cfi_restore_state
	cmpl	$9, %edx
	jg	.L23
	.p2align 4,,10
	.p2align 3
.L18:
	movq	%rbx, %rsi
	cmpl	%edx, 16(%rsp)
	jne	.L59
	movq	%r15, %rsi
.L59:
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	1(%rax), %edx
	movl	%edx, 12(%rsp)
	cmpl	$9, %edx
	jle	.L18
	movl	16(%rsp), %r8d
.L23:
	movl	$5, 12(%rsp)
	movl	%r8d, %edx
	cmpl	$5, %r8d
	je	.L20
	movl	$5, %edx
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%rbx, %rsi
	cmpl	%edx, 16(%rsp)
	jne	.L60
	movq	%r15, %rsi
.L60:
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 12(%rsp)
	testl	%edx, %edx
	jg	.L19
	movl	16(%rsp), %eax
	movl	$0, 12(%rsp)
	xorl	%edx, %edx
	testl	%eax, %eax
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L27:
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	leal	1(%rax), %edx
	movl	16(%rsp), %eax
	movl	%edx, 12(%rsp)
	cmpl	%eax, %edx
	jl	.L27
	jmp	.L11
.L66:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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>

#define MAX 10

void print( int val, int delim )
{
	if ( val != delim ) {
		printf( "%d ", val );
	} else if ( val == delim ) {
		printf( "%d", val );
	}
}

int main()
{
	int path[MAX][MAX], s, d;
	int num;

	scanf( "%d", &num );
	for ( int i = 0 ; i < num ; i++ ) {
		scanf( "%d %d", &s, &d );
		if ( i > 102 ) { break; }
		// 場合分け
		// s:d:5 x
		// d:s:5 x
		// s:5:d
		// d:5:s
		// 5:d:s o
		// 5:s:d o
		if ( s <= 5 && d <= 5 ) {
			if ( s < d ) {
				while ( s < d ) {
					print( s, d );
					s++;
				}
			} else if ( s > d ) {
				while ( s > d ) {
					print( s, d );
					s--;
				}
			}
		} else if ( s >= 5 && d >= 5 ) {
			if ( s < d ) {
				while ( s < d ) {
					print( s, d );
					s++;
				}
			} else if ( s > d ) {
				while ( s < MAX ) {
					print( s, d );
					s++;
				}
			s = 5;
				if ( s != d ) {

					while ( s > 0 ) {
						print( s, d );
						s--;
					}
					s = 0;
					while ( s < d ) {
						print( s, d );
						s++;
					}
				}
			}
		} else {
			if ( s < d ) {
				while ( s < d ) {
					print( s, d );
					s++;
				}
			} else if ( s > d ) {
				while ( s < MAX ) {
					print( s, d );
					s++;
				}
				s = 5;
				while ( s > d ) {
					print( s, d );
					s--;
				}
			}
		}
		print( s, d );
		printf( "\n" );
	}

	return 0;
}


2
2 5
4 2
 2
2 1
4 2
 2
2 0
4 2
 2
1 4
4 2
 2
2 0
4 0
 2
2 0
4 1
 2
1 8
4 2
 2
2 0
3 0
 2
2 0
1 1
 2
1 8
4 0

2 3 4 5
4 3 2
 2 1
4 3 2
 2 1 0
4 3 2
 1 2 3 4
4 3 2
 2 1 0
4 3 2 1 0
 2 1 0
4 3 2 1
 1 2 3 4 5 6 7 8
4 3 2
 2 1 0
3 2 1 0
 2 1 0
1
 1 2 3 4 5 6 7 8
4 3 2 1 0

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>

#define MAX 10

void print( int val, int delim )
{
	if ( val != delim ) {
		printf( "%d ", val );
	} else if ( val == delim ) {
		printf( "%d", val );
	}
}

int main()
{
	int path[MAX][MAX], s, d;
	int num;

	scanf( "%d", &num );
	for ( int i = 0 ; i < num ; i++ ) {
		scanf( "%d %d", &s, &d );
		if ( i > 102 ) { break; }
		// 場合分け
		// s:d:5 x
		// d:s:5 x
		// s:5:d
		// d:5:s
		// 5:d:s o
		// 5:s:d o
		if ( s <= 5 && d <= 5 ) {
			if ( s < d ) {
				while ( s < d ) {
					print( s, d );
					s++;
				}
			} else if ( s > d ) {
				while ( s > d ) {
					print( s, d );
					s--;
				}
			}
		} else if ( s >= 5 && d >= 5 ) {
			if ( s < d ) {
				while ( s < d ) {
					print( s, d );
					s++;
				}
			} else if ( s > d ) {
				while ( s < MAX ) {
					print( s, d );
					s++;
				}
			s = 5;
				if ( s != d ) {

					while ( s > 0 ) {
						print( s, d );
						s--;
					}
					s = 0;
					while ( s < d ) {
						print( s, d );
						s++;
					}
				}
			}
		} else {
			if ( s < d ) {
				while ( s < d ) {
					print( s, d );
					s++;
				}
			} else if ( s > d ) {
				while ( s < MAX ) {
					print( s, d );
					s++;
				}
				s = 5;
				while ( s > d ) {
					print( s, d );
					s--;
				}
			}
		}
		print( s, d );
		printf( "\n" );
	}

	return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d "
.LC1:
	.string	"%d"
	.text
	.globl	print
	.type	print, @function
print:
.LFB0:
	.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
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	je	.L2
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L4
.L2:
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jne	.L4
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print, .-print
	.section	.rodata
.LC2:
	.string	"%d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$432, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-424(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -420(%rbp)
	jmp	.L6
.L35:
	leaq	-428(%rbp), %rdx
	leaq	-432(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$102, -420(%rbp)
	jg	.L38
	movl	-432(%rbp), %eax
	cmpl	$5, %eax
	jg	.L9
	movl	-428(%rbp), %eax
	cmpl	$5, %eax
	jg	.L9
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L10
	jmp	.L11
.L12:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L11:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L12
	jmp	.L39
.L10:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L39
	jmp	.L14
.L15:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -432(%rbp)
.L14:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L15
	jmp	.L39
.L9:
	movl	-432(%rbp), %eax
	cmpl	$4, %eax
	jle	.L17
	movl	-428(%rbp), %eax
	cmpl	$4, %eax
	jle	.L17
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L18
	jmp	.L19
.L20:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L19:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L20
	jmp	.L40
.L18:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L40
	jmp	.L22
.L23:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L22:
	movl	-432(%rbp), %eax
	cmpl	$9, %eax
	jle	.L23
	movl	$5, -432(%rbp)
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	je	.L40
	jmp	.L24
.L25:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -432(%rbp)
.L24:
	movl	-432(%rbp), %eax
	testl	%eax, %eax
	jg	.L25
	movl	$0, -432(%rbp)
	jmp	.L26
.L27:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L26:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L27
	jmp	.L40
.L17:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L28
	jmp	.L29
.L30:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L29:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L30
	jmp	.L16
.L28:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L16
	jmp	.L31
.L32:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L31:
	movl	-432(%rbp), %eax
	cmpl	$9, %eax
	jle	.L32
	movl	$5, -432(%rbp)
	jmp	.L33
.L34:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -432(%rbp)
.L33:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L34
	jmp	.L16
.L39:
	nop
	jmp	.L16
.L40:
	nop
.L16:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -420(%rbp)
.L6:
	movl	-424(%rbp), %eax
	cmpl	%eax, -420(%rbp)
	jl	.L35
	jmp	.L8
.L38:
	nop
.L8:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"%d"
	.text
	.globl	print
	.type	print, @function
print:
.LFB0:
	.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
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	je	.L2
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L4
.L2:
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jne	.L4
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print, .-print
	.section	.rodata
.LC2:
	.string	"%d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$432, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-424(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -420(%rbp)
	jmp	.L6
.L35:
	leaq	-428(%rbp), %rdx
	leaq	-432(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$102, -420(%rbp)
	jg	.L38
	movl	-432(%rbp), %eax
	cmpl	$5, %eax
	jg	.L9
	movl	-428(%rbp), %eax
	cmpl	$5, %eax
	jg	.L9
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L10
	jmp	.L11
.L12:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L11:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L12
	jmp	.L39
.L10:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L39
	jmp	.L14
.L15:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -432(%rbp)
.L14:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L15
	jmp	.L39
.L9:
	movl	-432(%rbp), %eax
	cmpl	$4, %eax
	jle	.L17
	movl	-428(%rbp), %eax
	cmpl	$4, %eax
	jle	.L17
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L18
	jmp	.L19
.L20:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L19:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L20
	jmp	.L40
.L18:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L40
	jmp	.L22
.L23:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L22:
	movl	-432(%rbp), %eax
	cmpl	$9, %eax
	jle	.L23
	movl	$5, -432(%rbp)
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	je	.L40
	jmp	.L24
.L25:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -432(%rbp)
.L24:
	movl	-432(%rbp), %eax
	testl	%eax, %eax
	jg	.L25
	movl	$0, -432(%rbp)
	jmp	.L26
.L27:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L26:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L27
	jmp	.L40
.L17:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L28
	jmp	.L29
.L30:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L29:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L30
	jmp	.L16
.L28:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L16
	jmp	.L31
.L32:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -432(%rbp)
.L31:
	movl	-432(%rbp), %eax
	cmpl	$9, %eax
	jle	.L32
	movl	$5, -432(%rbp)
	jmp	.L33
.L34:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	-432(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -432(%rbp)
.L33:
	movl	-432(%rbp), %edx
	movl	-428(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L34
	jmp	.L16
.L39:
	nop
	jmp	.L16
.L40:
	nop
.L16:
	movl	-428(%rbp), %edx
	movl	-432(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	print
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -420(%rbp)
.L6:
	movl	-424(%rbp), %eax
	cmpl	%eax, -420(%rbp)
	jl	.L35
	jmp	.L8
.L38:
	nop
.L8:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
