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(){
		long long n,i,j;
		scanf("%lld",&n);
		for(i=1;i<=3500;i++){
				for(j=1;j<=3500;j++){
						if(4*i*j-n*(i+j)>0){
						if(n*i*j%(4*i*j-n*(i+j))==0){
								printf("%lld %lld %lld\n",i,j,n*i*j/(4*i*j-n*(i+j)));
								return 0;
						}
						}
				}
		}
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld %lld %lld\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
	movl	$1, %r12d
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rbx
	movl	$4, %r11d
	movl	$2, %r8d
	subq	%rbx, %r11
	subq	%rbx, %r8
	movq	%rbx, %rdi
	addq	%r8, %r8
	movq	%r11, %r10
.L2:
	movq	%rdi, %rsi
	movq	%r8, %rcx
	movl	$1, %r9d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$1, %r9
	addq	%r10, %rcx
	addq	%rdi, %rsi
	cmpq	$3501, %r9
	je	.L13
.L5:
	testq	%rcx, %rcx
	jle	.L3
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	testq	%rdx, %rdx
	jne	.L3
	movq	%rax, %r8
	movq	%r9, %rcx
	movq	%r12, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	addq	$1, %r12
	addq	$4, %r10
	addq	%rbx, %rdi
	addq	%r11, %r8
	cmpq	$3501, %r12
	jne	.L2
	jmp	.L4
.L14:
	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	"%lld"
.LC1:
	.string	"%lld %lld %lld\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
	movl	$1, %r12d
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rbx
	movl	$4, %r11d
	movl	$2, %r8d
	subq	%rbx, %r11
	subq	%rbx, %r8
	movq	%rbx, %rdi
	addq	%r8, %r8
	movq	%r11, %r10
.L2:
	movq	%rdi, %rsi
	movq	%r8, %rcx
	movl	$1, %r9d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$1, %r9
	addq	%r10, %rcx
	addq	%rdi, %rsi
	cmpq	$3501, %r9
	je	.L13
.L5:
	testq	%rcx, %rcx
	jle	.L3
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	testq	%rdx, %rdx
	jne	.L3
	movq	%rax, %r8
	movq	%r9, %rcx
	movq	%r12, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	addq	$1, %r12
	addq	$4, %r10
	addq	%rbx, %rdi
	addq	%r11, %r8
	cmpq	$3501, %r12
	jne	.L2
	jmp	.L4
.L14:
	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	"%lld"
.LC1:
	.string	"%lld %lld %lld\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
	movl	$1, %r12d
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rbx
	movl	$4, %r11d
	movl	$2, %r8d
	subq	%rbx, %r11
	subq	%rbx, %r8
	movq	%rbx, %rdi
	addq	%r8, %r8
	movq	%r11, %r10
.L2:
	movq	%rdi, %rsi
	movq	%r8, %rcx
	movl	$1, %r9d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$1, %r9
	addq	%r10, %rcx
	addq	%rdi, %rsi
	cmpq	$3501, %r9
	je	.L13
.L5:
	testq	%rcx, %rcx
	jle	.L3
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	testq	%rdx, %rdx
	jne	.L3
	movq	%rax, %r8
	movq	%r9, %rcx
	movq	%r12, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	addq	$1, %r12
	addq	$4, %r10
	addq	%rbx, %rdi
	addq	%r11, %r8
	cmpq	$3501, %r12
	jne	.L2
	jmp	.L4
.L14:
	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(){
		long long n,i,j;
		scanf("%lld",&n);
		for(i=1;i<=3500;i++){
				for(j=1;j<=3500;j++){
						if(4*i*j-n*(i+j)>0){
						if(n*i*j%(4*i*j-n*(i+j))==0){
								printf("%lld %lld %lld\n",i,j,n*i*j/(4*i*j-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>

int main(){
		long long n,i,j;
		scanf("%lld",&n);
		for(i=1;i<=3500;i++){
				for(j=1;j<=3500;j++){
						if(4*i*j-n*(i+j)>0){
						if(n*i*j%(4*i*j-n*(i+j))==0){
								printf("%lld %lld %lld\n",i,j,n*i*j/(4*i*j-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:

3
 3492
 6
 3999
 10
 12
 4
 4141
 8
 7

1 4 12
 1164 3493 12197556
 2 7 42
 1400 3500 3999000
 3 16 240
 4 13 156
 2 3 6
 1476 3468 10770741
 3 7 42
 2 15 210

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(){
		long long n,i,j;
		scanf("%lld",&n);
		for(i=1;i<=3500;i++){
				for(j=1;j<=3500;j++){
						if(4*i*j-n*(i+j)>0){
						if(n*i*j%(4*i*j-n*(i+j))==0){
								printf("%lld %lld %lld\n",i,j,n*i*j/(4*i*j-n*(i+j)));
								return 0;
						}
						}
				}
		}
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld %lld %lld\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
	movl	$1, %r12d
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rbx
	movl	$4, %r11d
	movl	$2, %r8d
	subq	%rbx, %r11
	subq	%rbx, %r8
	movq	%rbx, %rdi
	addq	%r8, %r8
	movq	%r11, %r10
.L2:
	movq	%rdi, %rsi
	movq	%r8, %rcx
	movl	$1, %r9d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$1, %r9
	addq	%r10, %rcx
	addq	%rdi, %rsi
	cmpq	$3501, %r9
	je	.L13
.L5:
	testq	%rcx, %rcx
	jle	.L3
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	testq	%rdx, %rdx
	jne	.L3
	movq	%rax, %r8
	movq	%r9, %rcx
	movq	%r12, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	addq	$1, %r12
	addq	$4, %r10
	addq	%rbx, %rdi
	addq	%r11, %r8
	cmpq	$3501, %r12
	jne	.L2
	jmp	.L4
.L14:
	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	"%lld"
.LC1:
	.string	"%lld %lld %lld\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
	movl	$1, %r12d
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rbx
	movl	$4, %r11d
	movl	$2, %r8d
	subq	%rbx, %r11
	subq	%rbx, %r8
	movq	%rbx, %rdi
	addq	%r8, %r8
	movq	%r11, %r10
.L2:
	movq	%rdi, %rsi
	movq	%r8, %rcx
	movl	$1, %r9d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	addq	$1, %r9
	addq	%r10, %rcx
	addq	%rdi, %rsi
	cmpq	$3501, %r9
	je	.L13
.L5:
	testq	%rcx, %rcx
	jle	.L3
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	testq	%rdx, %rdx
	jne	.L3
	movq	%rax, %r8
	movq	%r9, %rcx
	movq	%r12, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	addq	$1, %r12
	addq	$4, %r10
	addq	%rbx, %rdi
	addq	%r11, %r8
	cmpq	$3501, %r12
	jne	.L2
	jmp	.L4
.L14:
	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:
```