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(void)
{
    int n,i,j;
    char s[100],t[100],x[201] = "0";
    scanf("%d %s %s",&n,s,t);
    for(i = 0 ; i < 2 * n ; i++)
    {
        if(i % 2 == 0)
        {
            x[i] = s[i / 2];
        }
        else
        {
            x[i] = t[(i - 1) / 2];
        }
        
    }
    printf("%s\n",x);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %s %s"
	.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
	subq	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$48, -224(%rbp)
	movq	$0, -216(%rbp)
	movq	$0, -208(%rbp)
	movq	$0, -200(%rbp)
	movq	$0, -192(%rbp)
	movq	$0, -184(%rbp)
	movq	$0, -176(%rbp)
	movq	$0, -168(%rbp)
	movq	$0, -160(%rbp)
	movq	$0, -152(%rbp)
	movq	$0, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movb	$0, -24(%rbp)
	leaq	-336(%rbp), %rcx
	leaq	-448(%rbp), %rdx
	leaq	-456(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -452(%rbp)
	jmp	.L2
.L5:
	movl	-452(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L3
	movl	-452(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	movzbl	-448(%rbp,%rax), %edx
	movl	-452(%rbp), %eax
	cltq
	movb	%dl, -224(%rbp,%rax)
	jmp	.L4
.L3:
	movl	-452(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	movzbl	-336(%rbp,%rax), %edx
	movl	-452(%rbp), %eax
	cltq
	movb	%dl, -224(%rbp,%rax)
.L4:
	addl	$1, -452(%rbp)
.L2:
	movl	-456(%rbp), %eax
	addl	%eax, %eax
	cmpl	%eax, -452(%rbp)
	jl	.L5
	leaq	-224(%rbp), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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	"%d %s %s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$472, %rsp
	.cfi_def_cfa_offset 480
	pxor	%xmm0, %xmm0
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 456(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	128(%rsp), %rcx
	movq	$48, 240(%rsp)
	leaq	12(%rsp), %rsi
	movb	$0, 440(%rsp)
	movq	$0, 248(%rsp)
	movq	$0, 432(%rsp)
	movaps	%xmm0, 256(%rsp)
	movaps	%xmm0, 272(%rsp)
	movaps	%xmm0, 288(%rsp)
	movaps	%xmm0, 304(%rsp)
	movaps	%xmm0, 320(%rsp)
	movaps	%xmm0, 336(%rsp)
	movaps	%xmm0, 352(%rsp)
	movaps	%xmm0, 368(%rsp)
	movaps	%xmm0, 384(%rsp)
	movaps	%xmm0, 400(%rsp)
	movaps	%xmm0, 416(%rsp)
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	240(%rsp), %rdi
	leal	(%rax,%rax), %ecx
	testl	%ecx, %ecx
	jle	.L2
	movslq	%ecx, %rcx
	xorl	%eax, %eax
	leaq	240(%rsp), %rdi
	.p2align 4,,10
	.p2align 3
.L5:
	testb	$1, %al
	jne	.L3
	movl	%eax, %edx
	sarl	%edx
	movslq	%edx, %rdx
	movzbl	16(%rsp,%rdx), %edx
	movb	%dl, (%rdi,%rax)
	addq	$1, %rax
	cmpq	%rax, %rcx
	jne	.L5
.L2:
	call	puts@PLT
	movq	456(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	xorl	%eax, %eax
	addq	$472, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	leal	-1(%rax), %edx
	sarl	%edx
	movslq	%edx, %rdx
	movzbl	128(%rsp,%rdx), %edx
	movb	%dl, (%rdi,%rax)
	addq	$1, %rax
	cmpq	%rcx, %rax
	jne	.L5
	jmp	.L2
.L11:
	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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %s %s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$472, %rsp
	.cfi_def_cfa_offset 480
	pxor	%xmm0, %xmm0
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 456(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	128(%rsp), %rcx
	movq	$48, 240(%rsp)
	leaq	12(%rsp), %rsi
	movb	$0, 440(%rsp)
	movq	$0, 248(%rsp)
	movq	$0, 432(%rsp)
	movaps	%xmm0, 256(%rsp)
	movaps	%xmm0, 272(%rsp)
	movaps	%xmm0, 288(%rsp)
	movaps	%xmm0, 304(%rsp)
	movaps	%xmm0, 320(%rsp)
	movaps	%xmm0, 336(%rsp)
	movaps	%xmm0, 352(%rsp)
	movaps	%xmm0, 368(%rsp)
	movaps	%xmm0, 384(%rsp)
	movaps	%xmm0, 400(%rsp)
	movaps	%xmm0, 416(%rsp)
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	240(%rsp), %rdi
	leal	(%rax,%rax), %ecx
	testl	%ecx, %ecx
	jle	.L2
	movslq	%ecx, %rcx
	xorl	%eax, %eax
	leaq	240(%rsp), %rdi
	.p2align 4,,10
	.p2align 3
.L5:
	testb	$1, %al
	jne	.L3
	movl	%eax, %edx
	sarl	%edx
	movslq	%edx, %rdx
	movzbl	16(%rsp,%rdx), %edx
	movb	%dl, (%rdi,%rax)
	addq	$1, %rax
	cmpq	%rax, %rcx
	jne	.L5
.L2:
	call	puts@PLT
	movq	456(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	xorl	%eax, %eax
	addq	$472, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	leal	-1(%rax), %edx
	sarl	%edx
	movslq	%edx, %rdx
	movzbl	128(%rsp,%rdx), %edx
	movb	%dl, (%rdi,%rax)
	addq	$1, %rax
	cmpq	%rcx, %rax
	jne	.L5
	jmp	.L2
.L11:
	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:

#include<stdio.h>
int main(void)
{
    int n,i,j;
    char s[100],t[100],x[201] = "0";
    scanf("%d %s %s",&n,s,t);
    for(i = 0 ; i < 2 * n ; i++)
    {
        if(i % 2 == 0)
        {
            x[i] = s[i / 2];
        }
        else
        {
            x[i] = t[(i - 1) / 2];
        }
        
    }
    printf("%s\n",x);
    return 0;
}
2
ip cd
 8
hmhmnknk uuuuuuut
 5
baaaa aaaaa
 2
ip dc
 8
hmhmnknk tuuuuuuu
 5
baaaa aaaba
 2
pi cd
 8
hmhmnknk tuuuuuvu
 5
baaaa baaba
 2
pi ce

icpd
 humuhumunukunukt
 baaaaaaaaa
 idpc
 htmuhumunukunuku
 baaaaaabaa
 pcid
 htmuhumunukunvku
 bbaaaaabaa
 pcie

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(void)
{
    int n,i,j;
    char s[100],t[100],x[201] = "0";
    scanf("%d %s %s",&n,s,t);
    for(i = 0 ; i < 2 * n ; i++)
    {
        if(i % 2 == 0)
        {
            x[i] = s[i / 2];
        }
        else
        {
            x[i] = t[(i - 1) / 2];
        }
        
    }
    printf("%s\n",x);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %s %s"
	.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
	subq	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$48, -224(%rbp)
	movq	$0, -216(%rbp)
	movq	$0, -208(%rbp)
	movq	$0, -200(%rbp)
	movq	$0, -192(%rbp)
	movq	$0, -184(%rbp)
	movq	$0, -176(%rbp)
	movq	$0, -168(%rbp)
	movq	$0, -160(%rbp)
	movq	$0, -152(%rbp)
	movq	$0, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movb	$0, -24(%rbp)
	leaq	-336(%rbp), %rcx
	leaq	-448(%rbp), %rdx
	leaq	-456(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -452(%rbp)
	jmp	.L2
.L5:
	movl	-452(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L3
	movl	-452(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	movzbl	-448(%rbp,%rax), %edx
	movl	-452(%rbp), %eax
	cltq
	movb	%dl, -224(%rbp,%rax)
	jmp	.L4
.L3:
	movl	-452(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	movzbl	-336(%rbp,%rax), %edx
	movl	-452(%rbp), %eax
	cltq
	movb	%dl, -224(%rbp,%rax)
.L4:
	addl	$1, -452(%rbp)
.L2:
	movl	-456(%rbp), %eax
	addl	%eax, %eax
	cmpl	%eax, -452(%rbp)
	jl	.L5
	leaq	-224(%rbp), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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	"%d %s %s"
	.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
	subq	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$48, -224(%rbp)
	movq	$0, -216(%rbp)
	movq	$0, -208(%rbp)
	movq	$0, -200(%rbp)
	movq	$0, -192(%rbp)
	movq	$0, -184(%rbp)
	movq	$0, -176(%rbp)
	movq	$0, -168(%rbp)
	movq	$0, -160(%rbp)
	movq	$0, -152(%rbp)
	movq	$0, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movb	$0, -24(%rbp)
	leaq	-336(%rbp), %rcx
	leaq	-448(%rbp), %rdx
	leaq	-456(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -452(%rbp)
	jmp	.L2
.L5:
	movl	-452(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L3
	movl	-452(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	movzbl	-448(%rbp,%rax), %edx
	movl	-452(%rbp), %eax
	cltq
	movb	%dl, -224(%rbp,%rax)
	jmp	.L4
.L3:
	movl	-452(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	movzbl	-336(%rbp,%rax), %edx
	movl	-452(%rbp), %eax
	cltq
	movb	%dl, -224(%rbp,%rax)
.L4:
	addl	$1, -452(%rbp)
.L2:
	movl	-456(%rbp), %eax
	addl	%eax, %eax
	cmpl	%eax, -452(%rbp)
	jl	.L5
	leaq	-224(%rbp), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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:
