Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
double n,p[333][333][333],r;
c[4];
f(i,j,k)
{
	if(i|j|k&&p[i][j][k]==0)
	{
		p[i][j][k]=(
			(i?i/n*(f(i-1,j,k),r+n/(i+j+k)):0)+
			(j?j/n*(f(i+1,j-1,k),r+n/(i+j+k)):0)+
			(k?k/n*(f(i,j+1,k-1),r+n/(i+j+k)):0)
		)*n/(i+j+k);
	}
	r=p[i][j][k];
}
main(a)
{
	for(scanf("%lf",&n);~scanf("%d",&a);)c[a]++;
	printf("%.9f",r,f(c[1],c[2],c[3]));
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	n
	.bss
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.globl	p
	.align 32
	.type	p, @object
	.size	p, 295408296
p:
	.zero	295408296
	.globl	r
	.align 8
	.type	r, @object
	.size	r, 8
r:
	.zero	8
	.globl	c
	.align 16
	.type	c, @object
	.size	c, 16
c:
	.zero	16
	.text
	.globl	f
	.type	f, @function
f:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	-4(%rbp), %eax
	orl	-8(%rbp), %eax
	orl	-12(%rbp), %eax
	testl	%eax, %eax
	je	.L2
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	cltq
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	imulq	$110889, %rax, %rsi
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	pxor	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jp	.L2
	pxor	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	.L2
	cmpl	$0, -4(%rbp)
	je	.L4
	movl	-4(%rbp), %eax
	leal	-1(%rax), %ecx
	movl	-12(%rbp), %edx
	movl	-8(%rbp), %eax
	movl	%eax, %esi
	movl	%ecx, %edi
	movl	$0, %eax
	call	f
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-4(%rbp), %xmm0
	movsd	n(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	n(%rip), %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movapd	%xmm0, %xmm2
	divsd	%xmm3, %xmm2
	movsd	r(%rip), %xmm0
	addsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, -24(%rbp)
	jmp	.L5
.L4:
	pxor	%xmm4, %xmm4
	movsd	%xmm4, -24(%rbp)
.L5:
	cmpl	$0, -8(%rbp)
	je	.L6
	movl	-8(%rbp), %eax
	leal	-1(%rax), %esi
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12(%rbp), %eax
	movl	%eax, %edx
	movl	%ecx, %edi
	movl	$0, %eax
	call	f
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-8(%rbp), %xmm0
	movsd	n(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	n(%rip), %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movapd	%xmm0, %xmm2
	divsd	%xmm3, %xmm2
	movsd	r(%rip), %xmm0
	addsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	jmp	.L7
.L6:
	pxor	%xmm0, %xmm0
.L7:
	addsd	-24(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	cmpl	$0, -12(%rbp)
	je	.L8
	movl	-12(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-8(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	movl	$0, %eax
	call	f
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-12(%rbp), %xmm0
	movsd	n(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	n(%rip), %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movapd	%xmm0, %xmm2
	divsd	%xmm3, %xmm2
	movsd	r(%rip), %xmm0
	addsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	jmp	.L9
.L8:
	pxor	%xmm0, %xmm0
.L9:
	movsd	-24(%rbp), %xmm1
	addsd	%xmm0, %xmm1
	movsd	n(%rip), %xmm0
	mulsd	%xmm1, %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	divsd	%xmm1, %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	cltq
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	imulq	$110889, %rax, %rsi
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
.L2:
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	cltq
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	imulq	$110889, %rax, %rsi
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movsd	%xmm0, r(%rip)
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata
.LC1:
	.string	"%lf"
.LC2:
	.string	"%d"
.LC3:
	.string	"%.9f"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	jmp	.L12
.L13:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	c(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L12:
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L13
	movl	12+c(%rip), %edx
	movl	8+c(%rip), %ecx
	movl	4+c(%rip), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	movl	$0, %eax
	call	f
	movl	%eax, %edx
	movq	r(%rip), %rax
	movl	%edx, %esi
	movq	%rax, %xmm0
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	f
	.type	f, @function
f:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%edx, %rcx
	leaq	p(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movslq	%edi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movslq	%esi, %r13
	imulq	$110889, %r14, %rax
	leaq	0(%r13,%r13,8), %rdx
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	0(%r13,%rdx,4), %rdx
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	(%rdx,%rdx,8), %rdx
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	addq	%rdx, %rax
	addq	%rcx, %rax
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movsd	(%r15,%rax,8), %xmm0
	movl	%r13d, %eax
	orl	%ecx, %eax
	orl	%r14d, %eax
	je	.L2
	pxor	%xmm2, %xmm2
	ucomisd	%xmm2, %xmm0
	jp	.L2
	jne	.L2
	leal	(%r14,%r13), %eax
	movq	%r14, %r12
	movq	%r13, %rbx
	movq	%rcx, %rbp
	leal	(%rax,%rcx), %r8d
	testl	%r14d, %r14d
	jne	.L17
	pxor	%xmm3, %xmm3
	movapd	%xmm2, %xmm0
	cvtsi2sdl	%r8d, %xmm3
.L4:
	movapd	%xmm2, %xmm1
	testl	%ebx, %ebx
	jne	.L18
.L5:
	addsd	%xmm0, %xmm1
	movsd	n(%rip), %xmm4
	testl	%ebp, %ebp
	jne	.L19
.L7:
	addsd	%xmm2, %xmm1
	leaq	0(%r13,%r13,8), %rax
	imulq	$110889, %r14, %r14
	leaq	0(%r13,%rax,4), %rax
	leaq	(%rax,%rax,8), %rax
	movapd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm0
	addq	%rax, %r14
	addq	%rcx, %r14
	divsd	%xmm3, %xmm0
	movsd	%xmm0, (%r15,%r14,8)
.L2:
	movsd	%xmm0, r(%rip)
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	movl	%ecx, %edx
	leal	-1(%r14), %edi
	movl	%r13d, %esi
	xorl	%eax, %eax
	movq	%rcx, 16(%rsp)
	movl	%r8d, 8(%rsp)
	call	f
	movl	8(%rsp), %r8d
	pxor	%xmm1, %xmm1
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%r14d, %xmm1
	movsd	n(%rip), %xmm4
	movq	16(%rsp), %rcx
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%r8d, %xmm3
	movapd	%xmm4, %xmm0
	divsd	%xmm4, %xmm1
	divsd	%xmm3, %xmm0
	addsd	r(%rip), %xmm0
	mulsd	%xmm1, %xmm0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	leal	-1(%rbp), %edx
	leal	1(%rbx), %esi
	movl	%r12d, %edi
	xorl	%eax, %eax
	movq	%rcx, 24(%rsp)
	movsd	%xmm3, 16(%rsp)
	movsd	%xmm1, 8(%rsp)
	call	f
	pxor	%xmm0, %xmm0
	movsd	16(%rsp), %xmm3
	movsd	n(%rip), %xmm4
	cvtsi2sdl	%ebp, %xmm0
	movq	24(%rsp), %rcx
	movsd	8(%rsp), %xmm1
	movapd	%xmm4, %xmm2
	divsd	%xmm3, %xmm2
	divsd	%xmm4, %xmm0
	addsd	r(%rip), %xmm2
	mulsd	%xmm0, %xmm2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	leal	-1(%rbx), %esi
	leal	1(%r12), %edi
	movl	%ebp, %edx
	xorl	%eax, %eax
	movq	%rcx, 24(%rsp)
	movsd	%xmm3, 16(%rsp)
	movsd	%xmm0, 8(%rsp)
	call	f
	pxor	%xmm4, %xmm4
	movsd	16(%rsp), %xmm3
	movsd	n(%rip), %xmm5
	cvtsi2sdl	%ebx, %xmm4
	movq	24(%rsp), %rcx
	movsd	8(%rsp), %xmm0
	pxor	%xmm2, %xmm2
	movapd	%xmm5, %xmm1
	divsd	%xmm3, %xmm1
	divsd	%xmm5, %xmm4
	addsd	r(%rip), %xmm1
	mulsd	%xmm4, %xmm1
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%lf"
.LC2:
	.string	"%d"
.LC3:
	.string	"%.9f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	n(%rip), %rsi
	xorl	%eax, %eax
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	c(%rip), %rbx
	subq	$16, %rsp
	.cfi_def_cfa_offset 48
	movl	%edi, 12(%rsp)
	leaq	.LC1(%rip), %rdi
	leaq	12(%rsp), %r12
	call	scanf@PLT
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	movslq	12(%rsp), %rax
	addl	$1, (%rbx,%rax,4)
.L21:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L22
	movl	12+c(%rip), %edx
	movl	8+c(%rip), %esi
	xorl	%eax, %eax
	movl	4+c(%rip), %edi
	call	f
	movsd	r(%rip), %xmm0
	leaq	.LC3(%rip), %rdi
	movl	%eax, %esi
	movl	$1, %eax
	call	printf@PLT
	addq	$16, %rsp
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.globl	c
	.bss
	.align 16
	.type	c, @object
	.size	c, 16
c:
	.zero	16
	.globl	r
	.align 8
	.type	r, @object
	.size	r, 8
r:
	.zero	8
	.globl	p
	.align 32
	.type	p, @object
	.size	p, 295408296
p:
	.zero	295408296
	.globl	n
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.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	f
	.type	f, @function
f:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%edx, %rcx
	leaq	p(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movslq	%edi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movslq	%esi, %r13
	imulq	$110889, %r14, %rax
	leaq	0(%r13,%r13,8), %rdx
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	0(%r13,%rdx,4), %rdx
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	(%rdx,%rdx,8), %rdx
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	addq	%rdx, %rax
	addq	%rcx, %rax
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movsd	(%r15,%rax,8), %xmm0
	movl	%r13d, %eax
	orl	%ecx, %eax
	orl	%r14d, %eax
	je	.L2
	pxor	%xmm2, %xmm2
	ucomisd	%xmm2, %xmm0
	jp	.L2
	jne	.L2
	leal	(%r14,%r13), %eax
	movq	%r14, %r12
	movq	%r13, %rbx
	movq	%rcx, %rbp
	leal	(%rax,%rcx), %r8d
	testl	%r14d, %r14d
	jne	.L17
	pxor	%xmm3, %xmm3
	movapd	%xmm2, %xmm0
	cvtsi2sdl	%r8d, %xmm3
.L4:
	movapd	%xmm2, %xmm1
	testl	%ebx, %ebx
	jne	.L18
.L5:
	addsd	%xmm0, %xmm1
	movsd	n(%rip), %xmm4
	testl	%ebp, %ebp
	jne	.L19
.L7:
	addsd	%xmm2, %xmm1
	leaq	0(%r13,%r13,8), %rax
	imulq	$110889, %r14, %r14
	leaq	0(%r13,%rax,4), %rax
	leaq	(%rax,%rax,8), %rax
	movapd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm0
	addq	%rax, %r14
	addq	%rcx, %r14
	divsd	%xmm3, %xmm0
	movsd	%xmm0, (%r15,%r14,8)
.L2:
	movsd	%xmm0, r(%rip)
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	movl	%ecx, %edx
	leal	-1(%r14), %edi
	movl	%r13d, %esi
	xorl	%eax, %eax
	movq	%rcx, 16(%rsp)
	movl	%r8d, 8(%rsp)
	call	f
	movl	8(%rsp), %r8d
	pxor	%xmm1, %xmm1
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%r14d, %xmm1
	movsd	n(%rip), %xmm4
	movq	16(%rsp), %rcx
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%r8d, %xmm3
	movapd	%xmm4, %xmm0
	divsd	%xmm4, %xmm1
	divsd	%xmm3, %xmm0
	addsd	r(%rip), %xmm0
	mulsd	%xmm1, %xmm0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	leal	-1(%rbp), %edx
	leal	1(%rbx), %esi
	movl	%r12d, %edi
	xorl	%eax, %eax
	movq	%rcx, 24(%rsp)
	movsd	%xmm3, 16(%rsp)
	movsd	%xmm1, 8(%rsp)
	call	f
	pxor	%xmm0, %xmm0
	movsd	16(%rsp), %xmm3
	movsd	n(%rip), %xmm4
	cvtsi2sdl	%ebp, %xmm0
	movq	24(%rsp), %rcx
	movsd	8(%rsp), %xmm1
	movapd	%xmm4, %xmm2
	divsd	%xmm3, %xmm2
	divsd	%xmm4, %xmm0
	addsd	r(%rip), %xmm2
	mulsd	%xmm0, %xmm2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	leal	-1(%rbx), %esi
	leal	1(%r12), %edi
	movl	%ebp, %edx
	xorl	%eax, %eax
	movq	%rcx, 24(%rsp)
	movsd	%xmm3, 16(%rsp)
	movsd	%xmm0, 8(%rsp)
	call	f
	pxor	%xmm4, %xmm4
	movsd	16(%rsp), %xmm3
	movsd	n(%rip), %xmm5
	cvtsi2sdl	%ebx, %xmm4
	movq	24(%rsp), %rcx
	movsd	8(%rsp), %xmm0
	pxor	%xmm2, %xmm2
	movapd	%xmm5, %xmm1
	divsd	%xmm3, %xmm1
	divsd	%xmm5, %xmm4
	addsd	r(%rip), %xmm1
	mulsd	%xmm4, %xmm1
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%lf"
.LC2:
	.string	"%d"
.LC3:
	.string	"%.9f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	n(%rip), %rsi
	xorl	%eax, %eax
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	c(%rip), %rbx
	subq	$16, %rsp
	.cfi_def_cfa_offset 48
	movl	%edi, 12(%rsp)
	leaq	.LC1(%rip), %rdi
	leaq	12(%rsp), %r12
	call	scanf@PLT
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	movslq	12(%rsp), %rax
	addl	$1, (%rbx,%rax,4)
.L21:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L22
	movl	12+c(%rip), %edx
	movl	8+c(%rip), %esi
	xorl	%eax, %eax
	movl	4+c(%rip), %edi
	call	f
	movsd	r(%rip), %xmm0
	leaq	.LC3(%rip), %rdi
	movl	%eax, %esi
	movl	$1, %eax
	call	printf@PLT
	addq	$16, %rsp
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.globl	c
	.bss
	.align 16
	.type	c, @object
	.size	c, 16
c:
	.zero	16
	.globl	r
	.align 8
	.type	r, @object
	.size	r, 8
r:
	.zero	8
	.globl	p
	.align 32
	.type	p, @object
	.size	p, 295408296
p:
	.zero	295408296
	.globl	n
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.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:

double n,p[333][333][333],r;
c[4];
f(i,j,k)
{
	if(i|j|k&&p[i][j][k]==0)
	{
		p[i][j][k]=(
			(i?i/n*(f(i-1,j,k),r+n/(i+j+k)):0)+
			(j?j/n*(f(i+1,j-1,k),r+n/(i+j+k)):0)+
			(k?k/n*(f(i,j+1,k-1),r+n/(i+j+k)):0)
		)*n/(i+j+k);
	}
	r=p[i][j][k];
}
main(a)
{
	for(scanf("%lf",&n);~scanf("%d",&a);)c[a]++;
	printf("%.9f",r,f(c[1],c[2],c[3]));
}
1
1
 3
1 2 1
 3
2 2 1
 2
1 3
 1
2
 3
2 3 1
 2
1 1
 10
1 3 2 2 3 2 3 2 1 3
 2
2 1
 3
2 2 2

1.000000000 7.333333333 8.638888889 6.250000000 2.000000000 10.548611111 3.000000000 52.864392304 4.500000000 9.638888889
Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
double n,p[333][333][333],r;
c[4];
f(i,j,k)
{
	if(i|j|k&&p[i][j][k]==0)
	{
		p[i][j][k]=(
			(i?i/n*(f(i-1,j,k),r+n/(i+j+k)):0)+
			(j?j/n*(f(i+1,j-1,k),r+n/(i+j+k)):0)+
			(k?k/n*(f(i,j+1,k-1),r+n/(i+j+k)):0)
		)*n/(i+j+k);
	}
	r=p[i][j][k];
}
main(a)
{
	for(scanf("%lf",&n);~scanf("%d",&a);)c[a]++;
	printf("%.9f",r,f(c[1],c[2],c[3]));
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	n
	.bss
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.globl	p
	.align 32
	.type	p, @object
	.size	p, 295408296
p:
	.zero	295408296
	.globl	r
	.align 8
	.type	r, @object
	.size	r, 8
r:
	.zero	8
	.globl	c
	.align 16
	.type	c, @object
	.size	c, 16
c:
	.zero	16
	.text
	.globl	f
	.type	f, @function
f:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	-4(%rbp), %eax
	orl	-8(%rbp), %eax
	orl	-12(%rbp), %eax
	testl	%eax, %eax
	je	.L2
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	cltq
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	imulq	$110889, %rax, %rsi
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	pxor	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jp	.L2
	pxor	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	.L2
	cmpl	$0, -4(%rbp)
	je	.L4
	movl	-4(%rbp), %eax
	leal	-1(%rax), %ecx
	movl	-12(%rbp), %edx
	movl	-8(%rbp), %eax
	movl	%eax, %esi
	movl	%ecx, %edi
	movl	$0, %eax
	call	f
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-4(%rbp), %xmm0
	movsd	n(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	n(%rip), %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movapd	%xmm0, %xmm2
	divsd	%xmm3, %xmm2
	movsd	r(%rip), %xmm0
	addsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, -24(%rbp)
	jmp	.L5
.L4:
	pxor	%xmm4, %xmm4
	movsd	%xmm4, -24(%rbp)
.L5:
	cmpl	$0, -8(%rbp)
	je	.L6
	movl	-8(%rbp), %eax
	leal	-1(%rax), %esi
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12(%rbp), %eax
	movl	%eax, %edx
	movl	%ecx, %edi
	movl	$0, %eax
	call	f
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-8(%rbp), %xmm0
	movsd	n(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	n(%rip), %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movapd	%xmm0, %xmm2
	divsd	%xmm3, %xmm2
	movsd	r(%rip), %xmm0
	addsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	jmp	.L7
.L6:
	pxor	%xmm0, %xmm0
.L7:
	addsd	-24(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	cmpl	$0, -12(%rbp)
	je	.L8
	movl	-12(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-8(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	movl	$0, %eax
	call	f
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-12(%rbp), %xmm0
	movsd	n(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	n(%rip), %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movapd	%xmm0, %xmm2
	divsd	%xmm3, %xmm2
	movsd	r(%rip), %xmm0
	addsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	jmp	.L9
.L8:
	pxor	%xmm0, %xmm0
.L9:
	movsd	-24(%rbp), %xmm1
	addsd	%xmm0, %xmm1
	movsd	n(%rip), %xmm0
	mulsd	%xmm1, %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	divsd	%xmm1, %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	cltq
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	imulq	$110889, %rax, %rsi
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
.L2:
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	cltq
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	imulq	$110889, %rax, %rsi
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movsd	%xmm0, r(%rip)
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata
.LC1:
	.string	"%lf"
.LC2:
	.string	"%d"
.LC3:
	.string	"%.9f"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	jmp	.L12
.L13:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	c(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L12:
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L13
	movl	12+c(%rip), %edx
	movl	8+c(%rip), %ecx
	movl	4+c(%rip), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	movl	$0, %eax
	call	f
	movl	%eax, %edx
	movq	r(%rip), %rax
	movl	%edx, %esi
	movq	%rax, %xmm0
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	n
	.bss
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.globl	p
	.align 32
	.type	p, @object
	.size	p, 295408296
p:
	.zero	295408296
	.globl	r
	.align 8
	.type	r, @object
	.size	r, 8
r:
	.zero	8
	.globl	c
	.align 16
	.type	c, @object
	.size	c, 16
c:
	.zero	16
	.text
	.globl	f
	.type	f, @function
f:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	-4(%rbp), %eax
	orl	-8(%rbp), %eax
	orl	-12(%rbp), %eax
	testl	%eax, %eax
	je	.L2
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	cltq
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	imulq	$110889, %rax, %rsi
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	pxor	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jp	.L2
	pxor	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	.L2
	cmpl	$0, -4(%rbp)
	je	.L4
	movl	-4(%rbp), %eax
	leal	-1(%rax), %ecx
	movl	-12(%rbp), %edx
	movl	-8(%rbp), %eax
	movl	%eax, %esi
	movl	%ecx, %edi
	movl	$0, %eax
	call	f
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-4(%rbp), %xmm0
	movsd	n(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	n(%rip), %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movapd	%xmm0, %xmm2
	divsd	%xmm3, %xmm2
	movsd	r(%rip), %xmm0
	addsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, -24(%rbp)
	jmp	.L5
.L4:
	pxor	%xmm4, %xmm4
	movsd	%xmm4, -24(%rbp)
.L5:
	cmpl	$0, -8(%rbp)
	je	.L6
	movl	-8(%rbp), %eax
	leal	-1(%rax), %esi
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12(%rbp), %eax
	movl	%eax, %edx
	movl	%ecx, %edi
	movl	$0, %eax
	call	f
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-8(%rbp), %xmm0
	movsd	n(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	n(%rip), %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movapd	%xmm0, %xmm2
	divsd	%xmm3, %xmm2
	movsd	r(%rip), %xmm0
	addsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	jmp	.L7
.L6:
	pxor	%xmm0, %xmm0
.L7:
	addsd	-24(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	cmpl	$0, -12(%rbp)
	je	.L8
	movl	-12(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-8(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	movl	$0, %eax
	call	f
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-12(%rbp), %xmm0
	movsd	n(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	n(%rip), %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movapd	%xmm0, %xmm2
	divsd	%xmm3, %xmm2
	movsd	r(%rip), %xmm0
	addsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	jmp	.L9
.L8:
	pxor	%xmm0, %xmm0
.L9:
	movsd	-24(%rbp), %xmm1
	addsd	%xmm0, %xmm1
	movsd	n(%rip), %xmm0
	mulsd	%xmm1, %xmm0
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	divsd	%xmm1, %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	cltq
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	imulq	$110889, %rax, %rsi
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
.L2:
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	cltq
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	imulq	$110889, %rax, %rsi
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movsd	%xmm0, r(%rip)
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata
.LC1:
	.string	"%lf"
.LC2:
	.string	"%d"
.LC3:
	.string	"%.9f"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	jmp	.L12
.L13:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	c(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L12:
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L13
	movl	12+c(%rip), %edx
	movl	8+c(%rip), %ecx
	movl	4+c(%rip), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	movl	$0, %eax
	call	f
	movl	%eax, %edx
	movq	r(%rip), %rax
	movl	%edx, %esi
	movq	%rax, %xmm0
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
