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>
long long int llmin(long long int a, long long int b)
{
	if (a < b)
		return a;
	else
		return b;
}
long long int llabs(long long int n)
{
	if (n < 0)
		n *= -1;
	return n;
}
int main()
{
	int a, b, q;
	scanf("%d %d %d", &a, &b, &q);
	int i;
	long long int s[100005], t[100005], x[100005];
	for (i = 0; i < a; i++)
		scanf("%lld", &s[i]);
	for (i = 0; i < b; i++)
		scanf("%lld", &t[i]);
	for (i = 0; i < q; i++)
		scanf("%lld", &x[i]);
	long long int ms[100005], mt[100005];
	int min, mid, max;
	for (i = 0; i < a; i++)
	{
		if (s[i] <= t[0])
			ms[i] = t[0] - s[i];
		else if (s[i] >= t[b - 1])
			ms[i] = s[i] - t[b - 1];
		else
		{
			min = 0;
			max = b - 1;
			while (max - min > 1)
			{
				mid = (max + min) / 2;
				if (t[mid] < s[i])
					min = mid;
				else
					max = mid;
			}
			ms[i] = llmin(s[i] - t[min], t[max] - s[i]);
		}
	}
	for (i = 0; i < b; i++)
	{
		if (t[i] <= s[0])
			mt[i] = s[0] - t[i];
		else if (t[i] >= s[a - 1])
			mt[i] = t[i] - s[a - 1];
		else
		{
			min = 0;
			max = a - 1;
			while (max - min > 1)
			{
				mid = (max + min) / 2;
				if (s[mid] < t[i])
					min = mid;
				else
					max = mid;
			}
			mt[i] = llmin(t[i] - s[min], s[max] - t[i]);
		}
	}
	long long int ans;
	for (i = 0; i < q; i++)
	{
		max = a - 1;
		min = 0;
		while (max - min > 1)
		{
			mid = (max + min) / 2;
			if (s[mid] < x[i])
				min = mid;
			else
				max = mid;
		}
		ans = llmin(llabs(x[i] - s[min]) + ms[min], llabs(x[i] - s[max]) + ms[max]);
		max = b - 1;
		min = 0;
		while (max - min > 1)
		{
			mid = (max + min) / 2;
			if (t[mid] < x[i])
				min = mid;
			else
				max = mid;
		}
		ans = llmin(ans, (llmin(llabs(x[i] - t[min]) + mt[min], llabs(x[i] - t[max]) + mt[max])));
		printf("%lld\n", ans);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	llmin
	.type	llmin, @function
llmin:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	cmpq	-16(%rbp), %rax
	jge	.L2
	movq	-8(%rbp), %rax
	jmp	.L3
.L2:
	movq	-16(%rbp), %rax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	llmin, .-llmin
	.globl	llabs
	.type	llabs, @function
llabs:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	cmpq	$0, -8(%rbp)
	jns	.L5
	negq	-8(%rbp)
.L5:
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	llabs, .-llabs
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.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
	leaq	-3997696(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2592, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-4000268(%rbp), %rcx
	leaq	-4000272(%rbp), %rdx
	leaq	-4000276(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4000264(%rbp)
	jmp	.L8
.L9:
	leaq	-4000240(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000264(%rbp)
.L8:
	movl	-4000276(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L9
	movl	$0, -4000264(%rbp)
	jmp	.L10
.L11:
	leaq	-3200192(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000264(%rbp)
.L10:
	movl	-4000272(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L11
	movl	$0, -4000264(%rbp)
	jmp	.L12
.L13:
	leaq	-2400144(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000264(%rbp)
.L12:
	movl	-4000268(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L13
	movl	$0, -4000264(%rbp)
	jmp	.L14
.L21:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movq	-3200192(%rbp), %rax
	cmpq	%rax, %rdx
	jg	.L15
	movq	-3200192(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -1600096(%rbp,%rax,8)
	jmp	.L16
.L15:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jl	.L17
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -1600096(%rbp,%rax,8)
	jmp	.L16
.L17:
	movl	$0, -4000260(%rbp)
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	jmp	.L18
.L20:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L19
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L18
.L19:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L18:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L20
	movl	-4000256(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movl	-4000264(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rax, -1600096(%rbp,%rdx,8)
.L16:
	addl	$1, -4000264(%rbp)
.L14:
	movl	-4000276(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L21
	movl	$0, -4000264(%rbp)
	jmp	.L22
.L29:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movq	-4000240(%rbp), %rax
	cmpq	%rax, %rdx
	jg	.L23
	movq	-4000240(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -800048(%rbp,%rax,8)
	jmp	.L24
.L23:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jl	.L25
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -800048(%rbp,%rax,8)
	jmp	.L24
.L25:
	movl	$0, -4000260(%rbp)
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	jmp	.L26
.L28:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L27
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L26
.L27:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L26:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L28
	movl	-4000256(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movl	-4000264(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rax, -800048(%rbp,%rdx,8)
.L24:
	addl	$1, -4000264(%rbp)
.L22:
	movl	-4000272(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L29
	movl	$0, -4000264(%rbp)
	jmp	.L30
.L37:
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	movl	$0, -4000260(%rbp)
	jmp	.L31
.L33:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L32
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L31
.L32:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L31:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L33
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rcx
	movq	%rdx, %rax
	subq	%rcx, %rax
	movq	%rax, %rdx
	negq	%rdx
	cmovs	%rax, %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-1600096(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovs	%rax, %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-1600096(%rbp,%rax,8), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movq	%rax, -4000248(%rbp)
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	movl	$0, -4000260(%rbp)
	jmp	.L34
.L36:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L35
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L34
.L35:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L34:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L36
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rcx
	movq	%rdx, %rax
	subq	%rcx, %rax
	movq	%rax, %rdx
	negq	%rdx
	cmovs	%rax, %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-800048(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovs	%rax, %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-800048(%rbp,%rax,8), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movq	%rax, %rdx
	movq	-4000248(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movq	%rax, -4000248(%rbp)
	movq	-4000248(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -4000264(%rbp)
.L30:
	movl	-4000268(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L37
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	llmin
	.type	llmin, @function
llmin:
.LFB23:
	.cfi_startproc
	endbr64
	cmpq	%rsi, %rdi
	movq	%rsi, %rax
	cmovle	%rdi, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	llmin, .-llmin
	.p2align 4
	.globl	llabs
	.type	llabs, @function
llabs:
.LFB24:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	negq	%rax
	cmovs	%rdi, %rax
	ret
	.cfi_endproc
.LFE24:
	.size	llabs, .-llabs
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB25:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	leaq	-3997696(%rsp), %r11
	.cfi_def_cfa 11, 3997752
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2584, %rsp
	.cfi_def_cfa_offset 4000336
	leaq	.LC0(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 4000264(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rdx
	leaq	28(%rsp), %rcx
	leaq	20(%rsp), %rsi
	leaq	32(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %edx
	testl	%edx, %edx
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$8, %r12
	cmpl	%ebx, 20(%rsp)
	jg	.L8
.L9:
	movl	24(%rsp), %eax
	xorl	%ebx, %ebx
	leaq	800080(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	testl	%eax, %eax
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$8, %r12
	cmpl	%ebx, 24(%rsp)
	jg	.L12
.L7:
	movl	28(%rsp), %ebx
	leaq	1600128(%rsp), %r13
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %rbp
	testl	%ebx, %ebx
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %ebx
	addq	$8, %r13
	cmpl	%r12d, %ebx
	jg	.L13
.L11:
	movl	20(%rsp), %eax
	movl	24(%rsp), %edx
	testl	%eax, %eax
	jle	.L23
	leal	-1(%rdx), %esi
	movslq	%eax, %r14
	leaq	32(%rsp), %r13
	xorl	%r11d, %r11d
	movl	%esi, 12(%rsp)
	movq	800080(%rsp), %rbp
	leaq	2400176(%rsp), %r12
	movslq	%esi, %r15
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L58:
	movq	%rbp, %rcx
	subq	%rdi, %rcx
.L18:
	movq	%rcx, (%r12,%r11,8)
	addq	$1, %r11
	cmpq	%r11, %r14
	je	.L23
.L22:
	movq	0(%r13,%r11,8), %rdi
	cmpq	%rbp, %rdi
	jle	.L58
	movq	800080(%rsp,%r15,8), %r9
	cmpq	%r9, %rdi
	jl	.L39
	movq	%rdi, %rcx
	subq	%r9, %rcx
	movq	%rcx, (%r12,%r11,8)
	addq	$1, %r11
	cmpq	%r11, %r14
	jne	.L22
.L23:
	testl	%edx, %edx
	jle	.L16
	leal	-1(%rax), %r15d
	movl	%eax, 12(%rsp)
	movq	32(%rsp), %rbp
	movslq	%edx, %r14
	movslq	%r15d, %rsi
	xorl	%r11d, %r11d
	leaq	800080(%rsp), %r13
	leaq	3200224(%rsp), %r12
	movq	%rsi, %rax
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L60:
	movq	%rbp, %rcx
	subq	%rdi, %rcx
.L27:
	movq	%rcx, (%r12,%r11,8)
	addq	$1, %r11
	cmpq	%r11, %r14
	je	.L59
.L31:
	movq	0(%r13,%r11,8), %rdi
	cmpq	%rbp, %rdi
	jle	.L60
	movq	32(%rsp,%rax,8), %r10
	movl	%r15d, %r9d
	cmpq	%r10, %rdi
	jl	.L42
	movq	%rdi, %rcx
	subq	%r10, %rcx
	movq	%rcx, (%r12,%r11,8)
	addq	$1, %r11
	cmpq	%r11, %r14
	jne	.L31
.L59:
	movl	12(%rsp), %eax
.L16:
	xorl	%r13d, %r13d
	leaq	1600128(%rsp), %r12
	leaq	.LC2(%rip), %rbp
	testl	%ebx, %ebx
	jle	.L25
	.p2align 4,,10
	.p2align 3
.L24:
	movq	(%r12,%r13,8), %rcx
	leal	-1(%rax), %esi
	xorl	%edi, %edi
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L34:
	leal	(%rsi,%rdi), %r8d
	movl	%r8d, %eax
	shrl	$31, %eax
	addl	%r8d, %eax
	sarl	%eax
	movslq	%eax, %r8
	cmpq	%rcx, 32(%rsp,%r8,8)
	cmovge	%eax, %esi
	cmovl	%eax, %edi
.L33:
	movl	%esi, %eax
	subl	%edi, %eax
	cmpl	$1, %eax
	jg	.L34
	movslq	%esi, %rsi
	movq	%rcx, %rax
	movslq	%edi, %rdi
	subq	32(%rsp,%rsi,8), %rax
	movq	%rax, %r8
	negq	%r8
	cmovs	%rax, %r8
	movq	%rcx, %rax
	subq	32(%rsp,%rdi,8), %rax
	addq	2400176(%rsp,%rsi,8), %r8
	movq	%rax, %r9
	negq	%r9
	cmovs	%rax, %r9
	subl	$1, %edx
	xorl	%esi, %esi
	addq	2400176(%rsp,%rdi,8), %r9
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L37:
	leal	(%rdx,%rsi), %edi
	movl	%edi, %eax
	shrl	$31, %eax
	addl	%edi, %eax
	sarl	%eax
	movslq	%eax, %rdi
	cmpq	%rcx, 800080(%rsp,%rdi,8)
	cmovge	%eax, %edx
	cmovl	%eax, %esi
.L36:
	movl	%edx, %eax
	subl	%esi, %eax
	cmpl	$1, %eax
	jg	.L37
	movslq	%edx, %rdx
	movq	%rcx, %rdi
	movslq	%esi, %rsi
	subq	800080(%rsp,%rdx,8), %rdi
	movq	%rdi, %rax
	negq	%rax
	cmovs	%rdi, %rax
	addq	3200224(%rsp,%rdx,8), %rax
	cmpq	%r9, %r8
	movl	$1, %edi
	cmovg	%r9, %r8
	movq	%rax, %rdx
	cmpq	%r8, %rax
	cmovg	%r8, %rdx
	subq	800080(%rsp,%rsi,8), %rcx
	movq	%rcx, %rax
	negq	%rax
	cmovs	%rcx, %rax
	addq	3200224(%rsp,%rsi,8), %rax
	movq	%rbp, %rsi
	cmpq	%rax, %rdx
	cmovg	%rax, %rdx
	xorl	%eax, %eax
	addq	$1, %r13
	call	__printf_chk@PLT
	cmpl	%r13d, 28(%rsp)
	jle	.L25
	movl	20(%rsp), %eax
	movl	24(%rsp), %edx
	jmp	.L24
.L39:
	movl	12(%rsp), %r10d
	xorl	%r8d, %r8d
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L21:
	leal	(%r8,%r10), %esi
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	movslq	%ecx, %rsi
	movq	800080(%rsp,%rsi,8), %rsi
	cmpq	%rsi, %rdi
	cmovle	%rsi, %r9
	cmovle	%ecx, %r10d
	cmovg	%ecx, %r8d
.L20:
	movl	%r10d, %ecx
	subl	%r8d, %ecx
	cmpl	$1, %ecx
	jg	.L21
	movslq	%r8d, %r8
	subq	%rdi, %r9
	movq	%rdi, %rcx
	subq	800080(%rsp,%r8,8), %rcx
	cmpq	%r9, %rcx
	cmovg	%r9, %rcx
	jmp	.L18
.L42:
	xorl	%r8d, %r8d
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L30:
	leal	(%r9,%r8), %esi
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	movslq	%ecx, %rsi
	movq	32(%rsp,%rsi,8), %rsi
	cmpq	%rsi, %rdi
	cmovle	%rsi, %r10
	cmovle	%ecx, %r9d
	cmovg	%ecx, %r8d
.L29:
	movl	%r9d, %ecx
	subl	%r8d, %ecx
	cmpl	$1, %ecx
	jg	.L30
	movslq	%r8d, %r8
	subq	%rdi, %r10
	movq	%rdi, %rcx
	subq	32(%rsp,%r8,8), %rcx
	cmpq	%r10, %rcx
	cmovg	%r10, %rcx
	jmp	.L27
.L25:
	movq	4000264(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L61
	addq	$4000280, %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
.L61:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE25:
	.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	llmin
	.type	llmin, @function
llmin:
.LFB23:
	.cfi_startproc
	endbr64
	cmpq	%rsi, %rdi
	movq	%rsi, %rax
	cmovle	%rdi, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	llmin, .-llmin
	.p2align 4
	.globl	llabs
	.type	llabs, @function
llabs:
.LFB24:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	negq	%rax
	cmovs	%rdi, %rax
	ret
	.cfi_endproc
.LFE24:
	.size	llabs, .-llabs
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB25:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	leaq	-3997696(%rsp), %r11
	.cfi_def_cfa 11, 3997752
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2584, %rsp
	.cfi_def_cfa_offset 4000336
	leaq	.LC0(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 4000264(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rdx
	leaq	28(%rsp), %rcx
	leaq	20(%rsp), %rsi
	leaq	32(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %edx
	testl	%edx, %edx
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$8, %r12
	cmpl	%ebx, 20(%rsp)
	jg	.L8
.L9:
	movl	24(%rsp), %eax
	xorl	%ebx, %ebx
	leaq	800080(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	testl	%eax, %eax
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$8, %r12
	cmpl	%ebx, 24(%rsp)
	jg	.L12
.L7:
	movl	28(%rsp), %ebx
	leaq	1600128(%rsp), %r13
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %rbp
	testl	%ebx, %ebx
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %ebx
	addq	$8, %r13
	cmpl	%r12d, %ebx
	jg	.L13
.L11:
	movl	20(%rsp), %eax
	movl	24(%rsp), %edx
	testl	%eax, %eax
	jle	.L23
	leal	-1(%rdx), %esi
	movslq	%eax, %r14
	leaq	32(%rsp), %r13
	xorl	%r11d, %r11d
	movl	%esi, 12(%rsp)
	movq	800080(%rsp), %rbp
	leaq	2400176(%rsp), %r12
	movslq	%esi, %r15
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L58:
	movq	%rbp, %rcx
	subq	%rdi, %rcx
.L18:
	movq	%rcx, (%r12,%r11,8)
	addq	$1, %r11
	cmpq	%r11, %r14
	je	.L23
.L22:
	movq	0(%r13,%r11,8), %rdi
	cmpq	%rbp, %rdi
	jle	.L58
	movq	800080(%rsp,%r15,8), %r9
	cmpq	%r9, %rdi
	jl	.L39
	movq	%rdi, %rcx
	subq	%r9, %rcx
	movq	%rcx, (%r12,%r11,8)
	addq	$1, %r11
	cmpq	%r11, %r14
	jne	.L22
.L23:
	testl	%edx, %edx
	jle	.L16
	leal	-1(%rax), %r15d
	movl	%eax, 12(%rsp)
	movq	32(%rsp), %rbp
	movslq	%edx, %r14
	movslq	%r15d, %rsi
	xorl	%r11d, %r11d
	leaq	800080(%rsp), %r13
	leaq	3200224(%rsp), %r12
	movq	%rsi, %rax
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L60:
	movq	%rbp, %rcx
	subq	%rdi, %rcx
.L27:
	movq	%rcx, (%r12,%r11,8)
	addq	$1, %r11
	cmpq	%r11, %r14
	je	.L59
.L31:
	movq	0(%r13,%r11,8), %rdi
	cmpq	%rbp, %rdi
	jle	.L60
	movq	32(%rsp,%rax,8), %r10
	movl	%r15d, %r9d
	cmpq	%r10, %rdi
	jl	.L42
	movq	%rdi, %rcx
	subq	%r10, %rcx
	movq	%rcx, (%r12,%r11,8)
	addq	$1, %r11
	cmpq	%r11, %r14
	jne	.L31
.L59:
	movl	12(%rsp), %eax
.L16:
	xorl	%r13d, %r13d
	leaq	1600128(%rsp), %r12
	leaq	.LC2(%rip), %rbp
	testl	%ebx, %ebx
	jle	.L25
	.p2align 4,,10
	.p2align 3
.L24:
	movq	(%r12,%r13,8), %rcx
	leal	-1(%rax), %esi
	xorl	%edi, %edi
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L34:
	leal	(%rsi,%rdi), %r8d
	movl	%r8d, %eax
	shrl	$31, %eax
	addl	%r8d, %eax
	sarl	%eax
	movslq	%eax, %r8
	cmpq	%rcx, 32(%rsp,%r8,8)
	cmovge	%eax, %esi
	cmovl	%eax, %edi
.L33:
	movl	%esi, %eax
	subl	%edi, %eax
	cmpl	$1, %eax
	jg	.L34
	movslq	%esi, %rsi
	movq	%rcx, %rax
	movslq	%edi, %rdi
	subq	32(%rsp,%rsi,8), %rax
	movq	%rax, %r8
	negq	%r8
	cmovs	%rax, %r8
	movq	%rcx, %rax
	subq	32(%rsp,%rdi,8), %rax
	addq	2400176(%rsp,%rsi,8), %r8
	movq	%rax, %r9
	negq	%r9
	cmovs	%rax, %r9
	subl	$1, %edx
	xorl	%esi, %esi
	addq	2400176(%rsp,%rdi,8), %r9
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L37:
	leal	(%rdx,%rsi), %edi
	movl	%edi, %eax
	shrl	$31, %eax
	addl	%edi, %eax
	sarl	%eax
	movslq	%eax, %rdi
	cmpq	%rcx, 800080(%rsp,%rdi,8)
	cmovge	%eax, %edx
	cmovl	%eax, %esi
.L36:
	movl	%edx, %eax
	subl	%esi, %eax
	cmpl	$1, %eax
	jg	.L37
	movslq	%edx, %rdx
	movq	%rcx, %rdi
	movslq	%esi, %rsi
	subq	800080(%rsp,%rdx,8), %rdi
	movq	%rdi, %rax
	negq	%rax
	cmovs	%rdi, %rax
	addq	3200224(%rsp,%rdx,8), %rax
	cmpq	%r9, %r8
	movl	$1, %edi
	cmovg	%r9, %r8
	movq	%rax, %rdx
	cmpq	%r8, %rax
	cmovg	%r8, %rdx
	subq	800080(%rsp,%rsi,8), %rcx
	movq	%rcx, %rax
	negq	%rax
	cmovs	%rcx, %rax
	addq	3200224(%rsp,%rsi,8), %rax
	movq	%rbp, %rsi
	cmpq	%rax, %rdx
	cmovg	%rax, %rdx
	xorl	%eax, %eax
	addq	$1, %r13
	call	__printf_chk@PLT
	cmpl	%r13d, 28(%rsp)
	jle	.L25
	movl	20(%rsp), %eax
	movl	24(%rsp), %edx
	jmp	.L24
.L39:
	movl	12(%rsp), %r10d
	xorl	%r8d, %r8d
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L21:
	leal	(%r8,%r10), %esi
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	movslq	%ecx, %rsi
	movq	800080(%rsp,%rsi,8), %rsi
	cmpq	%rsi, %rdi
	cmovle	%rsi, %r9
	cmovle	%ecx, %r10d
	cmovg	%ecx, %r8d
.L20:
	movl	%r10d, %ecx
	subl	%r8d, %ecx
	cmpl	$1, %ecx
	jg	.L21
	movslq	%r8d, %r8
	subq	%rdi, %r9
	movq	%rdi, %rcx
	subq	800080(%rsp,%r8,8), %rcx
	cmpq	%r9, %rcx
	cmovg	%r9, %rcx
	jmp	.L18
.L42:
	xorl	%r8d, %r8d
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L30:
	leal	(%r9,%r8), %esi
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	movslq	%ecx, %rsi
	movq	32(%rsp,%rsi,8), %rsi
	cmpq	%rsi, %rdi
	cmovle	%rsi, %r10
	cmovle	%ecx, %r9d
	cmovg	%ecx, %r8d
.L29:
	movl	%r9d, %ecx
	subl	%r8d, %ecx
	cmpl	$1, %ecx
	jg	.L30
	movslq	%r8d, %r8
	subq	%rdi, %r10
	movq	%rdi, %rcx
	subq	32(%rsp,%r8,8), %rcx
	cmpq	%r10, %rcx
	cmovg	%r10, %rcx
	jmp	.L27
.L25:
	movq	4000264(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L61
	addq	$4000280, %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
.L61:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE25:
	.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>
long long int llmin(long long int a, long long int b)
{
	if (a < b)
		return a;
	else
		return b;
}
long long int llabs(long long int n)
{
	if (n < 0)
		n *= -1;
	return n;
}
int main()
{
	int a, b, q;
	scanf("%d %d %d", &a, &b, &q);
	int i;
	long long int s[100005], t[100005], x[100005];
	for (i = 0; i < a; i++)
		scanf("%lld", &s[i]);
	for (i = 0; i < b; i++)
		scanf("%lld", &t[i]);
	for (i = 0; i < q; i++)
		scanf("%lld", &x[i]);
	long long int ms[100005], mt[100005];
	int min, mid, max;
	for (i = 0; i < a; i++)
	{
		if (s[i] <= t[0])
			ms[i] = t[0] - s[i];
		else if (s[i] >= t[b - 1])
			ms[i] = s[i] - t[b - 1];
		else
		{
			min = 0;
			max = b - 1;
			while (max - min > 1)
			{
				mid = (max + min) / 2;
				if (t[mid] < s[i])
					min = mid;
				else
					max = mid;
			}
			ms[i] = llmin(s[i] - t[min], t[max] - s[i]);
		}
	}
	for (i = 0; i < b; i++)
	{
		if (t[i] <= s[0])
			mt[i] = s[0] - t[i];
		else if (t[i] >= s[a - 1])
			mt[i] = t[i] - s[a - 1];
		else
		{
			min = 0;
			max = a - 1;
			while (max - min > 1)
			{
				mid = (max + min) / 2;
				if (s[mid] < t[i])
					min = mid;
				else
					max = mid;
			}
			mt[i] = llmin(t[i] - s[min], s[max] - t[i]);
		}
	}
	long long int ans;
	for (i = 0; i < q; i++)
	{
		max = a - 1;
		min = 0;
		while (max - min > 1)
		{
			mid = (max + min) / 2;
			if (s[mid] < x[i])
				min = mid;
			else
				max = mid;
		}
		ans = llmin(llabs(x[i] - s[min]) + ms[min], llabs(x[i] - s[max]) + ms[max]);
		max = b - 1;
		min = 0;
		while (max - min > 1)
		{
			mid = (max + min) / 2;
			if (t[mid] < x[i])
				min = mid;
			else
				max = mid;
		}
		ans = llmin(ans, (llmin(llabs(x[i] - t[min]) + mt[min], llabs(x[i] - t[max]) + mt[max])));
		printf("%lld\n", ans);
	}
	return 0;
}
2 3 4
110
600
400
900
1000
150
2000
899
799
 2 3 4
110
608
400
900
1000
150
2000
899
799
 2 3 4
110
608
400
900
1000
150
2000
899
1571
 2 3 4
110
608
400
900
1000
155
2000
899
1571
 2 3 4
110
608
400
900
1000
155
2000
1530
1571
 1 1 3
1
10000100000
2
9999999999
5000000000
 2 3 4
110
600
400
900
1000
278
2000
899
799
 2 3 3
110
608
400
900
1000
150
2000
899
799
 2 3 4
110
608
525
900
1000
150
2000
899
1571
 2 3 4
110
608
400
900
1000
155
2000
899
1602

330
1400
301
399
 330
1392
293
393
 330
1392
293
963
 335
1392
293
963
 335
1392
922
963
 10000100000
10000200000
15000099998
 322
1400
301
399
 330
1392
293
 455
1392
293
963
 335
1392
293
994

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>
long long int llmin(long long int a, long long int b)
{
	if (a < b)
		return a;
	else
		return b;
}
long long int llabs(long long int n)
{
	if (n < 0)
		n *= -1;
	return n;
}
int main()
{
	int a, b, q;
	scanf("%d %d %d", &a, &b, &q);
	int i;
	long long int s[100005], t[100005], x[100005];
	for (i = 0; i < a; i++)
		scanf("%lld", &s[i]);
	for (i = 0; i < b; i++)
		scanf("%lld", &t[i]);
	for (i = 0; i < q; i++)
		scanf("%lld", &x[i]);
	long long int ms[100005], mt[100005];
	int min, mid, max;
	for (i = 0; i < a; i++)
	{
		if (s[i] <= t[0])
			ms[i] = t[0] - s[i];
		else if (s[i] >= t[b - 1])
			ms[i] = s[i] - t[b - 1];
		else
		{
			min = 0;
			max = b - 1;
			while (max - min > 1)
			{
				mid = (max + min) / 2;
				if (t[mid] < s[i])
					min = mid;
				else
					max = mid;
			}
			ms[i] = llmin(s[i] - t[min], t[max] - s[i]);
		}
	}
	for (i = 0; i < b; i++)
	{
		if (t[i] <= s[0])
			mt[i] = s[0] - t[i];
		else if (t[i] >= s[a - 1])
			mt[i] = t[i] - s[a - 1];
		else
		{
			min = 0;
			max = a - 1;
			while (max - min > 1)
			{
				mid = (max + min) / 2;
				if (s[mid] < t[i])
					min = mid;
				else
					max = mid;
			}
			mt[i] = llmin(t[i] - s[min], s[max] - t[i]);
		}
	}
	long long int ans;
	for (i = 0; i < q; i++)
	{
		max = a - 1;
		min = 0;
		while (max - min > 1)
		{
			mid = (max + min) / 2;
			if (s[mid] < x[i])
				min = mid;
			else
				max = mid;
		}
		ans = llmin(llabs(x[i] - s[min]) + ms[min], llabs(x[i] - s[max]) + ms[max]);
		max = b - 1;
		min = 0;
		while (max - min > 1)
		{
			mid = (max + min) / 2;
			if (t[mid] < x[i])
				min = mid;
			else
				max = mid;
		}
		ans = llmin(ans, (llmin(llabs(x[i] - t[min]) + mt[min], llabs(x[i] - t[max]) + mt[max])));
		printf("%lld\n", ans);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	llmin
	.type	llmin, @function
llmin:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	cmpq	-16(%rbp), %rax
	jge	.L2
	movq	-8(%rbp), %rax
	jmp	.L3
.L2:
	movq	-16(%rbp), %rax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	llmin, .-llmin
	.globl	llabs
	.type	llabs, @function
llabs:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	cmpq	$0, -8(%rbp)
	jns	.L5
	negq	-8(%rbp)
.L5:
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	llabs, .-llabs
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.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
	leaq	-3997696(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2592, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-4000268(%rbp), %rcx
	leaq	-4000272(%rbp), %rdx
	leaq	-4000276(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4000264(%rbp)
	jmp	.L8
.L9:
	leaq	-4000240(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000264(%rbp)
.L8:
	movl	-4000276(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L9
	movl	$0, -4000264(%rbp)
	jmp	.L10
.L11:
	leaq	-3200192(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000264(%rbp)
.L10:
	movl	-4000272(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L11
	movl	$0, -4000264(%rbp)
	jmp	.L12
.L13:
	leaq	-2400144(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000264(%rbp)
.L12:
	movl	-4000268(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L13
	movl	$0, -4000264(%rbp)
	jmp	.L14
.L21:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movq	-3200192(%rbp), %rax
	cmpq	%rax, %rdx
	jg	.L15
	movq	-3200192(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -1600096(%rbp,%rax,8)
	jmp	.L16
.L15:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jl	.L17
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -1600096(%rbp,%rax,8)
	jmp	.L16
.L17:
	movl	$0, -4000260(%rbp)
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	jmp	.L18
.L20:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L19
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L18
.L19:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L18:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L20
	movl	-4000256(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movl	-4000264(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rax, -1600096(%rbp,%rdx,8)
.L16:
	addl	$1, -4000264(%rbp)
.L14:
	movl	-4000276(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L21
	movl	$0, -4000264(%rbp)
	jmp	.L22
.L29:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movq	-4000240(%rbp), %rax
	cmpq	%rax, %rdx
	jg	.L23
	movq	-4000240(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -800048(%rbp,%rax,8)
	jmp	.L24
.L23:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jl	.L25
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -800048(%rbp,%rax,8)
	jmp	.L24
.L25:
	movl	$0, -4000260(%rbp)
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	jmp	.L26
.L28:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L27
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L26
.L27:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L26:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L28
	movl	-4000256(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movl	-4000264(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rax, -800048(%rbp,%rdx,8)
.L24:
	addl	$1, -4000264(%rbp)
.L22:
	movl	-4000272(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L29
	movl	$0, -4000264(%rbp)
	jmp	.L30
.L37:
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	movl	$0, -4000260(%rbp)
	jmp	.L31
.L33:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L32
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L31
.L32:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L31:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L33
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rcx
	movq	%rdx, %rax
	subq	%rcx, %rax
	movq	%rax, %rdx
	negq	%rdx
	cmovs	%rax, %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-1600096(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovs	%rax, %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-1600096(%rbp,%rax,8), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movq	%rax, -4000248(%rbp)
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	movl	$0, -4000260(%rbp)
	jmp	.L34
.L36:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L35
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L34
.L35:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L34:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L36
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rcx
	movq	%rdx, %rax
	subq	%rcx, %rax
	movq	%rax, %rdx
	negq	%rdx
	cmovs	%rax, %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-800048(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovs	%rax, %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-800048(%rbp,%rax,8), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movq	%rax, %rdx
	movq	-4000248(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movq	%rax, -4000248(%rbp)
	movq	-4000248(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -4000264(%rbp)
.L30:
	movl	-4000268(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L37
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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.
train
	.file	"temp.c"
	.text
	.globl	llmin
	.type	llmin, @function
llmin:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	cmpq	-16(%rbp), %rax
	jge	.L2
	movq	-8(%rbp), %rax
	jmp	.L3
.L2:
	movq	-16(%rbp), %rax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	llmin, .-llmin
	.globl	llabs
	.type	llabs, @function
llabs:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	cmpq	$0, -8(%rbp)
	jns	.L5
	negq	-8(%rbp)
.L5:
	movq	-8(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	llabs, .-llabs
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.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
	leaq	-3997696(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2592, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-4000268(%rbp), %rcx
	leaq	-4000272(%rbp), %rdx
	leaq	-4000276(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4000264(%rbp)
	jmp	.L8
.L9:
	leaq	-4000240(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000264(%rbp)
.L8:
	movl	-4000276(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L9
	movl	$0, -4000264(%rbp)
	jmp	.L10
.L11:
	leaq	-3200192(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000264(%rbp)
.L10:
	movl	-4000272(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L11
	movl	$0, -4000264(%rbp)
	jmp	.L12
.L13:
	leaq	-2400144(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000264(%rbp)
.L12:
	movl	-4000268(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L13
	movl	$0, -4000264(%rbp)
	jmp	.L14
.L21:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movq	-3200192(%rbp), %rax
	cmpq	%rax, %rdx
	jg	.L15
	movq	-3200192(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -1600096(%rbp,%rax,8)
	jmp	.L16
.L15:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jl	.L17
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -1600096(%rbp,%rax,8)
	jmp	.L16
.L17:
	movl	$0, -4000260(%rbp)
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	jmp	.L18
.L20:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L19
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L18
.L19:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L18:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L20
	movl	-4000256(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movl	-4000264(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rax, -1600096(%rbp,%rdx,8)
.L16:
	addl	$1, -4000264(%rbp)
.L14:
	movl	-4000276(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L21
	movl	$0, -4000264(%rbp)
	jmp	.L22
.L29:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movq	-4000240(%rbp), %rax
	cmpq	%rax, %rdx
	jg	.L23
	movq	-4000240(%rbp), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -800048(%rbp,%rax,8)
	jmp	.L24
.L23:
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jl	.L25
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	%rdx, -800048(%rbp,%rax,8)
	jmp	.L24
.L25:
	movl	$0, -4000260(%rbp)
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	jmp	.L26
.L28:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L27
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L26
.L27:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L26:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L28
	movl	-4000256(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movl	-4000264(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rax, -800048(%rbp,%rdx,8)
.L24:
	addl	$1, -4000264(%rbp)
.L22:
	movl	-4000272(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L29
	movl	$0, -4000264(%rbp)
	jmp	.L30
.L37:
	movl	-4000276(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	movl	$0, -4000260(%rbp)
	jmp	.L31
.L33:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L32
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L31
.L32:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L31:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L33
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rcx
	movq	%rdx, %rax
	subq	%rcx, %rax
	movq	%rax, %rdx
	negq	%rdx
	cmovs	%rax, %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-1600096(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-4000240(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovs	%rax, %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-1600096(%rbp,%rax,8), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movq	%rax, -4000248(%rbp)
	movl	-4000272(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4000256(%rbp)
	movl	$0, -4000260(%rbp)
	jmp	.L34
.L36:
	movl	-4000256(%rbp), %edx
	movl	-4000260(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4000252(%rbp)
	movl	-4000252(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L35
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000260(%rbp)
	jmp	.L34
.L35:
	movl	-4000252(%rbp), %eax
	movl	%eax, -4000256(%rbp)
.L34:
	movl	-4000256(%rbp), %eax
	subl	-4000260(%rbp), %eax
	cmpl	$1, %eax
	jg	.L36
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rcx
	movq	%rdx, %rax
	subq	%rcx, %rax
	movq	%rax, %rdx
	negq	%rdx
	cmovs	%rax, %rdx
	movl	-4000256(%rbp), %eax
	cltq
	movq	-800048(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-4000264(%rbp), %eax
	cltq
	movq	-2400144(%rbp,%rax,8), %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-3200192(%rbp,%rax,8), %rsi
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovs	%rax, %rcx
	movl	-4000260(%rbp), %eax
	cltq
	movq	-800048(%rbp,%rax,8), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movq	%rax, %rdx
	movq	-4000248(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	llmin
	movq	%rax, -4000248(%rbp)
	movq	-4000248(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -4000264(%rbp)
.L30:
	movl	-4000268(%rbp), %eax
	cmpl	%eax, -4000264(%rbp)
	jl	.L37
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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:
