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

```c
a,b,x,y,v,w,S;I(){scanf("%d%d",&x,&y);}main(i,n){for(;scanf("%d",&n)*n;S=!printf("%d %.1f\n",i++,S/2.))for(I(),a=x,b=y;n--;S+=(x-v)*(y+w))v=x,w=y,!n?x=a,y=b:I();}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	v
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	S
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d%d"
	.text
	.globl	I
	.type	I, @function
I:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	y(%rip), %rax
	movq	%rax, %rdx
	leaq	x(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	I, .-I
	.section	.rodata
.LC2:
	.string	"%d %.1f\n"
.LC3:
	.string	"%d"
	.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)
	movl	%esi, -8(%rbp)
	jmp	.L3
.L8:
	movl	$0, %eax
	call	I
	movl	x(%rip), %eax
	movl	%eax, a(%rip)
	movl	y(%rip), %eax
	movl	%eax, b(%rip)
	jmp	.L4
.L7:
	movl	x(%rip), %eax
	movl	%eax, v(%rip)
	movl	y(%rip), %eax
	movl	%eax, w(%rip)
	movl	-8(%rbp), %eax
	testl	%eax, %eax
	jne	.L5
	movl	a(%rip), %eax
	movl	%eax, x(%rip)
	movl	b(%rip), %eax
	movl	%eax, y(%rip)
	jmp	.L6
.L5:
	movl	$0, %eax
	call	I
.L6:
	movl	x(%rip), %eax
	movl	v(%rip), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	y(%rip), %ecx
	movl	w(%rip), %eax
	addl	%ecx, %eax
	imull	%eax, %edx
	movl	S(%rip), %eax
	addl	%edx, %eax
	movl	%eax, S(%rip)
.L4:
	movl	-8(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -8(%rbp)
	testl	%eax, %eax
	jne	.L7
	movl	S(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movsd	.LC1(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rdx
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	%ecx, -4(%rbp)
	movq	%rdx, %xmm0
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movl	%eax, S(%rip)
.L3:
	leaq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-8(%rbp), %edx
	imull	%edx, %eax
	testl	%eax, %eax
	jne	.L8
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1073741824
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
	.text
	.p2align 4
	.globl	I
	.type	I, @function
I:
.LFB0:
	.cfi_startproc
	endbr64
	leaq	y(%rip), %rdx
	leaq	x(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	jmp	scanf@PLT
	.cfi_endproc
.LFE0:
	.size	I, .-I
	.section	.rodata.str1.1
.LC2:
	.string	"%d %.1f\n"
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC3(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movl	%edi, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	y(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	x(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC0(%rip), %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movl	%esi, 12(%rsp)
	leaq	12(%rsp), %r15
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r15, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	imull	12(%rsp), %eax
	testl	%eax, %eax
	je	.L16
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %edx
	movl	x(%rip), %edi
	movl	y(%rip), %eax
	leal	-1(%rdx), %esi
	movl	%edi, a(%rip)
	movl	%eax, b(%rip)
	movl	%esi, 12(%rsp)
	testl	%edx, %edx
	jne	.L9
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	movl	a(%rip), %edx
	movl	b(%rip), %ecx
	movl	%edx, x(%rip)
	movl	%edx, %esi
	addl	%ecx, %eax
	movl	%ecx, y(%rip)
	subl	%edi, %esi
.L15:
	movl	12(%rsp), %edi
	imull	%esi, %eax
	addl	S(%rip), %eax
	movl	%eax, S(%rip)
	leal	-1(%rdi), %esi
	movl	%esi, 12(%rsp)
	testl	%edi, %edi
	je	.L8
	movl	%ecx, %eax
	movl	%edx, %edi
.L9:
	movl	%edi, v(%rip)
	movl	%eax, w(%rip)
	testl	%esi, %esi
	je	.L17
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	x(%rip), %edx
	movl	y(%rip), %ecx
	movl	w(%rip), %esi
	movl	%edx, %eax
	subl	v(%rip), %eax
	addl	%ecx, %esi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L5:
	movl	S(%rip), %eax
	.p2align 4,,10
	.p2align 3
.L8:
	pxor	%xmm0, %xmm0
	leal	1(%r13), %ecx
	movl	%r13d, %esi
	cvtsi2sdl	%eax, %xmm0
	mulsd	.LC1(%rip), %xmm0
	leaq	.LC2(%rip), %rdi
	movl	%ecx, 8(%rsp)
	movl	$1, %eax
	call	printf@PLT
	movl	8(%rsp), %r13d
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movl	%eax, S(%rip)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	addq	$24, %rsp
	.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
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.globl	S
	.bss
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	v
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1071644672
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
	.text
	.p2align 4
	.globl	I
	.type	I, @function
I:
.LFB0:
	.cfi_startproc
	endbr64
	leaq	y(%rip), %rdx
	leaq	x(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	jmp	scanf@PLT
	.cfi_endproc
.LFE0:
	.size	I, .-I
	.section	.rodata.str1.1
.LC2:
	.string	"%d %.1f\n"
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC3(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movl	%edi, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	y(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	x(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC0(%rip), %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movl	%esi, 12(%rsp)
	leaq	12(%rsp), %r15
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r15, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	imull	12(%rsp), %eax
	testl	%eax, %eax
	je	.L16
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %edx
	movl	x(%rip), %edi
	movl	y(%rip), %eax
	leal	-1(%rdx), %esi
	movl	%edi, a(%rip)
	movl	%eax, b(%rip)
	movl	%esi, 12(%rsp)
	testl	%edx, %edx
	jne	.L9
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	movl	a(%rip), %edx
	movl	b(%rip), %ecx
	movl	%edx, x(%rip)
	movl	%edx, %esi
	addl	%ecx, %eax
	movl	%ecx, y(%rip)
	subl	%edi, %esi
.L15:
	movl	12(%rsp), %edi
	imull	%esi, %eax
	addl	S(%rip), %eax
	movl	%eax, S(%rip)
	leal	-1(%rdi), %esi
	movl	%esi, 12(%rsp)
	testl	%edi, %edi
	je	.L8
	movl	%ecx, %eax
	movl	%edx, %edi
.L9:
	movl	%edi, v(%rip)
	movl	%eax, w(%rip)
	testl	%esi, %esi
	je	.L17
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	x(%rip), %edx
	movl	y(%rip), %ecx
	movl	w(%rip), %esi
	movl	%edx, %eax
	subl	v(%rip), %eax
	addl	%ecx, %esi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L5:
	movl	S(%rip), %eax
	.p2align 4,,10
	.p2align 3
.L8:
	pxor	%xmm0, %xmm0
	leal	1(%r13), %ecx
	movl	%r13d, %esi
	cvtsi2sdl	%eax, %xmm0
	mulsd	.LC1(%rip), %xmm0
	leaq	.LC2(%rip), %rdi
	movl	%ecx, 8(%rsp)
	movl	$1, %eax
	call	printf@PLT
	movl	8(%rsp), %r13d
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movl	%eax, S(%rip)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	addq	$24, %rsp
	.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
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.globl	S
	.bss
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	v
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1071644672
	.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:

a,b,x,y,v,w,S;I(){scanf("%d%d",&x,&y);}main(i,n){for(;scanf("%d",&n)*n;S=!printf("%d %.1f\n",i++,S/2.))for(I(),a=x,b=y;n--;S+=(x-v)*(y+w))v=x,w=y,!n?x=a,y=b:I();}
3
1 1
3 4
6 0

7
0 0
10 10
0 20
10 33
0 40
100 40
100 0

0
 3
1 1
3 4
6 0

7
0 0
10 10
0 20
10 33
0 40
110 40
100 0

0
 3
1 1
3 4
6 0

7
0 0
10 10
0 20
10 30
0 40
100 40
100 1

0
 3
1 1
3 4
6 0

7
0 0
10 10
0 20
3 33
0 40
100 40
100 0

0
 3
1 1
3 1
6 0

7
0 0
10 10
0 20
10 30
0 40
100 40
100 1

0
 3
1 1
3 4
6 0

7
1 0
10 10
0 20
3 33
0 40
100 40
100 0

0
 3
1 1
3 4
2 0

7
0 0
10 15
0 20
10 33
0 40
110 40
100 0

0
 3
1 1
3 4
6 0

7
1 -1
10 10
0 20
3 33
0 40
100 40
100 0

0
 3
1 1
3 4
2 0

7
0 0
10 15
0 20
10 33
0 40
110 1
100 0

0
 3
1 1
3 4
6 -1

7
1 -1
10 10
0 20
3 33
0 40
100 40
100 0

0

1 8.5
2 3800.0
 1 8.5
2 4000.0
 1 8.5
2 3750.0
 1 8.5
2 3870.0
 1 1.0
2 3750.0
 1 8.5
2 3865.0
 1 2.5
2 4000.0
 1 8.5
2 3910.0
 1 2.5
2 2050.0
 1 9.5
2 3910.0

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

```c
a,b,x,y,v,w,S;I(){scanf("%d%d",&x,&y);}main(i,n){for(;scanf("%d",&n)*n;S=!printf("%d %.1f\n",i++,S/2.))for(I(),a=x,b=y;n--;S+=(x-v)*(y+w))v=x,w=y,!n?x=a,y=b:I();}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	v
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	S
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d%d"
	.text
	.globl	I
	.type	I, @function
I:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	y(%rip), %rax
	movq	%rax, %rdx
	leaq	x(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	I, .-I
	.section	.rodata
.LC2:
	.string	"%d %.1f\n"
.LC3:
	.string	"%d"
	.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)
	movl	%esi, -8(%rbp)
	jmp	.L3
.L8:
	movl	$0, %eax
	call	I
	movl	x(%rip), %eax
	movl	%eax, a(%rip)
	movl	y(%rip), %eax
	movl	%eax, b(%rip)
	jmp	.L4
.L7:
	movl	x(%rip), %eax
	movl	%eax, v(%rip)
	movl	y(%rip), %eax
	movl	%eax, w(%rip)
	movl	-8(%rbp), %eax
	testl	%eax, %eax
	jne	.L5
	movl	a(%rip), %eax
	movl	%eax, x(%rip)
	movl	b(%rip), %eax
	movl	%eax, y(%rip)
	jmp	.L6
.L5:
	movl	$0, %eax
	call	I
.L6:
	movl	x(%rip), %eax
	movl	v(%rip), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	y(%rip), %ecx
	movl	w(%rip), %eax
	addl	%ecx, %eax
	imull	%eax, %edx
	movl	S(%rip), %eax
	addl	%edx, %eax
	movl	%eax, S(%rip)
