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 <string.h> //文字列操作


int main () {
	char str[201]; //最後null文字入るからね
	int shu_time,shu_cont;
	int i,j,k,l;
	int tmp;
	
	for (i = 0;i < 10;i ++) {
		scanf ("%s",&str);
		if (strcmp (str,"-")  == 0) {
			break;
		}
		
		scanf ("%d",&shu_time); //シャッフル回数   
		for (j  = 0;j < shu_time;j ++) {
			scanf ("%d",&shu_cont); //shuffle_content 前から何枚後ろに
            while (shu_cont) {
            	tmp = str[0]; 
            	for (k = 1;k < strlen (str) ;k ++) { //strの中身をスライドします
            		str[k-1] = str[k];
            	}
            	str[strlen (str) - 1] = tmp;
                shu_cont --;	
            }
			
		}
		
		for (l = 0;l < strlen (str) ;l ++) {
			printf ("%c",str[l]);
		}
		putchar ('\n');
	}
	
	
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"-"
.LC2:
	.string	"%d"
	.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
	subq	$280, %rsp
	.cfi_def_cfa_offset 336
	movq	%fs:40, %rax
	movq	%rax, 264(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$10, 20(%rsp)
	leaq	48(%rsp), %rbx
	movq	%rax, 24(%rsp)
.L13:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpw	$45, (%rbx)
	je	.L4
	movq	24(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	leaq	44(%rsp), %rax
	xorl	%r14d, %r14d
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movq	8(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %r12d
	testl	%r12d, %r12d
	je	.L6
	movl	$1, %ebp
	subq	%rbx, %rbp
	.p2align 4,,10
	.p2align 3
.L9:
	movzbl	48(%rsp), %r13d
	movq	%rbx, %r15
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	movzbl	1(%r15), %eax
	addq	$1, %r15
	movb	%al, -1(%r15)
.L7:
	movq	%rbx, %rdi
	call	strlen@PLT
	leaq	0(%rbp,%r15), %rcx
	cmpq	%rcx, %rax
	ja	.L8
	subl	$1, %r12d
	movb	%r13b, 47(%rsp,%rax)
	movl	%r12d, 44(%rsp)
	jne	.L9
.L6:
	addl	$1, %r14d
	cmpl	%r14d, 40(%rsp)
	jg	.L10
.L5:
	xorl	%ebp, %ebp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	movsbl	(%rbx,%rbp), %edi
	addq	$1, %rbp
	call	putchar@PLT
.L11:
	movq	%rbx, %rdi
	call	strlen@PLT
	cmpq	%rbp, %rax
	ja	.L12
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	subl	$1, 20(%rsp)
	jne	.L13
.L4:
	movq	264(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$280, %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
.L24:
	.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:
```

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	"%s"
.LC1:
	.string	"-"
.LC2:
	.string	"%d"
	.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
	subq	$280, %rsp
	.cfi_def_cfa_offset 336
	movq	%fs:40, %rax
	movq	%rax, 264(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$10, 20(%rsp)
	leaq	48(%rsp), %rbx
	movq	%rax, 24(%rsp)
.L13:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpw	$45, (%rbx)
	je	.L4
	movq	24(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	leaq	44(%rsp), %rax
	xorl	%r14d, %r14d
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movq	8(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %r12d
	testl	%r12d, %r12d
	je	.L6
	movl	$1, %ebp
	subq	%rbx, %rbp
	.p2align 4,,10
	.p2align 3
.L9:
	movzbl	48(%rsp), %r13d
	movq	%rbx, %r15
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	movzbl	1(%r15), %eax
	addq	$1, %r15
	movb	%al, -1(%r15)
.L7:
	movq	%rbx, %rdi
	call	strlen@PLT
	leaq	0(%rbp,%r15), %rcx
	cmpq	%rcx, %rax
	ja	.L8
	subl	$1, %r12d
	movb	%r13b, 47(%rsp,%rax)
	movl	%r12d, 44(%rsp)
	jne	.L9
.L6:
	addl	$1, %r14d
	cmpl	%r14d, 40(%rsp)
	jg	.L10
.L5:
	xorl	%ebp, %ebp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	movsbl	(%rbx,%rbp), %edi
	addq	$1, %rbp
	call	putchar@PLT
.L11:
	movq	%rbx, %rdi
	call	strlen@PLT
	cmpq	%rbp, %rax
	ja	.L12
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	subl	$1, 20(%rsp)
	jne	.L13
.L4:
	movq	264(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$280, %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
.L24:
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"-"
.LC2:
	.string	"%d"
	.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
	subq	$280, %rsp
	.cfi_def_cfa_offset 336
	movq	%fs:40, %rax
	movq	%rax, 264(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$10, 20(%rsp)
	leaq	48(%rsp), %rbx
	movq	%rax, 24(%rsp)
.L13:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpw	$45, (%rbx)
	je	.L4
	movq	24(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	leaq	44(%rsp), %rax
	xorl	%r14d, %r14d
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movq	8(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %r12d
	testl	%r12d, %r12d
	je	.L6
	movl	$1, %ebp
	subq	%rbx, %rbp
	.p2align 4,,10
	.p2align 3
.L9:
	movzbl	48(%rsp), %r13d
	movq	%rbx, %r15
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	movzbl	1(%r15), %eax
	addq	$1, %r15
	movb	%al, -1(%r15)
.L7:
	movq	%rbx, %rdi
	call	strlen@PLT
	leaq	0(%rbp,%r15), %rcx
	cmpq	%rcx, %rax
	ja	.L8
	subl	$1, %r12d
	movb	%r13b, 47(%rsp,%rax)
	movl	%r12d, 44(%rsp)
	jne	.L9
.L6:
	addl	$1, %r14d
	cmpl	%r14d, 40(%rsp)
	jg	.L10
.L5:
	xorl	%ebp, %ebp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	movsbl	(%rbx,%rbp), %edi
	addq	$1, %rbp
	call	putchar@PLT
.L11:
	movq	%rbx, %rdi
	call	strlen@PLT
	cmpq	%rbp, %rax
	ja	.L12
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	subl	$1, 20(%rsp)
	jne	.L13
.L4:
	movq	264(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$280, %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
.L24:
	.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:
```
```c
#include <stdio.h>
#include <string.h> //文字列操作


int main () {
	char str[201]; //最後null文字入るからね
	int shu_time,shu_cont;
	int i,j,k,l;
	int tmp;
	
	for (i = 0;i < 10;i ++) {
		scanf ("%s",&str);
		if (strcmp (str,"-")  == 0) {
			break;
		}
		
		scanf ("%d",&shu_time); //シャッフル回数   
		for (j  = 0;j < shu_time;j ++) {
			scanf ("%d",&shu_cont); //shuffle_content 前から何枚後ろに
            while (shu_cont) {
            	tmp = str[0]; 
            	for (k = 1;k < strlen (str) ;k ++) { //strの中身をスライドします
            		str[k-1] = str[k];
            	}
            	str[strlen (str) - 1] = tmp;
                shu_cont --;	
            }
			
		}
		
		for (l = 0;l < strlen (str) ;l ++) {
			printf ("%c",str[l]);
		}
		putchar ('\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 <string.h> //文字列操作


int main () {
	char str[201]; //最後null文字入るからね
	int shu_time,shu_cont;
	int i,j,k,l;
	int tmp;
	
	for (i = 0;i < 10;i ++) {
		scanf ("%s",&str);
		if (strcmp (str,"-")  == 0) {
			break;
		}
		
		scanf ("%d",&shu_time); //シャッフル回数   
		for (j  = 0;j < shu_time;j ++) {
			scanf ("%d",&shu_cont); //shuffle_content 前から何枚後ろに
            while (shu_cont) {
            	tmp = str[0]; 
            	for (k = 1;k < strlen (str) ;k ++) { //strの中身をスライドします
            		str[k-1] = str[k];
            	}
            	str[strlen (str) - 1] = tmp;
                shu_cont --;	
            }
			
		}
		
		for (l = 0;l < strlen (str) ;l ++) {
			printf ("%c",str[l]);
		}
		putchar ('\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:

aaac
3
1
2
1
vwxyz
2
3
4
-
 caaa
3
1
2
1
vwxyz
2
3
4
-
 caaa
3
1
2
2
vxxyz
2
3
4
-
 ca`a
3
1
2
2
vwxyz
2
3
4
-
 caaa
3
1
0
2
vwxyz
2
3
4
-

aaac
xyzvw
 caaa
xyzvw
 aaac
xyzvx
 a`ac
xyzvw
 acaa
xyzvw

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 <string.h> //文字列操作


int main () {
	char str[201]; //最後null文字入るからね
	int shu_time,shu_cont;
	int i,j,k,l;
	int tmp;
	
	for (i = 0;i < 10;i ++) {
		scanf ("%s",&str);
		if (strcmp (str,"-")  == 0) {
			break;
		}
		
		scanf ("%d",&shu_time); //シャッフル回数   
		for (j  = 0;j < shu_time;j ++) {
			scanf ("%d",&shu_cont); //shuffle_content 前から何枚後ろに
            while (shu_cont) {
            	tmp = str[0]; 
            	for (k = 1;k < strlen (str) ;k ++) { //strの中身をスライドします
            		str[k-1] = str[k];
            	}
            	str[strlen (str) - 1] = tmp;
                shu_cont --;	
            }
			
		}
		
		for (l = 0;l < strlen (str) ;l ++) {
			printf ("%c",str[l]);
		}
		putchar ('\n');
	}
	
	
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"-"
.LC2:
	.string	"%d"
	.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
	subq	$280, %rsp
	.cfi_def_cfa_offset 336
	movq	%fs:40, %rax
	movq	%rax, 264(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$10, 20(%rsp)
	leaq	48(%rsp), %rbx
	movq	%rax, 24(%rsp)
.L13:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpw	$45, (%rbx)
	je	.L4
	movq	24(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	leaq	44(%rsp), %rax
	xorl	%r14d, %r14d
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movq	8(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %r12d
	testl	%r12d, %r12d
	je	.L6
	movl	$1, %ebp
	subq	%rbx, %rbp
	.p2align 4,,10
	.p2align 3
.L9:
	movzbl	48(%rsp), %r13d
	movq	%rbx, %r15
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	movzbl	1(%r15), %eax
	addq	$1, %r15
	movb	%al, -1(%r15)
.L7:
	movq	%rbx, %rdi
	call	strlen@PLT
	leaq	0(%rbp,%r15), %rcx
	cmpq	%rcx, %rax
	ja	.L8
	subl	$1, %r12d
	movb	%r13b, 47(%rsp,%rax)
	movl	%r12d, 44(%rsp)
	jne	.L9
.L6:
	addl	$1, %r14d
	cmpl	%r14d, 40(%rsp)
	jg	.L10
.L5:
	xorl	%ebp, %ebp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	movsbl	(%rbx,%rbp), %edi
	addq	$1, %rbp
	call	putchar@PLT
.L11:
	movq	%rbx, %rdi
	call	strlen@PLT
	cmpq	%rbp, %rax
	ja	.L12
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	subl	$1, 20(%rsp)
	jne	.L13
.L4:
	movq	264(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$280, %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
.L24:
	.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:
```

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	"%s"
.LC1:
	.string	"-"
.LC2:
	.string	"%d"
	.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
	subq	$280, %rsp
	.cfi_def_cfa_offset 336
	movq	%fs:40, %rax
	movq	%rax, 264(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$10, 20(%rsp)
	leaq	48(%rsp), %rbx
	movq	%rax, 24(%rsp)
.L13:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpw	$45, (%rbx)
	je	.L4
	movq	24(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	leaq	44(%rsp), %rax
	xorl	%r14d, %r14d
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movq	8(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %r12d
	testl	%r12d, %r12d
	je	.L6
	movl	$1, %ebp
	subq	%rbx, %rbp
	.p2align 4,,10
	.p2align 3
.L9:
	movzbl	48(%rsp), %r13d
	movq	%rbx, %r15
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	movzbl	1(%r15), %eax
	addq	$1, %r15
	movb	%al, -1(%r15)
.L7:
	movq	%rbx, %rdi
	call	strlen@PLT
	leaq	0(%rbp,%r15), %rcx
	cmpq	%rcx, %rax
	ja	.L8
	subl	$1, %r12d
	movb	%r13b, 47(%rsp,%rax)
	movl	%r12d, 44(%rsp)
	jne	.L9
.L6:
	addl	$1, %r14d
	cmpl	%r14d, 40(%rsp)
	jg	.L10
.L5:
	xorl	%ebp, %ebp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	movsbl	(%rbx,%rbp), %edi
	addq	$1, %rbp
	call	putchar@PLT
.L11:
	movq	%rbx, %rdi
	call	strlen@PLT
	cmpq	%rbp, %rax
	ja	.L12
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	subl	$1, 20(%rsp)
	jne	.L13
.L4:
	movq	264(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$280, %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
.L24:
	.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:
```