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>

#define swap( x, y ) do { double tmp; tmp = x; x = y; y = tmp; } while ( 0 )

int rel_l_l( double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double *x, double *y ) {
	double a, b, c, d;
	int rel;

	if ( x1 < x0 ) {
		swap( x0, x1 );
		swap( y0, y1 );
	}
	if ( x3 < x2 ) {
		swap( x2, x3 );
		swap( y2, y3 );
	}

	if ( x0 != x1 ) {
		a = ( y0 - y1 ) / ( x0 - x1 );
		b = ( x0 * y1 - x1 * y0 ) / ( x0 - x1 );
	}
	if ( x2 != x3 ) {
		c = ( y2 - y3 ) / ( x2 - x3 );
		d = ( x2 * y3 - x3 * y2 ) / ( x2 - x3 );
	}

	rel = 1;
	if ( x0 == x1 ) {
		*x = x0;
		if ( x2 == x3 )
			if ( x0 == x2 ) {
				if ( y1 < y0 )
					swap( y0, y1 );
				if ( y3 < y2 )
					swap( y2, y3 );

				if ( y3 < y0 || y1 < y2 )
					rel = 3;
				else if ( y3 == y0 || y1 == y2 ) {
					*y = y3 == y0 ? y0 : y1;
					rel = 4;
				} else
					rel = 5;
			} else
				rel = 2;
		else {
			*y = c * *x + d;
			if ( *x < x2 || x3 < *x || *y < ( y0 < y1 ? y0 : y1 ) || ( y0 < y1 ? y1 : y0 ) < *y )
				rel = 0;
		}
	} else {
		if ( x2 == x3 ) {
			*x = x2;
			*y = a * *x + b;
			if ( *x < x0 || x1 < *x || *y < ( y2 < y3 ? y2 : y3 ) || ( y2 < y3 ? y3 : y2 ) < *y )
				rel = 0;
		} else {
			if ( a == c ) {
				if ( b == d )
					if ( x3 < x0 || x1 < x2 )
						rel = 3;
					else if ( x3 == x0 || x1 == x2 ) {
						*x = x3 == x0 ? x0 : x1;
						rel = 4;
					} else
						rel = 5;
				else
					rel = 2;
			} else {
				*x = ( -b + d ) / ( a - c );
				if ( *x < x0 || x1 < *x || *x < x2 || x3 < *x )
					rel = 0;
			}
			*y = a * *x + b;
		}
	}

	return rel;
}


int main( void ) {
	int q;

	scanf( "%d", &q );
	while ( q-- ) {
		int rel;
		double x0, y0, x1, y1, x2, y2, x3, y3, x, y;

		scanf( "%lf %lf %lf %lf %lf %lf %lf %lf", &x0, &y0, &x1, &y1, &x2, &y2, &x3, &y3 );

		rel_l_l( x0, y0, x1, y1, x2, y2, x3, y3, &x, &y );

		printf( "%.8f %.8f\n", x, y );
	}

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	rel_l_l
	.type	rel_l_l, @function
rel_l_l:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$56, %rsp
	movsd	%xmm0, -104(%rbp)
	movsd	%xmm1, -112(%rbp)
	movsd	%xmm2, -120(%rbp)
	movsd	%xmm3, -128(%rbp)
	movsd	%xmm4, -136(%rbp)
	movsd	%xmm5, -144(%rbp)
	movsd	%xmm6, -152(%rbp)
	movsd	%xmm7, -160(%rbp)
	movq	%rdi, -168(%rbp)
	movq	%rsi, -176(%rbp)
	movsd	-104(%rbp), %xmm0
	comisd	-120(%rbp), %xmm0
	jbe	.L2
	movsd	-104(%rbp), %xmm0
	movsd	%xmm0, -48(%rbp)
	movsd	-120(%rbp), %xmm0
	movsd	%xmm0, -104(%rbp)
	movsd	-48(%rbp), %xmm0
	movsd	%xmm0, -120(%rbp)
	movsd	-112(%rbp), %xmm0
	movsd	%xmm0, -40(%rbp)
	movsd	-128(%rbp), %xmm0
	movsd	%xmm0, -112(%rbp)
	movsd	-40(%rbp), %xmm0
	movsd	%xmm0, -128(%rbp)
.L2:
	movsd	-136(%rbp), %xmm0
	comisd	-152(%rbp), %xmm0
	jbe	.L4
	movsd	-136(%rbp), %xmm0
	movsd	%xmm0, -32(%rbp)
	movsd	-152(%rbp), %xmm0
	movsd	%xmm0, -136(%rbp)
	movsd	-32(%rbp), %xmm0
	movsd	%xmm0, -152(%rbp)
	movsd	-144(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	movsd	-160(%rbp), %xmm0
	movsd	%xmm0, -144(%rbp)
	movsd	-24(%rbp), %xmm0
	movsd	%xmm0, -160(%rbp)
.L4:
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	jp	.L71
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	je	.L6
.L71:
	movsd	-112(%rbp), %xmm0
	subsd	-128(%rbp), %xmm0
	movsd	-104(%rbp), %xmm1
	subsd	-120(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -80(%rbp)
	movsd	-104(%rbp), %xmm0
	mulsd	-128(%rbp), %xmm0
	movsd	-120(%rbp), %xmm1
	mulsd	-112(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	-104(%rbp), %xmm1
	subsd	-120(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -72(%rbp)
.L6:
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jp	.L72
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	je	.L8
.L72:
	movsd	-144(%rbp), %xmm0
	subsd	-160(%rbp), %xmm0
	movsd	-136(%rbp), %xmm1
	subsd	-152(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -64(%rbp)
	movsd	-136(%rbp), %xmm0
	mulsd	-160(%rbp), %xmm0
	movsd	-152(%rbp), %xmm1
	mulsd	-144(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	-136(%rbp), %xmm1
	subsd	-152(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -56(%rbp)
.L8:
	movl	$1, -84(%rbp)
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	jp	.L10
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	jne	.L10
	movq	-168(%rbp), %rax
	movsd	-104(%rbp), %xmm0
	movsd	%xmm0, (%rax)
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jp	.L12
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jne	.L12
	movsd	-104(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jp	.L14
	movsd	-104(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jne	.L14
	movsd	-112(%rbp), %xmm0
	comisd	-128(%rbp), %xmm0
	jbe	.L16
	movsd	-112(%rbp), %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-128(%rbp), %xmm0
	movsd	%xmm0, -112(%rbp)
	movsd	-16(%rbp), %xmm0
	movsd	%xmm0, -128(%rbp)
.L16:
	movsd	-144(%rbp), %xmm0
	comisd	-160(%rbp), %xmm0
	jbe	.L18
	movsd	-144(%rbp), %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	-160(%rbp), %xmm0
	movsd	%xmm0, -144(%rbp)
	movsd	-8(%rbp), %xmm0
	movsd	%xmm0, -160(%rbp)
.L18:
	movsd	-112(%rbp), %xmm0
	comisd	-160(%rbp), %xmm0
	ja	.L20
	movsd	-144(%rbp), %xmm0
	comisd	-128(%rbp), %xmm0
	jbe	.L89
.L20:
	movl	$3, -84(%rbp)
	jmp	.L31
.L89:
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L78
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	je	.L24
.L78:
	movsd	-128(%rbp), %xmm0
	ucomisd	-144(%rbp), %xmm0
	jp	.L26
	movsd	-128(%rbp), %xmm0
	ucomisd	-144(%rbp), %xmm0
	jne	.L26
.L24:
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L28
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	jne	.L28
	movsd	-112(%rbp), %xmm0
	jmp	.L30
.L28:
	movsd	-128(%rbp), %xmm0
.L30:
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
	movl	$4, -84(%rbp)
	jmp	.L31
.L26:
	movl	$5, -84(%rbp)
	jmp	.L31
.L14:
	movl	$2, -84(%rbp)
	jmp	.L31
.L12:
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	mulsd	-64(%rbp), %xmm0
	addsd	-56(%rbp), %xmm0
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-136(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L32
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-152(%rbp), %xmm0
	ja	.L32
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-128(%rbp), %xmm0
	comisd	-112(%rbp), %xmm0
	jbe	.L90
	movsd	-112(%rbp), %xmm0
	jmp	.L35
.L90:
	movsd	-128(%rbp), %xmm0
.L35:
	comisd	%xmm1, %xmm0
	ja	.L32
	movsd	-128(%rbp), %xmm0
	comisd	-112(%rbp), %xmm0
	jbe	.L91
	movsd	-128(%rbp), %xmm0
	jmp	.L38
.L91:
	movsd	-112(%rbp), %xmm0
.L38:
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	comisd	%xmm0, %xmm1
	jbe	.L31
.L32:
	movl	$0, -84(%rbp)
	jmp	.L31
.L10:
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jp	.L40
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jne	.L40
	movq	-168(%rbp), %rax
	movsd	-136(%rbp), %xmm0
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	mulsd	-80(%rbp), %xmm0
	addsd	-72(%rbp), %xmm0
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-104(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L42
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-120(%rbp), %xmm0
	ja	.L42
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-160(%rbp), %xmm0
	comisd	-144(%rbp), %xmm0
	jbe	.L92
	movsd	-144(%rbp), %xmm0
	jmp	.L45
.L92:
	movsd	-160(%rbp), %xmm0
.L45:
	comisd	%xmm1, %xmm0
	ja	.L42
	movsd	-160(%rbp), %xmm0
	comisd	-144(%rbp), %xmm0
	jbe	.L93
	movsd	-160(%rbp), %xmm0
	jmp	.L48
.L93:
	movsd	-144(%rbp), %xmm0
.L48:
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	comisd	%xmm0, %xmm1
	jbe	.L31
.L42:
	movl	$0, -84(%rbp)
	jmp	.L31
.L40:
	movsd	-80(%rbp), %xmm0
	ucomisd	-64(%rbp), %xmm0
	jp	.L50
	movsd	-80(%rbp), %xmm0
	ucomisd	-64(%rbp), %xmm0
	jne	.L50
	movsd	-72(%rbp), %xmm0
	ucomisd	-56(%rbp), %xmm0
	jp	.L52
	movsd	-72(%rbp), %xmm0
	ucomisd	-56(%rbp), %xmm0
	jne	.L52
	movsd	-104(%rbp), %xmm0
	comisd	-152(%rbp), %xmm0
	ja	.L54
	movsd	-136(%rbp), %xmm0
	comisd	-120(%rbp), %xmm0
	jbe	.L94
.L54:
	movl	$3, -84(%rbp)
	jmp	.L65
.L94:
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	jp	.L87
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	je	.L58
.L87:
	movsd	-120(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jp	.L60
	movsd	-120(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jne	.L60
.L58:
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	jp	.L62
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	jne	.L62
	movsd	-104(%rbp), %xmm0
	jmp	.L64
.L62:
	movsd	-120(%rbp), %xmm0
.L64:
	movq	-168(%rbp), %rax
	movsd	%xmm0, (%rax)
	movl	$4, -84(%rbp)
	jmp	.L65
.L60:
	movl	$5, -84(%rbp)
	jmp	.L65
.L52:
	movl	$2, -84(%rbp)
	jmp	.L65
.L50:
	movsd	-56(%rbp), %xmm0
	subsd	-72(%rbp), %xmm0
	movsd	-80(%rbp), %xmm1
	subsd	-64(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	-168(%rbp), %rax
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-104(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L66
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-120(%rbp), %xmm0
	ja	.L66
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-136(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L66
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-152(%rbp), %xmm0
	jbe	.L65
.L66:
	movl	$0, -84(%rbp)
.L65:
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	mulsd	-80(%rbp), %xmm0
	addsd	-72(%rbp), %xmm0
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
.L31:
	movl	-84(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	rel_l_l, .-rel_l_l
	.section	.rodata
.LC0:
	.string	"%d"
	.align 8
.LC1:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf"
.LC2:
	.string	"%.8f %.8f\n"
	.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	-92(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L96
.L97:
	leaq	-56(%rbp), %r8
	leaq	-64(%rbp), %rdi
	leaq	-72(%rbp), %rcx
	leaq	-80(%rbp), %rdx
	leaq	-88(%rbp), %rax
	subq	$8, %rsp
	leaq	-32(%rbp), %rsi
	pushq	%rsi
	leaq	-40(%rbp), %rsi
	pushq	%rsi
	leaq	-48(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$32, %rsp
	movsd	-32(%rbp), %xmm6
	movsd	-40(%rbp), %xmm5
	movsd	-48(%rbp), %xmm4
	movsd	-56(%rbp), %xmm3
	movsd	-64(%rbp), %xmm2
	movsd	-72(%rbp), %xmm1
	movsd	-80(%rbp), %xmm0
	movq	-88(%rbp), %rax
	leaq	-16(%rbp), %rcx
	leaq	-24(%rbp), %rdx
	movq	%rcx, %rsi
	movq	%rdx, %rdi
	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	rel_l_l
	movsd	-16(%rbp), %xmm0
	movq	-24(%rbp), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
.L96:
	movl	-92(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -92(%rbp)
	testl	%eax, %eax
	jne	.L97
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L99
	call	__stack_chk_fail@PLT
.L99:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.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	rel_l_l
	.type	rel_l_l, @function
rel_l_l:
.LFB23:
	.cfi_startproc
	endbr64
	comisd	%xmm2, %xmm0
	movq	%rdi, %rax
	ja	.L2
	comisd	%xmm6, %xmm4
	ja	.L46
	ucomisd	%xmm0, %xmm2
	jp	.L57
	je	.L4
.L57:
	movq	%xmm3, %rdx
	movapd	%xmm1, %xmm3
	movq	%rdx, %xmm1
	movq	%xmm2, %rdx
	movapd	%xmm0, %xmm2
	movq	%rdx, %xmm0
	.p2align 4,,10
	.p2align 3
.L41:
	movapd	%xmm1, %xmm8
	movapd	%xmm0, %xmm11
	movapd	%xmm2, %xmm10
	mulsd	%xmm2, %xmm8
	movapd	%xmm3, %xmm9
	subsd	%xmm0, %xmm10
	mulsd	%xmm3, %xmm11
	subsd	%xmm1, %xmm9
	movq	%xmm1, %rdx
	movapd	%xmm3, %xmm1
	movq	%rdx, %xmm3
	movq	%xmm0, %rdx
	movapd	%xmm2, %xmm0
	movq	%rdx, %xmm2
	divsd	%xmm10, %xmm9
	subsd	%xmm11, %xmm8
	divsd	%xmm10, %xmm8
.L4:
	ucomisd	%xmm6, %xmm4
	jp	.L6
	jne	.L6
	ucomisd	%xmm0, %xmm2
	jp	.L40
	jne	.L40
	ucomisd	%xmm4, %xmm0
	movsd	%xmm0, (%rax)
	jp	.L47
	jne	.L47
	comisd	%xmm3, %xmm1
	jbe	.L11
	movq	%xmm1, %rax
	movapd	%xmm3, %xmm1
	movq	%rax, %xmm3
.L11:
	comisd	%xmm7, %xmm5
	jbe	.L13
	movq	%xmm5, %rax
	movapd	%xmm7, %xmm5
	movq	%rax, %xmm7
.L13:
	comisd	%xmm7, %xmm1
	movl	$3, %eax
	ja	.L1
	comisd	%xmm3, %xmm5
	ja	.L1
	ucomisd	%xmm7, %xmm1
	movl	$0, %edx
	setnp	%al
	cmovne	%edx, %eax
	testb	%al, %al
	jne	.L61
	ucomisd	%xmm5, %xmm3
	setnp	%dl
	cmovne	%eax, %edx
	movl	$5, %eax
	testb	%dl, %dl
	jne	.L61
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	comisd	%xmm6, %xmm4
	jbe	.L41
	ucomisd	%xmm2, %xmm0
	jp	.L55
.L72:
	jne	.L55
	movapd	%xmm7, %xmm10
	movapd	%xmm6, %xmm0
	subsd	%xmm5, %xmm10
	mulsd	%xmm4, %xmm7
	subsd	%xmm4, %xmm0
	mulsd	%xmm6, %xmm5
	divsd	%xmm0, %xmm10
	subsd	%xmm7, %xmm5
	divsd	%xmm0, %xmm5
.L43:
	mulsd	%xmm2, %xmm10
	movsd	%xmm2, (%rax)
	addsd	%xmm5, %xmm10
	movsd	%xmm10, (%rsi)
	movsd	(%rax), %xmm0
	comisd	%xmm0, %xmm6
	ja	.L21
	comisd	%xmm4, %xmm0
	ja	.L21
	comisd	%xmm3, %xmm1
	ja	.L20
	comisd	%xmm10, %xmm1
	ja	.L21
	movapd	%xmm3, %xmm1
.L35:
	comisd	%xmm1, %xmm10
	jbe	.L23
.L21:
	xorl	%eax, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L46:
	movq	%xmm3, %rdx
	movapd	%xmm1, %xmm3
	movq	%rdx, %xmm1
	movq	%xmm2, %rdx
	movapd	%xmm0, %xmm2
	movq	%rdx, %xmm0
	ucomisd	%xmm2, %xmm0
	jnp	.L72
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L6:
	movapd	%xmm5, %xmm10
	ucomisd	%xmm0, %xmm2
	movapd	%xmm4, %xmm11
	mulsd	%xmm6, %xmm5
	subsd	%xmm7, %xmm10
	subsd	%xmm6, %xmm11
	mulsd	%xmm4, %xmm7
	divsd	%xmm11, %xmm10
	subsd	%xmm5, %xmm7
	movapd	%xmm7, %xmm5
	divsd	%xmm11, %xmm5
	jp	.L45
	je	.L73
.L45:
	ucomisd	%xmm10, %xmm9
	jp	.L24
	jne	.L24
	ucomisd	%xmm5, %xmm8
	jp	.L64
	je	.L26
.L64:
	movsd	(%rax), %xmm5
	movl	$2, %eax
.L28:
	mulsd	%xmm9, %xmm5
	addsd	%xmm8, %xmm5
	movsd	%xmm5, (%rsi)
	ret
	.p2align 4,,10
	.p2align 3
.L40:
	movsd	%xmm4, (%rax)
	mulsd	%xmm9, %xmm4
	addsd	%xmm8, %xmm4
	movsd	%xmm4, (%rsi)
	movsd	(%rax), %xmm1
	comisd	%xmm1, %xmm0
	ja	.L21
	comisd	%xmm2, %xmm1
	ja	.L21
	comisd	%xmm5, %xmm7
	ja	.L22
	comisd	%xmm4, %xmm7
	ja	.L21
	movapd	%xmm5, %xmm7
.L36:
	comisd	%xmm7, %xmm4
	ja	.L21
.L23:
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L55:
	movq	%xmm5, %rdx
	movapd	%xmm7, %xmm5
	movq	%rdx, %xmm7
	movq	%xmm4, %rdx
	movapd	%xmm6, %xmm4
	movq	%rdx, %xmm6
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L24:
	movapd	%xmm9, %xmm1
	subsd	%xmm8, %xmm5
	subsd	%xmm10, %xmm1
	divsd	%xmm1, %xmm5
	movsd	%xmm5, (%rax)
	xorl	%eax, %eax
	comisd	%xmm5, %xmm0
	ja	.L28
	comisd	%xmm2, %xmm5
	ja	.L28
	comisd	%xmm5, %xmm4
	ja	.L28
	xorl	%eax, %eax
	comisd	%xmm6, %xmm5
	setbe	%al
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L47:
	movl	$2, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	comisd	%xmm6, %xmm0
	ja	.L31
	comisd	%xmm2, %xmm4
	ja	.L31
	ucomisd	%xmm6, %xmm0
	movl	$0, %ecx
	setnp	%dl
	cmovne	%ecx, %edx
	testb	%dl, %dl
	jne	.L32
	ucomisd	%xmm4, %xmm2
	setnp	%cl
	cmove	%ecx, %edx
	testb	%dl, %dl
	jne	.L32
	movsd	(%rax), %xmm5
	movl	$5, %eax
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L31:
	movsd	(%rax), %xmm5
	movl	$3, %eax
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L22:
	comisd	%xmm4, %xmm5
	ja	.L21
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L20:
	comisd	%xmm10, %xmm3
	ja	.L21
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L61:
	ucomisd	%xmm7, %xmm1
	jp	.L62
	je	.L16
.L62:
	movapd	%xmm3, %xmm1
.L16:
	movsd	%xmm1, (%rsi)
	movl	$4, %eax
	ret
.L32:
	ucomisd	%xmm6, %xmm0
	jp	.L65
	movapd	%xmm0, %xmm5
	je	.L33
.L65:
	movapd	%xmm2, %xmm5
.L33:
	movsd	%xmm5, (%rax)
	movl	$4, %eax
	jmp	.L28
.L73:
	movq	%xmm6, %rdx
	movapd	%xmm4, %xmm6
	movapd	%xmm0, %xmm2
	movq	%rdx, %xmm4
	movq	%xmm3, %rdx
	movapd	%xmm1, %xmm3
	movq	%rdx, %xmm1
	jmp	.L43
	.cfi_endproc
.LFE23:
	.size	rel_l_l, .-rel_l_l
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf"
	.section	.rodata.str1.1
.LC2:
	.string	"%.8f %.8f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%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	$136, %rsp
	.cfi_def_cfa_offset 192
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	52(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	52(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 52(%rsp)
	testl	%eax, %eax
	je	.L97
	leaq	112(%rsp), %rax
	leaq	88(%rsp), %r15
	movq	%rax, 40(%rsp)
	leaq	104(%rsp), %rax
	leaq	80(%rsp), %r14
	movq	%rax, 32(%rsp)
	leaq	96(%rsp), %rax
	leaq	72(%rsp), %r13
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %r12
	leaq	56(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L75:
	subq	$8, %rsp
	.cfi_def_cfa_offset 200
	xorl	%eax, %eax
	movq	%r15, %r9
	movq	%r14, %r8
	pushq	48(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 216
	movq	%rbx, %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 224
	call	__isoc99_scanf@PLT
	movsd	104(%rsp), %xmm2
	movsd	88(%rsp), %xmm0
	movsd	144(%rsp), %xmm6
	movsd	120(%rsp), %xmm3
	movsd	136(%rsp), %xmm4
	movsd	112(%rsp), %xmm5
	movsd	128(%rsp), %xmm7
	movsd	96(%rsp), %xmm1
	addq	$32, %rsp
	.cfi_def_cfa_offset 192
	comisd	%xmm2, %xmm0
	ja	.L76
	comisd	%xmm4, %xmm3
	ja	.L107
	ucomisd	%xmm0, %xmm2
	jp	.L110
	jne	.L110
.L78:
	ucomisd	%xmm4, %xmm3
	jp	.L80
	jne	.L80
	ucomisd	%xmm0, %xmm2
	jp	.L100
	jne	.L100
	ucomisd	%xmm0, %xmm3
	jp	.L83
	jne	.L83
	comisd	%xmm5, %xmm1
	jbe	.L85
	movq	%xmm1, %rax
	movapd	%xmm5, %xmm1
	movq	%rax, %xmm5
.L85:
	comisd	%xmm6, %xmm7
	jbe	.L87
	movq	%xmm7, %rax
	movapd	%xmm6, %xmm7
	movq	%rax, %xmm6
.L87:
	comisd	%xmm6, %xmm1
	ja	.L83
	comisd	%xmm5, %xmm7
	ja	.L83
	ucomisd	%xmm6, %xmm1
	movl	$0, %edx
	setnp	%al
	cmovne	%edx, %eax
	testb	%al, %al
	jne	.L114
	ucomisd	%xmm7, %xmm5
	setnp	%dl
	cmove	%edx, %eax
	testb	%al, %al
	jne	.L114
	.p2align 4,,10
	.p2align 3
.L83:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movl	$2, %eax
	call	__printf_chk@PLT
	movl	52(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 52(%rsp)
	testl	%eax, %eax
	jne	.L75
.L97:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L131
	addq	$136, %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
.L76:
	.cfi_restore_state
	comisd	%xmm4, %xmm3
	movq	%xmm0, %rax
	movapd	%xmm2, %xmm0
	movq	%rax, %xmm2
	jbe	.L101
.L77:
	ucomisd	%xmm0, %xmm2
	jp	.L108
	jne	.L108
	movapd	%xmm4, %xmm2
	movapd	%xmm6, %xmm1
	mulsd	%xmm7, %xmm4
	subsd	%xmm3, %xmm2
	subsd	%xmm7, %xmm1
	mulsd	%xmm3, %xmm6
	divsd	%xmm2, %xmm1
	subsd	%xmm6, %xmm4
	divsd	%xmm2, %xmm4
	movapd	%xmm4, %xmm5
.L103:
	mulsd	%xmm0, %xmm1
	addsd	%xmm5, %xmm1
	jmp	.L83
	.p2align 4,,10
	.p2align 3
.L108:
	movq	%xmm7, %rax
	movapd	%xmm6, %xmm7
	movq	%rax, %xmm6
	movq	%xmm3, %rax
	movapd	%xmm4, %xmm3
	movq	%rax, %xmm4
.L101:
	movapd	%xmm5, %xmm9
	movapd	%xmm0, %xmm8
	movapd	%xmm5, %xmm10
	subsd	%xmm1, %xmm9
	subsd	%xmm2, %xmm8
	mulsd	%xmm2, %xmm10
	movq	%xmm1, %rax
	divsd	%xmm8, %xmm9
	movsd	%xmm9, 8(%rsp)
	movapd	%xmm1, %xmm9
	movapd	%xmm5, %xmm1
	movq	%rax, %xmm5
	mulsd	%xmm0, %xmm9
	subsd	%xmm10, %xmm9
	divsd	%xmm8, %xmm9
	movsd	%xmm9, 16(%rsp)
	jmp	.L78
	.p2align 4,,10
	.p2align 3
.L80:
	movapd	%xmm7, %xmm1
	ucomisd	%xmm0, %xmm2
	movapd	%xmm3, %xmm8
	subsd	%xmm6, %xmm1
	mulsd	%xmm3, %xmm6
	subsd	%xmm4, %xmm8
	mulsd	%xmm4, %xmm7
	divsd	%xmm8, %xmm1
	movapd	%xmm6, %xmm5
	subsd	%xmm7, %xmm5
	divsd	%xmm8, %xmm5
	jp	.L105
	je	.L103
.L105:
	movsd	8(%rsp), %xmm7
	ucomisd	%xmm1, %xmm7
	jp	.L91
	jne	.L91
	movsd	16(%rsp), %xmm7
	ucomisd	%xmm5, %xmm7
	jp	.L93
	jne	.L93
	comisd	%xmm4, %xmm0
	jbe	.L132
.L93:
	movsd	8(%rsp), %xmm1
	mulsd	%xmm0, %xmm1
	addsd	16(%rsp), %xmm1
	jmp	.L83
	.p2align 4,,10
	.p2align 3
.L107:
	movq	%xmm5, %rax
	movapd	%xmm1, %xmm5
	movq	%rax, %xmm1
	jmp	.L77
	.p2align 4,,10
	.p2align 3
.L100:
	movsd	8(%rsp), %xmm1
	movapd	%xmm3, %xmm0
	mulsd	%xmm3, %xmm1
	addsd	16(%rsp), %xmm1
	jmp	.L83
	.p2align 4,,10
	.p2align 3
.L91:
	movsd	8(%rsp), %xmm2
	subsd	16(%rsp), %xmm5
	subsd	%xmm1, %xmm2
	movsd	8(%rsp), %xmm1
	movapd	%xmm5, %xmm0
	divsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	addsd	16(%rsp), %xmm1
	jmp	.L83
.L132:
	comisd	%xmm2, %xmm3
	ja	.L93
	ucomisd	%xmm0, %xmm4
	movl	$0, %edx
	setnp	%al
	cmovne	%edx, %eax
	testb	%al, %al
	jne	.L118
	ucomisd	%xmm3, %xmm2
	setnp	%dl
	cmove	%edx, %eax
	testb	%al, %al
	je	.L93
.L118:
	ucomisd	%xmm0, %xmm4
	jp	.L119
	je	.L93
.L119:
	movapd	%xmm2, %xmm0
	jmp	.L93
.L114:
	ucomisd	%xmm6, %xmm1
	jp	.L115
	je	.L83
.L115:
	movapd	%xmm5, %xmm1
	jmp	.L83
.L131:
	call	__stack_chk_fail@PLT
.L110:
	movq	%xmm5, %rax
	movapd	%xmm1, %xmm5
	movq	%rax, %xmm1
	jmp	.L101
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.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	rel_l_l
	.type	rel_l_l, @function
rel_l_l:
.LFB23:
	.cfi_startproc
	endbr64
	comisd	%xmm2, %xmm0
	movq	%rdi, %rax
	ja	.L2
	comisd	%xmm6, %xmm4
	ja	.L46
	ucomisd	%xmm0, %xmm2
	jp	.L57
	je	.L4
.L57:
	movq	%xmm3, %rdx
	movapd	%xmm1, %xmm3
	movq	%rdx, %xmm1
	movq	%xmm2, %rdx
	movapd	%xmm0, %xmm2
	movq	%rdx, %xmm0
	.p2align 4,,10
	.p2align 3
.L41:
	movapd	%xmm1, %xmm8
	movapd	%xmm0, %xmm11
	movapd	%xmm2, %xmm10
	mulsd	%xmm2, %xmm8
	movapd	%xmm3, %xmm9
	subsd	%xmm0, %xmm10
	mulsd	%xmm3, %xmm11
	subsd	%xmm1, %xmm9
	movq	%xmm1, %rdx
	movapd	%xmm3, %xmm1
	movq	%rdx, %xmm3
	movq	%xmm0, %rdx
	movapd	%xmm2, %xmm0
	movq	%rdx, %xmm2
	divsd	%xmm10, %xmm9
	subsd	%xmm11, %xmm8
	divsd	%xmm10, %xmm8
.L4:
	ucomisd	%xmm6, %xmm4
	jp	.L6
	jne	.L6
	ucomisd	%xmm0, %xmm2
	jp	.L40
	jne	.L40
	ucomisd	%xmm4, %xmm0
	movsd	%xmm0, (%rax)
	jp	.L47
	jne	.L47
	comisd	%xmm3, %xmm1
	jbe	.L11
	movq	%xmm1, %rax
	movapd	%xmm3, %xmm1
	movq	%rax, %xmm3
.L11:
	comisd	%xmm7, %xmm5
	jbe	.L13
	movq	%xmm5, %rax
	movapd	%xmm7, %xmm5
	movq	%rax, %xmm7
.L13:
	comisd	%xmm7, %xmm1
	movl	$3, %eax
	ja	.L1
	comisd	%xmm3, %xmm5
	ja	.L1
	ucomisd	%xmm7, %xmm1
	movl	$0, %edx
	setnp	%al
	cmovne	%edx, %eax
	testb	%al, %al
	jne	.L61
	ucomisd	%xmm5, %xmm3
	setnp	%dl
	cmovne	%eax, %edx
	movl	$5, %eax
	testb	%dl, %dl
	jne	.L61
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	comisd	%xmm6, %xmm4
	jbe	.L41
	ucomisd	%xmm2, %xmm0
	jp	.L55
.L72:
	jne	.L55
	movapd	%xmm7, %xmm10
	movapd	%xmm6, %xmm0
	subsd	%xmm5, %xmm10
	mulsd	%xmm4, %xmm7
	subsd	%xmm4, %xmm0
	mulsd	%xmm6, %xmm5
	divsd	%xmm0, %xmm10
	subsd	%xmm7, %xmm5
	divsd	%xmm0, %xmm5
.L43:
	mulsd	%xmm2, %xmm10
	movsd	%xmm2, (%rax)
	addsd	%xmm5, %xmm10
	movsd	%xmm10, (%rsi)
	movsd	(%rax), %xmm0
	comisd	%xmm0, %xmm6
	ja	.L21
	comisd	%xmm4, %xmm0
	ja	.L21
	comisd	%xmm3, %xmm1
	ja	.L20
	comisd	%xmm10, %xmm1
	ja	.L21
	movapd	%xmm3, %xmm1
.L35:
	comisd	%xmm1, %xmm10
	jbe	.L23
.L21:
	xorl	%eax, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L46:
	movq	%xmm3, %rdx
	movapd	%xmm1, %xmm3
	movq	%rdx, %xmm1
	movq	%xmm2, %rdx
	movapd	%xmm0, %xmm2
	movq	%rdx, %xmm0
	ucomisd	%xmm2, %xmm0
	jnp	.L72
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L6:
	movapd	%xmm5, %xmm10
	ucomisd	%xmm0, %xmm2
	movapd	%xmm4, %xmm11
	mulsd	%xmm6, %xmm5
	subsd	%xmm7, %xmm10
	subsd	%xmm6, %xmm11
	mulsd	%xmm4, %xmm7
	divsd	%xmm11, %xmm10
	subsd	%xmm5, %xmm7
	movapd	%xmm7, %xmm5
	divsd	%xmm11, %xmm5
	jp	.L45
	je	.L73
.L45:
	ucomisd	%xmm10, %xmm9
	jp	.L24
	jne	.L24
	ucomisd	%xmm5, %xmm8
	jp	.L64
	je	.L26
.L64:
	movsd	(%rax), %xmm5
	movl	$2, %eax
.L28:
	mulsd	%xmm9, %xmm5
	addsd	%xmm8, %xmm5
	movsd	%xmm5, (%rsi)
	ret
	.p2align 4,,10
	.p2align 3
.L40:
	movsd	%xmm4, (%rax)
	mulsd	%xmm9, %xmm4
	addsd	%xmm8, %xmm4
	movsd	%xmm4, (%rsi)
	movsd	(%rax), %xmm1
	comisd	%xmm1, %xmm0
	ja	.L21
	comisd	%xmm2, %xmm1
	ja	.L21
	comisd	%xmm5, %xmm7
	ja	.L22
	comisd	%xmm4, %xmm7
	ja	.L21
	movapd	%xmm5, %xmm7
.L36:
	comisd	%xmm7, %xmm4
	ja	.L21
.L23:
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L55:
	movq	%xmm5, %rdx
	movapd	%xmm7, %xmm5
	movq	%rdx, %xmm7
	movq	%xmm4, %rdx
	movapd	%xmm6, %xmm4
	movq	%rdx, %xmm6
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L24:
	movapd	%xmm9, %xmm1
	subsd	%xmm8, %xmm5
	subsd	%xmm10, %xmm1
	divsd	%xmm1, %xmm5
	movsd	%xmm5, (%rax)
	xorl	%eax, %eax
	comisd	%xmm5, %xmm0
	ja	.L28
	comisd	%xmm2, %xmm5
	ja	.L28
	comisd	%xmm5, %xmm4
	ja	.L28
	xorl	%eax, %eax
	comisd	%xmm6, %xmm5
	setbe	%al
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L47:
	movl	$2, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	comisd	%xmm6, %xmm0
	ja	.L31
	comisd	%xmm2, %xmm4
	ja	.L31
	ucomisd	%xmm6, %xmm0
	movl	$0, %ecx
	setnp	%dl
	cmovne	%ecx, %edx
	testb	%dl, %dl
	jne	.L32
	ucomisd	%xmm4, %xmm2
	setnp	%cl
	cmove	%ecx, %edx
	testb	%dl, %dl
	jne	.L32
	movsd	(%rax), %xmm5
	movl	$5, %eax
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L31:
	movsd	(%rax), %xmm5
	movl	$3, %eax
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L22:
	comisd	%xmm4, %xmm5
	ja	.L21
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L20:
	comisd	%xmm10, %xmm3
	ja	.L21
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L61:
	ucomisd	%xmm7, %xmm1
	jp	.L62
	je	.L16
.L62:
	movapd	%xmm3, %xmm1
.L16:
	movsd	%xmm1, (%rsi)
	movl	$4, %eax
	ret
.L32:
	ucomisd	%xmm6, %xmm0
	jp	.L65
	movapd	%xmm0, %xmm5
	je	.L33
.L65:
	movapd	%xmm2, %xmm5
.L33:
	movsd	%xmm5, (%rax)
	movl	$4, %eax
	jmp	.L28
.L73:
	movq	%xmm6, %rdx
	movapd	%xmm4, %xmm6
	movapd	%xmm0, %xmm2
	movq	%rdx, %xmm4
	movq	%xmm3, %rdx
	movapd	%xmm1, %xmm3
	movq	%rdx, %xmm1
	jmp	.L43
	.cfi_endproc
.LFE23:
	.size	rel_l_l, .-rel_l_l
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf"
	.section	.rodata.str1.1
.LC2:
	.string	"%.8f %.8f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%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	$136, %rsp
	.cfi_def_cfa_offset 192
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	52(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	52(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 52(%rsp)
	testl	%eax, %eax
	je	.L97
	leaq	112(%rsp), %rax
	leaq	88(%rsp), %r15
	movq	%rax, 40(%rsp)
	leaq	104(%rsp), %rax
	leaq	80(%rsp), %r14
	movq	%rax, 32(%rsp)
	leaq	96(%rsp), %rax
	leaq	72(%rsp), %r13
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %r12
	leaq	56(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L75:
	subq	$8, %rsp
	.cfi_def_cfa_offset 200
	xorl	%eax, %eax
	movq	%r15, %r9
	movq	%r14, %r8
	pushq	48(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 216
	movq	%rbx, %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 224
	call	__isoc99_scanf@PLT
	movsd	104(%rsp), %xmm2
	movsd	88(%rsp), %xmm0
	movsd	144(%rsp), %xmm6
	movsd	120(%rsp), %xmm3
	movsd	136(%rsp), %xmm4
	movsd	112(%rsp), %xmm5
	movsd	128(%rsp), %xmm7
	movsd	96(%rsp), %xmm1
	addq	$32, %rsp
	.cfi_def_cfa_offset 192
	comisd	%xmm2, %xmm0
	ja	.L76
	comisd	%xmm4, %xmm3
	ja	.L107
	ucomisd	%xmm0, %xmm2
	jp	.L110
	jne	.L110
.L78:
	ucomisd	%xmm4, %xmm3
	jp	.L80
	jne	.L80
	ucomisd	%xmm0, %xmm2
	jp	.L100
	jne	.L100
	ucomisd	%xmm0, %xmm3
	jp	.L83
	jne	.L83
	comisd	%xmm5, %xmm1
	jbe	.L85
	movq	%xmm1, %rax
	movapd	%xmm5, %xmm1
	movq	%rax, %xmm5
.L85:
	comisd	%xmm6, %xmm7
	jbe	.L87
	movq	%xmm7, %rax
	movapd	%xmm6, %xmm7
	movq	%rax, %xmm6
.L87:
	comisd	%xmm6, %xmm1
	ja	.L83
	comisd	%xmm5, %xmm7
	ja	.L83
	ucomisd	%xmm6, %xmm1
	movl	$0, %edx
	setnp	%al
	cmovne	%edx, %eax
	testb	%al, %al
	jne	.L114
	ucomisd	%xmm7, %xmm5
	setnp	%dl
	cmove	%edx, %eax
	testb	%al, %al
	jne	.L114
	.p2align 4,,10
	.p2align 3
.L83:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movl	$2, %eax
	call	__printf_chk@PLT
	movl	52(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 52(%rsp)
	testl	%eax, %eax
	jne	.L75
.L97:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L131
	addq	$136, %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
.L76:
	.cfi_restore_state
	comisd	%xmm4, %xmm3
	movq	%xmm0, %rax
	movapd	%xmm2, %xmm0
	movq	%rax, %xmm2
	jbe	.L101
.L77:
	ucomisd	%xmm0, %xmm2
	jp	.L108
	jne	.L108
	movapd	%xmm4, %xmm2
	movapd	%xmm6, %xmm1
	mulsd	%xmm7, %xmm4
	subsd	%xmm3, %xmm2
	subsd	%xmm7, %xmm1
	mulsd	%xmm3, %xmm6
	divsd	%xmm2, %xmm1
	subsd	%xmm6, %xmm4
	divsd	%xmm2, %xmm4
	movapd	%xmm4, %xmm5
.L103:
	mulsd	%xmm0, %xmm1
	addsd	%xmm5, %xmm1
	jmp	.L83
	.p2align 4,,10
	.p2align 3
.L108:
	movq	%xmm7, %rax
	movapd	%xmm6, %xmm7
	movq	%rax, %xmm6
	movq	%xmm3, %rax
	movapd	%xmm4, %xmm3
	movq	%rax, %xmm4
.L101:
	movapd	%xmm5, %xmm9
	movapd	%xmm0, %xmm8
	movapd	%xmm5, %xmm10
	subsd	%xmm1, %xmm9
	subsd	%xmm2, %xmm8
	mulsd	%xmm2, %xmm10
	movq	%xmm1, %rax
	divsd	%xmm8, %xmm9
	movsd	%xmm9, 8(%rsp)
	movapd	%xmm1, %xmm9
	movapd	%xmm5, %xmm1
	movq	%rax, %xmm5
	mulsd	%xmm0, %xmm9
	subsd	%xmm10, %xmm9
	divsd	%xmm8, %xmm9
	movsd	%xmm9, 16(%rsp)
	jmp	.L78
	.p2align 4,,10
	.p2align 3
.L80:
	movapd	%xmm7, %xmm1
	ucomisd	%xmm0, %xmm2
	movapd	%xmm3, %xmm8
	subsd	%xmm6, %xmm1
	mulsd	%xmm3, %xmm6
	subsd	%xmm4, %xmm8
	mulsd	%xmm4, %xmm7
	divsd	%xmm8, %xmm1
	movapd	%xmm6, %xmm5
	subsd	%xmm7, %xmm5
	divsd	%xmm8, %xmm5
	jp	.L105
	je	.L103
.L105:
	movsd	8(%rsp), %xmm7
	ucomisd	%xmm1, %xmm7
	jp	.L91
	jne	.L91
	movsd	16(%rsp), %xmm7
	ucomisd	%xmm5, %xmm7
	jp	.L93
	jne	.L93
	comisd	%xmm4, %xmm0
	jbe	.L132
.L93:
	movsd	8(%rsp), %xmm1
	mulsd	%xmm0, %xmm1
	addsd	16(%rsp), %xmm1
	jmp	.L83
	.p2align 4,,10
	.p2align 3
.L107:
	movq	%xmm5, %rax
	movapd	%xmm1, %xmm5
	movq	%rax, %xmm1
	jmp	.L77
	.p2align 4,,10
	.p2align 3
.L100:
	movsd	8(%rsp), %xmm1
	movapd	%xmm3, %xmm0
	mulsd	%xmm3, %xmm1
	addsd	16(%rsp), %xmm1
	jmp	.L83
	.p2align 4,,10
	.p2align 3
.L91:
	movsd	8(%rsp), %xmm2
	subsd	16(%rsp), %xmm5
	subsd	%xmm1, %xmm2
	movsd	8(%rsp), %xmm1
	movapd	%xmm5, %xmm0
	divsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm1
	addsd	16(%rsp), %xmm1
	jmp	.L83
.L132:
	comisd	%xmm2, %xmm3
	ja	.L93
	ucomisd	%xmm0, %xmm4
	movl	$0, %edx
	setnp	%al
	cmovne	%edx, %eax
	testb	%al, %al
	jne	.L118
	ucomisd	%xmm3, %xmm2
	setnp	%dl
	cmove	%edx, %eax
	testb	%al, %al
	je	.L93
.L118:
	ucomisd	%xmm0, %xmm4
	jp	.L119
	je	.L93
.L119:
	movapd	%xmm2, %xmm0
	jmp	.L93
.L114:
	ucomisd	%xmm6, %xmm1
	jp	.L115
	je	.L83
.L115:
	movapd	%xmm5, %xmm1
	jmp	.L83
.L131:
	call	__stack_chk_fail@PLT
.L110:
	movq	%xmm5, %rax
	movapd	%xmm1, %xmm5
	movq	%rax, %xmm1
	jmp	.L101
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.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>

#define swap( x, y ) do { double tmp; tmp = x; x = y; y = tmp; } while ( 0 )

int rel_l_l( double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double *x, double *y ) {
	double a, b, c, d;
	int rel;

	if ( x1 < x0 ) {
		swap( x0, x1 );
		swap( y0, y1 );
	}
	if ( x3 < x2 ) {
		swap( x2, x3 );
		swap( y2, y3 );
	}

	if ( x0 != x1 ) {
		a = ( y0 - y1 ) / ( x0 - x1 );
		b = ( x0 * y1 - x1 * y0 ) / ( x0 - x1 );
	}
	if ( x2 != x3 ) {
		c = ( y2 - y3 ) / ( x2 - x3 );
		d = ( x2 * y3 - x3 * y2 ) / ( x2 - x3 );
	}

	rel = 1;
	if ( x0 == x1 ) {
		*x = x0;
		if ( x2 == x3 )
			if ( x0 == x2 ) {
				if ( y1 < y0 )
					swap( y0, y1 );
				if ( y3 < y2 )
					swap( y2, y3 );

				if ( y3 < y0 || y1 < y2 )
					rel = 3;
				else if ( y3 == y0 || y1 == y2 ) {
					*y = y3 == y0 ? y0 : y1;
					rel = 4;
				} else
					rel = 5;
			} else
				rel = 2;
		else {
			*y = c * *x + d;
			if ( *x < x2 || x3 < *x || *y < ( y0 < y1 ? y0 : y1 ) || ( y0 < y1 ? y1 : y0 ) < *y )
				rel = 0;
		}
	} else {
		if ( x2 == x3 ) {
			*x = x2;
			*y = a * *x + b;
			if ( *x < x0 || x1 < *x || *y < ( y2 < y3 ? y2 : y3 ) || ( y2 < y3 ? y3 : y2 ) < *y )
				rel = 0;
		} else {
			if ( a == c ) {
				if ( b == d )
					if ( x3 < x0 || x1 < x2 )
						rel = 3;
					else if ( x3 == x0 || x1 == x2 ) {
						*x = x3 == x0 ? x0 : x1;
						rel = 4;
					} else
						rel = 5;
				else
					rel = 2;
			} else {
				*x = ( -b + d ) / ( a - c );
				if ( *x < x0 || x1 < *x || *x < x2 || x3 < *x )
					rel = 0;
			}
			*y = a * *x + b;
		}
	}

	return rel;
}


int main( void ) {
	int q;

	scanf( "%d", &q );
	while ( q-- ) {
		int rel;
		double x0, y0, x1, y1, x2, y2, x3, y3, x, y;

		scanf( "%lf %lf %lf %lf %lf %lf %lf %lf", &x0, &y0, &x1, &y1, &x2, &y2, &x3, &y3 );

		rel_l_l( x0, y0, x1, y1, x2, y2, x3, y3, &x, &y );

		printf( "%.8f %.8f\n", x, y );
	}

	return 0;
}
3
0 0 2 0 2 1 1 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 2 1 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 2 0 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 1 0 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 1 0 -1
0 0 1 1 0 1 1 0
0 0 1 0 1 0 0 1
 3
0 0 2 0 2 1 0 -1
0 0 1 1 0 1 2 0
0 0 1 0 1 0 0 1
 3
0 0 2 0 0 1 1 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 2 1 -1
0 0 1 1 0 1 1 0
0 0 1 1 2 0 0 1
 3
0 0 2 0 2 2 0 -1
0 0 2 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 0 0 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1

1.50000000 -0.00000000
0.50000000 0.50000000
0.50000000 0.50000000
 1.33333333 -0.00000000
0.50000000 0.50000000
0.50000000 0.50000000
 0.66666667 -0.00000000
0.50000000 0.50000000
0.50000000 0.50000000
 1.00000000 -0.00000000
0.50000000 0.50000000
0.50000000 0.50000000
 1.00000000 -0.00000000
0.50000000 0.50000000
1.00000000 -0.00000000
 1.00000000 -0.00000000
0.66666667 0.66666667
1.00000000 -0.00000000
 0.50000000 -0.00000000
0.50000000 0.50000000
0.50000000 0.50000000
 1.33333333 -0.00000000
0.50000000 0.50000000
0.66666667 0.66666667
 0.66666667 -0.00000000
0.66666667 0.33333333
0.50000000 0.50000000
 2.00000000 -0.00000000
0.50000000 0.50000000
0.50000000 0.50000000

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>

#define swap( x, y ) do { double tmp; tmp = x; x = y; y = tmp; } while ( 0 )

int rel_l_l( double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double *x, double *y ) {
	double a, b, c, d;
	int rel;

	if ( x1 < x0 ) {
		swap( x0, x1 );
		swap( y0, y1 );
	}
	if ( x3 < x2 ) {
		swap( x2, x3 );
		swap( y2, y3 );
	}

	if ( x0 != x1 ) {
		a = ( y0 - y1 ) / ( x0 - x1 );
		b = ( x0 * y1 - x1 * y0 ) / ( x0 - x1 );
	}
	if ( x2 != x3 ) {
		c = ( y2 - y3 ) / ( x2 - x3 );
		d = ( x2 * y3 - x3 * y2 ) / ( x2 - x3 );
	}

	rel = 1;
	if ( x0 == x1 ) {
		*x = x0;
		if ( x2 == x3 )
			if ( x0 == x2 ) {
				if ( y1 < y0 )
					swap( y0, y1 );
				if ( y3 < y2 )
					swap( y2, y3 );

				if ( y3 < y0 || y1 < y2 )
					rel = 3;
				else if ( y3 == y0 || y1 == y2 ) {
					*y = y3 == y0 ? y0 : y1;
					rel = 4;
				} else
					rel = 5;
			} else
				rel = 2;
		else {
			*y = c * *x + d;
			if ( *x < x2 || x3 < *x || *y < ( y0 < y1 ? y0 : y1 ) || ( y0 < y1 ? y1 : y0 ) < *y )
				rel = 0;
		}
	} else {
		if ( x2 == x3 ) {
			*x = x2;
			*y = a * *x + b;
			if ( *x < x0 || x1 < *x || *y < ( y2 < y3 ? y2 : y3 ) || ( y2 < y3 ? y3 : y2 ) < *y )
				rel = 0;
		} else {
			if ( a == c ) {
				if ( b == d )
					if ( x3 < x0 || x1 < x2 )
						rel = 3;
					else if ( x3 == x0 || x1 == x2 ) {
						*x = x3 == x0 ? x0 : x1;
						rel = 4;
					} else
						rel = 5;
				else
					rel = 2;
			} else {
				*x = ( -b + d ) / ( a - c );
				if ( *x < x0 || x1 < *x || *x < x2 || x3 < *x )
					rel = 0;
			}
			*y = a * *x + b;
		}
	}

	return rel;
}


int main( void ) {
	int q;

	scanf( "%d", &q );
	while ( q-- ) {
		int rel;
		double x0, y0, x1, y1, x2, y2, x3, y3, x, y;

		scanf( "%lf %lf %lf %lf %lf %lf %lf %lf", &x0, &y0, &x1, &y1, &x2, &y2, &x3, &y3 );

		rel_l_l( x0, y0, x1, y1, x2, y2, x3, y3, &x, &y );

		printf( "%.8f %.8f\n", x, y );
	}

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	rel_l_l
	.type	rel_l_l, @function
rel_l_l:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$56, %rsp
	movsd	%xmm0, -104(%rbp)
	movsd	%xmm1, -112(%rbp)
	movsd	%xmm2, -120(%rbp)
	movsd	%xmm3, -128(%rbp)
	movsd	%xmm4, -136(%rbp)
	movsd	%xmm5, -144(%rbp)
	movsd	%xmm6, -152(%rbp)
	movsd	%xmm7, -160(%rbp)
	movq	%rdi, -168(%rbp)
	movq	%rsi, -176(%rbp)
	movsd	-104(%rbp), %xmm0
	comisd	-120(%rbp), %xmm0
	jbe	.L2
	movsd	-104(%rbp), %xmm0
	movsd	%xmm0, -48(%rbp)
	movsd	-120(%rbp), %xmm0
	movsd	%xmm0, -104(%rbp)
	movsd	-48(%rbp), %xmm0
	movsd	%xmm0, -120(%rbp)
	movsd	-112(%rbp), %xmm0
	movsd	%xmm0, -40(%rbp)
	movsd	-128(%rbp), %xmm0
	movsd	%xmm0, -112(%rbp)
	movsd	-40(%rbp), %xmm0
	movsd	%xmm0, -128(%rbp)
.L2:
	movsd	-136(%rbp), %xmm0
	comisd	-152(%rbp), %xmm0
	jbe	.L4
	movsd	-136(%rbp), %xmm0
	movsd	%xmm0, -32(%rbp)
	movsd	-152(%rbp), %xmm0
	movsd	%xmm0, -136(%rbp)
	movsd	-32(%rbp), %xmm0
	movsd	%xmm0, -152(%rbp)
	movsd	-144(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	movsd	-160(%rbp), %xmm0
	movsd	%xmm0, -144(%rbp)
	movsd	-24(%rbp), %xmm0
	movsd	%xmm0, -160(%rbp)
.L4:
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	jp	.L71
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	je	.L6
.L71:
	movsd	-112(%rbp), %xmm0
	subsd	-128(%rbp), %xmm0
	movsd	-104(%rbp), %xmm1
	subsd	-120(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -80(%rbp)
	movsd	-104(%rbp), %xmm0
	mulsd	-128(%rbp), %xmm0
	movsd	-120(%rbp), %xmm1
	mulsd	-112(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	-104(%rbp), %xmm1
	subsd	-120(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -72(%rbp)
.L6:
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jp	.L72
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	je	.L8
.L72:
	movsd	-144(%rbp), %xmm0
	subsd	-160(%rbp), %xmm0
	movsd	-136(%rbp), %xmm1
	subsd	-152(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -64(%rbp)
	movsd	-136(%rbp), %xmm0
	mulsd	-160(%rbp), %xmm0
	movsd	-152(%rbp), %xmm1
	mulsd	-144(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	-136(%rbp), %xmm1
	subsd	-152(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -56(%rbp)
.L8:
	movl	$1, -84(%rbp)
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	jp	.L10
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	jne	.L10
	movq	-168(%rbp), %rax
	movsd	-104(%rbp), %xmm0
	movsd	%xmm0, (%rax)
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jp	.L12
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jne	.L12
	movsd	-104(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jp	.L14
	movsd	-104(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jne	.L14
	movsd	-112(%rbp), %xmm0
	comisd	-128(%rbp), %xmm0
	jbe	.L16
	movsd	-112(%rbp), %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-128(%rbp), %xmm0
	movsd	%xmm0, -112(%rbp)
	movsd	-16(%rbp), %xmm0
	movsd	%xmm0, -128(%rbp)
.L16:
	movsd	-144(%rbp), %xmm0
	comisd	-160(%rbp), %xmm0
	jbe	.L18
	movsd	-144(%rbp), %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	-160(%rbp), %xmm0
	movsd	%xmm0, -144(%rbp)
	movsd	-8(%rbp), %xmm0
	movsd	%xmm0, -160(%rbp)
.L18:
	movsd	-112(%rbp), %xmm0
	comisd	-160(%rbp), %xmm0
	ja	.L20
	movsd	-144(%rbp), %xmm0
	comisd	-128(%rbp), %xmm0
	jbe	.L89
.L20:
	movl	$3, -84(%rbp)
	jmp	.L31
.L89:
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L78
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	je	.L24
.L78:
	movsd	-128(%rbp), %xmm0
	ucomisd	-144(%rbp), %xmm0
	jp	.L26
	movsd	-128(%rbp), %xmm0
	ucomisd	-144(%rbp), %xmm0
	jne	.L26
.L24:
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L28
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	jne	.L28
	movsd	-112(%rbp), %xmm0
	jmp	.L30
.L28:
	movsd	-128(%rbp), %xmm0
.L30:
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
	movl	$4, -84(%rbp)
	jmp	.L31
.L26:
	movl	$5, -84(%rbp)
	jmp	.L31
.L14:
	movl	$2, -84(%rbp)
	jmp	.L31
.L12:
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	mulsd	-64(%rbp), %xmm0
	addsd	-56(%rbp), %xmm0
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-136(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L32
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-152(%rbp), %xmm0
	ja	.L32
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-128(%rbp), %xmm0
	comisd	-112(%rbp), %xmm0
	jbe	.L90
	movsd	-112(%rbp), %xmm0
	jmp	.L35
.L90:
	movsd	-128(%rbp), %xmm0
.L35:
	comisd	%xmm1, %xmm0
	ja	.L32
	movsd	-128(%rbp), %xmm0
	comisd	-112(%rbp), %xmm0
	jbe	.L91
	movsd	-128(%rbp), %xmm0
	jmp	.L38
.L91:
	movsd	-112(%rbp), %xmm0
.L38:
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	comisd	%xmm0, %xmm1
	jbe	.L31
.L32:
	movl	$0, -84(%rbp)
	jmp	.L31
.L10:
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jp	.L40
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jne	.L40
	movq	-168(%rbp), %rax
	movsd	-136(%rbp), %xmm0
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	mulsd	-80(%rbp), %xmm0
	addsd	-72(%rbp), %xmm0
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-104(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L42
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-120(%rbp), %xmm0
	ja	.L42
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-160(%rbp), %xmm0
	comisd	-144(%rbp), %xmm0
	jbe	.L92
	movsd	-144(%rbp), %xmm0
	jmp	.L45
.L92:
	movsd	-160(%rbp), %xmm0
.L45:
	comisd	%xmm1, %xmm0
	ja	.L42
	movsd	-160(%rbp), %xmm0
	comisd	-144(%rbp), %xmm0
	jbe	.L93
	movsd	-160(%rbp), %xmm0
	jmp	.L48
.L93:
	movsd	-144(%rbp), %xmm0
.L48:
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	comisd	%xmm0, %xmm1
	jbe	.L31
.L42:
	movl	$0, -84(%rbp)
	jmp	.L31
.L40:
	movsd	-80(%rbp), %xmm0
	ucomisd	-64(%rbp), %xmm0
	jp	.L50
	movsd	-80(%rbp), %xmm0
	ucomisd	-64(%rbp), %xmm0
	jne	.L50
	movsd	-72(%rbp), %xmm0
	ucomisd	-56(%rbp), %xmm0
	jp	.L52
	movsd	-72(%rbp), %xmm0
	ucomisd	-56(%rbp), %xmm0
	jne	.L52
	movsd	-104(%rbp), %xmm0
	comisd	-152(%rbp), %xmm0
	ja	.L54
	movsd	-136(%rbp), %xmm0
	comisd	-120(%rbp), %xmm0
	jbe	.L94
.L54:
	movl	$3, -84(%rbp)
	jmp	.L65
.L94:
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	jp	.L87
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	je	.L58
.L87:
	movsd	-120(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jp	.L60
	movsd	-120(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jne	.L60
.L58:
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	jp	.L62
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	jne	.L62
	movsd	-104(%rbp), %xmm0
	jmp	.L64
.L62:
	movsd	-120(%rbp), %xmm0
.L64:
	movq	-168(%rbp), %rax
	movsd	%xmm0, (%rax)
	movl	$4, -84(%rbp)
	jmp	.L65
.L60:
	movl	$5, -84(%rbp)
	jmp	.L65
.L52:
	movl	$2, -84(%rbp)
	jmp	.L65
.L50:
	movsd	-56(%rbp), %xmm0
	subsd	-72(%rbp), %xmm0
	movsd	-80(%rbp), %xmm1
	subsd	-64(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	-168(%rbp), %rax
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-104(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L66
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-120(%rbp), %xmm0
	ja	.L66
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-136(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L66
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-152(%rbp), %xmm0
	jbe	.L65
.L66:
	movl	$0, -84(%rbp)
.L65:
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	mulsd	-80(%rbp), %xmm0
	addsd	-72(%rbp), %xmm0
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
.L31:
	movl	-84(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	rel_l_l, .-rel_l_l
	.section	.rodata
.LC0:
	.string	"%d"
	.align 8
.LC1:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf"
.LC2:
	.string	"%.8f %.8f\n"
	.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	-92(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L96
.L97:
	leaq	-56(%rbp), %r8
	leaq	-64(%rbp), %rdi
	leaq	-72(%rbp), %rcx
	leaq	-80(%rbp), %rdx
	leaq	-88(%rbp), %rax
	subq	$8, %rsp
	leaq	-32(%rbp), %rsi
	pushq	%rsi
	leaq	-40(%rbp), %rsi
	pushq	%rsi
	leaq	-48(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$32, %rsp
	movsd	-32(%rbp), %xmm6
	movsd	-40(%rbp), %xmm5
	movsd	-48(%rbp), %xmm4
	movsd	-56(%rbp), %xmm3
	movsd	-64(%rbp), %xmm2
	movsd	-72(%rbp), %xmm1
	movsd	-80(%rbp), %xmm0
	movq	-88(%rbp), %rax
	leaq	-16(%rbp), %rcx
	leaq	-24(%rbp), %rdx
	movq	%rcx, %rsi
	movq	%rdx, %rdi
	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	rel_l_l
	movsd	-16(%rbp), %xmm0
	movq	-24(%rbp), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
.L96:
	movl	-92(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -92(%rbp)
	testl	%eax, %eax
	jne	.L97
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L99
	call	__stack_chk_fail@PLT
.L99:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.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	rel_l_l
	.type	rel_l_l, @function
rel_l_l:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$56, %rsp
	movsd	%xmm0, -104(%rbp)
	movsd	%xmm1, -112(%rbp)
	movsd	%xmm2, -120(%rbp)
	movsd	%xmm3, -128(%rbp)
	movsd	%xmm4, -136(%rbp)
	movsd	%xmm5, -144(%rbp)
	movsd	%xmm6, -152(%rbp)
	movsd	%xmm7, -160(%rbp)
	movq	%rdi, -168(%rbp)
	movq	%rsi, -176(%rbp)
	movsd	-104(%rbp), %xmm0
	comisd	-120(%rbp), %xmm0
	jbe	.L2
	movsd	-104(%rbp), %xmm0
	movsd	%xmm0, -48(%rbp)
	movsd	-120(%rbp), %xmm0
	movsd	%xmm0, -104(%rbp)
	movsd	-48(%rbp), %xmm0
	movsd	%xmm0, -120(%rbp)
	movsd	-112(%rbp), %xmm0
	movsd	%xmm0, -40(%rbp)
	movsd	-128(%rbp), %xmm0
	movsd	%xmm0, -112(%rbp)
	movsd	-40(%rbp), %xmm0
	movsd	%xmm0, -128(%rbp)
.L2:
	movsd	-136(%rbp), %xmm0
	comisd	-152(%rbp), %xmm0
	jbe	.L4
	movsd	-136(%rbp), %xmm0
	movsd	%xmm0, -32(%rbp)
	movsd	-152(%rbp), %xmm0
	movsd	%xmm0, -136(%rbp)
	movsd	-32(%rbp), %xmm0
	movsd	%xmm0, -152(%rbp)
	movsd	-144(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	movsd	-160(%rbp), %xmm0
	movsd	%xmm0, -144(%rbp)
	movsd	-24(%rbp), %xmm0
	movsd	%xmm0, -160(%rbp)
.L4:
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	jp	.L71
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	je	.L6
.L71:
	movsd	-112(%rbp), %xmm0
	subsd	-128(%rbp), %xmm0
	movsd	-104(%rbp), %xmm1
	subsd	-120(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -80(%rbp)
	movsd	-104(%rbp), %xmm0
	mulsd	-128(%rbp), %xmm0
	movsd	-120(%rbp), %xmm1
	mulsd	-112(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	-104(%rbp), %xmm1
	subsd	-120(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -72(%rbp)
.L6:
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jp	.L72
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	je	.L8
.L72:
	movsd	-144(%rbp), %xmm0
	subsd	-160(%rbp), %xmm0
	movsd	-136(%rbp), %xmm1
	subsd	-152(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -64(%rbp)
	movsd	-136(%rbp), %xmm0
	mulsd	-160(%rbp), %xmm0
	movsd	-152(%rbp), %xmm1
	mulsd	-144(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	-136(%rbp), %xmm1
	subsd	-152(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -56(%rbp)
.L8:
	movl	$1, -84(%rbp)
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	jp	.L10
	movsd	-104(%rbp), %xmm0
	ucomisd	-120(%rbp), %xmm0
	jne	.L10
	movq	-168(%rbp), %rax
	movsd	-104(%rbp), %xmm0
	movsd	%xmm0, (%rax)
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jp	.L12
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jne	.L12
	movsd	-104(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jp	.L14
	movsd	-104(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jne	.L14
	movsd	-112(%rbp), %xmm0
	comisd	-128(%rbp), %xmm0
	jbe	.L16
	movsd	-112(%rbp), %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-128(%rbp), %xmm0
	movsd	%xmm0, -112(%rbp)
	movsd	-16(%rbp), %xmm0
	movsd	%xmm0, -128(%rbp)
.L16:
	movsd	-144(%rbp), %xmm0
	comisd	-160(%rbp), %xmm0
	jbe	.L18
	movsd	-144(%rbp), %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	-160(%rbp), %xmm0
	movsd	%xmm0, -144(%rbp)
	movsd	-8(%rbp), %xmm0
	movsd	%xmm0, -160(%rbp)
.L18:
	movsd	-112(%rbp), %xmm0
	comisd	-160(%rbp), %xmm0
	ja	.L20
	movsd	-144(%rbp), %xmm0
	comisd	-128(%rbp), %xmm0
	jbe	.L89
.L20:
	movl	$3, -84(%rbp)
	jmp	.L31
.L89:
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L78
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	je	.L24
.L78:
	movsd	-128(%rbp), %xmm0
	ucomisd	-144(%rbp), %xmm0
	jp	.L26
	movsd	-128(%rbp), %xmm0
	ucomisd	-144(%rbp), %xmm0
	jne	.L26
.L24:
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L28
	movsd	-160(%rbp), %xmm0
	ucomisd	-112(%rbp), %xmm0
	jne	.L28
	movsd	-112(%rbp), %xmm0
	jmp	.L30
.L28:
	movsd	-128(%rbp), %xmm0
.L30:
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
	movl	$4, -84(%rbp)
	jmp	.L31
.L26:
	movl	$5, -84(%rbp)
	jmp	.L31
.L14:
	movl	$2, -84(%rbp)
	jmp	.L31
.L12:
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	mulsd	-64(%rbp), %xmm0
	addsd	-56(%rbp), %xmm0
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-136(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L32
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-152(%rbp), %xmm0
	ja	.L32
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-128(%rbp), %xmm0
	comisd	-112(%rbp), %xmm0
	jbe	.L90
	movsd	-112(%rbp), %xmm0
	jmp	.L35
.L90:
	movsd	-128(%rbp), %xmm0
.L35:
	comisd	%xmm1, %xmm0
	ja	.L32
	movsd	-128(%rbp), %xmm0
	comisd	-112(%rbp), %xmm0
	jbe	.L91
	movsd	-128(%rbp), %xmm0
	jmp	.L38
.L91:
	movsd	-112(%rbp), %xmm0
.L38:
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	comisd	%xmm0, %xmm1
	jbe	.L31
.L32:
	movl	$0, -84(%rbp)
	jmp	.L31
.L10:
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jp	.L40
	movsd	-136(%rbp), %xmm0
	ucomisd	-152(%rbp), %xmm0
	jne	.L40
	movq	-168(%rbp), %rax
	movsd	-136(%rbp), %xmm0
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	mulsd	-80(%rbp), %xmm0
	addsd	-72(%rbp), %xmm0
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-104(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L42
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-120(%rbp), %xmm0
	ja	.L42
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-160(%rbp), %xmm0
	comisd	-144(%rbp), %xmm0
	jbe	.L92
	movsd	-144(%rbp), %xmm0
	jmp	.L45
.L92:
	movsd	-160(%rbp), %xmm0
.L45:
	comisd	%xmm1, %xmm0
	ja	.L42
	movsd	-160(%rbp), %xmm0
	comisd	-144(%rbp), %xmm0
	jbe	.L93
	movsd	-160(%rbp), %xmm0
	jmp	.L48
.L93:
	movsd	-144(%rbp), %xmm0
.L48:
	movq	-176(%rbp), %rax
	movsd	(%rax), %xmm1
	comisd	%xmm0, %xmm1
	jbe	.L31
.L42:
	movl	$0, -84(%rbp)
	jmp	.L31
.L40:
	movsd	-80(%rbp), %xmm0
	ucomisd	-64(%rbp), %xmm0
	jp	.L50
	movsd	-80(%rbp), %xmm0
	ucomisd	-64(%rbp), %xmm0
	jne	.L50
	movsd	-72(%rbp), %xmm0
	ucomisd	-56(%rbp), %xmm0
	jp	.L52
	movsd	-72(%rbp), %xmm0
	ucomisd	-56(%rbp), %xmm0
	jne	.L52
	movsd	-104(%rbp), %xmm0
	comisd	-152(%rbp), %xmm0
	ja	.L54
	movsd	-136(%rbp), %xmm0
	comisd	-120(%rbp), %xmm0
	jbe	.L94
.L54:
	movl	$3, -84(%rbp)
	jmp	.L65
.L94:
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	jp	.L87
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	je	.L58
.L87:
	movsd	-120(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jp	.L60
	movsd	-120(%rbp), %xmm0
	ucomisd	-136(%rbp), %xmm0
	jne	.L60
.L58:
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	jp	.L62
	movsd	-152(%rbp), %xmm0
	ucomisd	-104(%rbp), %xmm0
	jne	.L62
	movsd	-104(%rbp), %xmm0
	jmp	.L64
.L62:
	movsd	-120(%rbp), %xmm0
.L64:
	movq	-168(%rbp), %rax
	movsd	%xmm0, (%rax)
	movl	$4, -84(%rbp)
	jmp	.L65
.L60:
	movl	$5, -84(%rbp)
	jmp	.L65
.L52:
	movl	$2, -84(%rbp)
	jmp	.L65
.L50:
	movsd	-56(%rbp), %xmm0
	subsd	-72(%rbp), %xmm0
	movsd	-80(%rbp), %xmm1
	subsd	-64(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movq	-168(%rbp), %rax
	movsd	%xmm0, (%rax)
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-104(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L66
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-120(%rbp), %xmm0
	ja	.L66
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm1
	movsd	-136(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L66
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	comisd	-152(%rbp), %xmm0
	jbe	.L65
.L66:
	movl	$0, -84(%rbp)
.L65:
	movq	-168(%rbp), %rax
	movsd	(%rax), %xmm0
	mulsd	-80(%rbp), %xmm0
	addsd	-72(%rbp), %xmm0
	movq	-176(%rbp), %rax
	movsd	%xmm0, (%rax)
.L31:
	movl	-84(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	rel_l_l, .-rel_l_l
	.section	.rodata
.LC0:
	.string	"%d"
	.align 8
.LC1:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf"
.LC2:
	.string	"%.8f %.8f\n"
	.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	-92(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L96
.L97:
	leaq	-56(%rbp), %r8
	leaq	-64(%rbp), %rdi
	leaq	-72(%rbp), %rcx
	leaq	-80(%rbp), %rdx
	leaq	-88(%rbp), %rax
	subq	$8, %rsp
	leaq	-32(%rbp), %rsi
	pushq	%rsi
	leaq	-40(%rbp), %rsi
	pushq	%rsi
	leaq	-48(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$32, %rsp
	movsd	-32(%rbp), %xmm6
	movsd	-40(%rbp), %xmm5
	movsd	-48(%rbp), %xmm4
	movsd	-56(%rbp), %xmm3
	movsd	-64(%rbp), %xmm2
	movsd	-72(%rbp), %xmm1
	movsd	-80(%rbp), %xmm0
	movq	-88(%rbp), %rax
	leaq	-16(%rbp), %rcx
	leaq	-24(%rbp), %rdx
	movq	%rcx, %rsi
	movq	%rdx, %rdi
	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	rel_l_l
	movsd	-16(%rbp), %xmm0
	movq	-24(%rbp), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
.L96:
	movl	-92(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -92(%rbp)
	testl	%eax, %eax
	jne	.L97
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L99
	call	__stack_chk_fail@PLT
.L99:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.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:
