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>
#define N 8
#define free -1
#define notfree 1
#define FALSE 2
#define TRUE 3

 int row[N],col[N],dpos[2*N-1],dneg[2*N-1];
 int X[N][N];

 void initialize(void);
 void printbord(void);
 void recursive(int);

 int main(){
            int i,j,k,r,c;
            initialize();
            
            for(i=0;i<N;i++){
                             for(j=0;j<N;j++){
                                              X[i][j]=FALSE;
                                              }
                             }
            scanf("%d",&k);
            for(i=0;i<k;i++){
                             scanf("%d%d",&r,&c);
                             X[r][c]=TRUE;
                             }
            recursive(0);

            return 0;
            }


 void initialize(){
                   int i;
                   for(i=0;i<N;i++){
                                    row[i]=free;
                                    col[i]=free;
                                    }

                   for(i=0;i<2*N-1;i++){
                                        dpos[i]=free;
                                        dneg[i]=free;
                                        }
                    }

 void printboard(){
  int i,j;
 
  for(i=0;i<N;i++)
    for(j=0;j<N;j++)
      if(X[i][j] == TRUE){
    if(row[i] != j)return;
      }
 
  for(i=0;i<N;i++){
    for(j=0;j<N;j++){
      if(row[i] == j)printf("Q");
      else printf(".");
    }
    printf("\n");
  }
}
 void recursive(int i){
                    int j;
                    if(i==N){
                             printboard();
                             return;
                             }
                    for(j=0;j<N;j++){
                      if(notfree==col[j]||notfree==dpos[i+j]||notfree==dneg[i-j+N-1])continue;
                      row[i]=j;
                      col[j]=dpos[i+j]=dneg[i-j+N-1]=notfree;
                      recursive(i+1);
                      row[i]=col[j]=dpos[i+j]=dneg[i-j+N-1]=free;
                      }
                     }



