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

```c
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

int main (void) {
    long long i;
    long long n_human;
    long long capa[5];
    long long min_capa = LLONG_MAX;
    long long ans = 0;

    if ( scanf("%lld%lld%lld%lld%lld%lld",
               &n_human, &capa[0], &capa[1], &capa[2], &capa[3], &capa[4]) != 6 )
    {
        fprintf(stderr, "Invalid input\n");
        return EXIT_FAILURE;
    }

    for ( i=0; i<5; i++ ) {
        if ( min_capa > capa[i] )
            min_capa = capa[i];
    }

    /* bottleneck */
    ans += (n_human - 1) / min_capa + 1;
    /* other than bottleneck */
    ans += 4;

    printf("%lld\n", ans);
    return EXIT_SUCCESS;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld%lld%lld%lld"
.LC1:
	.string	"Invalid input\n"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$72, %rsp
	.cfi_def_cfa_offset 80
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	24(%rsp), %rcx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	leaq	56(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	48(%rsp), %r8
	call	__isoc99_scanf@PLT
	popq	%rdx
	.cfi_def_cfa_offset 88
	popq	%rcx
	.cfi_def_cfa_offset 80
	cmpl	$6, %eax
	jne	.L7
	movq	24(%rsp), %rdx
	movq	16(%rsp), %rcx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movq	8(%rsp), %rax
	subq	$1, %rax
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	32(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	40(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	48(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	cqto
	idivq	%rcx
	leaq	5(%rax), %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
.L1:
	movq	56(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L8
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movq	stderr(%rip), %rcx
	movl	$14, %edx
	movl	$1, %esi
	leaq	.LC1(%rip), %rdi
	call	fwrite@PLT
	movl	$1, %eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld%lld%lld%lld"
.LC1:
	.string	"Invalid input\n"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$72, %rsp
	.cfi_def_cfa_offset 80
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	24(%rsp), %rcx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	leaq	56(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	48(%rsp), %r8
	call	__isoc99_scanf@PLT
	popq	%rdx
	.cfi_def_cfa_offset 88
	popq	%rcx
	.cfi_def_cfa_offset 80
	cmpl	$6, %eax
	jne	.L7
	movq	24(%rsp), %rdx
	movq	16(%rsp), %rcx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movq	8(%rsp), %rax
	subq	$1, %rax
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	32(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	40(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	48(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	cqto
	idivq	%rcx
	leaq	5(%rax), %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
.L1:
	movq	56(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L8
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movq	stderr(%rip), %rcx
	movl	$14, %edx
	movl	$1, %esi
	leaq	.LC1(%rip), %rdi
	call	fwrite@PLT
	movl	$1, %eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld%lld%lld%lld"
.LC1:
	.string	"Invalid input\n"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$72, %rsp
	.cfi_def_cfa_offset 80
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	24(%rsp), %rcx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	leaq	56(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	48(%rsp), %r8
	call	__isoc99_scanf@PLT
	popq	%rdx
	.cfi_def_cfa_offset 88
	popq	%rcx
	.cfi_def_cfa_offset 80
	cmpl	$6, %eax
	jne	.L7
	movq	24(%rsp), %rdx
	movq	16(%rsp), %rcx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movq	8(%rsp), %rax
	subq	$1, %rax
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	32(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	40(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	48(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	cqto
	idivq	%rcx
	leaq	5(%rax), %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
.L1:
	movq	56(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L8
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movq	stderr(%rip), %rcx
	movl	$14, %edx
	movl	$1, %esi
	leaq	.LC1(%rip), %rdi
	call	fwrite@PLT
	movl	$1, %eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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 <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

int main (void) {
    long long i;
    long long n_human;
    long long capa[5];
    long long min_capa = LLONG_MAX;
    long long ans = 0;

    if ( scanf("%lld%lld%lld%lld%lld%lld",
               &n_human, &capa[0], &capa[1], &capa[2], &capa[3], &capa[4]) != 6 )
    {
        fprintf(stderr, "Invalid input\n");
        return EXIT_FAILURE;
    }

    for ( i=0; i<5; i++ ) {
        if ( min_capa > capa[i] )
            min_capa = capa[i];
    }

    /* bottleneck */
    ans += (n_human - 1) / min_capa + 1;
    /* other than bottleneck */
    ans += 4;

    printf("%lld\n", ans);
    return EXIT_SUCCESS;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

int main (void) {
    long long i;
    long long n_human;
    long long capa[5];
    long long min_capa = LLONG_MAX;
    long long ans = 0;

    if ( scanf("%lld%lld%lld%lld%lld%lld",
               &n_human, &capa[0], &capa[1], &capa[2], &capa[3], &capa[4]) != 6 )
    {
        fprintf(stderr, "Invalid input\n");
        return EXIT_FAILURE;
    }

    for ( i=0; i<5; i++ ) {
        if ( min_capa > capa[i] )
            min_capa = capa[i];
    }

    /* bottleneck */
    ans += (n_human - 1) / min_capa + 1;
    /* other than bottleneck */
    ans += 4;

    printf("%lld\n", ans);
    return EXIT_SUCCESS;
}
```

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:

5
3
2
4
3
6
 10
123
219
123
123
123
 10000000007
2
3
5
3
11
 10000000007
2
3
1
3
11
 10
123
633
27
9
123
 5
3
2
4
1
6
 10
31
457
1
123
48
 10
110
1017
3
9
29
 10000000007
4
3
9
14
3
 10
123
219
27
123
123

7
 5
 5000000008
 10000000011
 6
 9
 14
 8
 3333333340
 5

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

```c
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

int main (void) {
    long long i;
    long long n_human;
    long long capa[5];
    long long min_capa = LLONG_MAX;
    long long ans = 0;

    if ( scanf("%lld%lld%lld%lld%lld%lld",
               &n_human, &capa[0], &capa[1], &capa[2], &capa[3], &capa[4]) != 6 )
    {
        fprintf(stderr, "Invalid input\n");
        return EXIT_FAILURE;
    }

    for ( i=0; i<5; i++ ) {
        if ( min_capa > capa[i] )
            min_capa = capa[i];
    }

    /* bottleneck */
    ans += (n_human - 1) / min_capa + 1;
    /* other than bottleneck */
    ans += 4;

    printf("%lld\n", ans);
    return EXIT_SUCCESS;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld%lld%lld%lld"
.LC1:
	.string	"Invalid input\n"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$72, %rsp
	.cfi_def_cfa_offset 80
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	24(%rsp), %rcx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	leaq	56(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	48(%rsp), %r8
	call	__isoc99_scanf@PLT
	popq	%rdx
	.cfi_def_cfa_offset 88
	popq	%rcx
	.cfi_def_cfa_offset 80
	cmpl	$6, %eax
	jne	.L7
	movq	24(%rsp), %rdx
	movq	16(%rsp), %rcx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movq	8(%rsp), %rax
	subq	$1, %rax
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	32(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	40(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	48(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	cqto
	idivq	%rcx
	leaq	5(%rax), %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
.L1:
	movq	56(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L8
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movq	stderr(%rip), %rcx
	movl	$14, %edx
	movl	$1, %esi
	leaq	.LC1(%rip), %rdi
	call	fwrite@PLT
	movl	$1, %eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld%lld%lld%lld"
.LC1:
	.string	"Invalid input\n"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$72, %rsp
	.cfi_def_cfa_offset 80
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	24(%rsp), %rcx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	leaq	56(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	48(%rsp), %r8
	call	__isoc99_scanf@PLT
	popq	%rdx
	.cfi_def_cfa_offset 88
	popq	%rcx
	.cfi_def_cfa_offset 80
	cmpl	$6, %eax
	jne	.L7
	movq	24(%rsp), %rdx
	movq	16(%rsp), %rcx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movq	8(%rsp), %rax
	subq	$1, %rax
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	32(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	40(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	movq	48(%rsp), %rdx
	cmpq	%rdx, %rcx
	cmovg	%rdx, %rcx
	cqto
	idivq	%rcx
	leaq	5(%rax), %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
.L1:
	movq	56(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L8
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movq	stderr(%rip), %rcx
	movl	$14, %edx
	movl	$1, %esi
	leaq	.LC1(%rip), %rdi
	call	fwrite@PLT
	movl	$1, %eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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:
```