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

```c
i,j,c,b,v,u,D[10000];main(N,K,T,U,V,L,x){
scanf("%d%d%d%d%d%d",&N,&K,&T,&U,&V,&L);
for(;i<N;i++)scanf("%d",&x),D[x]=1;
for(;j<L;b?v++,b--:u++,j++)if((c+=D[j])>K||c&&!b)c--,b=T*V;
printf("%f\n",1.*v/V+1.*u/U);
exit(0);}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	D(%rip), %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movl	%edi, 28(%rsp)
	leaq	.LC0(%rip), %rdi
	movl	%esi, 24(%rsp)
	leaq	28(%rsp), %rsi
	movl	%edx, 20(%rsp)
	leaq	24(%rsp), %rdx
	movl	%ecx, 16(%rsp)
	leaq	20(%rsp), %rcx
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	movl	%r8d, 20(%rsp)
	movl	%r9d, 16(%rsp)
	leaq	16(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	28(%rsp), %r9
	leaq	32(%rsp), %r8
	call	scanf@PLT
	popq	%rax
	.cfi_def_cfa_offset 88
	popq	%rdx
	.cfi_def_cfa_offset 80
	movl	28(%rsp), %eax
	cmpl	%eax, i(%rip)
	jge	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	leaq	80(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	80(%rsp), %rax
	movl	$1, (%rbx,%rax,4)
	movl	i(%rip), %eax
	addl	$1, %eax
	movl	%eax, i(%rip)
	cmpl	28(%rsp), %eax
	jl	.L2
.L5:
	movl	j(%rip), %edi
	movl	8(%rsp), %r14d
	movl	12(%rsp), %r13d
	movl	u(%rip), %r8d
	movl	v(%rip), %r9d
	cmpl	%edi, %r14d
	jle	.L6
	leal	-1(%r14), %esi
	movslq	%edi, %r10
	movl	20(%rsp), %ebx
	movl	24(%rsp), %r11d
	subl	%edi, %esi
	leaq	D(%rip), %rdx
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	4+D(%rip), %rdi
	addq	%r10, %rsi
	leaq	(%rdx,%r10,4), %rdx
	movl	c(%rip), %eax
	imull	%r13d, %ebx
	leaq	(%rdi,%rsi,4), %r10
	movl	b(%rip), %ecx
	xorl	%edi, %edi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L37:
	testl	%eax, %eax
	je	.L8
	testl	%ecx, %ecx
	je	.L7
.L9:
	addq	$4, %rdx
	addl	$1, %r9d
	subl	$1, %ecx
	movl	$1, %edi
	movl	$1, %r12d
	cmpq	%r10, %rdx
	je	.L36
.L11:
	addl	(%rdx), %eax
	movl	%eax, %esi
	cmpl	%eax, %r11d
	jge	.L37
.L7:
	leal	-1(%rsi), %eax
	movl	%ebx, %ecx
	movl	$1, %edi
.L8:
	testl	%ecx, %ecx
	jne	.L9
	addq	$4, %rdx
	addl	$1, %r8d
	movl	$1, %ebp
	cmpq	%r10, %rdx
	jne	.L11
.L36:
	movl	%r14d, j(%rip)
	movl	%eax, c(%rip)
	testb	%bpl, %bpl
	je	.L12
	movl	%r8d, u(%rip)
.L12:
	testb	%r12b, %r12b
	je	.L13
	movl	%r9d, v(%rip)
.L13:
	testb	%dil, %dil
	je	.L6
	movl	%ecx, b(%rip)
.L6:
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	movl	$1, %eax
	cvtsi2sdl	16(%rsp), %xmm1
	leaq	.LC2(%rip), %rdi
	cvtsi2sdl	u(%rip), %xmm0
	cvtsi2sdl	%r13d, %xmm2
	divsd	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	v(%rip), %xmm1
	divsd	%xmm2, %xmm1
	addsd	%xmm1, %xmm0
	call	printf@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	D
	.bss
	.align 32
	.type	D, @object
	.size	D, 40000
D:
	.zero	40000
	.globl	u
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.globl	v
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.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	"%d%d%d%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	D(%rip), %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movl	%edi, 28(%rsp)
	leaq	.LC0(%rip), %rdi
	movl	%esi, 24(%rsp)
	leaq	28(%rsp), %rsi
	movl	%edx, 20(%rsp)
	leaq	24(%rsp), %rdx
	movl	%ecx, 16(%rsp)
	leaq	20(%rsp), %rcx
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	movl	%r8d, 20(%rsp)
	movl	%r9d, 16(%rsp)
	leaq	16(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	28(%rsp), %r9
	leaq	32(%rsp), %r8
	call	scanf@PLT
	popq	%rax
	.cfi_def_cfa_offset 88
	popq	%rdx
	.cfi_def_cfa_offset 80
	movl	28(%rsp), %eax
	cmpl	%eax, i(%rip)
	jge	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	leaq	80(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	80(%rsp), %rax
	movl	$1, (%rbx,%rax,4)
	movl	i(%rip), %eax
	addl	$1, %eax
	movl	%eax, i(%rip)
	cmpl	28(%rsp), %eax
	jl	.L2
.L5:
	movl	j(%rip), %edi
	movl	8(%rsp), %r14d
	movl	12(%rsp), %r13d
	movl	u(%rip), %r8d
	movl	v(%rip), %r9d
	cmpl	%edi, %r14d
	jle	.L6
	leal	-1(%r14), %esi
	movslq	%edi, %r10
	movl	20(%rsp), %ebx
	movl	24(%rsp), %r11d
	subl	%edi, %esi
	leaq	D(%rip), %rdx
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	4+D(%rip), %rdi
	addq	%r10, %rsi
	leaq	(%rdx,%r10,4), %rdx
	movl	c(%rip), %eax
	imull	%r13d, %ebx
	leaq	(%rdi,%rsi,4), %r10
	movl	b(%rip), %ecx
	xorl	%edi, %edi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L37:
	testl	%eax, %eax
	je	.L8
	testl	%ecx, %ecx
	je	.L7
.L9:
	addq	$4, %rdx
	addl	$1, %r9d
	subl	$1, %ecx
	movl	$1, %edi
	movl	$1, %r12d
	cmpq	%r10, %rdx
	je	.L36
.L11:
	addl	(%rdx), %eax
	movl	%eax, %esi
	cmpl	%eax, %r11d
	jge	.L37
.L7:
	leal	-1(%rsi), %eax
	movl	%ebx, %ecx
	movl	$1, %edi
.L8:
	testl	%ecx, %ecx
	jne	.L9
	addq	$4, %rdx
	addl	$1, %r8d
	movl	$1, %ebp
	cmpq	%r10, %rdx
	jne	.L11
.L36:
	movl	%r14d, j(%rip)
	movl	%eax, c(%rip)
	testb	%bpl, %bpl
	je	.L12
	movl	%r8d, u(%rip)
.L12:
	testb	%r12b, %r12b
	je	.L13
	movl	%r9d, v(%rip)
.L13:
	testb	%dil, %dil
	je	.L6
	movl	%ecx, b(%rip)
.L6:
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	movl	$1, %eax
	cvtsi2sdl	16(%rsp), %xmm1
	leaq	.LC2(%rip), %rdi
	cvtsi2sdl	u(%rip), %xmm0
	cvtsi2sdl	%r13d, %xmm2
	divsd	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	v(%rip), %xmm1
	divsd	%xmm2, %xmm1
	addsd	%xmm1, %xmm0
	call	printf@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	D
	.bss
	.align 32
	.type	D, @object
	.size	D, 40000
D:
	.zero	40000
	.globl	u
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.globl	v
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.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	"%d%d%d%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	D(%rip), %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movl	%edi, 28(%rsp)
	leaq	.LC0(%rip), %rdi
	movl	%esi, 24(%rsp)
	leaq	28(%rsp), %rsi
	movl	%edx, 20(%rsp)
	leaq	24(%rsp), %rdx
	movl	%ecx, 16(%rsp)
	leaq	20(%rsp), %rcx
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	movl	%r8d, 20(%rsp)
	movl	%r9d, 16(%rsp)
	leaq	16(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	28(%rsp), %r9
	leaq	32(%rsp), %r8
	call	scanf@PLT
	popq	%rax
	.cfi_def_cfa_offset 88
	popq	%rdx
	.cfi_def_cfa_offset 80
	movl	28(%rsp), %eax
	cmpl	%eax, i(%rip)
	jge	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	leaq	80(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	80(%rsp), %rax
	movl	$1, (%rbx,%rax,4)
	movl	i(%rip), %eax
	addl	$1, %eax
	movl	%eax, i(%rip)
	cmpl	28(%rsp), %eax
	jl	.L2
.L5:
	movl	j(%rip), %edi
	movl	8(%rsp), %r14d
	movl	12(%rsp), %r13d
	movl	u(%rip), %r8d
	movl	v(%rip), %r9d
	cmpl	%edi, %r14d
	jle	.L6
	leal	-1(%r14), %esi
	movslq	%edi, %r10
	movl	20(%rsp), %ebx
	movl	24(%rsp), %r11d
	subl	%edi, %esi
	leaq	D(%rip), %rdx
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	4+D(%rip), %rdi
	addq	%r10, %rsi
	leaq	(%rdx,%r10,4), %rdx
	movl	c(%rip), %eax
	imull	%r13d, %ebx
	leaq	(%rdi,%rsi,4), %r10
	movl	b(%rip), %ecx
	xorl	%edi, %edi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L37:
	testl	%eax, %eax
	je	.L8
	testl	%ecx, %ecx
	je	.L7
.L9:
	addq	$4, %rdx
	addl	$1, %r9d
	subl	$1, %ecx
	movl	$1, %edi
	movl	$1, %r12d
	cmpq	%r10, %rdx
	je	.L36
.L11:
	addl	(%rdx), %eax
	movl	%eax, %esi
	cmpl	%eax, %r11d
	jge	.L37
.L7:
	leal	-1(%rsi), %eax
	movl	%ebx, %ecx
	movl	$1, %edi
.L8:
	testl	%ecx, %ecx
	jne	.L9
	addq	$4, %rdx
	addl	$1, %r8d
	movl	$1, %ebp
	cmpq	%r10, %rdx
	jne	.L11
.L36:
	movl	%r14d, j(%rip)
	movl	%eax, c(%rip)
	testb	%bpl, %bpl
	je	.L12
	movl	%r8d, u(%rip)
.L12:
	testb	%r12b, %r12b
	je	.L13
	movl	%r9d, v(%rip)
.L13:
	testb	%dil, %dil
	je	.L6
	movl	%ecx, b(%rip)
.L6:
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	movl	$1, %eax
	cvtsi2sdl	16(%rsp), %xmm1
	leaq	.LC2(%rip), %rdi
	cvtsi2sdl	u(%rip), %xmm0
	cvtsi2sdl	%r13d, %xmm2
	divsd	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	v(%rip), %xmm1
	divsd	%xmm2, %xmm1
	addsd	%xmm1, %xmm0
	call	printf@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	D
	.bss
	.align 32
	.type	D, @object
	.size	D, 40000
D:
	.zero	40000
	.globl	u
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.globl	v
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.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
i,j,c,b,v,u,D[10000];main(N,K,T,U,V,L,x){
scanf("%d%d%d%d%d%d",&N,&K,&T,&U,&V,&L);
for(;i<N;i++)scanf("%d",&x),D[x]=1;
for(;j<L;b?v++,b--:u++,j++)if((c+=D[j])>K||c&&!b)c--,b=T*V;
printf("%f\n",1.*v/V+1.*u/U);
exit(0);}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
i,j,c,b,v,u,D[10000];main(N,K,T,U,V,L,x){
scanf("%d%d%d%d%d%d",&N,&K,&T,&U,&V,&L);
for(;i<N;i++)scanf("%d",&x),D[x]=1;
for(;j<L;b?v++,b--:u++,j++)if((c+=D[j])>K||c&&!b)c--,b=T*V;
printf("%f\n",1.*v/V+1.*u/U);
exit(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:

0 1 1 2 3 100
50
 1 1 1 2 3 110
50
 3 1 1 2 3 100
49
50
74
 2 1 1 2 3 100
49
72
74
 2 1 1 2 4 100
49
72
40
 1 1 1 3 3 110
50
 3 1 1 2 3 110
49
50
51
 0 1 1 2 3 000
50
 0 1 1 2 3 101
97
 1 1 1 1 3 110
50

50.000000
 54.500000
 48.500000
 49.000000
 48.000000
 36.666667
 53.666667
 0.000000
 50.500000
 108.000000

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

```c
i,j,c,b,v,u,D[10000];main(N,K,T,U,V,L,x){
scanf("%d%d%d%d%d%d",&N,&K,&T,&U,&V,&L);
for(;i<N;i++)scanf("%d",&x),D[x]=1;
for(;j<L;b?v++,b--:u++,j++)if((c+=D[j])>K||c&&!b)c--,b=T*V;
printf("%f\n",1.*v/V+1.*u/U);
exit(0);}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	D(%rip), %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movl	%edi, 28(%rsp)
	leaq	.LC0(%rip), %rdi
	movl	%esi, 24(%rsp)
	leaq	28(%rsp), %rsi
	movl	%edx, 20(%rsp)
	leaq	24(%rsp), %rdx
	movl	%ecx, 16(%rsp)
	leaq	20(%rsp), %rcx
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	movl	%r8d, 20(%rsp)
	movl	%r9d, 16(%rsp)
	leaq	16(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	28(%rsp), %r9
	leaq	32(%rsp), %r8
	call	scanf@PLT
	popq	%rax
	.cfi_def_cfa_offset 88
	popq	%rdx
	.cfi_def_cfa_offset 80
	movl	28(%rsp), %eax
	cmpl	%eax, i(%rip)
	jge	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	leaq	80(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	80(%rsp), %rax
	movl	$1, (%rbx,%rax,4)
	movl	i(%rip), %eax
	addl	$1, %eax
	movl	%eax, i(%rip)
	cmpl	28(%rsp), %eax
	jl	.L2
.L5:
	movl	j(%rip), %edi
	movl	8(%rsp), %r14d
	movl	12(%rsp), %r13d
	movl	u(%rip), %r8d
	movl	v(%rip), %r9d
	cmpl	%edi, %r14d
	jle	.L6
	leal	-1(%r14), %esi
	movslq	%edi, %r10
	movl	20(%rsp), %ebx
	movl	24(%rsp), %r11d
	subl	%edi, %esi
	leaq	D(%rip), %rdx
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	4+D(%rip), %rdi
	addq	%r10, %rsi
	leaq	(%rdx,%r10,4), %rdx
	movl	c(%rip), %eax
	imull	%r13d, %ebx
	leaq	(%rdi,%rsi,4), %r10
	movl	b(%rip), %ecx
	xorl	%edi, %edi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L37:
	testl	%eax, %eax
	je	.L8
	testl	%ecx, %ecx
	je	.L7
.L9:
	addq	$4, %rdx
	addl	$1, %r9d
	subl	$1, %ecx
	movl	$1, %edi
	movl	$1, %r12d
	cmpq	%r10, %rdx
	je	.L36
.L11:
	addl	(%rdx), %eax
	movl	%eax, %esi
	cmpl	%eax, %r11d
	jge	.L37
.L7:
	leal	-1(%rsi), %eax
	movl	%ebx, %ecx
	movl	$1, %edi
.L8:
	testl	%ecx, %ecx
	jne	.L9
	addq	$4, %rdx
	addl	$1, %r8d
	movl	$1, %ebp
	cmpq	%r10, %rdx
	jne	.L11
.L36:
	movl	%r14d, j(%rip)
	movl	%eax, c(%rip)
	testb	%bpl, %bpl
	je	.L12
	movl	%r8d, u(%rip)
.L12:
	testb	%r12b, %r12b
	je	.L13
	movl	%r9d, v(%rip)
.L13:
	testb	%dil, %dil
	je	.L6
	movl	%ecx, b(%rip)
.L6:
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	movl	$1, %eax
	cvtsi2sdl	16(%rsp), %xmm1
	leaq	.LC2(%rip), %rdi
	cvtsi2sdl	u(%rip), %xmm0
	cvtsi2sdl	%r13d, %xmm2
	divsd	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	v(%rip), %xmm1
	divsd	%xmm2, %xmm1
	addsd	%xmm1, %xmm0
	call	printf@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	D
	.bss
	.align 32
	.type	D, @object
	.size	D, 40000
D:
	.zero	40000
	.globl	u
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.globl	v
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.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	"%d%d%d%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	D(%rip), %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movl	%edi, 28(%rsp)
	leaq	.LC0(%rip), %rdi
	movl	%esi, 24(%rsp)
	leaq	28(%rsp), %rsi
	movl	%edx, 20(%rsp)
	leaq	24(%rsp), %rdx
	movl	%ecx, 16(%rsp)
	leaq	20(%rsp), %rcx
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	movl	%r8d, 20(%rsp)
	movl	%r9d, 16(%rsp)
	leaq	16(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	28(%rsp), %r9
	leaq	32(%rsp), %r8
	call	scanf@PLT
	popq	%rax
	.cfi_def_cfa_offset 88
	popq	%rdx
	.cfi_def_cfa_offset 80
	movl	28(%rsp), %eax
	cmpl	%eax, i(%rip)
	jge	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	leaq	80(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	80(%rsp), %rax
	movl	$1, (%rbx,%rax,4)
	movl	i(%rip), %eax
	addl	$1, %eax
	movl	%eax, i(%rip)
	cmpl	28(%rsp), %eax
	jl	.L2
.L5:
	movl	j(%rip), %edi
	movl	8(%rsp), %r14d
	movl	12(%rsp), %r13d
	movl	u(%rip), %r8d
	movl	v(%rip), %r9d
	cmpl	%edi, %r14d
	jle	.L6
	leal	-1(%r14), %esi
	movslq	%edi, %r10
	movl	20(%rsp), %ebx
	movl	24(%rsp), %r11d
	subl	%edi, %esi
	leaq	D(%rip), %rdx
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	4+D(%rip), %rdi
	addq	%r10, %rsi
	leaq	(%rdx,%r10,4), %rdx
	movl	c(%rip), %eax
	imull	%r13d, %ebx
	leaq	(%rdi,%rsi,4), %r10
	movl	b(%rip), %ecx
	xorl	%edi, %edi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L37:
	testl	%eax, %eax
	je	.L8
	testl	%ecx, %ecx
	je	.L7
.L9:
	addq	$4, %rdx
	addl	$1, %r9d
	subl	$1, %ecx
	movl	$1, %edi
	movl	$1, %r12d
	cmpq	%r10, %rdx
	je	.L36
.L11:
	addl	(%rdx), %eax
	movl	%eax, %esi
	cmpl	%eax, %r11d
	jge	.L37
.L7:
	leal	-1(%rsi), %eax
	movl	%ebx, %ecx
	movl	$1, %edi
.L8:
	testl	%ecx, %ecx
	jne	.L9
	addq	$4, %rdx
	addl	$1, %r8d
	movl	$1, %ebp
	cmpq	%r10, %rdx
	jne	.L11
.L36:
	movl	%r14d, j(%rip)
	movl	%eax, c(%rip)
	testb	%bpl, %bpl
	je	.L12
	movl	%r8d, u(%rip)
.L12:
	testb	%r12b, %r12b
	je	.L13
	movl	%r9d, v(%rip)
.L13:
	testb	%dil, %dil
	je	.L6
	movl	%ecx, b(%rip)
.L6:
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	movl	$1, %eax
	cvtsi2sdl	16(%rsp), %xmm1
	leaq	.LC2(%rip), %rdi
	cvtsi2sdl	u(%rip), %xmm0
	cvtsi2sdl	%r13d, %xmm2
	divsd	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	v(%rip), %xmm1
	divsd	%xmm2, %xmm1
	addsd	%xmm1, %xmm0
	call	printf@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	D
	.bss
	.align 32
	.type	D, @object
	.size	D, 40000
D:
	.zero	40000
	.globl	u
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.globl	v
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.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:
```