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

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

double get_radian(double x1, double y1, double x2, double y2) {
	if(fabs(x1-x2) < 0.00000001f) {
		if(fabs(y1-y2) < 0.00000001f) {
			return 0.0f;
		} else if(y1 > y2) {
			return 3 * M_PI / 2;
		} else {
			return M_PI / 2;
		}
	} else if(fabs(y1-y2) < 0.00000001f) {
		if(fabs(x1-x2) < 0.00000001f) {
			return 0.0f;
		} else if(x1 > x2) {
			return M_PI;
		}
		return 0.0;
	}
	
	if(x2 >= x1) {
		if(y2 >= y1) {
			return atan((y2-y1)/(x2-x1));
		}
		return 2 * M_PI + atan((y2-y1)/(x2-x1));
	} else {
		if(y2 >= y1) {
			return M_PI - atan((y2-y1)/(x1-x2));
		}
		return M_PI + atan((y2-y1)/(x2-x1));
	}
}

int main(void) {
	double base_x, base_y, x, y;
	double base_rad, target_rad;
	double rad;
	double r1, r2, rdiff;
	int i, n;
	
	scanf("%lf %lf %lf %lf\n", &base_x, &base_y, &x, &y);
	scanf("%d\n", &n);
	base_rad = get_radian(base_x, base_y, x, y);
	r1 = sqrt((x-base_x)*(x-base_x)+(y-base_y)*(y-base_y));
	
	for(i=0;i<n;i++) {
		scanf("%lf %lf\n", &x, &y);
		target_rad = get_radian(base_x, base_y, x, y);
		r2 = sqrt((x-base_x)*(x-base_x)+(y-base_y)*(y-base_y));
		
		rdiff = fmod(2*M_PI+target_rad-base_rad, 2*M_PI);

		if(fabs(r1) < 0.0001) {
			printf("ONLINE_FRONT\n");
		} else if(fabs(r2) < 0.0001) {
			printf("ON_SEGMENT\n");
		} else if(fabs(rdiff) < 0.00001) {
			if(r2 > r1) {
				printf("ONLINE_FRONT\n");
			} else {
				printf("ON_SEGMENT\n");
			}
		} else if(fabs(rdiff-M_PI) < 0.00001) {
			printf("ONLINE_BACK\n");
		} else if(rdiff < M_PI) {
			printf("COUNTER_CLOCKWISE\n");
		} else {
			printf("CLOCKWISE\n");
		}
	}
	
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	get_radian
	.type	get_radian, @function
get_radian:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movsd	%xmm0, -8(%rbp)
	movsd	%xmm1, -16(%rbp)
	movsd	%xmm2, -24(%rbp)
	movsd	%xmm3, -32(%rbp)
	movsd	-8(%rbp), %xmm0
	subsd	-24(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L30
	movsd	-16(%rbp), %xmm0
	subsd	-32(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L31
	movq	.LC2(%rip), %rax
	jmp	.L6
.L31:
	movsd	-16(%rbp), %xmm0
	comisd	-32(%rbp), %xmm0
	jbe	.L32
	movq	.LC3(%rip), %rax
	jmp	.L6
.L32:
	movq	.LC4(%rip), %rax
	jmp	.L6
.L30:
	movsd	-16(%rbp), %xmm0
	subsd	-32(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L33
	movsd	-8(%rbp), %xmm0
	subsd	-24(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L34
	movq	.LC2(%rip), %rax
	jmp	.L6
.L34:
	movsd	-8(%rbp), %xmm0
	comisd	-24(%rbp), %xmm0
	jbe	.L35
	movq	.LC5(%rip), %rax
	jmp	.L6
.L35:
	movq	.LC2(%rip), %rax
	jmp	.L6
.L33:
	movsd	-24(%rbp), %xmm0
	comisd	-8(%rbp), %xmm0
	jb	.L36
	movsd	-32(%rbp), %xmm0
	comisd	-16(%rbp), %xmm0
	jb	.L37
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-24(%rbp), %xmm1
	subsd	-8(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movq	%xmm0, %rax
	jmp	.L6
.L37:
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-24(%rbp), %xmm1
	subsd	-8(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movsd	.LC6(%rip), %xmm1
	addsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	jmp	.L6
.L36:
	movsd	-32(%rbp), %xmm0
	comisd	-16(%rbp), %xmm0
	jb	.L38
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-8(%rbp), %xmm1
	subsd	-24(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movsd	.LC5(%rip), %xmm1
	subsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	jmp	.L6
.L38:
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-24(%rbp), %xmm1
	subsd	-8(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movsd	.LC5(%rip), %xmm1
	addsd	%xmm1, %xmm0
	movq	%xmm0, %rax
.L6:
	movq	%rax, %xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_radian, .-get_radian
	.section	.rodata
.LC7:
	.string	"%lf %lf %lf %lf\n"
.LC8:
	.string	"%d\n"
.LC9:
	.string	"%lf %lf\n"
.LC11:
	.string	"ONLINE_FRONT"
.LC12:
	.string	"ON_SEGMENT"
.LC14:
	.string	"ONLINE_BACK"
.LC15:
	.string	"COUNTER_CLOCKWISE"
.LC16:
	.string	"CLOCKWISE"
	.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	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rcx
	leaq	-72(%rbp), %rdx
	leaq	-80(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-88(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC8(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-56(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	movsd	-72(%rbp), %xmm0
	movq	-80(%rbp), %rax
	movapd	%xmm2, %xmm3
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	get_radian
	movq	%xmm0, %rax
	movq	%rax, -48(%rbp)
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	subsd	%xmm2, %xmm1
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	subsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	movapd	%xmm0, %xmm2
	subsd	%xmm3, %xmm2
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	subsd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -40(%rbp)
	movl	$0, -84(%rbp)
	jmp	.L40
.L54:
	leaq	-56(%rbp), %rdx
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC9(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-56(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	movsd	-72(%rbp), %xmm0
	movq	-80(%rbp), %rax
	movapd	%xmm2, %xmm3
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	get_radian
	movq	%xmm0, %rax
	movq	%rax, -32(%rbp)
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	subsd	%xmm2, %xmm1
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	subsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	movapd	%xmm0, %xmm2
	subsd	%xmm3, %xmm2
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	subsd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -24(%rbp)
	movsd	-32(%rbp), %xmm1
	movsd	.LC6(%rip), %xmm0
	addsd	%xmm1, %xmm0
	subsd	-48(%rbp), %xmm0
	movq	%xmm0, %rax
	movsd	.LC6(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmod@PLT
	movq	%xmm0, %rax
	movq	%rax, -16(%rbp)
	movsd	-40(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC10(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L63
	leaq	.LC11(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L63:
	movsd	-24(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC10(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L64
	leaq	.LC12(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L64:
	movsd	-16(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC13(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L65
	movsd	-24(%rbp), %xmm0
	comisd	-40(%rbp), %xmm0
	jbe	.L66
	leaq	.LC11(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L66:
	leaq	.LC12(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L65:
	movsd	-16(%rbp), %xmm0
	movsd	.LC5(%rip), %xmm1
	subsd	%xmm1, %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC13(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L67
	leaq	.LC14(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L67:
	movsd	.LC5(%rip), %xmm0
	comisd	-16(%rbp), %xmm0
	jbe	.L68
	leaq	.LC15(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L68:
	leaq	.LC16(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L43:
	addl	$1, -84(%rbp)
.L40:
	movl	-88(%rbp), %eax
	cmpl	%eax, -84(%rbp)
	jl	.L54
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC1:
	.long	-536870912
	.long	1044740494
	.align 8
.LC2:
	.long	0
	.long	0
	.align 8
.LC3:
	.long	2134057426
	.long	1074977148
	.align 8
.LC4:
	.long	1413754136
	.long	1073291771
	.align 8
.LC5:
	.long	1413754136
	.long	1074340347
	.align 8
.LC6:
	.long	1413754136
	.long	1075388923
	.align 8
.LC10:
	.long	-350469331
	.long	1058682594
	.align 8
.LC13:
	.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.
user
	.file	"temp.c"
	.text
	.p2align 4
	.globl	get_radian
	.type	get_radian, @function
get_radian:
.LFB23:
	.cfi_startproc
	endbr64
	movapd	%xmm0, %xmm7
	movapd	%xmm1, %xmm5
	movapd	%xmm0, %xmm4
	movq	.LC4(%rip), %xmm0
	subsd	%xmm2, %xmm7
	subsd	%xmm3, %xmm5
	movsd	.LC5(%rip), %xmm6
	andpd	%xmm0, %xmm5
	andpd	%xmm7, %xmm0
	comisd	%xmm0, %xmm6
	jbe	.L20
	comisd	%xmm5, %xmm6
	pxor	%xmm0, %xmm0
	ja	.L26
	comisd	%xmm3, %xmm1
	movsd	.LC1(%rip), %xmm0
	jbe	.L29
.L26:
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	comisd	%xmm5, %xmm6
	jbe	.L21
	comisd	%xmm2, %xmm4
	movsd	.LC3(%rip), %xmm0
	ja	.L26
	pxor	%xmm0, %xmm0
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	comisd	%xmm4, %xmm2
	movapd	%xmm3, %xmm0
	subsd	%xmm1, %xmm0
	jnb	.L30
	comisd	%xmm1, %xmm3
	jb	.L24
	divsd	%xmm7, %xmm0
	call	atan@PLT
	movapd	%xmm0, %xmm1
	movsd	.LC3(%rip), %xmm0
	subsd	%xmm1, %xmm0
.L1:
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L29:
	movsd	.LC2(%rip), %xmm0
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_def_cfa_offset 32
	subsd	%xmm4, %xmm2
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	divsd	%xmm2, %xmm0
	call	atan@PLT
	movsd	(%rsp), %xmm1
	movsd	8(%rsp), %xmm3
	comisd	%xmm1, %xmm3
	jnb	.L1
	addsd	.LC6(%rip), %xmm0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	subsd	%xmm4, %xmm2
	divsd	%xmm2, %xmm0
	call	atan@PLT
	addsd	.LC3(%rip), %xmm0
	jmp	.L1
	.cfi_endproc
.LFE23:
	.size	get_radian, .-get_radian
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC7:
	.string	"%lf %lf %lf %lf\n"
.LC8:
	.string	"%d\n"
.LC9:
	.string	"%lf %lf\n"
.LC11:
	.string	"ONLINE_FRONT"
.LC12:
	.string	"ON_SEGMENT"
.LC14:
	.string	"ONLINE_BACK"
.LC15:
	.string	"COUNTER_CLOCKWISE"
.LC16:
	.string	"CLOCKWISE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC7(%rip), %rdi
	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
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$96, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	leaq	80(%rsp), %r12
	leaq	72(%rsp), %rbp
	leaq	64(%rsp), %rdx
	movq	%r12, %r8
	leaq	56(%rsp), %rsi
	movq	%rbp, %rcx
	call	__isoc99_scanf@PLT
	leaq	52(%rsp), %rsi
	leaq	.LC8(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movsd	56(%rsp), %xmm4
	movsd	80(%rsp), %xmm3
	movsd	72(%rsp), %xmm2
	movsd	64(%rsp), %xmm1
	movapd	%xmm4, %xmm0
	movsd	%xmm3, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm1, 8(%rsp)
	movsd	%xmm4, (%rsp)
	call	get_radian
	movsd	(%rsp), %xmm4
	pxor	%xmm5, %xmm5
	movsd	16(%rsp), %xmm2
	movsd	8(%rsp), %xmm1
	movsd	24(%rsp), %xmm3
	movsd	%xmm0, 40(%rsp)
	subsd	%xmm4, %xmm2
	subsd	%xmm1, %xmm3
	mulsd	%xmm2, %xmm2
	mulsd	%xmm3, %xmm3
	addsd	%xmm3, %xmm2
	ucomisd	%xmm2, %xmm5
	ja	.L60
	sqrtsd	%xmm2, %xmm2
	movsd	%xmm2, 32(%rsp)
.L34:
	movl	52(%rsp), %eax
	testl	%eax, %eax
	jle	.L35
	xorl	%ebx, %ebx
	leaq	.LC9(%rip), %r13
	leaq	.LC16(%rip), %r14
	jmp	.L52
	.p2align 4,,10
	.p2align 3
.L62:
	comisd	(%rsp), %xmm6
	ja	.L47
	movsd	.LC13(%rip), %xmm5
	movapd	%xmm0, %xmm1
	andpd	.LC4(%rip), %xmm1
	comisd	%xmm1, %xmm5
	jbe	.L64
	movsd	(%rsp), %xmm6
	comisd	32(%rsp), %xmm6
	ja	.L46
.L47:
	leaq	.LC12(%rip), %rdi
	call	puts@PLT
.L41:
	addl	$1, %ebx
	cmpl	%ebx, 52(%rsp)
	jle	.L35
.L52:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movsd	56(%rsp), %xmm5
	movsd	80(%rsp), %xmm3
	movsd	72(%rsp), %xmm2
	movsd	64(%rsp), %xmm1
	movapd	%xmm5, %xmm0
	movsd	%xmm3, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm1, 8(%rsp)
	movsd	%xmm5, (%rsp)
	call	get_radian
	movsd	(%rsp), %xmm5
	pxor	%xmm6, %xmm6
	movsd	16(%rsp), %xmm2
	movsd	8(%rsp), %xmm1
	movsd	24(%rsp), %xmm3
	movapd	%xmm0, %xmm4
	subsd	%xmm5, %xmm2
	subsd	%xmm1, %xmm3
	mulsd	%xmm2, %xmm2
	mulsd	%xmm3, %xmm3
	addsd	%xmm3, %xmm2
	ucomisd	%xmm2, %xmm6
	ja	.L61
	sqrtsd	%xmm2, %xmm2
	movsd	%xmm2, (%rsp)
.L38:
	addsd	.LC6(%rip), %xmm4
	subsd	40(%rsp), %xmm4
	movq	.LC6(%rip), %rax
	movapd	%xmm4, %xmm0
	movq	%rax, %xmm1
	call	fmod@PLT
	movsd	.LC10(%rip), %xmm6
	comisd	32(%rsp), %xmm6
	jbe	.L62
.L46:
	leaq	.LC11(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 52(%rsp)
	jg	.L52
.L35:
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L68
	addq	$96, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L64:
	.cfi_restore_state
	movapd	%xmm0, %xmm1
	subsd	.LC3(%rip), %xmm1
	andpd	.LC4(%rip), %xmm1
	comisd	%xmm1, %xmm5
	ja	.L69
	movsd	.LC3(%rip), %xmm7
	comisd	%xmm0, %xmm7
	jbe	.L66
	leaq	.LC15(%rip), %rdi
	call	puts@PLT
	jmp	.L41
.L66:
	movq	%r14, %rdi
	call	puts@PLT
	jmp	.L41
.L69:
	leaq	.LC14(%rip), %rdi
	call	puts@PLT
	jmp	.L41
.L61:
	movsd	%xmm0, 8(%rsp)
	movapd	%xmm2, %xmm0
	call	sqrt@PLT
	movsd	8(%rsp), %xmm4
	movsd	%xmm0, (%rsp)
	jmp	.L38
.L60:
	movapd	%xmm2, %xmm0
	call	sqrt@PLT
	movsd	%xmm0, 32(%rsp)
	jmp	.L34
.L68:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	2134057426
	.long	1074977148
	.align 8
.LC2:
	.long	1413754136
	.long	1073291771
	.align 8
.LC3:
	.long	1413754136
	.long	1074340347
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC4:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC5:
	.long	-536870912
	.long	1044740494
	.align 8
.LC6:
	.long	1413754136
	.long	1075388923
	.align 8
.LC10:
	.long	-350469331
	.long	1058682594
	.align 8
.LC13:
	.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
	.file	"temp.c"
	.text
	.p2align 4
	.globl	get_radian
	.type	get_radian, @function
get_radian:
.LFB23:
	.cfi_startproc
	endbr64
	movapd	%xmm0, %xmm7
	movapd	%xmm1, %xmm5
	movapd	%xmm0, %xmm4
	movq	.LC4(%rip), %xmm0
	subsd	%xmm2, %xmm7
	subsd	%xmm3, %xmm5
	movsd	.LC5(%rip), %xmm6
	andpd	%xmm0, %xmm5
	andpd	%xmm7, %xmm0
	comisd	%xmm0, %xmm6
	jbe	.L20
	comisd	%xmm5, %xmm6
	pxor	%xmm0, %xmm0
	ja	.L26
	comisd	%xmm3, %xmm1
	movsd	.LC1(%rip), %xmm0
	jbe	.L29
.L26:
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	comisd	%xmm5, %xmm6
	jbe	.L21
	comisd	%xmm2, %xmm4
	movsd	.LC3(%rip), %xmm0
	ja	.L26
	pxor	%xmm0, %xmm0
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	comisd	%xmm4, %xmm2
	movapd	%xmm3, %xmm0
	subsd	%xmm1, %xmm0
	jnb	.L30
	comisd	%xmm1, %xmm3
	jb	.L24
	divsd	%xmm7, %xmm0
	call	atan@PLT
	movapd	%xmm0, %xmm1
	movsd	.LC3(%rip), %xmm0
	subsd	%xmm1, %xmm0
.L1:
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L29:
	movsd	.LC2(%rip), %xmm0
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_def_cfa_offset 32
	subsd	%xmm4, %xmm2
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	divsd	%xmm2, %xmm0
	call	atan@PLT
	movsd	(%rsp), %xmm1
	movsd	8(%rsp), %xmm3
	comisd	%xmm1, %xmm3
	jnb	.L1
	addsd	.LC6(%rip), %xmm0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	subsd	%xmm4, %xmm2
	divsd	%xmm2, %xmm0
	call	atan@PLT
	addsd	.LC3(%rip), %xmm0
	jmp	.L1
	.cfi_endproc
.LFE23:
	.size	get_radian, .-get_radian
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC7:
	.string	"%lf %lf %lf %lf\n"
.LC8:
	.string	"%d\n"
.LC9:
	.string	"%lf %lf\n"
.LC11:
	.string	"ONLINE_FRONT"
.LC12:
	.string	"ON_SEGMENT"
.LC14:
	.string	"ONLINE_BACK"
.LC15:
	.string	"COUNTER_CLOCKWISE"
.LC16:
	.string	"CLOCKWISE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC7(%rip), %rdi
	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
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$96, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	leaq	80(%rsp), %r12
	leaq	72(%rsp), %rbp
	leaq	64(%rsp), %rdx
	movq	%r12, %r8
	leaq	56(%rsp), %rsi
	movq	%rbp, %rcx
	call	__isoc99_scanf@PLT
	leaq	52(%rsp), %rsi
	leaq	.LC8(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movsd	56(%rsp), %xmm4
	movsd	80(%rsp), %xmm3
	movsd	72(%rsp), %xmm2
	movsd	64(%rsp), %xmm1
	movapd	%xmm4, %xmm0
	movsd	%xmm3, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm1, 8(%rsp)
	movsd	%xmm4, (%rsp)
	call	get_radian
	movsd	(%rsp), %xmm4
	pxor	%xmm5, %xmm5
	movsd	16(%rsp), %xmm2
	movsd	8(%rsp), %xmm1
	movsd	24(%rsp), %xmm3
	movsd	%xmm0, 40(%rsp)
	subsd	%xmm4, %xmm2
	subsd	%xmm1, %xmm3
	mulsd	%xmm2, %xmm2
	mulsd	%xmm3, %xmm3
	addsd	%xmm3, %xmm2
	ucomisd	%xmm2, %xmm5
	ja	.L60
	sqrtsd	%xmm2, %xmm2
	movsd	%xmm2, 32(%rsp)
.L34:
	movl	52(%rsp), %eax
	testl	%eax, %eax
	jle	.L35
	xorl	%ebx, %ebx
	leaq	.LC9(%rip), %r13
	leaq	.LC16(%rip), %r14
	jmp	.L52
	.p2align 4,,10
	.p2align 3
.L62:
	comisd	(%rsp), %xmm6
	ja	.L47
	movsd	.LC13(%rip), %xmm5
	movapd	%xmm0, %xmm1
	andpd	.LC4(%rip), %xmm1
	comisd	%xmm1, %xmm5
	jbe	.L64
	movsd	(%rsp), %xmm6
	comisd	32(%rsp), %xmm6
	ja	.L46
.L47:
	leaq	.LC12(%rip), %rdi
	call	puts@PLT
.L41:
	addl	$1, %ebx
	cmpl	%ebx, 52(%rsp)
	jle	.L35
.L52:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movsd	56(%rsp), %xmm5
	movsd	80(%rsp), %xmm3
	movsd	72(%rsp), %xmm2
	movsd	64(%rsp), %xmm1
	movapd	%xmm5, %xmm0
	movsd	%xmm3, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm1, 8(%rsp)
	movsd	%xmm5, (%rsp)
	call	get_radian
	movsd	(%rsp), %xmm5
	pxor	%xmm6, %xmm6
	movsd	16(%rsp), %xmm2
	movsd	8(%rsp), %xmm1
	movsd	24(%rsp), %xmm3
	movapd	%xmm0, %xmm4
	subsd	%xmm5, %xmm2
	subsd	%xmm1, %xmm3
	mulsd	%xmm2, %xmm2
	mulsd	%xmm3, %xmm3
	addsd	%xmm3, %xmm2
	ucomisd	%xmm2, %xmm6
	ja	.L61
	sqrtsd	%xmm2, %xmm2
	movsd	%xmm2, (%rsp)
.L38:
	addsd	.LC6(%rip), %xmm4
	subsd	40(%rsp), %xmm4
	movq	.LC6(%rip), %rax
	movapd	%xmm4, %xmm0
	movq	%rax, %xmm1
	call	fmod@PLT
	movsd	.LC10(%rip), %xmm6
	comisd	32(%rsp), %xmm6
	jbe	.L62
.L46:
	leaq	.LC11(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 52(%rsp)
	jg	.L52
.L35:
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L68
	addq	$96, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L64:
	.cfi_restore_state
	movapd	%xmm0, %xmm1
	subsd	.LC3(%rip), %xmm1
	andpd	.LC4(%rip), %xmm1
	comisd	%xmm1, %xmm5
	ja	.L69
	movsd	.LC3(%rip), %xmm7
	comisd	%xmm0, %xmm7
	jbe	.L66
	leaq	.LC15(%rip), %rdi
	call	puts@PLT
	jmp	.L41
.L66:
	movq	%r14, %rdi
	call	puts@PLT
	jmp	.L41
.L69:
	leaq	.LC14(%rip), %rdi
	call	puts@PLT
	jmp	.L41
.L61:
	movsd	%xmm0, 8(%rsp)
	movapd	%xmm2, %xmm0
	call	sqrt@PLT
	movsd	8(%rsp), %xmm4
	movsd	%xmm0, (%rsp)
	jmp	.L38
.L60:
	movapd	%xmm2, %xmm0
	call	sqrt@PLT
	movsd	%xmm0, 32(%rsp)
	jmp	.L34
.L68:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	2134057426
	.long	1074977148
	.align 8
.LC2:
	.long	1413754136
	.long	1073291771
	.align 8
.LC3:
	.long	1413754136
	.long	1074340347
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC4:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC5:
	.long	-536870912
	.long	1044740494
	.align 8
.LC6:
	.long	1413754136
	.long	1075388923
	.align 8
.LC10:
	.long	-350469331
	.long	1058682594
	.align 8
.LC13:
	.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:

#include <stdio.h>
#include <math.h>

double get_radian(double x1, double y1, double x2, double y2) {
	if(fabs(x1-x2) < 0.00000001f) {
		if(fabs(y1-y2) < 0.00000001f) {
			return 0.0f;
		} else if(y1 > y2) {
			return 3 * M_PI / 2;
		} else {
			return M_PI / 2;
		}
	} else if(fabs(y1-y2) < 0.00000001f) {
		if(fabs(x1-x2) < 0.00000001f) {
			return 0.0f;
		} else if(x1 > x2) {
			return M_PI;
		}
		return 0.0;
	}
	
	if(x2 >= x1) {
		if(y2 >= y1) {
			return atan((y2-y1)/(x2-x1));
		}
		return 2 * M_PI + atan((y2-y1)/(x2-x1));
	} else {
		if(y2 >= y1) {
			return M_PI - atan((y2-y1)/(x1-x2));
		}
		return M_PI + atan((y2-y1)/(x2-x1));
	}
}

int main(void) {
	double base_x, base_y, x, y;
	double base_rad, target_rad;
	double rad;
	double r1, r2, rdiff;
	int i, n;
	
	scanf("%lf %lf %lf %lf\n", &base_x, &base_y, &x, &y);
	scanf("%d\n", &n);
	base_rad = get_radian(base_x, base_y, x, y);
	r1 = sqrt((x-base_x)*(x-base_x)+(y-base_y)*(y-base_y));
	
	for(i=0;i<n;i++) {
		scanf("%lf %lf\n", &x, &y);
		target_rad = get_radian(base_x, base_y, x, y);
		r2 = sqrt((x-base_x)*(x-base_x)+(y-base_y)*(y-base_y));
		
		rdiff = fmod(2*M_PI+target_rad-base_rad, 2*M_PI);

		if(fabs(r1) < 0.0001) {
			printf("ONLINE_FRONT\n");
		} else if(fabs(r2) < 0.0001) {
			printf("ON_SEGMENT\n");
		} else if(fabs(rdiff) < 0.00001) {
			if(r2 > r1) {
				printf("ONLINE_FRONT\n");
			} else {
				printf("ON_SEGMENT\n");
			}
		} else if(fabs(rdiff-M_PI) < 0.00001) {
			printf("ONLINE_BACK\n");
		} else if(rdiff < M_PI) {
			printf("COUNTER_CLOCKWISE\n");
		} else {
			printf("CLOCKWISE\n");
		}
	}
	
	return 0;
}
0 0 2 -1
3
-1 0
0 0
3 0
 0 0 4 0
2
-1 1
-1 -1
 0 1 2 0
3
-1 0
0 0
3 0
 0 0 2 -1
3
-1 0
0 1
3 0
 0 0 2 -1
1
-2 0
0 1
3 1
 1 2 0 -2
2
0 -1
0 0
1 2
 1 2 -1 -2
2
-1 0
0 0
0 2
 0 2 -1 -2
2
-1 1
0 0
1 0
 -1 0 -4 0
2
0 7
0 0
-1 -1
 0 -1 4 0
2
-1 1
-1 -1

CLOCKWISE
ON_SEGMENT
COUNTER_CLOCKWISE
 COUNTER_CLOCKWISE
CLOCKWISE
 CLOCKWISE
CLOCKWISE
COUNTER_CLOCKWISE
 CLOCKWISE
COUNTER_CLOCKWISE
COUNTER_CLOCKWISE
 CLOCKWISE
 CLOCKWISE
CLOCKWISE
 CLOCKWISE
CLOCKWISE
 CLOCKWISE
COUNTER_CLOCKWISE
 CLOCKWISE
ONLINE_BACK
 COUNTER_CLOCKWISE
COUNTER_CLOCKWISE

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

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

double get_radian(double x1, double y1, double x2, double y2) {
	if(fabs(x1-x2) < 0.00000001f) {
		if(fabs(y1-y2) < 0.00000001f) {
			return 0.0f;
		} else if(y1 > y2) {
			return 3 * M_PI / 2;
		} else {
			return M_PI / 2;
		}
	} else if(fabs(y1-y2) < 0.00000001f) {
		if(fabs(x1-x2) < 0.00000001f) {
			return 0.0f;
		} else if(x1 > x2) {
			return M_PI;
		}
		return 0.0;
	}
	
	if(x2 >= x1) {
		if(y2 >= y1) {
			return atan((y2-y1)/(x2-x1));
		}
		return 2 * M_PI + atan((y2-y1)/(x2-x1));
	} else {
		if(y2 >= y1) {
			return M_PI - atan((y2-y1)/(x1-x2));
		}
		return M_PI + atan((y2-y1)/(x2-x1));
	}
}

int main(void) {
	double base_x, base_y, x, y;
	double base_rad, target_rad;
	double rad;
	double r1, r2, rdiff;
	int i, n;
	
	scanf("%lf %lf %lf %lf\n", &base_x, &base_y, &x, &y);
	scanf("%d\n", &n);
	base_rad = get_radian(base_x, base_y, x, y);
	r1 = sqrt((x-base_x)*(x-base_x)+(y-base_y)*(y-base_y));
	
	for(i=0;i<n;i++) {
		scanf("%lf %lf\n", &x, &y);
		target_rad = get_radian(base_x, base_y, x, y);
		r2 = sqrt((x-base_x)*(x-base_x)+(y-base_y)*(y-base_y));
		
		rdiff = fmod(2*M_PI+target_rad-base_rad, 2*M_PI);

		if(fabs(r1) < 0.0001) {
			printf("ONLINE_FRONT\n");
		} else if(fabs(r2) < 0.0001) {
			printf("ON_SEGMENT\n");
		} else if(fabs(rdiff) < 0.00001) {
			if(r2 > r1) {
				printf("ONLINE_FRONT\n");
			} else {
				printf("ON_SEGMENT\n");
			}
		} else if(fabs(rdiff-M_PI) < 0.00001) {
			printf("ONLINE_BACK\n");
		} else if(rdiff < M_PI) {
			printf("COUNTER_CLOCKWISE\n");
		} else {
			printf("CLOCKWISE\n");
		}
	}
	
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	get_radian
	.type	get_radian, @function
get_radian:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movsd	%xmm0, -8(%rbp)
	movsd	%xmm1, -16(%rbp)
	movsd	%xmm2, -24(%rbp)
	movsd	%xmm3, -32(%rbp)
	movsd	-8(%rbp), %xmm0
	subsd	-24(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L30
	movsd	-16(%rbp), %xmm0
	subsd	-32(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L31
	movq	.LC2(%rip), %rax
	jmp	.L6
.L31:
	movsd	-16(%rbp), %xmm0
	comisd	-32(%rbp), %xmm0
	jbe	.L32
	movq	.LC3(%rip), %rax
	jmp	.L6
.L32:
	movq	.LC4(%rip), %rax
	jmp	.L6
.L30:
	movsd	-16(%rbp), %xmm0
	subsd	-32(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L33
	movsd	-8(%rbp), %xmm0
	subsd	-24(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L34
	movq	.LC2(%rip), %rax
	jmp	.L6
.L34:
	movsd	-8(%rbp), %xmm0
	comisd	-24(%rbp), %xmm0
	jbe	.L35
	movq	.LC5(%rip), %rax
	jmp	.L6
.L35:
	movq	.LC2(%rip), %rax
	jmp	.L6
.L33:
	movsd	-24(%rbp), %xmm0
	comisd	-8(%rbp), %xmm0
	jb	.L36
	movsd	-32(%rbp), %xmm0
	comisd	-16(%rbp), %xmm0
	jb	.L37
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-24(%rbp), %xmm1
	subsd	-8(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movq	%xmm0, %rax
	jmp	.L6
.L37:
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-24(%rbp), %xmm1
	subsd	-8(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movsd	.LC6(%rip), %xmm1
	addsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	jmp	.L6
.L36:
	movsd	-32(%rbp), %xmm0
	comisd	-16(%rbp), %xmm0
	jb	.L38
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-8(%rbp), %xmm1
	subsd	-24(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movsd	.LC5(%rip), %xmm1
	subsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	jmp	.L6
.L38:
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-24(%rbp), %xmm1
	subsd	-8(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movsd	.LC5(%rip), %xmm1
	addsd	%xmm1, %xmm0
	movq	%xmm0, %rax
.L6:
	movq	%rax, %xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_radian, .-get_radian
	.section	.rodata
.LC7:
	.string	"%lf %lf %lf %lf\n"
.LC8:
	.string	"%d\n"
.LC9:
	.string	"%lf %lf\n"
.LC11:
	.string	"ONLINE_FRONT"
.LC12:
	.string	"ON_SEGMENT"
.LC14:
	.string	"ONLINE_BACK"
.LC15:
	.string	"COUNTER_CLOCKWISE"
.LC16:
	.string	"CLOCKWISE"
	.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	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rcx
	leaq	-72(%rbp), %rdx
	leaq	-80(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-88(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC8(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-56(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	movsd	-72(%rbp), %xmm0
	movq	-80(%rbp), %rax
	movapd	%xmm2, %xmm3
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	get_radian
	movq	%xmm0, %rax
	movq	%rax, -48(%rbp)
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	subsd	%xmm2, %xmm1
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	subsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	movapd	%xmm0, %xmm2
	subsd	%xmm3, %xmm2
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	subsd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -40(%rbp)
	movl	$0, -84(%rbp)
	jmp	.L40
.L54:
	leaq	-56(%rbp), %rdx
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC9(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-56(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	movsd	-72(%rbp), %xmm0
	movq	-80(%rbp), %rax
	movapd	%xmm2, %xmm3
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	get_radian
	movq	%xmm0, %rax
	movq	%rax, -32(%rbp)
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	subsd	%xmm2, %xmm1
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	subsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	movapd	%xmm0, %xmm2
	subsd	%xmm3, %xmm2
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	subsd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -24(%rbp)
	movsd	-32(%rbp), %xmm1
	movsd	.LC6(%rip), %xmm0
	addsd	%xmm1, %xmm0
	subsd	-48(%rbp), %xmm0
	movq	%xmm0, %rax
	movsd	.LC6(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmod@PLT
	movq	%xmm0, %rax
	movq	%rax, -16(%rbp)
	movsd	-40(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC10(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L63
	leaq	.LC11(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L63:
	movsd	-24(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC10(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L64
	leaq	.LC12(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L64:
	movsd	-16(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC13(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L65
	movsd	-24(%rbp), %xmm0
	comisd	-40(%rbp), %xmm0
	jbe	.L66
	leaq	.LC11(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L66:
	leaq	.LC12(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L65:
	movsd	-16(%rbp), %xmm0
	movsd	.LC5(%rip), %xmm1
	subsd	%xmm1, %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC13(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L67
	leaq	.LC14(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L67:
	movsd	.LC5(%rip), %xmm0
	comisd	-16(%rbp), %xmm0
	jbe	.L68
	leaq	.LC15(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L68:
	leaq	.LC16(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L43:
	addl	$1, -84(%rbp)
.L40:
	movl	-88(%rbp), %eax
	cmpl	%eax, -84(%rbp)
	jl	.L54
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC1:
	.long	-536870912
	.long	1044740494
	.align 8
.LC2:
	.long	0
	.long	0
	.align 8
.LC3:
	.long	2134057426
	.long	1074977148
	.align 8
.LC4:
	.long	1413754136
	.long	1073291771
	.align 8
.LC5:
	.long	1413754136
	.long	1074340347
	.align 8
.LC6:
	.long	1413754136
	.long	1075388923
	.align 8
.LC10:
	.long	-350469331
	.long	1058682594
	.align 8
.LC13:
	.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.
val
	.file	"temp.c"
	.text
	.globl	get_radian
	.type	get_radian, @function
get_radian:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movsd	%xmm0, -8(%rbp)
	movsd	%xmm1, -16(%rbp)
	movsd	%xmm2, -24(%rbp)
	movsd	%xmm3, -32(%rbp)
	movsd	-8(%rbp), %xmm0
	subsd	-24(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L30
	movsd	-16(%rbp), %xmm0
	subsd	-32(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L31
	movq	.LC2(%rip), %rax
	jmp	.L6
.L31:
	movsd	-16(%rbp), %xmm0
	comisd	-32(%rbp), %xmm0
	jbe	.L32
	movq	.LC3(%rip), %rax
	jmp	.L6
.L32:
	movq	.LC4(%rip), %rax
	jmp	.L6
.L30:
	movsd	-16(%rbp), %xmm0
	subsd	-32(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L33
	movsd	-8(%rbp), %xmm0
	subsd	-24(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L34
	movq	.LC2(%rip), %rax
	jmp	.L6
.L34:
	movsd	-8(%rbp), %xmm0
	comisd	-24(%rbp), %xmm0
	jbe	.L35
	movq	.LC5(%rip), %rax
	jmp	.L6
.L35:
	movq	.LC2(%rip), %rax
	jmp	.L6
.L33:
	movsd	-24(%rbp), %xmm0
	comisd	-8(%rbp), %xmm0
	jb	.L36
	movsd	-32(%rbp), %xmm0
	comisd	-16(%rbp), %xmm0
	jb	.L37
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-24(%rbp), %xmm1
	subsd	-8(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movq	%xmm0, %rax
	jmp	.L6
.L37:
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-24(%rbp), %xmm1
	subsd	-8(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movsd	.LC6(%rip), %xmm1
	addsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	jmp	.L6
.L36:
	movsd	-32(%rbp), %xmm0
	comisd	-16(%rbp), %xmm0
	jb	.L38
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-8(%rbp), %xmm1
	subsd	-24(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movsd	.LC5(%rip), %xmm1
	subsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	jmp	.L6
.L38:
	movsd	-32(%rbp), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-24(%rbp), %xmm1
	subsd	-8(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	atan@PLT
	movsd	.LC5(%rip), %xmm1
	addsd	%xmm1, %xmm0
	movq	%xmm0, %rax
.L6:
	movq	%rax, %xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_radian, .-get_radian
	.section	.rodata
.LC7:
	.string	"%lf %lf %lf %lf\n"
.LC8:
	.string	"%d\n"
.LC9:
	.string	"%lf %lf\n"
.LC11:
	.string	"ONLINE_FRONT"
.LC12:
	.string	"ON_SEGMENT"
.LC14:
	.string	"ONLINE_BACK"
.LC15:
	.string	"COUNTER_CLOCKWISE"
.LC16:
	.string	"CLOCKWISE"
	.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	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rcx
	leaq	-72(%rbp), %rdx
	leaq	-80(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-88(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC8(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-56(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	movsd	-72(%rbp), %xmm0
	movq	-80(%rbp), %rax
	movapd	%xmm2, %xmm3
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	get_radian
	movq	%xmm0, %rax
	movq	%rax, -48(%rbp)
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	subsd	%xmm2, %xmm1
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	subsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	movapd	%xmm0, %xmm2
	subsd	%xmm3, %xmm2
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	subsd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -40(%rbp)
	movl	$0, -84(%rbp)
	jmp	.L40
.L54:
	leaq	-56(%rbp), %rdx
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC9(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-56(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	movsd	-72(%rbp), %xmm0
	movq	-80(%rbp), %rax
	movapd	%xmm2, %xmm3
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	get_radian
	movq	%xmm0, %rax
	movq	%rax, -32(%rbp)
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	subsd	%xmm2, %xmm1
	movsd	-64(%rbp), %xmm0
	movsd	-80(%rbp), %xmm2
	subsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	movapd	%xmm0, %xmm2
	subsd	%xmm3, %xmm2
	movsd	-56(%rbp), %xmm0
	movsd	-72(%rbp), %xmm3
	subsd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -24(%rbp)
	movsd	-32(%rbp), %xmm1
	movsd	.LC6(%rip), %xmm0
	addsd	%xmm1, %xmm0
	subsd	-48(%rbp), %xmm0
	movq	%xmm0, %rax
	movsd	.LC6(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmod@PLT
	movq	%xmm0, %rax
	movq	%rax, -16(%rbp)
	movsd	-40(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC10(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L63
	leaq	.LC11(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L63:
	movsd	-24(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC10(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L64
	leaq	.LC12(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L64:
	movsd	-16(%rbp), %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC13(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L65
	movsd	-24(%rbp), %xmm0
	comisd	-40(%rbp), %xmm0
	jbe	.L66
	leaq	.LC11(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L66:
	leaq	.LC12(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L65:
	movsd	-16(%rbp), %xmm0
	movsd	.LC5(%rip), %xmm1
	subsd	%xmm1, %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm0, %xmm1
	movsd	.LC13(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L67
	leaq	.LC14(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L67:
	movsd	.LC5(%rip), %xmm0
	comisd	-16(%rbp), %xmm0
	jbe	.L68
	leaq	.LC15(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L43
.L68:
	leaq	.LC16(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L43:
	addl	$1, -84(%rbp)
.L40:
	movl	-88(%rbp), %eax
	cmpl	%eax, -84(%rbp)
	jl	.L54
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC1:
	.long	-536870912
	.long	1044740494
	.align 8
.LC2:
	.long	0
	.long	0
	.align 8
.LC3:
	.long	2134057426
	.long	1074977148
	.align 8
.LC4:
	.long	1413754136
	.long	1073291771
	.align 8
.LC5:
	.long	1413754136
	.long	1074340347
	.align 8
.LC6:
	.long	1413754136
	.long	1075388923
	.align 8
.LC10:
	.long	-350469331
	.long	1058682594
	.align 8
.LC13:
	.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:
