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>
#include<stdlib.h>
#include<stdbool.h>
#define MOD 1000000007
#define rep(i,l,r) for(ll i=l;i<r;i++)

typedef long long ll;

ll min(ll x, ll y) { return (x < y) ? x : y; }


int main() {
    ll n, a, b, x[100001], dp[100001];
    scanf("%lld%lld%lld", &n, &a, &b);
    rep(i, 0, n) scanf("%lld", &x[i]);
    dp[0] = 0;
    rep(i, 0, n) {
        dp[i + 1] = dp[i] + min((x[i + 1] - x[i]) * a, b);
    }
    printf("%lld", dp[n - 1]);

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	min
	.type	min, @function
min:
.LFB6:
	.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	-16(%rbp), %rdx
	movq	-8(%rbp), %rax
	cmpq	%rax, %rdx
	cmovle	%rdx, %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	leaq	-1597440(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2648, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-1600072(%rbp), %rcx
	leaq	-1600080(%rbp), %rdx
	leaq	-1600088(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -1600064(%rbp)
	jmp	.L4
.L5:
	leaq	-1600048(%rbp), %rdx
	movq	-1600064(%rbp), %rax
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$1, -1600064(%rbp)
.L4:
	movq	-1600088(%rbp), %rax
	cmpq	%rax, -1600064(%rbp)
	jl	.L5
	movq	$0, -800032(%rbp)
	movq	$0, -1600056(%rbp)
	jmp	.L6
.L7:
	movq	-1600056(%rbp), %rax
	movq	-800032(%rbp,%rax,8), %rbx
	movq	-1600072(%rbp), %rdx
	movq	-1600056(%rbp), %rax
	addq	$1, %rax
	movq	-1600048(%rbp,%rax,8), %rcx
	movq	-1600056(%rbp), %rax
	movq	-1600048(%rbp,%rax,8), %rax
	subq	%rax, %rcx
	movq	-1600080(%rbp), %rax
	imulq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	min
	movq	%rax, %rdx
	movq	-1600056(%rbp), %rax
	addq	$1, %rax
	addq	%rbx, %rdx
	movq	%rdx, -800032(%rbp,%rax,8)
	addq	$1, -1600056(%rbp)
.L6:
	movq	-1600088(%rbp), %rax
	cmpq	%rax, -1600056(%rbp)
	jl	.L7
	movq	-1600088(%rbp), %rax
	subq	$1, %rax
	movq	-800032(%rbp,%rax,8), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	min
	.type	min, @function
min:
.LFB39:
	.cfi_startproc
	endbr64
	cmpq	%rdi, %rsi
	movq	%rdi, %rax
	cmovle	%rsi, %rax
	ret
	.cfi_endproc
.LFE39:
	.size	min, .-min
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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	-1597440(%rsp), %r11
	.cfi_def_cfa 11, 1597480
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2632, %rsp
	.cfi_def_cfa_offset 1600112
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 1600056(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	testq	%rcx, %rcx
	jle	.L4
	leaq	32(%rsp), %r12
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	addq	$8, %rbp
	cmpq	%rbx, %rcx
	jg	.L5
	movq	$0, 800048(%rsp)
	testq	%rcx, %rcx
	jle	.L6
	movq	24(%rsp), %rsi
	movq	16(%rsp), %r9
	cmpq	$2, %rcx
	jle	.L11
	leaq	-3(%rcx), %rdx
	movq	32(%rsp), %r11
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	andq	$-2, %rdx
	leaq	800048(%rsp), %rdi
	addq	$2, %rdx
.L8:
	movq	8(%r12,%rax,8), %rbx
	movq	%rbx, %r10
	subq	%r11, %r10
	imulq	%r9, %r10
	cmpq	%rsi, %r10
	cmovg	%rsi, %r10
	addq	%r10, %r8
	movq	%r8, 8(%rdi,%rax,8)
	addq	$2, %rax
	movq	(%r12,%rax,8), %r11
	movq	%r11, %r10
	subq	%rbx, %r10
	imulq	%r9, %r10
	cmpq	%rsi, %r10
	cmovg	%rsi, %r10
	addq	%r10, %r8
	movq	%r8, (%rdi,%rax,8)
	cmpq	%rdx, %rax
	jne	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	movq	(%rdi,%rdx,8), %r8
	addq	$1, %rdx
	movq	(%r12,%rdx,8), %rax
	subq	-8(%r12,%rdx,8), %rax
	imulq	%r9, %rax
	cmpq	%rsi, %rax
	cmovg	%rsi, %rax
	addq	%r8, %rax
	movq	%rax, (%rdi,%rdx,8)
	cmpq	%rdx, %rcx
	jg	.L9
.L6:
	movq	800040(%rsp,%rcx,8), %rdx
	xorl	%eax, %eax
	movq	%r13, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	1600056(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$1600072, %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	$0, 800048(%rsp)
	leaq	.LC1(%rip), %r13
	jmp	.L6
.L11:
	xorl	%edx, %edx
	leaq	800048(%rsp), %rdi
	jmp	.L9
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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	min
	.type	min, @function
min:
.LFB39:
	.cfi_startproc
	endbr64
	cmpq	%rdi, %rsi
	movq	%rdi, %rax
	cmovle	%rsi, %rax
	ret
	.cfi_endproc
.LFE39:
	.size	min, .-min
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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	-1597440(%rsp), %r11
	.cfi_def_cfa 11, 1597480
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2632, %rsp
	.cfi_def_cfa_offset 1600112
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 1600056(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	testq	%rcx, %rcx
	jle	.L4
	leaq	32(%rsp), %r12
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	addq	$8, %rbp
	cmpq	%rbx, %rcx
	jg	.L5
	movq	$0, 800048(%rsp)
	testq	%rcx, %rcx
	jle	.L6
	movq	24(%rsp), %rsi
	movq	16(%rsp), %r9
	cmpq	$2, %rcx
	jle	.L11
	leaq	-3(%rcx), %rdx
	movq	32(%rsp), %r11
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	andq	$-2, %rdx
	leaq	800048(%rsp), %rdi
	addq	$2, %rdx
.L8:
	movq	8(%r12,%rax,8), %rbx
	movq	%rbx, %r10
	subq	%r11, %r10
	imulq	%r9, %r10
	cmpq	%rsi, %r10
	cmovg	%rsi, %r10
	addq	%r10, %r8
	movq	%r8, 8(%rdi,%rax,8)
	addq	$2, %rax
	movq	(%r12,%rax,8), %r11
	movq	%r11, %r10
	subq	%rbx, %r10
	imulq	%r9, %r10
	cmpq	%rsi, %r10
	cmovg	%rsi, %r10
	addq	%r10, %r8
	movq	%r8, (%rdi,%rax,8)
	cmpq	%rdx, %rax
	jne	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	movq	(%rdi,%rdx,8), %r8
	addq	$1, %rdx
	movq	(%r12,%rdx,8), %rax
	subq	-8(%r12,%rdx,8), %rax
	imulq	%r9, %rax
	cmpq	%rsi, %rax
	cmovg	%rsi, %rax
	addq	%r8, %rax
	movq	%rax, (%rdi,%rdx,8)
	cmpq	%rdx, %rcx
	jg	.L9
.L6:
	movq	800040(%rsp,%rcx,8), %rdx
	xorl	%eax, %eax
	movq	%r13, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	1600056(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$1600072, %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	$0, 800048(%rsp)
	leaq	.LC1(%rip), %r13
	jmp	.L6
.L11:
	xorl	%edx, %edx
	leaq	800048(%rsp), %rdi
	jmp	.L9
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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>
#include<stdlib.h>
#include<stdbool.h>
#define MOD 1000000007
#define rep(i,l,r) for(ll i=l;i<r;i++)

typedef long long ll;

ll min(ll x, ll y) { return (x < y) ? x : y; }


int main() {
    ll n, a, b, x[100001], dp[100001];
    scanf("%lld%lld%lld", &n, &a, &b);
    rep(i, 0, n) scanf("%lld", &x[i]);
    dp[0] = 0;
    rep(i, 0, n) {
        dp[i + 1] = dp[i] + min((x[i + 1] - x[i]) * a, b);
    }
    printf("%lld", dp[n - 1]);

    return 0;
}
4 2 5
1 2 5 7

11
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>
#include<stdlib.h>
#include<stdbool.h>
#define MOD 1000000007
#define rep(i,l,r) for(ll i=l;i<r;i++)

typedef long long ll;

ll min(ll x, ll y) { return (x < y) ? x : y; }


int main() {
    ll n, a, b, x[100001], dp[100001];
    scanf("%lld%lld%lld", &n, &a, &b);
    rep(i, 0, n) scanf("%lld", &x[i]);
    dp[0] = 0;
    rep(i, 0, n) {
        dp[i + 1] = dp[i] + min((x[i + 1] - x[i]) * a, b);
    }
    printf("%lld", dp[n - 1]);

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	min
	.type	min, @function
min:
.LFB6:
	.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	-16(%rbp), %rdx
	movq	-8(%rbp), %rax
	cmpq	%rax, %rdx
	cmovle	%rdx, %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	leaq	-1597440(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2648, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-1600072(%rbp), %rcx
	leaq	-1600080(%rbp), %rdx
	leaq	-1600088(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -1600064(%rbp)
	jmp	.L4
.L5:
	leaq	-1600048(%rbp), %rdx
	movq	-1600064(%rbp), %rax
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$1, -1600064(%rbp)
.L4:
	movq	-1600088(%rbp), %rax
	cmpq	%rax, -1600064(%rbp)
	jl	.L5
	movq	$0, -800032(%rbp)
	movq	$0, -1600056(%rbp)
	jmp	.L6
.L7:
	movq	-1600056(%rbp), %rax
	movq	-800032(%rbp,%rax,8), %rbx
	movq	-1600072(%rbp), %rdx
	movq	-1600056(%rbp), %rax
	addq	$1, %rax
	movq	-1600048(%rbp,%rax,8), %rcx
	movq	-1600056(%rbp), %rax
	movq	-1600048(%rbp,%rax,8), %rax
	subq	%rax, %rcx
	movq	-1600080(%rbp), %rax
	imulq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	min
	movq	%rax, %rdx
	movq	-1600056(%rbp), %rax
	addq	$1, %rax
	addq	%rbx, %rdx
	movq	%rdx, -800032(%rbp,%rax,8)
	addq	$1, -1600056(%rbp)
.L6:
	movq	-1600088(%rbp), %rax
	cmpq	%rax, -1600056(%rbp)
	jl	.L7
	movq	-1600088(%rbp), %rax
	subq	$1, %rax
	movq	-800032(%rbp,%rax,8), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
val
	.file	"temp.c"
	.text
	.globl	min
	.type	min, @function
min:
.LFB6:
	.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	-16(%rbp), %rdx
	movq	-8(%rbp), %rax
	cmpq	%rax, %rdx
	cmovle	%rdx, %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	leaq	-1597440(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2648, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-1600072(%rbp), %rcx
	leaq	-1600080(%rbp), %rdx
	leaq	-1600088(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -1600064(%rbp)
	jmp	.L4
.L5:
	leaq	-1600048(%rbp), %rdx
	movq	-1600064(%rbp), %rax
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$1, -1600064(%rbp)
.L4:
	movq	-1600088(%rbp), %rax
	cmpq	%rax, -1600064(%rbp)
	jl	.L5
	movq	$0, -800032(%rbp)
	movq	$0, -1600056(%rbp)
	jmp	.L6
.L7:
	movq	-1600056(%rbp), %rax
	movq	-800032(%rbp,%rax,8), %rbx
	movq	-1600072(%rbp), %rdx
	movq	-1600056(%rbp), %rax
	addq	$1, %rax
	movq	-1600048(%rbp,%rax,8), %rcx
	movq	-1600056(%rbp), %rax
	movq	-1600048(%rbp,%rax,8), %rax
	subq	%rax, %rcx
	movq	-1600080(%rbp), %rax
	imulq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	min
	movq	%rax, %rdx
	movq	-1600056(%rbp), %rax
	addq	$1, %rax
	addq	%rbx, %rdx
	movq	%rdx, -800032(%rbp,%rax,8)
	addq	$1, -1600056(%rbp)
.L6:
	movq	-1600088(%rbp), %rax
	cmpq	%rax, -1600056(%rbp)
	jl	.L7
	movq	-1600088(%rbp), %rax
	subq	$1, %rax
	movq	-800032(%rbp,%rax,8), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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:
