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

```c
#include <stdio.h>
unsigned long long mi(unsigned long long a, unsigned long long b){
	return a < b ? a: b;
}
int main(){
	unsigned long long int bars[200005], sum[200005], min;
	int n;
	scanf("%d", &n);
	//scanf("%llu", &bars[1]);
	sum[0] = 0;
	//sum[1] = bars[1];
	for(int i = 1; i <= n; ++i){
		scanf("%llu", &bars[i]);
		sum[i] = sum[i-1] + bars[i];
		//printf("%llu ", sum[i]);
	}
	min = sum[n];
	unsigned long long u, dif, j;
	for(int i = 1; i < n; ++i){
		j = sum[i];//<-
		u = sum[n] > j ? sum[n] - j : j - sum[n]; //positive//->
		dif = u > j ? u - j: j - u;//positive
		//printf("%d %llu %llu %llu\n", i, u, j, dif);
		min = mi(min, dif);
	}
	printf("%llu\n", min);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	mi
	.type	mi, @function
mi:
.LFB23:
	.cfi_startproc
	endbr64
	cmpq	%rdi, %rsi
	movq	%rdi, %rax
	cmovbe	%rsi, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	mi, .-mi
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%llu"
.LC2:
	.string	"%llu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199016
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1144, %rsp
	.cfi_def_cfa_offset 3200160
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200104(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	movq	$0, 1600064(%rsp)
	testl	%eax, %eax
	jle	.L4
	leaq	24(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	leaq	1600064(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$8, %rbp
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	addq	-8(%r13,%rbx,8), %rax
	movq	%rax, 0(%r13,%rbx,8)
	movl	12(%rsp), %eax
	addq	$1, %rbx
	cmpl	%ebx, %eax
	jge	.L5
	movslq	%eax, %rdx
	movq	1600064(%rsp,%rdx,8), %rdi
	cmpl	$1, %eax
	jle	.L13
	subl	$2, %eax
	leaq	1600072(%rsp), %rsi
	movq	%rdi, %r8
	leaq	1600080(%rsp,%rax,8), %r10
	.p2align 4,,10
	.p2align 3
.L11:
	movq	(%rsi), %rax
	movq	%rdi, %rcx
	movq	%rax, %rdx
	subq	%rax, %rcx
	subq	%rdi, %rdx
	cmpq	%rdi, %rax
	cmovb	%rcx, %rdx
	movq	%rax, %rcx
	movq	%rdx, %r9
	subq	%rdx, %rcx
	subq	%rax, %r9
	cmpq	%rdx, %rax
	movq	%r9, %rax
	cmovnb	%rcx, %rax
	cmpq	%rax, %r8
	cmova	%rax, %r8
	addq	$8, %rsi
	cmpq	%rsi, %r10
	jne	.L11
.L6:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	3200104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$3200120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	movq	1600064(%rsp,%rax,8), %r8
	jmp	.L6
.L13:
	movq	%rdi, %r8
	jmp	.L6
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	mi
	.type	mi, @function
mi:
.LFB23:
	.cfi_startproc
	endbr64
	cmpq	%rdi, %rsi
	movq	%rdi, %rax
	cmovbe	%rsi, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	mi, .-mi
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%llu"
.LC2:
	.string	"%llu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199016
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1144, %rsp
	.cfi_def_cfa_offset 3200160
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200104(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	movq	$0, 1600064(%rsp)
	testl	%eax, %eax
	jle	.L4
	leaq	24(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	leaq	1600064(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$8, %rbp
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	addq	-8(%r13,%rbx,8), %rax
	movq	%rax, 0(%r13,%rbx,8)
	movl	12(%rsp), %eax
	addq	$1, %rbx
	cmpl	%ebx, %eax
	jge	.L5
	movslq	%eax, %rdx
	movq	1600064(%rsp,%rdx,8), %rdi
	cmpl	$1, %eax
	jle	.L13
	subl	$2, %eax
	leaq	1600072(%rsp), %rsi
	movq	%rdi, %r8
	leaq	1600080(%rsp,%rax,8), %r10
	.p2align 4,,10
	.p2align 3
.L11:
	movq	(%rsi), %rax
	movq	%rdi, %rcx
	movq	%rax, %rdx
	subq	%rax, %rcx
	subq	%rdi, %rdx
	cmpq	%rdi, %rax
	cmovb	%rcx, %rdx
	movq	%rax, %rcx
	movq	%rdx, %r9
	subq	%rdx, %rcx
	subq	%rax, %r9
	cmpq	%rdx, %rax
	movq	%r9, %rax
	cmovnb	%rcx, %rax
	cmpq	%rax, %r8
	cmova	%rax, %r8
	addq	$8, %rsi
	cmpq	%rsi, %r10
	jne	.L11
.L6:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	3200104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$3200120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	movq	1600064(%rsp,%rax,8), %r8
	jmp	.L6
.L13:
	movq	%rdi, %r8
	jmp	.L6
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
rule
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	mi
	.type	mi, @function
mi:
.LFB23:
	.cfi_startproc
	endbr64
	cmpq	%rdi, %rsi
	movq	%rdi, %rax
	cmovbe	%rsi, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	mi, .-mi
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%llu"
.LC2:
	.string	"%llu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199016
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1144, %rsp
	.cfi_def_cfa_offset 3200160
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200104(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	movq	$0, 1600064(%rsp)
	testl	%eax, %eax
	jle	.L4
	leaq	24(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	leaq	1600064(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$8, %rbp
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	addq	-8(%r13,%rbx,8), %rax
	movq	%rax, 0(%r13,%rbx,8)
	movl	12(%rsp), %eax
	addq	$1, %rbx
	cmpl	%ebx, %eax
	jge	.L5
	movslq	%eax, %rdx
	movq	1600064(%rsp,%rdx,8), %rdi
	cmpl	$1, %eax
	jle	.L13
	subl	$2, %eax
	leaq	1600072(%rsp), %rsi
	movq	%rdi, %r8
	leaq	1600080(%rsp,%rax,8), %r10
	.p2align 4,,10
	.p2align 3
.L11:
	movq	(%rsi), %rax
	movq	%rdi, %rcx
	movq	%rax, %rdx
	subq	%rax, %rcx
	subq	%rdi, %rdx
	cmpq	%rdi, %rax
	cmovb	%rcx, %rdx
	movq	%rax, %rcx
	movq	%rdx, %r9
	subq	%rdx, %rcx
	subq	%rax, %r9
	cmpq	%rdx, %rax
	movq	%r9, %rax
	cmovnb	%rcx, %rax
	cmpq	%rax, %r8
	cmova	%rax, %r8
	addq	$8, %rsi
	cmpq	%rsi, %r10
	jne	.L11
.L6:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	3200104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$3200120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	movq	1600064(%rsp,%rax,8), %r8
	jmp	.L6
.L13:
	movq	%rdi, %r8
	jmp	.L6
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
```c
#include <stdio.h>
unsigned long long mi(unsigned long long a, unsigned long long b){
	return a < b ? a: b;
}
int main(){
	unsigned long long int bars[200005], sum[200005], min;
	int n;
	scanf("%d", &n);
	//scanf("%llu", &bars[1]);
	sum[0] = 0;
	//sum[1] = bars[1];
	for(int i = 1; i <= n; ++i){
		scanf("%llu", &bars[i]);
		sum[i] = sum[i-1] + bars[i];
		//printf("%llu ", sum[i]);
	}
	min = sum[n];
	unsigned long long u, dif, j;
	for(int i = 1; i < n; ++i){
		j = sum[i];//<-
		u = sum[n] > j ? sum[n] - j : j - sum[n]; //positive//->
		dif = u > j ? u - j: j - u;//positive
		//printf("%d %llu %llu %llu\n", i, u, j, dif);
		min = mi(min, dif);
	}
	printf("%llu\n", min);
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
unsigned long long mi(unsigned long long a, unsigned long long b){
	return a < b ? a: b;
}
int main(){
	unsigned long long int bars[200005], sum[200005], min;
	int n;
	scanf("%d", &n);
	//scanf("%llu", &bars[1]);
	sum[0] = 0;
	//sum[1] = bars[1];
	for(int i = 1; i <= n; ++i){
		scanf("%llu", &bars[i]);
		sum[i] = sum[i-1] + bars[i];
		//printf("%llu ", sum[i]);
	}
	min = sum[n];
	unsigned long long u, dif, j;
	for(int i = 1; i < n; ++i){
		j = sum[i];//<-
		u = sum[n] > j ? sum[n] - j : j - sum[n]; //positive//->
		dif = u > j ? u - j: j - u;//positive
		//printf("%d %llu %llu %llu\n", i, u, j, dif);
		min = mi(min, dif);
	}
	printf("%llu\n", min);
}```

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.
Optimized Assembly Code:

3
2 5 3
 12
100 104 102 105 103 103 100 105 104 102 104 101
 3
2 8 3
 12
100 104 102 105 103 103 100 117 104 102 104 101
 3
2 8 2
 12
101 104 102 105 103 103 100 117 104 102 104 101
 12
101 104 102 105 103 103 100 117 104 102 104 111
 3
2 0 4
 12
101 104 102 187 103 103 100 117 104 102 104 111
 12
101 104 102 187 103 103 110 117 104 102 104 111

4
 1
 7
 11
 8
 10
 20
 2
 62
 52

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

```c
#include <stdio.h>
unsigned long long mi(unsigned long long a, unsigned long long b){
	return a < b ? a: b;
}
int main(){
	unsigned long long int bars[200005], sum[200005], min;
	int n;
	scanf("%d", &n);
	//scanf("%llu", &bars[1]);
	sum[0] = 0;
	//sum[1] = bars[1];
	for(int i = 1; i <= n; ++i){
		scanf("%llu", &bars[i]);
		sum[i] = sum[i-1] + bars[i];
		//printf("%llu ", sum[i]);
	}
	min = sum[n];
	unsigned long long u, dif, j;
	for(int i = 1; i < n; ++i){
		j = sum[i];//<-
		u = sum[n] > j ? sum[n] - j : j - sum[n]; //positive//->
		dif = u > j ? u - j: j - u;//positive
		//printf("%d %llu %llu %llu\n", i, u, j, dif);
		min = mi(min, dif);
	}
	printf("%llu\n", min);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	mi
	.type	mi, @function
mi:
.LFB23:
	.cfi_startproc
	endbr64
	cmpq	%rdi, %rsi
	movq	%rdi, %rax
	cmovbe	%rsi, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	mi, .-mi
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%llu"
.LC2:
	.string	"%llu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199016
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1144, %rsp
	.cfi_def_cfa_offset 3200160
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200104(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	movq	$0, 1600064(%rsp)
	testl	%eax, %eax
	jle	.L4
	leaq	24(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	leaq	1600064(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$8, %rbp
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	addq	-8(%r13,%rbx,8), %rax
	movq	%rax, 0(%r13,%rbx,8)
	movl	12(%rsp), %eax
	addq	$1, %rbx
	cmpl	%ebx, %eax
	jge	.L5
	movslq	%eax, %rdx
	movq	1600064(%rsp,%rdx,8), %rdi
	cmpl	$1, %eax
	jle	.L13
	subl	$2, %eax
	leaq	1600072(%rsp), %rsi
	movq	%rdi, %r8
	leaq	1600080(%rsp,%rax,8), %r10
	.p2align 4,,10
	.p2align 3
.L11:
	movq	(%rsi), %rax
	movq	%rdi, %rcx
	movq	%rax, %rdx
	subq	%rax, %rcx
	subq	%rdi, %rdx
	cmpq	%rdi, %rax
	cmovb	%rcx, %rdx
	movq	%rax, %rcx
	movq	%rdx, %r9
	subq	%rdx, %rcx
	subq	%rax, %r9
	cmpq	%rdx, %rax
	movq	%r9, %rax
	cmovnb	%rcx, %rax
	cmpq	%rax, %r8
	cmova	%rax, %r8
	addq	$8, %rsi
	cmpq	%rsi, %r10
	jne	.L11
.L6:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	3200104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$3200120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	movq	1600064(%rsp,%rax,8), %r8
	jmp	.L6
.L13:
	movq	%rdi, %r8
	jmp	.L6
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	mi
	.type	mi, @function
mi:
.LFB23:
	.cfi_startproc
	endbr64
	cmpq	%rdi, %rsi
	movq	%rdi, %rax
	cmovbe	%rsi, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	mi, .-mi
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%llu"
.LC2:
	.string	"%llu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199016
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1144, %rsp
	.cfi_def_cfa_offset 3200160
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200104(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	movq	$0, 1600064(%rsp)
	testl	%eax, %eax
	jle	.L4
	leaq	24(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	leaq	1600064(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$8, %rbp
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	addq	-8(%r13,%rbx,8), %rax
	movq	%rax, 0(%r13,%rbx,8)
	movl	12(%rsp), %eax
	addq	$1, %rbx
	cmpl	%ebx, %eax
	jge	.L5
	movslq	%eax, %rdx
	movq	1600064(%rsp,%rdx,8), %rdi
	cmpl	$1, %eax
	jle	.L13
	subl	$2, %eax
	leaq	1600072(%rsp), %rsi
	movq	%rdi, %r8
	leaq	1600080(%rsp,%rax,8), %r10
	.p2align 4,,10
	.p2align 3
.L11:
	movq	(%rsi), %rax
	movq	%rdi, %rcx
	movq	%rax, %rdx
	subq	%rax, %rcx
	subq	%rdi, %rdx
	cmpq	%rdi, %rax
	cmovb	%rcx, %rdx
	movq	%rax, %rcx
	movq	%rdx, %r9
	subq	%rdx, %rcx
	subq	%rax, %r9
	cmpq	%rdx, %rax
	movq	%r9, %rax
	cmovnb	%rcx, %rax
	cmpq	%rax, %r8
	cmova	%rax, %r8
	addq	$8, %rsi
	cmpq	%rsi, %r10
	jne	.L11
.L6:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	3200104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$3200120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	movq	1600064(%rsp,%rax,8), %r8
	jmp	.L6
.L13:
	movq	%rdi, %r8
	jmp	.L6
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```