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>
#include <string.h>
int m[101][101][4];
int main()
{
  int w,h,i,j;
  for(;;){
    scanf("%d%d",&w,&h);
    if(w==0 && h==0) break;
    memset(m,0,sizeof(m));
    for(i=1;i<=w;i++){
      for(j=1;j<=h;j++){
	if(i==1 && j==1) {
	  m[i][j][0] = 1;
	  m[i][j][2] = 1;
	  continue;
	}
	m[i][j][0] = (m[i][j-1][0] + m[i][j-1][3]) % 100000;
	m[i][j][1] = m[i][j-1][0];
	m[i][j][2] = (m[i-1][j][2] + m[i-1][j][1]) % 100000;
	m[i][j][3] = m[i-1][j][2];
      }
    }
    printf("%d\n",
	   (m[w][h-1][0]+m[w][h-1][3]+m[w-1][h][2]+m[w-1][h][1]) % 100000);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	m
	.bss
	.align 32
	.type	m, @object
	.size	m, 163216
m:
	.zero	163216
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L10:
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	je	.L14
.L2:
	movl	$163216, %edx
	movl	$0, %esi
	leaq	m(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$1, -16(%rbp)
	jmp	.L4
.L9:
	movl	$1, -12(%rbp)
	jmp	.L5
.L8:
	cmpl	$1, -16(%rbp)
	jne	.L6
	cmpl	$1, -12(%rbp)
	jne	.L6
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L7
.L6:
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	12+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%ecx, %eax
	movslq	%eax, %rdx
	imulq	$351843721, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$13, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$100000, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rcx
	leaq	m(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	4+m(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	4+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%ecx, %eax
	movslq	%eax, %rdx
	imulq	$351843721, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$13, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$100000, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rcx
	leaq	8+m(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	12+m(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L7:
	addl	$1, -12(%rbp)
.L5:
	movl	-20(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L8
	addl	$1, -16(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L9
	movl	-24(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-24(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	12+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	(%rcx,%rax), %edi
	movl	-24(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, %edi
	movl	-24(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	4+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	(%rdi,%rax), %edx
	movslq	%edx, %rax
	imulq	$351843721, %rax, %rax
	shrq	$32, %rax
	sarl	$13, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100000, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L10
.L14:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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	m(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rax
	movq	%rax, 8(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, (%rsp)
	jmp	.L11
.L27:
	movslq	20(%rsp), %r12
	testl	%r12d, %r12d
	je	.L26
	movl	$163216, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	memset@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	0(%rbp,%rbp,4), %rax
	leal	-1(%rbp), %ecx
	movl	$1, %edi
	leal	-1(%r12), %edx
	leaq	(%rax,%rax,4), %rax
	movslq	%edx, %rdx
	leaq	0(%rbp,%rax,4), %rax
	leaq	.LC1(%rip), %rsi
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbx, %rax
	movl	12(%rax), %edx
	addl	(%rax), %edx
	movslq	%ecx, %rax
	leaq	(%rax,%rax,4), %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	%r12, %rax
	salq	$4, %rax
	addl	8(%rbx,%rax), %edx
	addl	4(%rbx,%rax), %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$351843721, %rax, %rax
	sarl	$31, %ecx
	sarq	$45, %rax
	subl	%ecx, %eax
	imull	$100000, %eax, %eax
	subl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L11:
	movq	8(%rsp), %rdx
	movq	(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	16(%rsp), %rbp
	testl	%ebp, %ebp
	je	.L27
	movl	$163216, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	memset@PLT
	movslq	20(%rsp), %r12
	testl	%ebp, %ebp
	jle	.L5
	testl	%r12d, %r12d
	jle	.L5
	leal	1(%rbp), %r15d
	movl	$1, %r13d
	leal	1(%r12), %r10d
	leaq	1616+m(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	$1, %r13d
	leaq	-1616(%r14), %rsi
	movq	%r14, %rdx
	movl	$1, %edi
	sete	%r8b
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L29:
	testb	%r8b, %r8b
	je	.L8
	addl	$1, %edi
	addq	$16, %rdx
	addq	$16, %rsi
	movl	$1, 1632+m(%rip)
	movl	$1, 1640+m(%rip)
	cmpl	%r10d, %edi
	je	.L28
.L10:
	cmpl	$1, %edi
	je	.L29
.L8:
	movl	(%rdx), %r9d
	movl	12(%rdx), %ecx
	addl	$1, %edi
	addq	$16, %rdx
	addq	$16, %rsi
	addl	%r9d, %ecx
	movl	%r9d, 4(%rdx)
	movslq	%ecx, %rax
	movl	%ecx, %r11d
	imulq	$351843721, %rax, %rax
	sarl	$31, %r11d
	sarq	$45, %rax
	subl	%r11d, %eax
	imull	$100000, %eax, %eax
	subl	%eax, %ecx
	movl	%ecx, (%rdx)
	movl	4(%rsi), %ecx
	addl	8(%rsi), %ecx
	movslq	%ecx, %rax
	movl	%ecx, %r9d
	imulq	$351843721, %rax, %rax
	sarl	$31, %r9d
	sarq	$45, %rax
	subl	%r9d, %eax
	imull	$100000, %eax, %eax
	subl	%eax, %ecx
	movl	%ecx, 8(%rdx)
	movl	8(%rsi), %eax
	movl	%eax, 12(%rdx)
	cmpl	%r10d, %edi
	jne	.L10
.L28:
	addl	$1, %r13d
	addq	$1616, %r14
	cmpl	%r15d, %r13d
	jne	.L7
	jmp	.L5
.L26:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$40, %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
.L30:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	m
	.bss
	.align 32
	.type	m, @object
	.size	m, 163216
m:
	.zero	163216
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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	m(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rax
	movq	%rax, 8(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, (%rsp)
	jmp	.L11
.L27:
	movslq	20(%rsp), %r12
	testl	%r12d, %r12d
	je	.L26
	movl	$163216, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	memset@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	0(%rbp,%rbp,4), %rax
	leal	-1(%rbp), %ecx
	movl	$1, %edi
	leal	-1(%r12), %edx
	leaq	(%rax,%rax,4), %rax
	movslq	%edx, %rdx
	leaq	0(%rbp,%rax,4), %rax
	leaq	.LC1(%rip), %rsi
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbx, %rax
	movl	12(%rax), %edx
	addl	(%rax), %edx
	movslq	%ecx, %rax
	leaq	(%rax,%rax,4), %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	%r12, %rax
	salq	$4, %rax
	addl	8(%rbx,%rax), %edx
	addl	4(%rbx,%rax), %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$351843721, %rax, %rax
	sarl	$31, %ecx
	sarq	$45, %rax
	subl	%ecx, %eax
	imull	$100000, %eax, %eax
	subl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L11:
	movq	8(%rsp), %rdx
	movq	(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	16(%rsp), %rbp
	testl	%ebp, %ebp
	je	.L27
	movl	$163216, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	memset@PLT
	movslq	20(%rsp), %r12
	testl	%ebp, %ebp
	jle	.L5
	testl	%r12d, %r12d
	jle	.L5
	leal	1(%rbp), %r15d
	movl	$1, %r13d
	leal	1(%r12), %r10d
	leaq	1616+m(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	$1, %r13d
	leaq	-1616(%r14), %rsi
	movq	%r14, %rdx
	movl	$1, %edi
	sete	%r8b
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L29:
	testb	%r8b, %r8b
	je	.L8
	addl	$1, %edi
	addq	$16, %rdx
	addq	$16, %rsi
	movl	$1, 1632+m(%rip)
	movl	$1, 1640+m(%rip)
	cmpl	%r10d, %edi
	je	.L28
.L10:
	cmpl	$1, %edi
	je	.L29
.L8:
	movl	(%rdx), %r9d
	movl	12(%rdx), %ecx
	addl	$1, %edi
	addq	$16, %rdx
	addq	$16, %rsi
	addl	%r9d, %ecx
	movl	%r9d, 4(%rdx)
	movslq	%ecx, %rax
	movl	%ecx, %r11d
	imulq	$351843721, %rax, %rax
	sarl	$31, %r11d
	sarq	$45, %rax
	subl	%r11d, %eax
	imull	$100000, %eax, %eax
	subl	%eax, %ecx
	movl	%ecx, (%rdx)
	movl	4(%rsi), %ecx
	addl	8(%rsi), %ecx
	movslq	%ecx, %rax
	movl	%ecx, %r9d
	imulq	$351843721, %rax, %rax
	sarl	$31, %r9d
	sarq	$45, %rax
	subl	%r9d, %eax
	imull	$100000, %eax, %eax
	subl	%eax, %ecx
	movl	%ecx, 8(%rdx)
	movl	8(%rsi), %eax
	movl	%eax, 12(%rdx)
	cmpl	%r10d, %edi
	jne	.L10
.L28:
	addl	$1, %r13d
	addq	$1616, %r14
	cmpl	%r15d, %r13d
	jne	.L7
	jmp	.L5
.L26:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$40, %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
.L30:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	m
	.bss
	.align 32
	.type	m, @object
	.size	m, 163216
m:
	.zero	163216
	.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>
#include <string.h>
int m[101][101][4];
int main()
{
  int w,h,i,j;
  for(;;){
    scanf("%d%d",&w,&h);
    if(w==0 && h==0) break;
    memset(m,0,sizeof(m));
    for(i=1;i<=w;i++){
      for(j=1;j<=h;j++){
	if(i==1 && j==1) {
	  m[i][j][0] = 1;
	  m[i][j][2] = 1;
	  continue;
	}
	m[i][j][0] = (m[i][j-1][0] + m[i][j-1][3]) % 100000;
	m[i][j][1] = m[i][j-1][0];
	m[i][j][2] = (m[i-1][j][2] + m[i-1][j][1]) % 100000;
	m[i][j][3] = m[i-1][j][2];
      }
    }
    printf("%d\n",
	   (m[w][h-1][0]+m[w][h-1][3]+m[w-1][h][2]+m[w-1][h][1]) % 100000);
  }
  return 0;
}
3 4
15 20
0 0
 3 4
15 24
0 0
 3 4
15 34
0 0
 4 4
15 34
0 0
 3 4
15 16
0 0
 3 5
15 34
0 0
 4 4
12 34
0 0
 1 4
15 16
0 0
 2 4
12 34
0 0
 2 1
12 34
0 0

5
58046
 5
8663
 5
73960
 8
73960
 5
25033
 6
73960
 8
55628
 1
25033
 2
55628
 1
55628

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>
#include <string.h>
int m[101][101][4];
int main()
{
  int w,h,i,j;
  for(;;){
    scanf("%d%d",&w,&h);
    if(w==0 && h==0) break;
    memset(m,0,sizeof(m));
    for(i=1;i<=w;i++){
      for(j=1;j<=h;j++){
	if(i==1 && j==1) {
	  m[i][j][0] = 1;
	  m[i][j][2] = 1;
	  continue;
	}
	m[i][j][0] = (m[i][j-1][0] + m[i][j-1][3]) % 100000;
	m[i][j][1] = m[i][j-1][0];
	m[i][j][2] = (m[i-1][j][2] + m[i-1][j][1]) % 100000;
	m[i][j][3] = m[i-1][j][2];
      }
    }
    printf("%d\n",
	   (m[w][h-1][0]+m[w][h-1][3]+m[w-1][h][2]+m[w-1][h][1]) % 100000);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	m
	.bss
	.align 32
	.type	m, @object
	.size	m, 163216
m:
	.zero	163216
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L10:
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	je	.L14
.L2:
	movl	$163216, %edx
	movl	$0, %esi
	leaq	m(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$1, -16(%rbp)
	jmp	.L4
.L9:
	movl	$1, -12(%rbp)
	jmp	.L5
.L8:
	cmpl	$1, -16(%rbp)
	jne	.L6
	cmpl	$1, -12(%rbp)
	jne	.L6
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L7
.L6:
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	12+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%ecx, %eax
	movslq	%eax, %rdx
	imulq	$351843721, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$13, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$100000, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rcx
	leaq	m(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	4+m(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	4+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%ecx, %eax
	movslq	%eax, %rdx
	imulq	$351843721, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$13, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$100000, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rcx
	leaq	8+m(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	12+m(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L7:
	addl	$1, -12(%rbp)
.L5:
	movl	-20(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L8
	addl	$1, -16(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L9
	movl	-24(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-24(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	12+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	(%rcx,%rax), %edi
	movl	-24(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, %edi
	movl	-24(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	4+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	(%rdi,%rax), %edx
	movslq	%edx, %rax
	imulq	$351843721, %rax, %rax
	shrq	$32, %rax
	sarl	$13, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100000, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L10
.L14:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.globl	m
	.bss
	.align 32
	.type	m, @object
	.size	m, 163216
m:
	.zero	163216
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L10:
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	je	.L14
.L2:
	movl	$163216, %edx
	movl	$0, %esi
	leaq	m(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$1, -16(%rbp)
	jmp	.L4
.L9:
	movl	$1, -12(%rbp)
	jmp	.L5
.L8:
	cmpl	$1, -16(%rbp)
	jne	.L6
	cmpl	$1, -12(%rbp)
	jne	.L6
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L7
.L6:
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	12+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%ecx, %eax
	movslq	%eax, %rdx
	imulq	$351843721, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$13, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$100000, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rcx
	leaq	m(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	4+m(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	4+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%ecx, %eax
	movslq	%eax, %rdx
	imulq	$351843721, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$13, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$100000, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rcx
	leaq	8+m(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	12+m(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L7:
	addl	$1, -12(%rbp)
.L5:
	movl	-20(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L8
	addl	$1, -16(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L9
	movl	-24(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-24(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	12+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	(%rcx,%rax), %edi
	movl	-24(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, %edi
	movl	-24(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	4+m(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	(%rdi,%rax), %edx
	movslq	%edx, %rax
	imulq	$351843721, %rax, %rax
	shrq	$32, %rax
	sarl	$13, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100000, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L10
.L14:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
