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 <string.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k))
#define INF ((1LL<<62)-(1LL<<31))
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))

int main(){
	ll a,b,c;
	scanf("%lld%lld%lld",&a,&b,&c);
	ll ans=0;
	while(ans<100&&a%2==0&&b%2==0&&c%2==0){
		ll ta=(b+c)/2;
		ll tb=(a+c)/2;
		ll tc=(a+b)/2;
		a=ta;
		b=tb;
		c=tc;
		ans++;
	}
	printf("%lld\n",ans==100?-1:ans);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	16(%rsp), %rcx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	8(%rsp), %rdi
	movq	16(%rsp), %rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	testb	$1, %dil
	jne	.L23
	testb	$1, %al
	jne	.L23
	leaq	(%rdi,%rax), %rsi
	addq	%rdx, %rax
	addq	%rdi, %rdx
	addq	$1, %r8
	movq	%rsi, %rcx
	movl	$1, %r9d
	shrq	$63, %rcx
	addq	%rsi, %rcx
	movq	%rax, %rsi
	shrq	$63, %rsi
	sarq	%rcx
	addq	%rax, %rsi
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	%rsi
	addq	%rdx, %rax
	sarq	%rax
	cmpq	$100, %r8
	je	.L25
	movq	%rsi, %rdi
	movq	%rcx, %rdx
.L2:
	testb	$1, %dl
	je	.L4
.L23:
	testb	%r9b, %r9b
	je	.L3
	movq	%rax, 16(%rsp)
	movq	%rdi, 8(%rsp)
	movq	%rdx, (%rsp)
.L3:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	movq	%rax, 16(%rsp)
	orq	$-1, %r8
	movq	%rsi, 8(%rsp)
	movq	%rcx, (%rsp)
	jmp	.L3
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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%lld%lld"
.LC1:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	16(%rsp), %rcx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	8(%rsp), %rdi
	movq	16(%rsp), %rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	testb	$1, %dil
	jne	.L23
	testb	$1, %al
	jne	.L23
	leaq	(%rdi,%rax), %rsi
	addq	%rdx, %rax
	addq	%rdi, %rdx
	addq	$1, %r8
	movq	%rsi, %rcx
	movl	$1, %r9d
	shrq	$63, %rcx
	addq	%rsi, %rcx
	movq	%rax, %rsi
	shrq	$63, %rsi
	sarq	%rcx
	addq	%rax, %rsi
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	%rsi
	addq	%rdx, %rax
	sarq	%rax
	cmpq	$100, %r8
	je	.L25
	movq	%rsi, %rdi
	movq	%rcx, %rdx
.L2:
	testb	$1, %dl
	je	.L4
.L23:
	testb	%r9b, %r9b
	je	.L3
	movq	%rax, 16(%rsp)
	movq	%rdi, 8(%rsp)
	movq	%rdx, (%rsp)
.L3:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	movq	%rax, 16(%rsp)
	orq	$-1, %r8
	movq	%rsi, 8(%rsp)
	movq	%rcx, (%rsp)
	jmp	.L3
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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%lld%lld"
.LC1:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	16(%rsp), %rcx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	8(%rsp), %rdi
	movq	16(%rsp), %rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	testb	$1, %dil
	jne	.L23
	testb	$1, %al
	jne	.L23
	leaq	(%rdi,%rax), %rsi
	addq	%rdx, %rax
	addq	%rdi, %rdx
	addq	$1, %r8
	movq	%rsi, %rcx
	movl	$1, %r9d
	shrq	$63, %rcx
	addq	%rsi, %rcx
	movq	%rax, %rsi
	shrq	$63, %rsi
	sarq	%rcx
	addq	%rax, %rsi
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	%rsi
	addq	%rdx, %rax
	sarq	%rax
	cmpq	$100, %r8
	je	.L25
	movq	%rsi, %rdi
	movq	%rcx, %rdx
.L2:
	testb	$1, %dl
	je	.L4
.L23:
	testb	%r9b, %r9b
	je	.L3
	movq	%rax, 16(%rsp)
	movq	%rdi, 8(%rsp)
	movq	%rdx, (%rsp)
.L3:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	movq	%rax, 16(%rsp)
	orq	$-1, %r8
	movq	%rsi, 8(%rsp)
	movq	%rcx, (%rsp)
	jmp	.L3
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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 <string.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k))
#define INF ((1LL<<62)-(1LL<<31))
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))

int main(){
	ll a,b,c;
	scanf("%lld%lld%lld",&a,&b,&c);
	ll ans=0;
	while(ans<100&&a%2==0&&b%2==0&&c%2==0){
		ll ta=(b+c)/2;
		ll tb=(a+c)/2;
		ll tc=(a+b)/2;
		a=ta;
		b=tb;
		c=tc;
		ans++;
	}
	printf("%lld\n",ans==100?-1:ans);
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k))
#define INF ((1LL<<62)-(1LL<<31))
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))

int main(){
	ll a,b,c;
	scanf("%lld%lld%lld",&a,&b,&c);
	ll ans=0;
	while(ans<100&&a%2==0&&b%2==0&&c%2==0){
		ll ta=(b+c)/2;
		ll tb=(a+c)/2;
		ll tc=(a+b)/2;
		a=ta;
		b=tb;
		c=tc;
		ans++;
	}
	printf("%lld\n",ans==100?-1:ans);
}```

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:

15 14 14
 454 414 846
 454 414 1200
 1390 18 4202
 0 0 0
 4 12 13
 15 14 7
 4 0 13
 15 17 7
 781 414 1200

0
 3
 1
 2
 -1
 0
 0
 0
 0
 0

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 <string.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k))
#define INF ((1LL<<62)-(1LL<<31))
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))

int main(){
	ll a,b,c;
	scanf("%lld%lld%lld",&a,&b,&c);
	ll ans=0;
	while(ans<100&&a%2==0&&b%2==0&&c%2==0){
		ll ta=(b+c)/2;
		ll tb=(a+c)/2;
		ll tc=(a+b)/2;
		a=ta;
		b=tb;
		c=tc;
		ans++;
	}
	printf("%lld\n",ans==100?-1:ans);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	16(%rsp), %rcx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	8(%rsp), %rdi
	movq	16(%rsp), %rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	testb	$1, %dil
	jne	.L23
	testb	$1, %al
	jne	.L23
	leaq	(%rdi,%rax), %rsi
	addq	%rdx, %rax
	addq	%rdi, %rdx
	addq	$1, %r8
	movq	%rsi, %rcx
	movl	$1, %r9d
	shrq	$63, %rcx
	addq	%rsi, %rcx
	movq	%rax, %rsi
	shrq	$63, %rsi
	sarq	%rcx
	addq	%rax, %rsi
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	%rsi
	addq	%rdx, %rax
	sarq	%rax
	cmpq	$100, %r8
	je	.L25
	movq	%rsi, %rdi
	movq	%rcx, %rdx
.L2:
	testb	$1, %dl
	je	.L4
.L23:
	testb	%r9b, %r9b
	je	.L3
	movq	%rax, 16(%rsp)
	movq	%rdi, 8(%rsp)
	movq	%rdx, (%rsp)
.L3:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	movq	%rax, 16(%rsp)
	orq	$-1, %r8
	movq	%rsi, 8(%rsp)
	movq	%rcx, (%rsp)
	jmp	.L3
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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%lld%lld"
.LC1:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	16(%rsp), %rcx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	8(%rsp), %rdi
	movq	16(%rsp), %rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	testb	$1, %dil
	jne	.L23
	testb	$1, %al
	jne	.L23
	leaq	(%rdi,%rax), %rsi
	addq	%rdx, %rax
	addq	%rdi, %rdx
	addq	$1, %r8
	movq	%rsi, %rcx
	movl	$1, %r9d
	shrq	$63, %rcx
	addq	%rsi, %rcx
	movq	%rax, %rsi
	shrq	$63, %rsi
	sarq	%rcx
	addq	%rax, %rsi
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	%rsi
	addq	%rdx, %rax
	sarq	%rax
	cmpq	$100, %r8
	je	.L25
	movq	%rsi, %rdi
	movq	%rcx, %rdx
.L2:
	testb	$1, %dl
	je	.L4
.L23:
	testb	%r9b, %r9b
	je	.L3
	movq	%rax, 16(%rsp)
	movq	%rdi, 8(%rsp)
	movq	%rdx, (%rsp)
.L3:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	movq	%rax, 16(%rsp)
	orq	$-1, %r8
	movq	%rsi, 8(%rsp)
	movq	%rcx, (%rsp)
	jmp	.L3
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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:
```