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>
int main()
{
    char s[100005],a[100005],b[100005];
    int n,i,j,cnt=0,cnt1=0;
    scanf("%s",s);
    n=strlen(s);
    if(s[0]=='0')
    {
        a[0]='0';
        b[0]='1';
    for(i=1;i<n;i++)
    {
        if(i%2==0){
            a[i]='0';
            b[i]='1';
        }
            else{
            a[i]='1';
            b[i]='0';
            }
    }
    }
    else
    {
        a[0]='1';
        b[0]='0';
        for(i=1;i<n;i++)
    {
        if(i%2==0){
            a[i]='1';
            b[i]='0';
        }
            else{
            a[i]='0';
            b[i]='1';
            }
    }
    }
    for(i=0;i<n;i++)
    {
        if(s[i]!=a[i])cnt++;
        if(s[i]!=b[i])cnt1++;
    }
    if(cnt<cnt1)
        printf("%d\n",cnt);
    else printf("%d\n",cnt1);
    return 0;

}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.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	-299008(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1056, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -300060(%rbp)
	movl	$0, -300056(%rbp)
	leaq	-300048(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-300048(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -300052(%rbp)
	movzbl	-300048(%rbp), %eax
	cmpb	$48, %al
	jne	.L2
	movb	$48, -200032(%rbp)
	movb	$49, -100016(%rbp)
	movl	$1, -300064(%rbp)
	jmp	.L3
.L6:
	movl	-300064(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L4
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -100016(%rbp,%rax)
	jmp	.L5
.L4:
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -100016(%rbp,%rax)
.L5:
	addl	$1, -300064(%rbp)
.L3:
	movl	-300064(%rbp), %eax
	cmpl	-300052(%rbp), %eax
	jl	.L6
	jmp	.L7
.L2:
	movb	$49, -200032(%rbp)
	movb	$48, -100016(%rbp)
	movl	$1, -300064(%rbp)
	jmp	.L8
.L11:
	movl	-300064(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L9
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -100016(%rbp,%rax)
	jmp	.L10
.L9:
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -100016(%rbp,%rax)
.L10:
	addl	$1, -300064(%rbp)
.L8:
	movl	-300064(%rbp), %eax
	cmpl	-300052(%rbp), %eax
	jl	.L11
.L7:
	movl	$0, -300064(%rbp)
	jmp	.L12
.L15:
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-300048(%rbp,%rax), %edx
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-200032(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L13
	addl	$1, -300060(%rbp)
.L13:
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-300048(%rbp,%rax), %edx
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L14
	addl	$1, -300056(%rbp)
.L14:
	addl	$1, -300064(%rbp)
.L12:
	movl	-300064(%rbp), %eax
	cmpl	-300052(%rbp), %eax
	jl	.L15
	movl	-300060(%rbp), %eax
	cmpl	-300056(%rbp), %eax
	jge	.L16
	movl	-300060(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L17
.L16:
	movl	-300056(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L17:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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
.LC1:
	.string	"%s"
.LC11:
	.string	"%d\n"
	.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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-299008(%rsp), %r11
	.cfi_def_cfa 11, 299032
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1096, %rsp
	.cfi_def_cfa_offset 300128
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 300088(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbx, %rdi
	call	strlen@PLT
	movzbl	48(%rsp), %r9d
	movq	%rax, %rdx
	movl	%eax, %r10d
	cmpb	$48, %r9b
	je	.L105
	movb	$49, 100064(%rsp)
	movb	$48, 200080(%rsp)
	cmpq	$1, %rax
	jbe	.L3
	leal	-1(%rax), %r8d
	leal	-2(%rax), %eax
	cmpl	$14, %eax
	jbe	.L23
	movdqa	.LC6(%rip), %xmm4
	movl	%r8d, %eax
	movdqa	.LC0(%rip), %xmm14
	leaq	200080(%rsp), %rdi
	shrl	$4, %eax
	movdqa	.LC4(%rip), %xmm7
	movdqa	.LC2(%rip), %xmm10
	leaq	100064(%rsp), %rsi
	movaps	%xmm4, (%rsp)
	leal	-1(%rax), %ecx
	movdqa	.LC7(%rip), %xmm4
	movdqa	.LC3(%rip), %xmm9
	salq	$4, %rcx
	movl	$1, %eax
	pxor	%xmm13, %xmm13
	movdqa	.LC5(%rip), %xmm6
	movaps	%xmm4, 16(%rsp)
	movdqa	.LC8(%rip), %xmm4
	addq	$17, %rcx
	movdqa	.LC9(%rip), %xmm8
	movaps	%xmm4, 32(%rsp)
	.p2align 4,,10
	.p2align 3
.L24:
	movdqa	%xmm14, %xmm2
	movdqa	(%rsp), %xmm4
	movdqa	%xmm6, %xmm1
	movdqa	%xmm6, %xmm11
	movdqa	%xmm2, %xmm0
	movdqa	%xmm6, %xmm15
	paddd	%xmm10, %xmm14
	pand	%xmm9, %xmm0
	paddd	%xmm2, %xmm4
	pcmpeqd	%xmm13, %xmm0
	pand	%xmm9, %xmm4
	pcmpeqd	%xmm13, %xmm4
	movdqa	%xmm0, %xmm3
	pand	%xmm0, %xmm1
	pandn	%xmm7, %xmm3
	movdqa	%xmm4, %xmm12
	por	%xmm1, %xmm3
	movdqa	%xmm6, %xmm1
	pandn	%xmm7, %xmm12
	pand	%xmm4, %xmm1
	por	%xmm1, %xmm12
	movdqa	16(%rsp), %xmm1
	paddd	%xmm2, %xmm1
	paddd	32(%rsp), %xmm2
	pand	%xmm9, %xmm1
	pcmpeqd	%xmm13, %xmm1
	pand	%xmm9, %xmm2
	pcmpeqd	%xmm13, %xmm2
	movdqa	%xmm1, %xmm5
	pand	%xmm1, %xmm11
	pandn	%xmm7, %xmm5
	pand	%xmm2, %xmm15
	por	%xmm11, %xmm5
	movdqa	%xmm2, %xmm11
	pandn	%xmm7, %xmm11
	por	%xmm15, %xmm11
	movdqa	%xmm3, %xmm15
	punpcklwd	%xmm12, %xmm3
	punpckhwd	%xmm12, %xmm15
	movdqa	%xmm3, %xmm12
	punpckhwd	%xmm15, %xmm12
	punpcklwd	%xmm15, %xmm3
	punpcklwd	%xmm12, %xmm3
	movdqa	%xmm5, %xmm12
	punpcklwd	%xmm11, %xmm5
	punpckhwd	%xmm11, %xmm12
	movdqa	%xmm5, %xmm11
	pand	%xmm8, %xmm3
	punpckhwd	%xmm12, %xmm11
	punpcklwd	%xmm12, %xmm5
	punpcklwd	%xmm11, %xmm5
	pand	%xmm8, %xmm5
	packuswb	%xmm5, %xmm3
	movdqa	%xmm7, %xmm5
	pand	%xmm0, %xmm5
	pandn	%xmm6, %xmm0
	movups	%xmm3, (%rsi,%rax)
	por	%xmm5, %xmm0
	movdqa	%xmm7, %xmm5
	pand	%xmm4, %xmm5
	pandn	%xmm6, %xmm4
	por	%xmm5, %xmm4
	movdqa	%xmm7, %xmm5
	pand	%xmm1, %xmm5
	pandn	%xmm6, %xmm1
	por	%xmm5, %xmm1
	movdqa	%xmm7, %xmm5
	pand	%xmm2, %xmm5
	pandn	%xmm6, %xmm2
	por	%xmm5, %xmm2
	movdqa	%xmm0, %xmm5
	punpcklwd	%xmm4, %xmm0
	punpckhwd	%xmm4, %xmm5
	movdqa	%xmm0, %xmm4
	punpckhwd	%xmm5, %xmm4
	punpcklwd	%xmm5, %xmm0
	punpcklwd	%xmm4, %xmm0
	movdqa	%xmm1, %xmm4
	punpcklwd	%xmm2, %xmm1
	punpckhwd	%xmm2, %xmm4
	movdqa	%xmm1, %xmm2
	pand	%xmm8, %xmm0
	punpckhwd	%xmm4, %xmm2
	punpcklwd	%xmm4, %xmm1
	punpcklwd	%xmm2, %xmm1
	pand	%xmm8, %xmm1
	packuswb	%xmm1, %xmm0
	movups	%xmm0, (%rdi,%rax)
	addq	$16, %rax
	cmpq	%rcx, %rax
	jne	.L24
	movl	%r8d, %eax
	andl	$-16, %eax
	leal	1(%rax), %r9d
	cmpl	%eax, %r8d
	je	.L44
	movl	%r9d, %ecx
	movslq	%r9d, %r9
	andl	$1, %ecx
	cmpl	$1, %ecx
	sbbl	%r11d, %r11d
	negl	%ecx
	addl	$2, %eax
	addl	$49, %r11d
	addl	$49, %ecx
	movb	%r11b, 200080(%rsp,%r9)
	movb	%cl, 100064(%rsp,%r9)
	cmpl	%eax, %edx
	jle	.L44
.L57:
	movslq	%eax, %rcx
	leal	1(%rax), %r9d
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	cmpl	%r9d, %edx
	jle	.L44
	movl	%r9d, %ecx
	movslq	%r9d, %r9
	andl	$1, %ecx
	cmpl	$1, %ecx
	sbbl	%r11d, %r11d
	negl	%ecx
	addl	$49, %ecx
	addl	$49, %r11d
	movb	%cl, 100064(%rsp,%r9)
	leal	2(%rax), %ecx
	movb	%r11b, 200080(%rsp,%r9)
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	leal	3(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r9d
	movslq	%ecx, %rcx
	andl	$1, %r9d
	cmpl	$1, %r9d
	sbbl	%r11d, %r11d
	negl	%r9d
	addl	$49, %r11d
	addl	$49, %r9d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%r9b, 100064(%rsp,%rcx)
	leal	4(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	leal	5(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r9d
	movslq	%ecx, %rcx
	andl	$1, %r9d
	cmpl	$1, %r9d
	sbbl	%r11d, %r11d
	negl	%r9d
	addl	$49, %r11d
	addl	$49, %r9d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%r9b, 100064(%rsp,%rcx)
	leal	6(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	leal	7(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r9d
	movslq	%ecx, %rcx
	andl	$1, %r9d
	cmpl	$1, %r9d
	sbbl	%r11d, %r11d
	negl	%r9d
	addl	$49, %r11d
	addl	$49, %r9d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%r9b, 100064(%rsp,%rcx)
	leal	8(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	leal	9(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r9d
	movslq	%ecx, %rcx
	andl	$1, %r9d
	cmpl	$1, %r9d
	sbbl	%r11d, %r11d
	negl	%r9d
	addl	$49, %r11d
	addl	$49, %r9d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%r9b, 100064(%rsp,%rcx)
	leal	10(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	leal	11(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r9d
	movslq	%ecx, %rcx
	andl	$1, %r9d
	cmpl	$1, %r9d
	sbbl	%r11d, %r11d
	negl	%r9d
	addl	$49, %r11d
	addl	$49, %r9d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%r9b, 100064(%rsp,%rcx)
	leal	12(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	addl	$13, %eax
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	cmpl	%eax, %edx
	jle	.L44
	movl	%eax, %ecx
	cltq
	andl	$1, %ecx
	cmpl	$1, %ecx
	sbbl	%r9d, %r9d
	negl	%ecx
	addl	$49, %r9d
	addl	$49, %ecx
	movb	%r9b, 200080(%rsp,%rax)
	movb	%cl, 100064(%rsp,%rax)
	.p2align 4,,10
	.p2align 3
.L44:
	testl	%edx, %edx
	movl	$1, %ecx
	cmovg	%edx, %ecx
	cmpl	$14, %r8d
	jbe	.L89
	testl	%edx, %edx
	jle	.L89
	movl	%ecx, %edx
	pxor	%xmm2, %xmm2
	movdqa	.LC10(%rip), %xmm6
	xorl	%eax, %eax
	movdqa	%xmm2, %xmm8
	shrl	$4, %edx
	pxor	%xmm5, %xmm5
	pxor	%xmm4, %xmm4
	salq	$4, %rdx
	movdqa	%xmm2, %xmm7
	.p2align 4,,10
	.p2align 3
.L51:
	movdqa	(%rbx,%rax), %xmm0
	movdqa	%xmm5, %xmm3
	movdqa	%xmm4, %xmm9
	movdqa	%xmm0, %xmm1
	pcmpeqb	(%rdi,%rax), %xmm0
	pcmpeqb	(%rsi,%rax), %xmm1
	addq	$16, %rax
	pandn	%xmm6, %xmm0
	pandn	%xmm6, %xmm1
	pcmpgtb	%xmm1, %xmm3
	movdqa	%xmm1, %xmm2
	punpcklbw	%xmm3, %xmm2
	punpckhbw	%xmm3, %xmm1
	pcmpgtw	%xmm2, %xmm9
	movdqa	%xmm2, %xmm3
	punpcklwd	%xmm9, %xmm3
	punpckhwd	%xmm9, %xmm2
	paddd	%xmm8, %xmm3
	movdqa	%xmm1, %xmm8
	paddd	%xmm2, %xmm3
	movdqa	%xmm4, %xmm2
	pcmpgtw	%xmm1, %xmm2
	punpcklwd	%xmm2, %xmm8
	punpckhwd	%xmm2, %xmm1
	paddd	%xmm8, %xmm3
	paddd	%xmm1, %xmm3
	movdqa	%xmm5, %xmm1
	pcmpgtb	%xmm0, %xmm1
	movdqa	%xmm3, %xmm8
	movdqa	%xmm0, %xmm3
	punpcklbw	%xmm1, %xmm3
	punpckhbw	%xmm1, %xmm0
	movdqa	%xmm4, %xmm1
	pcmpgtw	%xmm3, %xmm1
	movdqa	%xmm3, %xmm2
	punpcklwd	%xmm1, %xmm2
	punpckhwd	%xmm1, %xmm3
	movdqa	%xmm4, %xmm1
	pcmpgtw	%xmm0, %xmm1
	paddd	%xmm7, %xmm2
	paddd	%xmm3, %xmm2
	movdqa	%xmm0, %xmm3
	punpcklwd	%xmm1, %xmm3
	punpckhwd	%xmm1, %xmm0
	paddd	%xmm3, %xmm2
	movdqa	%xmm2, %xmm7
	paddd	%xmm0, %xmm7
	cmpq	%rdx, %rax
	jne	.L51
	movdqa	%xmm7, %xmm0
	movl	%ecx, %eax
	psrldq	$8, %xmm0
	andl	$-16, %eax
	andl	$15, %ecx
	paddd	%xmm7, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	movdqa	%xmm8, %xmm0
	psrldq	$8, %xmm0
	paddd	%xmm8, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %r8d
	je	.L46
.L54:
	cltq
	.p2align 4,,10
	.p2align 3
.L49:
	movzbl	(%rbx,%rax), %ecx
	xorl	%r9d, %r9d
	cmpb	(%rsi,%rax), %cl
	setne	%r9b
	addl	%r9d, %r8d
	cmpb	(%rdi,%rax), %cl
	setne	%cl
	addq	$1, %rax
	movzbl	%cl, %ecx
	addl	%ecx, %edx
	cmpl	%eax, %r10d
	jg	.L49
.L46:
	cmpl	%edx, %r8d
	jge	.L45
	movl	%r8d, %edx
	leaq	.LC11(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L53:
	movq	300088(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L106
	addq	$300104, %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
.L3:
	.cfi_restore_state
	cmpl	$1, %edx
	je	.L107
	xorl	%edx, %edx
.L45:
	leaq	.LC11(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L53
.L105:
	movb	$48, 100064(%rsp)
	movb	$49, 200080(%rsp)
	cmpq	$1, %rax
	jbe	.L3
	leal	-1(%rax), %r8d
	leal	-2(%rax), %eax
	cmpl	$14, %eax
	jbe	.L4
	movdqa	.LC6(%rip), %xmm4
	movl	%r8d, %eax
	movdqa	.LC0(%rip), %xmm14
	leaq	200080(%rsp), %rdi
	shrl	$4, %eax
	movdqa	.LC4(%rip), %xmm7
	movdqa	.LC2(%rip), %xmm10
	leaq	100064(%rsp), %rsi
	movaps	%xmm4, (%rsp)
	leal	-1(%rax), %ecx
	movdqa	.LC7(%rip), %xmm4
	movdqa	.LC3(%rip), %xmm9
	salq	$4, %rcx
	movl	$1, %eax
	pxor	%xmm13, %xmm13
	movdqa	.LC5(%rip), %xmm6
	movaps	%xmm4, 16(%rsp)
	movdqa	.LC8(%rip), %xmm4
	addq	$17, %rcx
	movdqa	.LC9(%rip), %xmm8
	movaps	%xmm4, 32(%rsp)
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm14, %xmm2
	movdqa	(%rsp), %xmm4
	movdqa	%xmm7, %xmm1
	movdqa	%xmm7, %xmm11
	movdqa	%xmm2, %xmm0
	movdqa	%xmm7, %xmm15
	paddd	%xmm10, %xmm14
	pand	%xmm9, %xmm0
	paddd	%xmm2, %xmm4
	pcmpeqd	%xmm13, %xmm0
	pand	%xmm9, %xmm4
	pcmpeqd	%xmm13, %xmm4
	movdqa	%xmm0, %xmm3
	pand	%xmm0, %xmm1
	pandn	%xmm6, %xmm3
	movdqa	%xmm4, %xmm12
	por	%xmm1, %xmm3
	movdqa	%xmm7, %xmm1
	pandn	%xmm6, %xmm12
	pand	%xmm4, %xmm1
	por	%xmm1, %xmm12
	movdqa	16(%rsp), %xmm1
	paddd	%xmm2, %xmm1
	paddd	32(%rsp), %xmm2
	pand	%xmm9, %xmm1
	pcmpeqd	%xmm13, %xmm1
	pand	%xmm9, %xmm2
	pcmpeqd	%xmm13, %xmm2
	movdqa	%xmm1, %xmm5
	pand	%xmm1, %xmm11
	pandn	%xmm6, %xmm5
	pand	%xmm2, %xmm15
	por	%xmm11, %xmm5
	movdqa	%xmm2, %xmm11
	pandn	%xmm6, %xmm11
	por	%xmm15, %xmm11
	movdqa	%xmm3, %xmm15
	punpcklwd	%xmm12, %xmm3
	punpckhwd	%xmm12, %xmm15
	movdqa	%xmm3, %xmm12
	punpckhwd	%xmm15, %xmm12
	punpcklwd	%xmm15, %xmm3
	punpcklwd	%xmm12, %xmm3
	movdqa	%xmm5, %xmm12
	punpcklwd	%xmm11, %xmm5
	punpckhwd	%xmm11, %xmm12
	movdqa	%xmm5, %xmm11
	pand	%xmm8, %xmm3
	punpckhwd	%xmm12, %xmm11
	punpcklwd	%xmm12, %xmm5
	punpcklwd	%xmm11, %xmm5
	pand	%xmm8, %xmm5
	packuswb	%xmm5, %xmm3
	movdqa	%xmm6, %xmm5
	pand	%xmm0, %xmm5
	pandn	%xmm7, %xmm0
	movups	%xmm3, (%rsi,%rax)
	por	%xmm5, %xmm0
	movdqa	%xmm6, %xmm5
	pand	%xmm4, %xmm5
	pandn	%xmm7, %xmm4
	por	%xmm5, %xmm4
	movdqa	%xmm6, %xmm5
	pand	%xmm1, %xmm5
	pandn	%xmm7, %xmm1
	por	%xmm5, %xmm1
	movdqa	%xmm6, %xmm5
	pand	%xmm2, %xmm5
	pandn	%xmm7, %xmm2
	por	%xmm5, %xmm2
	movdqa	%xmm0, %xmm5
	punpcklwd	%xmm4, %xmm0
	punpckhwd	%xmm4, %xmm5
	movdqa	%xmm0, %xmm4
	punpckhwd	%xmm5, %xmm4
	punpcklwd	%xmm5, %xmm0
	punpcklwd	%xmm4, %xmm0
	movdqa	%xmm1, %xmm4
	punpcklwd	%xmm2, %xmm1
	punpckhwd	%xmm2, %xmm4
	movdqa	%xmm1, %xmm2
	pand	%xmm8, %xmm0
	punpckhwd	%xmm4, %xmm2
	punpcklwd	%xmm4, %xmm1
	punpcklwd	%xmm2, %xmm1
	pand	%xmm8, %xmm1
	packuswb	%xmm1, %xmm0
	movups	%xmm0, (%rdi,%rax)
	addq	$16, %rax
	cmpq	%rax, %rcx
	jne	.L5
	movl	%r8d, %eax
	andl	$-16, %eax
	leal	1(%rax), %r11d
	cmpl	%eax, %r8d
	je	.L44
	movl	%r11d, %ecx
	movslq	%r11d, %r11
	andl	$1, %ecx
	cmpl	$1, %ecx
	sbbl	%ebp, %ebp
	negl	%ecx
	addl	$2, %eax
	addl	$49, %ebp
	addl	$49, %ecx
	movb	%cl, 200080(%rsp,%r11)
	movb	%bpl, 100064(%rsp,%r11)
	cmpl	%eax, %edx
	jle	.L44
.L56:
	movslq	%eax, %rcx
	leal	1(%rax), %r11d
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	cmpl	%edx, %r11d
	jge	.L44
	movl	%r11d, %ecx
	movslq	%r11d, %r11
	andl	$1, %ecx
	cmpl	$1, %ecx
	sbbl	%ebp, %ebp
	negl	%ecx
	addl	$49, %ecx
	addl	$49, %ebp
	movb	%cl, 200080(%rsp,%r11)
	leal	2(%rax), %ecx
	movb	%bpl, 100064(%rsp,%r11)
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	leal	3(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r11d
	movslq	%ecx, %rcx
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ebp, %ebp
	negl	%r11d
	addl	$49, %ebp
	addl	$49, %r11d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%bpl, 100064(%rsp,%rcx)
	leal	4(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	leal	5(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r11d
	movslq	%ecx, %rcx
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ebp, %ebp
	negl	%r11d
	addl	$49, %ebp
	addl	$49, %r11d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%bpl, 100064(%rsp,%rcx)
	leal	6(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	leal	7(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r11d
	movslq	%ecx, %rcx
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ebp, %ebp
	negl	%r11d
	addl	$49, %ebp
	addl	$49, %r11d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%bpl, 100064(%rsp,%rcx)
	leal	8(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	leal	9(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r11d
	movslq	%ecx, %rcx
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ebp, %ebp
	negl	%r11d
	addl	$49, %ebp
	addl	$49, %r11d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%bpl, 100064(%rsp,%rcx)
	leal	10(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	leal	11(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r11d
	movslq	%ecx, %rcx
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ebp, %ebp
	negl	%r11d
	addl	$49, %ebp
	addl	$49, %r11d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%bpl, 100064(%rsp,%rcx)
	leal	12(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	addl	$13, %eax
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	cmpl	%eax, %edx
	jle	.L44
	movl	%eax, %r11d
	cltq
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ecx, %ecx
	addl	$49, %ecx
	testl	%r11d, %r11d
	movl	$49, %r11d
	cmove	%r11d, %r9d
	movb	%cl, 100064(%rsp,%rax)
	movb	%r9b, 200080(%rsp,%rax)
	jmp	.L44
.L89:
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	jmp	.L54
.L23:
	movb	$49, 200081(%rsp)
	movb	$48, 100065(%rsp)
	cmpl	$2, %edx
	jle	.L103
	movl	$2, %eax
	leaq	200080(%rsp), %rdi
	leaq	100064(%rsp), %rsi
	jmp	.L57
.L4:
	movb	$48, 200081(%rsp)
	movb	$49, 100065(%rsp)
	cmpl	$2, %edx
	jle	.L103
	movl	$2, %eax
	leaq	200080(%rsp), %rdi
	leaq	100064(%rsp), %rsi
	jmp	.L56
.L103:
	leaq	200080(%rsp), %rdi
	leaq	100064(%rsp), %rsi
	jmp	.L44
.L107:
	xorl	%r8d, %r8d
	leaq	200080(%rsp), %rdi
	leaq	100064(%rsp), %rsi
	jmp	.L44
.L106:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	16
	.long	16
	.long	16
	.long	16
	.align 16
.LC3:
	.long	1
	.long	1
	.long	1
	.long	1
	.align 16
.LC4:
	.long	48
	.long	48
	.long	48
	.long	48
	.align 16
.LC5:
	.long	49
	.long	49
	.long	49
	.long	49
	.align 16
.LC6:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC7:
	.long	8
	.long	8
	.long	8
	.long	8
	.align 16
.LC8:
	.long	12
	.long	12
	.long	12
	.long	12
	.align 16
.LC9:
	.value	255
	.value	255
	.value	255
	.value	255
	.value	255
	.value	255
	.value	255
	.value	255
	.align 16
.LC10:
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.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
.LC1:
	.string	"%s"
.LC11:
	.string	"%d\n"
	.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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-299008(%rsp), %r11
	.cfi_def_cfa 11, 299032
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1096, %rsp
	.cfi_def_cfa_offset 300128
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 300088(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbx, %rdi
	call	strlen@PLT
	movzbl	48(%rsp), %r9d
	movq	%rax, %rdx
	movl	%eax, %r10d
	cmpb	$48, %r9b
	je	.L105
	movb	$49, 100064(%rsp)
	movb	$48, 200080(%rsp)
	cmpq	$1, %rax
	jbe	.L3
	leal	-1(%rax), %r8d
	leal	-2(%rax), %eax
	cmpl	$14, %eax
	jbe	.L23
	movdqa	.LC6(%rip), %xmm4
	movl	%r8d, %eax
	movdqa	.LC0(%rip), %xmm14
	leaq	200080(%rsp), %rdi
	shrl	$4, %eax
	movdqa	.LC4(%rip), %xmm7
	movdqa	.LC2(%rip), %xmm10
	leaq	100064(%rsp), %rsi
	movaps	%xmm4, (%rsp)
	leal	-1(%rax), %ecx
	movdqa	.LC7(%rip), %xmm4
	movdqa	.LC3(%rip), %xmm9
	salq	$4, %rcx
	movl	$1, %eax
	pxor	%xmm13, %xmm13
	movdqa	.LC5(%rip), %xmm6
	movaps	%xmm4, 16(%rsp)
	movdqa	.LC8(%rip), %xmm4
	addq	$17, %rcx
	movdqa	.LC9(%rip), %xmm8
	movaps	%xmm4, 32(%rsp)
	.p2align 4,,10
	.p2align 3
.L24:
	movdqa	%xmm14, %xmm2
	movdqa	(%rsp), %xmm4
	movdqa	%xmm6, %xmm1
	movdqa	%xmm6, %xmm11
	movdqa	%xmm2, %xmm0
	movdqa	%xmm6, %xmm15
	paddd	%xmm10, %xmm14
	pand	%xmm9, %xmm0
	paddd	%xmm2, %xmm4
	pcmpeqd	%xmm13, %xmm0
	pand	%xmm9, %xmm4
	pcmpeqd	%xmm13, %xmm4
	movdqa	%xmm0, %xmm3
	pand	%xmm0, %xmm1
	pandn	%xmm7, %xmm3
	movdqa	%xmm4, %xmm12
	por	%xmm1, %xmm3
	movdqa	%xmm6, %xmm1
	pandn	%xmm7, %xmm12
	pand	%xmm4, %xmm1
	por	%xmm1, %xmm12
	movdqa	16(%rsp), %xmm1
	paddd	%xmm2, %xmm1
	paddd	32(%rsp), %xmm2
	pand	%xmm9, %xmm1
	pcmpeqd	%xmm13, %xmm1
	pand	%xmm9, %xmm2
	pcmpeqd	%xmm13, %xmm2
	movdqa	%xmm1, %xmm5
	pand	%xmm1, %xmm11
	pandn	%xmm7, %xmm5
	pand	%xmm2, %xmm15
	por	%xmm11, %xmm5
	movdqa	%xmm2, %xmm11
	pandn	%xmm7, %xmm11
	por	%xmm15, %xmm11
	movdqa	%xmm3, %xmm15
	punpcklwd	%xmm12, %xmm3
	punpckhwd	%xmm12, %xmm15
	movdqa	%xmm3, %xmm12
	punpckhwd	%xmm15, %xmm12
	punpcklwd	%xmm15, %xmm3
	punpcklwd	%xmm12, %xmm3
	movdqa	%xmm5, %xmm12
	punpcklwd	%xmm11, %xmm5
	punpckhwd	%xmm11, %xmm12
	movdqa	%xmm5, %xmm11
	pand	%xmm8, %xmm3
	punpckhwd	%xmm12, %xmm11
	punpcklwd	%xmm12, %xmm5
	punpcklwd	%xmm11, %xmm5
	pand	%xmm8, %xmm5
	packuswb	%xmm5, %xmm3
	movdqa	%xmm7, %xmm5
	pand	%xmm0, %xmm5
	pandn	%xmm6, %xmm0
	movups	%xmm3, (%rsi,%rax)
	por	%xmm5, %xmm0
	movdqa	%xmm7, %xmm5
	pand	%xmm4, %xmm5
	pandn	%xmm6, %xmm4
	por	%xmm5, %xmm4
	movdqa	%xmm7, %xmm5
	pand	%xmm1, %xmm5
	pandn	%xmm6, %xmm1
	por	%xmm5, %xmm1
	movdqa	%xmm7, %xmm5
	pand	%xmm2, %xmm5
	pandn	%xmm6, %xmm2
	por	%xmm5, %xmm2
	movdqa	%xmm0, %xmm5
	punpcklwd	%xmm4, %xmm0
	punpckhwd	%xmm4, %xmm5
	movdqa	%xmm0, %xmm4
	punpckhwd	%xmm5, %xmm4
	punpcklwd	%xmm5, %xmm0
	punpcklwd	%xmm4, %xmm0
	movdqa	%xmm1, %xmm4
	punpcklwd	%xmm2, %xmm1
	punpckhwd	%xmm2, %xmm4
	movdqa	%xmm1, %xmm2
	pand	%xmm8, %xmm0
	punpckhwd	%xmm4, %xmm2
	punpcklwd	%xmm4, %xmm1
	punpcklwd	%xmm2, %xmm1
	pand	%xmm8, %xmm1
	packuswb	%xmm1, %xmm0
	movups	%xmm0, (%rdi,%rax)
	addq	$16, %rax
	cmpq	%rcx, %rax
	jne	.L24
	movl	%r8d, %eax
	andl	$-16, %eax
	leal	1(%rax), %r9d
	cmpl	%eax, %r8d
	je	.L44
	movl	%r9d, %ecx
	movslq	%r9d, %r9
	andl	$1, %ecx
	cmpl	$1, %ecx
	sbbl	%r11d, %r11d
	negl	%ecx
	addl	$2, %eax
	addl	$49, %r11d
	addl	$49, %ecx
	movb	%r11b, 200080(%rsp,%r9)
	movb	%cl, 100064(%rsp,%r9)
	cmpl	%eax, %edx
	jle	.L44
.L57:
	movslq	%eax, %rcx
	leal	1(%rax), %r9d
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	cmpl	%r9d, %edx
	jle	.L44
	movl	%r9d, %ecx
	movslq	%r9d, %r9
	andl	$1, %ecx
	cmpl	$1, %ecx
	sbbl	%r11d, %r11d
	negl	%ecx
	addl	$49, %ecx
	addl	$49, %r11d
	movb	%cl, 100064(%rsp,%r9)
	leal	2(%rax), %ecx
	movb	%r11b, 200080(%rsp,%r9)
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	leal	3(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r9d
	movslq	%ecx, %rcx
	andl	$1, %r9d
	cmpl	$1, %r9d
	sbbl	%r11d, %r11d
	negl	%r9d
	addl	$49, %r11d
	addl	$49, %r9d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%r9b, 100064(%rsp,%rcx)
	leal	4(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	leal	5(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r9d
	movslq	%ecx, %rcx
	andl	$1, %r9d
	cmpl	$1, %r9d
	sbbl	%r11d, %r11d
	negl	%r9d
	addl	$49, %r11d
	addl	$49, %r9d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%r9b, 100064(%rsp,%rcx)
	leal	6(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	leal	7(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r9d
	movslq	%ecx, %rcx
	andl	$1, %r9d
	cmpl	$1, %r9d
	sbbl	%r11d, %r11d
	negl	%r9d
	addl	$49, %r11d
	addl	$49, %r9d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%r9b, 100064(%rsp,%rcx)
	leal	8(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	leal	9(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r9d
	movslq	%ecx, %rcx
	andl	$1, %r9d
	cmpl	$1, %r9d
	sbbl	%r11d, %r11d
	negl	%r9d
	addl	$49, %r11d
	addl	$49, %r9d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%r9b, 100064(%rsp,%rcx)
	leal	10(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	leal	11(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r9d
	movslq	%ecx, %rcx
	andl	$1, %r9d
	cmpl	$1, %r9d
	sbbl	%r11d, %r11d
	negl	%r9d
	addl	$49, %r11d
	addl	$49, %r9d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%r9b, 100064(%rsp,%rcx)
	leal	12(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	addl	$13, %eax
	movb	$48, 200080(%rsp,%rcx)
	movb	$49, 100064(%rsp,%rcx)
	cmpl	%eax, %edx
	jle	.L44
	movl	%eax, %ecx
	cltq
	andl	$1, %ecx
	cmpl	$1, %ecx
	sbbl	%r9d, %r9d
	negl	%ecx
	addl	$49, %r9d
	addl	$49, %ecx
	movb	%r9b, 200080(%rsp,%rax)
	movb	%cl, 100064(%rsp,%rax)
	.p2align 4,,10
	.p2align 3
.L44:
	testl	%edx, %edx
	movl	$1, %ecx
	cmovg	%edx, %ecx
	cmpl	$14, %r8d
	jbe	.L89
	testl	%edx, %edx
	jle	.L89
	movl	%ecx, %edx
	pxor	%xmm2, %xmm2
	movdqa	.LC10(%rip), %xmm6
	xorl	%eax, %eax
	movdqa	%xmm2, %xmm8
	shrl	$4, %edx
	pxor	%xmm5, %xmm5
	pxor	%xmm4, %xmm4
	salq	$4, %rdx
	movdqa	%xmm2, %xmm7
	.p2align 4,,10
	.p2align 3
.L51:
	movdqa	(%rbx,%rax), %xmm0
	movdqa	%xmm5, %xmm3
	movdqa	%xmm4, %xmm9
	movdqa	%xmm0, %xmm1
	pcmpeqb	(%rdi,%rax), %xmm0
	pcmpeqb	(%rsi,%rax), %xmm1
	addq	$16, %rax
	pandn	%xmm6, %xmm0
	pandn	%xmm6, %xmm1
	pcmpgtb	%xmm1, %xmm3
	movdqa	%xmm1, %xmm2
	punpcklbw	%xmm3, %xmm2
	punpckhbw	%xmm3, %xmm1
	pcmpgtw	%xmm2, %xmm9
	movdqa	%xmm2, %xmm3
	punpcklwd	%xmm9, %xmm3
	punpckhwd	%xmm9, %xmm2
	paddd	%xmm8, %xmm3
	movdqa	%xmm1, %xmm8
	paddd	%xmm2, %xmm3
	movdqa	%xmm4, %xmm2
	pcmpgtw	%xmm1, %xmm2
	punpcklwd	%xmm2, %xmm8
	punpckhwd	%xmm2, %xmm1
	paddd	%xmm8, %xmm3
	paddd	%xmm1, %xmm3
	movdqa	%xmm5, %xmm1
	pcmpgtb	%xmm0, %xmm1
	movdqa	%xmm3, %xmm8
	movdqa	%xmm0, %xmm3
	punpcklbw	%xmm1, %xmm3
	punpckhbw	%xmm1, %xmm0
	movdqa	%xmm4, %xmm1
	pcmpgtw	%xmm3, %xmm1
	movdqa	%xmm3, %xmm2
	punpcklwd	%xmm1, %xmm2
	punpckhwd	%xmm1, %xmm3
	movdqa	%xmm4, %xmm1
	pcmpgtw	%xmm0, %xmm1
	paddd	%xmm7, %xmm2
	paddd	%xmm3, %xmm2
	movdqa	%xmm0, %xmm3
	punpcklwd	%xmm1, %xmm3
	punpckhwd	%xmm1, %xmm0
	paddd	%xmm3, %xmm2
	movdqa	%xmm2, %xmm7
	paddd	%xmm0, %xmm7
	cmpq	%rdx, %rax
	jne	.L51
	movdqa	%xmm7, %xmm0
	movl	%ecx, %eax
	psrldq	$8, %xmm0
	andl	$-16, %eax
	andl	$15, %ecx
	paddd	%xmm7, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	movdqa	%xmm8, %xmm0
	psrldq	$8, %xmm0
	paddd	%xmm8, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %r8d
	je	.L46
.L54:
	cltq
	.p2align 4,,10
	.p2align 3
.L49:
	movzbl	(%rbx,%rax), %ecx
	xorl	%r9d, %r9d
	cmpb	(%rsi,%rax), %cl
	setne	%r9b
	addl	%r9d, %r8d
	cmpb	(%rdi,%rax), %cl
	setne	%cl
	addq	$1, %rax
	movzbl	%cl, %ecx
	addl	%ecx, %edx
	cmpl	%eax, %r10d
	jg	.L49
.L46:
	cmpl	%edx, %r8d
	jge	.L45
	movl	%r8d, %edx
	leaq	.LC11(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L53:
	movq	300088(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L106
	addq	$300104, %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
.L3:
	.cfi_restore_state
	cmpl	$1, %edx
	je	.L107
	xorl	%edx, %edx
.L45:
	leaq	.LC11(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L53
.L105:
	movb	$48, 100064(%rsp)
	movb	$49, 200080(%rsp)
	cmpq	$1, %rax
	jbe	.L3
	leal	-1(%rax), %r8d
	leal	-2(%rax), %eax
	cmpl	$14, %eax
	jbe	.L4
	movdqa	.LC6(%rip), %xmm4
	movl	%r8d, %eax
	movdqa	.LC0(%rip), %xmm14
	leaq	200080(%rsp), %rdi
	shrl	$4, %eax
	movdqa	.LC4(%rip), %xmm7
	movdqa	.LC2(%rip), %xmm10
	leaq	100064(%rsp), %rsi
	movaps	%xmm4, (%rsp)
	leal	-1(%rax), %ecx
	movdqa	.LC7(%rip), %xmm4
	movdqa	.LC3(%rip), %xmm9
	salq	$4, %rcx
	movl	$1, %eax
	pxor	%xmm13, %xmm13
	movdqa	.LC5(%rip), %xmm6
	movaps	%xmm4, 16(%rsp)
	movdqa	.LC8(%rip), %xmm4
	addq	$17, %rcx
	movdqa	.LC9(%rip), %xmm8
	movaps	%xmm4, 32(%rsp)
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm14, %xmm2
	movdqa	(%rsp), %xmm4
	movdqa	%xmm7, %xmm1
	movdqa	%xmm7, %xmm11
	movdqa	%xmm2, %xmm0
	movdqa	%xmm7, %xmm15
	paddd	%xmm10, %xmm14
	pand	%xmm9, %xmm0
	paddd	%xmm2, %xmm4
	pcmpeqd	%xmm13, %xmm0
	pand	%xmm9, %xmm4
	pcmpeqd	%xmm13, %xmm4
	movdqa	%xmm0, %xmm3
	pand	%xmm0, %xmm1
	pandn	%xmm6, %xmm3
	movdqa	%xmm4, %xmm12
	por	%xmm1, %xmm3
	movdqa	%xmm7, %xmm1
	pandn	%xmm6, %xmm12
	pand	%xmm4, %xmm1
	por	%xmm1, %xmm12
	movdqa	16(%rsp), %xmm1
	paddd	%xmm2, %xmm1
	paddd	32(%rsp), %xmm2
	pand	%xmm9, %xmm1
	pcmpeqd	%xmm13, %xmm1
	pand	%xmm9, %xmm2
	pcmpeqd	%xmm13, %xmm2
	movdqa	%xmm1, %xmm5
	pand	%xmm1, %xmm11
	pandn	%xmm6, %xmm5
	pand	%xmm2, %xmm15
	por	%xmm11, %xmm5
	movdqa	%xmm2, %xmm11
	pandn	%xmm6, %xmm11
	por	%xmm15, %xmm11
	movdqa	%xmm3, %xmm15
	punpcklwd	%xmm12, %xmm3
	punpckhwd	%xmm12, %xmm15
	movdqa	%xmm3, %xmm12
	punpckhwd	%xmm15, %xmm12
	punpcklwd	%xmm15, %xmm3
	punpcklwd	%xmm12, %xmm3
	movdqa	%xmm5, %xmm12
	punpcklwd	%xmm11, %xmm5
	punpckhwd	%xmm11, %xmm12
	movdqa	%xmm5, %xmm11
	pand	%xmm8, %xmm3
	punpckhwd	%xmm12, %xmm11
	punpcklwd	%xmm12, %xmm5
	punpcklwd	%xmm11, %xmm5
	pand	%xmm8, %xmm5
	packuswb	%xmm5, %xmm3
	movdqa	%xmm6, %xmm5
	pand	%xmm0, %xmm5
	pandn	%xmm7, %xmm0
	movups	%xmm3, (%rsi,%rax)
	por	%xmm5, %xmm0
	movdqa	%xmm6, %xmm5
	pand	%xmm4, %xmm5
	pandn	%xmm7, %xmm4
	por	%xmm5, %xmm4
	movdqa	%xmm6, %xmm5
	pand	%xmm1, %xmm5
	pandn	%xmm7, %xmm1
	por	%xmm5, %xmm1
	movdqa	%xmm6, %xmm5
	pand	%xmm2, %xmm5
	pandn	%xmm7, %xmm2
	por	%xmm5, %xmm2
	movdqa	%xmm0, %xmm5
	punpcklwd	%xmm4, %xmm0
	punpckhwd	%xmm4, %xmm5
	movdqa	%xmm0, %xmm4
	punpckhwd	%xmm5, %xmm4
	punpcklwd	%xmm5, %xmm0
	punpcklwd	%xmm4, %xmm0
	movdqa	%xmm1, %xmm4
	punpcklwd	%xmm2, %xmm1
	punpckhwd	%xmm2, %xmm4
	movdqa	%xmm1, %xmm2
	pand	%xmm8, %xmm0
	punpckhwd	%xmm4, %xmm2
	punpcklwd	%xmm4, %xmm1
	punpcklwd	%xmm2, %xmm1
	pand	%xmm8, %xmm1
	packuswb	%xmm1, %xmm0
	movups	%xmm0, (%rdi,%rax)
	addq	$16, %rax
	cmpq	%rax, %rcx
	jne	.L5
	movl	%r8d, %eax
	andl	$-16, %eax
	leal	1(%rax), %r11d
	cmpl	%eax, %r8d
	je	.L44
	movl	%r11d, %ecx
	movslq	%r11d, %r11
	andl	$1, %ecx
	cmpl	$1, %ecx
	sbbl	%ebp, %ebp
	negl	%ecx
	addl	$2, %eax
	addl	$49, %ebp
	addl	$49, %ecx
	movb	%cl, 200080(%rsp,%r11)
	movb	%bpl, 100064(%rsp,%r11)
	cmpl	%eax, %edx
	jle	.L44
.L56:
	movslq	%eax, %rcx
	leal	1(%rax), %r11d
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	cmpl	%edx, %r11d
	jge	.L44
	movl	%r11d, %ecx
	movslq	%r11d, %r11
	andl	$1, %ecx
	cmpl	$1, %ecx
	sbbl	%ebp, %ebp
	negl	%ecx
	addl	$49, %ecx
	addl	$49, %ebp
	movb	%cl, 200080(%rsp,%r11)
	leal	2(%rax), %ecx
	movb	%bpl, 100064(%rsp,%r11)
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	leal	3(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r11d
	movslq	%ecx, %rcx
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ebp, %ebp
	negl	%r11d
	addl	$49, %ebp
	addl	$49, %r11d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%bpl, 100064(%rsp,%rcx)
	leal	4(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	leal	5(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r11d
	movslq	%ecx, %rcx
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ebp, %ebp
	negl	%r11d
	addl	$49, %ebp
	addl	$49, %r11d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%bpl, 100064(%rsp,%rcx)
	leal	6(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	leal	7(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r11d
	movslq	%ecx, %rcx
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ebp, %ebp
	negl	%r11d
	addl	$49, %ebp
	addl	$49, %r11d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%bpl, 100064(%rsp,%rcx)
	leal	8(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	leal	9(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r11d
	movslq	%ecx, %rcx
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ebp, %ebp
	negl	%r11d
	addl	$49, %ebp
	addl	$49, %r11d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%bpl, 100064(%rsp,%rcx)
	leal	10(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	leal	11(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movl	%ecx, %r11d
	movslq	%ecx, %rcx
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ebp, %ebp
	negl	%r11d
	addl	$49, %ebp
	addl	$49, %r11d
	movb	%r11b, 200080(%rsp,%rcx)
	movb	%bpl, 100064(%rsp,%rcx)
	leal	12(%rax), %ecx
	cmpl	%ecx, %edx
	jle	.L44
	movslq	%ecx, %rcx
	addl	$13, %eax
	movb	$49, 200080(%rsp,%rcx)
	movb	$48, 100064(%rsp,%rcx)
	cmpl	%eax, %edx
	jle	.L44
	movl	%eax, %r11d
	cltq
	andl	$1, %r11d
	cmpl	$1, %r11d
	sbbl	%ecx, %ecx
	addl	$49, %ecx
	testl	%r11d, %r11d
	movl	$49, %r11d
	cmove	%r11d, %r9d
	movb	%cl, 100064(%rsp,%rax)
	movb	%r9b, 200080(%rsp,%rax)
	jmp	.L44
.L89:
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	jmp	.L54
.L23:
	movb	$49, 200081(%rsp)
	movb	$48, 100065(%rsp)
	cmpl	$2, %edx
	jle	.L103
	movl	$2, %eax
	leaq	200080(%rsp), %rdi
	leaq	100064(%rsp), %rsi
	jmp	.L57
.L4:
	movb	$48, 200081(%rsp)
	movb	$49, 100065(%rsp)
	cmpl	$2, %edx
	jle	.L103
	movl	$2, %eax
	leaq	200080(%rsp), %rdi
	leaq	100064(%rsp), %rsi
	jmp	.L56
.L103:
	leaq	200080(%rsp), %rdi
	leaq	100064(%rsp), %rsi
	jmp	.L44
.L107:
	xorl	%r8d, %r8d
	leaq	200080(%rsp), %rdi
	leaq	100064(%rsp), %rsi
	jmp	.L44
.L106:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	16
	.long	16
	.long	16
	.long	16
	.align 16
.LC3:
	.long	1
	.long	1
	.long	1
	.long	1
	.align 16
.LC4:
	.long	48
	.long	48
	.long	48
	.long	48
	.align 16
.LC5:
	.long	49
	.long	49
	.long	49
	.long	49
	.align 16
.LC6:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC7:
	.long	8
	.long	8
	.long	8
	.long	8
	.align 16
.LC8:
	.long	12
	.long	12
	.long	12
	.long	12
	.align 16
.LC9:
	.value	255
	.value	255
	.value	255
	.value	255
	.value	255
	.value	255
	.value	255
	.value	255
	.align 16
.LC10:
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.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>
int main()
{
    char s[100005],a[100005],b[100005];
    int n,i,j,cnt=0,cnt1=0;
    scanf("%s",s);
    n=strlen(s);
    if(s[0]=='0')
    {
        a[0]='0';
        b[0]='1';
    for(i=1;i<n;i++)
    {
        if(i%2==0){
            a[i]='0';
            b[i]='1';
        }
            else{
            a[i]='1';
            b[i]='0';
            }
    }
    }
    else
    {
        a[0]='1';
        b[0]='0';
        for(i=1;i<n;i++)
    {
        if(i%2==0){
            a[i]='1';
            b[i]='0';
        }
            else{
            a[i]='0';
            b[i]='1';
            }
    }
    }
    for(i=0;i<n;i++)
    {
        if(s[i]!=a[i])cnt++;
        if(s[i]!=b[i])cnt1++;
    }
    if(cnt<cnt1)
        printf("%d\n",cnt);
    else printf("%d\n",cnt1);
    return 0;

}

10110010
 010
 10110110
 00110110
 100
 10100110
 01110110
 01110111
 10011010
 1

2
 0
 3
 4
 1
 2
 3
 2
 2
 0

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>
int main()
{
    char s[100005],a[100005],b[100005];
    int n,i,j,cnt=0,cnt1=0;
    scanf("%s",s);
    n=strlen(s);
    if(s[0]=='0')
    {
        a[0]='0';
        b[0]='1';
    for(i=1;i<n;i++)
    {
        if(i%2==0){
            a[i]='0';
            b[i]='1';
        }
            else{
            a[i]='1';
            b[i]='0';
            }
    }
    }
    else
    {
        a[0]='1';
        b[0]='0';
        for(i=1;i<n;i++)
    {
        if(i%2==0){
            a[i]='1';
            b[i]='0';
        }
            else{
            a[i]='0';
            b[i]='1';
            }
    }
    }
    for(i=0;i<n;i++)
    {
        if(s[i]!=a[i])cnt++;
        if(s[i]!=b[i])cnt1++;
    }
    if(cnt<cnt1)
        printf("%d\n",cnt);
    else printf("%d\n",cnt1);
    return 0;

}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.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	-299008(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1056, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -300060(%rbp)
	movl	$0, -300056(%rbp)
	leaq	-300048(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-300048(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -300052(%rbp)
	movzbl	-300048(%rbp), %eax
	cmpb	$48, %al
	jne	.L2
	movb	$48, -200032(%rbp)
	movb	$49, -100016(%rbp)
	movl	$1, -300064(%rbp)
	jmp	.L3
.L6:
	movl	-300064(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L4
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -100016(%rbp,%rax)
	jmp	.L5
.L4:
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -100016(%rbp,%rax)
.L5:
	addl	$1, -300064(%rbp)
.L3:
	movl	-300064(%rbp), %eax
	cmpl	-300052(%rbp), %eax
	jl	.L6
	jmp	.L7
.L2:
	movb	$49, -200032(%rbp)
	movb	$48, -100016(%rbp)
	movl	$1, -300064(%rbp)
	jmp	.L8
.L11:
	movl	-300064(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L9
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -100016(%rbp,%rax)
	jmp	.L10
.L9:
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -100016(%rbp,%rax)
.L10:
	addl	$1, -300064(%rbp)
.L8:
	movl	-300064(%rbp), %eax
	cmpl	-300052(%rbp), %eax
	jl	.L11
.L7:
	movl	$0, -300064(%rbp)
	jmp	.L12
.L15:
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-300048(%rbp,%rax), %edx
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-200032(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L13
	addl	$1, -300060(%rbp)
.L13:
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-300048(%rbp,%rax), %edx
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L14
	addl	$1, -300056(%rbp)
.L14:
	addl	$1, -300064(%rbp)
.L12:
	movl	-300064(%rbp), %eax
	cmpl	-300052(%rbp), %eax
	jl	.L15
	movl	-300060(%rbp), %eax
	cmpl	-300056(%rbp), %eax
	jge	.L16
	movl	-300060(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L17
.L16:
	movl	-300056(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L17:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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	"%d\n"
	.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	-299008(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1056, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -300060(%rbp)
	movl	$0, -300056(%rbp)
	leaq	-300048(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-300048(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -300052(%rbp)
	movzbl	-300048(%rbp), %eax
	cmpb	$48, %al
	jne	.L2
	movb	$48, -200032(%rbp)
	movb	$49, -100016(%rbp)
	movl	$1, -300064(%rbp)
	jmp	.L3
.L6:
	movl	-300064(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L4
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -100016(%rbp,%rax)
	jmp	.L5
.L4:
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -100016(%rbp,%rax)
.L5:
	addl	$1, -300064(%rbp)
.L3:
	movl	-300064(%rbp), %eax
	cmpl	-300052(%rbp), %eax
	jl	.L6
	jmp	.L7
.L2:
	movb	$49, -200032(%rbp)
	movb	$48, -100016(%rbp)
	movl	$1, -300064(%rbp)
	jmp	.L8
.L11:
	movl	-300064(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L9
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -100016(%rbp,%rax)
	jmp	.L10
.L9:
	movl	-300064(%rbp), %eax
	cltq
	movb	$48, -200032(%rbp,%rax)
	movl	-300064(%rbp), %eax
	cltq
	movb	$49, -100016(%rbp,%rax)
.L10:
	addl	$1, -300064(%rbp)
.L8:
	movl	-300064(%rbp), %eax
	cmpl	-300052(%rbp), %eax
	jl	.L11
.L7:
	movl	$0, -300064(%rbp)
	jmp	.L12
.L15:
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-300048(%rbp,%rax), %edx
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-200032(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L13
	addl	$1, -300060(%rbp)
.L13:
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-300048(%rbp,%rax), %edx
	movl	-300064(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L14
	addl	$1, -300056(%rbp)
.L14:
	addl	$1, -300064(%rbp)
.L12:
	movl	-300064(%rbp), %eax
	cmpl	-300052(%rbp), %eax
	jl	.L15
	movl	-300060(%rbp), %eax
	cmpl	-300056(%rbp), %eax
	jge	.L16
	movl	-300060(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L17
.L16:
	movl	-300056(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L17:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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:
