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

```c
#include <stdio.h>
#include <math.h>
#define PI 3.14159265358979

int main(){
	int a,b,x;
	scanf("%d%d%d",&a,&b,&x);
	if(2*x<a*a*b){
		printf("%.9f",atan2(b,2.0*x/a/b)*180/PI);
	}else{
		printf("%.9f",atan2((a*b-x*1.0/a)/a*2,a)*180/PI);
	}
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC3:
	.string	"%.9f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	movl	16(%rsp), %esi
	movl	20(%rsp), %ecx
	movl	%eax, %edx
	imull	%eax, %edx
	leal	(%rcx,%rcx), %edi
	imull	%esi, %edx
	cmpl	%edx, %edi
	jge	.L2
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%ecx, %xmm1
	cvtsi2sdl	%eax, %xmm2
	cvtsi2sdl	%esi, %xmm0
	addsd	%xmm1, %xmm1
	divsd	%xmm2, %xmm1
	divsd	%xmm0, %xmm1
.L6:
	call	atan2@PLT
	movl	$1, %edi
	leaq	.LC3(%rip), %rsi
	movl	$1, %eax
	mulsd	.LC1(%rip), %xmm0
	divsd	.LC2(%rip), %xmm0
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm1
	cvtsi2sdl	%ecx, %xmm2
	imull	%esi, %eax
	divsd	%xmm1, %xmm2
	cvtsi2sdl	%eax, %xmm0
	subsd	%xmm2, %xmm0
	divsd	%xmm1, %xmm0
	addsd	%xmm0, %xmm0
	jmp	.L6
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1080459264
	.align 8
.LC2:
	.long	1413754129
	.long	1074340347
	.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"
.LC3:
	.string	"%.9f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	movl	16(%rsp), %esi
	movl	20(%rsp), %ecx
	movl	%eax, %edx
	imull	%eax, %edx
	leal	(%rcx,%rcx), %edi
	imull	%esi, %edx
	cmpl	%edx, %edi
	jge	.L2
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%ecx, %xmm1
	cvtsi2sdl	%eax, %xmm2
	cvtsi2sdl	%esi, %xmm0
	addsd	%xmm1, %xmm1
	divsd	%xmm2, %xmm1
	divsd	%xmm0, %xmm1
.L6:
	call	atan2@PLT
	movl	$1, %edi
	leaq	.LC3(%rip), %rsi
	movl	$1, %eax
	mulsd	.LC1(%rip), %xmm0
	divsd	.LC2(%rip), %xmm0
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm1
	cvtsi2sdl	%ecx, %xmm2
	imull	%esi, %eax
	divsd	%xmm1, %xmm2
	cvtsi2sdl	%eax, %xmm0
	subsd	%xmm2, %xmm0
	divsd	%xmm1, %xmm0
	addsd	%xmm0, %xmm0
	jmp	.L6
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1080459264
	.align 8
.LC2:
	.long	1413754129
	.long	1074340347
	.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"
.LC3:
	.string	"%.9f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	movl	16(%rsp), %esi
	movl	20(%rsp), %ecx
	movl	%eax, %edx
	imull	%eax, %edx
	leal	(%rcx,%rcx), %edi
	imull	%esi, %edx
	cmpl	%edx, %edi
	jge	.L2
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%ecx, %xmm1
	cvtsi2sdl	%eax, %xmm2
	cvtsi2sdl	%esi, %xmm0
	addsd	%xmm1, %xmm1
	divsd	%xmm2, %xmm1
	divsd	%xmm0, %xmm1
.L6:
	call	atan2@PLT
	movl	$1, %edi
	leaq	.LC3(%rip), %rsi
	movl	$1, %eax
	mulsd	.LC1(%rip), %xmm0
	divsd	.LC2(%rip), %xmm0
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm1
	cvtsi2sdl	%ecx, %xmm2
	imull	%esi, %eax
	divsd	%xmm1, %xmm2
	cvtsi2sdl	%eax, %xmm0
	subsd	%xmm2, %xmm0
	divsd	%xmm1, %xmm0
	addsd	%xmm0, %xmm0
	jmp	.L6
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1080459264
	.align 8
.LC2:
	.long	1413754129
	.long	1074340347
	.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
#include <stdio.h>
#include <math.h>
#define PI 3.14159265358979

int main(){
	int a,b,x;
	scanf("%d%d%d",&a,&b,&x);
	if(2*x<a*a*b){
		printf("%.9f",atan2(b,2.0*x/a/b)*180/PI);
	}else{
		printf("%.9f",atan2((a*b-x*1.0/a)/a*2,a)*180/PI);
	}
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <math.h>
#define PI 3.14159265358979

int main(){
	int a,b,x;
	scanf("%d%d%d",&a,&b,&x);
	if(2*x<a*a*b){
		printf("%.9f",atan2(b,2.0*x/a/b)*180/PI);
	}else{
		printf("%.9f",atan2((a*b-x*1.0/a)/a*2,a)*180/PI);
	}
}```

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:

