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 ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
ll pom(ll a,ll n,int m){ll x=1;for(a%=m;n;n/=2)n&1?x=x*a%m:0,a=a*a%m;return x;}
#define invp(a,p)pom(a,p-2,p)
#define P 1000000007
ll fact[200010];

ll choose(n,r){
	return fact[n]*invp(fact[r]*fact[n-r],P)%P;
}

int main(){
	int h,w,a,b;
	scanf("%d%d%d%d",&h,&w,&a,&b);
	fact[0]=1;
	rep(i,1,200005)fact[i]=fact[i-1]*i%P;
	ll x=b-1,y=h-a;
	ll ans=0;
	while(x<w-1&&y>0){
		x++,y--;
		ans=(ans+choose(x+y,y)*choose((w-1-x)+(h-1-y),(h-1-y)))%P;
	}
	printf("%lld\n",ans);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	pom
	.type	pom, @function
pom:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movl	%edx, -36(%rbp)
	movq	$1, -8(%rbp)
	movl	-36(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	cqto
	idivq	%rcx
	movq	%rdx, -24(%rbp)
	jmp	.L2
.L5:
	movq	-32(%rbp), %rax
	andl	$1, %eax
	testq	%rax, %rax
	je	.L4
	movq	-8(%rbp), %rax
	imulq	-24(%rbp), %rax
	movl	-36(%rbp), %edx
	movslq	%edx, %rcx
	cqto
	idivq	%rcx
	movq	%rdx, -8(%rbp)
.L4:
	movq	-24(%rbp), %rax
	imulq	%rax, %rax
	movl	-36(%rbp), %edx
	movslq	%edx, %rcx
	cqto
	idivq	%rcx
	movq	%rdx, -24(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, -32(%rbp)
.L2:
	cmpq	$0, -32(%rbp)
	jne	.L5
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	pom, .-pom
	.globl	fact
	.bss
	.align 32
	.type	fact, @object
	.size	fact, 1600080
fact:
	.zero	1600080
	.text
	.globl	choose
	.type	choose, @function
choose:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$8, %rsp
	.cfi_offset 3, -24
	movl	%edi, -12(%rbp)
	movl	%esi, -16(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	fact(%rip), %rax
	movq	(%rdx,%rax), %rbx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	fact(%rip), %rax
	movq	(%rdx,%rax), %rdx
	movl	-12(%rbp), %eax
	subl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	fact(%rip), %rax
	movq	(%rcx,%rax), %rax
	imulq	%rdx, %rax
	movl	$1000000007, %edx
	movl	$1000000005, %esi
	movq	%rax, %rdi
	call	pom
	imulq	%rax, %rbx
	movq	%rbx, %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	choose, .-choose
	.section	.rodata
.LC0:
	.string	"%d%d%d%d"
.LC1:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-60(%rbp), %rsi
	leaq	-64(%rbp), %rcx
	leaq	-68(%rbp), %rdx
	leaq	-72(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$1, fact(%rip)
	movq	$1, -56(%rbp)
	jmp	.L10
.L11:
	movq	-56(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	fact(%rip), %rax
	movq	(%rdx,%rax), %rax
	imulq	-56(%rbp), %rax
	movq	%rax, %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	-56(%rbp), %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	fact(%rip), %rdx
	movq	%rax, (%rcx,%rdx)
	addq	$1, -56(%rbp)
.L10:
	cmpq	$200004, -56(%rbp)
	jle	.L11
	movl	-60(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	%rax, -48(%rbp)
	movl	-72(%rbp), %eax
	movl	-64(%rbp), %edx
	subl	%edx, %eax
	cltq
	movq	%rax, -40(%rbp)
	movq	$0, -32(%rbp)
	jmp	.L12
.L14:
	addq	$1, -48(%rbp)
	subq	$1, -40(%rbp)
	movq	-48(%rbp), %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movq	-40(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	movl	$0, %eax
	call	choose
	movq	%rax, %rbx
	movl	-72(%rbp), %eax
	subl	$1, %eax
	cltq
	subq	-40(%rbp), %rax
	movl	-68(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	movq	%rdx, %rcx
	subq	-48(%rbp), %rcx
	movl	-72(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	subq	-40(%rbp), %rdx
	addq	%rcx, %rdx
	movq	%rax, %rsi
	movq	%rdx, %rdi
	movl	$0, %eax
	call	choose
	imulq	%rax, %rbx
	movq	%rbx, %rdx
	movq	-32(%rbp), %rax
	leaq	(%rdx,%rax), %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	movq	%rax, -32(%rbp)
	movq	-32(%rbp), %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	%rax, -32(%rbp)
.L12:
	movl	-68(%rbp), %eax
	subl	$1, %eax
	cltq
	cmpq	%rax, -48(%rbp)
	jge	.L13
	cmpq	$0, -40(%rbp)
	jg	.L14
.L13:
	movq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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
	.p2align 4
	.globl	pom
	.type	pom, @function
pom:
.LFB23:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	movslq	%edx, %r8
	movl	$1, %r9d
	cqto
	idivq	%r8
	movq	%rdx, %rcx
	testq	%rsi, %rsi
	je	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	testb	$1, %sil
	je	.L3
	movq	%r9, %rax
	imulq	%rcx, %rax
	cqto
	idivq	%r8
	movq	%rdx, %r9
.L3:
	imulq	%rcx, %rcx
	movq	%rcx, %rax
	cqto
	idivq	%r8
	movq	%rsi, %rax
	shrq	$63, %rax
	addq	%rax, %rsi
	sarq	%rsi
	movq	%rdx, %rcx
	jne	.L4
.L1:
	movq	%r9, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	pom, .-pom
	.p2align 4
	.globl	choose
	.type	choose, @function
choose:
.LFB24:
	.cfi_startproc
	endbr64
	leaq	fact(%rip), %rdx
	movslq	%edi, %rax
	subl	%esi, %edi
	movabsq	$-8543223828751151131, %r10
	movq	(%rdx,%rax,8), %r11
	movslq	%edi, %rdi
	movslq	%esi, %rax
	movl	$30, %r9d
	movq	(%rdx,%rdi,8), %rsi
	imulq	(%rdx,%rax,8), %rsi
	movl	$1000000005, %r8d
	movq	%rsi, %rax
	imulq	%r10
	movq	%rsi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	subq	%rax, %rsi
	movq	%rsi, %rcx
	movl	$1, %esi
	.p2align 4,,10
	.p2align 3
.L13:
	testb	$1, %r8b
	je	.L12
	imulq	%rcx, %rsi
	movq	%rsi, %rax
	movq	%rsi, %rdi
	imulq	%r10
	movq	%rdi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rsi
	sarq	$29, %rsi
	subq	%rax, %rsi
	imulq	$1000000007, %rsi, %rax
	movq	%rdi, %rsi
	subq	%rax, %rsi
.L12:
	imulq	%rcx, %rcx
	movq	%r8, %rdi
	shrq	$63, %rdi
	addq	%r8, %rdi
	movq	%rcx, %rax
	sarq	%rdi
	mulq	%r10
	movq	%rdi, %r8
	shrq	$29, %rdx
	imulq	$1000000007, %rdx, %rax
	subq	%rax, %rcx
	subl	$1, %r9d
	jne	.L13
	imulq	%rsi, %r11
	movq	%r11, %rax
	imulq	%r10
	leaq	(%rdx,%r11), %rax
	movq	%r11, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%r11, %rax
	subq	%rdx, %rax
	ret
	.cfi_endproc
.LFE24:
	.size	choose, .-choose
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d"
.LC1:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB25:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	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	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rcx
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	leaq	36(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	$1, %edx
	movq	$1, fact(%rip)
	movl	$1, %ecx
	leaq	fact(%rip), %r11
	movabsq	$-8543223828751151131, %rdi
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%rdx, %rsi
	imulq	%rcx, %rsi
	movq	%rsi, %rax
	imulq	%rdi
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rax
	subq	%rax, %rsi
	movq	%rsi, (%r11,%rcx,8)
	addq	$1, %rcx
	movq	%rsi, %rdx
	cmpq	$200005, %rcx
	jne	.L19
	movl	28(%rsp), %ebx
	movslq	36(%rsp), %rdx
	movl	24(%rsp), %eax
	leal	-1(%rdx), %r13d
	leal	-1(%rbx), %ecx
	movl	%eax, %ebp
	movslq	%ecx, %rbx
	subl	32(%rsp), %ebp
	movslq	%r13d, %r13
	movq	%rbx, 8(%rsp)
	movslq	%ebp, %rbp
	cmpq	%rbx, %r13
	jge	.L28
	testq	%rbp, %rbp
	jle	.L28
	leal	-1(%rax), %r14d
	subq	$1, %rbp
	subq	%rdx, %rbx
	xorl	%r12d, %r12d
	movabsq	$-8543223828751151131, %r8
	movslq	%r14d, %r14
	movq	%rbx, %r15
	subq	%rbp, %r14
	.p2align 4,,10
	.p2align 3
.L25:
	addq	$1, %r13
	movl	$30, %r9d
	movl	$1, %edi
	leaq	0(%r13,%rbp), %rax
	movslq	%r13d, %rdx
	cltq
	movq	(%r11,%rax,8), %rbx
	movslq	%ebp, %rax
	movq	(%r11,%rax,8), %rsi
	imulq	(%r11,%rdx,8), %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	subq	%rax, %rsi
	movq	%rsi, %rcx
	movl	$1000000005, %esi
	.p2align 4,,10
	.p2align 3
.L22:
	testb	$1, %sil
	je	.L21
	imulq	%rcx, %rdi
	movq	%rdi, %rax
	movq	%rdi, %r10
	imulq	%r8
	movq	%r10, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rdi), %rdi
	sarq	$29, %rdi
	subq	%rax, %rdi
	imulq	$1000000007, %rdi, %rax
	movq	%r10, %rdi
	subq	%rax, %rdi
.L21:
	imulq	%rcx, %rcx
	movq	%rcx, %rax
	movq	%rcx, %r10
	mulq	%r8
	movq	%rdx, %rcx
	shrq	$29, %rcx
	imulq	$1000000007, %rcx, %rax
	movq	%r10, %rcx
	subq	%rax, %rcx
	movq	%rsi, %rax
	shrq	$63, %rax
	addq	%rsi, %rax
	sarq	%rax
	movq	%rax, %rsi
	subl	$1, %r9d
	jne	.L22
	imulq	%rbx, %rdi
	movl	$30, %r9d
	movq	%rdi, %rax
	imulq	%r8
	movq	%rdi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rdi), %rbx
	movslq	%r14d, %rdx
	sarq	$29, %rbx
	movq	(%r11,%rdx,8), %rsi
	subq	%rax, %rbx
	imulq	$1000000007, %rbx, %rax
	movq	%rdi, %rbx
	movl	$1, %edi
	subq	%rax, %rbx
	leaq	(%r14,%r15), %rax
	cltq
	movq	(%r11,%rax,8), %rax
	movq	%rax, (%rsp)
	movslq	%r15d, %rax
	imulq	(%r11,%rax,8), %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	subq	%rax, %rsi
	movq	%rsi, %rcx
	movl	$1000000005, %esi
	.p2align 4,,10
	.p2align 3
.L24:
	testb	$1, %sil
	je	.L23
	imulq	%rcx, %rdi
	movq	%rdi, %rax
	movq	%rdi, %r10
	imulq	%r8
	movq	%r10, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rdi), %rdi
	sarq	$29, %rdi
	subq	%rax, %rdi
	imulq	$1000000007, %rdi, %rax
	movq	%r10, %rdi
	subq	%rax, %rdi
.L23:
	imulq	%rcx, %rcx
	movq	%rcx, %rax
	mulq	%r8
	shrq	$29, %rdx
	imulq	$1000000007, %rdx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	shrq	$63, %rax
	addq	%rsi, %rax
	sarq	%rax
	movq	%rax, %rsi
	subl	$1, %r9d
	jne	.L24
	imulq	(%rsp), %rdi
	addq	$1, %r14
	subq	$1, %r15
	movq	%rdi, %rax
	imulq	%r8
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	imulq	%rbx, %rdi
	addq	%r12, %rdi
	movq	%rdi, %rax
	imulq	%r8
	movq	%rdi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rdi), %r12
	sarq	$29, %r12
	subq	%rax, %r12
	imulq	$1000000007, %r12, %rax
	subq	%rax, %rdi
	movq	%rdi, %r12
	cmpq	8(%rsp), %r13
	jge	.L20
	testq	%rbp, %rbp
	jle	.L20
	subq	$1, %rbp
	jmp	.L25
.L28:
	xorl	%r12d, %r12d
.L20:
	xorl	%eax, %eax
	movq	%r12, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L51
	addq	$56, %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
.L51:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE25:
	.size	main, .-main
	.globl	fact
	.bss
	.align 32
	.type	fact, @object
	.size	fact, 1600080
fact:
	.zero	1600080
	.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
	.p2align 4
	.globl	pom
	.type	pom, @function
pom:
.LFB23:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	movslq	%edx, %r8
	movl	$1, %r9d
	cqto
	idivq	%r8
	movq	%rdx, %rcx
	testq	%rsi, %rsi
	je	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	testb	$1, %sil
	je	.L3
	movq	%r9, %rax
	imulq	%rcx, %rax
	cqto
	idivq	%r8
	movq	%rdx, %r9
.L3:
	imulq	%rcx, %rcx
	movq	%rcx, %rax
	cqto
	idivq	%r8
	movq	%rsi, %rax
	shrq	$63, %rax
	addq	%rax, %rsi
	sarq	%rsi
	movq	%rdx, %rcx
	jne	.L4
.L1:
	movq	%r9, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	pom, .-pom
	.p2align 4
	.globl	choose
	.type	choose, @function
choose:
.LFB24:
	.cfi_startproc
	endbr64
	leaq	fact(%rip), %rdx
	movslq	%edi, %rax
	subl	%esi, %edi
	movabsq	$-8543223828751151131, %r10
	movq	(%rdx,%rax,8), %r11
	movslq	%edi, %rdi
	movslq	%esi, %rax
	movl	$30, %r9d
	movq	(%rdx,%rdi,8), %rsi
	imulq	(%rdx,%rax,8), %rsi
	movl	$1000000005, %r8d
	movq	%rsi, %rax
	imulq	%r10
	movq	%rsi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	subq	%rax, %rsi
	movq	%rsi, %rcx
	movl	$1, %esi
	.p2align 4,,10
	.p2align 3
.L13:
	testb	$1, %r8b
	je	.L12
	imulq	%rcx, %rsi
	movq	%rsi, %rax
	movq	%rsi, %rdi
	imulq	%r10
	movq	%rdi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rsi
	sarq	$29, %rsi
	subq	%rax, %rsi
	imulq	$1000000007, %rsi, %rax
	movq	%rdi, %rsi
	subq	%rax, %rsi
.L12:
	imulq	%rcx, %rcx
	movq	%r8, %rdi
	shrq	$63, %rdi
	addq	%r8, %rdi
	movq	%rcx, %rax
	sarq	%rdi
	mulq	%r10
	movq	%rdi, %r8
	shrq	$29, %rdx
	imulq	$1000000007, %rdx, %rax
	subq	%rax, %rcx
	subl	$1, %r9d
	jne	.L13
	imulq	%rsi, %r11
	movq	%r11, %rax
	imulq	%r10
	leaq	(%rdx,%r11), %rax
	movq	%r11, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%r11, %rax
	subq	%rdx, %rax
	ret
	.cfi_endproc
.LFE24:
	.size	choose, .-choose
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d"
.LC1:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB25:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	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	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rcx
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	leaq	36(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	$1, %edx
	movq	$1, fact(%rip)
	movl	$1, %ecx
	leaq	fact(%rip), %r11
	movabsq	$-8543223828751151131, %rdi
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%rdx, %rsi
	imulq	%rcx, %rsi
	movq	%rsi, %rax
	imulq	%rdi
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rax
	subq	%rax, %rsi
	movq	%rsi, (%r11,%rcx,8)
	addq	$1, %rcx
	movq	%rsi, %rdx
	cmpq	$200005, %rcx
	jne	.L19
	movl	28(%rsp), %ebx
	movslq	36(%rsp), %rdx
	movl	24(%rsp), %eax
	leal	-1(%rdx), %r13d
	leal	-1(%rbx), %ecx
	movl	%eax, %ebp
	movslq	%ecx, %rbx
	subl	32(%rsp), %ebp
	movslq	%r13d, %r13
	movq	%rbx, 8(%rsp)
	movslq	%ebp, %rbp
	cmpq	%rbx, %r13
	jge	.L28
	testq	%rbp, %rbp
	jle	.L28
	leal	-1(%rax), %r14d
	subq	$1, %rbp
	subq	%rdx, %rbx
	xorl	%r12d, %r12d
	movabsq	$-8543223828751151131, %r8
	movslq	%r14d, %r14
	movq	%rbx, %r15
	subq	%rbp, %r14
	.p2align 4,,10
	.p2align 3
.L25:
	addq	$1, %r13
	movl	$30, %r9d
	movl	$1, %edi
	leaq	0(%r13,%rbp), %rax
	movslq	%r13d, %rdx
	cltq
	movq	(%r11,%rax,8), %rbx
	movslq	%ebp, %rax
	movq	(%r11,%rax,8), %rsi
	imulq	(%r11,%rdx,8), %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	subq	%rax, %rsi
	movq	%rsi, %rcx
	movl	$1000000005, %esi
	.p2align 4,,10
	.p2align 3
.L22:
	testb	$1, %sil
	je	.L21
	imulq	%rcx, %rdi
	movq	%rdi, %rax
	movq	%rdi, %r10
	imulq	%r8
	movq	%r10, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rdi), %rdi
	sarq	$29, %rdi
	subq	%rax, %rdi
	imulq	$1000000007, %rdi, %rax
	movq	%r10, %rdi
	subq	%rax, %rdi
.L21:
	imulq	%rcx, %rcx
	movq	%rcx, %rax
	movq	%rcx, %r10
	mulq	%r8
	movq	%rdx, %rcx
	shrq	$29, %rcx
	imulq	$1000000007, %rcx, %rax
	movq	%r10, %rcx
	subq	%rax, %rcx
	movq	%rsi, %rax
	shrq	$63, %rax
	addq	%rsi, %rax
	sarq	%rax
	movq	%rax, %rsi
	subl	$1, %r9d
	jne	.L22
	imulq	%rbx, %rdi
	movl	$30, %r9d
	movq	%rdi, %rax
	imulq	%r8
	movq	%rdi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rdi), %rbx
	movslq	%r14d, %rdx
	sarq	$29, %rbx
	movq	(%r11,%rdx,8), %rsi
	subq	%rax, %rbx
	imulq	$1000000007, %rbx, %rax
	movq	%rdi, %rbx
	movl	$1, %edi
	subq	%rax, %rbx
	leaq	(%r14,%r15), %rax
	cltq
	movq	(%r11,%rax,8), %rax
	movq	%rax, (%rsp)
	movslq	%r15d, %rax
	imulq	(%r11,%rax,8), %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	subq	%rax, %rsi
	movq	%rsi, %rcx
	movl	$1000000005, %esi
	.p2align 4,,10
	.p2align 3
.L24:
	testb	$1, %sil
	je	.L23
	imulq	%rcx, %rdi
	movq	%rdi, %rax
	movq	%rdi, %r10
	imulq	%r8
	movq	%r10, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rdi), %rdi
	sarq	$29, %rdi
	subq	%rax, %rdi
	imulq	$1000000007, %rdi, %rax
	movq	%r10, %rdi
	subq	%rax, %rdi
.L23:
	imulq	%rcx, %rcx
	movq	%rcx, %rax
	mulq	%r8
	shrq	$29, %rdx
	imulq	$1000000007, %rdx, %rax
	subq	%rax, %rcx
	movq	%rsi, %rax
	shrq	$63, %rax
	addq	%rsi, %rax
	sarq	%rax
	movq	%rax, %rsi
	subl	$1, %r9d
	jne	.L24
	imulq	(%rsp), %rdi
	addq	$1, %r14
	subq	$1, %r15
	movq	%rdi, %rax
	imulq	%r8
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	imulq	%rbx, %rdi
	addq	%r12, %rdi
	movq	%rdi, %rax
	imulq	%r8
	movq	%rdi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rdi), %r12
	sarq	$29, %r12
	subq	%rax, %r12
	imulq	$1000000007, %r12, %rax
	subq	%rax, %rdi
	movq	%rdi, %r12
	cmpq	8(%rsp), %r13
	jge	.L20
	testq	%rbp, %rbp
	jle	.L20
	subq	$1, %rbp
	jmp	.L25
.L28:
	xorl	%r12d, %r12d
.L20:
	xorl	%eax, %eax
	movq	%r12, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L51
	addq	$56, %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
.L51:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE25:
	.size	main, .-main
	.globl	fact
	.bss
	.align 32
	.type	fact, @object
	.size	fact, 1600080
fact:
	.zero	1600080
	.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 ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
ll pom(ll a,ll n,int m){ll x=1;for(a%=m;n;n/=2)n&1?x=x*a%m:0,a=a*a%m;return x;}
#define invp(a,p)pom(a,p-2,p)
#define P 1000000007
ll fact[200010];

ll choose(n,r){
	return fact[n]*invp(fact[r]*fact[n-r],P)%P;
}

int main(){
	int h,w,a,b;
	scanf("%d%d%d%d",&h,&w,&a,&b);
	fact[0]=1;
	rep(i,1,200005)fact[i]=fact[i-1]*i%P;
	ll x=b-1,y=h-a;
	ll ans=0;
	while(x<w-1&&y>0){
		x++,y--;
		ans=(ans+choose(x+y,y)*choose((w-1-x)+(h-1-y),(h-1-y)))%P;
	}
	printf("%lld\n",ans);
	return 0;
}
10 7 6 4
 10 8 6 4
 17 8 6 4
 17 8 6 6
 2 4 1 1
 100000 100000 99999 72298
 100000 100000 43938 55555
 10 13 6 4
 17 8 5 6
 3 4 1 1

1155
 3760
 186615
 67496
 3
 471980925
 265769345
 200200
 93704
 9

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 ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
ll pom(ll a,ll n,int m){ll x=1;for(a%=m;n;n/=2)n&1?x=x*a%m:0,a=a*a%m;return x;}
#define invp(a,p)pom(a,p-2,p)
#define P 1000000007
ll fact[200010];

ll choose(n,r){
	return fact[n]*invp(fact[r]*fact[n-r],P)%P;
}

int main(){
	int h,w,a,b;
	scanf("%d%d%d%d",&h,&w,&a,&b);
	fact[0]=1;
	rep(i,1,200005)fact[i]=fact[i-1]*i%P;
	ll x=b-1,y=h-a;
	ll ans=0;
	while(x<w-1&&y>0){
		x++,y--;
		ans=(ans+choose(x+y,y)*choose((w-1-x)+(h-1-y),(h-1-y)))%P;
	}
	printf("%lld\n",ans);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	pom
	.type	pom, @function
pom:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movl	%edx, -36(%rbp)
	movq	$1, -8(%rbp)
	movl	-36(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	cqto
	idivq	%rcx
	movq	%rdx, -24(%rbp)
	jmp	.L2
.L5:
	movq	-32(%rbp), %rax
	andl	$1, %eax
	testq	%rax, %rax
	je	.L4
	movq	-8(%rbp), %rax
	imulq	-24(%rbp), %rax
	movl	-36(%rbp), %edx
	movslq	%edx, %rcx
	cqto
	idivq	%rcx
	movq	%rdx, -8(%rbp)
.L4:
	movq	-24(%rbp), %rax
	imulq	%rax, %rax
	movl	-36(%rbp), %edx
	movslq	%edx, %rcx
	cqto
	idivq	%rcx
	movq	%rdx, -24(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, -32(%rbp)
.L2:
	cmpq	$0, -32(%rbp)
	jne	.L5
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	pom, .-pom
	.globl	fact
	.bss
	.align 32
	.type	fact, @object
	.size	fact, 1600080
fact:
	.zero	1600080
	.text
	.globl	choose
	.type	choose, @function
choose:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$8, %rsp
	.cfi_offset 3, -24
	movl	%edi, -12(%rbp)
	movl	%esi, -16(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	fact(%rip), %rax
	movq	(%rdx,%rax), %rbx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	fact(%rip), %rax
	movq	(%rdx,%rax), %rdx
	movl	-12(%rbp), %eax
	subl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	fact(%rip), %rax
	movq	(%rcx,%rax), %rax
	imulq	%rdx, %rax
	movl	$1000000007, %edx
	movl	$1000000005, %esi
	movq	%rax, %rdi
	call	pom
	imulq	%rax, %rbx
	movq	%rbx, %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	choose, .-choose
	.section	.rodata
.LC0:
	.string	"%d%d%d%d"
.LC1:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-60(%rbp), %rsi
	leaq	-64(%rbp), %rcx
	leaq	-68(%rbp), %rdx
	leaq	-72(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$1, fact(%rip)
	movq	$1, -56(%rbp)
	jmp	.L10
.L11:
	movq	-56(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	fact(%rip), %rax
	movq	(%rdx,%rax), %rax
	imulq	-56(%rbp), %rax
	movq	%rax, %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	-56(%rbp), %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	fact(%rip), %rdx
	movq	%rax, (%rcx,%rdx)
	addq	$1, -56(%rbp)
.L10:
	cmpq	$200004, -56(%rbp)
	jle	.L11
	movl	-60(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	%rax, -48(%rbp)
	movl	-72(%rbp), %eax
	movl	-64(%rbp), %edx
	subl	%edx, %eax
	cltq
	movq	%rax, -40(%rbp)
	movq	$0, -32(%rbp)
	jmp	.L12
.L14:
	addq	$1, -48(%rbp)
	subq	$1, -40(%rbp)
	movq	-48(%rbp), %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movq	-40(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	movl	$0, %eax
	call	choose
	movq	%rax, %rbx
	movl	-72(%rbp), %eax
	subl	$1, %eax
	cltq
	subq	-40(%rbp), %rax
	movl	-68(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	movq	%rdx, %rcx
	subq	-48(%rbp), %rcx
	movl	-72(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	subq	-40(%rbp), %rdx
	addq	%rcx, %rdx
	movq	%rax, %rsi
	movq	%rdx, %rdi
	movl	$0, %eax
	call	choose
	imulq	%rax, %rbx
	movq	%rbx, %rdx
	movq	-32(%rbp), %rax
	leaq	(%rdx,%rax), %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	movq	%rax, -32(%rbp)
	movq	-32(%rbp), %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	%rax, -32(%rbp)
.L12:
	movl	-68(%rbp), %eax
	subl	$1, %eax
	cltq
	cmpq	%rax, -48(%rbp)
	jge	.L13
	cmpq	$0, -40(%rbp)
	jg	.L14
.L13:
	movq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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
	.globl	pom
	.type	pom, @function
pom:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movl	%edx, -36(%rbp)
	movq	$1, -8(%rbp)
	movl	-36(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	cqto
	idivq	%rcx
	movq	%rdx, -24(%rbp)
	jmp	.L2
.L5:
	movq	-32(%rbp), %rax
	andl	$1, %eax
	testq	%rax, %rax
	je	.L4
	movq	-8(%rbp), %rax
	imulq	-24(%rbp), %rax
	movl	-36(%rbp), %edx
	movslq	%edx, %rcx
	cqto
	idivq	%rcx
	movq	%rdx, -8(%rbp)
.L4:
	movq	-24(%rbp), %rax
	imulq	%rax, %rax
	movl	-36(%rbp), %edx
	movslq	%edx, %rcx
	cqto
	idivq	%rcx
	movq	%rdx, -24(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, -32(%rbp)
.L2:
	cmpq	$0, -32(%rbp)
	jne	.L5
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	pom, .-pom
	.globl	fact
	.bss
	.align 32
	.type	fact, @object
	.size	fact, 1600080
fact:
	.zero	1600080
	.text
	.globl	choose
	.type	choose, @function
choose:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$8, %rsp
	.cfi_offset 3, -24
	movl	%edi, -12(%rbp)
	movl	%esi, -16(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	fact(%rip), %rax
	movq	(%rdx,%rax), %rbx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	fact(%rip), %rax
	movq	(%rdx,%rax), %rdx
	movl	-12(%rbp), %eax
	subl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	fact(%rip), %rax
	movq	(%rcx,%rax), %rax
	imulq	%rdx, %rax
	movl	$1000000007, %edx
	movl	$1000000005, %esi
	movq	%rax, %rdi
	call	pom
	imulq	%rax, %rbx
	movq	%rbx, %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	choose, .-choose
	.section	.rodata
.LC0:
	.string	"%d%d%d%d"
.LC1:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-60(%rbp), %rsi
	leaq	-64(%rbp), %rcx
	leaq	-68(%rbp), %rdx
	leaq	-72(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$1, fact(%rip)
	movq	$1, -56(%rbp)
	jmp	.L10
.L11:
	movq	-56(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	fact(%rip), %rax
	movq	(%rdx,%rax), %rax
	imulq	-56(%rbp), %rax
	movq	%rax, %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	-56(%rbp), %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	fact(%rip), %rdx
	movq	%rax, (%rcx,%rdx)
	addq	$1, -56(%rbp)
.L10:
	cmpq	$200004, -56(%rbp)
	jle	.L11
	movl	-60(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	%rax, -48(%rbp)
	movl	-72(%rbp), %eax
	movl	-64(%rbp), %edx
	subl	%edx, %eax
	cltq
	movq	%rax, -40(%rbp)
	movq	$0, -32(%rbp)
	jmp	.L12
.L14:
	addq	$1, -48(%rbp)
	subq	$1, -40(%rbp)
	movq	-48(%rbp), %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movq	-40(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	movl	$0, %eax
	call	choose
	movq	%rax, %rbx
	movl	-72(%rbp), %eax
	subl	$1, %eax
	cltq
	subq	-40(%rbp), %rax
	movl	-68(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	movq	%rdx, %rcx
	subq	-48(%rbp), %rcx
	movl	-72(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	subq	-40(%rbp), %rdx
	addq	%rcx, %rdx
	movq	%rax, %rsi
	movq	%rdx, %rdi
	movl	$0, %eax
	call	choose
	imulq	%rax, %rbx
	movq	%rbx, %rdx
	movq	-32(%rbp), %rax
	leaq	(%rdx,%rax), %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	movq	%rax, -32(%rbp)
	movq	-32(%rbp), %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	%rax, -32(%rbp)
.L12:
	movl	-68(%rbp), %eax
	subl	$1, %eax
	cltq
	cmpq	%rax, -48(%rbp)
	jge	.L13
	cmpq	$0, -40(%rbp)
	jg	.L14
.L13:
	movq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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:
