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

```c
// AOJ 0552: Exposition
// 2018.1.28 bal4u

#include <stdio.h>
#include <string.h>

int x[100002], y[100002];

//#define getchar_unlocked()  getchar()
int in()
{
	int n = 0;
	int c = getchar_unlocked();
	if (c == '-') {
		c = getchar_unlocked();
		do n = (n<<3)+(n<<1) + (c & 0xf), c = getchar_unlocked();
		while (c >= '0');
		return -n;
	}
	do n = (n<<3)+(n<<1) + (c & 0xf), c = getchar_unlocked();
	while (c >= '0');
	return n;
}

int main()
{
	int n, i, xx, yy, xmin, xmax, ymin, ymax, d1, d2, ans1, ans2;

	n = in();
	xx = in(), yy = in();
	x[0] = xx + yy, y[0] = xx - yy;
	xmin = xmax = x[0], ymin = ymax = y[0];
	for (i = 1; i < n; i++) {
		xx = in(), yy = in();
		x[i] = xx + yy, y[i] = xx - yy;
		if      (x[i] < xmin) xmin = x[i];
		else if (x[i] > xmax) xmax = x[i];
		if      (y[i] < ymin) ymin = y[i];
		else if (y[i] > ymax) ymax = y[i];
	}

	ans1 = ans2 = 0;
	for (i = 0; i < n; i++) {
		d1 = x[i]-xmin, yy = y[i]-ymin;	if (yy > d1) d1 = yy;
		d2 = xmax-x[i], yy = ymax-y[i]; if (yy > d2) d2 = yy;
		if (d1 > d2) d1 = d2;
		if (d1 > ans1) ans1 = d1;

		d1 = x[i]-xmin, yy = ymax-y[i];	if (yy > d1) d1 = yy;
		d2 = xmax-x[i], yy = y[i]-ymin; if (yy > d2) d2 = yy;
		if (d1 > d2) d1 = d2;
		if (d1 > ans2) ans2 = d1;
    }
	if (ans1 > ans2) ans1 = ans2;
    printf("%d\n", ans1);
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	x
	.bss
	.align 32
	.type	x, @object
	.size	x, 400008
x:
	.zero	400008
	.globl	y
	.align 32
	.type	y, @object
	.size	y, 400008
y:
	.zero	400008
	.text
	.globl	in
	.type	in, @function
in:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$45, -4(%rbp)
	jne	.L2
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
.L3:
	movl	-8(%rbp), %eax
	leal	0(,%rax,8), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %eax
	addl	%eax, %edx
	movl	-4(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$47, -4(%rbp)
	jg	.L3
	movl	-8(%rbp), %eax
	negl	%eax
	jmp	.L4
.L2:
	movl	-8(%rbp), %eax
	leal	0(,%rax,8), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %eax
	addl	%eax, %edx
	movl	-4(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$47, -4(%rbp)
	jg	.L2
	movl	-8(%rbp), %eax
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	in, .-in
	.section	.rodata
.LC0:
	.string	"%d\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	$48, %rsp
	movl	$0, %eax
	call	in
	movl	%eax, -12(%rbp)
	movl	$0, %eax
	call	in
	movl	%eax, -8(%rbp)
	movl	$0, %eax
	call	in
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, x(%rip)
	movl	-8(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	%eax, y(%rip)
	movl	x(%rip), %eax
	movl	%eax, -40(%rbp)
	movl	-40(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	y(%rip), %eax
	movl	%eax, -32(%rbp)
	movl	-32(%rbp), %eax
	movl	%eax, -36(%rbp)
	movl	$1, -48(%rbp)
	jmp	.L6
.L11:
	movl	$0, %eax
	call	in
	movl	%eax, -8(%rbp)
	movl	$0, %eax
	call	in
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-8(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	-48(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	y(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -44(%rbp)
	jle	.L7
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -44(%rbp)
	jmp	.L8
.L7:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -40(%rbp)
	jge	.L8
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -40(%rbp)
.L8:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -36(%rbp)
	jle	.L9
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -36(%rbp)
	jmp	.L10
.L9:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -32(%rbp)
	jge	.L10
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -32(%rbp)
.L10:
	addl	$1, -48(%rbp)
.L6:
	movl	-48(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jl	.L11
	movl	$0, -16(%rbp)
	movl	-16(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	$0, -48(%rbp)
	jmp	.L12
.L21:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-44(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-36(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L13
	movl	-4(%rbp), %eax
	movl	%eax, -28(%rbp)
.L13:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-40(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -24(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L14
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
.L14:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L15
	movl	-24(%rbp), %eax
	movl	%eax, -28(%rbp)
.L15:
	movl	-28(%rbp), %eax
	cmpl	-20(%rbp), %eax
	jle	.L16
	movl	-28(%rbp), %eax
	movl	%eax, -20(%rbp)
.L16:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-44(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L17
	movl	-4(%rbp), %eax
	movl	%eax, -28(%rbp)
.L17:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-40(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -24(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-36(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L18
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
.L18:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L19
	movl	-24(%rbp), %eax
	movl	%eax, -28(%rbp)
.L19:
	movl	-28(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L20
	movl	-28(%rbp), %eax
	movl	%eax, -16(%rbp)
.L20:
	addl	$1, -48(%rbp)
.L12:
	movl	-48(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jl	.L21
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L22
	movl	-16(%rbp), %eax
	movl	%eax, -20(%rbp)
.L22:
	movl	-20(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	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	in
	.type	in, @function
in:
.LFB35:
	.cfi_startproc
	endbr64
	movq	stdin(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L20
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L3:
	xorl	%r12d, %r12d
	cmpl	$45, %eax
	jne	.L4
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L12:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L1
.L13:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L4:
	leal	(%r12,%r12,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %r12d
	cmpq	%rcx, %rdx
	jb	.L12
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L1
	movq	stdin(%rip), %rdi
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L9:
	negl	%r12d
.L1:
	movl	%r12d, %eax
	popq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	cmpq	%rcx, %rdx
	jnb	.L22
	leaq	1(%rdx), %rsi
	movq	%rsi, 8(%rdi)
	movzbl	(%rdx), %eax
.L6:
	xorl	%r12d, %r12d
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	leaq	1(%rsi), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rsi), %eax
	cmpl	$47, %eax
	jle	.L9
.L8:
	movq	8(%rdi), %rsi
	movq	16(%rdi), %rcx
.L10:
	leal	(%r12,%r12,4), %edx
	andl	$15, %eax
	leal	(%rax,%rdx,2), %r12d
	cmpq	%rcx, %rsi
	jb	.L7
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L9
	movq	stdin(%rip), %rdi
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L20:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L3
.L22:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rsi
	movq	16(%rdi), %rcx
	jmp	.L6
	.cfi_endproc
.LFE35:
	.size	in, .-in
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%eax, %eax
	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	$24, %rsp
	.cfi_def_cfa_offset 80
	call	in
	movl	%eax, 12(%rsp)
	movl	%eax, %r14d
	xorl	%eax, %eax
	call	in
	movl	%eax, %ebx
	xorl	%eax, %eax
	call	in
	leal	(%rbx,%rax), %ebp
	subl	%eax, %ebx
	movl	%ebp, x(%rip)
	movl	%ebx, y(%rip)
	cmpl	$1, %r14d
	jle	.L24
	movl	%r14d, %eax
	leaq	4+x(%rip), %r15
	movl	%ebx, 8(%rsp)
	movl	%ebp, %r13d
	subl	$2, %eax
	leaq	4(%r15), %rdx
	leaq	4+y(%rip), %r14
	movq	%r15, %r12
	leaq	(%rdx,%rax,4), %rax
	movq	%rax, (%rsp)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L43:
	cmpl	%ecx, %ebp
	cmovl	%ecx, %ebp
	cmpl	8(%rsp), %edx
	jl	.L35
.L44:
	cmpl	%edx, %ebx
	cmovl	%edx, %ebx
	addq	$4, %r12
	addq	$4, %r14
	cmpq	%r12, (%rsp)
	je	.L42
.L27:
	xorl	%eax, %eax
	call	in
	movl	%eax, %r15d
	xorl	%eax, %eax
	call	in
	movl	%r15d, %edx
	leal	(%r15,%rax), %ecx
	subl	%eax, %edx
	movl	%ecx, (%r12)
	movl	%edx, (%r14)
	cmpl	%r13d, %ecx
	jge	.L43
	movl	%ecx, %r13d
	cmpl	8(%rsp), %edx
	jge	.L44
.L35:
	movl	%edx, 8(%rsp)
	addq	$4, %r12
	addq	$4, %r14
	cmpq	%r12, (%rsp)
	jne	.L27
.L42:
	movl	12(%rsp), %eax
	movl	$1, %edi
	testl	%eax, %eax
	cmovg	%eax, %edi
	cmpl	$3, %eax
	jle	.L37
	movd	8(%rsp), %xmm5
	movd	%r13d, %xmm4
	movl	%edi, %edx
	xorl	%eax, %eax
	pshufd	$0, %xmm4, %xmm7
	movd	%ebp, %xmm4
	shrl	$2, %edx
	pxor	%xmm3, %xmm3
	pshufd	$0, %xmm5, %xmm6
	pshufd	$0, %xmm4, %xmm5
	movd	%ebx, %xmm4
	salq	$4, %rdx
	pshufd	$0, %xmm4, %xmm4
	movdqa	%xmm3, %xmm2
	leaq	x(%rip), %rsi
	leaq	y(%rip), %rcx
	.p2align 4,,10
	.p2align 3
.L31:
	movdqa	%xmm4, %xmm8
	psubd	(%rcx,%rax), %xmm8
	movdqa	(%rcx,%rax), %xmm11
	movdqa	%xmm5, %xmm10
	psubd	(%rsi,%rax), %xmm10
	movdqa	(%rsi,%rax), %xmm9
	addq	$16, %rax
	movdqa	%xmm8, %xmm12
	psubd	%xmm6, %xmm11
	movdqa	%xmm8, %xmm0
	pcmpgtd	%xmm10, %xmm12
	psubd	%xmm7, %xmm9
	movdqa	%xmm11, %xmm1
	pcmpgtd	%xmm9, %xmm1
	pand	%xmm12, %xmm0
	pandn	%xmm10, %xmm12
	por	%xmm0, %xmm12
	movdqa	%xmm11, %xmm0
	pand	%xmm1, %xmm0
	pandn	%xmm9, %xmm1
	por	%xmm0, %xmm1
	movdqa	%xmm12, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm12, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	pcmpgtd	%xmm2, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	movdqa	%xmm1, %xmm2
	movdqa	%xmm8, %xmm1
	por	%xmm0, %xmm2
	pcmpgtd	%xmm9, %xmm1
	movdqa	%xmm10, %xmm0
	pcmpgtd	%xmm11, %xmm0
	pand	%xmm1, %xmm8
	pandn	%xmm9, %xmm1
	pand	%xmm0, %xmm10
	pandn	%xmm11, %xmm0
	por	%xmm8, %xmm1
	por	%xmm0, %xmm10
	movdqa	%xmm10, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm10, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	pcmpgtd	%xmm3, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm3, %xmm1
	movdqa	%xmm1, %xmm3
	por	%xmm0, %xmm3
	cmpq	%rdx, %rax
	jne	.L31
	movdqa	%xmm3, %xmm1
	movl	%edi, %r11d
	psrldq	$8, %xmm1
	andl	$-4, %r11d
	andl	$3, %edi
	movdqa	%xmm1, %xmm0
	movl	%r11d, %r10d
	pcmpgtd	%xmm3, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm3, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm3
	psrldq	$4, %xmm3
	movdqa	%xmm3, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm3
	pandn	%xmm0, %xmm1
	por	%xmm3, %xmm1
	movd	%xmm1, %eax
	movdqa	%xmm2, %xmm1
	psrldq	$8, %xmm1
	movdqa	%xmm1, %xmm0
	pcmpgtd	%xmm2, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm2
	pandn	%xmm0, %xmm1
	por	%xmm2, %xmm1
	movd	%xmm1, %edx
	je	.L30
.L29:
	movslq	%r10d, %rdi
	movl	%ebp, %r11d
	movl	8(%rsp), %r12d
	movl	(%rsi,%rdi,4), %r10d
	movl	(%rcx,%rdi,4), %r9d
	movq	%rdi, %r14
	subl	%r10d, %r11d
	movl	%r10d, %r8d
	movl	%ebx, %r10d
	movl	%r9d, %edi
	subl	%r9d, %r10d
	subl	%r13d, %r8d
	subl	%r12d, %edi
	movl	%r10d, %r9d
	cmpl	%r10d, %r11d
	movl	%edi, %r15d
	cmovge	%r11d, %r9d
	cmpl	%edi, %r8d
	cmovge	%r8d, %r15d
	cmpl	%r15d, %r9d
	cmovg	%r15d, %r9d
	cmpl	%r9d, %edx
	cmovl	%r9d, %edx
	cmpl	%r11d, %edi
	cmovl	%r11d, %edi
	cmpl	%r10d, %r8d
	cmovl	%r10d, %r8d
	cmpl	%r8d, %edi
	cmovg	%r8d, %edi
	cmpl	%edi, %eax
	cmovl	%edi, %eax
	leal	1(%r14), %edi
	cmpl	%edi, 12(%rsp)
	jle	.L30
	movslq	%edi, %rdi
	movl	(%rsi,%rdi,4), %r8d
	movl	(%rcx,%rdi,4), %r9d
	movl	%ebp, %edi
	movl	%r8d, %r11d
	subl	%r8d, %edi
	movl	%ebx, %r8d
	subl	%r13d, %r11d
	subl	%r9d, %r8d
	movl	%r11d, %r10d
	movl	%r9d, %r11d
	movl	%edi, %r9d
	subl	%r12d, %r11d
	cmpl	%edi, %r8d
	movl	%r10d, %r15d
	cmovge	%r8d, %r9d
	cmpl	%r10d, %r11d
	cmovge	%r11d, %r15d
	cmpl	%r15d, %r9d
	cmovg	%r15d, %r9d
	cmpl	%r9d, %edx
	cmovl	%r9d, %edx
	cmpl	%r11d, %edi
	cmovl	%r11d, %edi
	cmpl	%r10d, %r8d
	cmovl	%r10d, %r8d
	cmpl	%r8d, %edi
	cmovg	%r8d, %edi
	cmpl	%edi, %eax
	cmovl	%edi, %eax
	movl	%r14d, %edi
	addl	$2, %edi
	cmpl	%edi, 12(%rsp)
	jle	.L30
	movslq	%edi, %rdi
	movl	(%rsi,%rdi,4), %r8d
	movl	(%rcx,%rdi,4), %ecx
	subl	%r8d, %ebp
	subl	%ecx, %ebx
	movl	%r8d, %esi
	movl	%ecx, %edi
	subl	%r13d, %esi
	subl	%r12d, %edi
	movl	%ebp, %ecx
	cmpl	%ebp, %ebx
	cmovge	%ebx, %ecx
	movl	%esi, %r8d
	cmpl	%esi, %edi
	cmovge	%edi, %r8d
	cmpl	%r8d, %ecx
	cmovg	%r8d, %ecx
	cmpl	%ecx, %edx
	cmovl	%ecx, %edx
	cmpl	%edi, %ebp
	cmovl	%edi, %ebp
	cmpl	%esi, %ebx
	cmovl	%esi, %ebx
	cmpl	%ebx, %ebp
	cmovg	%ebx, %ebp
	cmpl	%ebp, %eax
	cmovl	%ebp, %eax
.L30:
	cmpl	%eax, %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	cmovg	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addq	$24, %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
.L24:
	.cfi_restore_state
	je	.L36
	xorl	%eax, %eax
	xorl	%edx, %edx
	jmp	.L30
.L36:
	movl	%ebx, 8(%rsp)
	movl	%ebp, %r13d
.L37:
	xorl	%eax, %eax
	xorl	%edx, %edx
	leaq	x(%rip), %rsi
	xorl	%r10d, %r10d
	leaq	y(%rip), %rcx
	jmp	.L29
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.globl	y
	.bss
	.align 32
	.type	y, @object
	.size	y, 400008
y:
	.zero	400008
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 400008
x:
	.zero	400008
	.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	in
	.type	in, @function
in:
.LFB35:
	.cfi_startproc
	endbr64
	movq	stdin(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L20
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L3:
	xorl	%r12d, %r12d
	cmpl	$45, %eax
	jne	.L4
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L12:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L1
.L13:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L4:
	leal	(%r12,%r12,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %r12d
	cmpq	%rcx, %rdx
	jb	.L12
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L1
	movq	stdin(%rip), %rdi
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L9:
	negl	%r12d
.L1:
	movl	%r12d, %eax
	popq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	cmpq	%rcx, %rdx
	jnb	.L22
	leaq	1(%rdx), %rsi
	movq	%rsi, 8(%rdi)
	movzbl	(%rdx), %eax
.L6:
	xorl	%r12d, %r12d
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	leaq	1(%rsi), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rsi), %eax
	cmpl	$47, %eax
	jle	.L9
.L8:
	movq	8(%rdi), %rsi
	movq	16(%rdi), %rcx
.L10:
	leal	(%r12,%r12,4), %edx
	andl	$15, %eax
	leal	(%rax,%rdx,2), %r12d
	cmpq	%rcx, %rsi
	jb	.L7
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L9
	movq	stdin(%rip), %rdi
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L20:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L3
.L22:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rsi
	movq	16(%rdi), %rcx
	jmp	.L6
	.cfi_endproc
.LFE35:
	.size	in, .-in
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%eax, %eax
	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	$24, %rsp
	.cfi_def_cfa_offset 80
	call	in
	movl	%eax, 12(%rsp)
	movl	%eax, %r14d
	xorl	%eax, %eax
	call	in
	movl	%eax, %ebx
	xorl	%eax, %eax
	call	in
	leal	(%rbx,%rax), %ebp
	subl	%eax, %ebx
	movl	%ebp, x(%rip)
	movl	%ebx, y(%rip)
	cmpl	$1, %r14d
	jle	.L24
	movl	%r14d, %eax
	leaq	4+x(%rip), %r15
	movl	%ebx, 8(%rsp)
	movl	%ebp, %r13d
	subl	$2, %eax
	leaq	4(%r15), %rdx
	leaq	4+y(%rip), %r14
	movq	%r15, %r12
	leaq	(%rdx,%rax,4), %rax
	movq	%rax, (%rsp)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L43:
	cmpl	%ecx, %ebp
	cmovl	%ecx, %ebp
	cmpl	8(%rsp), %edx
	jl	.L35
.L44:
	cmpl	%edx, %ebx
	cmovl	%edx, %ebx
	addq	$4, %r12
	addq	$4, %r14
	cmpq	%r12, (%rsp)
	je	.L42
.L27:
	xorl	%eax, %eax
	call	in
	movl	%eax, %r15d
	xorl	%eax, %eax
	call	in
	movl	%r15d, %edx
	leal	(%r15,%rax), %ecx
	subl	%eax, %edx
	movl	%ecx, (%r12)
	movl	%edx, (%r14)
	cmpl	%r13d, %ecx
	jge	.L43
	movl	%ecx, %r13d
	cmpl	8(%rsp), %edx
	jge	.L44
.L35:
	movl	%edx, 8(%rsp)
	addq	$4, %r12
	addq	$4, %r14
	cmpq	%r12, (%rsp)
	jne	.L27
.L42:
	movl	12(%rsp), %eax
	movl	$1, %edi
	testl	%eax, %eax
	cmovg	%eax, %edi
	cmpl	$3, %eax
	jle	.L37
	movd	8(%rsp), %xmm5
	movd	%r13d, %xmm4
	movl	%edi, %edx
	xorl	%eax, %eax
	pshufd	$0, %xmm4, %xmm7
	movd	%ebp, %xmm4
	shrl	$2, %edx
	pxor	%xmm3, %xmm3
	pshufd	$0, %xmm5, %xmm6
	pshufd	$0, %xmm4, %xmm5
	movd	%ebx, %xmm4
	salq	$4, %rdx
	pshufd	$0, %xmm4, %xmm4
	movdqa	%xmm3, %xmm2
	leaq	x(%rip), %rsi
	leaq	y(%rip), %rcx
	.p2align 4,,10
	.p2align 3
.L31:
	movdqa	%xmm4, %xmm8
	psubd	(%rcx,%rax), %xmm8
	movdqa	(%rcx,%rax), %xmm11
	movdqa	%xmm5, %xmm10
	psubd	(%rsi,%rax), %xmm10
	movdqa	(%rsi,%rax), %xmm9
	addq	$16, %rax
	movdqa	%xmm8, %xmm12
	psubd	%xmm6, %xmm11
	movdqa	%xmm8, %xmm0
	pcmpgtd	%xmm10, %xmm12
	psubd	%xmm7, %xmm9
	movdqa	%xmm11, %xmm1
	pcmpgtd	%xmm9, %xmm1
	pand	%xmm12, %xmm0
	pandn	%xmm10, %xmm12
	por	%xmm0, %xmm12
	movdqa	%xmm11, %xmm0
	pand	%xmm1, %xmm0
	pandn	%xmm9, %xmm1
	por	%xmm0, %xmm1
	movdqa	%xmm12, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm12, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	pcmpgtd	%xmm2, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	movdqa	%xmm1, %xmm2
	movdqa	%xmm8, %xmm1
	por	%xmm0, %xmm2
	pcmpgtd	%xmm9, %xmm1
	movdqa	%xmm10, %xmm0
	pcmpgtd	%xmm11, %xmm0
	pand	%xmm1, %xmm8
	pandn	%xmm9, %xmm1
	pand	%xmm0, %xmm10
	pandn	%xmm11, %xmm0
	por	%xmm8, %xmm1
	por	%xmm0, %xmm10
	movdqa	%xmm10, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm10, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	pcmpgtd	%xmm3, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm3, %xmm1
	movdqa	%xmm1, %xmm3
	por	%xmm0, %xmm3
	cmpq	%rdx, %rax
	jne	.L31
	movdqa	%xmm3, %xmm1
	movl	%edi, %r11d
	psrldq	$8, %xmm1
	andl	$-4, %r11d
	andl	$3, %edi
	movdqa	%xmm1, %xmm0
	movl	%r11d, %r10d
	pcmpgtd	%xmm3, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm3, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm3
	psrldq	$4, %xmm3
	movdqa	%xmm3, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm3
	pandn	%xmm0, %xmm1
	por	%xmm3, %xmm1
	movd	%xmm1, %eax
	movdqa	%xmm2, %xmm1
	psrldq	$8, %xmm1
	movdqa	%xmm1, %xmm0
	pcmpgtd	%xmm2, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm2
	pandn	%xmm0, %xmm1
	por	%xmm2, %xmm1
	movd	%xmm1, %edx
	je	.L30
.L29:
	movslq	%r10d, %rdi
	movl	%ebp, %r11d
	movl	8(%rsp), %r12d
	movl	(%rsi,%rdi,4), %r10d
	movl	(%rcx,%rdi,4), %r9d
	movq	%rdi, %r14
	subl	%r10d, %r11d
	movl	%r10d, %r8d
	movl	%ebx, %r10d
	movl	%r9d, %edi
	subl	%r9d, %r10d
	subl	%r13d, %r8d
	subl	%r12d, %edi
	movl	%r10d, %r9d
	cmpl	%r10d, %r11d
	movl	%edi, %r15d
	cmovge	%r11d, %r9d
	cmpl	%edi, %r8d
	cmovge	%r8d, %r15d
	cmpl	%r15d, %r9d
	cmovg	%r15d, %r9d
	cmpl	%r9d, %edx
	cmovl	%r9d, %edx
	cmpl	%r11d, %edi
	cmovl	%r11d, %edi
	cmpl	%r10d, %r8d
	cmovl	%r10d, %r8d
	cmpl	%r8d, %edi
	cmovg	%r8d, %edi
	cmpl	%edi, %eax
	cmovl	%edi, %eax
	leal	1(%r14), %edi
	cmpl	%edi, 12(%rsp)
	jle	.L30
	movslq	%edi, %rdi
	movl	(%rsi,%rdi,4), %r8d
	movl	(%rcx,%rdi,4), %r9d
	movl	%ebp, %edi
	movl	%r8d, %r11d
	subl	%r8d, %edi
	movl	%ebx, %r8d
	subl	%r13d, %r11d
	subl	%r9d, %r8d
	movl	%r11d, %r10d
	movl	%r9d, %r11d
	movl	%edi, %r9d
	subl	%r12d, %r11d
	cmpl	%edi, %r8d
	movl	%r10d, %r15d
	cmovge	%r8d, %r9d
	cmpl	%r10d, %r11d
	cmovge	%r11d, %r15d
	cmpl	%r15d, %r9d
	cmovg	%r15d, %r9d
	cmpl	%r9d, %edx
	cmovl	%r9d, %edx
	cmpl	%r11d, %edi
	cmovl	%r11d, %edi
	cmpl	%r10d, %r8d
	cmovl	%r10d, %r8d
	cmpl	%r8d, %edi
	cmovg	%r8d, %edi
	cmpl	%edi, %eax
	cmovl	%edi, %eax
	movl	%r14d, %edi
	addl	$2, %edi
	cmpl	%edi, 12(%rsp)
	jle	.L30
	movslq	%edi, %rdi
	movl	(%rsi,%rdi,4), %r8d
	movl	(%rcx,%rdi,4), %ecx
	subl	%r8d, %ebp
	subl	%ecx, %ebx
	movl	%r8d, %esi
	movl	%ecx, %edi
	subl	%r13d, %esi
	subl	%r12d, %edi
	movl	%ebp, %ecx
	cmpl	%ebp, %ebx
	cmovge	%ebx, %ecx
	movl	%esi, %r8d
	cmpl	%esi, %edi
	cmovge	%edi, %r8d
	cmpl	%r8d, %ecx
	cmovg	%r8d, %ecx
	cmpl	%ecx, %edx
	cmovl	%ecx, %edx
	cmpl	%edi, %ebp
	cmovl	%edi, %ebp
	cmpl	%esi, %ebx
	cmovl	%esi, %ebx
	cmpl	%ebx, %ebp
	cmovg	%ebx, %ebp
	cmpl	%ebp, %eax
	cmovl	%ebp, %eax
.L30:
	cmpl	%eax, %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	cmovg	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addq	$24, %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
.L24:
	.cfi_restore_state
	je	.L36
	xorl	%eax, %eax
	xorl	%edx, %edx
	jmp	.L30
.L36:
	movl	%ebx, 8(%rsp)
	movl	%ebp, %r13d
.L37:
	xorl	%eax, %eax
	xorl	%edx, %edx
	leaq	x(%rip), %rsi
	xorl	%r10d, %r10d
	leaq	y(%rip), %rcx
	jmp	.L29
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.globl	y
	.bss
	.align 32
	.type	y, @object
	.size	y, 400008
y:
	.zero	400008
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 400008
x:
	.zero	400008
	.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:

// AOJ 0552: Exposition
// 2018.1.28 bal4u

#include <stdio.h>
#include <string.h>

int x[100002], y[100002];

//#define getchar_unlocked()  getchar()
int in()
{
	int n = 0;
	int c = getchar_unlocked();
	if (c == '-') {
		c = getchar_unlocked();
		do n = (n<<3)+(n<<1) + (c & 0xf), c = getchar_unlocked();
		while (c >= '0');
		return -n;
	}
	do n = (n<<3)+(n<<1) + (c & 0xf), c = getchar_unlocked();
	while (c >= '0');
	return n;
}

int main()
{
	int n, i, xx, yy, xmin, xmax, ymin, ymax, d1, d2, ans1, ans2;

	n = in();
	xx = in(), yy = in();
	x[0] = xx + yy, y[0] = xx - yy;
	xmin = xmax = x[0], ymin = ymax = y[0];
	for (i = 1; i < n; i++) {
		xx = in(), yy = in();
		x[i] = xx + yy, y[i] = xx - yy;
		if      (x[i] < xmin) xmin = x[i];
		else if (x[i] > xmax) xmax = x[i];
		if      (y[i] < ymin) ymin = y[i];
		else if (y[i] > ymax) ymax = y[i];
	}

	ans1 = ans2 = 0;
	for (i = 0; i < n; i++) {
		d1 = x[i]-xmin, yy = y[i]-ymin;	if (yy > d1) d1 = yy;
		d2 = xmax-x[i], yy = ymax-y[i]; if (yy > d2) d2 = yy;
		if (d1 > d2) d1 = d2;
		if (d1 > ans1) ans1 = d1;

		d1 = x[i]-xmin, yy = ymax-y[i];	if (yy > d1) d1 = yy;
		d2 = xmax-x[i], yy = y[i]-ymin; if (yy > d2) d2 = yy;
		if (d1 > d2) d1 = d2;
		if (d1 > ans2) ans2 = d1;
    }
	if (ans1 > ans2) ans1 = ans2;
    printf("%d\n", ans1);
    return 0;
}

5
-1 0
1 0
-1 -2
0 1
-1 1
 5
-2 0
1 0
0 -2
0 2
-1 1
 5
0 0
2 0
0 -1
-2 6
-4 2
 5
0 1
2 1
0 -1
-2 4
-4 1
 5
-1 1
1 1
0 -1
-2 8
-5 1
 5
-2 2
-1 2
0 -1
-2 26
-9 1
 5
-2 2
-1 3
0 -2
-2 26
-9 1
 5
-2 2
-1 2
0 -2
-3 26
-13 1
 5
-2 2
0 2
0 -1
-5 26
-13 1
 5
-2 2
0 0
0 -1
-7 3
-13 1

3
 4
 6
 5
 7
 11
 12
 16
 15
 8

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

```c
// AOJ 0552: Exposition
// 2018.1.28 bal4u