.L4:
	movl	-8(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -8(%rbp)
	testl	%eax, %eax
	jne	.L7
	movl	S(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movsd	.LC1(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rdx
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	%ecx, -4(%rbp)
	movq	%rdx, %xmm0
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movl	%eax, S(%rip)
.L3:
	leaq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-8(%rbp), %edx
	imull	%edx, %eax
	testl	%eax, %eax
	jne	.L8
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1073741824
	.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	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	v
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	S
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d%d"
	.text
	.globl	I
	.type	I, @function
I:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	y(%rip), %rax
	movq	%rax, %rdx
	leaq	x(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	I, .-I
	.section	.rodata
.LC2:
	.string	"%d %.1f\n"
.LC3:
	.string	"%d"
	.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)
	movl	%esi, -8(%rbp)
	jmp	.L3
.L8:
	movl	$0, %eax
	call	I
	movl	x(%rip), %eax
	movl	%eax, a(%rip)
	movl	y(%rip), %eax
	movl	%eax, b(%rip)
	jmp	.L4
.L7:
	movl	x(%rip), %eax
	movl	%eax, v(%rip)
	movl	y(%rip), %eax
	movl	%eax, w(%rip)
	movl	-8(%rbp), %eax
	testl	%eax, %eax
	jne	.L5
	movl	a(%rip), %eax
	movl	%eax, x(%rip)
	movl	b(%rip), %eax
	movl	%eax, y(%rip)
	jmp	.L6
.L5:
	movl	$0, %eax
	call	I
.L6:
	movl	x(%rip), %eax
	movl	v(%rip), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	y(%rip), %ecx
	movl	w(%rip), %eax
	addl	%ecx, %eax
	imull	%eax, %edx
	movl	S(%rip), %eax
	addl	%edx, %eax
	movl	%eax, S(%rip)
.L4:
	movl	-8(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -8(%rbp)
	testl	%eax, %eax
	jne	.L7
	movl	S(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movsd	.LC1(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rdx
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	%ecx, -4(%rbp)
	movq	%rdx, %xmm0
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movl	%eax, S(%rip)
.L3:
	leaq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-8(%rbp), %edx
	imull	%edx, %eax
	testl	%eax, %eax
	jne	.L8
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1073741824
	.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:
