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 main(void){
    int a = 0, b = 0, N = 0, flag = 0;
    int s[100] = {}, f[100] = {};
    scanf("%d %d", &a, &b); scanf("%d", &N);
    for(int w = 1; w <= N; w++){
        scanf("%d %d", &s[w], &f[w]);
        if( a > s[w] && a < f[w] ){ flag = 1; } else if( b > s[w] && b < f[w] ){ flag = 1; } else if( a == s[w] && b == f[w] ){ flag = 1; } else if( a < s[w] && b > f[w] ){ flag = 1; }
    }
    if( flag == 1 ){ printf("1\n"); } else { printf("0\n"); }
    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"1"
.LC3:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$50, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	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	$840, %rsp
	.cfi_def_cfa_offset 896
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	8(%rsp), %rdx
	movl	$0, 4(%rsp)
	leaq	4(%rsp), %rsi
	movl	$0, 8(%rsp)
	movl	$0, 12(%rsp)
	rep stosq
	leaq	416(%rsp), %rdi
	movl	$50, %ecx
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %rbp
	leaq	420(%rsp), %rbx
	movl	$1, %r15d
	xorl	%r12d, %r12d
	movl	$1, %r14d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L23:
	movl	(%rbx), %esi
	cmpl	%esi, %edx
	jl	.L13
	movl	8(%rsp), %ecx
	cmpl	%ecx, %eax
	jge	.L4
	cmpl	%esi, %ecx
	jl	.L13
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%edx, %eax
	je	.L21
	jle	.L4
	cmpl	%ecx, (%rbx)
	cmovl	%r14d, %r12d
.L4:
	addl	$1, %r15d
	addq	$4, %rbp
	addq	$4, %rbx
	cmpl	%r15d, 12(%rsp)
	jl	.L22
.L8:
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	0(%rbp), %eax
	movl	4(%rsp), %edx
	cmpl	%edx, %eax
	jl	.L23
	movl	8(%rsp), %ecx
	cmpl	%ecx, %eax
	jge	.L6
	movl	(%rbx), %esi
	cmpl	%esi, %ecx
	jge	.L6
.L13:
	movl	$1, %r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	cmpl	%ecx, (%rbx)
	cmove	%r14d, %r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	$1, %r12d
	je	.L24
.L2:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L9:
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$840, %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
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L9
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"1"
.LC3:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$50, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	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	$840, %rsp
	.cfi_def_cfa_offset 896
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	8(%rsp), %rdx
	movl	$0, 4(%rsp)
	leaq	4(%rsp), %rsi
	movl	$0, 8(%rsp)
	movl	$0, 12(%rsp)
	rep stosq
	leaq	416(%rsp), %rdi
	movl	$50, %ecx
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %rbp
	leaq	420(%rsp), %rbx
	movl	$1, %r15d
	xorl	%r12d, %r12d
	movl	$1, %r14d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L23:
	movl	(%rbx), %esi
	cmpl	%esi, %edx
	jl	.L13
	movl	8(%rsp), %ecx
	cmpl	%ecx, %eax
	jge	.L4
	cmpl	%esi, %ecx
	jl	.L13
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%edx, %eax
	je	.L21
	jle	.L4
	cmpl	%ecx, (%rbx)
	cmovl	%r14d, %r12d
.L4:
	addl	$1, %r15d
	addq	$4, %rbp
	addq	$4, %rbx
	cmpl	%r15d, 12(%rsp)
	jl	.L22
.L8:
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	0(%rbp), %eax
	movl	4(%rsp), %edx
	cmpl	%edx, %eax
	jl	.L23
	movl	8(%rsp), %ecx
	cmpl	%ecx, %eax
	jge	.L6
	movl	(%rbx), %esi
	cmpl	%esi, %ecx
	jge	.L6
.L13:
	movl	$1, %r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	cmpl	%ecx, (%rbx)
	cmove	%r14d, %r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	$1, %r12d
	je	.L24
.L2:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L9:
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$840, %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
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L9
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"1"
.LC3:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$50, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	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	$840, %rsp
	.cfi_def_cfa_offset 896
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	8(%rsp), %rdx
	movl	$0, 4(%rsp)
	leaq	4(%rsp), %rsi
	movl	$0, 8(%rsp)
	movl	$0, 12(%rsp)
	rep stosq
	leaq	416(%rsp), %rdi
	movl	$50, %ecx
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %rbp
	leaq	420(%rsp), %rbx
	movl	$1, %r15d
	xorl	%r12d, %r12d
	movl	$1, %r14d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L23:
	movl	(%rbx), %esi
	cmpl	%esi, %edx
	jl	.L13
	movl	8(%rsp), %ecx
	cmpl	%ecx, %eax
	jge	.L4
	cmpl	%esi, %ecx
	jl	.L13
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%edx, %eax
	je	.L21
	jle	.L4
	cmpl	%ecx, (%rbx)
	cmovl	%r14d, %r12d
.L4:
	addl	$1, %r15d
	addq	$4, %rbp
	addq	$4, %rbx
	cmpl	%r15d, 12(%rsp)
	jl	.L22
.L8:
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	0(%rbp), %eax
	movl	4(%rsp), %edx
	cmpl	%edx, %eax
	jl	.L23
	movl	8(%rsp), %ecx
	cmpl	%ecx, %eax
	jge	.L6
	movl	(%rbx), %esi
	cmpl	%esi, %ecx
	jge	.L6
.L13:
	movl	$1, %r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	cmpl	%ecx, (%rbx)
	cmove	%r14d, %r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	$1, %r12d
	je	.L24
.L2:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L9:
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$840, %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
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L9
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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 main(void){
    int a = 0, b = 0, N = 0, flag = 0;
    int s[100] = {}, f[100] = {};
    scanf("%d %d", &a, &b); scanf("%d", &N);
    for(int w = 1; w <= N; w++){
        scanf("%d %d", &s[w], &f[w]);
        if( a > s[w] && a < f[w] ){ flag = 1; } else if( b > s[w] && b < f[w] ){ flag = 1; } else if( a == s[w] && b == f[w] ){ flag = 1; } else if( a < s[w] && b > f[w] ){ flag = 1; }
    }
    if( flag == 1 ){ printf("1\n"); } else { printf("0\n"); }
    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 main(void){
    int a = 0, b = 0, N = 0, flag = 0;
    int s[100] = {}, f[100] = {};
    scanf("%d %d", &a, &b); scanf("%d", &N);
    for(int w = 1; w <= N; w++){
        scanf("%d %d", &s[w], &f[w]);
        if( a > s[w] && a < f[w] ){ flag = 1; } else if( b > s[w] && b < f[w] ){ flag = 1; } else if( a == s[w] && b == f[w] ){ flag = 1; } else if( a < s[w] && b > f[w] ){ flag = 1; }
    }
    if( flag == 1 ){ printf("1\n"); } else { printf("0\n"); }
    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:

3 7
3
7 10
1 4
7 5
 5 11
3
1 4
4 5
1 2
 5 7
3
1 4
4 5
1 10
 3 7
3
7 10
1 4
8 5
 5 11
3
1 4
4 5
1 10
 3 7
3
13 10
1 4
8 5
 3 7
3
13 16
1 4
8 5
 3 11
3
1 4
4 5
1 2
 3 7
3
13 16
1 4
8 2
 3 11
3
1 4
4 5
1 1

1
 0
 1
 1
 1
 1
 1
 1
 1
 1

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 main(void){
    int a = 0, b = 0, N = 0, flag = 0;
    int s[100] = {}, f[100] = {};
    scanf("%d %d", &a, &b); scanf("%d", &N);
    for(int w = 1; w <= N; w++){
        scanf("%d %d", &s[w], &f[w]);
        if( a > s[w] && a < f[w] ){ flag = 1; } else if( b > s[w] && b < f[w] ){ flag = 1; } else if( a == s[w] && b == f[w] ){ flag = 1; } else if( a < s[w] && b > f[w] ){ flag = 1; }
    }
    if( flag == 1 ){ printf("1\n"); } else { printf("0\n"); }
    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"1"
.LC3:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$50, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	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	$840, %rsp
	.cfi_def_cfa_offset 896
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	8(%rsp), %rdx
	movl	$0, 4(%rsp)
	leaq	4(%rsp), %rsi
	movl	$0, 8(%rsp)
	movl	$0, 12(%rsp)
	rep stosq
	leaq	416(%rsp), %rdi
	movl	$50, %ecx
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %rbp
	leaq	420(%rsp), %rbx
	movl	$1, %r15d
	xorl	%r12d, %r12d
	movl	$1, %r14d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L23:
	movl	(%rbx), %esi
	cmpl	%esi, %edx
	jl	.L13
	movl	8(%rsp), %ecx
	cmpl	%ecx, %eax
	jge	.L4
	cmpl	%esi, %ecx
	jl	.L13
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%edx, %eax
	je	.L21
	jle	.L4
	cmpl	%ecx, (%rbx)
	cmovl	%r14d, %r12d
.L4:
	addl	$1, %r15d
	addq	$4, %rbp
	addq	$4, %rbx
	cmpl	%r15d, 12(%rsp)
	jl	.L22
.L8:
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	0(%rbp), %eax
	movl	4(%rsp), %edx
	cmpl	%edx, %eax
	jl	.L23
	movl	8(%rsp), %ecx
	cmpl	%ecx, %eax
	jge	.L6
	movl	(%rbx), %esi
	cmpl	%esi, %ecx
	jge	.L6
.L13:
	movl	$1, %r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	cmpl	%ecx, (%rbx)
	cmove	%r14d, %r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	$1, %r12d
	je	.L24
.L2:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L9:
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$840, %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
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L9
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"1"
.LC3:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$50, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	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	$840, %rsp
	.cfi_def_cfa_offset 896
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	8(%rsp), %rdx
	movl	$0, 4(%rsp)
	leaq	4(%rsp), %rsi
	movl	$0, 8(%rsp)
	movl	$0, 12(%rsp)
	rep stosq
	leaq	416(%rsp), %rdi
	movl	$50, %ecx
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %rbp
	leaq	420(%rsp), %rbx
	movl	$1, %r15d
	xorl	%r12d, %r12d
	movl	$1, %r14d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L23:
	movl	(%rbx), %esi
	cmpl	%esi, %edx
	jl	.L13
	movl	8(%rsp), %ecx
	cmpl	%ecx, %eax
	jge	.L4
	cmpl	%esi, %ecx
	jl	.L13
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%edx, %eax
	je	.L21
	jle	.L4
	cmpl	%ecx, (%rbx)
	cmovl	%r14d, %r12d
.L4:
	addl	$1, %r15d
	addq	$4, %rbp
	addq	$4, %rbx
	cmpl	%r15d, 12(%rsp)
	jl	.L22
.L8:
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	0(%rbp), %eax
	movl	4(%rsp), %edx
	cmpl	%edx, %eax
	jl	.L23
	movl	8(%rsp), %ecx
	cmpl	%ecx, %eax
	jge	.L6
	movl	(%rbx), %esi
	cmpl	%esi, %ecx
	jge	.L6
.L13:
	movl	$1, %r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	cmpl	%ecx, (%rbx)
	cmove	%r14d, %r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	$1, %r12d
	je	.L24
.L2:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L9:
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$840, %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
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L9
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:
```