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>

typedef struct {
    int h;
    int w;
} RECT;

int comp(const void *a, const void *b)
{
    int x;
    
    x = (*(RECT *)a).w - (*(RECT *)b).w;
    if (x != 0){
        return (x);
    }
    return ((*(RECT *)a).h - (*(RECT *)b).h);
}


int main(void)
{
    RECT rect[6];
    int i;
    int h, w, t;
    int flag;
    
    flag = 1;
    for (i = 0; i < 6; i++){
        scanf("%d%d", &w, &h);
        
        if (w > h){
            t = w;
            w = h;
            h = t;
        }
        
        rect[i].w = w;
        rect[i].h = h;
    }
    
    qsort(rect, 6, sizeof(RECT), comp);

    for (i = 0; i < 6; i++){
//        printf("%d:%d %d\n", i, rect[i].w, rect[i].h);
    }


    
    for (i = 0; i <= 4; i += 2){
        if (rect[i].w != rect[i + 1].w || rect[i].h != rect[i + 1].h){

// printf("<1>");
            flag = 0;
            break;
        }
    }
    if (rect[0].w != rect[2].w || rect[2].h != rect[4].h || rect[0].h != rect[4].w){
// printf("<2>");
        flag = 0;
    }

    if (flag == 1){
        printf("yes\n");
    }
    else {
        printf("no\n");
    }

    
    return (0);
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %eax
	subl	4(%rsi), %eax
	jne	.L1
	movl	(%rdi), %eax
	subl	(%rsi), %eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"yes"
.LC2:
	.string	"no"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	leaq	.LC0(%rip), %rbx
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r14
	leaq	64(%rsp), %r13
	movq	%r14, %r15
	leaq	8(%rsp), %r12
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	movl	8(%rsp), %eax
	cmpl	%eax, %edx
	jle	.L5
	movd	%edx, %xmm0
	movd	%eax, %xmm1
	movl	%eax, 12(%rsp)
	addq	$8, %r15
	punpckldq	%xmm1, %xmm0
	movl	%edx, 8(%rsp)
	movq	%xmm0, -8(%r15)
	cmpq	%r13, %r15
	jne	.L8
.L7:
	leaq	comp(%rip), %rcx
	movl	$8, %edx
	movl	$6, %esi
	movq	%r14, %rdi
	call	qsort@PLT
	movl	20(%rsp), %eax
	cmpl	28(%rsp), %eax
	jne	.L17
	movl	24(%rsp), %ecx
	cmpl	%ecx, 16(%rsp)
	jne	.L17
	movl	44(%rsp), %ecx
	cmpl	%ecx, 36(%rsp)
	jne	.L17
	movl	40(%rsp), %ecx
	cmpl	%ecx, 32(%rsp)
	jne	.L17
	movl	60(%rsp), %esi
	cmpl	%esi, 52(%rsp)
	jne	.L17
	xorl	%edx, %edx
	movl	56(%rsp), %ebx
	cmpl	%ebx, 48(%rsp)
	sete	%dl
.L9:
	cmpl	%eax, 36(%rsp)
	jne	.L10
	movl	48(%rsp), %eax
	cmpl	%eax, 32(%rsp)
	je	.L25
.L10:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L11:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$88, %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
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movd	%eax, %xmm0
	movd	%edx, %xmm2
	addq	$8, %r15
	punpckldq	%xmm2, %xmm0
	movq	%xmm0, -8(%r15)
	cmpq	%r15, %r13
	jne	.L8
	jmp	.L7
.L25:
	movl	52(%rsp), %eax
	cmpl	%eax, 16(%rsp)
	jne	.L10
	testl	%edx, %edx
	je	.L10
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L11
.L17:
	xorl	%edx, %edx
	jmp	.L9
.L26:
	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:
```

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	comp
	.type	comp, @function
comp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %eax
	subl	4(%rsi), %eax
	jne	.L1
	movl	(%rdi), %eax
	subl	(%rsi), %eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"yes"
.LC2:
	.string	"no"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	leaq	.LC0(%rip), %rbx
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r14
	leaq	64(%rsp), %r13
	movq	%r14, %r15
	leaq	8(%rsp), %r12
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	movl	8(%rsp), %eax
	cmpl	%eax, %edx
	jle	.L5
	movd	%edx, %xmm0
	movd	%eax, %xmm1
	movl	%eax, 12(%rsp)
	addq	$8, %r15
	punpckldq	%xmm1, %xmm0
	movl	%edx, 8(%rsp)
	movq	%xmm0, -8(%r15)
	cmpq	%r13, %r15
	jne	.L8
.L7:
	leaq	comp(%rip), %rcx
	movl	$8, %edx
	movl	$6, %esi
	movq	%r14, %rdi
	call	qsort@PLT
	movl	20(%rsp), %eax
	cmpl	28(%rsp), %eax
	jne	.L17
	movl	24(%rsp), %ecx
	cmpl	%ecx, 16(%rsp)
	jne	.L17
	movl	44(%rsp), %ecx
	cmpl	%ecx, 36(%rsp)
	jne	.L17
	movl	40(%rsp), %ecx
	cmpl	%ecx, 32(%rsp)
	jne	.L17
	movl	60(%rsp), %esi
	cmpl	%esi, 52(%rsp)
	jne	.L17
	xorl	%edx, %edx
	movl	56(%rsp), %ebx
	cmpl	%ebx, 48(%rsp)
	sete	%dl
.L9:
	cmpl	%eax, 36(%rsp)
	jne	.L10
	movl	48(%rsp), %eax
	cmpl	%eax, 32(%rsp)
	je	.L25
.L10:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L11:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$88, %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
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movd	%eax, %xmm0
	movd	%edx, %xmm2
	addq	$8, %r15
	punpckldq	%xmm2, %xmm0
	movq	%xmm0, -8(%r15)
	cmpq	%r15, %r13
	jne	.L8
	jmp	.L7
.L25:
	movl	52(%rsp), %eax
	cmpl	%eax, 16(%rsp)
	jne	.L10
	testl	%edx, %edx
	je	.L10
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L11
.L17:
	xorl	%edx, %edx
	jmp	.L9
.L26:
	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
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %eax
	subl	4(%rsi), %eax
	jne	.L1
	movl	(%rdi), %eax
	subl	(%rsi), %eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"yes"
.LC2:
	.string	"no"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	leaq	.LC0(%rip), %rbx
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r14
	leaq	64(%rsp), %r13
	movq	%r14, %r15
	leaq	8(%rsp), %r12
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	movl	8(%rsp), %eax
	cmpl	%eax, %edx
	jle	.L5
	movd	%edx, %xmm0
	movd	%eax, %xmm1
	movl	%eax, 12(%rsp)
	addq	$8, %r15
	punpckldq	%xmm1, %xmm0
	movl	%edx, 8(%rsp)
	movq	%xmm0, -8(%r15)
	cmpq	%r13, %r15
	jne	.L8
.L7:
	leaq	comp(%rip), %rcx
	movl	$8, %edx
	movl	$6, %esi
	movq	%r14, %rdi
	call	qsort@PLT
	movl	20(%rsp), %eax
	cmpl	28(%rsp), %eax
	jne	.L17
	movl	24(%rsp), %ecx
	cmpl	%ecx, 16(%rsp)
	jne	.L17
	movl	44(%rsp), %ecx
	cmpl	%ecx, 36(%rsp)
	jne	.L17
	movl	40(%rsp), %ecx
	cmpl	%ecx, 32(%rsp)
	jne	.L17
	movl	60(%rsp), %esi
	cmpl	%esi, 52(%rsp)
	jne	.L17
	xorl	%edx, %edx
	movl	56(%rsp), %ebx
	cmpl	%ebx, 48(%rsp)
	sete	%dl
.L9:
	cmpl	%eax, 36(%rsp)
	jne	.L10
	movl	48(%rsp), %eax
	cmpl	%eax, 32(%rsp)
	je	.L25
.L10:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L11:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$88, %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
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movd	%eax, %xmm0
	movd	%edx, %xmm2
	addq	$8, %r15
	punpckldq	%xmm2, %xmm0
	movq	%xmm0, -8(%r15)
	cmpq	%r15, %r13
	jne	.L8
	jmp	.L7
.L25:
	movl	52(%rsp), %eax
	cmpl	%eax, 16(%rsp)
	jne	.L10
	testl	%edx, %edx
	je	.L10
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L11
.L17:
	xorl	%edx, %edx
	jmp	.L9
.L26:
	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:
```
```c
#include <stdio.h>
#include <stdlib.h>

typedef struct {
    int h;
    int w;
} RECT;

int comp(const void *a, const void *b)
{
    int x;
    
    x = (*(RECT *)a).w - (*(RECT *)b).w;
    if (x != 0){
        return (x);
    }
    return ((*(RECT *)a).h - (*(RECT *)b).h);
}


int main(void)
{
    RECT rect[6];
    int i;
    int h, w, t;
    int flag;
    
    flag = 1;
    for (i = 0; i < 6; i++){
        scanf("%d%d", &w, &h);
        
        if (w > h){
            t = w;
            w = h;
            h = t;
        }
        
        rect[i].w = w;
        rect[i].h = h;
    }
    
    qsort(rect, 6, sizeof(RECT), comp);

    for (i = 0; i < 6; i++){
//        printf("%d:%d %d\n", i, rect[i].w, rect[i].h);
    }


    
    for (i = 0; i <= 4; i += 2){
        if (rect[i].w != rect[i + 1].w || rect[i].h != rect[i + 1].h){

// printf("<1>");
            flag = 0;
            break;
        }
    }
    if (rect[0].w != rect[2].w || rect[2].h != rect[4].h || rect[0].h != rect[4].w){
// printf("<2>");
        flag = 0;
    }

    if (flag == 1){
        printf("yes\n");
    }
    else {
        printf("no\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>
#include <stdlib.h>

typedef struct {
    int h;
    int w;
} RECT;

int comp(const void *a, const void *b)
{
    int x;
    
    x = (*(RECT *)a).w - (*(RECT *)b).w;
    if (x != 0){
        return (x);
    }
    return ((*(RECT *)a).h - (*(RECT *)b).h);
}


int main(void)
{
    RECT rect[6];
    int i;
    int h, w, t;
    int flag;
    
    flag = 1;
    for (i = 0; i < 6; i++){
        scanf("%d%d", &w, &h);
        
        if (w > h){
            t = w;
            w = h;
            h = t;
        }
        
        rect[i].w = w;
        rect[i].h = h;
    }
    
    qsort(rect, 6, sizeof(RECT), comp);

    for (i = 0; i < 6; i++){
//        printf("%d:%d %d\n", i, rect[i].w, rect[i].h);
    }


    
    for (i = 0; i <= 4; i += 2){
        if (rect[i].w != rect[i + 1].w || rect[i].h != rect[i + 1].h){

// printf("<1>");
            flag = 0;
            break;
        }
    }
    if (rect[0].w != rect[2].w || rect[2].h != rect[4].h || rect[0].h != rect[4].w){
// printf("<2>");
        flag = 0;
    }

    if (flag == 1){
        printf("yes\n");
    }
    else {
        printf("no\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:

2 2
2 3
2 3
2 3
2 2
5 2
 2 2
2 3
2 2
2 3
2 2
2 2
 2 2
2 3
2 3
2 2
2 2
5 2
 2 2
2 3
2 2
2 3
2 2
2 3
 2 2
2 3
2 3
2 2
2 2
10 2
 2 2
2 3
4 2
2 3
2 2
2 3
 2 2
2 3
2 2
2 2
2 2
10 2
 2 2
2 3
4 4
2 3
2 2
2 3
 2 2
2 3
4 2
2 2
2 2
10 2
 2 2
2 3
4 4
2 3
1 2
2 3

no
 no
 no
 no
 no
 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>

typedef struct {
    int h;
    int w;
} RECT;

int comp(const void *a, const void *b)
{
    int x;
    
    x = (*(RECT *)a).w - (*(RECT *)b).w;
    if (x != 0){
        return (x);
    }
    return ((*(RECT *)a).h - (*(RECT *)b).h);
}


int main(void)
{
    RECT rect[6];
    int i;
    int h, w, t;
    int flag;
    
    flag = 1;
    for (i = 0; i < 6; i++){
        scanf("%d%d", &w, &h);
        
        if (w > h){
            t = w;
            w = h;
            h = t;
        }
        
        rect[i].w = w;
        rect[i].h = h;
    }
    
    qsort(rect, 6, sizeof(RECT), comp);

    for (i = 0; i < 6; i++){
//        printf("%d:%d %d\n", i, rect[i].w, rect[i].h);
    }


    
    for (i = 0; i <= 4; i += 2){
        if (rect[i].w != rect[i + 1].w || rect[i].h != rect[i + 1].h){

// printf("<1>");
            flag = 0;
            break;
        }
    }
    if (rect[0].w != rect[2].w || rect[2].h != rect[4].h || rect[0].h != rect[4].w){
// printf("<2>");
        flag = 0;
    }

    if (flag == 1){
        printf("yes\n");
    }
    else {
        printf("no\n");
    }

    
    return (0);
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %eax
	subl	4(%rsi), %eax
	jne	.L1
	movl	(%rdi), %eax
	subl	(%rsi), %eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"yes"
.LC2:
	.string	"no"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	leaq	.LC0(%rip), %rbx
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r14
	leaq	64(%rsp), %r13
	movq	%r14, %r15
	leaq	8(%rsp), %r12
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	movl	8(%rsp), %eax
	cmpl	%eax, %edx
	jle	.L5
	movd	%edx, %xmm0
	movd	%eax, %xmm1
	movl	%eax, 12(%rsp)
	addq	$8, %r15
	punpckldq	%xmm1, %xmm0
	movl	%edx, 8(%rsp)
	movq	%xmm0, -8(%r15)
	cmpq	%r13, %r15
	jne	.L8
.L7:
	leaq	comp(%rip), %rcx
	movl	$8, %edx
	movl	$6, %esi
	movq	%r14, %rdi
	call	qsort@PLT
	movl	20(%rsp), %eax
	cmpl	28(%rsp), %eax
	jne	.L17
	movl	24(%rsp), %ecx
	cmpl	%ecx, 16(%rsp)
	jne	.L17
	movl	44(%rsp), %ecx
	cmpl	%ecx, 36(%rsp)
	jne	.L17
	movl	40(%rsp), %ecx
	cmpl	%ecx, 32(%rsp)
	jne	.L17
	movl	60(%rsp), %esi
	cmpl	%esi, 52(%rsp)
	jne	.L17
	xorl	%edx, %edx
	movl	56(%rsp), %ebx
	cmpl	%ebx, 48(%rsp)
	sete	%dl
.L9:
	cmpl	%eax, 36(%rsp)
	jne	.L10
	movl	48(%rsp), %eax
	cmpl	%eax, 32(%rsp)
	je	.L25
.L10:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L11:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$88, %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
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movd	%eax, %xmm0
	movd	%edx, %xmm2
	addq	$8, %r15
	punpckldq	%xmm2, %xmm0
	movq	%xmm0, -8(%r15)
	cmpq	%r15, %r13
	jne	.L8
	jmp	.L7
.L25:
	movl	52(%rsp), %eax
	cmpl	%eax, 16(%rsp)
	jne	.L10
	testl	%edx, %edx
	je	.L10
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L11
.L17:
	xorl	%edx, %edx
	jmp	.L9
.L26:
	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:
```

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	comp
	.type	comp, @function
comp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %eax
	subl	4(%rsi), %eax
	jne	.L1
	movl	(%rdi), %eax
	subl	(%rsi), %eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"yes"
.LC2:
	.string	"no"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	leaq	.LC0(%rip), %rbx
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r14
	leaq	64(%rsp), %r13
	movq	%r14, %r15
	leaq	8(%rsp), %r12
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	movl	8(%rsp), %eax
	cmpl	%eax, %edx
	jle	.L5
	movd	%edx, %xmm0
	movd	%eax, %xmm1
	movl	%eax, 12(%rsp)
	addq	$8, %r15
	punpckldq	%xmm1, %xmm0
	movl	%edx, 8(%rsp)
	movq	%xmm0, -8(%r15)
	cmpq	%r13, %r15
	jne	.L8
.L7:
	leaq	comp(%rip), %rcx
	movl	$8, %edx
	movl	$6, %esi
	movq	%r14, %rdi
	call	qsort@PLT
	movl	20(%rsp), %eax
	cmpl	28(%rsp), %eax
	jne	.L17
	movl	24(%rsp), %ecx
	cmpl	%ecx, 16(%rsp)
	jne	.L17
	movl	44(%rsp), %ecx
	cmpl	%ecx, 36(%rsp)
	jne	.L17
	movl	40(%rsp), %ecx
	cmpl	%ecx, 32(%rsp)
	jne	.L17
	movl	60(%rsp), %esi
	cmpl	%esi, 52(%rsp)
	jne	.L17
	xorl	%edx, %edx
	movl	56(%rsp), %ebx
	cmpl	%ebx, 48(%rsp)
	sete	%dl
.L9:
	cmpl	%eax, 36(%rsp)
	jne	.L10
	movl	48(%rsp), %eax
	cmpl	%eax, 32(%rsp)
	je	.L25
.L10:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L11:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$88, %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
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movd	%eax, %xmm0
	movd	%edx, %xmm2
	addq	$8, %r15
	punpckldq	%xmm2, %xmm0
	movq	%xmm0, -8(%r15)
	cmpq	%r15, %r13
	jne	.L8
	jmp	.L7
.L25:
	movl	52(%rsp), %eax
	cmpl	%eax, 16(%rsp)
	jne	.L10
	testl	%edx, %edx
	je	.L10
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L11
.L17:
	xorl	%edx, %edx
	jmp	.L9
.L26:
	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:
```