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

```c
float a,b,c,d,p=57.296;main(){for(;~scanf("%f%f%f%f",&a,&b,&c,&d);)a+1&&printf("%.f\n",6378.1*acos(sin(a/=p)*sin(c/=p)+cos(a)*cos(c)*cos(b/p-d/p)));}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%.f\n"
.LC4:
	.string	"%f%f%f%f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	c(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	b(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC4(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	movss	a(%rip), %xmm0
	movss	.LC0(%rip), %xmm1
	pxor	%xmm5, %xmm5
	addss	%xmm0, %xmm1
	ucomiss	%xmm5, %xmm1
	jp	.L6
	jne	.L6
.L3:
	xorl	%eax, %eax
	leaq	d(%rip), %r8
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L5
	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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movss	p(%rip), %xmm2
	leaq	40(%rsp), %r14
	leaq	32(%rsp), %r15
	movq	%r15, %rsi
	movq	%r14, %rdi
	divss	%xmm2, %xmm0
	movss	%xmm2, 12(%rsp)
	movss	%xmm0, a(%rip)
	cvtss2sd	%xmm0, %xmm0
	call	sincos@PLT
	movss	12(%rsp), %xmm2
	movq	%r14, %rdi
	movss	c(%rip), %xmm0
	movsd	32(%rsp), %xmm3
	movsd	40(%rsp), %xmm1
	movq	%r15, %rsi
	divss	%xmm2, %xmm0
	movsd	%xmm3, 24(%rsp)
	movsd	%xmm1, 16(%rsp)
	movss	%xmm0, c(%rip)
	cvtss2sd	%xmm0, %xmm0
	call	sincos@PLT
	movss	12(%rsp), %xmm2
	movss	b(%rip), %xmm0
	movss	d(%rip), %xmm4
	divss	%xmm2, %xmm0
	divss	%xmm2, %xmm4
	subss	%xmm4, %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	cos@PLT
	movsd	24(%rsp), %xmm3
	mulsd	32(%rsp), %xmm3
	movapd	%xmm0, %xmm2
	movsd	16(%rsp), %xmm1
	mulsd	40(%rsp), %xmm1
	movapd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm1, %xmm0
	call	acos@PLT
	mulsd	.LC2(%rip), %xmm0
	movl	$1, %eax
	leaq	.LC3(%rip), %rdi
	call	printf@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	p
	.data
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.long	1113927451
	.globl	d
	.bss
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.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.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1065353216
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	-1717986918
	.long	1085860377
	.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
.LC3:
	.string	"%.f\n"
.LC4:
	.string	"%f%f%f%f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	c(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	b(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC4(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	movss	a(%rip), %xmm0
	movss	.LC0(%rip), %xmm1
	pxor	%xmm5, %xmm5
	addss	%xmm0, %xmm1
	ucomiss	%xmm5, %xmm1
	jp	.L6
	jne	.L6
.L3:
	xorl	%eax, %eax
	leaq	d(%rip), %r8
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L5
	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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movss	p(%rip), %xmm2
	leaq	40(%rsp), %r14
	leaq	32(%rsp), %r15
	movq	%r15, %rsi
	movq	%r14, %rdi
	divss	%xmm2, %xmm0
	movss	%xmm2, 12(%rsp)
	movss	%xmm0, a(%rip)
	cvtss2sd	%xmm0, %xmm0
	call	sincos@PLT
	movss	12(%rsp), %xmm2
	movq	%r14, %rdi
	movss	c(%rip), %xmm0
	movsd	32(%rsp), %xmm3
	movsd	40(%rsp), %xmm1
	movq	%r15, %rsi
	divss	%xmm2, %xmm0
	movsd	%xmm3, 24(%rsp)
	movsd	%xmm1, 16(%rsp)
	movss	%xmm0, c(%rip)
	cvtss2sd	%xmm0, %xmm0
	call	sincos@PLT
	movss	12(%rsp), %xmm2
	movss	b(%rip), %xmm0
	movss	d(%rip), %xmm4
	divss	%xmm2, %xmm0
	divss	%xmm2, %xmm4
	subss	%xmm4, %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	cos@PLT
	movsd	24(%rsp), %xmm3
	mulsd	32(%rsp), %xmm3
	movapd	%xmm0, %xmm2
	movsd	16(%rsp), %xmm1
	mulsd	40(%rsp), %xmm1
	movapd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm1, %xmm0
	call	acos@PLT
	mulsd	.LC2(%rip), %xmm0
	movl	$1, %eax
	leaq	.LC3(%rip), %rdi
	call	printf@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	p
	.data
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.long	1113927451
	.globl	d
	.bss
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.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.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1065353216
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	-1717986918
	.long	1085860377
	.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
.LC3:
	.string	"%.f\n"
.LC4:
	.string	"%f%f%f%f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	c(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	b(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC4(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	movss	a(%rip), %xmm0
	movss	.LC0(%rip), %xmm1
	pxor	%xmm5, %xmm5
	addss	%xmm0, %xmm1
	ucomiss	%xmm5, %xmm1
	jp	.L6
	jne	.L6
.L3:
	xorl	%eax, %eax
	leaq	d(%rip), %r8
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L5
	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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movss	p(%rip), %xmm2
	leaq	40(%rsp), %r14
	leaq	32(%rsp), %r15
	movq	%r15, %rsi
	movq	%r14, %rdi
	divss	%xmm2, %xmm0
	movss	%xmm2, 12(%rsp)
	movss	%xmm0, a(%rip)
	cvtss2sd	%xmm0, %xmm0
	call	sincos@PLT
	movss	12(%rsp), %xmm2
	movq	%r14, %rdi
	movss	c(%rip), %xmm0
	movsd	32(%rsp), %xmm3
	movsd	40(%rsp), %xmm1
	movq	%r15, %rsi
	divss	%xmm2, %xmm0
	movsd	%xmm3, 24(%rsp)
	movsd	%xmm1, 16(%rsp)
	movss	%xmm0, c(%rip)
	cvtss2sd	%xmm0, %xmm0
	call	sincos@PLT
	movss	12(%rsp), %xmm2
	movss	b(%rip), %xmm0
	movss	d(%rip), %xmm4
	divss	%xmm2, %xmm0
	divss	%xmm2, %xmm4
	subss	%xmm4, %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	cos@PLT
	movsd	24(%rsp), %xmm3
	mulsd	32(%rsp), %xmm3
	movapd	%xmm0, %xmm2
	movsd	16(%rsp), %xmm1
	mulsd	40(%rsp), %xmm1
	movapd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm1, %xmm0
	call	acos@PLT
	mulsd	.LC2(%rip), %xmm0
	movl	$1, %eax
	leaq	.LC3(%rip), %rdi
	call	printf@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	p
	.data
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.long	1113927451
	.globl	d
	.bss
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.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.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1065353216
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	-1717986918
	.long	1085860377
	.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
float a,b,c,d,p=57.296;main(){for(;~scanf("%f%f%f%f",&a,&b,&c,&d);)a+1&&printf("%.f\n",6378.1*acos(sin(a/=p)*sin(c/=p)+cos(a)*cos(c)*cos(b/p-d/p)));}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
float a,b,c,d,p=57.296;main(){for(;~scanf("%f%f%f%f",&a,&b,&c,&d);)a+1&&printf("%.f\n",6378.1*acos(sin(a/=p)*sin(c/=p)+cos(a)*cos(c)*cos(b/p-d/p)));}```

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:

35.997652258458864 139.77 51.15 359.82
1.37 103.92 41.78 272.25
51.15 359.82 -34.58 301.52
-1 -1 -1 -1
 35.68 139.77 51.15 359.82
1.37 103.92 41.78 272.25
51.15 359.82 -34.03920544232073 301.52
-1 -1 -1 -1
 35.997652258458864 139.77 51.15 359.82
1.37 103.92 41.78 272.25
51.15 359.82 -34.58 302.04903635880555
-1 -1 -1 -1
 35.68 139.77 51.15 359.82
1.37 103.92 42.40751195136165 272.25
51.15 359.82 -34.03920544232073 301.52
-1 -1 -1 -1
 35.68 139.77 51.15 360.2993625222263
1.37 103.92 42.40751195136165 272.25
51.15 359.82 -34.03920544232073 301.52
-1 -1 -1 -1
 35.68 139.77 51.15 359.82
1.37 103.92 41.78 272.25
51.99657446150969 359.82 -34.58 301.52
-1 -1 -1 -1
 35.997652258458864 139.77 51.15 359.82
1.37 103.92 41.78 272.25
51.15 359.82 -34.03891385785915 301.52
-1 -1 -1 -1
 35.68 139.77 51.15 359.82
1.5789515272885046 103.92 41.78 272.25
51.15 359.82 -34.03920544232073 301.52
-1 -1 -1 -1
 35.997652258458864 140.28396755648947 51.15 359.82
1.37 103.92 41.78 272.25
51.15 359.82 -34.58 302.04903635880555
-1 -1 -1 -1
 35.68 139.77 51.15 359.82
1.37 103.92 42.40751195136165 272.25
51.15 359.82 -34.03920544232073 302.3019500184568
-1 -1 -1 -1

9577
15092
11112
 9609
15092
11062
 9577
15092
11086
 9609
15025
11062
 9591
15025
11062
 9609
15092
11178
 9577
15092
11062
 9609
15069
11062
 9595
