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 main()
{
	int n,m,k;
	while(scanf("%d%d%d",&n,&m,&k)!=EOF)
	{
		int i,j,tp;
		int flag=0;
		for(i=0;i<=n;i++)
		{
			for(j=0;j<=m;j++)
			{
				tp=(m-j)*i+(n-i)*j;
				if(tp==k)
				{
					flag=1;
				}
			}
		}
		if(flag==0)printf("No\n");
		else printf("Yes\n");
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"No"
.LC1:
	.string	"Yes"
.LC2:
	.string	"%d%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	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L9:
	movl	$0, -16(%rbp)
	movl	$0, -24(%rbp)
	jmp	.L3
.L7:
	movl	$0, -20(%rbp)
	jmp	.L4
.L6:
	movl	-32(%rbp), %eax
	subl	-20(%rbp), %eax
	imull	-24(%rbp), %eax
	movl	%eax, %edx
	movl	-36(%rbp), %eax
	subl	-24(%rbp), %eax
	imull	-20(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -12(%rbp)
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jne	.L5
	movl	$1, -16(%rbp)
.L5:
	addl	$1, -20(%rbp)
.L4:
	movl	-32(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jle	.L6
	addl	$1, -24(%rbp)
.L3:
	movl	-36(%rbp), %eax
	cmpl	%eax, -24(%rbp)
	jle	.L7
	cmpl	$0, -16(%rbp)
	jne	.L8
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L2
.L8:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	leaq	-28(%rbp), %rcx
	leaq	-32(%rbp), %rdx
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L9
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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
.LC4:
	.string	"No"
.LC5:
	.string	"Yes"
.LC6:
	.string	"%d%d%d"
	.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
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	52(%rsp), %rax
	movq	%rax, 24(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 16(%rsp)
	leaq	44(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	24(%rsp), %rcx
	movq	16(%rsp), %rdx
	xorl	%eax, %eax
	leaq	.LC6(%rip), %rdi
	movq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L30
	movl	44(%rsp), %r14d
	movdqa	.LC2(%rip), %xmm4
	movdqa	.LC3(%rip), %xmm12
	testl	%r14d, %r14d
	js	.L31
	movl	48(%rsp), %edx
	movl	52(%rsp), %edi
	leal	1(%r14), %r12d
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movl	$1, %r10d
	pxor	%xmm9, %xmm9
	leal	1(%rdx), %r15d
	movd	%edx, %xmm6
	movd	%edi, %xmm7
	movl	%r15d, %r11d
	movl	%r15d, %r13d
	pshufd	$0, %xmm6, %xmm11
	shrl	$2, %r11d
	andl	$-4, %r13d
	pshufd	$0, %xmm7, %xmm10
	.p2align 4,,10
	.p2align 3
.L32:
	testl	%edx, %edx
	js	.L27
	movl	%r14d, %esi
	subl	%ecx, %esi
	cmpl	$14, %edx
	jbe	.L34
	movd	%eax, %xmm5
	movd	%ecx, %xmm6
	xorl	%eax, %eax
	movdqa	.LC0(%rip), %xmm3
	pshufd	$0, %xmm5, %xmm1
	movd	%esi, %xmm5
	pshufd	$0, %xmm6, %xmm6
	movdqa	.LC1(%rip), %xmm2
	pshufd	$0, %xmm5, %xmm5
	movdqa	%xmm6, %xmm8
	pxor	%xmm13, %xmm13
	movdqa	%xmm5, %xmm7
	psrlq	$32, %xmm8
	psrlq	$32, %xmm7
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm2, %xmm14
	movdqa	%xmm11, %xmm15
	paddd	%xmm4, %xmm2
	addl	$1, %eax
	psubd	%xmm14, %xmm15
	movdqa	%xmm15, %xmm0
	psrlq	$32, %xmm15
	pmuludq	%xmm6, %xmm0
	pmuludq	%xmm8, %xmm15
	pshufd	$8, %xmm0, %xmm0
	pshufd	$8, %xmm15, %xmm15
	punpckldq	%xmm15, %xmm0
	movdqa	%xmm14, %xmm15
	psrlq	$32, %xmm14
	pmuludq	%xmm5, %xmm15
	pmuludq	%xmm7, %xmm14
	pshufd	$8, %xmm15, %xmm15
	pshufd	$8, %xmm14, %xmm14
	punpckldq	%xmm14, %xmm15
	paddd	%xmm15, %xmm0
	pcmpeqd	%xmm10, %xmm0
	pcmpeqd	%xmm9, %xmm0
	movdqa	%xmm0, %xmm14
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm13
	pandn	%xmm12, %xmm14
	pandn	%xmm3, %xmm0
	paddd	%xmm4, %xmm3
	por	%xmm14, %xmm1
	por	%xmm0, %xmm13
	cmpl	%eax, %r11d
	jne	.L4
	pshufd	$85, %xmm13, %xmm0
	movd	%xmm13, %ebp
	movd	%xmm0, %ebx
	movd	%xmm0, %r8d
	movdqa	%xmm13, %xmm0
	cmpl	%ebx, %ebp
	punpckhdq	%xmm13, %xmm0
	cmovnb	%ebp, %r8d
	movd	%xmm0, %r9d
	cmpl	%r9d, %r8d
	jb	.L5
	pshufd	$85, %xmm1, %xmm0
	movd	%xmm1, %eax
	cmpl	%ebx, %ebp
	movd	%xmm0, 4(%rsp)
	cmovb	4(%rsp), %eax
.L6:
	pshufd	$255, %xmm13, %xmm13
	pshufd	$255, %xmm1, %xmm1
	cmpl	%r9d, %r8d
	cmovb	%r9d, %r8d
	movd	%xmm13, %r9d
	movd	%xmm1, %ebx
	cmpl	%r9d, %r8d
	movl	%r13d, %r9d
	cmovb	%ebx, %eax
	cmpl	%r13d, %r15d
	je	.L27
.L3:
	movl	%edx, %ebx
	leal	1(%r9), %ebp
	movl	%r9d, %r8d
	subl	%r9d, %ebx
	imull	%esi, %r8d
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%edi, %ebx
	cmove	%r10d, %eax
	cmpl	%edx, %ebp
	jg	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	2(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%edx, %ebp
	jg	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	3(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	4(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	5(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	6(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	7(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	8(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	9(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	10(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	11(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	12(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	13(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	addl	$14, %r9d
	cmpl	%r9d, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%r8d, %esi
	subl	%r9d, %ebx
	imull	%ecx, %ebx
	addl	%ebx, %esi
	cmpl	%esi, %edi
	cmove	%r10d, %eax
	.p2align 4,,10
	.p2align 3
.L27:
	addl	$1, %ecx
	cmpl	%r12d, %ecx
	jne	.L32
	testl	%eax, %eax
	je	.L31
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm1, %xmm0
	punpckhdq	%xmm1, %xmm0
	movd	%xmm0, %eax
	jmp	.L6
.L34:
	xorl	%r9d, %r9d
	jmp	.L3
.L31:
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L30:
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	addq	$72, %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
.L39:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC1:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC4:
	.string	"No"
.LC5:
	.string	"Yes"
.LC6:
	.string	"%d%d%d"
	.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
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	52(%rsp), %rax
	movq	%rax, 24(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 16(%rsp)
	leaq	44(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	24(%rsp), %rcx
	movq	16(%rsp), %rdx
	xorl	%eax, %eax
	leaq	.LC6(%rip), %rdi
	movq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L30
	movl	44(%rsp), %r14d
	movdqa	.LC2(%rip), %xmm4
	movdqa	.LC3(%rip), %xmm12
	testl	%r14d, %r14d
	js	.L31
	movl	48(%rsp), %edx
	movl	52(%rsp), %edi
	leal	1(%r14), %r12d
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movl	$1, %r10d
	pxor	%xmm9, %xmm9
	leal	1(%rdx), %r15d
	movd	%edx, %xmm6
	movd	%edi, %xmm7
	movl	%r15d, %r11d
	movl	%r15d, %r13d
	pshufd	$0, %xmm6, %xmm11
	shrl	$2, %r11d
	andl	$-4, %r13d
	pshufd	$0, %xmm7, %xmm10
	.p2align 4,,10
	.p2align 3
.L32:
	testl	%edx, %edx
	js	.L27
	movl	%r14d, %esi
	subl	%ecx, %esi
	cmpl	$14, %edx
	jbe	.L34
	movd	%eax, %xmm5
	movd	%ecx, %xmm6
	xorl	%eax, %eax
	movdqa	.LC0(%rip), %xmm3
	pshufd	$0, %xmm5, %xmm1
	movd	%esi, %xmm5
	pshufd	$0, %xmm6, %xmm6
	movdqa	.LC1(%rip), %xmm2
	pshufd	$0, %xmm5, %xmm5
	movdqa	%xmm6, %xmm8
	pxor	%xmm13, %xmm13
	movdqa	%xmm5, %xmm7
	psrlq	$32, %xmm8
	psrlq	$32, %xmm7
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm2, %xmm14
	movdqa	%xmm11, %xmm15
	paddd	%xmm4, %xmm2
	addl	$1, %eax
	psubd	%xmm14, %xmm15
	movdqa	%xmm15, %xmm0
	psrlq	$32, %xmm15
	pmuludq	%xmm6, %xmm0
	pmuludq	%xmm8, %xmm15
	pshufd	$8, %xmm0, %xmm0
	pshufd	$8, %xmm15, %xmm15
	punpckldq	%xmm15, %xmm0
	movdqa	%xmm14, %xmm15
	psrlq	$32, %xmm14
	pmuludq	%xmm5, %xmm15
	pmuludq	%xmm7, %xmm14
	pshufd	$8, %xmm15, %xmm15
	pshufd	$8, %xmm14, %xmm14
	punpckldq	%xmm14, %xmm15
	paddd	%xmm15, %xmm0
	pcmpeqd	%xmm10, %xmm0
	pcmpeqd	%xmm9, %xmm0
	movdqa	%xmm0, %xmm14
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm13
	pandn	%xmm12, %xmm14
	pandn	%xmm3, %xmm0
	paddd	%xmm4, %xmm3
	por	%xmm14, %xmm1
	por	%xmm0, %xmm13
	cmpl	%eax, %r11d
	jne	.L4
	pshufd	$85, %xmm13, %xmm0
	movd	%xmm13, %ebp
	movd	%xmm0, %ebx
	movd	%xmm0, %r8d
	movdqa	%xmm13, %xmm0
	cmpl	%ebx, %ebp
	punpckhdq	%xmm13, %xmm0
	cmovnb	%ebp, %r8d
	movd	%xmm0, %r9d
	cmpl	%r9d, %r8d
	jb	.L5
	pshufd	$85, %xmm1, %xmm0
	movd	%xmm1, %eax
	cmpl	%ebx, %ebp
	movd	%xmm0, 4(%rsp)
	cmovb	4(%rsp), %eax
.L6:
	pshufd	$255, %xmm13, %xmm13
	pshufd	$255, %xmm1, %xmm1
	cmpl	%r9d, %r8d
	cmovb	%r9d, %r8d
	movd	%xmm13, %r9d
	movd	%xmm1, %ebx
	cmpl	%r9d, %r8d
	movl	%r13d, %r9d
	cmovb	%ebx, %eax
	cmpl	%r13d, %r15d
	je	.L27
.L3:
	movl	%edx, %ebx
	leal	1(%r9), %ebp
	movl	%r9d, %r8d
	subl	%r9d, %ebx
	imull	%esi, %r8d
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%edi, %ebx
	cmove	%r10d, %eax
	cmpl	%edx, %ebp
	jg	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	2(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%edx, %ebp
	jg	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	3(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	4(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	5(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	6(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	7(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	8(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	9(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	10(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	11(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	12(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	leal	13(%r9), %ebp
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	cmpl	%ebp, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%esi, %r8d
	subl	%ebp, %ebx
	imull	%ecx, %ebx
	addl	%r8d, %ebx
	cmpl	%ebx, %edi
	cmove	%r10d, %eax
	addl	$14, %r9d
	cmpl	%r9d, %edx
	jl	.L27
	movl	%edx, %ebx
	addl	%r8d, %esi
	subl	%r9d, %ebx
	imull	%ecx, %ebx
	addl	%ebx, %esi
	cmpl	%esi, %edi
	cmove	%r10d, %eax
	.p2align 4,,10
	.p2align 3
.L27:
	addl	$1, %ecx
	cmpl	%r12d, %ecx
	jne	.L32
	testl	%eax, %eax
	je	.L31
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm1, %xmm0
	punpckhdq	%xmm1, %xmm0
	movd	%xmm0, %eax
	jmp	.L6
.L34:
	xorl	%r9d, %r9d
	jmp	.L3
.L31:
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L30:
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	addq	$72, %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
.L39:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC1:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.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>
#include<string.h>

int main()
{
	int n,m,k;
	while(scanf("%d%d%d",&n,&m,&k)!=EOF)
	{
		int i,j,tp;
		int flag=0;
		for(i=0;i<=n;i++)
		{
			for(j=0;j<=m;j++)
			{
				tp=(m-j)*i+(n-i)*j;
				if(tp==k)
				{
					flag=1;
				}
			}
		}
		if(flag==0)printf("No\n");
		else printf("Yes\n");
	}
	return 0;
}
4 2 2
 4 2 1
 7 9 8
 2 5 8
 6 2 2
 7 17 8
 1 5 8
 2 3 2
 7 17 5
 2 1 8

Yes
 No
 No
 Yes
 Yes
 No
 No
 Yes
 No
 No

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 main()
{
	int n,m,k;
	while(scanf("%d%d%d",&n,&m,&k)!=EOF)
	{
		int i,j,tp;
		int flag=0;
		for(i=0;i<=n;i++)
		{
			for(j=0;j<=m;j++)
			{
				tp=(m-j)*i+(n-i)*j;
				if(tp==k)
				{
					flag=1;
				}
			}
		}
		if(flag==0)printf("No\n");
		else printf("Yes\n");
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"No"
.LC1:
	.string	"Yes"
.LC2:
	.string	"%d%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	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L9:
	movl	$0, -16(%rbp)
	movl	$0, -24(%rbp)
	jmp	.L3
.L7:
	movl	$0, -20(%rbp)
	jmp	.L4
.L6:
	movl	-32(%rbp), %eax
	subl	-20(%rbp), %eax
	imull	-24(%rbp), %eax
	movl	%eax, %edx
	movl	-36(%rbp), %eax
	subl	-24(%rbp), %eax
	imull	-20(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -12(%rbp)
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jne	.L5
	movl	$1, -16(%rbp)
.L5:
	addl	$1, -20(%rbp)
.L4:
	movl	-32(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jle	.L6
	addl	$1, -24(%rbp)
.L3:
	movl	-36(%rbp), %eax
	cmpl	%eax, -24(%rbp)
	jle	.L7
	cmpl	$0, -16(%rbp)
	jne	.L8
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L2
.L8:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	leaq	-28(%rbp), %rcx
	leaq	-32(%rbp), %rdx
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L9
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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
	.section	.rodata
.LC0:
	.string	"No"
.LC1:
	.string	"Yes"
.LC2:
	.string	"%d%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	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L9:
	movl	$0, -16(%rbp)
	movl	$0, -24(%rbp)
	jmp	.L3
.L7:
	movl	$0, -20(%rbp)
	jmp	.L4
.L6:
	movl	-32(%rbp), %eax
	subl	-20(%rbp), %eax
	imull	-24(%rbp), %eax
	movl	%eax, %edx
	movl	-36(%rbp), %eax
	subl	-24(%rbp), %eax
	imull	-20(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -12(%rbp)
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jne	.L5
	movl	$1, -16(%rbp)
.L5:
	addl	$1, -20(%rbp)
.L4:
	movl	-32(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jle	.L6
	addl	$1, -24(%rbp)
.L3:
	movl	-36(%rbp), %eax
	cmpl	%eax, -24(%rbp)
	jle	.L7
	cmpl	$0, -16(%rbp)
	jne	.L8
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L2
.L8:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	leaq	-28(%rbp), %rcx
	leaq	-32(%rbp), %rdx
	leaq	-36(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L9
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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:
