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 <stdlib.h>


int main(){
    int N, A[200000];
    scanf("%d", &N);
    for(int i=0;i<N;i++) scanf("%d", &A[i]);
    // end input

    int s = 0;
    for(int i=0;i<N;i++){
        s ^= A[i];
    }

    for(int i=0;i<N;i++){
        int ans = s^A[i];
        printf("%d ", ans);
    }
    printf("\n");

    return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L9
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %rbp
	cmpl	%ebx, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L9
	leal	-1(%rax), %edx
	cmpl	$2, %edx
	jbe	.L11
	movl	%eax, %edx
	pxor	%xmm0, %xmm0
	shrl	$2, %edx
	leal	-1(%rdx), %ecx
	leaq	16(%r12), %rdx
	salq	$4, %rcx
	addq	%rdx, %rcx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$16, %rdx
.L5:
	pxor	0(%r13), %xmm0
	movq	%rdx, %r13
	cmpq	%rcx, %rdx
	jne	.L19
	movdqa	%xmm0, %xmm1
	movl	%eax, %edx
	psrldq	$8, %xmm1
	andl	$-4, %edx
	pxor	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	pxor	%xmm1, %xmm0
	movd	%xmm0, %ebp
	testb	$3, %al
	je	.L8
.L4:
	movslq	%edx, %rcx
	xorl	16(%rsp,%rcx,4), %ebp
	leal	1(%rdx), %ecx
	cmpl	%ecx, %eax
	jle	.L8
	movslq	%ecx, %rcx
	addl	$2, %edx
	xorl	16(%rsp,%rcx,4), %ebp
	cmpl	%edx, %eax
	jle	.L8
	movslq	%edx, %rdx
	xorl	16(%rsp,%rdx,4), %ebp
.L8:
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rbx,4), %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	xorl	%ebp, %edx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L7
.L9:
	movl	$10, %edi
	call	putchar@PLT
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$800032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	xorl	%edx, %edx
	xorl	%ebp, %ebp
	jmp	.L4
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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	"%d"
.LC1:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L9
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %rbp
	cmpl	%ebx, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L9
	leal	-1(%rax), %edx
	cmpl	$2, %edx
	jbe	.L11
	movl	%eax, %edx
	pxor	%xmm0, %xmm0
	shrl	$2, %edx
	leal	-1(%rdx), %ecx
	leaq	16(%r12), %rdx
	salq	$4, %rcx
	addq	%rdx, %rcx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$16, %rdx
.L5:
	pxor	0(%r13), %xmm0
	movq	%rdx, %r13
	cmpq	%rcx, %rdx
	jne	.L19
	movdqa	%xmm0, %xmm1
	movl	%eax, %edx
	psrldq	$8, %xmm1
	andl	$-4, %edx
	pxor	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	pxor	%xmm1, %xmm0
	movd	%xmm0, %ebp
	testb	$3, %al
	je	.L8
.L4:
	movslq	%edx, %rcx
	xorl	16(%rsp,%rcx,4), %ebp
	leal	1(%rdx), %ecx
	cmpl	%ecx, %eax
	jle	.L8
	movslq	%ecx, %rcx
	addl	$2, %edx
	xorl	16(%rsp,%rcx,4), %ebp
	cmpl	%edx, %eax
	jle	.L8
	movslq	%edx, %rdx
	xorl	16(%rsp,%rdx,4), %ebp
.L8:
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rbx,4), %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	xorl	%ebp, %edx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L7
.L9:
	movl	$10, %edi
	call	putchar@PLT
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$800032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	xorl	%edx, %edx
	xorl	%ebp, %ebp
	jmp	.L4
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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	"%d"
.LC1:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L9
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %rbp
	cmpl	%ebx, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L9
	leal	-1(%rax), %edx
	cmpl	$2, %edx
	jbe	.L11
	movl	%eax, %edx
	pxor	%xmm0, %xmm0
	shrl	$2, %edx
	leal	-1(%rdx), %ecx
	leaq	16(%r12), %rdx
	salq	$4, %rcx
	addq	%rdx, %rcx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$16, %rdx
.L5:
	pxor	0(%r13), %xmm0
	movq	%rdx, %r13
	cmpq	%rcx, %rdx
	jne	.L19
	movdqa	%xmm0, %xmm1
	movl	%eax, %edx
	psrldq	$8, %xmm1
	andl	$-4, %edx
	pxor	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	pxor	%xmm1, %xmm0
	movd	%xmm0, %ebp
	testb	$3, %al
	je	.L8
.L4:
	movslq	%edx, %rcx
	xorl	16(%rsp,%rcx,4), %ebp
	leal	1(%rdx), %ecx
	cmpl	%ecx, %eax
	jle	.L8
	movslq	%ecx, %rcx
	addl	$2, %edx
	xorl	16(%rsp,%rcx,4), %ebp
	cmpl	%edx, %eax
	jle	.L8
	movslq	%edx, %rdx
	xorl	16(%rsp,%rdx,4), %ebp
.L8:
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rbx,4), %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	xorl	%ebp, %edx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L7
.L9:
	movl	$10, %edi
	call	putchar@PLT
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$800032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	xorl	%edx, %edx
	xorl	%ebp, %ebp
	jmp	.L4
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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 <stdlib.h>


int main(){
    int N, A[200000];
    scanf("%d", &N);
    for(int i=0;i<N;i++) scanf("%d", &A[i]);
    // end input

    int s = 0;
    for(int i=0;i<N;i++){
        s ^= A[i];
    }

    for(int i=0;i<N;i++){
        int ans = s^A[i];
        printf("%d ", ans);
    }
    printf("\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 <stdlib.h>


int main(){
    int N, A[200000];
    scanf("%d", &N);
    for(int i=0;i<N;i++) scanf("%d", &A[i]);
    // end input

    int s = 0;
    for(int i=0;i<N;i++){
        s ^= A[i];
    }

    for(int i=0;i<N;i++){
        int ans = s^A[i];
        printf("%d ", ans);
    }
    printf("\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:

4
5 11 9 24
 4
5 11 10 24
 4
0 11 10 24
 4
1 11 10 24
 4
1 11 10 29
 4
1 11 0 29
 4
1 11 0 49
 4
1 2 0 49
 4
2 2 0 49
 4
2 0 0 49

26 20 22 7 
 25 23 22 4 
 25 18 19 1 
 25 19 18 0 
 28 22 23 0 
 22 28 23 10 
 58 48 59 10 
 51 48 50 3 
 51 51 49 0 
 49 51 51 2 

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 <stdlib.h>


int main(){
    int N, A[200000];
    scanf("%d", &N);
    for(int i=0;i<N;i++) scanf("%d", &A[i]);
    // end input

    int s = 0;
    for(int i=0;i<N;i++){
        s ^= A[i];
    }

    for(int i=0;i<N;i++){
        int ans = s^A[i];
        printf("%d ", ans);
    }
    printf("\n");

    return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L9
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %rbp
	cmpl	%ebx, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L9
	leal	-1(%rax), %edx
	cmpl	$2, %edx
	jbe	.L11
	movl	%eax, %edx
	pxor	%xmm0, %xmm0
	shrl	$2, %edx
	leal	-1(%rdx), %ecx
	leaq	16(%r12), %rdx
	salq	$4, %rcx
	addq	%rdx, %rcx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$16, %rdx
.L5:
	pxor	0(%r13), %xmm0
	movq	%rdx, %r13
	cmpq	%rcx, %rdx
	jne	.L19
	movdqa	%xmm0, %xmm1
	movl	%eax, %edx
	psrldq	$8, %xmm1
	andl	$-4, %edx
	pxor	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	pxor	%xmm1, %xmm0
	movd	%xmm0, %ebp
	testb	$3, %al
	je	.L8
.L4:
	movslq	%edx, %rcx
	xorl	16(%rsp,%rcx,4), %ebp
	leal	1(%rdx), %ecx
	cmpl	%ecx, %eax
	jle	.L8
	movslq	%ecx, %rcx
	addl	$2, %edx
	xorl	16(%rsp,%rcx,4), %ebp
	cmpl	%edx, %eax
	jle	.L8
	movslq	%edx, %rdx
	xorl	16(%rsp,%rdx,4), %ebp
.L8:
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rbx,4), %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	xorl	%ebp, %edx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L7
.L9:
	movl	$10, %edi
	call	putchar@PLT
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$800032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	xorl	%edx, %edx
	xorl	%ebp, %ebp
	jmp	.L4
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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	"%d"
.LC1:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L9
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %rbp
	cmpl	%ebx, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L9
	leal	-1(%rax), %edx
	cmpl	$2, %edx
	jbe	.L11
	movl	%eax, %edx
	pxor	%xmm0, %xmm0
	shrl	$2, %edx
	leal	-1(%rdx), %ecx
	leaq	16(%r12), %rdx
	salq	$4, %rcx
	addq	%rdx, %rcx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$16, %rdx
.L5:
	pxor	0(%r13), %xmm0
	movq	%rdx, %r13
	cmpq	%rcx, %rdx
	jne	.L19
	movdqa	%xmm0, %xmm1
	movl	%eax, %edx
	psrldq	$8, %xmm1
	andl	$-4, %edx
	pxor	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	pxor	%xmm1, %xmm0
	movd	%xmm0, %ebp
	testb	$3, %al
	je	.L8
.L4:
	movslq	%edx, %rcx
	xorl	16(%rsp,%rcx,4), %ebp
	leal	1(%rdx), %ecx
	cmpl	%ecx, %eax
	jle	.L8
	movslq	%ecx, %rcx
	addl	$2, %edx
	xorl	16(%rsp,%rcx,4), %ebp
	cmpl	%edx, %eax
	jle	.L8
	movslq	%edx, %rdx
	xorl	16(%rsp,%rdx,4), %ebp
.L8:
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rbx,4), %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	xorl	%ebp, %edx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L7
.L9:
	movl	$10, %edi
	call	putchar@PLT
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$800032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	xorl	%edx, %edx
	xorl	%ebp, %ebp
	jmp	.L4
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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:
```