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 <stdlib.h>
#include <math.h>

#define PI 3.14159265

int main(void) {
	double t_x = 0;
	double t_y = 0;
	int t_rad = 0;
	int x = 0;
	int k = 1;

	scanf("%d", &x);

	t_y = 1;
	t_rad = -x;

	int roopFlag = 1;
	while (roopFlag) {
		k++;

		double tmp = t_rad * PI / 180;
		t_x += sin(tmp);
		t_y += cos(tmp);

		t_rad -= x;
		if (t_rad >= 360) {
			t_rad -= 360;
		}
		else if (t_rad <= -360) {
			t_rad += 360;
		}

		if (fabs(t_x) <= 0.00001 && fabs(t_y) <= 0.00001) {
			roopFlag = 0;
		}
	}

	printf("%d", k);

	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$1, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdi
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	leaq	24(%rsp), %r13
	movl	$0, 36(%rsp)
	leaq	16(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %ebp
	pxor	%xmm1, %xmm1
	movsd	.LC0(%rip), %xmm2
	movl	%ebp, %ebx
	negl	%ebx
	.p2align 4,,10
	.p2align 3
.L10:
	pxor	%xmm0, %xmm0
	movq	%r12, %rsi
	movq	%r13, %rdi
	movsd	%xmm2, 8(%rsp)
	cvtsi2sdl	%ebx, %xmm0
	subl	%ebp, %ebx
	movsd	%xmm1, (%rsp)
	addl	$1, %r15d
	mulsd	.LC3(%rip), %xmm0
	divsd	.LC4(%rip), %xmm0
	call	sincos@PLT
	movsd	(%rsp), %xmm1
	movsd	8(%rsp), %xmm2
	addsd	24(%rsp), %xmm1
	addsd	16(%rsp), %xmm2
	cmpl	$359, %ebx
	jle	.L2
	subl	$360, %ebx
.L3:
	movsd	.LC6(%rip), %xmm3
	movapd	%xmm1, %xmm0
	andpd	.LC5(%rip), %xmm0
	comisd	%xmm0, %xmm3
	jb	.L10
	movapd	%xmm2, %xmm0
	andpd	.LC5(%rip), %xmm0
	comisd	%xmm0, %xmm3
	jb	.L10
	xorl	%eax, %eax
	movl	%r15d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	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
.L2:
	.cfi_restore_state
	leal	360(%rbx), %eax
	cmpl	$-359, %ebx
	cmovl	%eax, %ebx
	jmp	.L3
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC3:
	.long	1405670641
	.long	1074340347
	.align 8
.LC4:
	.long	0
	.long	1080459264
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC5:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC6:
	.long	-1998362383
	.long	1055193269
	.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
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$1, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdi
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	leaq	24(%rsp), %r13
	movl	$0, 36(%rsp)
	leaq	16(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %ebp
	pxor	%xmm1, %xmm1
	movsd	.LC0(%rip), %xmm2
	movl	%ebp, %ebx
	negl	%ebx
	.p2align 4,,10
	.p2align 3
.L10:
	pxor	%xmm0, %xmm0
	movq	%r12, %rsi
	movq	%r13, %rdi
	movsd	%xmm2, 8(%rsp)
	cvtsi2sdl	%ebx, %xmm0
	subl	%ebp, %ebx
	movsd	%xmm1, (%rsp)
	addl	$1, %r15d
	mulsd	.LC3(%rip), %xmm0
	divsd	.LC4(%rip), %xmm0
	call	sincos@PLT
	movsd	(%rsp), %xmm1
	movsd	8(%rsp), %xmm2
	addsd	24(%rsp), %xmm1
	addsd	16(%rsp), %xmm2
	cmpl	$359, %ebx
	jle	.L2
	subl	$360, %ebx
.L3:
	movsd	.LC6(%rip), %xmm3
	movapd	%xmm1, %xmm0
	andpd	.LC5(%rip), %xmm0
	comisd	%xmm0, %xmm3
	jb	.L10
	movapd	%xmm2, %xmm0
	andpd	.LC5(%rip), %xmm0
	comisd	%xmm0, %xmm3
	jb	.L10
	xorl	%eax, %eax
	movl	%r15d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	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
.L2:
	.cfi_restore_state
	leal	360(%rbx), %eax
	cmpl	$-359, %ebx
	cmovl	%eax, %ebx
	jmp	.L3
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC3:
	.long	1405670641
	.long	1074340347
	.align 8
.LC4:
	.long	0
	.long	1080459264
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC5:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC6:
	.long	-1998362383
	.long	1055193269
	.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
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$1, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdi
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	leaq	24(%rsp), %r13
	movl	$0, 36(%rsp)
	leaq	16(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %ebp
	pxor	%xmm1, %xmm1
	movsd	.LC0(%rip), %xmm2
	movl	%ebp, %ebx
	negl	%ebx
	.p2align 4,,10
	.p2align 3
.L10:
	pxor	%xmm0, %xmm0
	movq	%r12, %rsi
	movq	%r13, %rdi
	movsd	%xmm2, 8(%rsp)
	cvtsi2sdl	%ebx, %xmm0
	subl	%ebp, %ebx
	movsd	%xmm1, (%rsp)
	addl	$1, %r15d
	mulsd	.LC3(%rip), %xmm0
	divsd	.LC4(%rip), %xmm0
	call	sincos@PLT
	movsd	(%rsp), %xmm1
	movsd	8(%rsp), %xmm2
	addsd	24(%rsp), %xmm1
	addsd	16(%rsp), %xmm2
	cmpl	$359, %ebx
	jle	.L2
	subl	$360, %ebx
.L3:
	movsd	.LC6(%rip), %xmm3
	movapd	%xmm1, %xmm0
	andpd	.LC5(%rip), %xmm0
	comisd	%xmm0, %xmm3
	jb	.L10
	movapd	%xmm2, %xmm0
	andpd	.LC5(%rip), %xmm0
	comisd	%xmm0, %xmm3
	jb	.L10
	xorl	%eax, %eax
	movl	%r15d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	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
.L2:
	.cfi_restore_state
	leal	360(%rbx), %eax
	cmpl	$-359, %ebx
	cmovl	%eax, %ebx
	jmp	.L3
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC3:
	.long	1405670641
	.long	1074340347
	.align 8
.LC4:
	.long	0
	.long	1080459264
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC5:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC6:
	.long	-1998362383
	.long	1055193269
	.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 <stdlib.h>
#include <math.h>

#define PI 3.14159265

int main(void) {
	double t_x = 0;
	double t_y = 0;
	int t_rad = 0;
	int x = 0;
	int k = 1;

	scanf("%d", &x);

	t_y = 1;
	t_rad = -x;

	int roopFlag = 1;
	while (roopFlag) {
		k++;

		double tmp = t_rad * PI / 180;
		t_x += sin(tmp);
		t_y += cos(tmp);

		t_rad -= x;
		if (t_rad >= 360) {
			t_rad -= 360;
		}
		else if (t_rad <= -360) {
			t_rad += 360;
		}

		if (fabs(t_x) <= 0.00001 && fabs(t_y) <= 0.00001) {
			roopFlag = 0;
		}
	}

	printf("%d", k);

	return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

#define PI 3.14159265

int main(void) {
	double t_x = 0;
	double t_y = 0;
	int t_rad = 0;
	int x = 0;
	int k = 1;

	scanf("%d", &x);

	t_y = 1;
	t_rad = -x;

	int roopFlag = 1;
	while (roopFlag) {
		k++;

		double tmp = t_rad * PI / 180;
		t_x += sin(tmp);
		t_y += cos(tmp);

		t_rad -= x;
		if (t_rad >= 360) {
			t_rad -= 360;
		}
		else if (t_rad <= -360) {
			t_rad += 360;
		}

		if (fabs(t_x) <= 0.00001 && fabs(t_y) <= 0.00001) {
			roopFlag = 0;
		}
	}

	printf("%d", k);

	return 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:

155
 2
 297
 408
 643
 810
 928
 1780
 33
 70

72 180 40 15 360 4 45 18 120 36
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 <stdlib.h>
#include <math.h>

#define PI 3.14159265

int main(void) {
	double t_x = 0;
	double t_y = 0;
	int t_rad = 0;
	int x = 0;
	int k = 1;

	scanf("%d", &x);

	t_y = 1;
	t_rad = -x;

	int roopFlag = 1;
	while (roopFlag) {
		k++;

		double tmp = t_rad * PI / 180;
		t_x += sin(tmp);
		t_y += cos(tmp);

		t_rad -= x;
		if (t_rad >= 360) {
			t_rad -= 360;
		}
		else if (t_rad <= -360) {
			t_rad += 360;
		}

		if (fabs(t_x) <= 0.00001 && fabs(t_y) <= 0.00001) {
			roopFlag = 0;
		}
	}

	printf("%d", k);

	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$1, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdi
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	leaq	24(%rsp), %r13
	movl	$0, 36(%rsp)
	leaq	16(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %ebp
	pxor	%xmm1, %xmm1
	movsd	.LC0(%rip), %xmm2
	movl	%ebp, %ebx
	negl	%ebx
	.p2align 4,,10
	.p2align 3
.L10:
	pxor	%xmm0, %xmm0
	movq	%r12, %rsi
	movq	%r13, %rdi
	movsd	%xmm2, 8(%rsp)
	cvtsi2sdl	%ebx, %xmm0
	subl	%ebp, %ebx
	movsd	%xmm1, (%rsp)
	addl	$1, %r15d
	mulsd	.LC3(%rip), %xmm0
	divsd	.LC4(%rip), %xmm0
	call	sincos@PLT
	movsd	(%rsp), %xmm1
	movsd	8(%rsp), %xmm2
	addsd	24(%rsp), %xmm1
	addsd	16(%rsp), %xmm2
	cmpl	$359, %ebx
	jle	.L2
	subl	$360, %ebx
.L3:
	movsd	.LC6(%rip), %xmm3
	movapd	%xmm1, %xmm0
	andpd	.LC5(%rip), %xmm0
	comisd	%xmm0, %xmm3
	jb	.L10
	movapd	%xmm2, %xmm0
	andpd	.LC5(%rip), %xmm0
	comisd	%xmm0, %xmm3
	jb	.L10
	xorl	%eax, %eax
	movl	%r15d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	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
.L2:
	.cfi_restore_state
	leal	360(%rbx), %eax
	cmpl	$-359, %ebx
	cmovl	%eax, %ebx
	jmp	.L3
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC3:
	.long	1405670641
	.long	1074340347
	.align 8
.LC4:
	.long	0
	.long	1080459264
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC5:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC6:
	.long	-1998362383
	.long	1055193269
	.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
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$1, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdi
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	leaq	24(%rsp), %r13
	movl	$0, 36(%rsp)
	leaq	16(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %ebp
	pxor	%xmm1, %xmm1
	movsd	.LC0(%rip), %xmm2
	movl	%ebp, %ebx
	negl	%ebx
	.p2align 4,,10
	.p2align 3
.L10:
	pxor	%xmm0, %xmm0
	movq	%r12, %rsi
	movq	%r13, %rdi
	movsd	%xmm2, 8(%rsp)
	cvtsi2sdl	%ebx, %xmm0
	subl	%ebp, %ebx
	movsd	%xmm1, (%rsp)
	addl	$1, %r15d
	mulsd	.LC3(%rip), %xmm0
	divsd	.LC4(%rip), %xmm0
	call	sincos@PLT
	movsd	(%rsp), %xmm1
	movsd	8(%rsp), %xmm2
	addsd	24(%rsp), %xmm1
	addsd	16(%rsp), %xmm2
	cmpl	$359, %ebx
	jle	.L2
	subl	$360, %ebx
.L3:
	movsd	.LC6(%rip), %xmm3
	movapd	%xmm1, %xmm0
	andpd	.LC5(%rip), %xmm0
	comisd	%xmm0, %xmm3
	jb	.L10
	movapd	%xmm2, %xmm0
	andpd	.LC5(%rip), %xmm0
	comisd	%xmm0, %xmm3
	jb	.L10
	xorl	%eax, %eax
	movl	%r15d, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	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
.L2:
	.cfi_restore_state
	leal	360(%rbx), %eax
	cmpl	$-359, %ebx
	cmovl	%eax, %ebx
	jmp	.L3
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC3:
	.long	1405670641
	.long	1074340347
	.align 8
.LC4:
	.long	0
	.long	1080459264
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC5:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC6:
	.long	-1998362383
	.long	1055193269
	.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:
```