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

```c
float q;
A,B,C,D,E,F,R;
M(a,b,c,d,e,f){
	e=c-a;
	f=d-b;
	q=fabs(-f*a+e*b)/hypot(e,f);
	return a*e+b*f<0&c*e+d*f>0&q<=R?q<R?2:1:0;
}
I(){
	q=E*B-F*A;
	return(C*F-D*E)*q>0&q*(A*D-B*C)>0;
}
main(v,w,o,c){
	for(;scanf("%d%d%d%d%d%d%d%d%d",&A,&B,&C,&D,&E,&F,&v,&w,&R),A;){
		A-=v,B-=w;
		C-=v,D-=w;
		E-=v,F-=w;
		o=(A*A+B*B>R*R)+(C*C+D*D>R*R)+(E*E+F*F>R*R);
		c=M(C,D,E,F)|M(E,F,A,B)|M(A,B,C,D);
		puts(o?o-3|c&2?"c":I()?"a":c&1?"c":"d":"b");
	}
	exit(0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	q
	.bss
	.align 4
	.type	q, @object
	.size	q, 4
q:
	.zero	4
	.globl	A
	.align 4
	.type	A, @object
	.size	A, 4
A:
	.zero	4
	.globl	B
	.align 4
	.type	B, @object
	.size	B, 4
B:
	.zero	4
	.globl	C
	.align 4
	.type	C, @object
	.size	C, 4
C:
	.zero	4
	.globl	D
	.align 4
	.type	D, @object
	.size	D, 4
D:
	.zero	4
	.globl	E
	.align 4
	.type	E, @object
	.size	E, 4
E:
	.zero	4
	.globl	F
	.align 4
	.type	F, @object
	.size	F, 4
F:
	.zero	4
	.globl	R
	.align 4
	.type	R, @object
	.size	R, 4
R:
	.zero	4
	.text
	.globl	M
	.type	M, @function
M:
.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
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	movl	%r8d, -20(%rbp)
	movl	%r9d, -24(%rbp)
	movl	-12(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-16(%rbp), %eax
	subl	-8(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-24(%rbp), %eax
	negl	%eax
	imull	-4(%rbp), %eax
	movl	%eax, %edx
	movl	-20(%rbp), %eax
	imull	-8(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm1, %xmm0
	movsd	%xmm0, -32(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-24(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-20(%rbp), %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	hypot@PLT
	movsd	-32(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	movss	%xmm0, q(%rip)
	movl	-4(%rbp), %eax
	imull	-20(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	-24(%rbp), %eax
	addl	%edx, %eax
	shrl	$31, %eax
	movl	%eax, %ecx
	movl	-12(%rbp), %eax
	imull	-20(%rbp), %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	imull	-24(%rbp), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	setg	%al
	andl	%ecx, %eax
	movzbl	%al, %edx
	movl	R(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2ssl	%eax, %xmm0
	movss	q(%rip), %xmm1
	comiss	%xmm1, %xmm0
	setnb	%al
	movzbl	%al, %eax
	andl	%edx, %eax
	testl	%eax, %eax
	je	.L2
	movl	R(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2ssl	%eax, %xmm0
	movss	q(%rip), %xmm1
	comiss	%xmm1, %xmm0
	jbe	.L9
	movl	$2, %eax
	jmp	.L7
.L9:
	movl	$1, %eax
	jmp	.L7
.L2:
	movl	$0, %eax
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	M, .-M
	.globl	I
	.type	I, @function
I:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	E(%rip), %edx
	movl	B(%rip), %eax
	imull	%edx, %eax
	movl	F(%rip), %ecx
	movl	A(%rip), %edx
	imull	%ecx, %edx
	subl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2ssl	%eax, %xmm0
	movss	%xmm0, q(%rip)
	movl	C(%rip), %edx
	movl	F(%rip), %eax
	imull	%edx, %eax
	movl	D(%rip), %ecx
	movl	E(%rip), %edx
	imull	%ecx, %edx
	subl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2ssl	%eax, %xmm1
	movss	q(%rip), %xmm0
	mulss	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	seta	%sil
	movl	A(%rip), %edx
	movl	D(%rip), %eax
	imull	%edx, %eax
	movl	B(%rip), %ecx
	movl	C(%rip), %edx
	imull	%ecx, %edx
	subl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2ssl	%eax, %xmm1
	movss	q(%rip), %xmm0
	mulss	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	seta	%al
	andl	%esi, %eax
	movzbl	%al, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	I, .-I
	.section	.rodata
.LC2:
	.string	"c"
.LC3:
	.string	"d"
.LC4:
	.string	"a"
.LC5:
	.string	"b"
.LC6:
	.string	"%d%d%d%d%d%d%d%d%d"
	.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
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, -28(%rbp)
	movl	%ecx, -32(%rbp)
	jmp	.L13
.L22:
	movl	A(%rip), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, A(%rip)
	movl	B(%rip), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, B(%rip)
	movl	C(%rip), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, C(%rip)
	movl	D(%rip), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, D(%rip)
	movl	E(%rip), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, E(%rip)
	movl	F(%rip), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, F(%rip)
	movl	A(%rip), %edx
	movl	A(%rip), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	B(%rip), %edx
	movl	B(%rip), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	R(%rip), %edx
	movl	R(%rip), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	setg	%al
	movzbl	%al, %esi
	movl	C(%rip), %edx
	movl	C(%rip), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	D(%rip), %edx
	movl	D(%rip), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	R(%rip), %edx
	movl	R(%rip), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	setg	%al
	movzbl	%al, %eax
	addl	%eax, %esi
	movl	E(%rip), %edx
	movl	E(%rip), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	F(%rip), %edx
	movl	F(%rip), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	R(%rip), %edx
	movl	R(%rip), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	setg	%al
	movzbl	%al, %eax
	addl	%esi, %eax
	movl	%eax, -28(%rbp)
	movl	F(%rip), %ecx
	movl	E(%rip), %edx
	movl	D(%rip), %esi
	movl	C(%rip), %eax
	movl	%eax, %edi
	movl	$0, %eax
	call	M
	movl	%eax, %ebx
	movl	B(%rip), %ecx
	movl	A(%rip), %edx
	movl	F(%rip), %esi
	movl	E(%rip), %eax
	movl	%eax, %edi
	movl	$0, %eax
	call	M
	orl	%eax, %ebx
	movl	D(%rip), %ecx
	movl	C(%rip), %edx
	movl	B(%rip), %esi
	movl	A(%rip), %eax
	movl	%eax, %edi
	movl	$0, %eax
	call	M
	orl	%ebx, %eax
	movl	%eax, -32(%rbp)
	cmpl	$0, -28(%rbp)
	je	.L14
	movl	-28(%rbp), %eax
	leal	-3(%rax), %edx
	movl	-32(%rbp), %eax
	andl	$2, %eax
	orl	%edx, %eax
	testl	%eax, %eax
	jne	.L15
	movl	$0, %eax
	call	I
	testl	%eax, %eax
	jne	.L16
	movl	-32(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L17
	leaq	.LC2(%rip), %rax
	jmp	.L21
.L17:
	leaq	.LC3(%rip), %rax
	jmp	.L21
.L16:
	leaq	.LC4(%rip), %rax
	jmp	.L21
.L15:
	leaq	.LC2(%rip), %rax
	jmp	.L21
.L14:
	leaq	.LC5(%rip), %rax
.L21:
	movq	%rax, %rdi
	call	puts@PLT
.L13:
	leaq	R(%rip), %rax
	pushq	%rax
	leaq	-24(%rbp), %rax
	pushq	%rax
	leaq	-20(%rbp), %rax
	pushq	%rax
	leaq	F(%rip), %rax
	pushq	%rax
	leaq	E(%rip), %r9
	leaq	D(%rip), %r8
	leaq	C(%rip), %rax
	movq	%rax, %rcx
	leaq	B(%rip), %rax
	movq	%rax, %rdx
	leaq	A(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addq	$32, %rsp
	movl	A(%rip), %eax
	testl	%eax, %eax
	jne	.L22
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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	M
	.type	M, @function
M:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edx, %r15d
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movl	%ecx, %r14d
	subl	%edi, %r15d
	subl	%esi, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	cvtsi2sdl	%r15d, %xmm0
	movl	%ecx, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	cvtsi2sdl	%r14d, %xmm1
	movl	%esi, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movl	%edx, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	%edi, %ebx
	imull	%r15d, %ebp
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	hypot@PLT
	movl	%r12d, %eax
	movl	%r15d, %edx
	subl	%r13d, %eax
	imull	%r12d, %edx
	movapd	%xmm0, %xmm1
	imull	%ebx, %eax
	pxor	%xmm0, %xmm0
	imull	%r15d, %ebx
	imull	%r14d, %r12d
	addl	%edx, %eax
	imull	%r14d, %r13d
	cvtsi2sdl	%eax, %xmm0
	andpd	.LC0(%rip), %xmm0
	addl	%r12d, %ebx
	divsd	%xmm1, %xmm0
	addl	%r13d, %ebp
	shrl	$31, %ebx
	pxor	%xmm1, %xmm1
	testl	%ebp, %ebp
	cvtsi2ssl	R(%rip), %xmm1
	setg	%al
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, q(%rip)
	testb	%bl, %al
	je	.L3
	comiss	%xmm0, %xmm1
	jb	.L3
	seta	%al
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movzbl	%al, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	addl	$1, %eax
	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
.L3:
	.cfi_restore_state
	addq	$8, %rsp
	.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
	.cfi_endproc
.LFE0:
	.size	M, .-M
	.p2align 4
	.globl	I
	.type	I, @function
I:
.LFB1:
	.cfi_startproc
	endbr64
	movl	E(%rip), %esi
	movl	F(%rip), %edx
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	B(%rip), %ecx
	movl	A(%rip), %eax
	pxor	%xmm2, %xmm2
	movl	%esi, %edi
	movl	%edx, %r8d
	imull	%eax, %r8d
	imull	%ecx, %edi
	subl	%r8d, %edi
	movl	D(%rip), %r8d
	cvtsi2ssl	%edi, %xmm1
	movl	C(%rip), %edi
	imull	%r8d, %esi
	imull	%edi, %edx
	movss	%xmm1, q(%rip)
	subl	%esi, %edx
	cvtsi2ssl	%edx, %xmm0
	mulss	%xmm1, %xmm0
	comiss	%xmm2, %xmm0
	pxor	%xmm0, %xmm0
	seta	%dl
	imull	%r8d, %eax
	imull	%edi, %ecx
	subl	%ecx, %eax
	cvtsi2ssl	%eax, %xmm0
	xorl	%eax, %eax
	mulss	%xmm1, %xmm0
	comiss	%xmm2, %xmm0
	seta	%al
	andl	%edx, %eax
	ret
	.cfi_endproc
.LFE1:
	.size	I, .-I
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"c"
.LC3:
	.string	"b"
.LC4:
	.string	"a"
.LC5:
	.string	"d"
.LC6:
	.string	"%d%d%d%d%d%d%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	$88, %rsp
	.cfi_def_cfa_offset 144
	leaq	72(%rsp), %rax
	movl	%edi, 76(%rsp)
	movq	%rax, 56(%rsp)
	leaq	76(%rsp), %rax
	movl	%esi, 72(%rsp)
	movq	%rax, 64(%rsp)
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L60:
	movl	$2, %edi
	movl	$3, %esi
	seta	%r15b
	cmova	%edi, %esi
	seta	%dil
	movzbl	%r15b, %r15d
	movzbl	%dil, %edi
	addl	$1, %r15d
	movl	%esi, 48(%rsp)
	leal	1(%rdi,%rdi), %edi
.L16:
	movl	%r8d, %esi
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movl	%ecx, 36(%rsp)
	subl	%r9d, %esi
	movl	%r12d, %r9d
	movl	%eax, 32(%rsp)
	subl	%r13d, %r9d
	cvtsi2sdl	%esi, %xmm0
	movl	%edx, 28(%rsp)
	subl	%r12d, %r13d
	cvtsi2sdl	%r9d, %xmm1
	movl	%r8d, 24(%rsp)
	movl	%esi, 20(%rsp)
	movl	%r9d, 16(%rsp)
	movss	%xmm2, 40(%rsp)
	movl	%edi, 52(%rsp)
	call	hypot@PLT
	movl	20(%rsp), %esi
	movl	36(%rsp), %ecx
	movl	%ebp, %r10d
	movapd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	movl	16(%rsp), %r9d
	movl	28(%rsp), %edx
	imull	%ecx, %r13d
	movl	24(%rsp), %r8d
	movl	32(%rsp), %eax
	imull	%esi, %r10d
	movss	40(%rsp), %xmm2
	imull	%esi, %ecx
	imull	%r9d, %ebp
	addl	%r10d, %r13d
	imull	%ebx, %esi
	cvtsi2sdl	%r13d, %xmm0
	andpd	.LC0(%rip), %xmm0
	imull	%edx, %r9d
	addl	%ecx, %ebp
	divsd	%xmm1, %xmm0
	shrl	$31, %ebp
	addl	%r9d, %esi
	testl	%esi, %esi
	setg	%cl
	testb	%bpl, %cl
	cvtsd2ss	%xmm0, %xmm0
	je	.L18
	comiss	%xmm0, %xmm2
	jb	.L18
	movl	48(%rsp), %r15d
	movl	52(%rsp), %edi
	cmovbe	%edi, %r15d
.L18:
	movl	12(%rsp), %ebp
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movl	%eax, 20(%rsp)
	movl	8(%rsp), %r13d
	movl	%edx, 16(%rsp)
	subl	%r8d, %ebp
	movss	%xmm2, 24(%rsp)
	subl	%r12d, %r13d
	cvtsi2sdl	%ebp, %xmm0
	cvtsi2sdl	%r13d, %xmm1
	imull	%ebp, %r14d
	call	hypot@PLT
	movl	16(%rsp), %edx
	subl	8(%rsp), %r12d
	imull	%ebx, %r12d
	movapd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	movl	20(%rsp), %eax
	movl	%edx, %ecx
	imull	%ebp, %ebx
	imull	%ebp, %ecx
	imull	%r13d, %eax
	imull	%r13d, %edx
	addl	%ecx, %r12d
	cvtsi2sdl	%r12d, %xmm0
	andpd	.LC0(%rip), %xmm0
	addl	%eax, %r14d
	addl	%edx, %ebx
	divsd	%xmm1, %xmm0
	shrl	$31, %ebx
	testl	%r14d, %r14d
	setg	%al
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, q(%rip)
	testb	%bl, %al
	je	.L20
	movss	24(%rsp), %xmm2
	comiss	%xmm0, %xmm2
	jb	.L20
	ja	.L57
	orl	$1, %r15d
.L20:
	movl	44(%rsp), %eax
	leaq	.LC3(%rip), %rdi
	testl	%eax, %eax
	je	.L24
	movl	%r15d, %edx
	subl	$3, %eax
	andl	$2, %edx
	orl	%edx, %eax
	je	.L58
.L23:
	leaq	.LC2(%rip), %rdi
.L24:
	call	puts@PLT
.L15:
	leaq	R(%rip), %rax
	leaq	D(%rip), %r8
	pushq	%rax
	.cfi_def_cfa_offset 152
	leaq	F(%rip), %rax
	leaq	E(%rip), %r9
	pushq	64(%rsp)
	.cfi_def_cfa_offset 160
	leaq	C(%rip), %rcx
	leaq	B(%rip), %rdx
	pushq	80(%rsp)
	.cfi_def_cfa_offset 168
	leaq	A(%rip), %rsi
	leaq	.LC6(%rip), %rdi
	pushq	%rax
	.cfi_def_cfa_offset 176
	xorl	%eax, %eax
	call	scanf@PLT
	movl	A(%rip), %r8d
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	testl	%r8d, %r8d
	je	.L59
	movl	B(%rip), %r12d
	movl	R(%rip), %r10d
	movl	%r8d, %ebx
	movl	%r8d, 40(%rsp)
	subl	76(%rsp), %ebx
	movl	D(%rip), %r8d
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movl	%r12d, %edx
	subl	72(%rsp), %edx
	movl	%ebx, %esi
	movl	%r10d, %r11d
	movl	%edx, %edi
	imull	%ebx, %esi
	movl	C(%rip), %eax
	movl	%edx, 32(%rsp)
	imull	%edx, %edi
	movl	E(%rip), %r9d
	movl	F(%rip), %r13d
	movl	%edx, B(%rip)
	imull	%r10d, %r11d
	movl	%eax, 12(%rsp)
	movl	%eax, %r14d
	movl	%r8d, %eax
	subl	76(%rsp), %r14d
	subl	72(%rsp), %eax
	movl	%r9d, %ecx
	movl	%r13d, %ebp
	addl	%edi, %esi
	subl	76(%rsp), %ecx
	subl	72(%rsp), %ebp
	movl	%eax, %r15d
	xorl	%edi, %edi
	cmpl	%r11d, %esi
	movl	%r14d, %esi
	movl	%eax, D(%rip)
	setg	%dil
	imull	%eax, %r15d
	movl	%ecx, E(%rip)
	imull	%r14d, %esi
	movl	%r10d, 36(%rsp)
	movl	%eax, 28(%rsp)
	movl	%ecx, 24(%rsp)
	addl	%r15d, %esi
	movl	%ebp, %r15d
	movl	%r9d, 20(%rsp)
	cmpl	%esi, %r11d
	movl	%r8d, 8(%rsp)
	setl	%sil
	imull	%ebp, %r15d
	movl	%ebx, A(%rip)
	movzbl	%sil, %esi
	movl	%r14d, C(%rip)
	addl	%edi, %esi
	movl	%ecx, %edi
	movl	%ebp, F(%rip)
	imull	%ecx, %edi
	addl	%r15d, %edi
	movl	%r9d, %r15d
	cmpl	%edi, %r11d
	setl	%dil
	subl	12(%rsp), %r15d
	movzbl	%dil, %edi
	cvtsi2sdl	%r15d, %xmm0
	leal	(%rsi,%rdi), %edx
	movl	%r13d, %esi
	subl	%r8d, %esi
	movl	%edx, 44(%rsp)
	cvtsi2sdl	%esi, %xmm1
	movl	%esi, 16(%rsp)
	call	hypot@PLT
	movl	28(%rsp), %eax
	movl	8(%rsp), %edi
	pxor	%xmm2, %xmm2
	movapd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	movl	16(%rsp), %esi
	movl	24(%rsp), %ecx
	subl	%r13d, %edi
	movl	%eax, %r11d
	movl	36(%rsp), %r10d
	movl	20(%rsp), %r9d
	imull	%r15d, %r11d
	movl	32(%rsp), %edx
	movl	40(%rsp), %r8d
	imull	%r14d, %edi
	cvtsi2ssl	%r10d, %xmm2
	movl	%eax, %r10d
	imull	%esi, %r10d
	addl	%r11d, %edi
	imull	%ebp, %esi
	cvtsi2sdl	%edi, %xmm0
	andpd	.LC0(%rip), %xmm0
	movl	%r14d, %edi
	imull	%r15d, %edi
	divsd	%xmm1, %xmm0
	imull	%ecx, %r15d
	addl	%r10d, %edi
	addl	%esi, %r15d
	shrl	$31, %edi
	testl	%r15d, %r15d
	setg	%sil
	testb	%dil, %sil
	cvtsd2ss	%xmm0, %xmm0
	je	.L26
	comiss	%xmm0, %xmm2
	jnb	.L60
.L26:
	movl	$2, 48(%rsp)
	movl	$1, %edi
	xorl	%r15d, %r15d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L57:
	movl	44(%rsp), %eax
	leaq	.LC3(%rip), %rdi
	testl	%eax, %eax
	je	.L24
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L58:
	xorl	%eax, %eax
	call	I
	leaq	.LC4(%rip), %rdi
	testl	%eax, %eax
	jne	.L24
	andl	$1, %r15d
	leaq	.LC5(%rip), %rdi
	je	.L24
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L59:
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.globl	R
	.bss
	.align 4
	.type	R, @object
	.size	R, 4
R:
	.zero	4
	.globl	F
	.align 4
	.type	F, @object
	.size	F, 4
F:
	.zero	4
	.globl	E
	.align 4
	.type	E, @object
	.size	E, 4
E:
	.zero	4
	.globl	D
	.align 4
	.type	D, @object
	.size	D, 4
D:
	.zero	4
	.globl	C
	.align 4
	.type	C, @object
	.size	C, 4
C:
	.zero	4
	.globl	B
	.align 4
	.type	B, @object
	.size	B, 4
B:
	.zero	4
	.globl	A
	.align 4
	.type	A, @object
	.size	A, 4
A:
	.zero	4
	.globl	q
	.align 4
	.type	q, @object
	.size	q, 4
q:
	.zero	4
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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	M
	.type	M, @function
M:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edx, %r15d
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movl	%ecx, %r14d
	subl	%edi, %r15d
	subl	%esi, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	cvtsi2sdl	%r15d, %xmm0
	movl	%ecx, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	cvtsi2sdl	%r14d, %xmm1
	movl	%esi, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movl	%edx, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	%edi, %ebx
	imull	%r15d, %ebp
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	hypot@PLT
	movl	%r12d, %eax
	movl	%r15d, %edx
	subl	%r13d, %eax
	imull	%r12d, %edx
	movapd	%xmm0, %xmm1
	imull	%ebx, %eax
	pxor	%xmm0, %xmm0
	imull	%r15d, %ebx
	imull	%r14d, %r12d
	addl	%edx, %eax
	imull	%r14d, %r13d
	cvtsi2sdl	%eax, %xmm0
	andpd	.LC0(%rip), %xmm0
	addl	%r12d, %ebx
	divsd	%xmm1, %xmm0
	addl	%r13d, %ebp
	shrl	$31, %ebx
	pxor	%xmm1, %xmm1
	testl	%ebp, %ebp
	cvtsi2ssl	R(%rip), %xmm1
	setg	%al
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, q(%rip)
	testb	%bl, %al
	je	.L3
	comiss	%xmm0, %xmm1
	jb	.L3
	seta	%al
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movzbl	%al, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	addl	$1, %eax
	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
.L3:
	.cfi_restore_state
	addq	$8, %rsp
	.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
	.cfi_endproc
.LFE0:
	.size	M, .-M
	.p2align 4
	.globl	I
	.type	I, @function
I:
.LFB1:
	.cfi_startproc
	endbr64
	movl	E(%rip), %esi
	movl	F(%rip), %edx
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	B(%rip), %ecx
	movl	A(%rip), %eax
	pxor	%xmm2, %xmm2
	movl	%esi, %edi
	movl	%edx, %r8d
	imull	%eax, %r8d
	imull	%ecx, %edi
	subl	%r8d, %edi
	movl	D(%rip), %r8d
	cvtsi2ssl	%edi, %xmm1
	movl	C(%rip), %edi
	imull	%r8d, %esi
	imull	%edi, %edx
	movss	%xmm1, q(%rip)
	subl	%esi, %edx
	cvtsi2ssl	%edx, %xmm0
	mulss	%xmm1, %xmm0
	comiss	%xmm2, %xmm0
	pxor	%xmm0, %xmm0
	seta	%dl
	imull	%r8d, %eax
	imull	%edi, %ecx
	subl	%ecx, %eax
	cvtsi2ssl	%eax, %xmm0
	xorl	%eax, %eax
	mulss	%xmm1, %xmm0
	comiss	%xmm2, %xmm0
	seta	%al
	andl	%edx, %eax
	ret
	.cfi_endproc
.LFE1:
	.size	I, .-I
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"c"
.LC3:
	.string	"b"
.LC4:
	.string	"a"
.LC5:
	.string	"d"
.LC6:
	.string	"%d%d%d%d%d%d%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	$88, %rsp
	.cfi_def_cfa_offset 144
	leaq	72(%rsp), %rax
	movl	%edi, 76(%rsp)
	movq	%rax, 56(%rsp)
	leaq	76(%rsp), %rax
	movl	%esi, 72(%rsp)
	movq	%rax, 64(%rsp)
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L60:
	movl	$2, %edi
	movl	$3, %esi
	seta	%r15b
	cmova	%edi, %esi
	seta	%dil
	movzbl	%r15b, %r15d
	movzbl	%dil, %edi
	addl	$1, %r15d
	movl	%esi, 48(%rsp)
	leal	1(%rdi,%rdi), %edi
.L16:
	movl	%r8d, %esi
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movl	%ecx, 36(%rsp)
	subl	%r9d, %esi
	movl	%r12d, %r9d
	movl	%eax, 32(%rsp)
	subl	%r13d, %r9d
	cvtsi2sdl	%esi, %xmm0
	movl	%edx, 28(%rsp)
	subl	%r12d, %r13d
	cvtsi2sdl	%r9d, %xmm1
	movl	%r8d, 24(%rsp)
	movl	%esi, 20(%rsp)
	movl	%r9d, 16(%rsp)
	movss	%xmm2, 40(%rsp)
	movl	%edi, 52(%rsp)
	call	hypot@PLT
	movl	20(%rsp), %esi
	movl	36(%rsp), %ecx
	movl	%ebp, %r10d
	movapd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	movl	16(%rsp), %r9d
	movl	28(%rsp), %edx
	imull	%ecx, %r13d
	movl	24(%rsp), %r8d
	movl	32(%rsp), %eax
	imull	%esi, %r10d
	movss	40(%rsp), %xmm2
	imull	%esi, %ecx
	imull	%r9d, %ebp
	addl	%r10d, %r13d
	imull	%ebx, %esi
	cvtsi2sdl	%r13d, %xmm0
	andpd	.LC0(%rip), %xmm0
	imull	%edx, %r9d
	addl	%ecx, %ebp
	divsd	%xmm1, %xmm0
	shrl	$31, %ebp
	addl	%r9d, %esi
	testl	%esi, %esi
	setg	%cl
	testb	%bpl, %cl
	cvtsd2ss	%xmm0, %xmm0
	je	.L18
	comiss	%xmm0, %xmm2
	jb	.L18
	movl	48(%rsp), %r15d
	movl	52(%rsp), %edi
	cmovbe	%edi, %r15d
.L18:
	movl	12(%rsp), %ebp
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movl	%eax, 20(%rsp)
	movl	8(%rsp), %r13d
	movl	%edx, 16(%rsp)
	subl	%r8d, %ebp
	movss	%xmm2, 24(%rsp)
	subl	%r12d, %r13d
	cvtsi2sdl	%ebp, %xmm0
	cvtsi2sdl	%r13d, %xmm1
	imull	%ebp, %r14d
	call	hypot@PLT
	movl	16(%rsp), %edx
	subl	8(%rsp), %r12d
	imull	%ebx, %r12d
	movapd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	movl	20(%rsp), %eax
	movl	%edx, %ecx
	imull	%ebp, %ebx
	imull	%ebp, %ecx
	imull	%r13d, %eax
	imull	%r13d, %edx
	addl	%ecx, %r12d
	cvtsi2sdl	%r12d, %xmm0
	andpd	.LC0(%rip), %xmm0
	addl	%eax, %r14d
	addl	%edx, %ebx
	divsd	%xmm1, %xmm0
	shrl	$31, %ebx
	testl	%r14d, %r14d
	setg	%al
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, q(%rip)
	testb	%bl, %al
	je	.L20
	movss	24(%rsp), %xmm2
	comiss	%xmm0, %xmm2
	jb	.L20
	ja	.L57
	orl	$1, %r15d
.L20:
	movl	44(%rsp), %eax
	leaq	.LC3(%rip), %rdi
	testl	%eax, %eax
	je	.L24
	movl	%r15d, %edx
	subl	$3, %eax
	andl	$2, %edx
	orl	%edx, %eax
	je	.L58
.L23:
	leaq	.LC2(%rip), %rdi
.L24:
	call	puts@PLT
.L15:
	leaq	R(%rip), %rax
	leaq	D(%rip), %r8
	pushq	%rax
	.cfi_def_cfa_offset 152
	leaq	F(%rip), %rax
	leaq	E(%rip), %r9
	pushq	64(%rsp)
	.cfi_def_cfa_offset 160
	leaq	C(%rip), %rcx
	leaq	B(%rip), %rdx
	pushq	80(%rsp)
	.cfi_def_cfa_offset 168
	leaq	A(%rip), %rsi
	leaq	.LC6(%rip), %rdi
	pushq	%rax
	.cfi_def_cfa_offset 176
	xorl	%eax, %eax
	call	scanf@PLT
	movl	A(%rip), %r8d
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	testl	%r8d, %r8d
	je	.L59
	movl	B(%rip), %r12d
	movl	R(%rip), %r10d
	movl	%r8d, %ebx
	movl	%r8d, 40(%rsp)
	subl	76(%rsp), %ebx
	movl	D(%rip), %r8d
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movl	%r12d, %edx
	subl	72(%rsp), %edx
	movl	%ebx, %esi
	movl	%r10d, %r11d
	movl	%edx, %edi
	imull	%ebx, %esi
	movl	C(%rip), %eax
	movl	%edx, 32(%rsp)
	imull	%edx, %edi
	movl	E(%rip), %r9d
	movl	F(%rip), %r13d
	movl	%edx, B(%rip)
	imull	%r10d, %r11d
	movl	%eax, 12(%rsp)
	movl	%eax, %r14d
	movl	%r8d, %eax
	subl	76(%rsp), %r14d
	subl	72(%rsp), %eax
	movl	%r9d, %ecx
	movl	%r13d, %ebp
	addl	%edi, %esi
	subl	76(%rsp), %ecx
	subl	72(%rsp), %ebp
	movl	%eax, %r15d
	xorl	%edi, %edi
	cmpl	%r11d, %esi
	movl	%r14d, %esi
	movl	%eax, D(%rip)
	setg	%dil
	imull	%eax, %r15d
	movl	%ecx, E(%rip)
	imull	%r14d, %esi
	movl	%r10d, 36(%rsp)
	movl	%eax, 28(%rsp)
	movl	%ecx, 24(%rsp)
	addl	%r15d, %esi
	movl	%ebp, %r15d
	movl	%r9d, 20(%rsp)
	cmpl	%esi, %r11d
	movl	%r8d, 8(%rsp)
	setl	%sil
	imull	%ebp, %r15d
	movl	%ebx, A(%rip)
	movzbl	%sil, %esi
	movl	%r14d, C(%rip)
	addl	%edi, %esi
	movl	%ecx, %edi
	movl	%ebp, F(%rip)
	imull	%ecx, %edi
	addl	%r15d, %edi
	movl	%r9d, %r15d
	cmpl	%edi, %r11d
	setl	%dil
	subl	12(%rsp), %r15d
	movzbl	%dil, %edi
	cvtsi2sdl	%r15d, %xmm0
	leal	(%rsi,%rdi), %edx
	movl	%r13d, %esi
	subl	%r8d, %esi
	movl	%edx, 44(%rsp)
	cvtsi2sdl	%esi, %xmm1
	movl	%esi, 16(%rsp)
	call	hypot@PLT
	movl	28(%rsp), %eax
	movl	8(%rsp), %edi
	pxor	%xmm2, %xmm2
	movapd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	movl	16(%rsp), %esi
	movl	24(%rsp), %ecx
	subl	%r13d, %edi
	movl	%eax, %r11d
	movl	36(%rsp), %r10d
	movl	20(%rsp), %r9d
	imull	%r15d, %r11d
	movl	32(%rsp), %edx
	movl	40(%rsp), %r8d
	imull	%r14d, %edi
	cvtsi2ssl	%r10d, %xmm2
	movl	%eax, %r10d
	imull	%esi, %r10d
	addl	%r11d, %edi
	imull	%ebp, %esi
	cvtsi2sdl	%edi, %xmm0
	andpd	.LC0(%rip), %xmm0
	movl	%r14d, %edi
	imull	%r15d, %edi
	divsd	%xmm1, %xmm0
	imull	%ecx, %r15d
	addl	%r10d, %edi
	addl	%esi, %r15d
	shrl	$31, %edi
	testl	%r15d, %r15d
	setg	%sil
	testb	%dil, %sil
	cvtsd2ss	%xmm0, %xmm0
	je	.L26
	comiss	%xmm0, %xmm2
	jnb	.L60
.L26:
	movl	$2, 48(%rsp)
	movl	$1, %edi
	xorl	%r15d, %r15d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L57:
	movl	44(%rsp), %eax
	leaq	.LC3(%rip), %rdi
	testl	%eax, %eax
	je	.L24
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L58:
	xorl	%eax, %eax
	call	I
	leaq	.LC4(%rip), %rdi
	testl	%eax, %eax
	jne	.L24
	andl	$1, %r15d
	leaq	.LC5(%rip), %rdi
	je	.L24
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L59:
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.globl	R
	.bss
	.align 4
	.type	R, @object
	.size	R, 4
R:
	.zero	4
	.globl	F
	.align 4
	.type	F, @object
	.size	F, 4
F:
	.zero	4
	.globl	E
	.align 4
	.type	E, @object
	.size	E, 4
E:
	.zero	4
	.globl	D
	.align 4
	.type	D, @object
	.size	D, 4
D:
	.zero	4
	.globl	C
	.align 4
	.type	C, @object
	.size	C, 4
C:
	.zero	4
	.globl	B
	.align 4
	.type	B, @object
	.size	B, 4
B:
	.zero	4
	.globl	A
	.align 4
	.type	A, @object
	.size	A, 4
A:
	.zero	4
	.globl	q
	.align 4
	.type	q, @object
	.size	q, 4
q:
	.zero	4
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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:

float q;
A,B,C,D,E,F,R;
M(a,b,c,d,e,f){
	e=c-a;
	f=d-b;
	q=fabs(-f*a+e*b)/hypot(e,f);
	return a*e+b*f<0&c*e+d*f>0&q<=R?q<R?2:1:0;
}
I(){
	q=E*B-F*A;
	return(C*F-D*E)*q>0&q*(A*D-B*C)>0;
}
main(v,w,o,c){
	for(;scanf("%d%d%d%d%d%d%d%d%d",&A,&B,&C,&D,&E,&F,&v,&w,&R),A;){
		A-=v,B-=w;
		C-=v,D-=w;
		E-=v,F-=w;
		o=(A*A+B*B>R*R)+(C*C+D*D>R*R)+(E*E+F*F>R*R);
		c=M(C,D,E,F)|M(E,F,A,B)|M(A,B,C,D);
		puts(o?o-3|c&2?"c":I()?"a":c&1?"c":"d":"b");
	}
	exit(0);
}
1 1
3 1
3 3
3 2
3
3 12
9 3
11 12
8 7
5
15 3
17 7
22 5
7 6
5
6 11
8 2
16 9
10 8
2
0 0
 2 1
3 1
3 3
3 2
3
3 12
9 3
11 12
8 7
5
15 3
17 7
22 5
7 6
5
6 11
8 2
16 9
15 8
0
0 0
 2 1
3 1
3 3
3 2
3
3 12
9 3
11 12
8 7
5
5 3
17 7
22 5
7 6
5
6 11
8 2
16 9
15 8
0
0 0
 2 1
3 1
3 3
3 4
3
3 12
9 3
11 12
8 7
5
5 3
17 7
22 5
7 6
5
6 11
8 2
16 9
15 8
0
0 0
 2 1
3 1
3 3
3 4
3
3 12
9 3
11 12
8 7
5
5 3
17 7
22 5
7 6
5
6 11
8 2
16 9
10 8
0
0 0
 1 1
3 1
3 3
3 2
3
3 12
9 3
11 12
8 7
5
15 3
17 7
22 5
7 6
4
6 11
13 2
16 9
10 8
2
0 0
 1 1
3 1
3 3
3 2
3
3 12
9 3
11 12
8 7
5
10 3
17 7
22 5
7 6
5
6 11
8 2
16 9
10 8
0
0 0
 2 1
3 1
3 3
3 4
3
3 12
9 3
11 12
8 7
5
5 3
17 7
22 5
7 6
2
6 11
12 2
16 9
19 8
0
0 0
 1 1
3 1
3 3
3 2
3
3 8
9 3
11 12
8 7
9
15 3
17 7
22 5
5 6
5
6 11
8 2
16 9
13 8
2
0 0
 2 1
3 1
2 3
3 2
4
3 12
9 3
11 12
3 6
3
5 3
17 7
22 5
7 6
7
6 11
8 2
16 9
19 8
0
0 0

b
c
d
a
 b
c
d
d
 b
c
c
d
 c
c
c
d
 c
c
c
a
 b
c
d
c
 b
c
c
a
 c
c
d
d
 b
b
d
c
 b
d
c
d

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

```c
float q;
A,B,C,D,E,F,R;
M(a,b,c,d,e,f){
	e=c-a;
	f=d-b;
	q=fabs(-f*a+e*b)/hypot(e,f);
	return a*e+b*f<0&c*e+d*f>0&q<=R?q<R?2:1:0;
}
I(){
	q=E*B-F*A;
	return(C*F-D*E)*q>0&q*(A*D-B*C)>0;
}
main(v,w,o,c){
	for(;scanf("%d%d%d%d%d%d%d%d%d",&A,&B,&C,&D,&E,&F,&v,&w,&R),A;){
		A-=v,B-=w;
		C-=v,D-=w;
		E-=v,F-=w;
		o=(A*A+B*B>R*R)+(C*C+D*D>R*R)+(E*E+F*F>R*R);
		c=M(C,D,E,F)|M(E,F,A,B)|M(A,B,C,D);
		puts(o?o-3|c&2?"c":I()?"a":c&1?"c":"d":"b");
	}
	exit(0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	q
	.bss
	.align 4
	.type	q, @object
	.size	q, 4
q:
	.zero	4
	.globl	A
	.align 4
	.type	A, @object
	.size	A, 4
A:
	.zero	4
	.globl	B
	.align 4
	.type	B, @object
	.size	B, 4
B:
	.zero	4
	.globl	C
	.align 4
	.type	C, @object
	.size	C, 4
C:
	.zero	4
	.globl	D
	.align 4
	.type	D, @object
	.size	D, 4
D:
	.zero	4
	.globl	E
	.align 4
	.type	E, @object
	.size	E, 4
E:
	.zero	4
	.globl	F
	.align 4
	.type	F, @object
	.size	F, 4
F:
	.zero	4
	.globl	R
	.align 4
	.type	R, @object
	.size	R, 4
R:
	.zero	4
	.text
	.globl	M
	.type	M, @function
M:
.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
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	movl	%r8d, -20(%rbp)
	movl	%r9d, -24(%rbp)
	movl	-12(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-16(%rbp), %eax
	subl	-8(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-24(%rbp), %eax
	negl	%eax
	imull	-4(%rbp), %eax
	movl	%eax, %edx
	movl	-20(%rbp), %eax
	imull	-8(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm1, %xmm0
	movsd	%xmm0, -32(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-24(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-20(%rbp), %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	hypot@PLT
	movsd	-32(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	movss	%xmm0, q(%rip)
	movl	-4(%rbp), %eax
	imull	-20(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	-24(%rbp), %eax
	addl	%edx, %eax
	shrl	$31, %eax
	movl	%eax, %ecx
	movl	-12(%rbp), %eax
	imull	-20(%rbp), %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	imull	-24(%rbp), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	setg	%al
	andl	%ecx, %eax
	movzbl	%al, %edx
	movl	R(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2ssl	%eax, %xmm0
	movss	q(%rip), %xmm1
	comiss	%xmm1, %xmm0
	setnb	%al
	movzbl	%al, %eax
	andl	%edx, %eax
	testl	%eax, %eax
	je	.L2
	movl	R(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2ssl	%eax, %xmm0
	movss	q(%rip), %xmm1
	comiss	%xmm1, %xmm0
	jbe	.L9
	movl	$2, %eax
	jmp	.L7
.L9:
	movl	$1, %eax
	jmp	.L7
.L2:
	movl	$0, %eax
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	M, .-M
	.globl	I
	.type	I, @function
I:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	E(%rip), %edx
	movl	B(%rip), %eax
	imull	%edx, %eax
	movl	F(%rip), %ecx
	movl	A(%rip), %edx
	imull	%ecx, %edx
	subl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2ssl	%eax, %xmm0
	movss	%xmm0, q(%rip)
	movl	C(%rip), %edx
	movl	F(%rip), %eax
	imull	%edx, %eax
	movl	D(%rip), %ecx
	movl	E(%rip), %edx
	imull	%ecx, %edx
	subl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2ssl	%eax, %xmm1
	movss	q(%rip), %xmm0
	mulss	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	seta	%sil
	movl	A(%rip), %edx
	movl	D(%rip), %eax
	imull	%edx, %eax
	movl	B(%rip), %ecx
	movl	C(%rip), %edx
	imull	%ecx, %edx
	subl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2ssl	%eax, %xmm1
	movss	q(%rip), %xmm0
	mulss	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	seta	%al
	andl	%esi, %eax
	movzbl	%al, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	I, .-I
	.section	.rodata
.LC2:
	.string	"c"
.LC3:
	.string	"d"
.LC4:
	.string	"a"
.LC5:
	.string	"b"
.LC6:
	.string	"%d%d%d%d%d%d%d%d%d"
	.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
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, -28(%rbp)
	movl	%ecx, -32(%rbp)
	jmp	.L13
.L22:
	movl	A(%rip), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, A(%rip)
	movl	B(%rip), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, B(%rip)
	movl	C(%rip), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, C(%rip)
	movl	D(%rip), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, D(%rip)
	movl	E(%rip), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, E(%rip)
	movl	F(%rip), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, F(%rip)
	movl	A(%rip), %edx
	movl	A(%rip), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	B(%rip), %edx
	movl	B(%rip), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	R(%rip), %edx
	movl	R(%rip), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	setg	%al
	movzbl	%al, %esi
	movl	C(%rip), %edx
	movl	C(%rip), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	D(%rip), %edx
	movl	D(%rip), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	R(%rip), %edx
	movl	R(%rip), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	setg	%al
	movzbl	%al, %eax
	addl	%eax, %esi
	movl	E(%rip), %edx
	movl	E(%rip), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	F(%rip), %edx
	movl	F(%rip), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	R(%rip), %edx
	movl	R(%rip), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	setg	%al
	movzbl	%al, %eax
	addl	%esi, %eax
	movl	%eax, -28(%rbp)
	movl	F(%rip), %ecx
	movl	E(%rip), %edx
	movl	D(%rip), %esi
	movl	C(%rip), %eax
	movl	%eax, %edi
	movl	$0, %eax
	call	M
	movl	%eax, %ebx
	movl	B(%rip), %ecx
	movl	A(%rip), %edx
	movl	F(%rip), %esi
	movl	E(%rip), %eax
	movl	%eax, %edi
	movl	$0, %eax
	call	M
	orl	%eax, %ebx
	movl	D(%rip), %ecx
	movl	C(%rip), %edx
	movl	B(%rip), %esi
	movl	A(%rip), %eax
	movl	%eax, %edi
	movl	$0, %eax
	call	M
	orl	%ebx, %eax
	movl	%eax, -32(%rbp)
	cmpl	$0, -28(%rbp)
	je	.L14
	movl	-28(%rbp), %eax
	leal	-3(%rax), %edx
	movl	-32(%rbp), %eax
	andl	$2, %eax
	orl	%edx, %eax
	testl	%eax, %eax
	jne	.L15
	movl	$0, %eax
	call	I
	testl	%eax, %eax
	jne	.L16
	movl	-32(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L17
	leaq	.LC2(%rip), %rax
	jmp	.L21
.L17:
	leaq	.LC3(%rip), %rax
	jmp	.L21
.L16:
	leaq	.LC4(%rip), %rax
	jmp	.L21
.L15:
	leaq	.LC2(%rip), %rax
	jmp	.L21
.L14:
	leaq	.LC5(%rip), %rax
.L21:
	movq	%rax, %rdi
	call	puts@PLT
.L13:
	leaq	R(%rip), %rax
	pushq	%rax
	leaq	-24(%rbp), %rax
	pushq	%rax
	leaq	-20(%rbp), %rax
	pushq	%rax
	leaq	F(%rip), %rax
	pushq	%rax
	leaq	E(%rip), %r9
	leaq	D(%rip), %r8
	leaq	C(%rip), %rax
	movq	%rax, %rcx
	leaq	B(%rip), %rax
	movq	%rax, %rdx
	leaq	A(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addq	$32, %rsp
	movl	A(%rip), %eax
	testl	%eax, %eax
	jne	.L22
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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	q
	.bss
	.align 4
	.type	q, @object
	.size	q, 4
q:
	.zero	4
	.globl	A
	.align 4
	.type	A, @object
	.size	A, 4
A:
	.zero	4
	.globl	B
	.align 4
	.type	B, @object
	.size	B, 4
B:
	.zero	4
	.globl	C
	.align 4
	.type	C, @object
	.size	C, 4
C:
	.zero	4
	.globl	D
	.align 4
	.type	D, @object
	.size	D, 4
D:
	.zero	4
	.globl	E
	.align 4
	.type	E, @object
	.size	E, 4
E:
	.zero	4
	.globl	F
	.align 4
	.type	F, @object
	.size	F, 4
F:
	.zero	4
	.globl	R
	.align 4
	.type	R, @object
	.size	R, 4
R:
	.zero	4
	.text
	.globl	M
	.type	M, @function
M:
.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
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	movl	%r8d, -20(%rbp)
	movl	%r9d, -24(%rbp)
	movl	-12(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-16(%rbp), %eax
	subl	-8(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-24(%rbp), %eax
	negl	%eax
	imull	-4(%rbp), %eax
	movl	%eax, %edx
	movl	-20(%rbp), %eax
	imull	-8(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	.LC0(%rip), %xmm1
	andpd	%xmm1, %xmm0
	movsd	%xmm0, -32(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-24(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-20(%rbp), %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	hypot@PLT
	movsd	-32(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	movss	%xmm0, q(%rip)
	movl	-4(%rbp), %eax
	imull	-20(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	-24(%rbp), %eax
	addl	%edx, %eax
	shrl	$31, %eax
	movl	%eax, %ecx
	movl	-12(%rbp), %eax
	imull	-20(%rbp), %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	imull	-24(%rbp), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	setg	%al
	andl	%ecx, %eax
	movzbl	%al, %edx
	movl	R(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2ssl	%eax, %xmm0
	movss	q(%rip), %xmm1
	comiss	%xmm1, %xmm0
	setnb	%al
	movzbl	%al, %eax
	andl	%edx, %eax
	testl	%eax, %eax
	je	.L2
	movl	R(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2ssl	%eax, %xmm0
	movss	q(%rip), %xmm1
	comiss	%xmm1, %xmm0
	jbe	.L9
	movl	$2, %eax
	jmp	.L7
.L9:
	movl	$1, %eax
	jmp	.L7
.L2:
	movl	$0, %eax
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	M, .-M
	.globl	I
	.type	I, @function
I:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	E(%rip), %edx
	movl	B(%rip), %eax
	imull	%edx, %eax
	movl	F(%rip), %ecx
	movl	A(%rip), %edx
	imull	%ecx, %edx
	subl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2ssl	%eax, %xmm0
	movss	%xmm0, q(%rip)
	movl	C(%rip), %edx
	movl	F(%rip), %eax
	imull	%edx, %eax
	movl	D(%rip), %ecx
	movl	E(%rip), %edx
	imull	%ecx, %edx
	subl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2ssl	%eax, %xmm1
	movss	q(%rip), %xmm0
	mulss	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	seta	%sil
	movl	A(%rip), %edx
	movl	D(%rip), %eax
	imull	%edx, %eax
	movl	B(%rip), %ecx
	movl	C(%rip), %edx
	imull	%ecx, %edx
	subl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2ssl	%eax, %xmm1
	movss	q(%rip), %xmm0
	mulss	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	seta	%al
	andl	%esi, %eax
	movzbl	%al, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	I, .-I
	.section	.rodata
.LC2:
	.string	"c"
.LC3:
	.string	"d"
.LC4:
	.string	"a"
.LC5:
	.string	"b"
.LC6:
	.string	"%d%d%d%d%d%d%d%d%d"
	.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
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, -28(%rbp)
	movl	%ecx, -32(%rbp)
	jmp	.L13
.L22:
	movl	A(%rip), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, A(%rip)
	movl	B(%rip), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, B(%rip)
	movl	C(%rip), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, C(%rip)
	movl	D(%rip), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, D(%rip)
	movl	E(%rip), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, E(%rip)
	movl	F(%rip), %eax
	movl	-24(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, F(%rip)
	movl	A(%rip), %edx
	movl	A(%rip), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	B(%rip), %edx
	movl	B(%rip), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	R(%rip), %edx
	movl	R(%rip), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	setg	%al
	movzbl	%al, %esi
	movl	C(%rip), %edx
	movl	C(%rip), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	D(%rip), %edx
	movl	D(%rip), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	R(%rip), %edx
	movl	R(%rip), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	setg	%al
	movzbl	%al, %eax
	addl	%eax, %esi
	movl	E(%rip), %edx
	movl	E(%rip), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	F(%rip), %edx
	movl	F(%rip), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	R(%rip), %edx
	movl	R(%rip), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	setg	%al
	movzbl	%al, %eax
	addl	%esi, %eax
	movl	%eax, -28(%rbp)
	movl	F(%rip), %ecx
	movl	E(%rip), %edx
	movl	D(%rip), %esi
	movl	C(%rip), %eax
	movl	%eax, %edi
	movl	$0, %eax
	call	M
	movl	%eax, %ebx
	movl	B(%rip), %ecx
	movl	A(%rip), %edx
	movl	F(%rip), %esi
	movl	E(%rip), %eax
	movl	%eax, %edi
	movl	$0, %eax
	call	M
	orl	%eax, %ebx
	movl	D(%rip), %ecx
	movl	C(%rip), %edx
	movl	B(%rip), %esi
	movl	A(%rip), %eax
	movl	%eax, %edi
	movl	$0, %eax
	call	M
	orl	%ebx, %eax
	movl	%eax, -32(%rbp)
	cmpl	$0, -28(%rbp)
	je	.L14
	movl	-28(%rbp), %eax
	leal	-3(%rax), %edx
	movl	-32(%rbp), %eax
	andl	$2, %eax
	orl	%edx, %eax
	testl	%eax, %eax
	jne	.L15
	movl	$0, %eax
	call	I
	testl	%eax, %eax
	jne	.L16
	movl	-32(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L17
	leaq	.LC2(%rip), %rax
	jmp	.L21
.L17:
	leaq	.LC3(%rip), %rax
	jmp	.L21
.L16:
	leaq	.LC4(%rip), %rax
	jmp	.L21
.L15:
	leaq	.LC2(%rip), %rax
	jmp	.L21
.L14:
	leaq	.LC5(%rip), %rax
.L21:
	movq	%rax, %rdi
	call	puts@PLT
.L13:
	leaq	R(%rip), %rax
	pushq	%rax
	leaq	-24(%rbp), %rax
	pushq	%rax
	leaq	-20(%rbp), %rax
	pushq	%rax
	leaq	F(%rip), %rax
	pushq	%rax
	leaq	E(%rip), %r9
	leaq	D(%rip), %r8
	leaq	C(%rip), %rax
	movq	%rax, %rcx
	leaq	B(%rip), %rax
	movq	%rax, %rdx
	leaq	A(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addq	$32, %rsp
	movl	A(%rip), %eax
	testl	%eax, %eax
	jne	.L22
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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:
