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>

#define string(num,c) \
    for(i = 0;i < num;i++){ \
        printf("%s",c); \
    } \

int main(void){

    int sx,sy,tx,ty,i,dx,dy;

    scanf("%d %d %d %d",&sx,&sy,&tx,&ty);

    dx = tx - sx;
    dy = ty - sy;

    string(dy,"U");
    string(dx,"R");
    string(dy,"D");
    string(dx,"L");
    printf("L");
    string(dy+1,"U");
    string(dx+1,"R");
    printf("D");
    printf("R");
    string(dy+1,"D");
    string(dx+1,"L");
    printf("U\n");

    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"U"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ebx
	subl	12(%rsp), %ebx
	movl	16(%rsp), %ebp
	subl	8(%rsp), %ebp
	testl	%ebx, %ebx
	jle	.L2
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$85, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jne	.L3
	testl	%ebp, %ebp
	jle	.L23
.L26:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$82, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jne	.L5
	testl	%ebx, %ebx
	jle	.L21
.L23:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$68, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jg	.L7
	testl	%ebp, %ebp
	jle	.L46
.L21:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$76, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jg	.L9
.L27:
	movl	$76, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	js	.L10
.L20:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$85, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jge	.L11
	testl	%ebp, %ebp
	js	.L12
.L24:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L13:
	movl	$82, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jge	.L13
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	js	.L19
.L18:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$68, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jge	.L15
	testl	%ebp, %ebp
	js	.L16
.L19:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, %ebp
	jge	.L17
.L16:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L47
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	testl	%ebp, %ebp
	jg	.L26
	jmp	.L27
.L10:
	testl	%ebp, %ebp
	jns	.L24
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	jmp	.L16
.L46:
	movl	$76, %edi
	call	putchar@PLT
	jmp	.L20
.L12:
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	jns	.L18
	jmp	.L16
.L47:
	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	"%d %d %d %d"
.LC1:
	.string	"U"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ebx
	subl	12(%rsp), %ebx
	movl	16(%rsp), %ebp
	subl	8(%rsp), %ebp
	testl	%ebx, %ebx
	jle	.L2
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$85, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jne	.L3
	testl	%ebp, %ebp
	jle	.L23
.L26:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$82, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jne	.L5
	testl	%ebx, %ebx
	jle	.L21
.L23:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$68, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jg	.L7
	testl	%ebp, %ebp
	jle	.L46
.L21:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$76, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jg	.L9
.L27:
	movl	$76, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	js	.L10
.L20:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$85, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jge	.L11
	testl	%ebp, %ebp
	js	.L12
.L24:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L13:
	movl	$82, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jge	.L13
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	js	.L19
.L18:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$68, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jge	.L15
	testl	%ebp, %ebp
	js	.L16
.L19:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, %ebp
	jge	.L17
.L16:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L47
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	testl	%ebp, %ebp
	jg	.L26
	jmp	.L27
.L10:
	testl	%ebp, %ebp
	jns	.L24
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	jmp	.L16
.L46:
	movl	$76, %edi
	call	putchar@PLT
	jmp	.L20
.L12:
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	jns	.L18
	jmp	.L16
.L47:
	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	"%d %d %d %d"
.LC1:
	.string	"U"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ebx
	subl	12(%rsp), %ebx
	movl	16(%rsp), %ebp
	subl	8(%rsp), %ebp
	testl	%ebx, %ebx
	jle	.L2
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$85, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jne	.L3
	testl	%ebp, %ebp
	jle	.L23
.L26:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$82, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jne	.L5
	testl	%ebx, %ebx
	jle	.L21
.L23:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$68, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jg	.L7
	testl	%ebp, %ebp
	jle	.L46
.L21:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$76, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jg	.L9
.L27:
	movl	$76, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	js	.L10
.L20:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$85, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jge	.L11
	testl	%ebp, %ebp
	js	.L12
.L24:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L13:
	movl	$82, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jge	.L13
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	js	.L19
.L18:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$68, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jge	.L15
	testl	%ebp, %ebp
	js	.L16
.L19:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, %ebp
	jge	.L17
.L16:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L47
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	testl	%ebp, %ebp
	jg	.L26
	jmp	.L27
.L10:
	testl	%ebp, %ebp
	jns	.L24
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	jmp	.L16
.L46:
	movl	$76, %edi
	call	putchar@PLT
	jmp	.L20
.L12:
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	jns	.L18
	jmp	.L16
.L47:
	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<stdio.h>
#include<stdlib.h>

#define string(num,c) \
    for(i = 0;i < num;i++){ \
        printf("%s",c); \
    } \

int main(void){

    int sx,sy,tx,ty,i,dx,dy;

    scanf("%d %d %d %d",&sx,&sy,&tx,&ty);

    dx = tx - sx;
    dy = ty - sy;

    string(dy,"U");
    string(dx,"R");
    string(dy,"D");
    string(dx,"L");
    printf("L");
    string(dy+1,"U");
    string(dx+1,"R");
    printf("D");
    printf("R");
    string(dy+1,"D");
    string(dx+1,"L");
    printf("U\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>

#define string(num,c) \
    for(i = 0;i < num;i++){ \
        printf("%s",c); \
    } \

int main(void){

    int sx,sy,tx,ty,i,dx,dy;

    scanf("%d %d %d %d",&sx,&sy,&tx,&ty);

    dx = tx - sx;
    dy = ty - sy;

    string(dy,"U");
    string(dx,"R");
    string(dy,"D");
    string(dx,"L");
    printf("L");
    string(dy+1,"U");
    string(dx+1,"R");
    printf("D");
    printf("R");
    string(dy+1,"D");
    string(dx+1,"L");
    printf("U\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:

-1 0 1 2
 -2 -2 1 2
 -1 0 1 4
 -1 0 1 0
 -2 -2 0 4
 -2 0 1 0
 -4 -2 0 4
 0 0 1 0
 -4 -4 0 4
 -4 0 0 4

UURRDDLLLUUURRRDRDDDLLLU
 UUUURRRDDDDLLLLUUUUURRRRDRDDDDDLLLLU
 UUUURRDDDDLLLUUUUURRRDRDDDDDLLLU
 RRLLLURRRDRDLLLU
 UUUUUURRDDDDDDLLLUUUUUUURRRDRDDDDDDDLLLU
 RRRLLLLURRRRDRDLLLLU
 UUUUUURRRRDDDDDDLLLLLUUUUUUURRRRRDRDDDDDDDLLLLLU
 RLLURRDRDLLU
 UUUUUUUURRRRDDDDDDDDLLLLLUUUUUUUUURRRRRDRDDDDDDDDDLLLLLU
 UUUURRRRDDDDLLLLLUUUUURRRRRDRDDDDDLLLLLU

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>

#define string(num,c) \
    for(i = 0;i < num;i++){ \
        printf("%s",c); \
    } \

int main(void){

    int sx,sy,tx,ty,i,dx,dy;

    scanf("%d %d %d %d",&sx,&sy,&tx,&ty);

    dx = tx - sx;
    dy = ty - sy;

    string(dy,"U");
    string(dx,"R");
    string(dy,"D");
    string(dx,"L");
    printf("L");
    string(dy+1,"U");
    string(dx+1,"R");
    printf("D");
    printf("R");
    string(dy+1,"D");
    string(dx+1,"L");
    printf("U\n");

    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"U"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ebx
	subl	12(%rsp), %ebx
	movl	16(%rsp), %ebp
	subl	8(%rsp), %ebp
	testl	%ebx, %ebx
	jle	.L2
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$85, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jne	.L3
	testl	%ebp, %ebp
	jle	.L23
.L26:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$82, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jne	.L5
	testl	%ebx, %ebx
	jle	.L21
.L23:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$68, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jg	.L7
	testl	%ebp, %ebp
	jle	.L46
.L21:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$76, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jg	.L9
.L27:
	movl	$76, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	js	.L10
.L20:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$85, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jge	.L11
	testl	%ebp, %ebp
	js	.L12
.L24:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L13:
	movl	$82, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jge	.L13
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	js	.L19
.L18:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$68, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jge	.L15
	testl	%ebp, %ebp
	js	.L16
.L19:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, %ebp
	jge	.L17
.L16:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L47
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	testl	%ebp, %ebp
	jg	.L26
	jmp	.L27
.L10:
	testl	%ebp, %ebp
	jns	.L24
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	jmp	.L16
.L46:
	movl	$76, %edi
	call	putchar@PLT
	jmp	.L20
.L12:
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	jns	.L18
	jmp	.L16
.L47:
	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	"%d %d %d %d"
.LC1:
	.string	"U"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ebx
	subl	12(%rsp), %ebx
	movl	16(%rsp), %ebp
	subl	8(%rsp), %ebp
	testl	%ebx, %ebx
	jle	.L2
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$85, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jne	.L3
	testl	%ebp, %ebp
	jle	.L23
.L26:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$82, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jne	.L5
	testl	%ebx, %ebx
	jle	.L21
.L23:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$68, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jg	.L7
	testl	%ebp, %ebp
	jle	.L46
.L21:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$76, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jg	.L9
.L27:
	movl	$76, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	js	.L10
.L20:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$85, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jge	.L11
	testl	%ebp, %ebp
	js	.L12
.L24:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L13:
	movl	$82, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebp
	jge	.L13
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	js	.L19
.L18:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$68, %edi
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	%r12d, %ebx
	jge	.L15
	testl	%ebp, %ebp
	js	.L16
.L19:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, %ebp
	jge	.L17
.L16:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L47
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	testl	%ebp, %ebp
	jg	.L26
	jmp	.L27
.L10:
	testl	%ebp, %ebp
	jns	.L24
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	jmp	.L16
.L46:
	movl	$76, %edi
	call	putchar@PLT
	jmp	.L20
.L12:
	movl	$68, %edi
	call	putchar@PLT
	movl	$82, %edi
	call	putchar@PLT
	testl	%ebx, %ebx
	jns	.L18
	jmp	.L16
.L47:
	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:
```