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>

enum {
	STAT_UL=0,
	STAT_L,
	STAT_DL,
	STAT_DR,
	STAT_R,
	STAT_UR
};

#define ishani(a) ((a)>=0 && (a)<102)
int getstat(int* kabe,int x,int y,int map[102][102]);
void gettuuro(int result[102][102],int x,int y,int map[102][102]);

int main(int argc,char* argv[]) {
	int map[102][102]={0};
	int map2[102][102]={0};
	int stat[6];
	int W,H;
	int i,j,k;
	int result;
	scanf("%d %d",&W,&H);
	for(i=0;i<H;i++) {
		for(j=0;j<W;j++) {
			scanf("%d",&map[i+1][j+1]);
		}
	}
	for(i=0;i<102;i++) {
		for(j=0;j<102;j++)map2[i][j]=1;
	}
	gettuuro(map2,0,0,map);
	result=0;
	for(i=1;i<101;i++) {
		for(j=1;j<101;j++) {
			if(getstat(stat,i,j,map2)) {
				for(k=0;k<6;k++) {
					if(!stat[k])result++;
				}
			}
		}
	}
	printf("%d\n",result);
	return 0;
}

int getstat(int* kabe,int x,int y,int map[102][102]) {
	if(y%2==1) {
		kabe[STAT_UL]=(ishani(y-1) && ishani(x))?map[y-1][x]:1;
		kabe[STAT_L]=(ishani(y) && ishani(x-1))?map[y][x-1]:1;
		kabe[STAT_DL]=(ishani(y+1) && ishani(x))?map[y+1][x]:1;
		kabe[STAT_DR]=(ishani(y+1) && ishani(x+1))?map[y+1][x+1]:1;
		kabe[STAT_R]=(ishani(y) && ishani(x+1))?map[y][x+1]:1;
		kabe[STAT_UR]=(ishani(y-1) && ishani(x+1))?map[y-1][x+1]:1;
	} else {
		kabe[STAT_UL]=(ishani(y-1) && ishani(x-1))?map[y-1][x-1]:1;
		kabe[STAT_L]=(ishani(y) && ishani(x-1))?map[y][x-1]:1;
		kabe[STAT_DL]=(ishani(y+1) && ishani(x-1))?map[y+1][x-1]:1;
		kabe[STAT_DR]=(ishani(y+1) && ishani(x))?map[y+1][x]:1;
		kabe[STAT_R]=(ishani(y) && ishani(x+1))?map[y][x+1]:1;
		kabe[STAT_UR]=(ishani(y-1) && ishani(x))?map[y-1][x]:1;
	}
	return (ishani(y) && ishani(x))?map[y][x]:1;
}

void gettuuro(int result[102][102],int x,int y,int map[102][102]) {
	int stat[6];
	if(!ishani(x) || !ishani(y))return;
	if(!result[y][x] || map[y][x])return;
	if(!getstat(stat,x,y,map)) {
		result[y][x]=0;
		if(y%2==1) {
			gettuuro(result,x,y-1,map);
			gettuuro(result,x-1,y,map);
			gettuuro(result,x,y+1,map);
			gettuuro(result,x+1,y+1,map);
			gettuuro(result,x+1,y,map);
			gettuuro(result,x+1,y-1,map);
		} else {
			gettuuro(result,x-1,y-1,map);
			gettuuro(result,x-1,y,map);
			gettuuro(result,x-1,y+1,map);
			gettuuro(result,x,y+1,map);
			gettuuro(result,x+1,y,map);
			gettuuro(result,x,y-1,map);
		}
	}
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-81920(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1408, %rsp
	movl	%edi, -83316(%rbp)
	movq	%rsi, -83328(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-83248(%rbp), %rax
	movl	$41616, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-41632(%rbp), %rax
	movl	$41616, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-83300(%rbp), %rdx
	leaq	-83304(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -83296(%rbp)
	jmp	.L2
.L5:
	movl	$0, -83292(%rbp)
	jmp	.L3
.L4:
	movl	-83296(%rbp), %eax
	leal	1(%rax), %edx
	movl	-83292(%rbp), %eax
	addl	$1, %eax
	leaq	-83248(%rbp), %rcx
	movslq	%eax, %rsi
	movslq	%edx, %rax
	imulq	$102, %rax, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -83292(%rbp)
.L3:
	movl	-83304(%rbp), %eax
	cmpl	%eax, -83292(%rbp)
	jl	.L4
	addl	$1, -83296(%rbp)
.L2:
	movl	-83300(%rbp), %eax
	cmpl	%eax, -83296(%rbp)
	jl	.L5
	movl	$0, -83296(%rbp)
	jmp	.L6
.L9:
	movl	$0, -83292(%rbp)
	jmp	.L7
.L8:
	movl	-83292(%rbp), %eax
	movslq	%eax, %rdx
	movl	-83296(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	movl	$1, -41632(%rbp,%rax,4)
	addl	$1, -83292(%rbp)
.L7:
	cmpl	$101, -83292(%rbp)
	jle	.L8
	addl	$1, -83296(%rbp)
.L6:
	cmpl	$101, -83296(%rbp)
	jle	.L9
	leaq	-83248(%rbp), %rdx
	leaq	-41632(%rbp), %rax
	movq	%rdx, %rcx
	movl	$0, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	gettuuro
	movl	$0, -83284(%rbp)
	movl	$1, -83296(%rbp)
	jmp	.L10
.L17:
	movl	$1, -83292(%rbp)
	jmp	.L11
.L16:
	leaq	-41632(%rbp), %rcx
	movl	-83292(%rbp), %edx
	movl	-83296(%rbp), %esi
	leaq	-83280(%rbp), %rax
	movq	%rax, %rdi
	call	getstat
	testl	%eax, %eax
	je	.L12
	movl	$0, -83288(%rbp)
	jmp	.L13
.L15:
	movl	-83288(%rbp), %eax
	cltq
	movl	-83280(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L14
	addl	$1, -83284(%rbp)
.L14:
	addl	$1, -83288(%rbp)
.L13:
	cmpl	$5, -83288(%rbp)
	jle	.L15
.L12:
	addl	$1, -83292(%rbp)
.L11:
	cmpl	$100, -83292(%rbp)
	jle	.L16
	addl	$1, -83296(%rbp)
.L10:
	cmpl	$100, -83296(%rbp)
	jle	.L17
	movl	-83284(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	getstat
	.type	getstat, @function
getstat:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	movl	%edx, -16(%rbp)
	movq	%rcx, -24(%rbp)
	movl	-16(%rbp), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L21
	cmpl	$0, -16(%rbp)
	jle	.L22
	cmpl	$102, -16(%rbp)
	jg	.L22
	cmpl	$0, -12(%rbp)
	js	.L22
	cmpl	$101, -12(%rbp)
	jg	.L22
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L23
.L22:
	movl	$1, %eax
.L23:
	movq	-8(%rbp), %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L24
	cmpl	$101, -16(%rbp)
	jg	.L24
	cmpl	$0, -12(%rbp)
	jle	.L24
	cmpl	$102, -12(%rbp)
	jg	.L24
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L25
.L24:
	movl	$1, %eax
.L25:
	movq	-8(%rbp), %rdx
	addq	$4, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L26
	cmpl	$100, -16(%rbp)
	jg	.L26
	cmpl	$0, -12(%rbp)
	js	.L26
	cmpl	$101, -12(%rbp)
	jg	.L26
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L27
.L26:
	movl	$1, %eax
.L27:
	movq	-8(%rbp), %rdx
	addq	$8, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L28
	cmpl	$100, -16(%rbp)
	jg	.L28
	cmpl	$-1, -12(%rbp)
	jl	.L28
	cmpl	$100, -12(%rbp)
	jg	.L28
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L29
.L28:
	movl	$1, %eax
.L29:
	movq	-8(%rbp), %rdx
	addq	$12, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L30
	cmpl	$101, -16(%rbp)
	jg	.L30
	cmpl	$-1, -12(%rbp)
	jl	.L30
	cmpl	$100, -12(%rbp)
	jg	.L30
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L31
.L30:
	movl	$1, %eax
.L31:
	movq	-8(%rbp), %rdx
	addq	$16, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	jle	.L32
	cmpl	$102, -16(%rbp)
	jg	.L32
	cmpl	$-1, -12(%rbp)
	jl	.L32
	cmpl	$100, -12(%rbp)
	jg	.L32
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L33
.L32:
	movl	$1, %eax
.L33:
	movq	-8(%rbp), %rdx
	addq	$20, %rdx
	movl	%eax, (%rdx)
	jmp	.L34
.L21:
	cmpl	$0, -16(%rbp)
	jle	.L35
	cmpl	$102, -16(%rbp)
	jg	.L35
	cmpl	$0, -12(%rbp)
	jle	.L35
	cmpl	$102, -12(%rbp)
	jg	.L35
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L36
.L35:
	movl	$1, %eax
.L36:
	movq	-8(%rbp), %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L37
	cmpl	$101, -16(%rbp)
	jg	.L37
	cmpl	$0, -12(%rbp)
	jle	.L37
	cmpl	$102, -12(%rbp)
	jg	.L37
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L38
.L37:
	movl	$1, %eax
.L38:
	movq	-8(%rbp), %rdx
	addq	$4, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L39
	cmpl	$100, -16(%rbp)
	jg	.L39
	cmpl	$0, -12(%rbp)
	jle	.L39
	cmpl	$102, -12(%rbp)
	jg	.L39
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L40
.L39:
	movl	$1, %eax
.L40:
	movq	-8(%rbp), %rdx
	addq	$8, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L41
	cmpl	$100, -16(%rbp)
	jg	.L41
	cmpl	$0, -12(%rbp)
	js	.L41
	cmpl	$101, -12(%rbp)
	jg	.L41
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L42
.L41:
	movl	$1, %eax
.L42:
	movq	-8(%rbp), %rdx
	addq	$12, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L43
	cmpl	$101, -16(%rbp)
	jg	.L43
	cmpl	$-1, -12(%rbp)
	jl	.L43
	cmpl	$100, -12(%rbp)
	jg	.L43
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L44
.L43:
	movl	$1, %eax
.L44:
	movq	-8(%rbp), %rdx
	addq	$16, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	jle	.L45
	cmpl	$102, -16(%rbp)
	jg	.L45
	cmpl	$0, -12(%rbp)
	js	.L45
	cmpl	$101, -12(%rbp)
	jg	.L45
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L46
.L45:
	movl	$1, %eax
.L46:
	movq	-8(%rbp), %rdx
	addq	$20, %rdx
	movl	%eax, (%rdx)
.L34:
	cmpl	$0, -16(%rbp)
	js	.L47
	cmpl	$101, -16(%rbp)
	jg	.L47
	cmpl	$0, -12(%rbp)
	js	.L47
	cmpl	$101, -12(%rbp)
	jg	.L47
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L49
.L47:
	movl	$1, %eax
.L49:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	getstat, .-getstat
	.globl	gettuuro
	.type	gettuuro, @function
gettuuro:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movl	%edx, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)
	js	.L60
	cmpl	$101, -44(%rbp)
	jg	.L60
	cmpl	$0, -48(%rbp)
	js	.L60
	cmpl	$101, -48(%rbp)
	jg	.L60
	movl	-48(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-44(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	je	.L61
	movl	-48(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-56(%rbp), %rax
	addq	%rax, %rdx
	movl	-44(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	jne	.L61
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	leaq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	getstat
	testl	%eax, %eax
	jne	.L50
	movl	-48(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-44(%rbp), %eax
	cltq
	movl	$0, (%rdx,%rax,4)
	movl	-48(%rbp), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L57
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	jmp	.L50
.L57:
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	jmp	.L50
.L60:
	nop
	jmp	.L50
.L61:
	nop
.L50:
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	gettuuro, .-gettuuro
	.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	getstat
	.type	getstat, @function
getstat:
.LFB24:
	.cfi_startproc
	endbr64
	movslq	%edx, %rax
	movl	%eax, %r8d
	leal	-1(%rax), %r10d
	shrl	$31, %r8d
	leal	(%rax,%r8), %edx
	andl	$1, %edx
	subl	%r8d, %edx
	cmpl	$1, %edx
	je	.L59
	cmpl	$101, %r10d
	ja	.L15
	leal	-1(%rsi), %edx
	cmpl	$101, %edx
	jbe	.L60
	movl	$1, (%rdi)
	cmpl	$102, %eax
	je	.L19
.L20:
	movl	$1, 4(%rdi)
	cmpl	$101, %eax
	je	.L22
.L23:
	movl	$1, %edx
.L24:
	movl	%edx, 8(%rdi)
	cmpl	$101, %esi
	ja	.L56
	leal	1(%rax), %edx
	movslq	%esi, %r8
	movslq	%edx, %rdx
	imulq	$408, %rdx, %rdx
	addq	%rcx, %rdx
	movl	(%rdx,%r8,4), %edx
	movl	%edx, 12(%rdi)
	movl	$1, %edx
	cmpl	$101, %eax
	jbe	.L61
	.p2align 4,,10
	.p2align 3
.L25:
	movl	%edx, 16(%rdi)
	cmpl	$101, %r10d
	ja	.L44
.L64:
	cmpl	$101, %esi
	ja	.L27
	movslq	%eax, %rdx
	movslq	%esi, %r8
	imulq	$408, %rdx, %rdx
	leaq	-408(%rcx,%rdx), %rdx
	movl	(%rdx,%r8,4), %edx
	movl	%edx, 20(%rdi)
	cmpl	$101, %eax
	jbe	.L62
.L57:
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$1, (%rdi)
	cmpl	$101, %eax
	ja	.L19
	leal	-1(%rsi), %edx
	cmpl	$101, %edx
	ja	.L20
	xorl	%r8d, %r8d
.L17:
	movslq	%edx, %r9
	leaq	(%rcx,%r9,4), %rdx
	movl	(%rdx,%r8), %edx
	leal	1(%rax), %r8d
	movl	%edx, 4(%rdi)
	cmpl	$101, %r8d
	ja	.L22
.L21:
	movslq	%r8d, %r8
	imulq	$408, %r8, %r8
	addq	%rcx, %r8
	movl	(%r8,%r9,4), %edx
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L19:
	leal	1(%rax), %r8d
	movl	$1, 4(%rdi)
	cmpl	$101, %r8d
	jbe	.L63
.L22:
	movl	$1, 8(%rdi)
.L56:
	movl	$1, %edx
	movl	%edx, 12(%rdi)
	movl	$1, %edx
	cmpl	$101, %eax
	ja	.L25
.L61:
	leal	1(%rsi), %r9d
	cmpl	$101, %r9d
	ja	.L25
	movslq	%eax, %rdx
	movslq	%r9d, %r9
	imulq	$408, %rdx, %rdx
	addq	%rcx, %rdx
	movl	(%rdx,%r9,4), %edx
	movl	%edx, 16(%rdi)
	cmpl	$101, %r10d
	jbe	.L64
.L44:
	movl	$1, %edx
.L14:
	movl	%edx, 20(%rdi)
	cmpl	$101, %eax
	ja	.L57
.L62:
	cmpl	$101, %esi
	ja	.L57
	imulq	$408, %rax, %rax
	movslq	%esi, %rsi
	addq	%rcx, %rax
	movl	(%rax,%rsi,4), %eax
	ret
	.p2align 4,,10
	.p2align 3
.L59:
	movl	$1, %r8d
	cmpl	$101, %r10d
	ja	.L3
	cmpl	$101, %esi
	ja	.L3
	movslq	%eax, %r8
	movslq	%esi, %r9
	imulq	$408, %r8, %r8
	leaq	-408(%rcx,%r8), %r8
	movl	(%r8,%r9,4), %r8d
.L3:
	movl	%r8d, (%rdi)
	cmpl	$101, %eax
	ja	.L4
	leal	-1(%rsi), %r9d
	movl	$1, %r8d
	cmpl	$101, %r9d
	ja	.L5
	movslq	%eax, %r8
	movslq	%r9d, %r9
	imulq	$408, %r8, %r8
	addq	%rcx, %r8
	movl	(%r8,%r9,4), %r8d
.L5:
	movl	%r8d, 4(%rdi)
	leal	1(%rax), %r8d
	cmpl	$101, %r8d
	jbe	.L36
	movabsq	$4294967297, %r11
	movq	%r11, 8(%rdi)
	cmpl	$101, %eax
	jne	.L30
	leal	1(%rsi), %r9d
	cmpl	$101, %r9d
	ja	.L10
	movslq	%r9d, %r11
.L8:
	movslq	%eax, %r8
	leaq	(%rcx,%r11,4), %r9
	imulq	$408, %r8, %r8
	movl	(%r9,%r8), %r9d
	movl	%r9d, 16(%rdi)
	cmpl	$101, %r10d
	ja	.L14
.L11:
	leaq	(%rcx,%r11,4), %rdx
	movl	-408(%r8,%rdx), %edx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L4:
	leal	1(%rax), %r8d
	movl	$1, 4(%rdi)
	cmpl	$101, %r8d
	jbe	.L36
	movabsq	$4294967297, %r11
	movq	%r11, 8(%rdi)
.L30:
	movl	$1, 16(%rdi)
	cmpl	$101, %r10d
	ja	.L14
	leal	1(%rsi), %r9d
	cmpl	$101, %r9d
	ja	.L14
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L60:
	movslq	%eax, %r8
	movslq	%edx, %r9
	imulq	$408, %r8, %r8
	leaq	(%rcx,%r9,4), %r9
	movl	-408(%r8,%r9), %r9d
	movl	%r9d, (%rdi)
	cmpl	$102, %eax
	jne	.L17
	movl	$1, 4(%rdi)
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L27:
	movl	$1, 20(%rdi)
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L63:
	leal	-1(%rsi), %r9d
	cmpl	$101, %r9d
	ja	.L23
	movslq	%r9d, %r9
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L65:
	movl	$1, 12(%rdi)
	cmpl	$101, %eax
	ja	.L30
.L10:
	movl	$1, 16(%rdi)
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L36:
	movl	$1, %r9d
	cmpl	$101, %esi
	ja	.L7
	movslq	%r8d, %r9
	movslq	%esi, %r11
	imulq	$408, %r9, %r9
	addq	%rcx, %r9
	movl	(%r9,%r11,4), %r9d
.L7:
	movl	%r9d, 8(%rdi)
	leal	1(%rsi), %r9d
	cmpl	$101, %r9d
	ja	.L65
	movslq	%r8d, %r8
	movslq	%r9d, %r11
	imulq	$408, %r8, %r8
	addq	%rcx, %r8
	movl	(%r8,%r11,4), %r8d
	movl	%r8d, 12(%rdi)
	cmpl	$101, %eax
	jbe	.L8
	movl	$1, 16(%rdi)
	cmpl	$101, %r10d
	ja	.L14
.L35:
	movslq	%eax, %r8
	movslq	%r9d, %r11
	imulq	$408, %r8, %r8
	jmp	.L11
	.cfi_endproc
.LFE24:
	.size	getstat, .-getstat
	.p2align 4
	.globl	gettuuro
	.type	gettuuro, @function
gettuuro:
.LFB25:
	.cfi_startproc
	endbr64
	cmpl	$101, %esi
	ja	.L72
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	movl	%edx, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	cmpl	$101, %edx
	ja	.L66
	movslq	%edx, %r14
	movq	%rdi, %rbx
	movslq	%esi, %rax
	movl	%esi, %r13d
	imulq	$408, %r14, %r14
	movq	%rcx, %rbp
	leaq	(%rbx,%r14), %rdx
	movl	(%rdx,%rax,4), %esi
	testl	%esi, %esi
	je	.L66
.L76:
	leaq	0(%rbp,%rax,4), %rcx
	movl	(%rcx,%r14), %ecx
	testl	%ecx, %ecx
	jne	.L66
	leal	-1(%r12), %r15d
	leal	-1(%r13), %r8d
	leal	1(%r12), %r9d
	leal	1(%r13), %r10d
	testb	$1, %r12b
	jne	.L75
	movl	$0, (%rdx,%rax,4)
	movl	%r8d, %esi
	movq	%rbp, %rcx
	movl	%r15d, %edx
	movq	%rbx, %rdi
	movq	%rax, 16(%rsp)
	subq	$408, %r14
	movl	%r10d, 24(%rsp)
	movl	%r9d, 28(%rsp)
	movl	%r8d, 8(%rsp)
	call	gettuuro
	movl	8(%rsp), %r8d
	movq	%rbp, %rcx
	movl	%r12d, %edx
	movq	%rbx, %rdi
	movl	%r8d, %esi
	movl	%r8d, 12(%rsp)
	call	gettuuro
	movl	28(%rsp), %r9d
	movq	%rbp, %rcx
	movq	%rbx, %rdi
	movl	12(%rsp), %esi
	movl	%r9d, %edx
	movl	%r9d, 8(%rsp)
	call	gettuuro
	movl	8(%rsp), %edx
	movq	%rbp, %rcx
	movl	%r13d, %esi
	movq	%rbx, %rdi
	call	gettuuro
	movl	24(%rsp), %esi
	movq	%rbp, %rcx
	movl	%r12d, %edx
	movq	%rbx, %rdi
	call	gettuuro
	cmpl	$101, %r15d
	movq	16(%rsp), %rax
	ja	.L66
.L70:
	leaq	(%rbx,%r14), %rdx
	movl	%r15d, %r12d
	movl	(%rdx,%rax,4), %esi
	testl	%esi, %esi
	jne	.L76
.L66:
	addq	$40, %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
.L75:
	.cfi_restore_state
	movl	$0, (%rdx,%rax,4)
	movq	%rbp, %rcx
	movl	%r15d, %edx
	movl	%r13d, %esi
	movq	%rbx, %rdi
	movl	%r8d, 16(%rsp)
	subq	$408, %r14
	movl	%r9d, 8(%rsp)
	movl	%r10d, 12(%rsp)
	call	gettuuro
	movl	16(%rsp), %esi
	movq	%rbp, %rcx
	movl	%r12d, %edx
	movq	%rbx, %rdi
	call	gettuuro
	movl	8(%rsp), %edx
	movq	%rbp, %rcx
	movl	%r13d, %esi
	movq	%rbx, %rdi
	call	gettuuro
	movl	12(%rsp), %r10d
	movq	%rbp, %rcx
	movq	%rbx, %rdi
	movl	8(%rsp), %edx
	movl	%r10d, %esi
	movl	%r10d, 8(%rsp)
	call	gettuuro
	movl	8(%rsp), %esi
	movq	%rbp, %rcx
	movl	%r12d, %edx
	movq	%rbx, %rdi
	call	gettuuro
	cmpl	$101, %r15d
	ja	.L66
	movl	8(%rsp), %r10d
	cmpl	$101, %r10d
	ja	.L66
	movslq	%r10d, %rax
	movq	%rax, %r13
	jmp	.L70
.L72:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	ret
	.cfi_endproc
.LFE25:
	.size	gettuuro, .-gettuuro
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC4:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	leaq	-81920(%rsp), %r11
	.cfi_def_cfa 11, 81976
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1368, %rsp
	.cfi_def_cfa_offset 83344
	movl	$41616, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 83272(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rbx
	leaq	41648(%rsp), %r12
	movq	%rbx, %rdi
	call	memset@PLT
	movl	$41616, %edx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	memset@PLT
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r14d
	testl	%r14d, %r14d
	jle	.L78
	movl	24(%rsp), %eax
	leaq	444(%rsp), %rdi
	xorl	%r14d, %r14d
	leaq	.LC1(%rip), %r15
	movq	%rdi, 8(%rsp)
	addl	$1, %r14d
	testl	%eax, %eax
	jle	.L78
.L99:
	movq	8(%rsp), %r13
	xorl	%ebp, %ebp
.L80:
	movq	%r13, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	addq	$4, %r13
	cmpl	%eax, %ebp
	jl	.L80
	cmpl	28(%rsp), %r14d
	jge	.L78
	addq	$408, 8(%rsp)
	addl	$1, %r14d
	testl	%eax, %eax
	jg	.L99
.L78:
	movq	.LC2(%rip), %rsi
	movdqa	.LC3(%rip), %xmm0
	movq	%r12, %rcx
	leaq	42048(%rsp), %rdx
	leaq	83664(%rsp), %rdi
	.p2align 4,,10
	.p2align 3
.L82:
	movq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L84:
	movups	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L84
	leaq	408(%rax), %rdx
	movq	%rsi, (%rax)
	addq	$408, %rcx
	cmpq	%rdi, %rdx
	jne	.L82
	movq	%r12, %rdi
	movq	%rbx, %rcx
	xorl	%edx, %edx
	xorl	%esi, %esi
	call	gettuuro
	leaq	41652(%rsp), %rbp
	xorl	%r8d, %r8d
	addq	$404, %r12
.L86:
	movq	%rbp, %rax
	addq	$4, %rbp
	movl	$1, %edx
	movq	%rbp, %rcx
	jmp	.L95
	.p2align 4,,10
	.p2align 3
.L87:
	movl	-4(%rax), %ebx
	movl	812(%rax), %esi
.L88:
	movl	408(%rax), %r13d
	testl	%r13d, %r13d
	je	.L94
	cmpl	$1, %ebx
	adcl	$0, %r8d
	cmpl	$1, %r11d
	adcl	$0, %r8d
	cmpl	$1, %esi
	adcl	$0, %r8d
	cmpl	$1, %edi
	adcl	$0, %r8d
	cmpl	$1, %r10d
	adcl	$0, %r8d
	cmpl	$1, %r9d
	adcl	$0, %r8d
.L94:
	addq	$408, %rax
	addq	$408, %rcx
	cmpl	$101, %edx
	je	.L108
.L95:
	movl	%edx, %esi
	movl	816(%rax), %edi
	movl	(%rax), %r9d
	addl	$1, %edx
	andl	$1, %esi
	movl	404(%rax), %r11d
	movl	408(%rcx), %r10d
	testl	%esi, %esi
	je	.L87
	movl	%edi, %esi
	movl	%r9d, %ebx
	movl	816(%rcx), %edi
	movl	(%rcx), %r9d
	jmp	.L88
.L108:
	cmpq	%r12, %rbp
	jne	.L86
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movq	83272(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L109
	addq	$83288, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	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
.L109:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.set	.LC2,.LC3
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	1
	.long	1
	.long	1
	.long	1
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.p2align 4
	.globl	getstat
	.type	getstat, @function
getstat:
.LFB24:
	.cfi_startproc
	endbr64
	movslq	%edx, %rax
	movl	%eax, %r8d
	leal	-1(%rax), %r10d
	shrl	$31, %r8d
	leal	(%rax,%r8), %edx
	andl	$1, %edx
	subl	%r8d, %edx
	cmpl	$1, %edx
	je	.L59
	cmpl	$101, %r10d
	ja	.L15
	leal	-1(%rsi), %edx
	cmpl	$101, %edx
	jbe	.L60
	movl	$1, (%rdi)
	cmpl	$102, %eax
	je	.L19
.L20:
	movl	$1, 4(%rdi)
	cmpl	$101, %eax
	je	.L22
.L23:
	movl	$1, %edx
.L24:
	movl	%edx, 8(%rdi)
	cmpl	$101, %esi
	ja	.L56
	leal	1(%rax), %edx
	movslq	%esi, %r8
	movslq	%edx, %rdx
	imulq	$408, %rdx, %rdx
	addq	%rcx, %rdx
	movl	(%rdx,%r8,4), %edx
	movl	%edx, 12(%rdi)
	movl	$1, %edx
	cmpl	$101, %eax
	jbe	.L61
	.p2align 4,,10
	.p2align 3
.L25:
	movl	%edx, 16(%rdi)
	cmpl	$101, %r10d
	ja	.L44
.L64:
	cmpl	$101, %esi
	ja	.L27
	movslq	%eax, %rdx
	movslq	%esi, %r8
	imulq	$408, %rdx, %rdx
	leaq	-408(%rcx,%rdx), %rdx
	movl	(%rdx,%r8,4), %edx
	movl	%edx, 20(%rdi)
	cmpl	$101, %eax
	jbe	.L62
.L57:
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$1, (%rdi)
	cmpl	$101, %eax
	ja	.L19
	leal	-1(%rsi), %edx
	cmpl	$101, %edx
	ja	.L20
	xorl	%r8d, %r8d
.L17:
	movslq	%edx, %r9
	leaq	(%rcx,%r9,4), %rdx
	movl	(%rdx,%r8), %edx
	leal	1(%rax), %r8d
	movl	%edx, 4(%rdi)
	cmpl	$101, %r8d
	ja	.L22
.L21:
	movslq	%r8d, %r8
	imulq	$408, %r8, %r8
	addq	%rcx, %r8
	movl	(%r8,%r9,4), %edx
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L19:
	leal	1(%rax), %r8d
	movl	$1, 4(%rdi)
	cmpl	$101, %r8d
	jbe	.L63
.L22:
	movl	$1, 8(%rdi)
.L56:
	movl	$1, %edx
	movl	%edx, 12(%rdi)
	movl	$1, %edx
	cmpl	$101, %eax
	ja	.L25
.L61:
	leal	1(%rsi), %r9d
	cmpl	$101, %r9d
	ja	.L25
	movslq	%eax, %rdx
	movslq	%r9d, %r9
	imulq	$408, %rdx, %rdx
	addq	%rcx, %rdx
	movl	(%rdx,%r9,4), %edx
	movl	%edx, 16(%rdi)
	cmpl	$101, %r10d
	jbe	.L64
.L44:
	movl	$1, %edx
.L14:
	movl	%edx, 20(%rdi)
	cmpl	$101, %eax
	ja	.L57
.L62:
	cmpl	$101, %esi
	ja	.L57
	imulq	$408, %rax, %rax
	movslq	%esi, %rsi
	addq	%rcx, %rax
	movl	(%rax,%rsi,4), %eax
	ret
	.p2align 4,,10
	.p2align 3
.L59:
	movl	$1, %r8d
	cmpl	$101, %r10d
	ja	.L3
	cmpl	$101, %esi
	ja	.L3
	movslq	%eax, %r8
	movslq	%esi, %r9
	imulq	$408, %r8, %r8
	leaq	-408(%rcx,%r8), %r8
	movl	(%r8,%r9,4), %r8d
.L3:
	movl	%r8d, (%rdi)
	cmpl	$101, %eax
	ja	.L4
	leal	-1(%rsi), %r9d
	movl	$1, %r8d
	cmpl	$101, %r9d
	ja	.L5
	movslq	%eax, %r8
	movslq	%r9d, %r9
	imulq	$408, %r8, %r8
	addq	%rcx, %r8
	movl	(%r8,%r9,4), %r8d
.L5:
	movl	%r8d, 4(%rdi)
	leal	1(%rax), %r8d
	cmpl	$101, %r8d
	jbe	.L36
	movabsq	$4294967297, %r11
	movq	%r11, 8(%rdi)
	cmpl	$101, %eax
	jne	.L30
	leal	1(%rsi), %r9d
	cmpl	$101, %r9d
	ja	.L10
	movslq	%r9d, %r11
.L8:
	movslq	%eax, %r8
	leaq	(%rcx,%r11,4), %r9
	imulq	$408, %r8, %r8
	movl	(%r9,%r8), %r9d
	movl	%r9d, 16(%rdi)
	cmpl	$101, %r10d
	ja	.L14
.L11:
	leaq	(%rcx,%r11,4), %rdx
	movl	-408(%r8,%rdx), %edx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L4:
	leal	1(%rax), %r8d
	movl	$1, 4(%rdi)
	cmpl	$101, %r8d
	jbe	.L36
	movabsq	$4294967297, %r11
	movq	%r11, 8(%rdi)
.L30:
	movl	$1, 16(%rdi)
	cmpl	$101, %r10d
	ja	.L14
	leal	1(%rsi), %r9d
	cmpl	$101, %r9d
	ja	.L14
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L60:
	movslq	%eax, %r8
	movslq	%edx, %r9
	imulq	$408, %r8, %r8
	leaq	(%rcx,%r9,4), %r9
	movl	-408(%r8,%r9), %r9d
	movl	%r9d, (%rdi)
	cmpl	$102, %eax
	jne	.L17
	movl	$1, 4(%rdi)
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L27:
	movl	$1, 20(%rdi)
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L63:
	leal	-1(%rsi), %r9d
	cmpl	$101, %r9d
	ja	.L23
	movslq	%r9d, %r9
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L65:
	movl	$1, 12(%rdi)
	cmpl	$101, %eax
	ja	.L30
.L10:
	movl	$1, 16(%rdi)
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L36:
	movl	$1, %r9d
	cmpl	$101, %esi
	ja	.L7
	movslq	%r8d, %r9
	movslq	%esi, %r11
	imulq	$408, %r9, %r9
	addq	%rcx, %r9
	movl	(%r9,%r11,4), %r9d
.L7:
	movl	%r9d, 8(%rdi)
	leal	1(%rsi), %r9d
	cmpl	$101, %r9d
	ja	.L65
	movslq	%r8d, %r8
	movslq	%r9d, %r11
	imulq	$408, %r8, %r8
	addq	%rcx, %r8
	movl	(%r8,%r11,4), %r8d
	movl	%r8d, 12(%rdi)
	cmpl	$101, %eax
	jbe	.L8
	movl	$1, 16(%rdi)
	cmpl	$101, %r10d
	ja	.L14
.L35:
	movslq	%eax, %r8
	movslq	%r9d, %r11
	imulq	$408, %r8, %r8
	jmp	.L11
	.cfi_endproc
.LFE24:
	.size	getstat, .-getstat
	.p2align 4
	.globl	gettuuro
	.type	gettuuro, @function
gettuuro:
.LFB25:
	.cfi_startproc
	endbr64
	cmpl	$101, %esi
	ja	.L72
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	movl	%edx, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	cmpl	$101, %edx
	ja	.L66
	movslq	%edx, %r14
	movq	%rdi, %rbx
	movslq	%esi, %rax
	movl	%esi, %r13d
	imulq	$408, %r14, %r14
	movq	%rcx, %rbp
	leaq	(%rbx,%r14), %rdx
	movl	(%rdx,%rax,4), %esi
	testl	%esi, %esi
	je	.L66
.L76:
	leaq	0(%rbp,%rax,4), %rcx
	movl	(%rcx,%r14), %ecx
	testl	%ecx, %ecx
	jne	.L66
	leal	-1(%r12), %r15d
	leal	-1(%r13), %r8d
	leal	1(%r12), %r9d
	leal	1(%r13), %r10d
	testb	$1, %r12b
	jne	.L75
	movl	$0, (%rdx,%rax,4)
	movl	%r8d, %esi
	movq	%rbp, %rcx
	movl	%r15d, %edx
	movq	%rbx, %rdi
	movq	%rax, 16(%rsp)
	subq	$408, %r14
	movl	%r10d, 24(%rsp)
	movl	%r9d, 28(%rsp)
	movl	%r8d, 8(%rsp)
	call	gettuuro
	movl	8(%rsp), %r8d
	movq	%rbp, %rcx
	movl	%r12d, %edx
	movq	%rbx, %rdi
	movl	%r8d, %esi
	movl	%r8d, 12(%rsp)
	call	gettuuro
	movl	28(%rsp), %r9d
	movq	%rbp, %rcx
	movq	%rbx, %rdi
	movl	12(%rsp), %esi
	movl	%r9d, %edx
	movl	%r9d, 8(%rsp)
	call	gettuuro
	movl	8(%rsp), %edx
	movq	%rbp, %rcx
	movl	%r13d, %esi
	movq	%rbx, %rdi
	call	gettuuro
	movl	24(%rsp), %esi
	movq	%rbp, %rcx
	movl	%r12d, %edx
	movq	%rbx, %rdi
	call	gettuuro
	cmpl	$101, %r15d
	movq	16(%rsp), %rax
	ja	.L66
.L70:
	leaq	(%rbx,%r14), %rdx
	movl	%r15d, %r12d
	movl	(%rdx,%rax,4), %esi
	testl	%esi, %esi
	jne	.L76
.L66:
	addq	$40, %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
.L75:
	.cfi_restore_state
	movl	$0, (%rdx,%rax,4)
	movq	%rbp, %rcx
	movl	%r15d, %edx
	movl	%r13d, %esi
	movq	%rbx, %rdi
	movl	%r8d, 16(%rsp)
	subq	$408, %r14
	movl	%r9d, 8(%rsp)
	movl	%r10d, 12(%rsp)
	call	gettuuro
	movl	16(%rsp), %esi
	movq	%rbp, %rcx
	movl	%r12d, %edx
	movq	%rbx, %rdi
	call	gettuuro
	movl	8(%rsp), %edx
	movq	%rbp, %rcx
	movl	%r13d, %esi
	movq	%rbx, %rdi
	call	gettuuro
	movl	12(%rsp), %r10d
	movq	%rbp, %rcx
	movq	%rbx, %rdi
	movl	8(%rsp), %edx
	movl	%r10d, %esi
	movl	%r10d, 8(%rsp)
	call	gettuuro
	movl	8(%rsp), %esi
	movq	%rbp, %rcx
	movl	%r12d, %edx
	movq	%rbx, %rdi
	call	gettuuro
	cmpl	$101, %r15d
	ja	.L66
	movl	8(%rsp), %r10d
	cmpl	$101, %r10d
	ja	.L66
	movslq	%r10d, %rax
	movq	%rax, %r13
	jmp	.L70
.L72:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	ret
	.cfi_endproc
.LFE25:
	.size	gettuuro, .-gettuuro
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC4:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	leaq	-81920(%rsp), %r11
	.cfi_def_cfa 11, 81976
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1368, %rsp
	.cfi_def_cfa_offset 83344
	movl	$41616, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 83272(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rbx
	leaq	41648(%rsp), %r12
	movq	%rbx, %rdi
	call	memset@PLT
	movl	$41616, %edx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	memset@PLT
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r14d
	testl	%r14d, %r14d
	jle	.L78
	movl	24(%rsp), %eax
	leaq	444(%rsp), %rdi
	xorl	%r14d, %r14d
	leaq	.LC1(%rip), %r15
	movq	%rdi, 8(%rsp)
	addl	$1, %r14d
	testl	%eax, %eax
	jle	.L78
.L99:
	movq	8(%rsp), %r13
	xorl	%ebp, %ebp
.L80:
	movq	%r13, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	addq	$4, %r13
	cmpl	%eax, %ebp
	jl	.L80
	cmpl	28(%rsp), %r14d
	jge	.L78
	addq	$408, 8(%rsp)
	addl	$1, %r14d
	testl	%eax, %eax
	jg	.L99
.L78:
	movq	.LC2(%rip), %rsi
	movdqa	.LC3(%rip), %xmm0
	movq	%r12, %rcx
	leaq	42048(%rsp), %rdx
	leaq	83664(%rsp), %rdi
	.p2align 4,,10
	.p2align 3
.L82:
	movq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L84:
	movups	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L84
	leaq	408(%rax), %rdx
	movq	%rsi, (%rax)
	addq	$408, %rcx
	cmpq	%rdi, %rdx
	jne	.L82
	movq	%r12, %rdi
	movq	%rbx, %rcx
	xorl	%edx, %edx
	xorl	%esi, %esi
	call	gettuuro
	leaq	41652(%rsp), %rbp
	xorl	%r8d, %r8d
	addq	$404, %r12
.L86:
	movq	%rbp, %rax
	addq	$4, %rbp
	movl	$1, %edx
	movq	%rbp, %rcx
	jmp	.L95
	.p2align 4,,10
	.p2align 3
.L87:
	movl	-4(%rax), %ebx
	movl	812(%rax), %esi
.L88:
	movl	408(%rax), %r13d
	testl	%r13d, %r13d
	je	.L94
	cmpl	$1, %ebx
	adcl	$0, %r8d
	cmpl	$1, %r11d
	adcl	$0, %r8d
	cmpl	$1, %esi
	adcl	$0, %r8d
	cmpl	$1, %edi
	adcl	$0, %r8d
	cmpl	$1, %r10d
	adcl	$0, %r8d
	cmpl	$1, %r9d
	adcl	$0, %r8d
.L94:
	addq	$408, %rax
	addq	$408, %rcx
	cmpl	$101, %edx
	je	.L108
.L95:
	movl	%edx, %esi
	movl	816(%rax), %edi
	movl	(%rax), %r9d
	addl	$1, %edx
	andl	$1, %esi
	movl	404(%rax), %r11d
	movl	408(%rcx), %r10d
	testl	%esi, %esi
	je	.L87
	movl	%edi, %esi
	movl	%r9d, %ebx
	movl	816(%rcx), %edi
	movl	(%rcx), %r9d
	jmp	.L88
.L108:
	cmpq	%r12, %rbp
	jne	.L86
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movq	83272(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L109
	addq	$83288, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	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
.L109:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.set	.LC2,.LC3
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	1
	.long	1
	.long	1
	.long	1
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include <stdio.h>

enum {
	STAT_UL=0,
	STAT_L,
	STAT_DL,
	STAT_DR,
	STAT_R,
	STAT_UR
};

#define ishani(a) ((a)>=0 && (a)<102)
int getstat(int* kabe,int x,int y,int map[102][102]);
void gettuuro(int result[102][102],int x,int y,int map[102][102]);

int main(int argc,char* argv[]) {
	int map[102][102]={0};
	int map2[102][102]={0};
	int stat[6];
	int W,H;
	int i,j,k;
	int result;
	scanf("%d %d",&W,&H);
	for(i=0;i<H;i++) {
		for(j=0;j<W;j++) {
			scanf("%d",&map[i+1][j+1]);
		}
	}
	for(i=0;i<102;i++) {
		for(j=0;j<102;j++)map2[i][j]=1;
	}
	gettuuro(map2,0,0,map);
	result=0;
	for(i=1;i<101;i++) {
		for(j=1;j<101;j++) {
			if(getstat(stat,i,j,map2)) {
				for(k=0;k<6;k++) {
					if(!stat[k])result++;
				}
			}
		}
	}
	printf("%d\n",result);
	return 0;
}

int getstat(int* kabe,int x,int y,int map[102][102]) {
	if(y%2==1) {
		kabe[STAT_UL]=(ishani(y-1) && ishani(x))?map[y-1][x]:1;
		kabe[STAT_L]=(ishani(y) && ishani(x-1))?map[y][x-1]:1;
		kabe[STAT_DL]=(ishani(y+1) && ishani(x))?map[y+1][x]:1;
		kabe[STAT_DR]=(ishani(y+1) && ishani(x+1))?map[y+1][x+1]:1;
		kabe[STAT_R]=(ishani(y) && ishani(x+1))?map[y][x+1]:1;
		kabe[STAT_UR]=(ishani(y-1) && ishani(x+1))?map[y-1][x+1]:1;
	} else {
		kabe[STAT_UL]=(ishani(y-1) && ishani(x-1))?map[y-1][x-1]:1;
		kabe[STAT_L]=(ishani(y) && ishani(x-1))?map[y][x-1]:1;
		kabe[STAT_DL]=(ishani(y+1) && ishani(x-1))?map[y+1][x-1]:1;
		kabe[STAT_DR]=(ishani(y+1) && ishani(x))?map[y+1][x]:1;
		kabe[STAT_R]=(ishani(y) && ishani(x+1))?map[y][x+1]:1;
		kabe[STAT_UR]=(ishani(y-1) && ishani(x))?map[y-1][x]:1;
	}
	return (ishani(y) && ishani(x))?map[y][x]:1;
}

void gettuuro(int result[102][102],int x,int y,int map[102][102]) {
	int stat[6];
	if(!ishani(x) || !ishani(y))return;
	if(!result[y][x] || map[y][x])return;
	if(!getstat(stat,x,y,map)) {
		result[y][x]=0;
		if(y%2==1) {
			gettuuro(result,x,y-1,map);
			gettuuro(result,x-1,y,map);
			gettuuro(result,x,y+1,map);
			gettuuro(result,x+1,y+1,map);
			gettuuro(result,x+1,y,map);
			gettuuro(result,x+1,y-1,map);
		} else {
			gettuuro(result,x-1,y-1,map);
			gettuuro(result,x-1,y,map);
			gettuuro(result,x-1,y+1,map);
			gettuuro(result,x,y+1,map);
			gettuuro(result,x+1,y,map);
			gettuuro(result,x,y-1,map);
		}
	}
}
8 4
0 1 0 1 1 1 1 1
0 1 1 0 0 1 0 0
1 0 1 0 1 1 1 1
0 1 1 0 1 0 1 0
 8 0
0 1 0 1 1 1 1 1
0 1 1 0 0 1 0 0
1 0 1 0 1 1 1 1
0 1 1 0 1 0 1 0
 8 1
0 1 0 1 0 1 1 1
0 1 1 -1 0 1 -1 1
2 1 1 0 1 1 1 1
0 1 1 1 1 0 0 0
 11 1
0 1 0 1 0 1 1 1
0 1 1 -4 0 1 -1 1
2 1 1 0 1 1 1 1
0 1 1 1 1 0 -1 0
 8 0
0 1 0 1 1 1 1 0
0 1 1 0 0 1 0 0
1 0 1 0 1 1 1 1
0 1 1 0 1 0 1 0
 8 0
0 1 0 2 1 1 1 0
0 1 1 0 0 1 0 0
1 0 1 0 1 1 1 1
0 1 1 0 1 0 1 0
 8 0
0 1 0 2 1 1 1 0
0 1 1 0 0 1 0 0
1 0 1 0 2 1 1 1
0 1 1 0 1 0 1 0
 8 0
0 1 0 2 1 1 1 0
0 2 1 0 0 1 0 0
1 0 1 0 2 1 1 1
0 1 1 0 1 0 1 0
 8 0
0 1 0 2 1 1 2 0
0 2 1 0 0 1 0 0
1 0 1 0 2 1 1 1
0 1 1 0 1 0 1 0
 8 0
0 1 0 2 1 1 2 0
0 2 1 0 0 1 0 0
1 0 1 0 2 1 1 1
0 1 1 0 1 0 1 1

64
 0
 26
 36
 0
 0
 0
 0
 0
 0

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

enum {
	STAT_UL=0,
	STAT_L,
	STAT_DL,
	STAT_DR,
	STAT_R,
	STAT_UR
};

#define ishani(a) ((a)>=0 && (a)<102)
int getstat(int* kabe,int x,int y,int map[102][102]);
void gettuuro(int result[102][102],int x,int y,int map[102][102]);

int main(int argc,char* argv[]) {
	int map[102][102]={0};
	int map2[102][102]={0};
	int stat[6];
	int W,H;
	int i,j,k;
	int result;
	scanf("%d %d",&W,&H);
	for(i=0;i<H;i++) {
		for(j=0;j<W;j++) {
			scanf("%d",&map[i+1][j+1]);
		}
	}
	for(i=0;i<102;i++) {
		for(j=0;j<102;j++)map2[i][j]=1;
	}
	gettuuro(map2,0,0,map);
	result=0;
	for(i=1;i<101;i++) {
		for(j=1;j<101;j++) {
			if(getstat(stat,i,j,map2)) {
				for(k=0;k<6;k++) {
					if(!stat[k])result++;
				}
			}
		}
	}
	printf("%d\n",result);
	return 0;
}

int getstat(int* kabe,int x,int y,int map[102][102]) {
	if(y%2==1) {
		kabe[STAT_UL]=(ishani(y-1) && ishani(x))?map[y-1][x]:1;
		kabe[STAT_L]=(ishani(y) && ishani(x-1))?map[y][x-1]:1;
		kabe[STAT_DL]=(ishani(y+1) && ishani(x))?map[y+1][x]:1;
		kabe[STAT_DR]=(ishani(y+1) && ishani(x+1))?map[y+1][x+1]:1;
		kabe[STAT_R]=(ishani(y) && ishani(x+1))?map[y][x+1]:1;
		kabe[STAT_UR]=(ishani(y-1) && ishani(x+1))?map[y-1][x+1]:1;
	} else {
		kabe[STAT_UL]=(ishani(y-1) && ishani(x-1))?map[y-1][x-1]:1;
		kabe[STAT_L]=(ishani(y) && ishani(x-1))?map[y][x-1]:1;
		kabe[STAT_DL]=(ishani(y+1) && ishani(x-1))?map[y+1][x-1]:1;
		kabe[STAT_DR]=(ishani(y+1) && ishani(x))?map[y+1][x]:1;
		kabe[STAT_R]=(ishani(y) && ishani(x+1))?map[y][x+1]:1;
		kabe[STAT_UR]=(ishani(y-1) && ishani(x))?map[y-1][x]:1;
	}
	return (ishani(y) && ishani(x))?map[y][x]:1;
}

void gettuuro(int result[102][102],int x,int y,int map[102][102]) {
	int stat[6];
	if(!ishani(x) || !ishani(y))return;
	if(!result[y][x] || map[y][x])return;
	if(!getstat(stat,x,y,map)) {
		result[y][x]=0;
		if(y%2==1) {
			gettuuro(result,x,y-1,map);
			gettuuro(result,x-1,y,map);
			gettuuro(result,x,y+1,map);
			gettuuro(result,x+1,y+1,map);
			gettuuro(result,x+1,y,map);
			gettuuro(result,x+1,y-1,map);
		} else {
			gettuuro(result,x-1,y-1,map);
			gettuuro(result,x-1,y,map);
			gettuuro(result,x-1,y+1,map);
			gettuuro(result,x,y+1,map);
			gettuuro(result,x+1,y,map);
			gettuuro(result,x,y-1,map);
		}
	}
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-81920(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1408, %rsp
	movl	%edi, -83316(%rbp)
	movq	%rsi, -83328(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-83248(%rbp), %rax
	movl	$41616, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-41632(%rbp), %rax
	movl	$41616, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-83300(%rbp), %rdx
	leaq	-83304(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -83296(%rbp)
	jmp	.L2
.L5:
	movl	$0, -83292(%rbp)
	jmp	.L3
.L4:
	movl	-83296(%rbp), %eax
	leal	1(%rax), %edx
	movl	-83292(%rbp), %eax
	addl	$1, %eax
	leaq	-83248(%rbp), %rcx
	movslq	%eax, %rsi
	movslq	%edx, %rax
	imulq	$102, %rax, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -83292(%rbp)
.L3:
	movl	-83304(%rbp), %eax
	cmpl	%eax, -83292(%rbp)
	jl	.L4
	addl	$1, -83296(%rbp)
.L2:
	movl	-83300(%rbp), %eax
	cmpl	%eax, -83296(%rbp)
	jl	.L5
	movl	$0, -83296(%rbp)
	jmp	.L6
.L9:
	movl	$0, -83292(%rbp)
	jmp	.L7
.L8:
	movl	-83292(%rbp), %eax
	movslq	%eax, %rdx
	movl	-83296(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	movl	$1, -41632(%rbp,%rax,4)
	addl	$1, -83292(%rbp)
.L7:
	cmpl	$101, -83292(%rbp)
	jle	.L8
	addl	$1, -83296(%rbp)
.L6:
	cmpl	$101, -83296(%rbp)
	jle	.L9
	leaq	-83248(%rbp), %rdx
	leaq	-41632(%rbp), %rax
	movq	%rdx, %rcx
	movl	$0, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	gettuuro
	movl	$0, -83284(%rbp)
	movl	$1, -83296(%rbp)
	jmp	.L10
.L17:
	movl	$1, -83292(%rbp)
	jmp	.L11
.L16:
	leaq	-41632(%rbp), %rcx
	movl	-83292(%rbp), %edx
	movl	-83296(%rbp), %esi
	leaq	-83280(%rbp), %rax
	movq	%rax, %rdi
	call	getstat
	testl	%eax, %eax
	je	.L12
	movl	$0, -83288(%rbp)
	jmp	.L13
.L15:
	movl	-83288(%rbp), %eax
	cltq
	movl	-83280(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L14
	addl	$1, -83284(%rbp)
.L14:
	addl	$1, -83288(%rbp)
.L13:
	cmpl	$5, -83288(%rbp)
	jle	.L15
.L12:
	addl	$1, -83292(%rbp)
.L11:
	cmpl	$100, -83292(%rbp)
	jle	.L16
	addl	$1, -83296(%rbp)
.L10:
	cmpl	$100, -83296(%rbp)
	jle	.L17
	movl	-83284(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	getstat
	.type	getstat, @function
getstat:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	movl	%edx, -16(%rbp)
	movq	%rcx, -24(%rbp)
	movl	-16(%rbp), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L21
	cmpl	$0, -16(%rbp)
	jle	.L22
	cmpl	$102, -16(%rbp)
	jg	.L22
	cmpl	$0, -12(%rbp)
	js	.L22
	cmpl	$101, -12(%rbp)
	jg	.L22
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L23
.L22:
	movl	$1, %eax
.L23:
	movq	-8(%rbp), %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L24
	cmpl	$101, -16(%rbp)
	jg	.L24
	cmpl	$0, -12(%rbp)
	jle	.L24
	cmpl	$102, -12(%rbp)
	jg	.L24
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L25
.L24:
	movl	$1, %eax
.L25:
	movq	-8(%rbp), %rdx
	addq	$4, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L26
	cmpl	$100, -16(%rbp)
	jg	.L26
	cmpl	$0, -12(%rbp)
	js	.L26
	cmpl	$101, -12(%rbp)
	jg	.L26
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L27
.L26:
	movl	$1, %eax
.L27:
	movq	-8(%rbp), %rdx
	addq	$8, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L28
	cmpl	$100, -16(%rbp)
	jg	.L28
	cmpl	$-1, -12(%rbp)
	jl	.L28
	cmpl	$100, -12(%rbp)
	jg	.L28
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L29
.L28:
	movl	$1, %eax
.L29:
	movq	-8(%rbp), %rdx
	addq	$12, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L30
	cmpl	$101, -16(%rbp)
	jg	.L30
	cmpl	$-1, -12(%rbp)
	jl	.L30
	cmpl	$100, -12(%rbp)
	jg	.L30
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L31
.L30:
	movl	$1, %eax
.L31:
	movq	-8(%rbp), %rdx
	addq	$16, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	jle	.L32
	cmpl	$102, -16(%rbp)
	jg	.L32
	cmpl	$-1, -12(%rbp)
	jl	.L32
	cmpl	$100, -12(%rbp)
	jg	.L32
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L33
.L32:
	movl	$1, %eax
.L33:
	movq	-8(%rbp), %rdx
	addq	$20, %rdx
	movl	%eax, (%rdx)
	jmp	.L34
.L21:
	cmpl	$0, -16(%rbp)
	jle	.L35
	cmpl	$102, -16(%rbp)
	jg	.L35
	cmpl	$0, -12(%rbp)
	jle	.L35
	cmpl	$102, -12(%rbp)
	jg	.L35
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L36
.L35:
	movl	$1, %eax
.L36:
	movq	-8(%rbp), %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L37
	cmpl	$101, -16(%rbp)
	jg	.L37
	cmpl	$0, -12(%rbp)
	jle	.L37
	cmpl	$102, -12(%rbp)
	jg	.L37
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L38
.L37:
	movl	$1, %eax
.L38:
	movq	-8(%rbp), %rdx
	addq	$4, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L39
	cmpl	$100, -16(%rbp)
	jg	.L39
	cmpl	$0, -12(%rbp)
	jle	.L39
	cmpl	$102, -12(%rbp)
	jg	.L39
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L40
.L39:
	movl	$1, %eax
.L40:
	movq	-8(%rbp), %rdx
	addq	$8, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L41
	cmpl	$100, -16(%rbp)
	jg	.L41
	cmpl	$0, -12(%rbp)
	js	.L41
	cmpl	$101, -12(%rbp)
	jg	.L41
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L42
.L41:
	movl	$1, %eax
.L42:
	movq	-8(%rbp), %rdx
	addq	$12, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L43
	cmpl	$101, -16(%rbp)
	jg	.L43
	cmpl	$-1, -12(%rbp)
	jl	.L43
	cmpl	$100, -12(%rbp)
	jg	.L43
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L44
.L43:
	movl	$1, %eax
.L44:
	movq	-8(%rbp), %rdx
	addq	$16, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	jle	.L45
	cmpl	$102, -16(%rbp)
	jg	.L45
	cmpl	$0, -12(%rbp)
	js	.L45
	cmpl	$101, -12(%rbp)
	jg	.L45
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L46
.L45:
	movl	$1, %eax
.L46:
	movq	-8(%rbp), %rdx
	addq	$20, %rdx
	movl	%eax, (%rdx)
.L34:
	cmpl	$0, -16(%rbp)
	js	.L47
	cmpl	$101, -16(%rbp)
	jg	.L47
	cmpl	$0, -12(%rbp)
	js	.L47
	cmpl	$101, -12(%rbp)
	jg	.L47
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L49
.L47:
	movl	$1, %eax
.L49:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	getstat, .-getstat
	.globl	gettuuro
	.type	gettuuro, @function
gettuuro:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movl	%edx, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)
	js	.L60
	cmpl	$101, -44(%rbp)
	jg	.L60
	cmpl	$0, -48(%rbp)
	js	.L60
	cmpl	$101, -48(%rbp)
	jg	.L60
	movl	-48(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-44(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	je	.L61
	movl	-48(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-56(%rbp), %rax
	addq	%rax, %rdx
	movl	-44(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	jne	.L61
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	leaq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	getstat
	testl	%eax, %eax
	jne	.L50
	movl	-48(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-44(%rbp), %eax
	cltq
	movl	$0, (%rdx,%rax,4)
	movl	-48(%rbp), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L57
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	jmp	.L50
.L57:
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	jmp	.L50
.L60:
	nop
	jmp	.L50
.L61:
	nop
.L50:
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	gettuuro, .-gettuuro
	.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 %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-81920(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1408, %rsp
	movl	%edi, -83316(%rbp)
	movq	%rsi, -83328(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-83248(%rbp), %rax
	movl	$41616, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-41632(%rbp), %rax
	movl	$41616, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-83300(%rbp), %rdx
	leaq	-83304(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -83296(%rbp)
	jmp	.L2
.L5:
	movl	$0, -83292(%rbp)
	jmp	.L3
.L4:
	movl	-83296(%rbp), %eax
	leal	1(%rax), %edx
	movl	-83292(%rbp), %eax
	addl	$1, %eax
	leaq	-83248(%rbp), %rcx
	movslq	%eax, %rsi
	movslq	%edx, %rax
	imulq	$102, %rax, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -83292(%rbp)
.L3:
	movl	-83304(%rbp), %eax
	cmpl	%eax, -83292(%rbp)
	jl	.L4
	addl	$1, -83296(%rbp)
.L2:
	movl	-83300(%rbp), %eax
	cmpl	%eax, -83296(%rbp)
	jl	.L5
	movl	$0, -83296(%rbp)
	jmp	.L6
.L9:
	movl	$0, -83292(%rbp)
	jmp	.L7
.L8:
	movl	-83292(%rbp), %eax
	movslq	%eax, %rdx
	movl	-83296(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	movl	$1, -41632(%rbp,%rax,4)
	addl	$1, -83292(%rbp)
.L7:
	cmpl	$101, -83292(%rbp)
	jle	.L8
	addl	$1, -83296(%rbp)
.L6:
	cmpl	$101, -83296(%rbp)
	jle	.L9
	leaq	-83248(%rbp), %rdx
	leaq	-41632(%rbp), %rax
	movq	%rdx, %rcx
	movl	$0, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	gettuuro
	movl	$0, -83284(%rbp)
	movl	$1, -83296(%rbp)
	jmp	.L10
.L17:
	movl	$1, -83292(%rbp)
	jmp	.L11
.L16:
	leaq	-41632(%rbp), %rcx
	movl	-83292(%rbp), %edx
	movl	-83296(%rbp), %esi
	leaq	-83280(%rbp), %rax
	movq	%rax, %rdi
	call	getstat
	testl	%eax, %eax
	je	.L12
	movl	$0, -83288(%rbp)
	jmp	.L13
.L15:
	movl	-83288(%rbp), %eax
	cltq
	movl	-83280(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L14
	addl	$1, -83284(%rbp)
.L14:
	addl	$1, -83288(%rbp)
.L13:
	cmpl	$5, -83288(%rbp)
	jle	.L15
.L12:
	addl	$1, -83292(%rbp)
.L11:
	cmpl	$100, -83292(%rbp)
	jle	.L16
	addl	$1, -83296(%rbp)
.L10:
	cmpl	$100, -83296(%rbp)
	jle	.L17
	movl	-83284(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	getstat
	.type	getstat, @function
getstat:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movl	%esi, -12(%rbp)
	movl	%edx, -16(%rbp)
	movq	%rcx, -24(%rbp)
	movl	-16(%rbp), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L21
	cmpl	$0, -16(%rbp)
	jle	.L22
	cmpl	$102, -16(%rbp)
	jg	.L22
	cmpl	$0, -12(%rbp)
	js	.L22
	cmpl	$101, -12(%rbp)
	jg	.L22
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L23
.L22:
	movl	$1, %eax
.L23:
	movq	-8(%rbp), %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L24
	cmpl	$101, -16(%rbp)
	jg	.L24
	cmpl	$0, -12(%rbp)
	jle	.L24
	cmpl	$102, -12(%rbp)
	jg	.L24
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L25
.L24:
	movl	$1, %eax
.L25:
	movq	-8(%rbp), %rdx
	addq	$4, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L26
	cmpl	$100, -16(%rbp)
	jg	.L26
	cmpl	$0, -12(%rbp)
	js	.L26
	cmpl	$101, -12(%rbp)
	jg	.L26
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L27
.L26:
	movl	$1, %eax
.L27:
	movq	-8(%rbp), %rdx
	addq	$8, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L28
	cmpl	$100, -16(%rbp)
	jg	.L28
	cmpl	$-1, -12(%rbp)
	jl	.L28
	cmpl	$100, -12(%rbp)
	jg	.L28
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L29
.L28:
	movl	$1, %eax
.L29:
	movq	-8(%rbp), %rdx
	addq	$12, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L30
	cmpl	$101, -16(%rbp)
	jg	.L30
	cmpl	$-1, -12(%rbp)
	jl	.L30
	cmpl	$100, -12(%rbp)
	jg	.L30
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L31
.L30:
	movl	$1, %eax
.L31:
	movq	-8(%rbp), %rdx
	addq	$16, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	jle	.L32
	cmpl	$102, -16(%rbp)
	jg	.L32
	cmpl	$-1, -12(%rbp)
	jl	.L32
	cmpl	$100, -12(%rbp)
	jg	.L32
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L33
.L32:
	movl	$1, %eax
.L33:
	movq	-8(%rbp), %rdx
	addq	$20, %rdx
	movl	%eax, (%rdx)
	jmp	.L34
.L21:
	cmpl	$0, -16(%rbp)
	jle	.L35
	cmpl	$102, -16(%rbp)
	jg	.L35
	cmpl	$0, -12(%rbp)
	jle	.L35
	cmpl	$102, -12(%rbp)
	jg	.L35
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L36
.L35:
	movl	$1, %eax
.L36:
	movq	-8(%rbp), %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L37
	cmpl	$101, -16(%rbp)
	jg	.L37
	cmpl	$0, -12(%rbp)
	jle	.L37
	cmpl	$102, -12(%rbp)
	jg	.L37
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L38
.L37:
	movl	$1, %eax
.L38:
	movq	-8(%rbp), %rdx
	addq	$4, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L39
	cmpl	$100, -16(%rbp)
	jg	.L39
	cmpl	$0, -12(%rbp)
	jle	.L39
	cmpl	$102, -12(%rbp)
	jg	.L39
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L40
.L39:
	movl	$1, %eax
.L40:
	movq	-8(%rbp), %rdx
	addq	$8, %rdx
	movl	%eax, (%rdx)
	cmpl	$-1, -16(%rbp)
	jl	.L41
	cmpl	$100, -16(%rbp)
	jg	.L41
	cmpl	$0, -12(%rbp)
	js	.L41
	cmpl	$101, -12(%rbp)
	jg	.L41
	movl	-16(%rbp), %eax
	cltq
	addq	$1, %rax
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L42
.L41:
	movl	$1, %eax
.L42:
	movq	-8(%rbp), %rdx
	addq	$12, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	js	.L43
	cmpl	$101, -16(%rbp)
	jg	.L43
	cmpl	$-1, -12(%rbp)
	jl	.L43
	cmpl	$100, -12(%rbp)
	jg	.L43
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L44
.L43:
	movl	$1, %eax
.L44:
	movq	-8(%rbp), %rdx
	addq	$16, %rdx
	movl	%eax, (%rdx)
	cmpl	$0, -16(%rbp)
	jle	.L45
	cmpl	$102, -16(%rbp)
	jg	.L45
	cmpl	$0, -12(%rbp)
	js	.L45
	cmpl	$101, -12(%rbp)
	jg	.L45
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	leaq	-408(%rax), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L46
.L45:
	movl	$1, %eax
.L46:
	movq	-8(%rbp), %rdx
	addq	$20, %rdx
	movl	%eax, (%rdx)
.L34:
	cmpl	$0, -16(%rbp)
	js	.L47
	cmpl	$101, -16(%rbp)
	jg	.L47
	cmpl	$0, -12(%rbp)
	js	.L47
	cmpl	$101, -12(%rbp)
	jg	.L47
	movl	-16(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	jmp	.L49
.L47:
	movl	$1, %eax
.L49:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	getstat, .-getstat
	.globl	gettuuro
	.type	gettuuro, @function
gettuuro:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movl	%edx, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)
	js	.L60
	cmpl	$101, -44(%rbp)
	jg	.L60
	cmpl	$0, -48(%rbp)
	js	.L60
	cmpl	$101, -48(%rbp)
	jg	.L60
	movl	-48(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-44(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	je	.L61
	movl	-48(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-56(%rbp), %rax
	addq	%rax, %rdx
	movl	-44(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	jne	.L61
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	leaq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	getstat
	testl	%eax, %eax
	jne	.L50
	movl	-48(%rbp), %eax
	cltq
	imulq	$408, %rax, %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-44(%rbp), %eax
	cltq
	movl	$0, (%rdx,%rax,4)
	movl	-48(%rbp), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L57
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	jmp	.L50
.L57:
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movl	-44(%rbp), %eax
	leal	-1(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	movl	-44(%rbp), %eax
	leal	1(%rax), %esi
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	gettuuro
	movl	-48(%rbp), %eax
	leal	-1(%rax), %edi
	movq	-56(%rbp), %rdx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rdx, %rcx
	movl	%edi, %edx
	movq	%rax, %rdi
	call	gettuuro
	jmp	.L50
.L60:
	nop
	jmp	.L50
.L61:
	nop
.L50:
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	gettuuro, .-gettuuro
	.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:
