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>
#define min(p,q)((p)<(q)?(p):(q))

int main(){
	long long X,Y;
	scanf("%lld%lld",&X,&Y);
	int ans1=0;
	//aを滅ぼす場合
	long long a=X*2,b1=0,b2=Y;
	while(1){
		long long t=(a+1)/2;
		long long tt=min(b2,t);
		b2-=tt;
		b1+=tt;
		b1-=min(b1,t-tt);
		if(b1+b2==0)break;
		ans1++;
		a-=b1+b2;
		if(a<=0)break;
		ans1++;
	}

	int ans2=0;
	//bを滅ぼす場合
	long long b=Y*2,a1=0,a2=X;
	while(1){
		b-=a1+a2;
		if(b<=0)break;
		ans2++;
		long long t=(b+1)/2;
		long long tt=min(a2,t);
		a2-=tt;
		a1+=tt;
		a1-=min(a1,t-tt);
		if(a1+a2==0)break;
		ans2++;
	}
	printf("%d\n",min(ans1,ans2));
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %r8
	movq	16(%rsp), %rdi
	leaq	(%r8,%r8), %r9
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	movq	%r9, %rax
	shrq	$63, %rax
	leaq	1(%r9,%rax), %rax
	sarq	%rax
	cmpq	%rax, %rdi
	movq	%rax, %rcx
	cmovle	%rdi, %rcx
	subq	%rcx, %rax
	subq	%rcx, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	subq	%rax, %rdx
	je	.L9
	subq	%rdx, %r9
	testq	%r9, %r9
	jle	.L10
	xorl	%edx, %edx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	subq	%rax, %r9
	testq	%r9, %r9
	jle	.L17
.L3:
	leaq	1(%r9), %rax
	movq	%rsi, %r10
	movl	%edx, %r11d
	addl	$2, %edx
	sarq	%rax
	cmpq	%rsi, %rax
	cmovle	%rax, %r10
	addq	%r10, %rcx
	subq	%r10, %rax
	subq	%r10, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	addq	%rcx, %rax
	jne	.L4
.L2:
	addq	%rdi, %rdi
	subq	%r8, %rdi
	testq	%rdi, %rdi
	jle	.L11
	leaq	1(%rdi), %rax
	movq	%r8, %rsi
	sarq	%rax
	cmpq	%rax, %r8
	movq	%rax, %rcx
	cmovle	%r8, %rcx
	subq	%rcx, %rax
	subq	%rcx, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	cmpq	%rax, %r8
	je	.L12
	xorl	%r9d, %r9d
	leaq	(%rsi,%rcx), %rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	leaq	1(%rdi), %rax
	movq	%rsi, %r8
	sarq	%rax
	cmpq	%rsi, %rax
	cmovle	%rax, %r8
	addq	%r8, %rcx
	subq	%r8, %rax
	subq	%r8, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	addq	%rcx, %rax
	je	.L18
.L6:
	subq	%rax, %rdi
	movl	%r9d, %r10d
	addl	$2, %r9d
	testq	%rdi, %rdi
	jg	.L7
.L5:
	cmpl	%r9d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	cmovg	%r9d, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	leal	3(%r11), %edx
	jmp	.L2
.L18:
	leal	3(%r10), %r9d
	jmp	.L5
.L9:
	xorl	%edx, %edx
	jmp	.L2
.L11:
	xorl	%r9d, %r9d
	jmp	.L5
.L12:
	movl	$1, %r9d
	jmp	.L5
.L10:
	movl	$1, %edx
	jmp	.L2
.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:
```

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"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %r8
	movq	16(%rsp), %rdi
	leaq	(%r8,%r8), %r9
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	movq	%r9, %rax
	shrq	$63, %rax
	leaq	1(%r9,%rax), %rax
	sarq	%rax
	cmpq	%rax, %rdi
	movq	%rax, %rcx
	cmovle	%rdi, %rcx
	subq	%rcx, %rax
	subq	%rcx, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	subq	%rax, %rdx
	je	.L9
	subq	%rdx, %r9
	testq	%r9, %r9
	jle	.L10
	xorl	%edx, %edx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	subq	%rax, %r9
	testq	%r9, %r9
	jle	.L17
.L3:
	leaq	1(%r9), %rax
	movq	%rsi, %r10
	movl	%edx, %r11d
	addl	$2, %edx
	sarq	%rax
	cmpq	%rsi, %rax
	cmovle	%rax, %r10
	addq	%r10, %rcx
	subq	%r10, %rax
	subq	%r10, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	addq	%rcx, %rax
	jne	.L4
.L2:
	addq	%rdi, %rdi
	subq	%r8, %rdi
	testq	%rdi, %rdi
	jle	.L11
	leaq	1(%rdi), %rax
	movq	%r8, %rsi
	sarq	%rax
	cmpq	%rax, %r8
	movq	%rax, %rcx
	cmovle	%r8, %rcx
	subq	%rcx, %rax
	subq	%rcx, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	cmpq	%rax, %r8
	je	.L12
	xorl	%r9d, %r9d
	leaq	(%rsi,%rcx), %rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	leaq	1(%rdi), %rax
	movq	%rsi, %r8
	sarq	%rax
	cmpq	%rsi, %rax
	cmovle	%rax, %r8
	addq	%r8, %rcx
	subq	%r8, %rax
	subq	%r8, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	addq	%rcx, %rax
	je	.L18
.L6:
	subq	%rax, %rdi
	movl	%r9d, %r10d
	addl	$2, %r9d
	testq	%rdi, %rdi
	jg	.L7
.L5:
	cmpl	%r9d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	cmovg	%r9d, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	leal	3(%r11), %edx
	jmp	.L2
.L18:
	leal	3(%r10), %r9d
	jmp	.L5
.L9:
	xorl	%edx, %edx
	jmp	.L2
.L11:
	xorl	%r9d, %r9d
	jmp	.L5
.L12:
	movl	$1, %r9d
	jmp	.L5
.L10:
	movl	$1, %edx
	jmp	.L2
.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %r8
	movq	16(%rsp), %rdi
	leaq	(%r8,%r8), %r9
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	movq	%r9, %rax
	shrq	$63, %rax
	leaq	1(%r9,%rax), %rax
	sarq	%rax
	cmpq	%rax, %rdi
	movq	%rax, %rcx
	cmovle	%rdi, %rcx
	subq	%rcx, %rax
	subq	%rcx, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	subq	%rax, %rdx
	je	.L9
	subq	%rdx, %r9
	testq	%r9, %r9
	jle	.L10
	xorl	%edx, %edx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	subq	%rax, %r9
	testq	%r9, %r9
	jle	.L17
.L3:
	leaq	1(%r9), %rax
	movq	%rsi, %r10
	movl	%edx, %r11d
	addl	$2, %edx
	sarq	%rax
	cmpq	%rsi, %rax
	cmovle	%rax, %r10
	addq	%r10, %rcx
	subq	%r10, %rax
	subq	%r10, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	addq	%rcx, %rax
	jne	.L4
.L2:
	addq	%rdi, %rdi
	subq	%r8, %rdi
	testq	%rdi, %rdi
	jle	.L11
	leaq	1(%rdi), %rax
	movq	%r8, %rsi
	sarq	%rax
	cmpq	%rax, %r8
	movq	%rax, %rcx
	cmovle	%r8, %rcx
	subq	%rcx, %rax
	subq	%rcx, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	cmpq	%rax, %r8
	je	.L12
	xorl	%r9d, %r9d
	leaq	(%rsi,%rcx), %rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	leaq	1(%rdi), %rax
	movq	%rsi, %r8
	sarq	%rax
	cmpq	%rsi, %rax
	cmovle	%rax, %r8
	addq	%r8, %rcx
	subq	%r8, %rax
	subq	%r8, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	addq	%rcx, %rax
	je	.L18
.L6:
	subq	%rax, %rdi
	movl	%r9d, %r10d
	addl	$2, %r9d
	testq	%rdi, %rdi
	jg	.L7
.L5:
	cmpl	%r9d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	cmovg	%r9d, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	leal	3(%r11), %edx
	jmp	.L2
.L18:
	leal	3(%r10), %r9d
	jmp	.L5
.L9:
	xorl	%edx, %edx
	jmp	.L2
.L11:
	xorl	%r9d, %r9d
	jmp	.L5
.L12:
	movl	$1, %r9d
	jmp	.L5
.L10:
	movl	$1, %edx
	jmp	.L2
.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:
```
```c
#include<stdio.h>
#define min(p,q)((p)<(q)?(p):(q))

int main(){
	long long X,Y;
	scanf("%lld%lld",&X,&Y);
	int ans1=0;
	//aを滅ぼす場合
	long long a=X*2,b1=0,b2=Y;
	while(1){
		long long t=(a+1)/2;
		long long tt=min(b2,t);
		b2-=tt;
		b1+=tt;
		b1-=min(b1,t-tt);
		if(b1+b2==0)break;
		ans1++;
		a-=b1+b2;
		if(a<=0)break;
		ans1++;
	}

	int ans2=0;
	//bを滅ぼす場合
	long long b=Y*2,a1=0,a2=X;
	while(1){
		b-=a1+a2;
		if(b<=0)break;
		ans2++;
		long long t=(b+1)/2;
		long long tt=min(a2,t);
		a2-=tt;
		a1+=tt;
		a1-=min(a1,t-tt);
		if(a1+a2==0)break;
		ans2++;
	}
	printf("%d\n",min(ans1,ans2));
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#define min(p,q)((p)<(q)?(p):(q))

int main(){
	long long X,Y;
	scanf("%lld%lld",&X,&Y);
	int ans1=0;
	//aを滅ぼす場合
	long long a=X*2,b1=0,b2=Y;
	while(1){
		long long t=(a+1)/2;
		long long tt=min(b2,t);
		b2-=tt;
		b1+=tt;
		b1-=min(b1,t-tt);
		if(b1+b2==0)break;
		ans1++;
		a-=b1+b2;
		if(a<=0)break;
		ans1++;
	}

	int ans2=0;
	//bを滅ぼす場合
	long long b=Y*2,a1=0,a2=X;
	while(1){
		b-=a1+a2;
		if(b<=0)break;
		ans2++;
		long long t=(b+1)/2;
		long long tt=min(a2,t);
		a2-=tt;
		a1+=tt;
		a1-=min(a1,t-tt);
		if(a1+a2==0)break;
		ans2++;
	}
	printf("%d\n",min(ans1,ans2));
}
```

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:

57319 68943
 25 10
 1000000000000000000 1000000000010000000
 10 36
 105904 68943
 25 12
 1000000001000000000 1000000000010000000
 10 48
 109335 68943
 13 12

3
 0
 4
 1
 2
 0
 2
 1
 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>
#define min(p,q)((p)<(q)?(p):(q))

int main(){
	long long X,Y;
	scanf("%lld%lld",&X,&Y);
	int ans1=0;
	//aを滅ぼす場合
	long long a=X*2,b1=0,b2=Y;
	while(1){
		long long t=(a+1)/2;
		long long tt=min(b2,t);
		b2-=tt;
		b1+=tt;
		b1-=min(b1,t-tt);
		if(b1+b2==0)break;
		ans1++;
		a-=b1+b2;
		if(a<=0)break;
		ans1++;
	}

	int ans2=0;
	//bを滅ぼす場合
	long long b=Y*2,a1=0,a2=X;
	while(1){
		b-=a1+a2;
		if(b<=0)break;
		ans2++;
		long long t=(b+1)/2;
		long long tt=min(a2,t);
		a2-=tt;
		a1+=tt;
		a1-=min(a1,t-tt);
		if(a1+a2==0)break;
		ans2++;
	}
	printf("%d\n",min(ans1,ans2));
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %r8
	movq	16(%rsp), %rdi
	leaq	(%r8,%r8), %r9
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	movq	%r9, %rax
	shrq	$63, %rax
	leaq	1(%r9,%rax), %rax
	sarq	%rax
	cmpq	%rax, %rdi
	movq	%rax, %rcx
	cmovle	%rdi, %rcx
	subq	%rcx, %rax
	subq	%rcx, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	subq	%rax, %rdx
	je	.L9
	subq	%rdx, %r9
	testq	%r9, %r9
	jle	.L10
	xorl	%edx, %edx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	subq	%rax, %r9
	testq	%r9, %r9
	jle	.L17
.L3:
	leaq	1(%r9), %rax
	movq	%rsi, %r10
	movl	%edx, %r11d
	addl	$2, %edx
	sarq	%rax
	cmpq	%rsi, %rax
	cmovle	%rax, %r10
	addq	%r10, %rcx
	subq	%r10, %rax
	subq	%r10, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	addq	%rcx, %rax
	jne	.L4
.L2:
	addq	%rdi, %rdi
	subq	%r8, %rdi
	testq	%rdi, %rdi
	jle	.L11
	leaq	1(%rdi), %rax
	movq	%r8, %rsi
	sarq	%rax
	cmpq	%rax, %r8
	movq	%rax, %rcx
	cmovle	%r8, %rcx
	subq	%rcx, %rax
	subq	%rcx, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	cmpq	%rax, %r8
	je	.L12
	xorl	%r9d, %r9d
	leaq	(%rsi,%rcx), %rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	leaq	1(%rdi), %rax
	movq	%rsi, %r8
	sarq	%rax
	cmpq	%rsi, %rax
	cmovle	%rax, %r8
	addq	%r8, %rcx
	subq	%r8, %rax
	subq	%r8, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	addq	%rcx, %rax
	je	.L18
.L6:
	subq	%rax, %rdi
	movl	%r9d, %r10d
	addl	$2, %r9d
	testq	%rdi, %rdi
	jg	.L7
.L5:
	cmpl	%r9d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	cmovg	%r9d, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	leal	3(%r11), %edx
	jmp	.L2
.L18:
	leal	3(%r10), %r9d
	jmp	.L5
.L9:
	xorl	%edx, %edx
	jmp	.L2
.L11:
	xorl	%r9d, %r9d
	jmp	.L5
.L12:
	movl	$1, %r9d
	jmp	.L5
.L10:
	movl	$1, %edx
	jmp	.L2
.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:
```

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"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %r8
	movq	16(%rsp), %rdi
	leaq	(%r8,%r8), %r9
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	movq	%r9, %rax
	shrq	$63, %rax
	leaq	1(%r9,%rax), %rax
	sarq	%rax
	cmpq	%rax, %rdi
	movq	%rax, %rcx
	cmovle	%rdi, %rcx
	subq	%rcx, %rax
	subq	%rcx, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	subq	%rax, %rdx
	je	.L9
	subq	%rdx, %r9
	testq	%r9, %r9
	jle	.L10
	xorl	%edx, %edx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	subq	%rax, %r9
	testq	%r9, %r9
	jle	.L17
.L3:
	leaq	1(%r9), %rax
	movq	%rsi, %r10
	movl	%edx, %r11d
	addl	$2, %edx
	sarq	%rax
	cmpq	%rsi, %rax
	cmovle	%rax, %r10
	addq	%r10, %rcx
	subq	%r10, %rax
	subq	%r10, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	addq	%rcx, %rax
	jne	.L4
.L2:
	addq	%rdi, %rdi
	subq	%r8, %rdi
	testq	%rdi, %rdi
	jle	.L11
	leaq	1(%rdi), %rax
	movq	%r8, %rsi
	sarq	%rax
	cmpq	%rax, %r8
	movq	%rax, %rcx
	cmovle	%r8, %rcx
	subq	%rcx, %rax
	subq	%rcx, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	cmpq	%rax, %r8
	je	.L12
	xorl	%r9d, %r9d
	leaq	(%rsi,%rcx), %rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	leaq	1(%rdi), %rax
	movq	%rsi, %r8
	sarq	%rax
	cmpq	%rsi, %rax
	cmovle	%rax, %r8
	addq	%r8, %rcx
	subq	%r8, %rax
	subq	%r8, %rsi
	cmpq	%rcx, %rax
	cmovg	%rcx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	addq	%rcx, %rax
	je	.L18
.L6:
	subq	%rax, %rdi
	movl	%r9d, %r10d
	addl	$2, %r9d
	testq	%rdi, %rdi
	jg	.L7
.L5:
	cmpl	%r9d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	cmovg	%r9d, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	leal	3(%r11), %edx
	jmp	.L2
.L18:
	leal	3(%r10), %r9d
	jmp	.L5
.L9:
	xorl	%edx, %edx
	jmp	.L2
.L11:
	xorl	%r9d, %r9d
	jmp	.L5
.L12:
	movl	$1, %r9d
	jmp	.L5
.L10:
	movl	$1, %edx
	jmp	.L2
.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:
```