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>
#include <inttypes.h>

int N;
int A[114514];

int main(void) {
	int i;
	int64_t fukuennmisato = 0;
	int nakamurayuuiti = 1111111111, mizuhasikaori = 0;
	if (scanf("%d", &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%d", &A[i]) != 1) return 1;
	}
	for (i = 0; i < N; i++) {
		int sakagutidaisuke = abs(A[i]);
		if (A[i] < 0) mizuhasikaori++;
		fukuennmisato += sakagutidaisuke;
		if (nakamurayuuiti > sakagutidaisuke) nakamurayuuiti = sakagutidaisuke;
	}
	if (nakamurayuuiti > 0 && mizuhasikaori % 2 != 0) fukuennmisato -= nakamurayuuiti * 2;
	printf("%" PRId64 "\n", fukuennmisato);
	return 0;
}

/*

操作を任意の回数できる → マイナスのやつを0個か1個残して全部プラスにできる
0個なのか1個なのかは、もとのデータ中のマイナスの数の偶奇による
0があったら、どっちとみなしてもよい

*/
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d"
.LC2:
	.string	"%ld\n"
	.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
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L5
	cmpl	$0, N(%rip)
	jle	.L4
	leaq	A(%rip), %r13
	xorl	%ebp, %ebp
	movq	%r13, %r14
	movq	%r13, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L27:
	movl	N(%rip), %eax
	addl	$1, %ebp
	addq	$4, %rbx
	cmpl	%ebp, %eax
	jle	.L26
.L6:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L27
.L5:
	movl	$1, %eax
.L1:
	popq	%rbx
	.cfi_remember_state
	.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
.L26:
	.cfi_restore_state
	testl	%eax, %eax
	jle	.L4
	leal	-1(%rax), %edx
	cmpl	$2, %edx
	jbe	.L15
	movl	%eax, %edx
	pxor	%xmm4, %xmm4
	pxor	%xmm1, %xmm1
	movdqa	.LC0(%rip), %xmm5
	shrl	$2, %edx
	leaq	16+A(%rip), %rcx
	movdqa	%xmm4, %xmm6
	subl	$1, %edx
	salq	$4, %rdx
	addq	%rcx, %rdx
	.p2align 4,,10
	.p2align 3
.L8:
	movdqa	0(%r13), %xmm2
	addq	$16, %r13
	movdqa	%xmm2, %xmm3
	psrad	$31, %xmm3
	movdqa	%xmm3, %xmm0
	pxor	%xmm2, %xmm0
	psubd	%xmm3, %xmm0
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm2, %xmm3
	movdqa	%xmm0, %xmm2
	psubd	%xmm3, %xmm4
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm0, %xmm3
	punpckldq	%xmm3, %xmm2
	paddq	%xmm1, %xmm2
	movdqa	%xmm0, %xmm1
	punpckhdq	%xmm3, %xmm1
	paddq	%xmm2, %xmm1
	movdqa	%xmm5, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm5, %xmm2
	movdqa	%xmm2, %xmm5
	por	%xmm0, %xmm5
	cmpq	%r13, %rdx
	jne	.L8
	movdqa	%xmm5, %xmm3
	movl	%eax, %esi
	psrldq	$8, %xmm3
	andl	$-4, %esi
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm5, %xmm2
	pand	%xmm2, %xmm5
	pandn	%xmm3, %xmm2
	movdqa	%xmm5, %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm0, %xmm3
	psrldq	$4, %xmm3
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm3, %xmm2
	por	%xmm0, %xmm2
	movdqa	%xmm1, %xmm0
	psrldq	$8, %xmm0
	movd	%xmm2, %ecx
	paddq	%xmm0, %xmm1
	movdqa	%xmm4, %xmm0
	psrldq	$8, %xmm0
	movq	%xmm1, %r8
	paddd	%xmm4, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	testb	$3, %al
	je	.L9
.L7:
	movslq	%esi, %rdi
	movl	(%r14,%rdi,4), %r9d
	movl	%r9d, %edi
	negl	%edi
	cmovs	%r9d, %edi
	cmpl	$-2147483648, %r9d
	sbbl	$-1, %edx
	movslq	%edi, %r9
	addq	%r9, %r8
	cmpl	%edi, %ecx
	cmovg	%edi, %ecx
	leal	1(%rsi), %edi
	cmpl	%edi, %eax
	jle	.L9
	movslq	%edi, %rdi
	movl	(%r14,%rdi,4), %r9d
	movl	%r9d, %edi
	negl	%edi
	cmovs	%r9d, %edi
	cmpl	$-2147483648, %r9d
	sbbl	$-1, %edx
	movslq	%edi, %r9
	addq	%r9, %r8
	cmpl	%edi, %ecx
	cmovg	%edi, %ecx
	addl	$2, %esi
	cmpl	%esi, %eax
	jle	.L9
	movslq	%esi, %rsi
	movl	(%r14,%rsi,4), %esi
	movl	%esi, %eax
	negl	%eax
	cmovs	%esi, %eax
	cmpl	$-2147483648, %esi
	sbbl	$-1, %edx
	movslq	%eax, %rsi
	addq	%rsi, %r8
	cmpl	%eax, %ecx
	cmovg	%eax, %ecx
.L9:
	testl	%ecx, %ecx
	je	.L14
	andb	$1, %dl
	je	.L14
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	subq	%rcx, %r8
.L14:
	movq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L1
.L4:
	xorl	%r8d, %r8d
	jmp	.L14
.L15:
	xorl	%edx, %edx
	movl	$1111111111, %ecx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	jmp	.L7
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 458056
A:
	.zero	458056
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1111111111
	.long	1111111111
	.long	1111111111
	.long	1111111111
	.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
.LC1:
	.string	"%d"
.LC2:
	.string	"%ld\n"
	.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
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L5
	cmpl	$0, N(%rip)
	jle	.L4
	leaq	A(%rip), %r13
	xorl	%ebp, %ebp
	movq	%r13, %r14
	movq	%r13, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L27:
	movl	N(%rip), %eax
	addl	$1, %ebp
	addq	$4, %rbx
	cmpl	%ebp, %eax
	jle	.L26
.L6:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L27
.L5:
	movl	$1, %eax
.L1:
	popq	%rbx
	.cfi_remember_state
	.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
.L26:
	.cfi_restore_state
	testl	%eax, %eax
	jle	.L4
	leal	-1(%rax), %edx
	cmpl	$2, %edx
	jbe	.L15
	movl	%eax, %edx
	pxor	%xmm4, %xmm4
	pxor	%xmm1, %xmm1
	movdqa	.LC0(%rip), %xmm5
	shrl	$2, %edx
	leaq	16+A(%rip), %rcx
	movdqa	%xmm4, %xmm6
	subl	$1, %edx
	salq	$4, %rdx
	addq	%rcx, %rdx
	.p2align 4,,10
	.p2align 3
.L8:
	movdqa	0(%r13), %xmm2
	addq	$16, %r13
	movdqa	%xmm2, %xmm3
	psrad	$31, %xmm3
	movdqa	%xmm3, %xmm0
	pxor	%xmm2, %xmm0
	psubd	%xmm3, %xmm0
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm2, %xmm3
	movdqa	%xmm0, %xmm2
	psubd	%xmm3, %xmm4
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm0, %xmm3
	punpckldq	%xmm3, %xmm2
	paddq	%xmm1, %xmm2
	movdqa	%xmm0, %xmm1
	punpckhdq	%xmm3, %xmm1
	paddq	%xmm2, %xmm1
	movdqa	%xmm5, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm5, %xmm2
	movdqa	%xmm2, %xmm5
	por	%xmm0, %xmm5
	cmpq	%r13, %rdx
	jne	.L8
	movdqa	%xmm5, %xmm3
	movl	%eax, %esi
	psrldq	$8, %xmm3
	andl	$-4, %esi
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm5, %xmm2
	pand	%xmm2, %xmm5
	pandn	%xmm3, %xmm2
	movdqa	%xmm5, %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm0, %xmm3
	psrldq	$4, %xmm3
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm3, %xmm2
	por	%xmm0, %xmm2
	movdqa	%xmm1, %xmm0
	psrldq	$8, %xmm0
	movd	%xmm2, %ecx
	paddq	%xmm0, %xmm1
	movdqa	%xmm4, %xmm0
	psrldq	$8, %xmm0
	movq	%xmm1, %r8
	paddd	%xmm4, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	testb	$3, %al
	je	.L9
.L7:
	movslq	%esi, %rdi
	movl	(%r14,%rdi,4), %r9d
	movl	%r9d, %edi
	negl	%edi
	cmovs	%r9d, %edi
	cmpl	$-2147483648, %r9d
	sbbl	$-1, %edx
	movslq	%edi, %r9
	addq	%r9, %r8
	cmpl	%edi, %ecx
	cmovg	%edi, %ecx
	leal	1(%rsi), %edi
	cmpl	%edi, %eax
	jle	.L9
	movslq	%edi, %rdi
	movl	(%r14,%rdi,4), %r9d
	movl	%r9d, %edi
	negl	%edi
	cmovs	%r9d, %edi
	cmpl	$-2147483648, %r9d
	sbbl	$-1, %edx
	movslq	%edi, %r9
	addq	%r9, %r8
	cmpl	%edi, %ecx
	cmovg	%edi, %ecx
	addl	$2, %esi
	cmpl	%esi, %eax
	jle	.L9
	movslq	%esi, %rsi
	movl	(%r14,%rsi,4), %esi
	movl	%esi, %eax
	negl	%eax
	cmovs	%esi, %eax
	cmpl	$-2147483648, %esi
	sbbl	$-1, %edx
	movslq	%eax, %rsi
	addq	%rsi, %r8
	cmpl	%eax, %ecx
	cmovg	%eax, %ecx
.L9:
	testl	%ecx, %ecx
	je	.L14
	andb	$1, %dl
	je	.L14
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	subq	%rcx, %r8
.L14:
	movq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L1
.L4:
	xorl	%r8d, %r8d
	jmp	.L14
.L15:
	xorl	%edx, %edx
	movl	$1111111111, %ecx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	jmp	.L7
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 458056
A:
	.zero	458056
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1111111111
	.long	1111111111
	.long	1111111111
	.long	1111111111
	.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
.LC1:
	.string	"%d"
.LC2:
	.string	"%ld\n"
	.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
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L5
	cmpl	$0, N(%rip)
	jle	.L4
	leaq	A(%rip), %r13
	xorl	%ebp, %ebp
	movq	%r13, %r14
	movq	%r13, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L27:
	movl	N(%rip), %eax
	addl	$1, %ebp
	addq	$4, %rbx
	cmpl	%ebp, %eax
	jle	.L26
.L6:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L27
.L5:
	movl	$1, %eax
.L1:
	popq	%rbx
	.cfi_remember_state
	.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
.L26:
	.cfi_restore_state
	testl	%eax, %eax
	jle	.L4
	leal	-1(%rax), %edx
	cmpl	$2, %edx
	jbe	.L15
	movl	%eax, %edx
	pxor	%xmm4, %xmm4
	pxor	%xmm1, %xmm1
	movdqa	.LC0(%rip), %xmm5
	shrl	$2, %edx
	leaq	16+A(%rip), %rcx
	movdqa	%xmm4, %xmm6
	subl	$1, %edx
	salq	$4, %rdx
	addq	%rcx, %rdx
	.p2align 4,,10
	.p2align 3
.L8:
	movdqa	0(%r13), %xmm2
	addq	$16, %r13
	movdqa	%xmm2, %xmm3
	psrad	$31, %xmm3
	movdqa	%xmm3, %xmm0
	pxor	%xmm2, %xmm0
	psubd	%xmm3, %xmm0
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm2, %xmm3
	movdqa	%xmm0, %xmm2
	psubd	%xmm3, %xmm4
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm0, %xmm3
	punpckldq	%xmm3, %xmm2
	paddq	%xmm1, %xmm2
	movdqa	%xmm0, %xmm1
	punpckhdq	%xmm3, %xmm1
	paddq	%xmm2, %xmm1
	movdqa	%xmm5, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm5, %xmm2
	movdqa	%xmm2, %xmm5
	por	%xmm0, %xmm5
	cmpq	%r13, %rdx
	jne	.L8
	movdqa	%xmm5, %xmm3
	movl	%eax, %esi
	psrldq	$8, %xmm3
	andl	$-4, %esi
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm5, %xmm2
	pand	%xmm2, %xmm5
	pandn	%xmm3, %xmm2
	movdqa	%xmm5, %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm0, %xmm3
	psrldq	$4, %xmm3
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm3, %xmm2
	por	%xmm0, %xmm2
	movdqa	%xmm1, %xmm0
	psrldq	$8, %xmm0
	movd	%xmm2, %ecx
	paddq	%xmm0, %xmm1
	movdqa	%xmm4, %xmm0
	psrldq	$8, %xmm0
	movq	%xmm1, %r8
	paddd	%xmm4, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	testb	$3, %al
	je	.L9
.L7:
	movslq	%esi, %rdi
	movl	(%r14,%rdi,4), %r9d
	movl	%r9d, %edi
	negl	%edi
	cmovs	%r9d, %edi
	cmpl	$-2147483648, %r9d
	sbbl	$-1, %edx
	movslq	%edi, %r9
	addq	%r9, %r8
	cmpl	%edi, %ecx
	cmovg	%edi, %ecx
	leal	1(%rsi), %edi
	cmpl	%edi, %eax
	jle	.L9
	movslq	%edi, %rdi
	movl	(%r14,%rdi,4), %r9d
	movl	%r9d, %edi
	negl	%edi
	cmovs	%r9d, %edi
	cmpl	$-2147483648, %r9d
	sbbl	$-1, %edx
	movslq	%edi, %r9
	addq	%r9, %r8
	cmpl	%edi, %ecx
	cmovg	%edi, %ecx
	addl	$2, %esi
	cmpl	%esi, %eax
	jle	.L9
	movslq	%esi, %rsi
	movl	(%r14,%rsi,4), %esi
	movl	%esi, %eax
	negl	%eax
	cmovs	%esi, %eax
	cmpl	$-2147483648, %esi
	sbbl	$-1, %edx
	movslq	%eax, %rsi
	addq	%rsi, %r8
	cmpl	%eax, %ecx
	cmovg	%eax, %ecx
.L9:
	testl	%ecx, %ecx
	je	.L14
	andb	$1, %dl
	je	.L14
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	subq	%rcx, %r8
.L14:
	movq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L1
.L4:
	xorl	%r8d, %r8d
	jmp	.L14
.L15:
	xorl	%edx, %edx
	movl	$1111111111, %ecx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	jmp	.L7
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 458056
A:
	.zero	458056
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1111111111
	.long	1111111111
	.long	1111111111
	.long	1111111111
	.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>
#include <inttypes.h>

int N;
int A[114514];

int main(void) {
	int i;
	int64_t fukuennmisato = 0;
	int nakamurayuuiti = 1111111111, mizuhasikaori = 0;
	if (scanf("%d", &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%d", &A[i]) != 1) return 1;
	}
	for (i = 0; i < N; i++) {
		int sakagutidaisuke = abs(A[i]);
		if (A[i] < 0) mizuhasikaori++;
		fukuennmisato += sakagutidaisuke;
		if (nakamurayuuiti > sakagutidaisuke) nakamurayuuiti = sakagutidaisuke;
	}
	if (nakamurayuuiti > 0 && mizuhasikaori % 2 != 0) fukuennmisato -= nakamurayuuiti * 2;
	printf("%" PRId64 "\n", fukuennmisato);
	return 0;
}

/*

操作を任意の回数できる → マイナスのやつを0個か1個残して全部プラスにできる
0個なのか1個なのかは、もとのデータ中のマイナスの数の偶奇による
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>
#include <inttypes.h>

int N;
int A[114514];

int main(void) {
	int i;
	int64_t fukuennmisato = 0;
	int nakamurayuuiti = 1111111111, mizuhasikaori = 0;
	if (scanf("%d", &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%d", &A[i]) != 1) return 1;
	}
	for (i = 0; i < N; i++) {
		int sakagutidaisuke = abs(A[i]);
		if (A[i] < 0) mizuhasikaori++;
		fukuennmisato += sakagutidaisuke;
		if (nakamurayuuiti > sakagutidaisuke) nakamurayuuiti = sakagutidaisuke;
	}
	if (nakamurayuuiti > 0 && mizuhasikaori % 2 != 0) fukuennmisato -= nakamurayuuiti * 2;
	printf("%" PRId64 "\n", fukuennmisato);
	return 0;
}

/*

操作を任意の回数できる → マイナスのやつを0個か1個残して全部プラスにできる
0個なのか1個なのかは、もとのデータ中のマイナスの数の偶奇による
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:

11
-1000000000 1000000000 -364513171 1000000000 -1000000000 0 1000000000 -1000000000 1000000000 -1000000000 1000000000
 5
10 -4 -8 -11 5
 3
-10 5 0
 11
-1000000000 1000000000 -364513171 1000000000 -1000000000 0 1000000000 -1000000000 1000000000 -1000000000 1000000100
 5
10 -4 -4 -11 5
 3
-14 5 0
 11
-1000000000 1000000000 -364513171 1000000000 -1000000000 0 1000000000 -1000000000 1000000100 -1000000000 1000000100
 5
10 -4 -4 -14 5
 3
-14 5 1
 11
-1000000000 1000000000 -364513171 1000000000 -1382285407 0 1000000000 -1000000000 1000000000 -1000000000 1000000100

9364513171
 30
 15
 9364513271
 26
 19
 9364513371
 29
 18
 9746798678

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>
#include <inttypes.h>

int N;
int A[114514];

int main(void) {
	int i;
	int64_t fukuennmisato = 0;
	int nakamurayuuiti = 1111111111, mizuhasikaori = 0;
	if (scanf("%d", &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%d", &A[i]) != 1) return 1;
	}
	for (i = 0; i < N; i++) {
		int sakagutidaisuke = abs(A[i]);
		if (A[i] < 0) mizuhasikaori++;
		fukuennmisato += sakagutidaisuke;
		if (nakamurayuuiti > sakagutidaisuke) nakamurayuuiti = sakagutidaisuke;
	}
	if (nakamurayuuiti > 0 && mizuhasikaori % 2 != 0) fukuennmisato -= nakamurayuuiti * 2;
	printf("%" PRId64 "\n", fukuennmisato);
	return 0;
}

/*

操作を任意の回数できる → マイナスのやつを0個か1個残して全部プラスにできる
0個なのか1個なのかは、もとのデータ中のマイナスの数の偶奇による
0があったら、どっちとみなしてもよい

*/
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d"
.LC2:
	.string	"%ld\n"
	.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
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L5
	cmpl	$0, N(%rip)
	jle	.L4
	leaq	A(%rip), %r13
	xorl	%ebp, %ebp
	movq	%r13, %r14
	movq	%r13, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L27:
	movl	N(%rip), %eax
	addl	$1, %ebp
	addq	$4, %rbx
	cmpl	%ebp, %eax
	jle	.L26
.L6:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L27
.L5:
	movl	$1, %eax
.L1:
	popq	%rbx
	.cfi_remember_state
	.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
.L26:
	.cfi_restore_state
	testl	%eax, %eax
	jle	.L4
	leal	-1(%rax), %edx
	cmpl	$2, %edx
	jbe	.L15
	movl	%eax, %edx
	pxor	%xmm4, %xmm4
	pxor	%xmm1, %xmm1
	movdqa	.LC0(%rip), %xmm5
	shrl	$2, %edx
	leaq	16+A(%rip), %rcx
	movdqa	%xmm4, %xmm6
	subl	$1, %edx
	salq	$4, %rdx
	addq	%rcx, %rdx
	.p2align 4,,10
	.p2align 3
.L8:
	movdqa	0(%r13), %xmm2
	addq	$16, %r13
	movdqa	%xmm2, %xmm3
	psrad	$31, %xmm3
	movdqa	%xmm3, %xmm0
	pxor	%xmm2, %xmm0
	psubd	%xmm3, %xmm0
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm2, %xmm3
	movdqa	%xmm0, %xmm2
	psubd	%xmm3, %xmm4
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm0, %xmm3
	punpckldq	%xmm3, %xmm2
	paddq	%xmm1, %xmm2
	movdqa	%xmm0, %xmm1
	punpckhdq	%xmm3, %xmm1
	paddq	%xmm2, %xmm1
	movdqa	%xmm5, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm5, %xmm2
	movdqa	%xmm2, %xmm5
	por	%xmm0, %xmm5
	cmpq	%r13, %rdx
	jne	.L8
	movdqa	%xmm5, %xmm3
	movl	%eax, %esi
	psrldq	$8, %xmm3
	andl	$-4, %esi
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm5, %xmm2
	pand	%xmm2, %xmm5
	pandn	%xmm3, %xmm2
	movdqa	%xmm5, %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm0, %xmm3
	psrldq	$4, %xmm3
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm3, %xmm2
	por	%xmm0, %xmm2
	movdqa	%xmm1, %xmm0
	psrldq	$8, %xmm0
	movd	%xmm2, %ecx
	paddq	%xmm0, %xmm1
	movdqa	%xmm4, %xmm0
	psrldq	$8, %xmm0
	movq	%xmm1, %r8
	paddd	%xmm4, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	testb	$3, %al
	je	.L9
.L7:
	movslq	%esi, %rdi
	movl	(%r14,%rdi,4), %r9d
	movl	%r9d, %edi
	negl	%edi
	cmovs	%r9d, %edi
	cmpl	$-2147483648, %r9d
	sbbl	$-1, %edx
	movslq	%edi, %r9
	addq	%r9, %r8
	cmpl	%edi, %ecx
	cmovg	%edi, %ecx
	leal	1(%rsi), %edi
	cmpl	%edi, %eax
	jle	.L9
	movslq	%edi, %rdi
	movl	(%r14,%rdi,4), %r9d
	movl	%r9d, %edi
	negl	%edi
	cmovs	%r9d, %edi
	cmpl	$-2147483648, %r9d
	sbbl	$-1, %edx
	movslq	%edi, %r9
	addq	%r9, %r8
	cmpl	%edi, %ecx
	cmovg	%edi, %ecx
	addl	$2, %esi
	cmpl	%esi, %eax
	jle	.L9
	movslq	%esi, %rsi
	movl	(%r14,%rsi,4), %esi
	movl	%esi, %eax
	negl	%eax
	cmovs	%esi, %eax
	cmpl	$-2147483648, %esi
	sbbl	$-1, %edx
	movslq	%eax, %rsi
	addq	%rsi, %r8
	cmpl	%eax, %ecx
	cmovg	%eax, %ecx
.L9:
	testl	%ecx, %ecx
	je	.L14
	andb	$1, %dl
	je	.L14
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	subq	%rcx, %r8
.L14:
	movq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L1
.L4:
	xorl	%r8d, %r8d
	jmp	.L14
.L15:
	xorl	%edx, %edx
	movl	$1111111111, %ecx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	jmp	.L7
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 458056
A:
	.zero	458056
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1111111111
	.long	1111111111
	.long	1111111111
	.long	1111111111
	.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
.LC1:
	.string	"%d"
.LC2:
	.string	"%ld\n"
	.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
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L5
	cmpl	$0, N(%rip)
	jle	.L4
	leaq	A(%rip), %r13
	xorl	%ebp, %ebp
	movq	%r13, %r14
	movq	%r13, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L27:
	movl	N(%rip), %eax
	addl	$1, %ebp
	addq	$4, %rbx
	cmpl	%ebp, %eax
	jle	.L26
.L6:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L27
.L5:
	movl	$1, %eax
.L1:
	popq	%rbx
	.cfi_remember_state
	.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
.L26:
	.cfi_restore_state
	testl	%eax, %eax
	jle	.L4
	leal	-1(%rax), %edx
	cmpl	$2, %edx
	jbe	.L15
	movl	%eax, %edx
	pxor	%xmm4, %xmm4
	pxor	%xmm1, %xmm1
	movdqa	.LC0(%rip), %xmm5
	shrl	$2, %edx
	leaq	16+A(%rip), %rcx
	movdqa	%xmm4, %xmm6
	subl	$1, %edx
	salq	$4, %rdx
	addq	%rcx, %rdx
	.p2align 4,,10
	.p2align 3
.L8:
	movdqa	0(%r13), %xmm2
	addq	$16, %r13
	movdqa	%xmm2, %xmm3
	psrad	$31, %xmm3
	movdqa	%xmm3, %xmm0
	pxor	%xmm2, %xmm0
	psubd	%xmm3, %xmm0
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm2, %xmm3
	movdqa	%xmm0, %xmm2
	psubd	%xmm3, %xmm4
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm0, %xmm3
	punpckldq	%xmm3, %xmm2
	paddq	%xmm1, %xmm2
	movdqa	%xmm0, %xmm1
	punpckhdq	%xmm3, %xmm1
	paddq	%xmm2, %xmm1
	movdqa	%xmm5, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm5, %xmm2
	movdqa	%xmm2, %xmm5
	por	%xmm0, %xmm5
	cmpq	%r13, %rdx
	jne	.L8
	movdqa	%xmm5, %xmm3
	movl	%eax, %esi
	psrldq	$8, %xmm3
	andl	$-4, %esi
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm5, %xmm2
	pand	%xmm2, %xmm5
	pandn	%xmm3, %xmm2
	movdqa	%xmm5, %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm0, %xmm3
	psrldq	$4, %xmm3
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm3, %xmm2
	por	%xmm0, %xmm2
	movdqa	%xmm1, %xmm0
	psrldq	$8, %xmm0
	movd	%xmm2, %ecx
	paddq	%xmm0, %xmm1
	movdqa	%xmm4, %xmm0
	psrldq	$8, %xmm0
	movq	%xmm1, %r8
	paddd	%xmm4, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	testb	$3, %al
	je	.L9
.L7:
	movslq	%esi, %rdi
	movl	(%r14,%rdi,4), %r9d
	movl	%r9d, %edi
	negl	%edi
	cmovs	%r9d, %edi
	cmpl	$-2147483648, %r9d
	sbbl	$-1, %edx
	movslq	%edi, %r9
	addq	%r9, %r8
	cmpl	%edi, %ecx
	cmovg	%edi, %ecx
	leal	1(%rsi), %edi
	cmpl	%edi, %eax
	jle	.L9
	movslq	%edi, %rdi
	movl	(%r14,%rdi,4), %r9d
	movl	%r9d, %edi
	negl	%edi
	cmovs	%r9d, %edi
	cmpl	$-2147483648, %r9d
	sbbl	$-1, %edx
	movslq	%edi, %r9
	addq	%r9, %r8
	cmpl	%edi, %ecx
	cmovg	%edi, %ecx
	addl	$2, %esi
	cmpl	%esi, %eax
	jle	.L9
	movslq	%esi, %rsi
	movl	(%r14,%rsi,4), %esi
	movl	%esi, %eax
	negl	%eax
	cmovs	%esi, %eax
	cmpl	$-2147483648, %esi
	sbbl	$-1, %edx
	movslq	%eax, %rsi
	addq	%rsi, %r8
	cmpl	%eax, %ecx
	cmovg	%eax, %ecx
.L9:
	testl	%ecx, %ecx
	je	.L14
	andb	$1, %dl
	je	.L14
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	subq	%rcx, %r8
.L14:
	movq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L1
.L4:
	xorl	%r8d, %r8d
	jmp	.L14
.L15:
	xorl	%edx, %edx
	movl	$1111111111, %ecx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	jmp	.L7
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 458056
A:
	.zero	458056
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1111111111
	.long	1111111111
	.long	1111111111
	.long	1111111111
	.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:
```