2 4 4
 12 30 10
 3 2 8
 5 30 10
 3 4 8
 2 30 10
 3 4 3
 2 18 10
 2 18 18
 2 18 26

75.963756532 89.893896826 36.869897646 89.745353768 71.565051177 89.363406424 82.874983651 88.232172944 86.820169880 85.412021876
Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <math.h>
#define PI 3.14159265358979

int main(){
	int a,b,x;
	scanf("%d%d%d",&a,&b,&x);
	if(2*x<a*a*b){
		printf("%.9f",atan2(b,2.0*x/a/b)*180/PI);
	}else{
		printf("%.9f",atan2((a*b-x*1.0/a)/a*2,a)*180/PI);
	}
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC3:
	.string	"%.9f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	movl	16(%rsp), %esi
	movl	20(%rsp), %ecx
	movl	%eax, %edx
	imull	%eax, %edx
	leal	(%rcx,%rcx), %edi
	imull	%esi, %edx
	cmpl	%edx, %edi
	jge	.L2
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%ecx, %xmm1
	cvtsi2sdl	%eax, %xmm2
	cvtsi2sdl	%esi, %xmm0
	addsd	%xmm1, %xmm1
	divsd	%xmm2, %xmm1
	divsd	%xmm0, %xmm1
.L6:
	call	atan2@PLT
	movl	$1, %edi
	leaq	.LC3(%rip), %rsi
	movl	$1, %eax
	mulsd	.LC1(%rip), %xmm0
	divsd	.LC2(%rip), %xmm0
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm1
	cvtsi2sdl	%ecx, %xmm2
	imull	%esi, %eax
	divsd	%xmm1, %xmm2
	cvtsi2sdl	%eax, %xmm0
	subsd	%xmm2, %xmm0
	divsd	%xmm1, %xmm0
	addsd	%xmm0, %xmm0
	jmp	.L6
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1080459264
	.align 8
.LC2:
	.long	1413754129
	.long	1074340347
	.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"
.LC3:
	.string	"%.9f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	movl	16(%rsp), %esi
	movl	20(%rsp), %ecx
	movl	%eax, %edx
	imull	%eax, %edx
	leal	(%rcx,%rcx), %edi
	imull	%esi, %edx
	cmpl	%edx, %edi
	jge	.L2
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%ecx, %xmm1
	cvtsi2sdl	%eax, %xmm2
	cvtsi2sdl	%esi, %xmm0
	addsd	%xmm1, %xmm1
	divsd	%xmm2, %xmm1
	divsd	%xmm0, %xmm1
.L6:
	call	atan2@PLT
	movl	$1, %edi
	leaq	.LC3(%rip), %rsi
	movl	$1, %eax
	mulsd	.LC1(%rip), %xmm0
	divsd	.LC2(%rip), %xmm0
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm1
	cvtsi2sdl	%ecx, %xmm2
	imull	%esi, %eax
	divsd	%xmm1, %xmm2
	cvtsi2sdl	%eax, %xmm0
	subsd	%xmm2, %xmm0
	divsd	%xmm1, %xmm0
	addsd	%xmm0, %xmm0
	jmp	.L6
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1080459264
	.align 8
.LC2:
	.long	1413754129
	.long	1074340347
	.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:
```