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 sx,sy,tx,ty;
  scanf("%d %d %d %d", &sx, &sy, &tx, &ty);
  for (int i = sy; i < ty; i++) {
    printf("%c", 'U');
  }
  for (int i = sx; i < tx; i++) {
    printf("%c", 'R');
  }
  for (int i = sy; i < ty; i++) {
    printf("%c", 'D');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", 'L');
  }
  for (int i = sy; i <= ty; i++) {
    printf("%c", 'U');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", 'R');
  }
  printf("%c%c", 'D', 'R');
  for (int i = sy; i <= ty; i++) {
    printf("%c", 'D');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", '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	"%c%c"
.LC2:
	.string	"U"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %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	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jge	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$85, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jg	.L3
	movl	8(%rsp), %ebp
	cmpl	16(%rsp), %ebp
	jge	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$82, %edi
	addl	$1, %ebp
	call	putchar@PLT
	cmpl	%ebp, 16(%rsp)
	jg	.L5
.L4:
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jge	.L32
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$68, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jg	.L7
.L32:
	movl	8(%rsp), %ebx
.L6:
	cmpl	16(%rsp), %ebx
	jg	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L9
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jg	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$85, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jge	.L11
.L10:
	movl	8(%rsp), %ebx
	cmpl	16(%rsp), %ebx
	jg	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	$82, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L13
.L12:
	movl	$82, %ecx
	movl	$68, %edx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jg	.L14
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$68, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jge	.L15
.L14:
	movl	8(%rsp), %ebx
	cmpl	16(%rsp), %ebx
	jg	.L16
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L17
.L16:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movl	8(%rsp), %ebx
	movl	%ebx, %ebp
	cmpl	16(%rsp), %ebx
	jl	.L5
	jmp	.L6
.L8:
	movl	12(%rsp), %ebx
	cmpl	%ebx, 20(%rsp)
	jge	.L11
	jmp	.L12
.L34:
	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 %d %d"
.LC1:
	.string	"%c%c"
.LC2:
	.string	"U"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %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	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jge	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$85, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jg	.L3
	movl	8(%rsp), %ebp
	cmpl	16(%rsp), %ebp
	jge	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$82, %edi
	addl	$1, %ebp
	call	putchar@PLT
	cmpl	%ebp, 16(%rsp)
	jg	.L5
.L4:
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jge	.L32
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$68, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jg	.L7
.L32:
	movl	8(%rsp), %ebx
.L6:
	cmpl	16(%rsp), %ebx
	jg	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L9
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jg	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$85, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jge	.L11
.L10:
	movl	8(%rsp), %ebx
	cmpl	16(%rsp), %ebx
	jg	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	$82, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L13
.L12:
	movl	$82, %ecx
	movl	$68, %edx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jg	.L14
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$68, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jge	.L15
.L14:
	movl	8(%rsp), %ebx
	cmpl	16(%rsp), %ebx
	jg	.L16
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L17
.L16:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movl	8(%rsp), %ebx
	movl	%ebx, %ebp
	cmpl	16(%rsp), %ebx
	jl	.L5
	jmp	.L6
.L8:
	movl	12(%rsp), %ebx
	cmpl	%ebx, 20(%rsp)
	jge	.L11
	jmp	.L12
.L34:
	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 %d %d"
.LC1:
	.string	"%c%c"
.LC2:
	.string	"U"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %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	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jge	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$85, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jg	.L3
	movl	8(%rsp), %ebp
	cmpl	16(%rsp), %ebp
	jge	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$82, %edi
	addl	$1, %ebp
	call	putchar@PLT
	cmpl	%ebp, 16(%rsp)
	jg	.L5
.L4:
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jge	.L32
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$68, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jg	.L7
.L32:
	movl	8(%rsp), %ebx
.L6:
	cmpl	16(%rsp), %ebx
	jg	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L9
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jg	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$85, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jge	.L11
.L10:
	movl	8(%rsp), %ebx
	cmpl	16(%rsp), %ebx
	jg	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	$82, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L13
.L12:
	movl	$82, %ecx
	movl	$68, %edx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jg	.L14
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$68, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jge	.L15
.L14:
	movl	8(%rsp), %ebx
	cmpl	16(%rsp), %ebx
	jg	.L16
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L17
.L16:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movl	8(%rsp), %ebx
	movl	%ebx, %ebp
	cmpl	16(%rsp), %ebx
	jl	.L5
	jmp	.L6
.L8:
	movl	12(%rsp), %ebx
	cmpl	%ebx, 20(%rsp)
	jge	.L11
	jmp	.L12
.L34:
	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 sx,sy,tx,ty;
  scanf("%d %d %d %d", &sx, &sy, &tx, &ty);
  for (int i = sy; i < ty; i++) {
    printf("%c", 'U');
  }
  for (int i = sx; i < tx; i++) {
    printf("%c", 'R');
  }
  for (int i = sy; i < ty; i++) {
    printf("%c", 'D');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", 'L');
  }
  for (int i = sy; i <= ty; i++) {
    printf("%c", 'U');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", 'R');
  }
  printf("%c%c", 'D', 'R');
  for (int i = sy; i <= ty; i++) {
    printf("%c", 'D');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", '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>

int main(void) {

  int sx,sy,tx,ty;
  scanf("%d %d %d %d", &sx, &sy, &tx, &ty);
  for (int i = sy; i < ty; i++) {
    printf("%c", 'U');
  }
  for (int i = sx; i < tx; i++) {
    printf("%c", 'R');
  }
  for (int i = sy; i < ty; i++) {
    printf("%c", 'D');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", 'L');
  }
  for (int i = sy; i <= ty; i++) {
    printf("%c", 'U');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", 'R');
  }
  printf("%c%c", 'D', 'R');
  for (int i = sy; i <= ty; i++) {
    printf("%c", 'D');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", '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>

int main(void) {

  int sx,sy,tx,ty;
  scanf("%d %d %d %d", &sx, &sy, &tx, &ty);
  for (int i = sy; i < ty; i++) {
    printf("%c", 'U');
  }
  for (int i = sx; i < tx; i++) {
    printf("%c", 'R');
  }
  for (int i = sy; i < ty; i++) {
    printf("%c", 'D');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", 'L');
  }
  for (int i = sy; i <= ty; i++) {
    printf("%c", 'U');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", 'R');
  }
  printf("%c%c", 'D', 'R');
  for (int i = sy; i <= ty; i++) {
    printf("%c", 'D');
  }
  for (int i = sx; i <= tx; i++) {
    printf("%c", '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	"%c%c"
.LC2:
	.string	"U"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %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	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jge	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$85, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jg	.L3
	movl	8(%rsp), %ebp
	cmpl	16(%rsp), %ebp
	jge	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$82, %edi
	addl	$1, %ebp
	call	putchar@PLT
	cmpl	%ebp, 16(%rsp)
	jg	.L5
.L4:
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jge	.L32
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$68, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jg	.L7
.L32:
	movl	8(%rsp), %ebx
.L6:
	cmpl	16(%rsp), %ebx
	jg	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L9
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jg	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$85, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jge	.L11
.L10:
	movl	8(%rsp), %ebx
	cmpl	16(%rsp), %ebx
	jg	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	$82, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L13
.L12:
	movl	$82, %ecx
	movl	$68, %edx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jg	.L14
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$68, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jge	.L15
.L14:
	movl	8(%rsp), %ebx
	cmpl	16(%rsp), %ebx
	jg	.L16
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L17
.L16:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movl	8(%rsp), %ebx
	movl	%ebx, %ebp
	cmpl	16(%rsp), %ebx
	jl	.L5
	jmp	.L6
.L8:
	movl	12(%rsp), %ebx
	cmpl	%ebx, 20(%rsp)
	jge	.L11
	jmp	.L12
.L34:
	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 %d %d"
.LC1:
	.string	"%c%c"
.LC2:
	.string	"U"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %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	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jge	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$85, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jg	.L3
	movl	8(%rsp), %ebp
	cmpl	16(%rsp), %ebp
	jge	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$82, %edi
	addl	$1, %ebp
	call	putchar@PLT
	cmpl	%ebp, 16(%rsp)
	jg	.L5
.L4:
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jge	.L32
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$68, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jg	.L7
.L32:
	movl	8(%rsp), %ebx
.L6:
	cmpl	16(%rsp), %ebx
	jg	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L9
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jg	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$85, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jge	.L11
.L10:
	movl	8(%rsp), %ebx
	cmpl	16(%rsp), %ebx
	jg	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	$82, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L13
.L12:
	movl	$82, %ecx
	movl	$68, %edx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movl	12(%rsp), %ebx
	cmpl	20(%rsp), %ebx
	jg	.L14
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$68, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 20(%rsp)
	jge	.L15
.L14:
	movl	8(%rsp), %ebx
	cmpl	16(%rsp), %ebx
	jg	.L16
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$76, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, 16(%rsp)
	jge	.L17
.L16:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movl	8(%rsp), %ebx
	movl	%ebx, %ebp
	cmpl	16(%rsp), %ebx
	jl	.L5
	jmp	.L6
.L8:
	movl	12(%rsp), %ebx
	cmpl	%ebx, 20(%rsp)
	jge	.L11
	jmp	.L12
.L34:
	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:
```