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>
#include <stdlib.h>

#define pow5(r) (r*r*r*r*r)

int main(void) {

    int X;
    scanf("%d",&X);

    for(int i = -120;i <= 120;i++){
        for(int j = -120;j <= 120;j++){
            if((pow5(i) - pow5(j)) == X){
                printf("%d %d\n",i,j);
                return 0;
            }
        }
    }
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.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), %edi
	movl	$-120, %r8d
.L2:
	movl	%r8d, %esi
	movl	$-120, %ecx
	imull	%r8d, %esi
	imull	%esi, %esi
	imull	%r8d, %esi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %ecx
	cmpl	$121, %ecx
	je	.L13
.L5:
	movl	%ecx, %eax
	movl	%esi, %edx
	imull	%ecx, %eax
	imull	%eax, %eax
	imull	%ecx, %eax
	subl	%eax, %edx
	cmpl	%edi, %edx
	jne	.L3
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	addl	$1, %r8d
	cmpl	$121, %r8d
	jne	.L2
	jmp	.L4
.L14:
	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:
```

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"
.LC1:
	.string	"%d %d\n"
	.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), %edi
	movl	$-120, %r8d
.L2:
	movl	%r8d, %esi
	movl	$-120, %ecx
	imull	%r8d, %esi
	imull	%esi, %esi
	imull	%r8d, %esi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %ecx
	cmpl	$121, %ecx
	je	.L13
.L5:
	movl	%ecx, %eax
	movl	%esi, %edx
	imull	%ecx, %eax
	imull	%eax, %eax
	imull	%ecx, %eax
	subl	%eax, %edx
	cmpl	%edi, %edx
	jne	.L3
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	addl	$1, %r8d
	cmpl	$121, %r8d
	jne	.L2
	jmp	.L4
.L14:
	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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.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), %edi
	movl	$-120, %r8d
.L2:
	movl	%r8d, %esi
	movl	$-120, %ecx
	imull	%r8d, %esi
	imull	%esi, %esi
	imull	%r8d, %esi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %ecx
	cmpl	$121, %ecx
	je	.L13
.L5:
	movl	%ecx, %eax
	movl	%esi, %edx
	imull	%ecx, %eax
	imull	%eax, %eax
	imull	%ecx, %eax
	subl	%eax, %edx
	cmpl	%edi, %edx
	jne	.L3
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	addl	$1, %r8d
	cmpl	$121, %r8d
	jne	.L2
	jmp	.L4
.L14:
	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:
```
```c
#include <stdio.h>
#include <stdlib.h>

#define pow5(r) (r*r*r*r*r)

int main(void) {

    int X;
    scanf("%d",&X);

    for(int i = -120;i <= 120;i++){
        for(int j = -120;j <= 120;j++){
            if((pow5(i) - pow5(j)) == X){
                printf("%d %d\n",i,j);
                return 0;
            }
        }
    }
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdlib.h>

#define pow5(r) (r*r*r*r*r)

int main(void) {

    int X;
    scanf("%d",&X);

    for(int i = -120;i <= 120;i++){
        for(int j = -120;j <= 120;j++){
            if((pow5(i) - pow5(j)) == X){
                printf("%d %d\n",i,j);
                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:

2
 64
 32
 001
 275
 243
 244
 2
 32
 64

1 -1
 2 -2
 0 -2
 0 -1
 2 -3
 0 -3
 1 -3
 1 -1
 0 -2
 2 -2

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>
#include <stdlib.h>

#define pow5(r) (r*r*r*r*r)

int main(void) {

    int X;
    scanf("%d",&X);

    for(int i = -120;i <= 120;i++){
        for(int j = -120;j <= 120;j++){
            if((pow5(i) - pow5(j)) == X){
                printf("%d %d\n",i,j);
                return 0;
            }
        }
    }
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.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), %edi
	movl	$-120, %r8d
.L2:
	movl	%r8d, %esi
	movl	$-120, %ecx
	imull	%r8d, %esi
	imull	%esi, %esi
	imull	%r8d, %esi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %ecx
	cmpl	$121, %ecx
	je	.L13
.L5:
	movl	%ecx, %eax
	movl	%esi, %edx
	imull	%ecx, %eax
	imull	%eax, %eax
	imull	%ecx, %eax
	subl	%eax, %edx
	cmpl	%edi, %edx
	jne	.L3
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	addl	$1, %r8d
	cmpl	$121, %r8d
	jne	.L2
	jmp	.L4
.L14:
	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:
```

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"
.LC1:
	.string	"%d %d\n"
	.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), %edi
	movl	$-120, %r8d
.L2:
	movl	%r8d, %esi
	movl	$-120, %ecx
	imull	%r8d, %esi
	imull	%esi, %esi
	imull	%r8d, %esi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %ecx
	cmpl	$121, %ecx
	je	.L13
.L5:
	movl	%ecx, %eax
	movl	%esi, %edx
	imull	%ecx, %eax
	imull	%eax, %eax
	imull	%ecx, %eax
	subl	%eax, %edx
	cmpl	%edi, %edx
	jne	.L3
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	addl	$1, %r8d
	cmpl	$121, %r8d
	jne	.L2
	jmp	.L4
.L14:
	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:
```