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>
#include<stdlib.h>
int N,I[30][2],i,h;
int c(const void *a,const void *b)
{
	int *x=(int*)a;
	int *y=(int*)b;
	return x[1]==y[1]?x[0]-y[0]:x[1]-y[1];
}
int main()
{
	for(;scanf("%d",&N),N;)
	{
		for(i=0;i<N;i++)
			scanf("%d%d",&I[i][0],&I[i][1]);
		qsort(I,N,sizeof(int[2]),c);
		for(i=h=0;i<N&&h+I[i][0]<=I[i][1];)
			h+=I[i++][0];
		puts(i==N?"Yes":"No");
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	c
	.type	c, @function
c:
.LFB39:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %ecx
	movl	4(%rsi), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%edx, %ecx
	je	.L5
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	c, .-c
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	N(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	I(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	N(%rip), %rsi
	testl	%esi, %esi
	je	.L24
	movl	$0, i(%rip)
	jle	.L8
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	cltq
	movq	%r12, %rdi
	salq	$3, %rax
	leaq	(%rbx,%rax), %rsi
	leaq	4(%rbx,%rax), %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	i(%rip), %eax
	movslq	N(%rip), %rsi
	addl	$1, %eax
	movl	%eax, i(%rip)
	cmpl	%esi, %eax
	jl	.L9
.L8:
	leaq	c(%rip), %rcx
	movl	$8, %edx
	movq	%rbx, %rdi
	call	qsort@PLT
	movl	N(%rip), %r10d
	movl	$0, h(%rip)
	movl	$0, i(%rip)
	testl	%r10d, %r10d
	jle	.L17
	leaq	-8+I(%rip), %rdi
	leal	1(%r10), %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %eax
	leaq	4(%rdi), %rsi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%eax, %ebp
	addq	$1, %rax
	movl	$1, %ecx
	cmpq	%r8, %rax
	je	.L12
.L11:
	movl	%edx, %r9d
	addl	(%rdi,%rax,8), %edx
	cmpl	(%rsi,%rax,8), %edx
	jle	.L13
	testb	%cl, %cl
	je	.L14
	movl	%r9d, h(%rip)
	movl	%ebp, i(%rip)
.L14:
	leaq	.LC1(%rip), %rdi
.L15:
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%edx, h(%rip)
	movl	%ebp, i(%rip)
.L10:
	cmpl	%ebp, %r10d
	jne	.L14
	leaq	.LC0(%rip), %rdi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L24:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	xorl	%ebp, %ebp
	jmp	.L10
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	h
	.bss
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	I
	.align 32
	.type	I, @object
	.size	I, 240
I:
	.zero	240
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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	c
	.type	c, @function
c:
.LFB39:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %ecx
	movl	4(%rsi), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%edx, %ecx
	je	.L5
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	c, .-c
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	N(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	I(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	N(%rip), %rsi
	testl	%esi, %esi
	je	.L24
	movl	$0, i(%rip)
	jle	.L8
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	cltq
	movq	%r12, %rdi
	salq	$3, %rax
	leaq	(%rbx,%rax), %rsi
	leaq	4(%rbx,%rax), %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	i(%rip), %eax
	movslq	N(%rip), %rsi
	addl	$1, %eax
	movl	%eax, i(%rip)
	cmpl	%esi, %eax
	jl	.L9
.L8:
	leaq	c(%rip), %rcx
	movl	$8, %edx
	movq	%rbx, %rdi
	call	qsort@PLT
	movl	N(%rip), %r10d
	movl	$0, h(%rip)
	movl	$0, i(%rip)
	testl	%r10d, %r10d
	jle	.L17
	leaq	-8+I(%rip), %rdi
	leal	1(%r10), %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %eax
	leaq	4(%rdi), %rsi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%eax, %ebp
	addq	$1, %rax
	movl	$1, %ecx
	cmpq	%r8, %rax
	je	.L12
.L11:
	movl	%edx, %r9d
	addl	(%rdi,%rax,8), %edx
	cmpl	(%rsi,%rax,8), %edx
	jle	.L13
	testb	%cl, %cl
	je	.L14
	movl	%r9d, h(%rip)
	movl	%ebp, i(%rip)
.L14:
	leaq	.LC1(%rip), %rdi
.L15:
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%edx, h(%rip)
	movl	%ebp, i(%rip)
.L10:
	cmpl	%ebp, %r10d
	jne	.L14
	leaq	.LC0(%rip), %rdi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L24:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	xorl	%ebp, %ebp
	jmp	.L10
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	h
	.bss
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	I
	.align 32
	.type	I, @object
	.size	I, 240
I:
	.zero	240
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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	c
	.type	c, @function
c:
.LFB39:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %ecx
	movl	4(%rsi), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%edx, %ecx
	je	.L5
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	c, .-c
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	N(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	I(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	N(%rip), %rsi
	testl	%esi, %esi
	je	.L24
	movl	$0, i(%rip)
	jle	.L8
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	cltq
	movq	%r12, %rdi
	salq	$3, %rax
	leaq	(%rbx,%rax), %rsi
	leaq	4(%rbx,%rax), %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	i(%rip), %eax
	movslq	N(%rip), %rsi
	addl	$1, %eax
	movl	%eax, i(%rip)
	cmpl	%esi, %eax
	jl	.L9
.L8:
	leaq	c(%rip), %rcx
	movl	$8, %edx
	movq	%rbx, %rdi
	call	qsort@PLT
	movl	N(%rip), %r10d
	movl	$0, h(%rip)
	movl	$0, i(%rip)
	testl	%r10d, %r10d
	jle	.L17
	leaq	-8+I(%rip), %rdi
	leal	1(%r10), %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %eax
	leaq	4(%rdi), %rsi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%eax, %ebp
	addq	$1, %rax
	movl	$1, %ecx
	cmpq	%r8, %rax
	je	.L12
.L11:
	movl	%edx, %r9d
	addl	(%rdi,%rax,8), %edx
	cmpl	(%rsi,%rax,8), %edx
	jle	.L13
	testb	%cl, %cl
	je	.L14
	movl	%r9d, h(%rip)
	movl	%ebp, i(%rip)
.L14:
	leaq	.LC1(%rip), %rdi
.L15:
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%edx, h(%rip)
	movl	%ebp, i(%rip)
.L10:
	cmpl	%ebp, %r10d
	jne	.L14
	leaq	.LC0(%rip), %rdi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L24:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	xorl	%ebp, %ebp
	jmp	.L10
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	h
	.bss
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	I
	.align 32
	.type	I, @object
	.size	I, 240
I:
	.zero	240
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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>
#include<stdlib.h>
int N,I[30][2],i,h;
int c(const void *a,const void *b)
{
	int *x=(int*)a;
	int *y=(int*)b;
	return x[1]==y[1]?x[0]-y[0]:x[1]-y[1];
}
int main()
{
	for(;scanf("%d",&N),N;)
	{
		for(i=0;i<N;i++)
			scanf("%d%d",&I[i][0],&I[i][1]);
		qsort(I,N,sizeof(int[2]),c);
		for(i=h=0;i<N&&h+I[i][0]<=I[i][1];)
			h+=I[i++][0];
		puts(i==N?"Yes":"No");
	}
	return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<stdlib.h>
int N,I[30][2],i,h;
int c(const void *a,const void *b)
{
	int *x=(int*)a;
	int *y=(int*)b;
	return x[1]==y[1]?x[0]-y[0]:x[1]-y[1];
}
int main()
{
	for(;scanf("%d",&N),N;)
	{
		for(i=0;i<N;i++)
			scanf("%d%d",&I[i][0],&I[i][1]);
		qsort(I,N,sizeof(int[2]),c);
		for(i=h=0;i<N&&h+I[i][0]<=I[i][1];)
			h+=I[i++][0];
		puts(i==N?"Yes":"No");
	}
	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
2 3
3 6
1 2
3
2 3
3 5
2 2
0
 3
2 3
3 6
2 2
3
3 3
3 6
2 2
0
 3
2 1
3 6
1 2
3
2 3
3 5
0 2
0
 3
2 5
0 9
4 1
0
2 0
3 10
2 3
0
 3
4 5
3 8
1 2
0
7 3
3 5
2 1
0
 3
2 3
3 6
1 2
3
0 3
3 5
1 2
0
 3
2 3
3 6
1 2
3
3 3
3 5
2 2
0
 3
2 3
3 6
1 2
3
3 3
3 6
2 2
0
 3
2 3
3 8
2 2
3
3 3
3 6
2 2
0
 3
2 3
3 8
2 2
3
3 3
3 6
2 3
0

Yes
No
 No
No
 No
Yes
 No
 Yes
 Yes
Yes
 Yes
No
 Yes
No
 No
No
 No
No

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>
#include<stdlib.h>
int N,I[30][2],i,h;
int c(const void *a,const void *b)
{
	int *x=(int*)a;
	int *y=(int*)b;
	return x[1]==y[1]?x[0]-y[0]:x[1]-y[1];
}
int main()
{
	for(;scanf("%d",&N),N;)
	{
		for(i=0;i<N;i++)
			scanf("%d%d",&I[i][0],&I[i][1]);
		qsort(I,N,sizeof(int[2]),c);
		for(i=h=0;i<N&&h+I[i][0]<=I[i][1];)
			h+=I[i++][0];
		puts(i==N?"Yes":"No");
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	c
	.type	c, @function
c:
.LFB39:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %ecx
	movl	4(%rsi), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%edx, %ecx
	je	.L5
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	c, .-c
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	N(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	I(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	N(%rip), %rsi
	testl	%esi, %esi
	je	.L24
	movl	$0, i(%rip)
	jle	.L8
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	cltq
	movq	%r12, %rdi
	salq	$3, %rax
	leaq	(%rbx,%rax), %rsi
	leaq	4(%rbx,%rax), %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	i(%rip), %eax
	movslq	N(%rip), %rsi
	addl	$1, %eax
	movl	%eax, i(%rip)
	cmpl	%esi, %eax
	jl	.L9
.L8:
	leaq	c(%rip), %rcx
	movl	$8, %edx
	movq	%rbx, %rdi
	call	qsort@PLT
	movl	N(%rip), %r10d
	movl	$0, h(%rip)
	movl	$0, i(%rip)
	testl	%r10d, %r10d
	jle	.L17
	leaq	-8+I(%rip), %rdi
	leal	1(%r10), %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %eax
	leaq	4(%rdi), %rsi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%eax, %ebp
	addq	$1, %rax
	movl	$1, %ecx
	cmpq	%r8, %rax
	je	.L12
.L11:
	movl	%edx, %r9d
	addl	(%rdi,%rax,8), %edx
	cmpl	(%rsi,%rax,8), %edx
	jle	.L13
	testb	%cl, %cl
	je	.L14
	movl	%r9d, h(%rip)
	movl	%ebp, i(%rip)
.L14:
	leaq	.LC1(%rip), %rdi
.L15:
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%edx, h(%rip)
	movl	%ebp, i(%rip)
.L10:
	cmpl	%ebp, %r10d
	jne	.L14
	leaq	.LC0(%rip), %rdi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L24:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	xorl	%ebp, %ebp
	jmp	.L10
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	h
	.bss
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	I
	.align 32
	.type	I, @object
	.size	I, 240
I:
	.zero	240
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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	c
	.type	c, @function
c:
.LFB39:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %ecx
	movl	4(%rsi), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%edx, %ecx
	je	.L5
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	c, .-c
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	N(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	I(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	N(%rip), %rsi
	testl	%esi, %esi
	je	.L24
	movl	$0, i(%rip)
	jle	.L8
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	cltq
	movq	%r12, %rdi
	salq	$3, %rax
	leaq	(%rbx,%rax), %rsi
	leaq	4(%rbx,%rax), %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	i(%rip), %eax
	movslq	N(%rip), %rsi
	addl	$1, %eax
	movl	%eax, i(%rip)
	cmpl	%esi, %eax
	jl	.L9
.L8:
	leaq	c(%rip), %rcx
	movl	$8, %edx
	movq	%rbx, %rdi
	call	qsort@PLT
	movl	N(%rip), %r10d
	movl	$0, h(%rip)
	movl	$0, i(%rip)
	testl	%r10d, %r10d
	jle	.L17
	leaq	-8+I(%rip), %rdi
	leal	1(%r10), %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %eax
	leaq	4(%rdi), %rsi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%eax, %ebp
	addq	$1, %rax
	movl	$1, %ecx
	cmpq	%r8, %rax
	je	.L12
.L11:
	movl	%edx, %r9d
	addl	(%rdi,%rax,8), %edx
	cmpl	(%rsi,%rax,8), %edx
	jle	.L13
	testb	%cl, %cl
	je	.L14
	movl	%r9d, h(%rip)
	movl	%ebp, i(%rip)
.L14:
	leaq	.LC1(%rip), %rdi
.L15:
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%edx, h(%rip)
	movl	%ebp, i(%rip)
.L10:
	cmpl	%ebp, %r10d
	jne	.L14
	leaq	.LC0(%rip), %rdi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L24:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	xorl	%ebp, %ebp
	jmp	.L10
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	h
	.bss
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	I
	.align 32
	.type	I, @object
	.size	I, 240
I:
	.zero	240
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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:
```