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

```c
z[75][75];s,d,t,a,*p,j;main(i){for(;scanf("%d%d",&s,&d)*d++;printf("%d\n",s)){for(memset(z,t=60,2e4);s--;)for(j=i=d;--i;a?*p=fmin(*p,a),*z[t]>*p?t=i:0:0)scanf("%d",&a),p=z[i];for(;--j;)for(s=j;--s;a?z[s][j]=z[j][s]=a:0)scanf("%d",&a);for(s=i=0;d+~i++;t=a)for(s+=*z[t],*z[t]=0,a=j=d;--j;*p&&*z[a]>*p?a=j:0)p=z[j],*p=fmin(*p,p[t]);}}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	z
	.bss
	.align 32
	.type	z, @object
	.size	z, 22500
z:
	.zero	22500
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	p
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	jmp	.L2
.L20:
	movl	$60, t(%rip)
	movl	t(%rip), %eax
	movl	$20000, %edx
	movl	%eax, %esi
	leaq	z(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	jmp	.L3
.L9:
	movl	d(%rip), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, j(%rip)
	jmp	.L4
.L8:
	leaq	a(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, p(%rip)
	movl	a(%rip), %eax
	testl	%eax, %eax
	je	.L4
	movl	a(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	p(%rip), %rax
	movl	(%rax), %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmin@PLT
	movq	p(%rip), %rax
	cvttsd2sil	%xmm0, %edx
	movl	%edx, (%rax)
	movl	t(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	(%rax,%rdx), %edx
	movq	p(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L4
	movl	-4(%rbp), %eax
	movl	%eax, t(%rip)
.L4:
	subl	$1, -4(%rbp)
	cmpl	$0, -4(%rbp)
	jne	.L8
.L3:
	movl	s(%rip), %eax
	leal	-1(%rax), %edx
	movl	%edx, s(%rip)
	testl	%eax, %eax
	jne	.L9
	jmp	.L10
.L14:
	movl	j(%rip), %eax
	movl	%eax, s(%rip)
	jmp	.L11
.L13:
	leaq	a(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	a(%rip), %eax
	testl	%eax, %eax
	je	.L11
	movl	j(%rip), %ecx
	movl	s(%rip), %esi
	movl	a(%rip), %edi
	movslq	%esi, %r8
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%r8), %rax
	leaq	0(,%rax,4), %rdx
	leaq	z(%rip), %rax
	movl	%edi, (%rdx,%rax)
	movl	s(%rip), %edi
	movl	j(%rip), %r8d
	movslq	%esi, %rsi
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rsi), %rax
	leaq	0(,%rax,4), %rdx
	leaq	z(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movslq	%r8d, %rsi
	movslq	%edi, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rsi), %rax
	leaq	0(,%rax,4), %rdx
	leaq	z(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L11:
	movl	s(%rip), %eax
	subl	$1, %eax
	movl	%eax, s(%rip)
	movl	s(%rip), %eax
	testl	%eax, %eax
	jne	.L13
.L10:
	movl	j(%rip), %eax
	subl	$1, %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %eax
	testl	%eax, %eax
	jne	.L14
	movl	$0, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, s(%rip)
	jmp	.L15
.L19:
	movl	t(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	(%rax,%rdx), %edx
	movl	s(%rip), %eax
	addl	%edx, %eax
	movl	%eax, s(%rip)
	movl	t(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	$0, (%rax,%rdx)
	movl	d(%rip), %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %eax
	movl	%eax, a(%rip)
	jmp	.L16
.L18:
	movl	j(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, p(%rip)
	movq	p(%rip), %rdx
	movl	t(%rip), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	p(%rip), %rax
	movl	(%rax), %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movq	%xmm3, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmin@PLT
	movq	p(%rip), %rax
	cvttsd2sil	%xmm0, %edx
	movl	%edx, (%rax)
	movq	p(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	.L16
	movl	a(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	(%rax,%rdx), %edx
	movq	p(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L16
	movl	j(%rip), %eax
	movl	%eax, a(%rip)
.L16:
	movl	j(%rip), %eax
	subl	$1, %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %eax
	testl	%eax, %eax
	jne	.L18
	movl	a(%rip), %eax
	movl	%eax, t(%rip)
.L15:
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	notl	%eax
	movl	%eax, %edx
	movl	d(%rip), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	jne	.L19
	movl	s(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	d(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	%eax, %edx
	movl	d(%rip), %eax
	leal	1(%rax), %ecx
	movl	%ecx, d(%rip)
	imull	%edx, %eax
	testl	%eax, %eax
	jne	.L20
	movl	$0, %eax
	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"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
.L2:
	leaq	d(%rip), %rdx
	leaq	s(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rdi
	call	scanf@PLT
	movl	d(%rip), %edx
	imull	%edx, %eax
	leal	1(%rdx), %ebx
	movl	%ebx, d(%rip)
	testl	%eax, %eax
	je	.L39
	leaq	z(%rip), %r12
	movl	$20000, %edx
	movl	$60, %esi
	movl	$60, t(%rip)
	movq	%r12, %rdi
	call	memset@PLT
	movl	s(%rip), %eax
	leal	-1(%rax), %edx
	movl	%edx, s(%rip)
	testl	%eax, %eax
	je	.L3
	movl	%ebx, j(%rip)
	leaq	.LC0(%rip), %r13
	subl	$1, %ebx
	je	.L22
	.p2align 4,,10
	.p2align 3
.L40:
	movslq	%ebx, %r14
	imulq	$300, %r14, %r14
	addq	%r12, %r14
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	a(%rip), %eax
	movq	%r14, p(%rip)
	testl	%eax, %eax
	je	.L6
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	(%r14), %xmm0
	cvtsi2sdl	%eax, %xmm1
	call	fmin@PLT
	movslq	t(%rip), %rax
	cvttsd2sil	%xmm0, %edx
	imulq	$300, %rax, %rax
	movl	%edx, (%r14)
	cmpl	(%r12,%rax), %edx
	jge	.L6
	movl	%ebx, t(%rip)
.L6:
	subq	$300, %r14
	subl	$1, %ebx
	jne	.L8
	movl	s(%rip), %eax
	leal	-1(%rax), %edx
	movl	%edx, s(%rip)
	testl	%eax, %eax
	je	.L3
.L41:
	movl	d(%rip), %ebx
	movl	%ebx, j(%rip)
	subl	$1, %ebx
	jne	.L40
.L22:
	movl	%edx, %eax
	leal	-1(%rax), %edx
	movl	%edx, s(%rip)
	testl	%eax, %eax
	jne	.L41
.L3:
	movl	j(%rip), %eax
	leaq	.LC0(%rip), %rbx
	subl	$1, %eax
	movl	%eax, j(%rip)
	jne	.L15
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L16:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	a(%rip), %edx
	testl	%edx, %edx
	jne	.L14
	movl	s(%rip), %eax
.L15:
	subl	$1, %eax
	movl	%eax, s(%rip)
	jne	.L16
	movl	j(%rip), %eax
	subl	$1, %eax
	movl	%eax, j(%rip)
	jne	.L15
.L17:
	movl	$0, s(%rip)
	movl	d(%rip), %eax
	leal	-1(%rax), %edi
	movl	%eax, 16(%rsp)
	movl	%edi, 20(%rsp)
	cmpl	$1, %eax
	je	.L42
	movl	t(%rip), %eax
	movslq	20(%rsp), %rdx
	movl	$1, %ebx
	movl	$0, 12(%rsp)
	movl	%eax, 8(%rsp)
	movl	16(%rsp), %eax
	imulq	$300, %rdx, %rdx
	subl	$2, %eax
	imulq	$-300, %rax, %rax
	addq	%rdx, %rax
	addq	%r12, %rax
	movq	%rax, 24(%rsp)
	.p2align 4,,10
	.p2align 3
.L20:
	movslq	8(%rsp), %r13
	movl	20(%rsp), %r15d
	imulq	$300, %r13, %rax
	leaq	0(,%r13,4), %r14
	addq	%r12, %rax
	movl	(%rax), %edi
	movl	$0, (%rax)
	addl	%edi, 12(%rsp)
	movl	16(%rsp), %eax
	movl	12(%rsp), %esi
	movl	%eax, a(%rip)
	movl	%esi, s(%rip)
	movl	%eax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movslq	%r15d, %rax
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	imulq	$300, %rax, %rax
	leaq	(%r12,%rax), %r13
	cvtsi2sdl	0(%r13), %xmm0
	cvtsi2sdl	0(%r13,%r14), %xmm1
	call	fmin@PLT
	cvttsd2sil	%xmm0, %ecx
	movl	%ecx, 0(%r13)
	testl	%ecx, %ecx
	je	.L18
	movslq	8(%rsp), %rax
	imulq	$300, %rax, %rax
	cmpl	(%r12,%rax), %ecx
	jge	.L18
	movl	%r15d, a(%rip)
	movl	%r15d, 8(%rsp)
.L18:
	subl	$1, %r15d
	movl	%r15d, j(%rip)
	jne	.L19
	movl	8(%rsp), %eax
	addl	$1, %ebx
	movl	%eax, t(%rip)
	cmpl	16(%rsp), %ebx
	jne	.L20
	movq	24(%rsp), %rax
	movq	%rax, p(%rip)
.L12:
	movl	12(%rsp), %esi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	movslq	j(%rip), %rsi
	movslq	s(%rip), %rdi
	leaq	(%rsi,%rsi,4), %r8
	movq	%rdi, %rax
	movq	%r8, %rcx
	salq	$4, %rcx
	subq	%r8, %rcx
	addq	%rdi, %rcx
	leaq	(%rdi,%rdi,4), %rdi
	movl	%edx, (%r12,%rcx,4)
	movq	%rdi, %rcx
	salq	$4, %rcx
	subq	%rdi, %rcx
	addq	%rsi, %rcx
	movl	%edx, (%r12,%rcx,4)
	jmp	.L15
.L39:
	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
.L42:
	.cfi_restore_state
	movl	$0, 12(%rsp)
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	j
	.bss
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	p
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	z
	.align 32
	.type	z, @object
	.size	z, 22500
z:
	.zero	22500
	.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"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
.L2:
	leaq	d(%rip), %rdx
	leaq	s(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rdi
	call	scanf@PLT
	movl	d(%rip), %edx
	imull	%edx, %eax
	leal	1(%rdx), %ebx
	movl	%ebx, d(%rip)
	testl	%eax, %eax
	je	.L39
	leaq	z(%rip), %r12
	movl	$20000, %edx
	movl	$60, %esi
	movl	$60, t(%rip)
	movq	%r12, %rdi
	call	memset@PLT
	movl	s(%rip), %eax
	leal	-1(%rax), %edx
	movl	%edx, s(%rip)
	testl	%eax, %eax
	je	.L3
	movl	%ebx, j(%rip)
	leaq	.LC0(%rip), %r13
	subl	$1, %ebx
	je	.L22
	.p2align 4,,10
	.p2align 3
.L40:
	movslq	%ebx, %r14
	imulq	$300, %r14, %r14
	addq	%r12, %r14
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	a(%rip), %eax
	movq	%r14, p(%rip)
	testl	%eax, %eax
	je	.L6
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	(%r14), %xmm0
	cvtsi2sdl	%eax, %xmm1
	call	fmin@PLT
	movslq	t(%rip), %rax
	cvttsd2sil	%xmm0, %edx
	imulq	$300, %rax, %rax
	movl	%edx, (%r14)
	cmpl	(%r12,%rax), %edx
	jge	.L6
	movl	%ebx, t(%rip)
.L6:
	subq	$300, %r14
	subl	$1, %ebx
	jne	.L8
	movl	s(%rip), %eax
	leal	-1(%rax), %edx
	movl	%edx, s(%rip)
	testl	%eax, %eax
	je	.L3
.L41:
	movl	d(%rip), %ebx
	movl	%ebx, j(%rip)
	subl	$1, %ebx
	jne	.L40
.L22:
	movl	%edx, %eax
	leal	-1(%rax), %edx
	movl	%edx, s(%rip)
	testl	%eax, %eax
	jne	.L41
.L3:
	movl	j(%rip), %eax
	leaq	.LC0(%rip), %rbx
	subl	$1, %eax
	movl	%eax, j(%rip)
	jne	.L15
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L16:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	a(%rip), %edx
	testl	%edx, %edx
	jne	.L14
	movl	s(%rip), %eax
.L15:
	subl	$1, %eax
	movl	%eax, s(%rip)
	jne	.L16
	movl	j(%rip), %eax
	subl	$1, %eax
	movl	%eax, j(%rip)
	jne	.L15
.L17:
	movl	$0, s(%rip)
	movl	d(%rip), %eax
	leal	-1(%rax), %edi
	movl	%eax, 16(%rsp)
	movl	%edi, 20(%rsp)
	cmpl	$1, %eax
	je	.L42
	movl	t(%rip), %eax
	movslq	20(%rsp), %rdx
	movl	$1, %ebx
	movl	$0, 12(%rsp)
	movl	%eax, 8(%rsp)
	movl	16(%rsp), %eax
	imulq	$300, %rdx, %rdx
	subl	$2, %eax
	imulq	$-300, %rax, %rax
	addq	%rdx, %rax
	addq	%r12, %rax
	movq	%rax, 24(%rsp)
	.p2align 4,,10
	.p2align 3
.L20:
	movslq	8(%rsp), %r13
	movl	20(%rsp), %r15d
	imulq	$300, %r13, %rax
	leaq	0(,%r13,4), %r14
	addq	%r12, %rax
	movl	(%rax), %edi
	movl	$0, (%rax)
	addl	%edi, 12(%rsp)
	movl	16(%rsp), %eax
	movl	12(%rsp), %esi
	movl	%eax, a(%rip)
	movl	%esi, s(%rip)
	movl	%eax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movslq	%r15d, %rax
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	imulq	$300, %rax, %rax
	leaq	(%r12,%rax), %r13
	cvtsi2sdl	0(%r13), %xmm0
	cvtsi2sdl	0(%r13,%r14), %xmm1
	call	fmin@PLT
	cvttsd2sil	%xmm0, %ecx
	movl	%ecx, 0(%r13)
	testl	%ecx, %ecx
	je	.L18
	movslq	8(%rsp), %rax
	imulq	$300, %rax, %rax
	cmpl	(%r12,%rax), %ecx
	jge	.L18
	movl	%r15d, a(%rip)
	movl	%r15d, 8(%rsp)
.L18:
	subl	$1, %r15d
	movl	%r15d, j(%rip)
	jne	.L19
	movl	8(%rsp), %eax
	addl	$1, %ebx
	movl	%eax, t(%rip)
	cmpl	16(%rsp), %ebx
	jne	.L20
	movq	24(%rsp), %rax
	movq	%rax, p(%rip)
.L12:
	movl	12(%rsp), %esi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	movslq	j(%rip), %rsi
	movslq	s(%rip), %rdi
	leaq	(%rsi,%rsi,4), %r8
	movq	%rdi, %rax
	movq	%r8, %rcx
	salq	$4, %rcx
	subq	%r8, %rcx
	addq	%rdi, %rcx
	leaq	(%rdi,%rdi,4), %rdi
	movl	%edx, (%r12,%rcx,4)
	movq	%rdi, %rcx
	salq	$4, %rcx
	subq	%rdi, %rcx
	addq	%rsi, %rcx
	movl	%edx, (%r12,%rcx,4)
	jmp	.L15
.L39:
	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
.L42:
	.cfi_restore_state
	movl	$0, 12(%rsp)
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	j
	.bss
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	p
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	z
	.align 32
	.type	z, @object
	.size	z, 22500
z:
	.zero	22500
	.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:

z[75][75];s,d,t,a,*p,j;main(i){for(;scanf("%d%d",&s,&d)*d++;printf("%d\n",s)){for(memset(z,t=60,2e4);s--;)for(j=i=d;--i;a?*p=fmin(*p,a),*z[t]>*p?t=i:0:0)scanf("%d",&a),p=z[i];for(;--j;)for(s=j;--s;a?z[s][j]=z[j][s]=a:0)scanf("%d",&a);for(s=i=0;d+~i++;t=a)for(s+=*z[t],*z[t]=0,a=j=d;--j;*p&&*z[a]>*p?a=j:0)p=z[j],*p=fmin(*p,p[t]);}}
3 5
12 8 25 19 44
9 13 16 0 17
20 14 16 10 22
17 27 18 16
9 7 0
19 5
21
0 0
 3 5
12 15 70 19 44
9 13 16 0 17
20 14 16 10 22
17 27 18 16
9 7 0
19 5
21
0 0
 3 5
12 8 25 19 23
9 13 16 0 17
20 9 16 10 22
17 27 18 16
1 7 0
19 5
21
0 0
 3 5
12 15 70 19 44
16 13 16 0 17
20 14 16 10 22
17 27 18 16
9 7 0
19 5
21
0 0
 3 5
12 8 44 19 44
5 13 16 0 17
20 8 16 10 22
17 21 18 16
9 7 0
19 5
21
0 0
 3 5
12 8 30 19 44
5 13 16 0 17
20 8 16 10 22
17 21 18 16
9 12 0
19 5
21
0 0
 3 5
12 8 30 19 44
5 13 16 0 8
20 8 16 10 22
17 21 18 16
9 12 0
19 5
21
0 0
 3 5
12 8 30 19 44
5 12 16 0 8
20 8 16 10 22
17 21 18 16
7 12 0
19 5
21
0 0
 3 5
12 8 30 19 44
6 12 16 0 8
30 8 16 10 22
17 21 18 16
7 12 0
19 2
21
0 0
 3 5
12 8 30 19 44
6 12 16 0 8
30 8 16 4 22
17 21 18 16
7 12 0
19 2
21
0 0

38
 40
 30
 43
 34
 37
 36
 35
 33
 27

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

```c
z[75][75];s,d,t,a,*p,j;main(i){for(;scanf("%d%d",&s,&d)*d++;printf("%d\n",s)){for(memset(z,t=60,2e4);s--;)for(j=i=d;--i;a?*p=fmin(*p,a),*z[t]>*p?t=i:0:0)scanf("%d",&a),p=z[i];for(;--j;)for(s=j;--s;a?z[s][j]=z[j][s]=a:0)scanf("%d",&a);for(s=i=0;d+~i++;t=a)for(s+=*z[t],*z[t]=0,a=j=d;--j;*p&&*z[a]>*p?a=j:0)p=z[j],*p=fmin(*p,p[t]);}}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	z
	.bss
	.align 32
	.type	z, @object
	.size	z, 22500
z:
	.zero	22500
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	p
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	jmp	.L2
.L20:
	movl	$60, t(%rip)
	movl	t(%rip), %eax
	movl	$20000, %edx
	movl	%eax, %esi
	leaq	z(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	jmp	.L3
.L9:
	movl	d(%rip), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, j(%rip)
	jmp	.L4
.L8:
	leaq	a(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, p(%rip)
	movl	a(%rip), %eax
	testl	%eax, %eax
	je	.L4
	movl	a(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	p(%rip), %rax
	movl	(%rax), %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmin@PLT
	movq	p(%rip), %rax
	cvttsd2sil	%xmm0, %edx
	movl	%edx, (%rax)
	movl	t(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	(%rax,%rdx), %edx
	movq	p(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L4
	movl	-4(%rbp), %eax
	movl	%eax, t(%rip)
.L4:
	subl	$1, -4(%rbp)
	cmpl	$0, -4(%rbp)
	jne	.L8
.L3:
	movl	s(%rip), %eax
	leal	-1(%rax), %edx
	movl	%edx, s(%rip)
	testl	%eax, %eax
	jne	.L9
	jmp	.L10
.L14:
	movl	j(%rip), %eax
	movl	%eax, s(%rip)
	jmp	.L11
.L13:
	leaq	a(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	a(%rip), %eax
	testl	%eax, %eax
	je	.L11
	movl	j(%rip), %ecx
	movl	s(%rip), %esi
	movl	a(%rip), %edi
	movslq	%esi, %r8
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%r8), %rax
	leaq	0(,%rax,4), %rdx
	leaq	z(%rip), %rax
	movl	%edi, (%rdx,%rax)
	movl	s(%rip), %edi
	movl	j(%rip), %r8d
	movslq	%esi, %rsi
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rsi), %rax
	leaq	0(,%rax,4), %rdx
	leaq	z(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movslq	%r8d, %rsi
	movslq	%edi, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rsi), %rax
	leaq	0(,%rax,4), %rdx
	leaq	z(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L11:
	movl	s(%rip), %eax
	subl	$1, %eax
	movl	%eax, s(%rip)
	movl	s(%rip), %eax
	testl	%eax, %eax
	jne	.L13
.L10:
	movl	j(%rip), %eax
	subl	$1, %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %eax
	testl	%eax, %eax
	jne	.L14
	movl	$0, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, s(%rip)
	jmp	.L15
.L19:
	movl	t(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	(%rax,%rdx), %edx
	movl	s(%rip), %eax
	addl	%edx, %eax
	movl	%eax, s(%rip)
	movl	t(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	$0, (%rax,%rdx)
	movl	d(%rip), %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %eax
	movl	%eax, a(%rip)
	jmp	.L16
.L18:
	movl	j(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, p(%rip)
	movq	p(%rip), %rdx
	movl	t(%rip), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	p(%rip), %rax
	movl	(%rax), %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movq	%xmm3, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmin@PLT
	movq	p(%rip), %rax
	cvttsd2sil	%xmm0, %edx
	movl	%edx, (%rax)
	movq	p(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	.L16
	movl	a(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	(%rax,%rdx), %edx
	movq	p(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L16
	movl	j(%rip), %eax
	movl	%eax, a(%rip)
.L16:
	movl	j(%rip), %eax
	subl	$1, %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %eax
	testl	%eax, %eax
	jne	.L18
	movl	a(%rip), %eax
	movl	%eax, t(%rip)
.L15:
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	notl	%eax
	movl	%eax, %edx
	movl	d(%rip), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	jne	.L19
	movl	s(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	d(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	%eax, %edx
	movl	d(%rip), %eax
	leal	1(%rax), %ecx
	movl	%ecx, d(%rip)
	imull	%edx, %eax
	testl	%eax, %eax
	jne	.L20
	movl	$0, %eax
	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	z
	.bss
	.align 32
	.type	z, @object
	.size	z, 22500
z:
	.zero	22500
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	p
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	jmp	.L2
.L20:
	movl	$60, t(%rip)
	movl	t(%rip), %eax
	movl	$20000, %edx
	movl	%eax, %esi
	leaq	z(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	jmp	.L3
.L9:
	movl	d(%rip), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, j(%rip)
	jmp	.L4
.L8:
	leaq	a(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, p(%rip)
	movl	a(%rip), %eax
	testl	%eax, %eax
	je	.L4
	movl	a(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	p(%rip), %rax
	movl	(%rax), %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmin@PLT
	movq	p(%rip), %rax
	cvttsd2sil	%xmm0, %edx
	movl	%edx, (%rax)
	movl	t(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	(%rax,%rdx), %edx
	movq	p(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L4
	movl	-4(%rbp), %eax
	movl	%eax, t(%rip)
.L4:
	subl	$1, -4(%rbp)
	cmpl	$0, -4(%rbp)
	jne	.L8
.L3:
	movl	s(%rip), %eax
	leal	-1(%rax), %edx
	movl	%edx, s(%rip)
	testl	%eax, %eax
	jne	.L9
	jmp	.L10
.L14:
	movl	j(%rip), %eax
	movl	%eax, s(%rip)
	jmp	.L11
.L13:
	leaq	a(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	a(%rip), %eax
	testl	%eax, %eax
	je	.L11
	movl	j(%rip), %ecx
	movl	s(%rip), %esi
	movl	a(%rip), %edi
	movslq	%esi, %r8
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%r8), %rax
	leaq	0(,%rax,4), %rdx
	leaq	z(%rip), %rax
	movl	%edi, (%rdx,%rax)
	movl	s(%rip), %edi
	movl	j(%rip), %r8d
	movslq	%esi, %rsi
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rsi), %rax
	leaq	0(,%rax,4), %rdx
	leaq	z(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movslq	%r8d, %rsi
	movslq	%edi, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rsi), %rax
	leaq	0(,%rax,4), %rdx
	leaq	z(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L11:
	movl	s(%rip), %eax
	subl	$1, %eax
	movl	%eax, s(%rip)
	movl	s(%rip), %eax
	testl	%eax, %eax
	jne	.L13
.L10:
	movl	j(%rip), %eax
	subl	$1, %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %eax
	testl	%eax, %eax
	jne	.L14
	movl	$0, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, s(%rip)
	jmp	.L15
.L19:
	movl	t(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	(%rax,%rdx), %edx
	movl	s(%rip), %eax
	addl	%edx, %eax
	movl	%eax, s(%rip)
	movl	t(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	$0, (%rax,%rdx)
	movl	d(%rip), %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %eax
	movl	%eax, a(%rip)
	jmp	.L16
.L18:
	movl	j(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, p(%rip)
	movq	p(%rip), %rdx
	movl	t(%rip), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	p(%rip), %rax
	movl	(%rax), %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movq	%xmm3, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmin@PLT
	movq	p(%rip), %rax
	cvttsd2sil	%xmm0, %edx
	movl	%edx, (%rax)
	movq	p(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	.L16
	movl	a(%rip), %eax
	cltq
	imulq	$300, %rax, %rax
	leaq	z(%rip), %rdx
	movl	(%rax,%rdx), %edx
	movq	p(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L16
	movl	j(%rip), %eax
	movl	%eax, a(%rip)
.L16:
	movl	j(%rip), %eax
	subl	$1, %eax
	movl	%eax, j(%rip)
	movl	j(%rip), %eax
	testl	%eax, %eax
	jne	.L18
	movl	a(%rip), %eax
	movl	%eax, t(%rip)
.L15:
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	notl	%eax
	movl	%eax, %edx
	movl	d(%rip), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	jne	.L19
	movl	s(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	d(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	%eax, %edx
	movl	d(%rip), %eax
	leal	1(%rax), %ecx
	movl	%ecx, d(%rip)
	imull	%edx, %eax
	testl	%eax, %eax
	jne	.L20
	movl	$0, %eax
	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:
