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 is_crossing_line(double x1,double y1,double x2,double y2,double x3,double y3,double x4,double y4){
	double S,T,D;

	//	分母を先に計算。計算量を減らすため、分子は後で行う。
	D = (x3-x1) * (y4-y1) - (y3-y1) * (x4-x1);
	
	//	D の符号に応じて分岐
	if(D < 0){
		S = (y4-y1)*(x2-x1) - (x4-x1)*(y2-y1);
		T = (x3-x1)*(y2-y1) - (y3-y1)*(x2-x1);
		
		return S <= 0 && T <= 0 && (S+T)/D >= 1;
	}
	else if(D > 0){
		S = (y4-y1)*(x2-x1) - (x4-x1)*(y2-y1);
		T = (x3-x1)*(y2-y1) - (y3-y1)*(x2-x1);
		
		return S >= 0 && T >= 0 && (S+T)/D >= 1;
	}
	
	//	D = 0 の時には、点が線分の上かどうかを判定する。
	return (x3-x1)*(x4-x1)+(y3-y1)*(y4-y1) <= 0
	    || (x3-x2)*(x4-x2)+(y3-y2)*(y4-y2) <= 0
	    || (x1-x3)*(x2-x3)+(y1-y3)*(y2-y3) <= 0;
}

int main(void) {
	double x1,x2,x3,x4,y1,y2,y3,y4;
	double ta, tb, tc, td;
	int i, n;
	
	scanf("%d\n", &n);
	for(i=0;i<n;i++) {
		scanf("%lf %lf %lf %lf %lf %lf %lf %lf\n", &x1, &y1, &x2, &y2, &x3, &y3, &x4, &y4);

		if(is_crossing_line(x1, y1, x2, y2, x3, y3, x4, y4)) {
			printf("1\n");
		} else {
			printf("0\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
	.globl	is_crossing_line
	.type	is_crossing_line, @function
is_crossing_line:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movsd	%xmm0, -40(%rbp)
	movsd	%xmm1, -48(%rbp)
	movsd	%xmm2, -56(%rbp)
	movsd	%xmm3, -64(%rbp)
	movsd	%xmm4, -72(%rbp)
	movsd	%xmm5, -80(%rbp)
	movsd	%xmm6, -88(%rbp)
	movsd	%xmm7, -96(%rbp)
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-96(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-80(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-88(%rbp), %xmm1
	subsd	-40(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	pxor	%xmm0, %xmm0
	comisd	-24(%rbp), %xmm0
	jbe	.L67
	movsd	-96(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-48(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	subsd	-40(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-88(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-40(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	subsd	-48(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-64(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-80(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-56(%rbp), %xmm1
	subsd	-40(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	pxor	%xmm0, %xmm0
	comisd	-16(%rbp), %xmm0
	jb	.L42
	pxor	%xmm0, %xmm0
	comisd	-8(%rbp), %xmm0
	jb	.L42
	movsd	-16(%rbp), %xmm0
	addsd	-8(%rbp), %xmm0
	divsd	-24(%rbp), %xmm0
	movsd	.LC7(%rip), %xmm1
	comisd	%xmm1, %xmm0
	jb	.L42
	movl	$1, %eax
	jmp	.L47
.L42:
	movl	$0, %eax
	jmp	.L47
.L67:
	movsd	-24(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comisd	%xmm1, %xmm0
	jbe	.L68
	movsd	-96(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-48(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	subsd	-40(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-88(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-40(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	subsd	-48(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-64(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-80(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-56(%rbp), %xmm1
	subsd	-40(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	-16(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comisd	%xmm1, %xmm0
	jb	.L50
	movsd	-8(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comisd	%xmm1, %xmm0
	jb	.L50
	movsd	-16(%rbp), %xmm0
	addsd	-8(%rbp), %xmm0
	divsd	-24(%rbp), %xmm0
	movsd	.LC7(%rip), %xmm1
	comisd	%xmm1, %xmm0
	jb	.L50
	movl	$1, %eax
	jmp	.L47
.L50:
	movl	$0, %eax
	jmp	.L47
.L68:
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-88(%rbp), %xmm0
	subsd	-40(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-80(%rbp), %xmm0
	movapd	%xmm0, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-96(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L55
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-56(%rbp), %xmm1
	movsd	-88(%rbp), %xmm0
	subsd	-56(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-80(%rbp), %xmm0
	movapd	%xmm0, %xmm2
	subsd	-64(%rbp), %xmm2
	movsd	-96(%rbp), %xmm0
	subsd	-64(%rbp), %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L55
	movsd	-40(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-72(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	subsd	-72(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-48(%rbp), %xmm0
	movapd	%xmm0, %xmm2
	subsd	-80(%rbp), %xmm2
	movsd	-64(%rbp), %xmm0
	subsd	-80(%rbp), %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	comisd	%xmm1, %xmm0
	jb	.L69
.L55:
	movl	$1, %eax
	jmp	.L47
.L69:
	movl	$0, %eax
.L47:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	is_crossing_line, .-is_crossing_line
	.section	.rodata
.LC8:
	.string	"%d\n"
	.align 8
.LC9:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf\n"
.LC10:
	.string	"1"
.LC11:
	.string	"0"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC8(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -76(%rbp)
	jmp	.L71
.L74:
	leaq	-56(%rbp), %r8
	leaq	-32(%rbp), %rdi
	leaq	-64(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-72(%rbp), %rax
	subq	$8, %rsp
	leaq	-16(%rbp), %rsi
	pushq	%rsi
	leaq	-48(%rbp), %rsi
	pushq	%rsi
	leaq	-24(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC9(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$32, %rsp
	movsd	-16(%rbp), %xmm6
	movsd	-48(%rbp), %xmm5
	movsd	-24(%rbp), %xmm4
	movsd	-56(%rbp), %xmm3
	movsd	-32(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	movsd	-40(%rbp), %xmm0
	movq	-72(%rbp), %rax
	movapd	%xmm6, %xmm7
	movapd	%xmm5, %xmm6
	movapd	%xmm4, %xmm5
	movapd	%xmm3, %xmm4
	movapd	%xmm2, %xmm3
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	is_crossing_line
	testl	%eax, %eax
	je	.L72
	leaq	.LC10(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L73
.L72:
	leaq	.LC11(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L73:
	addl	$1, -76(%rbp)
.L71:
	movl	-80(%rbp), %eax
	cmpl	%eax, -76(%rbp)
	jl	.L74
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L76
	call	__stack_chk_fail@PLT
.L76:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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
.LC7:
	.long	0
	.long	1072693248
	.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
	.p2align 4
	.globl	is_crossing_line
	.type	is_crossing_line, @function
is_crossing_line:
.LFB24:
	.cfi_startproc
	endbr64
	movapd	%xmm4, %xmm13
	movapd	%xmm5, %xmm12
	movapd	%xmm0, %xmm8
	subsd	%xmm0, %xmm13
	subsd	%xmm1, %xmm12
	movapd	%xmm7, %xmm0
	movapd	%xmm6, %xmm11
	subsd	%xmm1, %xmm0
	subsd	%xmm8, %xmm11
	movapd	%xmm13, %xmm9
	movapd	%xmm12, %xmm10
	mulsd	%xmm0, %xmm9
	mulsd	%xmm11, %xmm10
	subsd	%xmm10, %xmm9
	pxor	%xmm10, %xmm10
	comisd	%xmm9, %xmm10
	ja	.L61
	comisd	%xmm10, %xmm9
	ja	.L62
	mulsd	%xmm11, %xmm13
	movl	$1, %eax
	mulsd	%xmm12, %xmm0
	addsd	%xmm13, %xmm0
	comisd	%xmm0, %xmm10
	jnb	.L31
	movapd	%xmm4, %xmm0
	subsd	%xmm2, %xmm6
	subsd	%xmm3, %xmm7
	subsd	%xmm2, %xmm0
	mulsd	%xmm6, %xmm0
	movapd	%xmm5, %xmm6
	subsd	%xmm3, %xmm6
	mulsd	%xmm7, %xmm6
	addsd	%xmm6, %xmm0
	comisd	%xmm0, %xmm10
	jnb	.L31
	subsd	%xmm4, %xmm8
	subsd	%xmm4, %xmm2
	xorl	%eax, %eax
	subsd	%xmm5, %xmm1
	subsd	%xmm5, %xmm3
	mulsd	%xmm2, %xmm8
	mulsd	%xmm3, %xmm1
	addsd	%xmm1, %xmm8
	comisd	%xmm8, %xmm10
	setnb	%al
	ret
	.p2align 4,,10
	.p2align 3
.L62:
	subsd	%xmm8, %xmm2
	subsd	%xmm1, %xmm3
	mulsd	%xmm2, %xmm0
	mulsd	%xmm3, %xmm11
	subsd	%xmm11, %xmm0
	comisd	%xmm10, %xmm0
	jb	.L58
	mulsd	%xmm13, %xmm3
	mulsd	%xmm12, %xmm2
	subsd	%xmm2, %xmm3
	comisd	%xmm10, %xmm3
	jb	.L58
.L59:
	addsd	%xmm3, %xmm0
	xorl	%eax, %eax
	divsd	%xmm9, %xmm0
	comisd	.LC7(%rip), %xmm0
	setnb	%al
	ret
	.p2align 4,,10
	.p2align 3
.L61:
	subsd	%xmm8, %xmm2
	subsd	%xmm1, %xmm3
	mulsd	%xmm2, %xmm0
	mulsd	%xmm3, %xmm11
	subsd	%xmm11, %xmm0
	comisd	%xmm0, %xmm10
	jnb	.L63
.L58:
	xorl	%eax, %eax
.L31:
	ret
	.p2align 4,,10
	.p2align 3
.L63:
	mulsd	%xmm13, %xmm3
	mulsd	%xmm12, %xmm2
	subsd	%xmm2, %xmm3
	comisd	%xmm3, %xmm10
	jnb	.L59
	xorl	%eax, %eax
	jmp	.L31
	.cfi_endproc
.LFE24:
	.size	is_crossing_line, .-is_crossing_line
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC8:
	.string	"%d\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC9:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf\n"
	.section	.rodata.str1.1
.LC10:
	.string	"1"
.LC11:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB25:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC8(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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	$120, %rsp
	.cfi_def_cfa_offset 176
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	testl	%eax, %eax
	jle	.L65
	leaq	48(%rsp), %rax
	leaq	80(%rsp), %r14
	xorl	%ebx, %ebx
	movq	%rax, (%rsp)
	leaq	96(%rsp), %rax
	leaq	56(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	72(%rsp), %r13
	movq	%rax, 8(%rsp)
	leaq	88(%rsp), %rax
	leaq	40(%rsp), %r12
	movq	%rax, 16(%rsp)
	movq	%r14, %rax
	leaq	.LC9(%rip), %rbp
	movq	%r15, %r14
	movq	%r13, %r15
	movq	%rax, %r13
	jmp	.L78
	.p2align 4,,10
	.p2align 3
.L88:
	mulsd	%xmm13, %xmm1
	mulsd	%xmm12, %xmm0
	addsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm6
	jnb	.L71
	movapd	%xmm9, %xmm0
	movapd	%xmm5, %xmm1
	subsd	%xmm10, %xmm4
	subsd	%xmm10, %xmm0
	subsd	%xmm2, %xmm3
	subsd	%xmm2, %xmm1
	mulsd	%xmm4, %xmm0
	mulsd	%xmm3, %xmm1
	addsd	%xmm1, %xmm0
	comisd	%xmm0, %xmm6
	jnb	.L71
	movapd	%xmm11, %xmm0
	movapd	%xmm10, %xmm3
	movapd	%xmm8, %xmm1
	subsd	%xmm9, %xmm0
	subsd	%xmm9, %xmm3
	subsd	%xmm5, %xmm1
	subsd	%xmm5, %xmm2
	mulsd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm1
	addsd	%xmm1, %xmm0
	comisd	%xmm0, %xmm6
	jnb	.L71
	.p2align 4,,10
	.p2align 3
.L68:
	leaq	.LC11(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 36(%rsp)
	jle	.L65
.L78:
	subq	$8, %rsp
	.cfi_def_cfa_offset 184
	xorl	%eax, %eax
	movq	%r14, %r9
	movq	%r13, %r8
	pushq	32(%rsp)
	.cfi_def_cfa_offset 192
	movq	%r15, %rdx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	pushq	24(%rsp)
	.cfi_def_cfa_offset 200
	pushq	40(%rsp)
	.cfi_def_cfa_offset 208
	movq	32(%rsp), %rcx
	call	__isoc99_scanf@PLT
	movsd	120(%rsp), %xmm5
	movsd	88(%rsp), %xmm9
	movsd	104(%rsp), %xmm8
	movsd	72(%rsp), %xmm11
	movsd	96(%rsp), %xmm4
	movapd	%xmm9, %xmm1
	movsd	128(%rsp), %xmm3
	movapd	%xmm5, %xmm12
	subsd	%xmm11, %xmm1
	subsd	%xmm8, %xmm12
	movsd	112(%rsp), %xmm2
	movsd	80(%rsp), %xmm10
	movapd	%xmm3, %xmm0
	movapd	%xmm4, %xmm13
	addq	$32, %rsp
	.cfi_def_cfa_offset 176
	subsd	%xmm8, %xmm0
	subsd	%xmm11, %xmm13
	movapd	%xmm1, %xmm7
	movapd	%xmm12, %xmm6
	mulsd	%xmm13, %xmm6
	mulsd	%xmm0, %xmm7
	subsd	%xmm6, %xmm7
	pxor	%xmm6, %xmm6
	comisd	%xmm7, %xmm6
	ja	.L91
	comisd	%xmm6, %xmm7
	jbe	.L88
	movapd	%xmm10, %xmm3
	subsd	%xmm8, %xmm2
	subsd	%xmm11, %xmm3
	mulsd	%xmm2, %xmm13
	mulsd	%xmm3, %xmm0
	subsd	%xmm13, %xmm0
	comisd	%xmm6, %xmm0
	jb	.L68
	mulsd	%xmm1, %xmm2
	mulsd	%xmm12, %xmm3
	subsd	%xmm3, %xmm2
	comisd	%xmm6, %xmm2
	jb	.L68
.L90:
	addsd	%xmm2, %xmm0
	divsd	%xmm7, %xmm0
	comisd	.LC7(%rip), %xmm0
	jb	.L68
.L71:
	leaq	.LC10(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 36(%rsp)
	jg	.L78
.L65:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L92
	addq	$120, %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
.L91:
	.cfi_restore_state
	movapd	%xmm10, %xmm3
	subsd	%xmm8, %xmm2
	subsd	%xmm11, %xmm3
	mulsd	%xmm2, %xmm13
	mulsd	%xmm3, %xmm0
	subsd	%xmm13, %xmm0
	comisd	%xmm0, %xmm6
	jb	.L68
	mulsd	%xmm1, %xmm2
	mulsd	%xmm12, %xmm3
	subsd	%xmm3, %xmm2
	comisd	%xmm2, %xmm6
	jb	.L68
	jmp	.L90
.L92:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE25:
	.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
.LC7:
	.long	0
	.long	1072693248
	.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
	.p2align 4
	.globl	is_crossing_line
	.type	is_crossing_line, @function
is_crossing_line:
.LFB24:
	.cfi_startproc
	endbr64
	movapd	%xmm4, %xmm13
	movapd	%xmm5, %xmm12
	movapd	%xmm0, %xmm8
	subsd	%xmm0, %xmm13
	subsd	%xmm1, %xmm12
	movapd	%xmm7, %xmm0
	movapd	%xmm6, %xmm11
	subsd	%xmm1, %xmm0
	subsd	%xmm8, %xmm11
	movapd	%xmm13, %xmm9
	movapd	%xmm12, %xmm10
	mulsd	%xmm0, %xmm9
	mulsd	%xmm11, %xmm10
	subsd	%xmm10, %xmm9
	pxor	%xmm10, %xmm10
	comisd	%xmm9, %xmm10
	ja	.L61
	comisd	%xmm10, %xmm9
	ja	.L62
	mulsd	%xmm11, %xmm13
	movl	$1, %eax
	mulsd	%xmm12, %xmm0
	addsd	%xmm13, %xmm0
	comisd	%xmm0, %xmm10
	jnb	.L31
	movapd	%xmm4, %xmm0
	subsd	%xmm2, %xmm6
	subsd	%xmm3, %xmm7
	subsd	%xmm2, %xmm0
	mulsd	%xmm6, %xmm0
	movapd	%xmm5, %xmm6
	subsd	%xmm3, %xmm6
	mulsd	%xmm7, %xmm6
	addsd	%xmm6, %xmm0
	comisd	%xmm0, %xmm10
	jnb	.L31
	subsd	%xmm4, %xmm8
	subsd	%xmm4, %xmm2
	xorl	%eax, %eax
	subsd	%xmm5, %xmm1
	subsd	%xmm5, %xmm3
	mulsd	%xmm2, %xmm8
	mulsd	%xmm3, %xmm1
	addsd	%xmm1, %xmm8
	comisd	%xmm8, %xmm10
	setnb	%al
	ret
	.p2align 4,,10
	.p2align 3
.L62:
	subsd	%xmm8, %xmm2
	subsd	%xmm1, %xmm3
	mulsd	%xmm2, %xmm0
	mulsd	%xmm3, %xmm11
	subsd	%xmm11, %xmm0
	comisd	%xmm10, %xmm0
	jb	.L58
	mulsd	%xmm13, %xmm3
	mulsd	%xmm12, %xmm2
	subsd	%xmm2, %xmm3
	comisd	%xmm10, %xmm3
	jb	.L58
.L59:
	addsd	%xmm3, %xmm0
	xorl	%eax, %eax
	divsd	%xmm9, %xmm0
	comisd	.LC7(%rip), %xmm0
	setnb	%al
	ret
	.p2align 4,,10
	.p2align 3
.L61:
	subsd	%xmm8, %xmm2
	subsd	%xmm1, %xmm3
	mulsd	%xmm2, %xmm0
	mulsd	%xmm3, %xmm11
	subsd	%xmm11, %xmm0
	comisd	%xmm0, %xmm10
	jnb	.L63
.L58:
	xorl	%eax, %eax
.L31:
	ret
	.p2align 4,,10
	.p2align 3
.L63:
	mulsd	%xmm13, %xmm3
	mulsd	%xmm12, %xmm2
	subsd	%xmm2, %xmm3
	comisd	%xmm3, %xmm10
	jnb	.L59
	xorl	%eax, %eax
	jmp	.L31
	.cfi_endproc
.LFE24:
	.size	is_crossing_line, .-is_crossing_line
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC8:
	.string	"%d\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC9:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf\n"
	.section	.rodata.str1.1
.LC10:
	.string	"1"
.LC11:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB25:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC8(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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	$120, %rsp
	.cfi_def_cfa_offset 176
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	testl	%eax, %eax
	jle	.L65
	leaq	48(%rsp), %rax
	leaq	80(%rsp), %r14
	xorl	%ebx, %ebx
	movq	%rax, (%rsp)
	leaq	96(%rsp), %rax
	leaq	56(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	72(%rsp), %r13
	movq	%rax, 8(%rsp)
	leaq	88(%rsp), %rax
	leaq	40(%rsp), %r12
	movq	%rax, 16(%rsp)
	movq	%r14, %rax
	leaq	.LC9(%rip), %rbp
	movq	%r15, %r14
	movq	%r13, %r15
	movq	%rax, %r13
	jmp	.L78
	.p2align 4,,10
	.p2align 3
.L88:
	mulsd	%xmm13, %xmm1
	mulsd	%xmm12, %xmm0
	addsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm6
	jnb	.L71
	movapd	%xmm9, %xmm0
	movapd	%xmm5, %xmm1
	subsd	%xmm10, %xmm4
	subsd	%xmm10, %xmm0
	subsd	%xmm2, %xmm3
	subsd	%xmm2, %xmm1
	mulsd	%xmm4, %xmm0
	mulsd	%xmm3, %xmm1
	addsd	%xmm1, %xmm0
	comisd	%xmm0, %xmm6
	jnb	.L71
	movapd	%xmm11, %xmm0
	movapd	%xmm10, %xmm3
	movapd	%xmm8, %xmm1
	subsd	%xmm9, %xmm0
	subsd	%xmm9, %xmm3
	subsd	%xmm5, %xmm1
	subsd	%xmm5, %xmm2
	mulsd	%xmm3, %xmm0
	mulsd	%xmm2, %xmm1
	addsd	%xmm1, %xmm0
	comisd	%xmm0, %xmm6
	jnb	.L71
	.p2align 4,,10
	.p2align 3
.L68:
	leaq	.LC11(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 36(%rsp)
	jle	.L65
.L78:
	subq	$8, %rsp
	.cfi_def_cfa_offset 184
	xorl	%eax, %eax
	movq	%r14, %r9
	movq	%r13, %r8
	pushq	32(%rsp)
	.cfi_def_cfa_offset 192
	movq	%r15, %rdx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	pushq	24(%rsp)
	.cfi_def_cfa_offset 200
	pushq	40(%rsp)
	.cfi_def_cfa_offset 208
	movq	32(%rsp), %rcx
	call	__isoc99_scanf@PLT
	movsd	120(%rsp), %xmm5
	movsd	88(%rsp), %xmm9
	movsd	104(%rsp), %xmm8
	movsd	72(%rsp), %xmm11
	movsd	96(%rsp), %xmm4
	movapd	%xmm9, %xmm1
	movsd	128(%rsp), %xmm3
	movapd	%xmm5, %xmm12
	subsd	%xmm11, %xmm1
	subsd	%xmm8, %xmm12
	movsd	112(%rsp), %xmm2
	movsd	80(%rsp), %xmm10
	movapd	%xmm3, %xmm0
	movapd	%xmm4, %xmm13
	addq	$32, %rsp
	.cfi_def_cfa_offset 176
	subsd	%xmm8, %xmm0
	subsd	%xmm11, %xmm13
	movapd	%xmm1, %xmm7
	movapd	%xmm12, %xmm6
	mulsd	%xmm13, %xmm6
	mulsd	%xmm0, %xmm7
	subsd	%xmm6, %xmm7
	pxor	%xmm6, %xmm6
	comisd	%xmm7, %xmm6
	ja	.L91
	comisd	%xmm6, %xmm7
	jbe	.L88
	movapd	%xmm10, %xmm3
	subsd	%xmm8, %xmm2
	subsd	%xmm11, %xmm3
	mulsd	%xmm2, %xmm13
	mulsd	%xmm3, %xmm0
	subsd	%xmm13, %xmm0
	comisd	%xmm6, %xmm0
	jb	.L68
	mulsd	%xmm1, %xmm2
	mulsd	%xmm12, %xmm3
	subsd	%xmm3, %xmm2
	comisd	%xmm6, %xmm2
	jb	.L68
.L90:
	addsd	%xmm2, %xmm0
	divsd	%xmm7, %xmm0
	comisd	.LC7(%rip), %xmm0
	jb	.L68
.L71:
	leaq	.LC10(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 36(%rsp)
	jg	.L78
.L65:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L92
	addq	$120, %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
.L91:
	.cfi_restore_state
	movapd	%xmm10, %xmm3
	subsd	%xmm8, %xmm2
	subsd	%xmm11, %xmm3
	mulsd	%xmm2, %xmm13
	mulsd	%xmm3, %xmm0
	subsd	%xmm13, %xmm0
	comisd	%xmm0, %xmm6
	jb	.L68
	mulsd	%xmm1, %xmm2
	mulsd	%xmm12, %xmm3
	subsd	%xmm3, %xmm2
	comisd	%xmm2, %xmm6
	jb	.L68
	jmp	.L90
.L92:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE25:
	.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
.LC7:
	.long	0
	.long	1072693248
	.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 is_crossing_line(double x1,double y1,double x2,double y2,double x3,double y3,double x4,double y4){
	double S,T,D;

	//	分母を先に計算。計算量を減らすため、分子は後で行う。
	D = (x3-x1) * (y4-y1) - (y3-y1) * (x4-x1);
	
	//	D の符号に応じて分岐
	if(D < 0){
		S = (y4-y1)*(x2-x1) - (x4-x1)*(y2-y1);
		T = (x3-x1)*(y2-y1) - (y3-y1)*(x2-x1);
		
		return S <= 0 && T <= 0 && (S+T)/D >= 1;
	}
	else if(D > 0){
		S = (y4-y1)*(x2-x1) - (x4-x1)*(y2-y1);
		T = (x3-x1)*(y2-y1) - (y3-y1)*(x2-x1);
		
		return S >= 0 && T >= 0 && (S+T)/D >= 1;
	}
	
	//	D = 0 の時には、点が線分の上かどうかを判定する。
	return (x3-x1)*(x4-x1)+(y3-y1)*(y4-y1) <= 0
	    || (x3-x2)*(x4-x2)+(y3-y2)*(y4-y2) <= 0
	    || (x1-x3)*(x2-x3)+(y1-y3)*(y2-y3) <= 0;
}

int main(void) {
	double x1,x2,x3,x4,y1,y2,y3,y4;
	double ta, tb, tc, td;
	int i, n;
	
	scanf("%d\n", &n);
	for(i=0;i<n;i++) {
		scanf("%lf %lf %lf %lf %lf %lf %lf %lf\n", &x1, &y1, &x2, &y2, &x3, &y3, &x4, &y4);

		if(is_crossing_line(x1, y1, x2, y2, x3, y3, x4, y4)) {
			printf("1\n");
		} else {
			printf("0\n");
		}
	}
	
	return 0;
}
3
0 0 3 0 1 1 2 -1
0 0 3 0 3 1 3 -1
0 0 6 0 3 -2 5 0
 3
0 0 3 0 1 1 2 -1
0 0 0 0 3 1 3 -1
0 0 6 0 1 -2 5 0
 3
-1 0 3 0 1 1 4 -1
1 0 0 0 3 1 3 -1
0 0 6 1 1 -2 5 0
 3
-1 0 3 0 1 1 4 0
1 0 0 0 3 1 3 -1
0 -1 6 1 1 -2 5 0
 3
-1 0 0 -1 2 1 4 -2
1 0 0 0 4 1 6 -1
0 -1 12 1 0 -2 5 0
 3
1 0 3 0 1 1 0 -1
0 0 3 0 3 1 3 -1
0 0 6 0 2 -4 5 0
 3
0 -1 3 0 1 1 2 -1
0 0 4 0 3 1 3 -1
1 -1 1 0 3 -4 5 0
 3
-1 -1 4 0 2 1 4 1
2 1 0 0 0 0 3 0
0 2 6 2 1 -2 5 0
 3
0 0 3 0 1 1 2 -1
0 0 3 0 3 1 3 -1
0 0 6 0 1 -2 5 0
 3
-1 0 3 0 1 1 2 -1
0 0 0 0 3 1 3 -1
0 0 6 0 1 -2 5 0

1
1
1
 1
0
1
 1
0
0
 0
0
0
 0
0
1
 0
1
1
 1
1
0
 0
1
0
 1
1
1
 1
0
1

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 is_crossing_line(double x1,double y1,double x2,double y2,double x3,double y3,double x4,double y4){
	double S,T,D;

	//	分母を先に計算。計算量を減らすため、分子は後で行う。
	D = (x3-x1) * (y4-y1) - (y3-y1) * (x4-x1);
	
	//	D の符号に応じて分岐
	if(D < 0){
		S = (y4-y1)*(x2-x1) - (x4-x1)*(y2-y1);
		T = (x3-x1)*(y2-y1) - (y3-y1)*(x2-x1);
		
		return S <= 0 && T <= 0 && (S+T)/D >= 1;
	}
	else if(D > 0){
		S = (y4-y1)*(x2-x1) - (x4-x1)*(y2-y1);
		T = (x3-x1)*(y2-y1) - (y3-y1)*(x2-x1);
		
		return S >= 0 && T >= 0 && (S+T)/D >= 1;
	}
	
	//	D = 0 の時には、点が線分の上かどうかを判定する。
	return (x3-x1)*(x4-x1)+(y3-y1)*(y4-y1) <= 0
	    || (x3-x2)*(x4-x2)+(y3-y2)*(y4-y2) <= 0
	    || (x1-x3)*(x2-x3)+(y1-y3)*(y2-y3) <= 0;
}

int main(void) {
	double x1,x2,x3,x4,y1,y2,y3,y4;
	double ta, tb, tc, td;
	int i, n;
	
	scanf("%d\n", &n);
	for(i=0;i<n;i++) {
		scanf("%lf %lf %lf %lf %lf %lf %lf %lf\n", &x1, &y1, &x2, &y2, &x3, &y3, &x4, &y4);

		if(is_crossing_line(x1, y1, x2, y2, x3, y3, x4, y4)) {
			printf("1\n");
		} else {
			printf("0\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
	.globl	is_crossing_line
	.type	is_crossing_line, @function
is_crossing_line:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movsd	%xmm0, -40(%rbp)
	movsd	%xmm1, -48(%rbp)
	movsd	%xmm2, -56(%rbp)
	movsd	%xmm3, -64(%rbp)
	movsd	%xmm4, -72(%rbp)
	movsd	%xmm5, -80(%rbp)
	movsd	%xmm6, -88(%rbp)
	movsd	%xmm7, -96(%rbp)
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-96(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-80(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-88(%rbp), %xmm1
	subsd	-40(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	pxor	%xmm0, %xmm0
	comisd	-24(%rbp), %xmm0
	jbe	.L67
	movsd	-96(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-48(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	subsd	-40(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-88(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-40(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	subsd	-48(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-64(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-80(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-56(%rbp), %xmm1
	subsd	-40(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	pxor	%xmm0, %xmm0
	comisd	-16(%rbp), %xmm0
	jb	.L42
	pxor	%xmm0, %xmm0
	comisd	-8(%rbp), %xmm0
	jb	.L42
	movsd	-16(%rbp), %xmm0
	addsd	-8(%rbp), %xmm0
	divsd	-24(%rbp), %xmm0
	movsd	.LC7(%rip), %xmm1
	comisd	%xmm1, %xmm0
	jb	.L42
	movl	$1, %eax
	jmp	.L47
.L42:
	movl	$0, %eax
	jmp	.L47
.L67:
	movsd	-24(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comisd	%xmm1, %xmm0
	jbe	.L68
	movsd	-96(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-48(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	subsd	-40(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-88(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-40(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	subsd	-48(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-64(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-80(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-56(%rbp), %xmm1
	subsd	-40(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	-16(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comisd	%xmm1, %xmm0
	jb	.L50
	movsd	-8(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comisd	%xmm1, %xmm0
	jb	.L50
	movsd	-16(%rbp), %xmm0
	addsd	-8(%rbp), %xmm0
	divsd	-24(%rbp), %xmm0
	movsd	.LC7(%rip), %xmm1
	comisd	%xmm1, %xmm0
	jb	.L50
	movl	$1, %eax
	jmp	.L47
.L50:
	movl	$0, %eax
	jmp	.L47
.L68:
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-88(%rbp), %xmm0
	subsd	-40(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-80(%rbp), %xmm0
	movapd	%xmm0, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-96(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L55
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-56(%rbp), %xmm1
	movsd	-88(%rbp), %xmm0
	subsd	-56(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-80(%rbp), %xmm0
	movapd	%xmm0, %xmm2
	subsd	-64(%rbp), %xmm2
	movsd	-96(%rbp), %xmm0
	subsd	-64(%rbp), %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L55
	movsd	-40(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-72(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	subsd	-72(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-48(%rbp), %xmm0
	movapd	%xmm0, %xmm2
	subsd	-80(%rbp), %xmm2
	movsd	-64(%rbp), %xmm0
	subsd	-80(%rbp), %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	comisd	%xmm1, %xmm0
	jb	.L69
.L55:
	movl	$1, %eax
	jmp	.L47
.L69:
	movl	$0, %eax
.L47:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	is_crossing_line, .-is_crossing_line
	.section	.rodata
.LC8:
	.string	"%d\n"
	.align 8
.LC9:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf\n"
.LC10:
	.string	"1"
.LC11:
	.string	"0"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC8(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -76(%rbp)
	jmp	.L71
.L74:
	leaq	-56(%rbp), %r8
	leaq	-32(%rbp), %rdi
	leaq	-64(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-72(%rbp), %rax
	subq	$8, %rsp
	leaq	-16(%rbp), %rsi
	pushq	%rsi
	leaq	-48(%rbp), %rsi
	pushq	%rsi
	leaq	-24(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC9(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$32, %rsp
	movsd	-16(%rbp), %xmm6
	movsd	-48(%rbp), %xmm5
	movsd	-24(%rbp), %xmm4
	movsd	-56(%rbp), %xmm3
	movsd	-32(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	movsd	-40(%rbp), %xmm0
	movq	-72(%rbp), %rax
	movapd	%xmm6, %xmm7
	movapd	%xmm5, %xmm6
	movapd	%xmm4, %xmm5
	movapd	%xmm3, %xmm4
	movapd	%xmm2, %xmm3
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	is_crossing_line
	testl	%eax, %eax
	je	.L72
	leaq	.LC10(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L73
.L72:
	leaq	.LC11(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L73:
	addl	$1, -76(%rbp)
.L71:
	movl	-80(%rbp), %eax
	cmpl	%eax, -76(%rbp)
	jl	.L74
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L76
	call	__stack_chk_fail@PLT
.L76:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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
.LC7:
	.long	0
	.long	1072693248
	.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	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
	.globl	is_crossing_line
	.type	is_crossing_line, @function
is_crossing_line:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movsd	%xmm0, -40(%rbp)
	movsd	%xmm1, -48(%rbp)
	movsd	%xmm2, -56(%rbp)
	movsd	%xmm3, -64(%rbp)
	movsd	%xmm4, -72(%rbp)
	movsd	%xmm5, -80(%rbp)
	movsd	%xmm6, -88(%rbp)
	movsd	%xmm7, -96(%rbp)
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-96(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-80(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-88(%rbp), %xmm1
	subsd	-40(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	pxor	%xmm0, %xmm0
	comisd	-24(%rbp), %xmm0
	jbe	.L67
	movsd	-96(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-48(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	subsd	-40(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-88(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-40(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	subsd	-48(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-64(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-80(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-56(%rbp), %xmm1
	subsd	-40(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	pxor	%xmm0, %xmm0
	comisd	-16(%rbp), %xmm0
	jb	.L42
	pxor	%xmm0, %xmm0
	comisd	-8(%rbp), %xmm0
	jb	.L42
	movsd	-16(%rbp), %xmm0
	addsd	-8(%rbp), %xmm0
	divsd	-24(%rbp), %xmm0
	movsd	.LC7(%rip), %xmm1
	comisd	%xmm1, %xmm0
	jb	.L42
	movl	$1, %eax
	jmp	.L47
.L42:
	movl	$0, %eax
	jmp	.L47
.L67:
	movsd	-24(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comisd	%xmm1, %xmm0
	jbe	.L68
	movsd	-96(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-48(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	subsd	-40(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-88(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-40(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	subsd	-48(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-64(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	-80(%rbp), %xmm1
	movapd	%xmm1, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-56(%rbp), %xmm1
	subsd	-40(%rbp), %xmm1
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	-16(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comisd	%xmm1, %xmm0
	jb	.L50
	movsd	-8(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comisd	%xmm1, %xmm0
	jb	.L50
	movsd	-16(%rbp), %xmm0
	addsd	-8(%rbp), %xmm0
	divsd	-24(%rbp), %xmm0
	movsd	.LC7(%rip), %xmm1
	comisd	%xmm1, %xmm0
	jb	.L50
	movl	$1, %eax
	jmp	.L47
.L50:
	movl	$0, %eax
	jmp	.L47
.L68:
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-40(%rbp), %xmm1
	movsd	-88(%rbp), %xmm0
	subsd	-40(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-80(%rbp), %xmm0
	movapd	%xmm0, %xmm2
	subsd	-48(%rbp), %xmm2
	movsd	-96(%rbp), %xmm0
	subsd	-48(%rbp), %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L55
	movsd	-72(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-56(%rbp), %xmm1
	movsd	-88(%rbp), %xmm0
	subsd	-56(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-80(%rbp), %xmm0
	movapd	%xmm0, %xmm2
	subsd	-64(%rbp), %xmm2
	movsd	-96(%rbp), %xmm0
	subsd	-64(%rbp), %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L55
	movsd	-40(%rbp), %xmm0
	movapd	%xmm0, %xmm1
	subsd	-72(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	subsd	-72(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-48(%rbp), %xmm0
	movapd	%xmm0, %xmm2
	subsd	-80(%rbp), %xmm2
	movsd	-64(%rbp), %xmm0
	subsd	-80(%rbp), %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	comisd	%xmm1, %xmm0
	jb	.L69
.L55:
	movl	$1, %eax
	jmp	.L47
.L69:
	movl	$0, %eax
.L47:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	is_crossing_line, .-is_crossing_line
	.section	.rodata
.LC8:
	.string	"%d\n"
	.align 8
.LC9:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf\n"
.LC10:
	.string	"1"
.LC11:
	.string	"0"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC8(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -76(%rbp)
	jmp	.L71
.L74:
	leaq	-56(%rbp), %r8
	leaq	-32(%rbp), %rdi
	leaq	-64(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-72(%rbp), %rax
	subq	$8, %rsp
	leaq	-16(%rbp), %rsi
	pushq	%rsi
	leaq	-48(%rbp), %rsi
	pushq	%rsi
	leaq	-24(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC9(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$32, %rsp
	movsd	-16(%rbp), %xmm6
	movsd	-48(%rbp), %xmm5
	movsd	-24(%rbp), %xmm4
	movsd	-56(%rbp), %xmm3
	movsd	-32(%rbp), %xmm2
	movsd	-64(%rbp), %xmm1
	movsd	-40(%rbp), %xmm0
	movq	-72(%rbp), %rax
	movapd	%xmm6, %xmm7
	movapd	%xmm5, %xmm6
	movapd	%xmm4, %xmm5
	movapd	%xmm3, %xmm4
	movapd	%xmm2, %xmm3
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	is_crossing_line
	testl	%eax, %eax
	je	.L72
	leaq	.LC10(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L73
.L72:
	leaq	.LC11(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L73:
	addl	$1, -76(%rbp)
.L71:
	movl	-80(%rbp), %eax
	cmpl	%eax, -76(%rbp)
	jl	.L74
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L76
	call	__stack_chk_fail@PLT
.L76:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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
.LC7:
	.long	0
	.long	1072693248
	.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:
