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>

int minimum(int a, int b) { return a < b ? a : b; }

int main(){
    int D, G, p[10], c[10], i, j, k, a, ans=100000, num, max;

    scanf("%d %d", &D, &G);

    for(i=0; i<D; i++){
        scanf("%d %d", &p[i], &c[i]);
    }

    for(i=0; i<(1<<D); i++){
        a=0;
        num=0;
        max=-1;
        for(j=0; j<D; j++){
            if((i>>j) & 1){
                a += p[j]*(j+1)*100 + c[j];
                num += p[j];
            }
            else
                max = j;
        }

        j=0;
        while(a < G && j < p[max]){
            a += (max+1)*100;
            num++;
            j++;
        }
        
        if(a >= G)
            ans = minimum(ans, num);
    }

    printf("%d\n", ans);

    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	minimum
	.type	minimum, @function
minimum:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	%edi, %esi
	movl	%edi, %eax
	cmovle	%esi, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	minimum, .-minimum
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d\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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$120, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L4
	leaq	16(%rsp), %rbp
	xorl	%ebx, %ebx
	leaq	64(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	0(%r13,%rbx,4), %rdx
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	addq	$1, %rbx
	addq	$4, %rbp
	cmpl	%ebx, %ecx
	jg	.L5
.L4:
	movl	$1, %ebx
	sall	%cl, %ebx
	testl	%ebx, %ebx
	jle	.L17
	movl	12(%rsp), %r9d
	movl	$100000, %r11d
	xorl	%r8d, %r8d
	movslq	%ecx, %r10
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$-1, %r12d
	xorl	%edi, %edi
	xorl	%edx, %edx
	testl	%ecx, %ecx
	jle	.L14
	xorl	%eax, %eax
	movl	$-1, %r12d
	xorl	%edi, %edi
	xorl	%edx, %edx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	movl	16(%rsp,%rax,4), %ebp
	leal	1(%rax), %esi
	imull	%ebp, %esi
	addl	%ebp, %edi
	imull	$100, %esi, %esi
	addl	64(%rsp,%rax,4), %esi
	addq	$1, %rax
	addl	%esi, %edx
	cmpq	%rax, %r10
	je	.L14
.L9:
	btl	%eax, %r8d
	jc	.L24
	movl	%eax, %r12d
	addq	$1, %rax
	cmpq	%rax, %r10
	jne	.L9
.L14:
	cmpl	%r9d, %edx
	jge	.L10
	movslq	%r12d, %rax
	leal	1(%r12), %esi
	leal	1(%rdi), %r12d
	movl	16(%rsp,%rax,4), %ebp
	imull	$100, %esi, %esi
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	addl	%esi, %edx
	leal	(%r12,%rax), %edi
	addl	$1, %eax
	cmpl	%r9d, %edx
	jge	.L10
.L11:
	cmpl	%eax, %ebp
	jg	.L12
	addl	$1, %r8d
	cmpl	%ebx, %r8d
	jne	.L7
.L6:
	xorl	%eax, %eax
	movl	%r11d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$120, %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
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	cmpl	%edi, %r11d
	cmovg	%edi, %r11d
	addl	$1, %r8d
	cmpl	%ebx, %r8d
	jne	.L7
	jmp	.L6
.L17:
	movl	$100000, %r11d
	jmp	.L6
.L25:
	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	minimum
	.type	minimum, @function
minimum:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	%edi, %esi
	movl	%edi, %eax
	cmovle	%esi, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	minimum, .-minimum
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d\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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$120, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L4
	leaq	16(%rsp), %rbp
	xorl	%ebx, %ebx
	leaq	64(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	0(%r13,%rbx,4), %rdx
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	addq	$1, %rbx
	addq	$4, %rbp
	cmpl	%ebx, %ecx
	jg	.L5
.L4:
	movl	$1, %ebx
	sall	%cl, %ebx
	testl	%ebx, %ebx
	jle	.L17
	movl	12(%rsp), %r9d
	movl	$100000, %r11d
	xorl	%r8d, %r8d
	movslq	%ecx, %r10
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$-1, %r12d
	xorl	%edi, %edi
	xorl	%edx, %edx
	testl	%ecx, %ecx
	jle	.L14
	xorl	%eax, %eax
	movl	$-1, %r12d
	xorl	%edi, %edi
	xorl	%edx, %edx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	movl	16(%rsp,%rax,4), %ebp
	leal	1(%rax), %esi
	imull	%ebp, %esi
	addl	%ebp, %edi
	imull	$100, %esi, %esi
	addl	64(%rsp,%rax,4), %esi
	addq	$1, %rax
	addl	%esi, %edx
	cmpq	%rax, %r10
	je	.L14
.L9:
	btl	%eax, %r8d
	jc	.L24
	movl	%eax, %r12d
	addq	$1, %rax
	cmpq	%rax, %r10
	jne	.L9
.L14:
	cmpl	%r9d, %edx
	jge	.L10
	movslq	%r12d, %rax
	leal	1(%r12), %esi
	leal	1(%rdi), %r12d
	movl	16(%rsp,%rax,4), %ebp
	imull	$100, %esi, %esi
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	addl	%esi, %edx
	leal	(%r12,%rax), %edi
	addl	$1, %eax
	cmpl	%r9d, %edx
	jge	.L10
.L11:
	cmpl	%eax, %ebp
	jg	.L12
	addl	$1, %r8d
	cmpl	%ebx, %r8d
	jne	.L7
.L6:
	xorl	%eax, %eax
	movl	%r11d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$120, %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
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	cmpl	%edi, %r11d
	cmovg	%edi, %r11d
	addl	$1, %r8d
	cmpl	%ebx, %r8d
	jne	.L7
	jmp	.L6
.L17:
	movl	$100000, %r11d
	jmp	.L6
.L25:
	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	minimum
	.type	minimum, @function
minimum:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	%edi, %esi
	movl	%edi, %eax
	cmovle	%esi, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	minimum, .-minimum
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d\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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$120, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L4
	leaq	16(%rsp), %rbp
	xorl	%ebx, %ebx
	leaq	64(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	0(%r13,%rbx,4), %rdx
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	addq	$1, %rbx
	addq	$4, %rbp
	cmpl	%ebx, %ecx
	jg	.L5
.L4:
	movl	$1, %ebx
	sall	%cl, %ebx
	testl	%ebx, %ebx
	jle	.L17
	movl	12(%rsp), %r9d
	movl	$100000, %r11d
	xorl	%r8d, %r8d
	movslq	%ecx, %r10
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$-1, %r12d
	xorl	%edi, %edi
	xorl	%edx, %edx
	testl	%ecx, %ecx
	jle	.L14
	xorl	%eax, %eax
	movl	$-1, %r12d
	xorl	%edi, %edi
	xorl	%edx, %edx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	movl	16(%rsp,%rax,4), %ebp
	leal	1(%rax), %esi
	imull	%ebp, %esi
	addl	%ebp, %edi
	imull	$100, %esi, %esi
	addl	64(%rsp,%rax,4), %esi
	addq	$1, %rax
	addl	%esi, %edx
	cmpq	%rax, %r10
	je	.L14
.L9:
	btl	%eax, %r8d
	jc	.L24
	movl	%eax, %r12d
	addq	$1, %rax
	cmpq	%rax, %r10
	jne	.L9
.L14:
	cmpl	%r9d, %edx
	jge	.L10
	movslq	%r12d, %rax
	leal	1(%r12), %esi
	leal	1(%rdi), %r12d
	movl	16(%rsp,%rax,4), %ebp
	imull	$100, %esi, %esi
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	addl	%esi, %edx
	leal	(%r12,%rax), %edi
	addl	$1, %eax
	cmpl	%r9d, %edx
	jge	.L10
.L11:
	cmpl	%eax, %ebp
	jg	.L12
	addl	$1, %r8d
	cmpl	%ebx, %r8d
	jne	.L7
.L6:
	xorl	%eax, %eax
	movl	%r11d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$120, %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
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	cmpl	%edi, %r11d
	cmovg	%edi, %r11d
	addl	$1, %r8d
	cmpl	%ebx, %r8d
	jne	.L7
	jmp	.L6
.L17:
	movl	$100000, %r11d
	jmp	.L6
.L25:
	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>

int minimum(int a, int b) { return a < b ? a : b; }

int main(){
    int D, G, p[10], c[10], i, j, k, a, ans=100000, num, max;

    scanf("%d %d", &D, &G);

    for(i=0; i<D; i++){
        scanf("%d %d", &p[i], &c[i]);
    }

    for(i=0; i<(1<<D); i++){
        a=0;
        num=0;
        max=-1;
        for(j=0; j<D; j++){
            if((i>>j) & 1){
                a += p[j]*(j+1)*100 + c[j];
                num += p[j];
            }
            else
                max = j;
        }

        j=0;
        while(a < G && j < p[max]){
            a += (max+1)*100;
            num++;
            j++;
        }
        
        if(a >= G)
            ans = minimum(ans, num);
    }

    printf("%d\n", ans);

    return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c

#include <stdio.h>

int minimum(int a, int b) { return a < b ? a : b; }

int main(){
    int D, G, p[10], c[10], i, j, k, a, ans=100000, num, max;

    scanf("%d %d", &D, &G);

    for(i=0; i<D; i++){
        scanf("%d %d", &p[i], &c[i]);
    }

    for(i=0; i<(1<<D); i++){
        a=0;
        num=0;
        max=-1;
        for(j=0; j<D; j++){
            if((i>>j) & 1){
                a += p[j]*(j+1)*100 + c[j];
                num += p[j];
            }
            else
                max = j;
        }

        j=0;
        while(a < G && j < p[max]){
            a += (max+1)*100;
            num++;
            j++;
        }
        
        if(a >= G)
            ans = minimum(ans, num);
    }

    printf("%d\n", ans);

    return 0;
}```

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 25000
20 0000
40 1000
50 1000
30 1000
1 1000
 2 431
3 500
5 800
 2 1328
3 500
5 800
 2 2000
3 500
7 800
 5 25000
20 0010
40 1000
50 1000
60 1000
1 1000
 5 10847
20 0010
40 1000
50 1000
60 1000
1 1000
 2 1328
3 890
10 800
 3 10847
26 0010
40 0100
61 1000
60 1000
1 1000
 3 10847
26 0010
40 0100
6 1000
60 1000
1 1000
 3 10847
15 0110
50 0100
7 0000
14 1001
1 1000

66
 3
 5
 7
 60
 25
 4
 37
 46
 51

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>

int minimum(int a, int b) { return a < b ? a : b; }

int main(){
    int D, G, p[10], c[10], i, j, k, a, ans=100000, num, max;

    scanf("%d %d", &D, &G);

    for(i=0; i<D; i++){
        scanf("%d %d", &p[i], &c[i]);
    }

    for(i=0; i<(1<<D); i++){
        a=0;
        num=0;
        max=-1;
        for(j=0; j<D; j++){
            if((i>>j) & 1){
                a += p[j]*(j+1)*100 + c[j];
                num += p[j];
            }
            else
                max = j;
        }

        j=0;
        while(a < G && j < p[max]){
            a += (max+1)*100;
            num++;
            j++;
        }
        
        if(a >= G)
            ans = minimum(ans, num);
    }

    printf("%d\n", ans);

    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	minimum
	.type	minimum, @function
minimum:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	%edi, %esi
	movl	%edi, %eax
	cmovle	%esi, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	minimum, .-minimum
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d\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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$120, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L4
	leaq	16(%rsp), %rbp
	xorl	%ebx, %ebx
	leaq	64(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	0(%r13,%rbx,4), %rdx
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	addq	$1, %rbx
	addq	$4, %rbp
	cmpl	%ebx, %ecx
	jg	.L5
.L4:
	movl	$1, %ebx
	sall	%cl, %ebx
	testl	%ebx, %ebx
	jle	.L17
	movl	12(%rsp), %r9d
	movl	$100000, %r11d
	xorl	%r8d, %r8d
	movslq	%ecx, %r10
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$-1, %r12d
	xorl	%edi, %edi
	xorl	%edx, %edx
	testl	%ecx, %ecx
	jle	.L14
	xorl	%eax, %eax
	movl	$-1, %r12d
	xorl	%edi, %edi
	xorl	%edx, %edx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	movl	16(%rsp,%rax,4), %ebp
	leal	1(%rax), %esi
	imull	%ebp, %esi
	addl	%ebp, %edi
	imull	$100, %esi, %esi
	addl	64(%rsp,%rax,4), %esi
	addq	$1, %rax
	addl	%esi, %edx
	cmpq	%rax, %r10
	je	.L14
.L9:
	btl	%eax, %r8d
	jc	.L24
	movl	%eax, %r12d
	addq	$1, %rax
	cmpq	%rax, %r10
	jne	.L9
.L14:
	cmpl	%r9d, %edx
	jge	.L10
	movslq	%r12d, %rax
	leal	1(%r12), %esi
	leal	1(%rdi), %r12d
	movl	16(%rsp,%rax,4), %ebp
	imull	$100, %esi, %esi
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	addl	%esi, %edx
	leal	(%r12,%rax), %edi
	addl	$1, %eax
	cmpl	%r9d, %edx
	jge	.L10
.L11:
	cmpl	%eax, %ebp
	jg	.L12
	addl	$1, %r8d
	cmpl	%ebx, %r8d
	jne	.L7
.L6:
	xorl	%eax, %eax
	movl	%r11d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$120, %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
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	cmpl	%edi, %r11d
	cmovg	%edi, %r11d
	addl	$1, %r8d
	cmpl	%ebx, %r8d
	jne	.L7
	jmp	.L6
.L17:
	movl	$100000, %r11d
	jmp	.L6
.L25:
	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	minimum
	.type	minimum, @function
minimum:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	%edi, %esi
	movl	%edi, %eax
	cmovle	%esi, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	minimum, .-minimum
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d\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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$120, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L4
	leaq	16(%rsp), %rbp
	xorl	%ebx, %ebx
	leaq	64(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	0(%r13,%rbx,4), %rdx
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	addq	$1, %rbx
	addq	$4, %rbp
	cmpl	%ebx, %ecx
	jg	.L5
.L4:
	movl	$1, %ebx
	sall	%cl, %ebx
	testl	%ebx, %ebx
	jle	.L17
	movl	12(%rsp), %r9d
	movl	$100000, %r11d
	xorl	%r8d, %r8d
	movslq	%ecx, %r10
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$-1, %r12d
	xorl	%edi, %edi
	xorl	%edx, %edx
	testl	%ecx, %ecx
	jle	.L14
	xorl	%eax, %eax
	movl	$-1, %r12d
	xorl	%edi, %edi
	xorl	%edx, %edx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	movl	16(%rsp,%rax,4), %ebp
	leal	1(%rax), %esi
	imull	%ebp, %esi
	addl	%ebp, %edi
	imull	$100, %esi, %esi
	addl	64(%rsp,%rax,4), %esi
	addq	$1, %rax
	addl	%esi, %edx
	cmpq	%rax, %r10
	je	.L14
.L9:
	btl	%eax, %r8d
	jc	.L24
	movl	%eax, %r12d
	addq	$1, %rax
	cmpq	%rax, %r10
	jne	.L9
.L14:
	cmpl	%r9d, %edx
	jge	.L10
	movslq	%r12d, %rax
	leal	1(%r12), %esi
	leal	1(%rdi), %r12d
	movl	16(%rsp,%rax,4), %ebp
	imull	$100, %esi, %esi
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	addl	%esi, %edx
	leal	(%r12,%rax), %edi
	addl	$1, %eax
	cmpl	%r9d, %edx
	jge	.L10
.L11:
	cmpl	%eax, %ebp
	jg	.L12
	addl	$1, %r8d
	cmpl	%ebx, %r8d
	jne	.L7
.L6:
	xorl	%eax, %eax
	movl	%r11d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$120, %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
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	cmpl	%edi, %r11d
	cmovg	%edi, %r11d
	addl	$1, %r8d
	cmpl	%ebx, %r8d
	jne	.L7
	jmp	.L6
.L17:
	movl	$100000, %r11d
	jmp	.L6
.L25:
	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:
```