#include <stdio.h>
#include <string.h>

int x[100002], y[100002];

//#define getchar_unlocked()  getchar()
int in()
{
	int n = 0;
	int c = getchar_unlocked();
	if (c == '-') {
		c = getchar_unlocked();
		do n = (n<<3)+(n<<1) + (c & 0xf), c = getchar_unlocked();
		while (c >= '0');
		return -n;
	}
	do n = (n<<3)+(n<<1) + (c & 0xf), c = getchar_unlocked();
	while (c >= '0');
	return n;
}

int main()
{
	int n, i, xx, yy, xmin, xmax, ymin, ymax, d1, d2, ans1, ans2;

	n = in();
	xx = in(), yy = in();
	x[0] = xx + yy, y[0] = xx - yy;
	xmin = xmax = x[0], ymin = ymax = y[0];
	for (i = 1; i < n; i++) {
		xx = in(), yy = in();
		x[i] = xx + yy, y[i] = xx - yy;
		if      (x[i] < xmin) xmin = x[i];
		else if (x[i] > xmax) xmax = x[i];
		if      (y[i] < ymin) ymin = y[i];
		else if (y[i] > ymax) ymax = y[i];
	}

	ans1 = ans2 = 0;
	for (i = 0; i < n; i++) {
		d1 = x[i]-xmin, yy = y[i]-ymin;	if (yy > d1) d1 = yy;
		d2 = xmax-x[i], yy = ymax-y[i]; if (yy > d2) d2 = yy;
		if (d1 > d2) d1 = d2;
		if (d1 > ans1) ans1 = d1;

		d1 = x[i]-xmin, yy = ymax-y[i];	if (yy > d1) d1 = yy;
		d2 = xmax-x[i], yy = y[i]-ymin; if (yy > d2) d2 = yy;
		if (d1 > d2) d1 = d2;
		if (d1 > ans2) ans2 = d1;
    }
	if (ans1 > ans2) ans1 = ans2;
    printf("%d\n", ans1);
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	x
	.bss
	.align 32
	.type	x, @object
	.size	x, 400008
x:
	.zero	400008
	.globl	y
	.align 32
	.type	y, @object
	.size	y, 400008
y:
	.zero	400008
	.text
	.globl	in
	.type	in, @function
in:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$45, -4(%rbp)
	jne	.L2
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
.L3:
	movl	-8(%rbp), %eax
	leal	0(,%rax,8), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %eax
	addl	%eax, %edx
	movl	-4(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$47, -4(%rbp)
	jg	.L3
	movl	-8(%rbp), %eax
	negl	%eax
	jmp	.L4
.L2:
	movl	-8(%rbp), %eax
	leal	0(,%rax,8), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %eax
	addl	%eax, %edx
	movl	-4(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$47, -4(%rbp)
	jg	.L2
	movl	-8(%rbp), %eax
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	in, .-in
	.section	.rodata
.LC0:
	.string	"%d\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	$48, %rsp
	movl	$0, %eax
	call	in
	movl	%eax, -12(%rbp)
	movl	$0, %eax
	call	in
	movl	%eax, -8(%rbp)
	movl	$0, %eax
	call	in
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, x(%rip)
	movl	-8(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	%eax, y(%rip)
	movl	x(%rip), %eax
	movl	%eax, -40(%rbp)
	movl	-40(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	y(%rip), %eax
	movl	%eax, -32(%rbp)
	movl	-32(%rbp), %eax
	movl	%eax, -36(%rbp)
	movl	$1, -48(%rbp)
	jmp	.L6
.L11:
	movl	$0, %eax
	call	in
	movl	%eax, -8(%rbp)
	movl	$0, %eax
	call	in
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-8(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	-48(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	y(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -44(%rbp)
	jle	.L7
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -44(%rbp)
	jmp	.L8
.L7:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -40(%rbp)
	jge	.L8
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -40(%rbp)
.L8:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -36(%rbp)
	jle	.L9
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -36(%rbp)
	jmp	.L10
.L9:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -32(%rbp)
	jge	.L10
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -32(%rbp)
.L10:
	addl	$1, -48(%rbp)
.L6:
	movl	-48(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jl	.L11
	movl	$0, -16(%rbp)
	movl	-16(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	$0, -48(%rbp)
	jmp	.L12
.L21:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-44(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-36(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L13
	movl	-4(%rbp), %eax
	movl	%eax, -28(%rbp)
.L13:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-40(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -24(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L14
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
.L14:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L15
	movl	-24(%rbp), %eax
	movl	%eax, -28(%rbp)
.L15:
	movl	-28(%rbp), %eax
	cmpl	-20(%rbp), %eax
	jle	.L16
	movl	-28(%rbp), %eax
	movl	%eax, -20(%rbp)
.L16:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-44(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L17
	movl	-4(%rbp), %eax
	movl	%eax, -28(%rbp)
.L17:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-40(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -24(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-36(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L18
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
.L18:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L19
	movl	-24(%rbp), %eax
	movl	%eax, -28(%rbp)
.L19:
	movl	-28(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L20
	movl	-28(%rbp), %eax
	movl	%eax, -16(%rbp)
.L20:
	addl	$1, -48(%rbp)
.L12:
	movl	-48(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jl	.L21
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L22
	movl	-16(%rbp), %eax
	movl	%eax, -20(%rbp)
.L22:
	movl	-20(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	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.
train
	.file	"temp.c"
	.text
	.globl	x
	.bss
	.align 32
	.type	x, @object
	.size	x, 400008
x:
	.zero	400008
	.globl	y
	.align 32
	.type	y, @object
	.size	y, 400008
y:
	.zero	400008
	.text
	.globl	in
	.type	in, @function
in:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$45, -4(%rbp)
	jne	.L2
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
.L3:
	movl	-8(%rbp), %eax
	leal	0(,%rax,8), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %eax
	addl	%eax, %edx
	movl	-4(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$47, -4(%rbp)
	jg	.L3
	movl	-8(%rbp), %eax
	negl	%eax
	jmp	.L4
.L2:
	movl	-8(%rbp), %eax
	leal	0(,%rax,8), %edx
	movl	-8(%rbp), %eax
	addl	%eax, %eax
	addl	%eax, %edx
	movl	-4(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$47, -4(%rbp)
	jg	.L2
	movl	-8(%rbp), %eax
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	in, .-in
	.section	.rodata
.LC0:
	.string	"%d\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	$48, %rsp
	movl	$0, %eax
	call	in
	movl	%eax, -12(%rbp)
	movl	$0, %eax
	call	in
	movl	%eax, -8(%rbp)
	movl	$0, %eax
	call	in
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, x(%rip)
	movl	-8(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	%eax, y(%rip)
	movl	x(%rip), %eax
	movl	%eax, -40(%rbp)
	movl	-40(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	y(%rip), %eax
	movl	%eax, -32(%rbp)
	movl	-32(%rbp), %eax
	movl	%eax, -36(%rbp)
	movl	$1, -48(%rbp)
	jmp	.L6
.L11:
	movl	$0, %eax
	call	in
	movl	%eax, -8(%rbp)
	movl	$0, %eax
	call	in
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-8(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	-48(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	y(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -44(%rbp)
	jle	.L7
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -44(%rbp)
	jmp	.L8
.L7:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -40(%rbp)
	jge	.L8
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -40(%rbp)
.L8:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -36(%rbp)
	jle	.L9
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -36(%rbp)
	jmp	.L10
.L9:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -32(%rbp)
	jge	.L10
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -32(%rbp)
.L10:
	addl	$1, -48(%rbp)
.L6:
	movl	-48(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jl	.L11
	movl	$0, -16(%rbp)
	movl	-16(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	$0, -48(%rbp)
	jmp	.L12
.L21:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-44(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-36(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L13
	movl	-4(%rbp), %eax
	movl	%eax, -28(%rbp)
.L13:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-40(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -24(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L14
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
.L14:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L15
	movl	-24(%rbp), %eax
	movl	%eax, -28(%rbp)
.L15:
	movl	-28(%rbp), %eax
	cmpl	-20(%rbp), %eax
	jle	.L16
	movl	-28(%rbp), %eax
	movl	%eax, -20(%rbp)
.L16:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-44(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-32(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L17
	movl	-4(%rbp), %eax
	movl	%eax, -28(%rbp)
.L17:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-40(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -24(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	-36(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L18
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
.L18:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L19
	movl	-24(%rbp), %eax
	movl	%eax, -28(%rbp)
.L19:
	movl	-28(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L20
	movl	-28(%rbp), %eax
	movl	%eax, -16(%rbp)
.L20:
	addl	$1, -48(%rbp)
.L12:
	movl	-48(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jl	.L21
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L22
	movl	-16(%rbp), %eax
	movl	%eax, -20(%rbp)
.L22:
	movl	-20(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	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:
