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) {
	char red[128];
	char green[128];
	char sita[128];
	while (scanf("%s", red) == 1 && red[0] != '-') {
		int r, g, s;
		char center;
		if (scanf("%s%s", green, sita) != 2) return 1;
		r = 0; g = 0; s = 0, center = '\0';
		/* saisyo ni zikkou suru meirei wa push_right */
		center = green[g++];
		while (red[r] != '\0' || green[g] != '\0' || center != '\0') {
			if (center == sita[s]) {
				if (sita[s] != '\0') s++;
				center = red[r];
				if (red[r] != '\0') r++;
			} else {
				if (center != '\0') putchar(center);
				center = green[g];
				if (green[g] != '\0') g++;
			}
		}
		putchar('\n');
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s%s"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	$408, %rsp
	.cfi_def_cfa_offset 464
	movq	%fs:40, %rax
	movq	%rax, 392(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	%eax, %r12d
	cmpl	$1, %eax
	jne	.L13
	cmpb	$45, (%rsp)
	je	.L13
	xorl	%eax, %eax
	leaq	256(%rsp), %rdx
	leaq	128(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L1
	movsbl	128(%rsp), %edi
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movl	$1, %r14d
	.p2align 4,,10
	.p2align 3
.L4:
	movzbl	(%rsp,%r15), %eax
	testb	%al, %al
	jne	.L9
.L29:
	movl	%edi, %ecx
	orb	128(%rsp,%r14), %cl
	je	.L26
.L9:
	movslq	%r13d, %rdx
	cmpb	%dil, 256(%rsp,%rdx)
	je	.L27
.L5:
	testb	%dil, %dil
	jne	.L28
.L8:
	movsbl	128(%rsp,%r14), %edi
	testb	%dil, %dil
	je	.L4
	movzbl	(%rsp,%r15), %eax
	addl	$1, %r12d
	movslq	%r12d, %r14
	testb	%al, %al
	je	.L29
	movslq	%r13d, %rdx
	cmpb	%dil, 256(%rsp,%rdx)
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L27:
	cmpb	$1, %dil
	sbbl	$-1, %r13d
	xorl	%edi, %edi
	testb	%al, %al
	je	.L4
	addl	$1, %ebx
	movsbl	%al, %edi
	movslq	%ebx, %r15
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L28:
	movq	stdout(%rip), %rsi
	call	putc@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L26:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	jmp	.L2
.L13:
	xorl	%r12d, %r12d
.L1:
	movq	392(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$408, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r12d, %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
.L30:
	.cfi_restore_state
	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	"%s%s"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	$408, %rsp
	.cfi_def_cfa_offset 464
	movq	%fs:40, %rax
	movq	%rax, 392(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	%eax, %r12d
	cmpl	$1, %eax
	jne	.L13
	cmpb	$45, (%rsp)
	je	.L13
	xorl	%eax, %eax
	leaq	256(%rsp), %rdx
	leaq	128(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L1
	movsbl	128(%rsp), %edi
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movl	$1, %r14d
	.p2align 4,,10
	.p2align 3
.L4:
	movzbl	(%rsp,%r15), %eax
	testb	%al, %al
	jne	.L9
.L29:
	movl	%edi, %ecx
	orb	128(%rsp,%r14), %cl
	je	.L26
.L9:
	movslq	%r13d, %rdx
	cmpb	%dil, 256(%rsp,%rdx)
	je	.L27
.L5:
	testb	%dil, %dil
	jne	.L28
.L8:
	movsbl	128(%rsp,%r14), %edi
	testb	%dil, %dil
	je	.L4
	movzbl	(%rsp,%r15), %eax
	addl	$1, %r12d
	movslq	%r12d, %r14
	testb	%al, %al
	je	.L29
	movslq	%r13d, %rdx
	cmpb	%dil, 256(%rsp,%rdx)
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L27:
	cmpb	$1, %dil
	sbbl	$-1, %r13d
	xorl	%edi, %edi
	testb	%al, %al
	je	.L4
	addl	$1, %ebx
	movsbl	%al, %edi
	movslq	%ebx, %r15
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L28:
	movq	stdout(%rip), %rsi
	call	putc@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L26:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	jmp	.L2
.L13:
	xorl	%r12d, %r12d
.L1:
	movq	392(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$408, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r12d, %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
.L30:
	.cfi_restore_state
	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	"%s%s"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	$408, %rsp
	.cfi_def_cfa_offset 464
	movq	%fs:40, %rax
	movq	%rax, 392(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	%eax, %r12d
	cmpl	$1, %eax
	jne	.L13
	cmpb	$45, (%rsp)
	je	.L13
	xorl	%eax, %eax
	leaq	256(%rsp), %rdx
	leaq	128(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L1
	movsbl	128(%rsp), %edi
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movl	$1, %r14d
	.p2align 4,,10
	.p2align 3
.L4:
	movzbl	(%rsp,%r15), %eax
	testb	%al, %al
	jne	.L9
.L29:
	movl	%edi, %ecx
	orb	128(%rsp,%r14), %cl
	je	.L26
.L9:
	movslq	%r13d, %rdx
	cmpb	%dil, 256(%rsp,%rdx)
	je	.L27
.L5:
	testb	%dil, %dil
	jne	.L28
.L8:
	movsbl	128(%rsp,%r14), %edi
	testb	%dil, %dil
	je	.L4
	movzbl	(%rsp,%r15), %eax
	addl	$1, %r12d
	movslq	%r12d, %r14
	testb	%al, %al
	je	.L29
	movslq	%r13d, %rdx
	cmpb	%dil, 256(%rsp,%rdx)
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L27:
	cmpb	$1, %dil
	sbbl	$-1, %r13d
	xorl	%edi, %edi
	testb	%al, %al
	je	.L4
	addl	$1, %ebx
	movsbl	%al, %edi
	movslq	%ebx, %r15
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L28:
	movq	stdout(%rip), %rsi
	call	putc@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L26:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	jmp	.L2
.L13:
	xorl	%r12d, %r12d
.L1:
	movq	392(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$408, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r12d, %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
.L30:
	.cfi_restore_state
	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) {
	char red[128];
	char green[128];
	char sita[128];
	while (scanf("%s", red) == 1 && red[0] != '-') {
		int r, g, s;
		char center;
		if (scanf("%s%s", green, sita) != 2) return 1;
		r = 0; g = 0; s = 0, center = '\0';
		/* saisyo ni zikkou suru meirei wa push_right */
		center = green[g++];
		while (red[r] != '\0' || green[g] != '\0' || center != '\0') {
			if (center == sita[s]) {
				if (sita[s] != '\0') s++;
				center = red[r];
				if (red[r] != '\0') r++;
			} else {
				if (center != '\0') putchar(center);
				center = green[g];
				if (green[g] != '\0') g++;
			}
		}
		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>

int main(void) {
	char red[128];
	char green[128];
	char sita[128];
	while (scanf("%s", red) == 1 && red[0] != '-') {
		int r, g, s;
		char center;
		if (scanf("%s%s", green, sita) != 2) return 1;
		r = 0; g = 0; s = 0, center = '\0';
		/* saisyo ni zikkou suru meirei wa push_right */
		center = green[g++];
		while (red[r] != '\0' || green[g] != '\0' || center != '\0') {
			if (center == sita[s]) {
				if (sita[s] != '\0') s++;
				center = red[r];
				if (red[r] != '\0') r++;
			} else {
				if (center != '\0') putchar(center);
				center = green[g];
				if (green[g] != '\0') g++;
			}
		}
		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:

CBA
cba
cCa
X
YZ
Z
-
 CBA
cba
cCa
Y
YZ
Z
-
 CBA
cca
cCa
X
ZY
Z
-
 CAB
cba
cCa
X
YZ
Z
-
 CAB
cca
cCa
X
YZ
Z
-
 CAA
cca
cCa
X
YZ
Z
-
 CBA
abc
aCc
X
ZY
Z
-
 CBA
cba
cCa
X
XZ
Z
-
 CBB
cca
cCa
X
ZY
Z
-
 CAB
cba
cCa
X
ZY
Z
-

BbA
YX
 BbA
YY
 BcA
XY
 AbB
YX
 AcB
YX
 AcA
YX
 BbA
XY
 BbA
XX
 BcB
XY
 AbB
XY

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) {
	char red[128];
	char green[128];
	char sita[128];
	while (scanf("%s", red) == 1 && red[0] != '-') {
		int r, g, s;
		char center;
		if (scanf("%s%s", green, sita) != 2) return 1;
		r = 0; g = 0; s = 0, center = '\0';
		/* saisyo ni zikkou suru meirei wa push_right */
		center = green[g++];
		while (red[r] != '\0' || green[g] != '\0' || center != '\0') {
			if (center == sita[s]) {
				if (sita[s] != '\0') s++;
				center = red[r];
				if (red[r] != '\0') r++;
			} else {
				if (center != '\0') putchar(center);
				center = green[g];
				if (green[g] != '\0') g++;
			}
		}
		putchar('\n');
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s%s"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	$408, %rsp
	.cfi_def_cfa_offset 464
	movq	%fs:40, %rax
	movq	%rax, 392(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	%eax, %r12d
	cmpl	$1, %eax
	jne	.L13
	cmpb	$45, (%rsp)
	je	.L13
	xorl	%eax, %eax
	leaq	256(%rsp), %rdx
	leaq	128(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L1
	movsbl	128(%rsp), %edi
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movl	$1, %r14d
	.p2align 4,,10
	.p2align 3
.L4:
	movzbl	(%rsp,%r15), %eax
	testb	%al, %al
	jne	.L9
.L29:
	movl	%edi, %ecx
	orb	128(%rsp,%r14), %cl
	je	.L26
.L9:
	movslq	%r13d, %rdx
	cmpb	%dil, 256(%rsp,%rdx)
	je	.L27
.L5:
	testb	%dil, %dil
	jne	.L28
.L8:
	movsbl	128(%rsp,%r14), %edi
	testb	%dil, %dil
	je	.L4
	movzbl	(%rsp,%r15), %eax
	addl	$1, %r12d
	movslq	%r12d, %r14
	testb	%al, %al
	je	.L29
	movslq	%r13d, %rdx
	cmpb	%dil, 256(%rsp,%rdx)
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L27:
	cmpb	$1, %dil
	sbbl	$-1, %r13d
	xorl	%edi, %edi
	testb	%al, %al
	je	.L4
	addl	$1, %ebx
	movsbl	%al, %edi
	movslq	%ebx, %r15
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L28:
	movq	stdout(%rip), %rsi
	call	putc@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L26:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	jmp	.L2
.L13:
	xorl	%r12d, %r12d
.L1:
	movq	392(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$408, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r12d, %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
.L30:
	.cfi_restore_state
	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	"%s%s"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	$408, %rsp
	.cfi_def_cfa_offset 464
	movq	%fs:40, %rax
	movq	%rax, 392(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	%eax, %r12d
	cmpl	$1, %eax
	jne	.L13
	cmpb	$45, (%rsp)
	je	.L13
	xorl	%eax, %eax
	leaq	256(%rsp), %rdx
	leaq	128(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L1
	movsbl	128(%rsp), %edi
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movl	$1, %r14d
	.p2align 4,,10
	.p2align 3
.L4:
	movzbl	(%rsp,%r15), %eax
	testb	%al, %al
	jne	.L9
.L29:
	movl	%edi, %ecx
	orb	128(%rsp,%r14), %cl
	je	.L26
.L9:
	movslq	%r13d, %rdx
	cmpb	%dil, 256(%rsp,%rdx)
	je	.L27
.L5:
	testb	%dil, %dil
	jne	.L28
.L8:
	movsbl	128(%rsp,%r14), %edi
	testb	%dil, %dil
	je	.L4
	movzbl	(%rsp,%r15), %eax
	addl	$1, %r12d
	movslq	%r12d, %r14
	testb	%al, %al
	je	.L29
	movslq	%r13d, %rdx
	cmpb	%dil, 256(%rsp,%rdx)
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L27:
	cmpb	$1, %dil
	sbbl	$-1, %r13d
	xorl	%edi, %edi
	testb	%al, %al
	je	.L4
	addl	$1, %ebx
	movsbl	%al, %edi
	movslq	%ebx, %r15
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L28:
	movq	stdout(%rip), %rsi
	call	putc@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L26:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	jmp	.L2
.L13:
	xorl	%r12d, %r12d
.L1:
	movq	392(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$408, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r12d, %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
.L30:
	.cfi_restore_state
	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:
```