15092
11086
 9609
15025
11023

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

```c
float a,b,c,d,p=57.296;main(){for(;~scanf("%f%f%f%f",&a,&b,&c,&d);)a+1&&printf("%.f\n",6378.1*acos(sin(a/=p)*sin(c/=p)+cos(a)*cos(c)*cos(b/p-d/p)));}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%.f\n"
.LC4:
	.string	"%f%f%f%f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	c(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	b(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC4(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	movss	a(%rip), %xmm0
	movss	.LC0(%rip), %xmm1
	pxor	%xmm5, %xmm5
	addss	%xmm0, %xmm1
	ucomiss	%xmm5, %xmm1
	jp	.L6
	jne	.L6
.L3:
	xorl	%eax, %eax
	leaq	d(%rip), %r8
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L5
	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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movss	p(%rip), %xmm2
	leaq	40(%rsp), %r14
	leaq	32(%rsp), %r15
	movq	%r15, %rsi
	movq	%r14, %rdi
	divss	%xmm2, %xmm0
	movss	%xmm2, 12(%rsp)
	movss	%xmm0, a(%rip)
	cvtss2sd	%xmm0, %xmm0
	call	sincos@PLT
	movss	12(%rsp), %xmm2
	movq	%r14, %rdi
	movss	c(%rip), %xmm0
	movsd	32(%rsp), %xmm3
	movsd	40(%rsp), %xmm1
	movq	%r15, %rsi
	divss	%xmm2, %xmm0
	movsd	%xmm3, 24(%rsp)
	movsd	%xmm1, 16(%rsp)
	movss	%xmm0, c(%rip)
	cvtss2sd	%xmm0, %xmm0
	call	sincos@PLT
	movss	12(%rsp), %xmm2
	movss	b(%rip), %xmm0
	movss	d(%rip), %xmm4
	divss	%xmm2, %xmm0
	divss	%xmm2, %xmm4
	subss	%xmm4, %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	cos@PLT
	movsd	24(%rsp), %xmm3
	mulsd	32(%rsp), %xmm3
	movapd	%xmm0, %xmm2
	movsd	16(%rsp), %xmm1
	mulsd	40(%rsp), %xmm1
	movapd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm1, %xmm0
	call	acos@PLT
	mulsd	.LC2(%rip), %xmm0
	movl	$1, %eax
	leaq	.LC3(%rip), %rdi
	call	printf@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	p
	.data
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.long	1113927451
	.globl	d
	.bss
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.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.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1065353216
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	-1717986918
	.long	1085860377
	.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
.LC3:
	.string	"%.f\n"
.LC4:
	.string	"%f%f%f%f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	c(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	b(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC4(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	movss	a(%rip), %xmm0
	movss	.LC0(%rip), %xmm1
	pxor	%xmm5, %xmm5
	addss	%xmm0, %xmm1
	ucomiss	%xmm5, %xmm1
	jp	.L6
	jne	.L6
.L3:
	xorl	%eax, %eax
	leaq	d(%rip), %r8
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L5
	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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movss	p(%rip), %xmm2
	leaq	40(%rsp), %r14
	leaq	32(%rsp), %r15
	movq	%r15, %rsi
	movq	%r14, %rdi
	divss	%xmm2, %xmm0
	movss	%xmm2, 12(%rsp)
	movss	%xmm0, a(%rip)
	cvtss2sd	%xmm0, %xmm0
	call	sincos@PLT
	movss	12(%rsp), %xmm2
	movq	%r14, %rdi
	movss	c(%rip), %xmm0
	movsd	32(%rsp), %xmm3
	movsd	40(%rsp), %xmm1
	movq	%r15, %rsi
	divss	%xmm2, %xmm0
	movsd	%xmm3, 24(%rsp)
	movsd	%xmm1, 16(%rsp)
	movss	%xmm0, c(%rip)
	cvtss2sd	%xmm0, %xmm0
	call	sincos@PLT
	movss	12(%rsp), %xmm2
	movss	b(%rip), %xmm0
	movss	d(%rip), %xmm4
	divss	%xmm2, %xmm0
	divss	%xmm2, %xmm4
	subss	%xmm4, %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	cos@PLT
	movsd	24(%rsp), %xmm3
	mulsd	32(%rsp), %xmm3
	movapd	%xmm0, %xmm2
	movsd	16(%rsp), %xmm1
	mulsd	40(%rsp), %xmm1
	movapd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm1, %xmm0
	call	acos@PLT
	mulsd	.LC2(%rip), %xmm0
	movl	$1, %eax
	leaq	.LC3(%rip), %rdi
	call	printf@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	p
	.data
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.long	1113927451
	.globl	d
	.bss
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.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.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1065353216
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	-1717986918
	.long	1085860377
	.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:
```