Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>

int main(){
 
  char t1[100][100];
  char t2[100][100];
  int i = 0;
  int j = 0;   

  for(i = 0; i < 8; i++){
      scanf("%s", &t1[i]);
  }
  
  memcpy(t2, t1, sizeof(t1));
  printf("90\n");
  for(i = 0; i < 8;  i++){
    for(j = 0; j < 8; j++){
      t1[j][8 - i - 1] = t2[i][j]; 
    }
  }
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      printf("%c", t1[i][j]);
    }
    printf("\n");
  }




  memcpy(t2, t1, sizeof(t1));
  printf("180\n");

  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      t1[j][8 - i - 1] = t2[i][j];
    }
  }
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      printf("%c", t1[i][j]);
    }
    printf("\n");
  }



  memcpy(t2, t1, sizeof(t1));
  printf("270\n");
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      t1[j][8 - i - 1] = t2[i][j];
    }
  }
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      printf("%c", t1[i][j]);
    }
    printf("\n");
  }

 
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"90"
.LC2:
	.string	"180"
.LC3:
	.string	"270"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-16384(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3648, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -20024(%rbp)
	movl	$0, -20020(%rbp)
	movl	$0, -20024(%rbp)
	jmp	.L2
.L3:
	leaq	-20016(%rbp), %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -20024(%rbp)
.L2:
	cmpl	$7, -20024(%rbp)
	jle	.L3
	leaq	-10016(%rbp), %rax
	leaq	-20016(%rbp), %rcx
	movl	$10000, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, -20024(%rbp)
	jmp	.L4
.L7:
	movl	$0, -20020(%rbp)
	jmp	.L5
.L6:
	movl	$7, %eax
	subl	-20024(%rbp), %eax
	movl	%eax, %ecx
	movl	-20020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$10016, %rax
	movzbl	(%rax), %edx
	movslq	%ecx, %rsi
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$20016, %rax
	movb	%dl, (%rax)
	addl	$1, -20020(%rbp)
.L5:
	cmpl	$7, -20020(%rbp)
	jle	.L6
	addl	$1, -20024(%rbp)
.L4:
	cmpl	$7, -20024(%rbp)
	jle	.L7
	movl	$0, -20024(%rbp)
	jmp	.L8
.L11:
	movl	$0, -20020(%rbp)
	jmp	.L9
.L10:
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$20016, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -20020(%rbp)
.L9:
	cmpl	$7, -20020(%rbp)
	jle	.L10
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -20024(%rbp)
.L8:
	cmpl	$7, -20024(%rbp)
	jle	.L11
	leaq	-10016(%rbp), %rax
	leaq	-20016(%rbp), %rcx
	movl	$10000, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, -20024(%rbp)
	jmp	.L12
.L15:
	movl	$0, -20020(%rbp)
	jmp	.L13
.L14:
	movl	$7, %eax
	subl	-20024(%rbp), %eax
	movl	%eax, %ecx
	movl	-20020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$10016, %rax
	movzbl	(%rax), %edx
	movslq	%ecx, %rsi
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$20016, %rax
	movb	%dl, (%rax)
	addl	$1, -20020(%rbp)
.L13:
	cmpl	$7, -20020(%rbp)
	jle	.L14
	addl	$1, -20024(%rbp)
.L12:
	cmpl	$7, -20024(%rbp)
	jle	.L15
	movl	$0, -20024(%rbp)
	jmp	.L16
.L19:
	movl	$0, -20020(%rbp)
	jmp	.L17
.L18:
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$20016, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -20020(%rbp)
.L17:
	cmpl	$7, -20020(%rbp)
	jle	.L18
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -20024(%rbp)
.L16:
	cmpl	$7, -20024(%rbp)
	jle	.L19
	leaq	-10016(%rbp), %rax
	leaq	-20016(%rbp), %rcx
	movl	$10000, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, -20024(%rbp)
	jmp	.L20
.L23:
	movl	$0, -20020(%rbp)
	jmp	.L21
.L22:
	movl	$7, %eax
	subl	-20024(%rbp), %eax
	movl	%eax, %ecx
	movl	-20020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$10016, %rax
	movzbl	(%rax), %edx
	movslq	%ecx, %rsi
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$20016, %rax
	movb	%dl, (%rax)
	addl	$1, -20020(%rbp)
.L21:
	cmpl	$7, -20020(%rbp)
	jle	.L22
	addl	$1, -20024(%rbp)
.L20:
	cmpl	$7, -20024(%rbp)
	jle	.L23
	movl	$0, -20024(%rbp)
	jmp	.L24
.L27:
	movl	$0, -20020(%rbp)
	jmp	.L25
.L26:
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$20016, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -20020(%rbp)
.L25:
	cmpl	$7, -20020(%rbp)
	jle	.L26
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -20024(%rbp)
.L24:
	cmpl	$7, -20024(%rbp)
	jle	.L27
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"90"
.LC2:
	.string	"180"
.LC3:
	.string	"270"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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	-16384(%rsp), %r11
	.cfi_def_cfa 11, 16440
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3640, %rsp
	.cfi_def_cfa_offset 20080
	leaq	.LC0(%rip), %r14
	movq	%fs:40, %rax
	movq	%rax, 20008(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %r13
	leaq	800(%rsp), %r12
	movq	%r13, %rbp
	movq	%r13, %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$100, %rbx
	call	__isoc99_scanf@PLT
	cmpq	%rbx, %r12
	jne	.L2
	leaq	10000(%rsp), %r14
	movl	$10000, %edx
	movq	%r13, %rsi
	movq	%r13, %r15
	movq	%r14, %rdi
	call	memcpy@PLT
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movzbl	10000(%rsp), %eax
	movzbl	10100(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10200(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10300(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10400(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10500(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10600(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10700(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10101(%rsp), %edx
	movq	%rax, (%rsp)
	movzbl	10001(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10201(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10301(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10401(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10501(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10601(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10701(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10102(%rsp), %edx
	movq	%rax, 100(%rsp)
	movzbl	10002(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10202(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10302(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10402(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10502(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10602(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10702(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10103(%rsp), %edx
	movq	%rax, 200(%rsp)
	movzbl	10003(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10203(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10303(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10403(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10503(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10603(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10703(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10104(%rsp), %edx
	movq	%rax, 300(%rsp)
	movzbl	10004(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10204(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10304(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10404(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10504(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10604(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10704(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10105(%rsp), %edx
	movq	%rax, 400(%rsp)
	movzbl	10005(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10205(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10305(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10405(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10505(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10605(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10705(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10106(%rsp), %edx
	movq	%rax, 500(%rsp)
	movzbl	10006(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10206(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10306(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10406(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10506(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10606(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10706(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 600(%rsp)
	movzbl	10007(%rsp), %eax
	movzbl	10107(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10207(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10307(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10407(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10507(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10607(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10707(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 700(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movsbl	(%r15,%rbx), %edi
	addq	$1, %rbx
	call	putchar@PLT
	cmpq	$8, %rbx
	jne	.L4
	movl	$10, %edi
	addq	$100, %r15
	call	putchar@PLT
	cmpq	%r15, %r12
	jne	.L3
	movl	$10000, %edx
	movq	%r13, %rsi
	movq	%r14, %rdi
	movq	%r13, %r15
	call	memcpy@PLT
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movzbl	10000(%rsp), %eax
	movzbl	10100(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10200(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10300(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10400(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10500(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10600(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10700(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10101(%rsp), %edx
	movq	%rax, (%rsp)
	movzbl	10001(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10201(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10301(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10401(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10501(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10601(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10701(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10102(%rsp), %edx
	movq	%rax, 100(%rsp)
	movzbl	10002(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10202(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10302(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10402(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10502(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10602(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10702(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10103(%rsp), %edx
	movq	%rax, 200(%rsp)
	movzbl	10003(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10203(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10303(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10403(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10503(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10603(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10703(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10104(%rsp), %edx
	movq	%rax, 300(%rsp)
	movzbl	10004(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10204(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10304(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10404(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10504(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10604(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10704(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10105(%rsp), %edx
	movq	%rax, 400(%rsp)
	movzbl	10005(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10205(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10305(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10405(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10505(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10605(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10705(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10106(%rsp), %edx
	movq	%rax, 500(%rsp)
	movzbl	10006(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10206(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10306(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10406(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10506(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10606(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10706(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 600(%rsp)
	movzbl	10007(%rsp), %eax
	movzbl	10107(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10207(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10307(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10407(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10507(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10607(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10707(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 700(%rsp)
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L7:
	movsbl	(%r15,%rbx), %edi
	addq	$1, %rbx
	call	putchar@PLT
	cmpq	$8, %rbx
	jne	.L7
	movl	$10, %edi
	addq	$100, %r15
	call	putchar@PLT
	cmpq	%r15, %r12
	jne	.L6
	movl	$10000, %edx
	movq	%r13, %rsi
	movq	%r14, %rdi
	call	memcpy@PLT
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	movzbl	10000(%rsp), %eax
	movzbl	10100(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10200(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10300(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10400(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10500(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10600(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10700(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10101(%rsp), %edx
	movq	%rax, (%rsp)
	movzbl	10001(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10201(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10301(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10401(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10501(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10601(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10701(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10102(%rsp), %edx
	movq	%rax, 100(%rsp)
	movzbl	10002(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10202(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10302(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10402(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10502(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10602(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10702(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10103(%rsp), %edx
	movq	%rax, 200(%rsp)
	movzbl	10003(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10203(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10303(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10403(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10503(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10603(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10703(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10104(%rsp), %edx
	movq	%rax, 300(%rsp)
	movzbl	10004(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10204(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10304(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10404(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10504(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10604(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10704(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10105(%rsp), %edx
	movq	%rax, 400(%rsp)
	movzbl	10005(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10205(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10305(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10405(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10505(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10605(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10705(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10106(%rsp), %edx
	movq	%rax, 500(%rsp)
	movzbl	10006(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10206(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10306(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10406(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10506(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10606(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10706(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 600(%rsp)
	movzbl	10007(%rsp), %eax
	movzbl	10107(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10207(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10307(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10407(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10507(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10607(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10707(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 700(%rsp)
	.p2align 4,,10
	.p2align 3
.L9:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L10:
	movsbl	0(%rbp,%rbx), %edi
	addq	$1, %rbx
	call	putchar@PLT
	cmpq	$8, %rbx
	jne	.L10
	movl	$10, %edi
	addq	$100, %rbp
	call	putchar@PLT
	cmpq	%rbp, %r12
	jne	.L9
	movq	20008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$20024, %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
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"90"
.LC2:
	.string	"180"
.LC3:
	.string	"270"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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	-16384(%rsp), %r11
	.cfi_def_cfa 11, 16440
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3640, %rsp
	.cfi_def_cfa_offset 20080
	leaq	.LC0(%rip), %r14
	movq	%fs:40, %rax
	movq	%rax, 20008(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %r13
	leaq	800(%rsp), %r12
	movq	%r13, %rbp
	movq	%r13, %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$100, %rbx
	call	__isoc99_scanf@PLT
	cmpq	%rbx, %r12
	jne	.L2
	leaq	10000(%rsp), %r14
	movl	$10000, %edx
	movq	%r13, %rsi
	movq	%r13, %r15
	movq	%r14, %rdi
	call	memcpy@PLT
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movzbl	10000(%rsp), %eax
	movzbl	10100(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10200(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10300(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10400(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10500(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10600(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10700(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10101(%rsp), %edx
	movq	%rax, (%rsp)
	movzbl	10001(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10201(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10301(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10401(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10501(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10601(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10701(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10102(%rsp), %edx
	movq	%rax, 100(%rsp)
	movzbl	10002(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10202(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10302(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10402(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10502(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10602(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10702(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10103(%rsp), %edx
	movq	%rax, 200(%rsp)
	movzbl	10003(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10203(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10303(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10403(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10503(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10603(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10703(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10104(%rsp), %edx
	movq	%rax, 300(%rsp)
	movzbl	10004(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10204(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10304(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10404(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10504(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10604(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10704(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10105(%rsp), %edx
	movq	%rax, 400(%rsp)
	movzbl	10005(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10205(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10305(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10405(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10505(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10605(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10705(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10106(%rsp), %edx
	movq	%rax, 500(%rsp)
	movzbl	10006(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10206(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10306(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10406(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10506(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10606(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10706(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 600(%rsp)
	movzbl	10007(%rsp), %eax
	movzbl	10107(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10207(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10307(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10407(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10507(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10607(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10707(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 700(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movsbl	(%r15,%rbx), %edi
	addq	$1, %rbx
	call	putchar@PLT
	cmpq	$8, %rbx
	jne	.L4
	movl	$10, %edi
	addq	$100, %r15
	call	putchar@PLT
	cmpq	%r15, %r12
	jne	.L3
	movl	$10000, %edx
	movq	%r13, %rsi
	movq	%r14, %rdi
	movq	%r13, %r15
	call	memcpy@PLT
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movzbl	10000(%rsp), %eax
	movzbl	10100(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10200(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10300(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10400(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10500(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10600(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10700(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10101(%rsp), %edx
	movq	%rax, (%rsp)
	movzbl	10001(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10201(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10301(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10401(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10501(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10601(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10701(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10102(%rsp), %edx
	movq	%rax, 100(%rsp)
	movzbl	10002(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10202(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10302(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10402(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10502(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10602(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10702(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10103(%rsp), %edx
	movq	%rax, 200(%rsp)
	movzbl	10003(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10203(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10303(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10403(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10503(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10603(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10703(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10104(%rsp), %edx
	movq	%rax, 300(%rsp)
	movzbl	10004(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10204(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10304(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10404(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10504(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10604(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10704(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10105(%rsp), %edx
	movq	%rax, 400(%rsp)
	movzbl	10005(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10205(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10305(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10405(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10505(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10605(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10705(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10106(%rsp), %edx
	movq	%rax, 500(%rsp)
	movzbl	10006(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10206(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10306(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10406(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10506(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10606(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10706(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 600(%rsp)
	movzbl	10007(%rsp), %eax
	movzbl	10107(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10207(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10307(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10407(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10507(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10607(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10707(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 700(%rsp)
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L7:
	movsbl	(%r15,%rbx), %edi
	addq	$1, %rbx
	call	putchar@PLT
	cmpq	$8, %rbx
	jne	.L7
	movl	$10, %edi
	addq	$100, %r15
	call	putchar@PLT
	cmpq	%r15, %r12
	jne	.L6
	movl	$10000, %edx
	movq	%r13, %rsi
	movq	%r14, %rdi
	call	memcpy@PLT
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	movzbl	10000(%rsp), %eax
	movzbl	10100(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10200(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10300(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10400(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10500(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10600(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10700(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10101(%rsp), %edx
	movq	%rax, (%rsp)
	movzbl	10001(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10201(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10301(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10401(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10501(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10601(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10701(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10102(%rsp), %edx
	movq	%rax, 100(%rsp)
	movzbl	10002(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10202(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10302(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10402(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10502(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10602(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10702(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10103(%rsp), %edx
	movq	%rax, 200(%rsp)
	movzbl	10003(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10203(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10303(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10403(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10503(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10603(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10703(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10104(%rsp), %edx
	movq	%rax, 300(%rsp)
	movzbl	10004(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10204(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10304(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10404(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10504(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10604(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10704(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10105(%rsp), %edx
	movq	%rax, 400(%rsp)
	movzbl	10005(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10205(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10305(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10405(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10505(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10605(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10705(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10106(%rsp), %edx
	movq	%rax, 500(%rsp)
	movzbl	10006(%rsp), %eax
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10206(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10306(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10406(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10506(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10606(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10706(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 600(%rsp)
	movzbl	10007(%rsp), %eax
	movzbl	10107(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10207(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10307(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10407(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10507(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10607(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movzbl	10707(%rsp), %edx
	salq	$8, %rax
	orq	%rdx, %rax
	movq	%rax, 700(%rsp)
	.p2align 4,,10
	.p2align 3
.L9:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L10:
	movsbl	0(%rbp,%rbx), %edi
	addq	$1, %rbx
	call	putchar@PLT
	cmpq	$8, %rbx
	jne	.L10
	movl	$10, %edi
	addq	$100, %rbp
	call	putchar@PLT
	cmpq	%rbp, %r12
	jne	.L9
	movq	20008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$20024, %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
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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:

#include <stdio.h>
#include <string.h>

int main(){
 
  char t1[100][100];
  char t2[100][100];
  int i = 0;
  int j = 0;   

  for(i = 0; i < 8; i++){
      scanf("%s", &t1[i]);
  }
  
  memcpy(t2, t1, sizeof(t1));
  printf("90\n");
  for(i = 0; i < 8;  i++){
    for(j = 0; j < 8; j++){
      t1[j][8 - i - 1] = t2[i][j]; 
    }
  }
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      printf("%c", t1[i][j]);
    }
    printf("\n");
  }




  memcpy(t2, t1, sizeof(t1));
  printf("180\n");

  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      t1[j][8 - i - 1] = t2[i][j];
    }
  }
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      printf("%c", t1[i][j]);
    }
    printf("\n");
  }



  memcpy(t2, t1, sizeof(t1));
  printf("270\n");
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      t1[j][8 - i - 1] = t2[i][j];
    }
  }
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      printf("%c", t1[i][j]);
    }
    printf("\n");
  }

 
  return 0;
}
#*******
#*******
"*******
#*******
#*******
#*******
#*******
########
 ****)**
*******
*******
*******
*******
*******
*******
 #*******
#*******
"*******
#*******
#*******
#*******
#*******
$#######
 ****)**
*******
*******
*******
*******
*****+*
*******
 #*******
#*******
"*******
#*******
#**)****
#*******
#*******
$#######
 ****)**
*******
*******
*******
*)*****
*****+*
*******
 #*******
#*******
"*******
#*******
#**)****
#*******
#*)*****
$#######
 ****)**
+******
*******
*******
*)*****
*****+*
*******
 #*******
#*******
"***+***
#*******
#**)****
#*******
#*)*****
$#######
 ****)**
+******
*******
*******
*)*****
*****+*
*****)*

90
#####"##
#*******
#*******
#*******
#*******
#*******
#*******
#*******
180
########
*******#
*******#
*******#
*******#
*******"
*******#
*******#
270
*******#
*******#
*******#
*******#
*******#
*******#
*******#
##"#####
 90
*******
*******
*******
*******
******)
*******
*******

180

*******
*******
*******
*******
*******
*******
**)****
270

*******
*******
)******
*******
*******
*******
*******
 90
$####"##
#*******
#*******
#*******
#*******
#*******
#*******
#*******
180
#######$
*******#
*******#
*******#
*******#
*******"
*******#
*******#
270
*******#
*******#
*******#
*******#
*******#
*******#
*******#
##"####$
 90
*******
*******
*******
*******
******)
*+*****
*******

180

*******
*+*****
*******
*******
*******
*******
**)****
270

*******
*****+*
)******
*******
*******
*******
*******
 90
$####"##
#*******
#*******
#**)****
#*******
#*******
#*******
#*******
180
#######$
*******#
*******#
****)**#
*******#
*******"
*******#
*******#
270
*******#
*******#
*******#
*******#
****)**#
*******#
*******#
##"####$
 90
*******
**)****
*******
*******
******)
*+*****
*******

180

*******
*+*****
*****)*
*******
*******
*******
**)****
270

*******
*****+*
)******
*******
*******
****)**
*******
 90
$####"##
#*******
#)******
#**)****
#*******
#*******
#*******
#*******
180
#######$
*****)*#
*******#
****)**#
*******#
*******"
*******#
*******#
270
*******#
*******#
*******#
*******#
****)**#
******)#
*******#
##"####$
 90
*****+*
**)****
*******
*******
******)
*+*****
*******

180

*******
*+*****
*****)*
*******
*******
******+
**)****
270

*******
*****+*
)******
*******
*******
****)**
*+*****
 90
$####"##
#*******
#)******
#**)****
#****+**
#*******
#*******
#*******
180
#######$
*****)*#
*******#
****)**#
*******#
***+***"
*******#
*******#
270
*******#
*******#
*******#
**+****#
****)**#
******)#
*******#
##"####$
 90
*****+*
**)****
*******
*******
******)
)+*****
*******

180

*)*****
*+*****
*****)*
*******
*******
******+
**)****
270

*******
*****+)
)******
*******
*******
****)**
*+*****

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>

int main(){
 
  char t1[100][100];
  char t2[100][100];
  int i = 0;
  int j = 0;   

  for(i = 0; i < 8; i++){
      scanf("%s", &t1[i]);
  }
  
  memcpy(t2, t1, sizeof(t1));
  printf("90\n");
  for(i = 0; i < 8;  i++){
    for(j = 0; j < 8; j++){
      t1[j][8 - i - 1] = t2[i][j]; 
    }
  }
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      printf("%c", t1[i][j]);
    }
    printf("\n");
  }




  memcpy(t2, t1, sizeof(t1));
  printf("180\n");

  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      t1[j][8 - i - 1] = t2[i][j];
    }
  }
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      printf("%c", t1[i][j]);
    }
    printf("\n");
  }



  memcpy(t2, t1, sizeof(t1));
  printf("270\n");
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      t1[j][8 - i - 1] = t2[i][j];
    }
  }
  for(i = 0; i < 8; i++){
    for(j = 0; j < 8; j++){
      printf("%c", t1[i][j]);
    }
    printf("\n");
  }

 
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"90"
.LC2:
	.string	"180"
.LC3:
	.string	"270"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-16384(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3648, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -20024(%rbp)
	movl	$0, -20020(%rbp)
	movl	$0, -20024(%rbp)
	jmp	.L2
.L3:
	leaq	-20016(%rbp), %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -20024(%rbp)
.L2:
	cmpl	$7, -20024(%rbp)
	jle	.L3
	leaq	-10016(%rbp), %rax
	leaq	-20016(%rbp), %rcx
	movl	$10000, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, -20024(%rbp)
	jmp	.L4
.L7:
	movl	$0, -20020(%rbp)
	jmp	.L5
.L6:
	movl	$7, %eax
	subl	-20024(%rbp), %eax
	movl	%eax, %ecx
	movl	-20020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$10016, %rax
	movzbl	(%rax), %edx
	movslq	%ecx, %rsi
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$20016, %rax
	movb	%dl, (%rax)
	addl	$1, -20020(%rbp)
.L5:
	cmpl	$7, -20020(%rbp)
	jle	.L6
	addl	$1, -20024(%rbp)
.L4:
	cmpl	$7, -20024(%rbp)
	jle	.L7
	movl	$0, -20024(%rbp)
	jmp	.L8
.L11:
	movl	$0, -20020(%rbp)
	jmp	.L9
.L10:
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$20016, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -20020(%rbp)
.L9:
	cmpl	$7, -20020(%rbp)
	jle	.L10
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -20024(%rbp)
.L8:
	cmpl	$7, -20024(%rbp)
	jle	.L11
	leaq	-10016(%rbp), %rax
	leaq	-20016(%rbp), %rcx
	movl	$10000, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, -20024(%rbp)
	jmp	.L12
.L15:
	movl	$0, -20020(%rbp)
	jmp	.L13
.L14:
	movl	$7, %eax
	subl	-20024(%rbp), %eax
	movl	%eax, %ecx
	movl	-20020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$10016, %rax
	movzbl	(%rax), %edx
	movslq	%ecx, %rsi
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$20016, %rax
	movb	%dl, (%rax)
	addl	$1, -20020(%rbp)
.L13:
	cmpl	$7, -20020(%rbp)
	jle	.L14
	addl	$1, -20024(%rbp)
.L12:
	cmpl	$7, -20024(%rbp)
	jle	.L15
	movl	$0, -20024(%rbp)
	jmp	.L16
.L19:
	movl	$0, -20020(%rbp)
	jmp	.L17
.L18:
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$20016, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -20020(%rbp)
.L17:
	cmpl	$7, -20020(%rbp)
	jle	.L18
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -20024(%rbp)
.L16:
	cmpl	$7, -20024(%rbp)
	jle	.L19
	leaq	-10016(%rbp), %rax
	leaq	-20016(%rbp), %rcx
	movl	$10000, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, -20024(%rbp)
	jmp	.L20
.L23:
	movl	$0, -20020(%rbp)
	jmp	.L21
.L22:
	movl	$7, %eax
	subl	-20024(%rbp), %eax
	movl	%eax, %ecx
	movl	-20020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$10016, %rax
	movzbl	(%rax), %edx
	movslq	%ecx, %rsi
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$20016, %rax
	movb	%dl, (%rax)
	addl	$1, -20020(%rbp)
.L21:
	cmpl	$7, -20020(%rbp)
	jle	.L22
	addl	$1, -20024(%rbp)
.L20:
	cmpl	$7, -20024(%rbp)
	jle	.L23
	movl	$0, -20024(%rbp)
	jmp	.L24
.L27:
	movl	$0, -20020(%rbp)
	jmp	.L25
.L26:
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$20016, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -20020(%rbp)
.L25:
	cmpl	$7, -20020(%rbp)
	jle	.L26
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -20024(%rbp)
.L24:
	cmpl	$7, -20024(%rbp)
	jle	.L27
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"90"
.LC2:
	.string	"180"
.LC3:
	.string	"270"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-16384(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3648, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -20024(%rbp)
	movl	$0, -20020(%rbp)
	movl	$0, -20024(%rbp)
	jmp	.L2
.L3:
	leaq	-20016(%rbp), %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -20024(%rbp)
.L2:
	cmpl	$7, -20024(%rbp)
	jle	.L3
	leaq	-10016(%rbp), %rax
	leaq	-20016(%rbp), %rcx
	movl	$10000, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, -20024(%rbp)
	jmp	.L4
.L7:
	movl	$0, -20020(%rbp)
	jmp	.L5
.L6:
	movl	$7, %eax
	subl	-20024(%rbp), %eax
	movl	%eax, %ecx
	movl	-20020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$10016, %rax
	movzbl	(%rax), %edx
	movslq	%ecx, %rsi
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$20016, %rax
	movb	%dl, (%rax)
	addl	$1, -20020(%rbp)
.L5:
	cmpl	$7, -20020(%rbp)
	jle	.L6
	addl	$1, -20024(%rbp)
.L4:
	cmpl	$7, -20024(%rbp)
	jle	.L7
	movl	$0, -20024(%rbp)
	jmp	.L8
.L11:
	movl	$0, -20020(%rbp)
	jmp	.L9
.L10:
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$20016, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -20020(%rbp)
.L9:
	cmpl	$7, -20020(%rbp)
	jle	.L10
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -20024(%rbp)
.L8:
	cmpl	$7, -20024(%rbp)
	jle	.L11
	leaq	-10016(%rbp), %rax
	leaq	-20016(%rbp), %rcx
	movl	$10000, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, -20024(%rbp)
	jmp	.L12
.L15:
	movl	$0, -20020(%rbp)
	jmp	.L13
.L14:
	movl	$7, %eax
	subl	-20024(%rbp), %eax
	movl	%eax, %ecx
	movl	-20020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$10016, %rax
	movzbl	(%rax), %edx
	movslq	%ecx, %rsi
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$20016, %rax
	movb	%dl, (%rax)
	addl	$1, -20020(%rbp)
.L13:
	cmpl	$7, -20020(%rbp)
	jle	.L14
	addl	$1, -20024(%rbp)
.L12:
	cmpl	$7, -20024(%rbp)
	jle	.L15
	movl	$0, -20024(%rbp)
	jmp	.L16
.L19:
	movl	$0, -20020(%rbp)
	jmp	.L17
.L18:
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$20016, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -20020(%rbp)
.L17:
	cmpl	$7, -20020(%rbp)
	jle	.L18
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -20024(%rbp)
.L16:
	cmpl	$7, -20024(%rbp)
	jle	.L19
	leaq	-10016(%rbp), %rax
	leaq	-20016(%rbp), %rcx
	movl	$10000, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, -20024(%rbp)
	jmp	.L20
.L23:
	movl	$0, -20020(%rbp)
	jmp	.L21
.L22:
	movl	$7, %eax
	subl	-20024(%rbp), %eax
	movl	%eax, %ecx
	movl	-20020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$10016, %rax
	movzbl	(%rax), %edx
	movslq	%ecx, %rsi
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rsi, %rax
	subq	$20016, %rax
	movb	%dl, (%rax)
	addl	$1, -20020(%rbp)
.L21:
	cmpl	$7, -20020(%rbp)
	jle	.L22
	addl	$1, -20024(%rbp)
.L20:
	cmpl	$7, -20024(%rbp)
	jle	.L23
	movl	$0, -20024(%rbp)
	jmp	.L24
.L27:
	movl	$0, -20020(%rbp)
	jmp	.L25
.L26:
	movl	-20020(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20024(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$20016, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -20020(%rbp)
.L25:
	cmpl	$7, -20020(%rbp)
	jle	.L26
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -20024(%rbp)
.L24:
	cmpl	$7, -20024(%rbp)
	jle	.L27
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