```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	row
	.bss
	.align 32
	.type	row, @object
	.size	row, 32
row:
	.zero	32
	.globl	col
	.align 32
	.type	col, @object
	.size	col, 32
col:
	.zero	32
	.globl	dpos
	.align 32
	.type	dpos, @object
	.size	dpos, 60
dpos:
	.zero	60
	.globl	dneg
	.align 32
	.type	dneg, @object
	.size	dneg, 60
dneg:
	.zero	60
	.globl	X
	.align 32
	.type	X, @object
	.size	X, 256
X:
	.zero	256
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	call	initialize
	movl	$0, -16(%rbp)
	jmp	.L2
.L5:
	movl	$0, -12(%rbp)
	jmp	.L3
.L4:
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movl	-16(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	$2, (%rdx,%rax)
	addl	$1, -12(%rbp)
.L3:
	cmpl	$7, -12(%rbp)
	jle	.L4
	addl	$1, -16(%rbp)
.L2:
	cmpl	$7, -16(%rbp)
	jle	.L5
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L6
.L7:
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-24(%rbp), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	$3, (%rdx,%rax)
	addl	$1, -16(%rbp)
.L6:
	movl	-28(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L7
	movl	$0, %edi
	call	recursive
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	initialize
	.type	initialize, @function
initialize:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, -4(%rbp)
	jmp	.L11
.L12:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	row(%rip), %rax
	movl	$-1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	col(%rip), %rax
	movl	$-1, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L11:
	cmpl	$7, -4(%rbp)
	jle	.L12
	movl	$0, -4(%rbp)
	jmp	.L13
.L14:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	$-1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dneg(%rip), %rax
	movl	$-1, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L13:
	cmpl	$14, -4(%rbp)
	jle	.L14
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	initialize, .-initialize
	.globl	printboard
	.type	printboard, @function
printboard:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -8(%rbp)
	jmp	.L16
.L21:
	movl	$0, -4(%rbp)
	jmp	.L17
.L20:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-8(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$3, %eax
	jne	.L18
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	row(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jne	.L28
.L18:
	addl	$1, -4(%rbp)
.L17:
	cmpl	$7, -4(%rbp)
	jle	.L20
	addl	$1, -8(%rbp)
.L16:
	cmpl	$7, -8(%rbp)
	jle	.L21
	movl	$0, -8(%rbp)
	jmp	.L22
.L27:
	movl	$0, -4(%rbp)
	jmp	.L23
.L26:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	row(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jne	.L24
	movl	$81, %edi
	call	putchar@PLT
	jmp	.L25
.L24:
	movl	$46, %edi
	call	putchar@PLT
.L25:
	addl	$1, -4(%rbp)
.L23:
	cmpl	$7, -4(%rbp)
	jle	.L26
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -8(%rbp)
.L22:
	cmpl	$7, -8(%rbp)
	jle	.L27
	jmp	.L15
.L28:
	nop
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	printboard, .-printboard
	.globl	recursive
	.type	recursive, @function
recursive:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	cmpl	$8, -20(%rbp)
	jne	.L30
	movl	$0, %eax
	call	printboard
	jmp	.L29
.L30:
	movl	$0, -4(%rbp)
	jmp	.L32
.L36:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	col(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$1, %eax
	je	.L37
	movl	-20(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$1, %eax
	je	.L37
	movl	-20(%rbp), %eax
	subl	-4(%rbp), %eax
	addl	$7, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dneg(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$1, %eax
	je	.L37
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	row(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-20(%rbp), %eax
	subl	-4(%rbp), %eax
	leal	7(%rax), %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dneg(%rip), %rax
	movl	$1, (%rcx,%rax)
	movl	-20(%rbp), %ecx
	movl	-4(%rbp), %eax
	addl	%ecx, %eax
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	dneg(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	movslq	%eax, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	dpos(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	col(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %edi
	call	recursive
	movl	-20(%rbp), %eax
	subl	-4(%rbp), %eax
	leal	7(%rax), %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dneg(%rip), %rax
	movl	$-1, (%rcx,%rax)
	movl	-20(%rbp), %ecx
	movl	-4(%rbp), %eax
	addl	%ecx, %eax
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	dneg(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	movslq	%eax, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	dpos(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	col(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	col(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	row(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	jmp	.L35
.L37:
	nop
.L35:
	addl	$1, -4(%rbp)
.L32:
	cmpl	$7, -4(%rbp)
	jle	.L36
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	recursive, .-recursive
	.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
	.p2align 4
	.globl	initialize
	.type	initialize, @function
initialize:
.LFB24:
	.cfi_startproc
	endbr64
	movq	$-1, 48+dpos(%rip)
	pcmpeqd	%xmm0, %xmm0
	movl	$-1, 56+dpos(%rip)
	movq	$-1, 48+dneg(%rip)
	movl	$-1, 56+dneg(%rip)
	movaps	%xmm0, row(%rip)
	movaps	%xmm0, 16+row(%rip)
	movaps	%xmm0, col(%rip)
	movaps	%xmm0, 16+col(%rip)
	movaps	%xmm0, dpos(%rip)
	movaps	%xmm0, 16+dpos(%rip)
	movaps	%xmm0, 32+dpos(%rip)
	movaps	%xmm0, dneg(%rip)
	movaps	%xmm0, 16+dneg(%rip)
	movaps	%xmm0, 32+dneg(%rip)
	ret
	.cfi_endproc
.LFE24:
	.size	initialize, .-initialize
	.p2align 4
	.globl	printboard
	.type	printboard, @function
printboard:
.LFB25:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	X(%rip), %rax
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	row(%rip), %rbp
	leaq	256(%rax), %rcx
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdx
.L4:
	cmpl	$3, (%rax)
	je	.L48
	cmpl	$3, 4(%rax)
	jne	.L9
	cmpl	$1, (%rdx)
	jne	.L3
	cmpl	$3, 8(%rax)
	je	.L3
	cmpl	$3, 12(%rax)
	je	.L3
.L13:
	cmpl	$3, 16(%rax)
	jne	.L15
	cmpl	$4, (%rdx)
	jne	.L3
	cmpl	$3, 20(%rax)
	je	.L3
	cmpl	$3, 24(%rax)
	je	.L3
.L19:
	cmpl	$3, 28(%rax)
	jne	.L21
	cmpl	$7, (%rdx)
	jne	.L3
.L21:
	addq	$32, %rax
	addq	$4, %rdx
	cmpq	%rcx, %rax
	jne	.L4
	leaq	32+row(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L25:
	cmpl	%ebx, 0(%rbp)
	je	.L49
	movl	$46, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	$8, %ebx
	jne	.L25
.L24:
	movl	$10, %edi
	addq	$4, %rbp
	call	putchar@PLT
	cmpq	%r12, %rbp
	jne	.L5
.L3:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	cmpl	$3, 8(%rax)
	jne	.L11
	cmpl	$2, (%rdx)
	jne	.L3
	cmpl	$3, 12(%rax)
	je	.L3
	cmpl	$3, 16(%rax)
	je	.L3
.L15:
	cmpl	$3, 20(%rax)
	jne	.L17
	cmpl	$5, (%rdx)
	jne	.L3
	cmpl	$3, 24(%rax)
	je	.L3
.L40:
	cmpl	$3, 28(%rax)
	jne	.L21
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L48:
	movl	(%rdx), %esi
	testl	%esi, %esi
	jne	.L3
	cmpl	$3, 4(%rax)
	je	.L3
	cmpl	$3, 8(%rax)
	je	.L3
.L11:
	cmpl	$3, 12(%rax)
	jne	.L13
	cmpl	$3, (%rdx)
	jne	.L3
	cmpl	$3, 16(%rax)
	je	.L3
	cmpl	$3, 20(%rax)
	je	.L3
.L17:
	cmpl	$3, 24(%rax)
	jne	.L19
	cmpl	$6, (%rdx)
	je	.L40
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L49:
	movl	$81, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	$8, %ebx
	jne	.L25
	jmp	.L24
	.cfi_endproc
.LFE25:
	.size	printboard, .-printboard
	.p2align 4
	.type	recursive.part.0, @function
recursive.part.0:
.LFB28:
	.cfi_startproc
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edi, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	cmpl	$7, %edi
	je	.L51
	leal	7(%r15), %esi
	addl	$1, %edi
	leaq	col(%rip), %r12
	xorl	%ebx, %ebx
	movl	%esi, 12(%rsp)
	leaq	dpos(%rip), %rax
	leaq	dneg(%rip), %rdx
	leaq	row(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L53:
	cmpl	$1, (%r12)
	je	.L52
	leal	(%r15,%rbx), %ebp
	movslq	%ebp, %rbp
	cmpl	$1, (%rax,%rbp,4)
	je	.L52
	movl	12(%rsp), %r13d
	subl	%ebx, %r13d
	movslq	%r13d, %r13
	cmpl	$1, (%rdx,%r13,4)
	je	.L52
	movslq	%r15d, %rcx
	movl	$1, (%rdx,%r13,4)
	movl	%ebx, (%r14,%rcx,4)
	movl	$1, (%rax,%rbp,4)
	movq	%rcx, (%rsp)
	movl	%edi, 8(%rsp)
	movl	$1, (%r12)
	call	recursive.part.0
	movq	(%rsp), %rcx
	leaq	dneg(%rip), %rdx
	leaq	dpos(%rip), %rax
	movl	$-1, (%rdx,%r13,4)
	movl	8(%rsp), %edi
	movl	$-1, (%rax,%rbp,4)
	movl	$-1, (%r12)
	movl	$-1, (%r14,%rcx,4)
.L52:
	addl	$1, %ebx
	addq	$4, %r12
	cmpl	$8, %ebx
	jne	.L53
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L51:
	.cfi_restore_state
	leaq	col(%rip), %r12
	xorl	%ebx, %ebx
	leaq	dpos(%rip), %r15
	leaq	dneg(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L56:
	cmpl	$1, (%r12)
	je	.L55
	leal	7(%rbx), %ebp
	movslq	%ebp, %rbp
	cmpl	$1, (%r15,%rbp,4)
	je	.L55
	movl	$14, %r13d
	subl	%ebx, %r13d
	movslq	%r13d, %r13
	cmpl	$1, (%r14,%r13,4)
	je	.L55
	movl	$1, (%r14,%r13,4)
	xorl	%eax, %eax
	movl	$1, (%r15,%rbp,4)
	movl	%ebx, 28+row(%rip)
	movl	$1, (%r12)
	call	printboard
	movl	$-1, (%r14,%r13,4)
	movl	$-1, (%r15,%rbp,4)
	movl	$-1, (%r12)
	movl	$-1, 28+row(%rip)
.L55:
	addl	$1, %ebx
	addq	$4, %r12
	cmpl	$8, %ebx
	jne	.L56
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE28:
	.size	recursive.part.0, .-recursive.part.0
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pcmpeqd	%xmm0, %xmm0
	leaq	.LC1(%rip), %rdi
	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
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movaps	%xmm0, row(%rip)
	leaq	12(%rsp), %rsi
	movaps	%xmm0, 16+row(%rip)
	movaps	%xmm0, col(%rip)
	movaps	%xmm0, 16+col(%rip)
	movaps	%xmm0, dpos(%rip)
	movaps	%xmm0, 16+dpos(%rip)
	movaps	%xmm0, 32+dpos(%rip)
	movaps	%xmm0, dneg(%rip)
	movaps	%xmm0, 16+dneg(%rip)
	movaps	%xmm0, 32+dneg(%rip)
	movdqa	.LC0(%rip), %xmm0
	movq	$-1, 48+dpos(%rip)
	movaps	%xmm0, X(%rip)
	movaps	%xmm0, 16+X(%rip)
	movaps	%xmm0, 32+X(%rip)
	movaps	%xmm0, 48+X(%rip)
	movaps	%xmm0, 64+X(%rip)
	movaps	%xmm0, 80+X(%rip)
	movaps	%xmm0, 96+X(%rip)
	movaps	%xmm0, 112+X(%rip)
	movaps	%xmm0, 128+X(%rip)
	movl	$-1, 56+dpos(%rip)
	movq	$-1, 48+dneg(%rip)
	movl	$-1, 56+dneg(%rip)
	movaps	%xmm0, 144+X(%rip)
	movaps	%xmm0, 160+X(%rip)
	movaps	%xmm0, 176+X(%rip)
	movaps	%xmm0, 192+X(%rip)
	movaps	%xmm0, 208+X(%rip)
	movaps	%xmm0, 224+X(%rip)
	movaps	%xmm0, 240+X(%rip)
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L61
	xorl	%ebx, %ebx
	leaq	20(%rsp), %r14
	leaq	16(%rsp), %r13
	leaq	.LC2(%rip), %r12
	leaq	X(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L62:
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	20(%rsp), %rax
	movslq	16(%rsp), %rdx
	addl	$1, %ebx
	leaq	(%rax,%rdx,8), %rax
	movl	$3, 0(%rbp,%rax,4)
	cmpl	%ebx, 12(%rsp)
	jg	.L62
.L61:
	xorl	%edi, %edi
	call	recursive.part.0
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L66
	addq	$32, %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
.L66:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.text
	.p2align 4
	.globl	recursive
	.type	recursive, @function
recursive:
.LFB26:
	.cfi_startproc
	endbr64
	cmpl	$8, %edi
	je	.L69
	jmp	recursive.part.0
	.p2align 4,,10
	.p2align 3
.L69:
	xorl	%eax, %eax
	jmp	printboard
	.cfi_endproc
.LFE26:
	.size	recursive, .-recursive
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 256
X:
	.zero	256
	.globl	dneg
	.align 32
	.type	dneg, @object
	.size	dneg, 60
dneg:
	.zero	60
	.globl	dpos
	.align 32
	.type	dpos, @object
	.size	dpos, 60
dpos:
	.zero	60
	.globl	col
	.align 32
	.type	col, @object
	.size	col, 32
col:
	.zero	32
	.globl	row
	.align 32
	.type	row, @object
	.size	row, 32
row:
	.zero	32
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	2
	.long	2
	.long	2
	.long	2
	.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
	.p2align 4
	.globl	initialize
	.type	initialize, @function
initialize:
.LFB24:
	.cfi_startproc
	endbr64
	movq	$-1, 48+dpos(%rip)
	pcmpeqd	%xmm0, %xmm0
	movl	$-1, 56+dpos(%rip)
	movq	$-1, 48+dneg(%rip)
	movl	$-1, 56+dneg(%rip)
	movaps	%xmm0, row(%rip)
	movaps	%xmm0, 16+row(%rip)
	movaps	%xmm0, col(%rip)
	movaps	%xmm0, 16+col(%rip)
	movaps	%xmm0, dpos(%rip)
	movaps	%xmm0, 16+dpos(%rip)
	movaps	%xmm0, 32+dpos(%rip)
	movaps	%xmm0, dneg(%rip)
	movaps	%xmm0, 16+dneg(%rip)
	movaps	%xmm0, 32+dneg(%rip)
	ret
	.cfi_endproc
.LFE24:
	.size	initialize, .-initialize
	.p2align 4
	.globl	printboard
	.type	printboard, @function
printboard:
.LFB25:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	X(%rip), %rax
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	row(%rip), %rbp
	leaq	256(%rax), %rcx
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdx
.L4:
	cmpl	$3, (%rax)
	je	.L48
	cmpl	$3, 4(%rax)
	jne	.L9
	cmpl	$1, (%rdx)
	jne	.L3
	cmpl	$3, 8(%rax)
	je	.L3
	cmpl	$3, 12(%rax)
	je	.L3
.L13:
	cmpl	$3, 16(%rax)
	jne	.L15
	cmpl	$4, (%rdx)
	jne	.L3
	cmpl	$3, 20(%rax)
	je	.L3
	cmpl	$3, 24(%rax)
	je	.L3
.L19:
	cmpl	$3, 28(%rax)
	jne	.L21
	cmpl	$7, (%rdx)
	jne	.L3
.L21:
	addq	$32, %rax
	addq	$4, %rdx
	cmpq	%rcx, %rax
	jne	.L4
	leaq	32+row(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L25:
	cmpl	%ebx, 0(%rbp)
	je	.L49
	movl	$46, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	$8, %ebx
	jne	.L25
.L24:
	movl	$10, %edi
	addq	$4, %rbp
	call	putchar@PLT
	cmpq	%r12, %rbp
	jne	.L5
.L3:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	cmpl	$3, 8(%rax)
	jne	.L11
	cmpl	$2, (%rdx)
	jne	.L3
	cmpl	$3, 12(%rax)
	je	.L3
	cmpl	$3, 16(%rax)
	je	.L3
.L15:
	cmpl	$3, 20(%rax)
	jne	.L17
	cmpl	$5, (%rdx)
	jne	.L3
	cmpl	$3, 24(%rax)
	je	.L3
.L40:
	cmpl	$3, 28(%rax)
	jne	.L21
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L48:
	movl	(%rdx), %esi
	testl	%esi, %esi
	jne	.L3
	cmpl	$3, 4(%rax)
	je	.L3
	cmpl	$3, 8(%rax)
	je	.L3
.L11:
	cmpl	$3, 12(%rax)
	jne	.L13
	cmpl	$3, (%rdx)
	jne	.L3
	cmpl	$3, 16(%rax)
	je	.L3
	cmpl	$3, 20(%rax)
	je	.L3
.L17:
	cmpl	$3, 24(%rax)
	jne	.L19
	cmpl	$6, (%rdx)
	je	.L40
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L49:
	movl	$81, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	$8, %ebx
	jne	.L25
	jmp	.L24
	.cfi_endproc
.LFE25:
	.size	printboard, .-printboard
	.p2align 4
	.type	recursive.part.0, @function
recursive.part.0:
.LFB28:
	.cfi_startproc
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edi, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	cmpl	$7, %edi
	je	.L51
	leal	7(%r15), %esi
	addl	$1, %edi
	leaq	col(%rip), %r12
	xorl	%ebx, %ebx
	movl	%esi, 12(%rsp)
	leaq	dpos(%rip), %rax
	leaq	dneg(%rip), %rdx
	leaq	row(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L53:
	cmpl	$1, (%r12)
	je	.L52
	leal	(%r15,%rbx), %ebp
	movslq	%ebp, %rbp
	cmpl	$1, (%rax,%rbp,4)
	je	.L52
	movl	12(%rsp), %r13d
	subl	%ebx, %r13d
	movslq	%r13d, %r13
	cmpl	$1, (%rdx,%r13,4)
	je	.L52
	movslq	%r15d, %rcx
	movl	$1, (%rdx,%r13,4)
	movl	%ebx, (%r14,%rcx,4)
	movl	$1, (%rax,%rbp,4)
	movq	%rcx, (%rsp)
	movl	%edi, 8(%rsp)
	movl	$1, (%r12)
	call	recursive.part.0
	movq	(%rsp), %rcx
	leaq	dneg(%rip), %rdx
	leaq	dpos(%rip), %rax
	movl	$-1, (%rdx,%r13,4)
	movl	8(%rsp), %edi
	movl	$-1, (%rax,%rbp,4)
	movl	$-1, (%r12)
	movl	$-1, (%r14,%rcx,4)
.L52:
	addl	$1, %ebx
	addq	$4, %r12
	cmpl	$8, %ebx
	jne	.L53
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L51:
	.cfi_restore_state
	leaq	col(%rip), %r12
	xorl	%ebx, %ebx
	leaq	dpos(%rip), %r15
	leaq	dneg(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L56:
	cmpl	$1, (%r12)
	je	.L55
	leal	7(%rbx), %ebp
	movslq	%ebp, %rbp
	cmpl	$1, (%r15,%rbp,4)
	je	.L55
	movl	$14, %r13d
	subl	%ebx, %r13d
	movslq	%r13d, %r13
	cmpl	$1, (%r14,%r13,4)
	je	.L55
	movl	$1, (%r14,%r13,4)
	xorl	%eax, %eax
	movl	$1, (%r15,%rbp,4)
	movl	%ebx, 28+row(%rip)
	movl	$1, (%r12)
	call	printboard
	movl	$-1, (%r14,%r13,4)
	movl	$-1, (%r15,%rbp,4)
	movl	$-1, (%r12)
	movl	$-1, 28+row(%rip)
.L55:
	addl	$1, %ebx
	addq	$4, %r12
	cmpl	$8, %ebx
	jne	.L56
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE28:
	.size	recursive.part.0, .-recursive.part.0
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pcmpeqd	%xmm0, %xmm0
	leaq	.LC1(%rip), %rdi
	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
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movaps	%xmm0, row(%rip)
	leaq	12(%rsp), %rsi
	movaps	%xmm0, 16+row(%rip)
	movaps	%xmm0, col(%rip)
	movaps	%xmm0, 16+col(%rip)
	movaps	%xmm0, dpos(%rip)
	movaps	%xmm0, 16+dpos(%rip)
	movaps	%xmm0, 32+dpos(%rip)
	movaps	%xmm0, dneg(%rip)
	movaps	%xmm0, 16+dneg(%rip)
	movaps	%xmm0, 32+dneg(%rip)
	movdqa	.LC0(%rip), %xmm0
	movq	$-1, 48+dpos(%rip)
	movaps	%xmm0, X(%rip)
	movaps	%xmm0, 16+X(%rip)
	movaps	%xmm0, 32+X(%rip)
	movaps	%xmm0, 48+X(%rip)
	movaps	%xmm0, 64+X(%rip)
	movaps	%xmm0, 80+X(%rip)
	movaps	%xmm0, 96+X(%rip)
	movaps	%xmm0, 112+X(%rip)
	movaps	%xmm0, 128+X(%rip)
	movl	$-1, 56+dpos(%rip)
	movq	$-1, 48+dneg(%rip)
	movl	$-1, 56+dneg(%rip)
	movaps	%xmm0, 144+X(%rip)
	movaps	%xmm0, 160+X(%rip)
	movaps	%xmm0, 176+X(%rip)
	movaps	%xmm0, 192+X(%rip)
	movaps	%xmm0, 208+X(%rip)
	movaps	%xmm0, 224+X(%rip)
	movaps	%xmm0, 240+X(%rip)
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L61
	xorl	%ebx, %ebx
	leaq	20(%rsp), %r14
	leaq	16(%rsp), %r13
	leaq	.LC2(%rip), %r12
	leaq	X(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L62:
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	20(%rsp), %rax
	movslq	16(%rsp), %rdx
	addl	$1, %ebx
	leaq	(%rax,%rdx,8), %rax
	movl	$3, 0(%rbp,%rax,4)
	cmpl	%ebx, 12(%rsp)
	jg	.L62
.L61:
	xorl	%edi, %edi
	call	recursive.part.0
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L66
	addq	$32, %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
.L66:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.text
	.p2align 4
	.globl	recursive
	.type	recursive, @function
recursive:
.LFB26:
	.cfi_startproc
	endbr64
	cmpl	$8, %edi
	je	.L69
	jmp	recursive.part.0
	.p2align 4,,10
	.p2align 3
.L69:
	xorl	%eax, %eax
	jmp	printboard
	.cfi_endproc
.LFE26:
	.size	recursive, .-recursive
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 256
X:
	.zero	256
	.globl	dneg
	.align 32
	.type	dneg, @object
	.size	dneg, 60
dneg:
	.zero	60
	.globl	dpos
	.align 32
	.type	dpos, @object
	.size	dpos, 60
dpos:
	.zero	60
	.globl	col
	.align 32
	.type	col, @object
	.size	col, 32
col:
	.zero	32
	.globl	row
	.align 32
	.type	row, @object
	.size	row, 32
row:
	.zero	32
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	2
	.long	2
	.long	2
	.long	2
	.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>
#define N 8
#define free -1
#define notfree 1
#define FALSE 2
#define TRUE 3

 int row[N],col[N],dpos[2*N-1],dneg[2*N-1];
 int X[N][N];

 void initialize(void);
 void printbord(void);
 void recursive(int);

 int main(){
            int i,j,k,r,c;
            initialize();
            
            for(i=0;i<N;i++){
                             for(j=0;j<N;j++){
                                              X[i][j]=FALSE;
                                              }
                             }
            scanf("%d",&k);
            for(i=0;i<k;i++){
                             scanf("%d%d",&r,&c);
                             X[r][c]=TRUE;
                             }
            recursive(0);

            return 0;
            }


 void initialize(){
                   int i;
                   for(i=0;i<N;i++){
                                    row[i]=free;
                                    col[i]=free;
                                    }

                   for(i=0;i<2*N-1;i++){
                                        dpos[i]=free;
                                        dneg[i]=free;
                                        }
                    }

 void printboard(){
  int i,j;
 
  for(i=0;i<N;i++)
    for(j=0;j<N;j++)
      if(X[i][j] == TRUE){
    if(row[i] != j)return;
      }
 
  for(i=0;i<N;i++){
    for(j=0;j<N;j++){
      if(row[i] == j)printf("Q");
      else printf(".");
    }
    printf("\n");
  }
}
 void recursive(int i){
                    int j;
                    if(i==N){
                             printboard();
                             return;
                             }
                    for(j=0;j<N;j++){
                      if(notfree==col[j]||notfree==dpos[i+j]||notfree==dneg[i-j+N-1])continue;
                      row[i]=j;
                      col[j]=dpos[i+j]=dneg[i-j+N-1]=notfree;
                      recursive(i+1);
                      row[i]=col[j]=dpos[i+j]=dneg[i-j+N-1]=free;
                      }
                     }




2
1 4
5 3
 2
0 4
5 3
 2
0 4
5 2
 2
1 4
6 3
 2
1 0
5 3
 2
2 4
6 3
 2
0 0
5 1
 2
3 0
5 5
 2
0 4
4 3
 2
2 0
5 5

..Q.....
....Q...
.Q......
.......Q
.....Q..
...Q....
......Q.
Q.......
 ....Q...
.Q......
.....Q..
Q.......
......Q.
...Q....
.......Q
..Q.....
 ....Q...
.Q......
...Q....
.....Q..
.......Q
..Q.....
Q.......
......Q.
 ..Q.....
....Q...
.Q......
.......Q
Q.......
......Q.
...Q....
.....Q..
 ......Q.
Q.......
..Q.....
.......Q
.....Q..
...Q....
.Q......
....Q...
 .......Q
.Q......
....Q...
..Q.....
Q.......
......Q.
...Q....
.....Q..
 Q.......
......Q.
...Q....
.....Q..
.......Q
.Q......
....Q...
..Q.....
 ....Q...
.......Q
...Q....
Q.......
..Q.....
.....Q..
.Q......
......Q.
 ....Q...
.Q......
.......Q
Q.......
...Q....
......Q.
..Q.....
.....Q..
 ....Q...
......Q.
Q.......
..Q.....
.......Q
.....Q..
...Q....
.Q......

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>
#define N 8
#define free -1
#define notfree 1
#define FALSE 2
#define TRUE 3

 int row[N],col[N],dpos[2*N-1],dneg[2*N-1];
 int X[N][N];

 void initialize(void);
 void printbord(void);
 void recursive(int);

 int main(){
            int i,j,k,r,c;
            initialize();
            
            for(i=0;i<N;i++){
                             for(j=0;j<N;j++){
                                              X[i][j]=FALSE;
                                              }
                             }
            scanf("%d",&k);
            for(i=0;i<k;i++){
                             scanf("%d%d",&r,&c);
                             X[r][c]=TRUE;
                             }
            recursive(0);

            return 0;
            }


 void initialize(){
                   int i;
                   for(i=0;i<N;i++){
                                    row[i]=free;
                                    col[i]=free;
                                    }

                   for(i=0;i<2*N-1;i++){
                                        dpos[i]=free;
                                        dneg[i]=free;
                                        }
                    }

 void printboard(){
  int i,j;
 
  for(i=0;i<N;i++)
    for(j=0;j<N;j++)
      if(X[i][j] == TRUE){
    if(row[i] != j)return;
      }
 
  for(i=0;i<N;i++){
    for(j=0;j<N;j++){
      if(row[i] == j)printf("Q");
      else printf(".");
    }
    printf("\n");
  }
}
 void recursive(int i){
                    int j;
                    if(i==N){
                             printboard();
                             return;
                             }
                    for(j=0;j<N;j++){
                      if(notfree==col[j]||notfree==dpos[i+j]||notfree==dneg[i-j+N-1])continue;
                      row[i]=j;
                      col[j]=dpos[i+j]=dneg[i-j+N-1]=notfree;
                      recursive(i+1);
                      row[i]=col[j]=dpos[i+j]=dneg[i-j+N-1]=free;
                      }
                     }



```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	row
	.bss
	.align 32
	.type	row, @object
	.size	row, 32
row:
	.zero	32
	.globl	col
	.align 32
	.type	col, @object
	.size	col, 32
col:
	.zero	32
	.globl	dpos
	.align 32
	.type	dpos, @object
	.size	dpos, 60
dpos:
	.zero	60
	.globl	dneg
	.align 32
	.type	dneg, @object
	.size	dneg, 60
dneg:
	.zero	60
	.globl	X
	.align 32
	.type	X, @object
	.size	X, 256
X:
	.zero	256
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	call	initialize
	movl	$0, -16(%rbp)
	jmp	.L2
.L5:
	movl	$0, -12(%rbp)
	jmp	.L3
.L4:
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movl	-16(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	$2, (%rdx,%rax)
	addl	$1, -12(%rbp)
.L3:
	cmpl	$7, -12(%rbp)
	jle	.L4
	addl	$1, -16(%rbp)
.L2:
	cmpl	$7, -16(%rbp)
	jle	.L5
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L6
.L7:
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-24(%rbp), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	$3, (%rdx,%rax)
	addl	$1, -16(%rbp)
.L6:
	movl	-28(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L7
	movl	$0, %edi
	call	recursive
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	initialize
	.type	initialize, @function
initialize:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, -4(%rbp)
	jmp	.L11
.L12:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	row(%rip), %rax
	movl	$-1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	col(%rip), %rax
	movl	$-1, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L11:
	cmpl	$7, -4(%rbp)
	jle	.L12
	movl	$0, -4(%rbp)
	jmp	.L13
.L14:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	$-1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dneg(%rip), %rax
	movl	$-1, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L13:
	cmpl	$14, -4(%rbp)
	jle	.L14
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	initialize, .-initialize
	.globl	printboard
	.type	printboard, @function
printboard:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -8(%rbp)
	jmp	.L16
.L21:
	movl	$0, -4(%rbp)
	jmp	.L17
.L20:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-8(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$3, %eax
	jne	.L18
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	row(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jne	.L28
.L18:
	addl	$1, -4(%rbp)
.L17:
	cmpl	$7, -4(%rbp)
	jle	.L20
	addl	$1, -8(%rbp)
.L16:
	cmpl	$7, -8(%rbp)
	jle	.L21
	movl	$0, -8(%rbp)
	jmp	.L22
.L27:
	movl	$0, -4(%rbp)
	jmp	.L23
.L26:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	row(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jne	.L24
	movl	$81, %edi
	call	putchar@PLT
	jmp	.L25
.L24:
	movl	$46, %edi
	call	putchar@PLT
.L25:
	addl	$1, -4(%rbp)
.L23:
	cmpl	$7, -4(%rbp)
	jle	.L26
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -8(%rbp)
.L22:
	cmpl	$7, -8(%rbp)
	jle	.L27
	jmp	.L15
.L28:
	nop
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	printboard, .-printboard
	.globl	recursive
	.type	recursive, @function
recursive:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	cmpl	$8, -20(%rbp)
	jne	.L30
	movl	$0, %eax
	call	printboard
	jmp	.L29
.L30:
	movl	$0, -4(%rbp)
	jmp	.L32
.L36:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	col(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$1, %eax
	je	.L37
	movl	-20(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$1, %eax
	je	.L37
	movl	-20(%rbp), %eax
	subl	-4(%rbp), %eax
	addl	$7, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dneg(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$1, %eax
	je	.L37
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	row(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-20(%rbp), %eax
	subl	-4(%rbp), %eax
	leal	7(%rax), %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dneg(%rip), %rax
	movl	$1, (%rcx,%rax)
	movl	-20(%rbp), %ecx
	movl	-4(%rbp), %eax
	addl	%ecx, %eax
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	dneg(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	movslq	%eax, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	dpos(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	col(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %edi
	call	recursive
	movl	-20(%rbp), %eax
	subl	-4(%rbp), %eax
	leal	7(%rax), %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dneg(%rip), %rax
	movl	$-1, (%rcx,%rax)
	movl	-20(%rbp), %ecx
	movl	-4(%rbp), %eax
	addl	%ecx, %eax
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	dneg(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	movslq	%eax, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	dpos(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	col(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	col(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	row(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	jmp	.L35
.L37:
	nop
.L35:
	addl	$1, -4(%rbp)
.L32:
	cmpl	$7, -4(%rbp)
	jle	.L36
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	recursive, .-recursive
	.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.
val
	.file	"temp.c"
	.text
	.globl	row
	.bss
	.align 32
	.type	row, @object
	.size	row, 32
row:
	.zero	32
	.globl	col
	.align 32
	.type	col, @object
	.size	col, 32
col:
	.zero	32
	.globl	dpos
	.align 32
	.type	dpos, @object
	.size	dpos, 60
dpos:
	.zero	60
	.globl	dneg
	.align 32
	.type	dneg, @object
	.size	dneg, 60
dneg:
	.zero	60
	.globl	X
	.align 32
	.type	X, @object
	.size	X, 256
X:
	.zero	256
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	call	initialize
	movl	$0, -16(%rbp)
	jmp	.L2
.L5:
	movl	$0, -12(%rbp)
	jmp	.L3
.L4:
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movl	-16(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	$2, (%rdx,%rax)
	addl	$1, -12(%rbp)
.L3:
	cmpl	$7, -12(%rbp)
	jle	.L4
	addl	$1, -16(%rbp)
.L2:
	cmpl	$7, -16(%rbp)
	jle	.L5
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L6
.L7:
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-24(%rbp), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	$3, (%rdx,%rax)
	addl	$1, -16(%rbp)
.L6:
	movl	-28(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L7
	movl	$0, %edi
	call	recursive
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	initialize
	.type	initialize, @function
initialize:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, -4(%rbp)
	jmp	.L11
.L12:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	row(%rip), %rax
	movl	$-1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	col(%rip), %rax
	movl	$-1, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L11:
	cmpl	$7, -4(%rbp)
	jle	.L12
	movl	$0, -4(%rbp)
	jmp	.L13
.L14:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	$-1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dneg(%rip), %rax
	movl	$-1, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L13:
	cmpl	$14, -4(%rbp)
	jle	.L14
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	initialize, .-initialize
	.globl	printboard
	.type	printboard, @function
printboard:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -8(%rbp)
	jmp	.L16
.L21:
	movl	$0, -4(%rbp)
	jmp	.L17
.L20:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-8(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$3, %eax
	jne	.L18
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	row(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jne	.L28
.L18:
	addl	$1, -4(%rbp)
.L17:
	cmpl	$7, -4(%rbp)
	jle	.L20
	addl	$1, -8(%rbp)
.L16:
	cmpl	$7, -8(%rbp)
	jle	.L21
	movl	$0, -8(%rbp)
	jmp	.L22
.L27:
	movl	$0, -4(%rbp)
	jmp	.L23
.L26:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	row(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jne	.L24
	movl	$81, %edi
	call	putchar@PLT
	jmp	.L25
.L24:
	movl	$46, %edi
	call	putchar@PLT
.L25:
	addl	$1, -4(%rbp)
.L23:
	cmpl	$7, -4(%rbp)
	jle	.L26
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -8(%rbp)
.L22:
	cmpl	$7, -8(%rbp)
	jle	.L27
	jmp	.L15
.L28:
	nop
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	printboard, .-printboard
	.globl	recursive
	.type	recursive, @function
recursive:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	cmpl	$8, -20(%rbp)
	jne	.L30
	movl	$0, %eax
	call	printboard
	jmp	.L29
.L30:
	movl	$0, -4(%rbp)
	jmp	.L32
.L36:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	col(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$1, %eax
	je	.L37
	movl	-20(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$1, %eax
	je	.L37
	movl	-20(%rbp), %eax
	subl	-4(%rbp), %eax
	addl	$7, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dneg(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$1, %eax
	je	.L37
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	row(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-20(%rbp), %eax
	subl	-4(%rbp), %eax
	leal	7(%rax), %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dneg(%rip), %rax
	movl	$1, (%rcx,%rax)
	movl	-20(%rbp), %ecx
	movl	-4(%rbp), %eax
	addl	%ecx, %eax
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	dneg(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	movslq	%eax, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	dpos(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	col(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %edi
	call	recursive
	movl	-20(%rbp), %eax
	subl	-4(%rbp), %eax
	leal	7(%rax), %edx
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	dneg(%rip), %rax
	movl	$-1, (%rcx,%rax)
	movl	-20(%rbp), %ecx
	movl	-4(%rbp), %eax
	addl	%ecx, %eax
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	dneg(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	movslq	%eax, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	dpos(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	dpos(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	col(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	col(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	row(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	jmp	.L35
.L37:
	nop
.L35:
	addl	$1, -4(%rbp)
.L32:
	cmpl	$7, -4(%rbp)
	jle	.L36
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	recursive, .-recursive
	.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:
