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

```c
#include<stdio.h>
#include<string.h>

int main(void){
	
	int n,m,k,check=0,i,j,x;

	scanf("%d %d %d",&n,&m,&k);
	
	for(i=0;i<=n;i++){
		for(j=0;j<=m;j++){
			x=i*m+j*n-2*i*j;
			if(x==k){
				check=1;
			}
		}
	}
	
	if(check==1){
		printf("Yes\n");
	}else{
		printf("No\n");
	}
	
	return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d %d %d"
.LC5:
	.string	"Yes"
.LC6:
	.string	"No"
	.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
	leaq	.LC2(%rip), %rdi
	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	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rcx
	leaq	32(%rsp), %rdx
	leaq	28(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r13d
	testl	%r13d, %r13d
	js	.L2
	movl	32(%rsp), %edx
	movd	%r13d, %xmm6
	movl	36(%rsp), %esi
	movl	%r13d, %ecx
	pshufd	$0, %xmm6, %xmm12
	movl	%r13d, 12(%rsp)
	xorl	%ebp, %ebp
	xorl	%ebx, %ebx
	leal	1(%rdx), %r15d
	leal	1(%r13), %eax
	movd	%esi, %xmm6
	movdqa	.LC3(%rip), %xmm8
	movl	%r15d, %r10d
	movl	%r15d, %r14d
	movdqa	%xmm12, %xmm13
	movl	%eax, 8(%rsp)
	shrl	$2, %r10d
	andl	$-4, %r14d
	xorl	%eax, %eax
	movl	$1, %edi
	pshufd	$0, %xmm6, %xmm15
	pxor	%xmm14, %xmm14
	psrlq	$32, %xmm13
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%edx, %edx
	js	.L15
	cmpl	$17, %edx
	jbe	.L18
	movd	%eax, %xmm6
	movd	%ebp, %xmm4
	xorl	%eax, %eax
	movdqa	.LC0(%rip), %xmm3
	pshufd	$0, %xmm6, %xmm1
	pshufd	$0, %xmm4, %xmm6
	movd	%ebx, %xmm4
	movdqa	.LC1(%rip), %xmm2
	pshufd	$0, %xmm4, %xmm4
	pxor	%xmm7, %xmm7
	movdqa	%xmm4, %xmm5
	psrlq	$32, %xmm5
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm2, %xmm9
	addl	$1, %eax
	paddd	%xmm8, %xmm2
	movdqa	%xmm9, %xmm10
	movdqa	%xmm9, %xmm0
	psrlq	$32, %xmm10
	pmuludq	%xmm12, %xmm0
	movdqa	%xmm10, %xmm11
	pmuludq	%xmm4, %xmm9
	pmuludq	%xmm13, %xmm11
	pmuludq	%xmm5, %xmm10
	pshufd	$8, %xmm0, %xmm0
	pshufd	$8, %xmm9, %xmm9
	pshufd	$8, %xmm11, %xmm11
	pshufd	$8, %xmm10, %xmm10
	punpckldq	%xmm11, %xmm0
	punpckldq	%xmm10, %xmm9
	pslld	$1, %xmm9
	paddd	%xmm6, %xmm0
	psubd	%xmm9, %xmm0
	pcmpeqd	%xmm15, %xmm0
	pcmpeqd	%xmm14, %xmm0
	movdqa	%xmm0, %xmm9
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm7
	pandn	.LC4(%rip), %xmm9
	pandn	%xmm3, %xmm0
	paddd	%xmm8, %xmm3
	por	%xmm0, %xmm7
	por	%xmm9, %xmm1
	cmpl	%r10d, %eax
	jne	.L5
	pshufd	$85, %xmm7, %xmm0
	movd	%xmm7, %r12d
	movd	%xmm0, %r11d
	movd	%xmm0, %r8d
	movdqa	%xmm7, %xmm0
	cmpl	%r11d, %r12d
	punpckhdq	%xmm7, %xmm0
	cmovnb	%r12d, %r8d
	movd	%xmm0, %r9d
	cmpl	%r9d, %r8d
	jb	.L6
	pshufd	$85, %xmm1, %xmm0
	movd	%xmm1, %eax
	cmpl	%r11d, %r12d
	movd	%xmm0, %r13d
	cmovb	%r13d, %eax
.L7:
	pshufd	$255, %xmm7, %xmm7
	pshufd	$255, %xmm1, %xmm1
	cmpl	%r9d, %r8d
	cmovb	%r9d, %r8d
	movd	%xmm7, %r9d
	movd	%xmm1, %r11d
	cmpl	%r9d, %r8d
	movl	%r14d, %r9d
	cmovb	%r11d, %eax
	cmpl	%r14d, %r15d
	je	.L15
.L4:
	movl	12(%rsp), %r8d
	movl	%ebx, %r11d
	imull	%r9d, %r11d
	imull	%r9d, %r8d
	addl	%r11d, %r11d
	addl	%ebp, %r8d
	subl	%r11d, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	cmpl	%r8d, %esi
	cmove	%edi, %eax
	addl	$1, %r9d
	addl	%ecx, %r8d
	cmpl	%r9d, %edx
	jge	.L12
.L15:
	addl	$1, %ebx
	subl	$2, %ecx
	addl	%edx, %ebp
	cmpl	%ebx, 8(%rsp)
	jne	.L3
	cmpl	$1, %eax
	je	.L23
.L2:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L16:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movdqa	%xmm1, %xmm0
	punpckhdq	%xmm1, %xmm0
	movd	%xmm0, %eax
	jmp	.L7
.L18:
	xorl	%r9d, %r9d
	jmp	.L4
.L23:
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L24:
	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
.LC3:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC4:
	.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:
```

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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d %d %d"
.LC5:
	.string	"Yes"
.LC6:
	.string	"No"
	.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
	leaq	.LC2(%rip), %rdi
	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	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rcx
	leaq	32(%rsp), %rdx
	leaq	28(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r13d
	testl	%r13d, %r13d
	js	.L2
	movl	32(%rsp), %edx
	movd	%r13d, %xmm6
	movl	36(%rsp), %esi
	movl	%r13d, %ecx
	pshufd	$0, %xmm6, %xmm12
	movl	%r13d, 12(%rsp)
	xorl	%ebp, %ebp
	xorl	%ebx, %ebx
	leal	1(%rdx), %r15d
	leal	1(%r13), %eax
	movd	%esi, %xmm6
	movdqa	.LC3(%rip), %xmm8
	movl	%r15d, %r10d
	movl	%r15d, %r14d
	movdqa	%xmm12, %xmm13
	movl	%eax, 8(%rsp)
	shrl	$2, %r10d
	andl	$-4, %r14d
	xorl	%eax, %eax
	movl	$1, %edi
	pshufd	$0, %xmm6, %xmm15
	pxor	%xmm14, %xmm14
	psrlq	$32, %xmm13
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%edx, %edx
	js	.L15
	cmpl	$17, %edx
	jbe	.L18
	movd	%eax, %xmm6
	movd	%ebp, %xmm4
	xorl	%eax, %eax
	movdqa	.LC0(%rip), %xmm3
	pshufd	$0, %xmm6, %xmm1
	pshufd	$0, %xmm4, %xmm6
	movd	%ebx, %xmm4
	movdqa	.LC1(%rip), %xmm2
	pshufd	$0, %xmm4, %xmm4
	pxor	%xmm7, %xmm7
	movdqa	%xmm4, %xmm5
	psrlq	$32, %xmm5
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm2, %xmm9
	addl	$1, %eax
	paddd	%xmm8, %xmm2
	movdqa	%xmm9, %xmm10
	movdqa	%xmm9, %xmm0
	psrlq	$32, %xmm10
	pmuludq	%xmm12, %xmm0
	movdqa	%xmm10, %xmm11
	pmuludq	%xmm4, %xmm9
	pmuludq	%xmm13, %xmm11
	pmuludq	%xmm5, %xmm10
	pshufd	$8, %xmm0, %xmm0
	pshufd	$8, %xmm9, %xmm9
	pshufd	$8, %xmm11, %xmm11
	pshufd	$8, %xmm10, %xmm10
	punpckldq	%xmm11, %xmm0
	punpckldq	%xmm10, %xmm9
	pslld	$1, %xmm9
	paddd	%xmm6, %xmm0
	psubd	%xmm9, %xmm0
	pcmpeqd	%xmm15, %xmm0
	pcmpeqd	%xmm14, %xmm0
	movdqa	%xmm0, %xmm9
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm7
	pandn	.LC4(%rip), %xmm9
	pandn	%xmm3, %xmm0
	paddd	%xmm8, %xmm3
	por	%xmm0, %xmm7
	por	%xmm9, %xmm1
	cmpl	%r10d, %eax
	jne	.L5
	pshufd	$85, %xmm7, %xmm0
	movd	%xmm7, %r12d
	movd	%xmm0, %r11d
	movd	%xmm0, %r8d
	movdqa	%xmm7, %xmm0
	cmpl	%r11d, %r12d
	punpckhdq	%xmm7, %xmm0
	cmovnb	%r12d, %r8d
	movd	%xmm0, %r9d
	cmpl	%r9d, %r8d
	jb	.L6
	pshufd	$85, %xmm1, %xmm0
	movd	%xmm1, %eax
	cmpl	%r11d, %r12d
	movd	%xmm0, %r13d
	cmovb	%r13d, %eax
.L7:
	pshufd	$255, %xmm7, %xmm7
	pshufd	$255, %xmm1, %xmm1
	cmpl	%r9d, %r8d
	cmovb	%r9d, %r8d
	movd	%xmm7, %r9d
	movd	%xmm1, %r11d
	cmpl	%r9d, %r8d
	movl	%r14d, %r9d
	cmovb	%r11d, %eax
	cmpl	%r14d, %r15d
	je	.L15
.L4:
	movl	12(%rsp), %r8d
	movl	%ebx, %r11d
	imull	%r9d, %r11d
	imull	%r9d, %r8d
	addl	%r11d, %r11d
	addl	%ebp, %r8d
	subl	%r11d, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	cmpl	%r8d, %esi
	cmove	%edi, %eax
	addl	$1, %r9d
	addl	%ecx, %r8d
	cmpl	%r9d, %edx
	jge	.L12
.L15:
	addl	$1, %ebx
	subl	$2, %ecx
	addl	%edx, %ebp
	cmpl	%ebx, 8(%rsp)
	jne	.L3
	cmpl	$1, %eax
	je	.L23
.L2:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L16:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movdqa	%xmm1, %xmm0
	punpckhdq	%xmm1, %xmm0
	movd	%xmm0, %eax
	jmp	.L7
.L18:
	xorl	%r9d, %r9d
	jmp	.L4
.L23:
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L24:
	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
.LC3:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC4:
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d %d %d"
.LC5:
	.string	"Yes"
.LC6:
	.string	"No"
	.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
	leaq	.LC2(%rip), %rdi
	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	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rcx
	leaq	32(%rsp), %rdx
	leaq	28(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r13d
	testl	%r13d, %r13d
	js	.L2
	movl	32(%rsp), %edx
	movd	%r13d, %xmm6
	movl	36(%rsp), %esi
	movl	%r13d, %ecx
	pshufd	$0, %xmm6, %xmm12
	movl	%r13d, 12(%rsp)
	xorl	%ebp, %ebp
	xorl	%ebx, %ebx
	leal	1(%rdx), %r15d
	leal	1(%r13), %eax
	movd	%esi, %xmm6
	movdqa	.LC3(%rip), %xmm8
	movl	%r15d, %r10d
	movl	%r15d, %r14d
	movdqa	%xmm12, %xmm13
	movl	%eax, 8(%rsp)
	shrl	$2, %r10d
	andl	$-4, %r14d
	xorl	%eax, %eax
	movl	$1, %edi
	pshufd	$0, %xmm6, %xmm15
	pxor	%xmm14, %xmm14
	psrlq	$32, %xmm13
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%edx, %edx
	js	.L15
	cmpl	$17, %edx
	jbe	.L18
	movd	%eax, %xmm6
	movd	%ebp, %xmm4
	xorl	%eax, %eax
	movdqa	.LC0(%rip), %xmm3
	pshufd	$0, %xmm6, %xmm1
	pshufd	$0, %xmm4, %xmm6
	movd	%ebx, %xmm4
	movdqa	.LC1(%rip), %xmm2
	pshufd	$0, %xmm4, %xmm4
	pxor	%xmm7, %xmm7
	movdqa	%xmm4, %xmm5
	psrlq	$32, %xmm5
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm2, %xmm9
	addl	$1, %eax
	paddd	%xmm8, %xmm2
	movdqa	%xmm9, %xmm10
	movdqa	%xmm9, %xmm0
	psrlq	$32, %xmm10
	pmuludq	%xmm12, %xmm0
	movdqa	%xmm10, %xmm11
	pmuludq	%xmm4, %xmm9
	pmuludq	%xmm13, %xmm11
	pmuludq	%xmm5, %xmm10
	pshufd	$8, %xmm0, %xmm0
	pshufd	$8, %xmm9, %xmm9
	pshufd	$8, %xmm11, %xmm11
	pshufd	$8, %xmm10, %xmm10
	punpckldq	%xmm11, %xmm0
	punpckldq	%xmm10, %xmm9
	pslld	$1, %xmm9
	paddd	%xmm6, %xmm0
	psubd	%xmm9, %xmm0
	pcmpeqd	%xmm15, %xmm0
	pcmpeqd	%xmm14, %xmm0
	movdqa	%xmm0, %xmm9
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm7
	pandn	.LC4(%rip), %xmm9
	pandn	%xmm3, %xmm0
	paddd	%xmm8, %xmm3
	por	%xmm0, %xmm7
	por	%xmm9, %xmm1
	cmpl	%r10d, %eax
	jne	.L5
	pshufd	$85, %xmm7, %xmm0
	movd	%xmm7, %r12d
	movd	%xmm0, %r11d
	movd	%xmm0, %r8d
	movdqa	%xmm7, %xmm0
	cmpl	%r11d, %r12d
	punpckhdq	%xmm7, %xmm0
	cmovnb	%r12d, %r8d
	movd	%xmm0, %r9d
	cmpl	%r9d, %r8d
	jb	.L6
	pshufd	$85, %xmm1, %xmm0
	movd	%xmm1, %eax
	cmpl	%r11d, %r12d
	movd	%xmm0, %r13d
	cmovb	%r13d, %eax
.L7:
	pshufd	$255, %xmm7, %xmm7
	pshufd	$255, %xmm1, %xmm1
	cmpl	%r9d, %r8d
	cmovb	%r9d, %r8d
	movd	%xmm7, %r9d
	movd	%xmm1, %r11d
	cmpl	%r9d, %r8d
	movl	%r14d, %r9d
	cmovb	%r11d, %eax
	cmpl	%r14d, %r15d
	je	.L15
.L4:
	movl	12(%rsp), %r8d
	movl	%ebx, %r11d
	imull	%r9d, %r11d
	imull	%r9d, %r8d
	addl	%r11d, %r11d
	addl	%ebp, %r8d
	subl	%r11d, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	cmpl	%r8d, %esi
	cmove	%edi, %eax
	addl	$1, %r9d
	addl	%ecx, %r8d
	cmpl	%r9d, %edx
	jge	.L12
.L15:
	addl	$1, %ebx
	subl	$2, %ecx
	addl	%edx, %ebp
	cmpl	%ebx, 8(%rsp)
	jne	.L3
	cmpl	$1, %eax
	je	.L23
.L2:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L16:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movdqa	%xmm1, %xmm0
	punpckhdq	%xmm1, %xmm0
	movd	%xmm0, %eax
	jmp	.L7
.L18:
	xorl	%r9d, %r9d
	jmp	.L4
.L23:
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L24:
	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
.LC3:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC4:
	.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:
```
```c
#include<stdio.h>
#include<string.h>

int main(void){
	
	int n,m,k,check=0,i,j,x;

	scanf("%d %d %d",&n,&m,&k);
	
	for(i=0;i<=n;i++){
		for(j=0;j<=m;j++){
			x=i*m+j*n-2*i*j;
			if(x==k){
				check=1;
			}
		}
	}
	
	if(check==1){
		printf("Yes\n");
	}else{
		printf("No\n");
	}
	
	return 0;
}

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

```c
#include<stdio.h>
#include<string.h>

int main(void){
	
	int n,m,k,check=0,i,j,x;

	scanf("%d %d %d",&n,&m,&k);
	
	for(i=0;i<=n;i++){
		for(j=0;j<=m;j++){
			x=i*m+j*n-2*i*j;
			if(x==k){
				check=1;
			}
		}
	}
	
	if(check==1){
		printf("Yes\n");
	}else{
		printf("No\n");
	}
	
	return 0;
}

```

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.
Optimized Assembly Code:

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 assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<string.h>

int main(void){
	
	int n,m,k,check=0,i,j,x;

	scanf("%d %d %d",&n,&m,&k);
	
	for(i=0;i<=n;i++){
		for(j=0;j<=m;j++){
			x=i*m+j*n-2*i*j;
			if(x==k){
				check=1;
			}
		}
	}
	
	if(check==1){
		printf("Yes\n");
	}else{
		printf("No\n");
	}
	
	return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d %d %d"
.LC5:
	.string	"Yes"
.LC6:
	.string	"No"
	.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
	leaq	.LC2(%rip), %rdi
	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	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rcx
	leaq	32(%rsp), %rdx
	leaq	28(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r13d
	testl	%r13d, %r13d
	js	.L2
	movl	32(%rsp), %edx
	movd	%r13d, %xmm6
	movl	36(%rsp), %esi
	movl	%r13d, %ecx
	pshufd	$0, %xmm6, %xmm12
	movl	%r13d, 12(%rsp)
	xorl	%ebp, %ebp
	xorl	%ebx, %ebx
	leal	1(%rdx), %r15d
	leal	1(%r13), %eax
	movd	%esi, %xmm6
	movdqa	.LC3(%rip), %xmm8
	movl	%r15d, %r10d
	movl	%r15d, %r14d
	movdqa	%xmm12, %xmm13
	movl	%eax, 8(%rsp)
	shrl	$2, %r10d
	andl	$-4, %r14d
	xorl	%eax, %eax
	movl	$1, %edi
	pshufd	$0, %xmm6, %xmm15
	pxor	%xmm14, %xmm14
	psrlq	$32, %xmm13
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%edx, %edx
	js	.L15
	cmpl	$17, %edx
	jbe	.L18
	movd	%eax, %xmm6
	movd	%ebp, %xmm4
	xorl	%eax, %eax
	movdqa	.LC0(%rip), %xmm3
	pshufd	$0, %xmm6, %xmm1
	pshufd	$0, %xmm4, %xmm6
	movd	%ebx, %xmm4
	movdqa	.LC1(%rip), %xmm2
	pshufd	$0, %xmm4, %xmm4
	pxor	%xmm7, %xmm7
	movdqa	%xmm4, %xmm5
	psrlq	$32, %xmm5
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm2, %xmm9
	addl	$1, %eax
	paddd	%xmm8, %xmm2
	movdqa	%xmm9, %xmm10
	movdqa	%xmm9, %xmm0
	psrlq	$32, %xmm10
	pmuludq	%xmm12, %xmm0
	movdqa	%xmm10, %xmm11
	pmuludq	%xmm4, %xmm9
	pmuludq	%xmm13, %xmm11
	pmuludq	%xmm5, %xmm10
	pshufd	$8, %xmm0, %xmm0
	pshufd	$8, %xmm9, %xmm9
	pshufd	$8, %xmm11, %xmm11
	pshufd	$8, %xmm10, %xmm10
	punpckldq	%xmm11, %xmm0
	punpckldq	%xmm10, %xmm9
	pslld	$1, %xmm9
	paddd	%xmm6, %xmm0
	psubd	%xmm9, %xmm0
	pcmpeqd	%xmm15, %xmm0
	pcmpeqd	%xmm14, %xmm0
	movdqa	%xmm0, %xmm9
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm7
	pandn	.LC4(%rip), %xmm9
	pandn	%xmm3, %xmm0
	paddd	%xmm8, %xmm3
	por	%xmm0, %xmm7
	por	%xmm9, %xmm1
	cmpl	%r10d, %eax
	jne	.L5
	pshufd	$85, %xmm7, %xmm0
	movd	%xmm7, %r12d
	movd	%xmm0, %r11d
	movd	%xmm0, %r8d
	movdqa	%xmm7, %xmm0
	cmpl	%r11d, %r12d
	punpckhdq	%xmm7, %xmm0
	cmovnb	%r12d, %r8d
	movd	%xmm0, %r9d
	cmpl	%r9d, %r8d
	jb	.L6
	pshufd	$85, %xmm1, %xmm0
	movd	%xmm1, %eax
	cmpl	%r11d, %r12d
	movd	%xmm0, %r13d
	cmovb	%r13d, %eax
.L7:
	pshufd	$255, %xmm7, %xmm7
	pshufd	$255, %xmm1, %xmm1
	cmpl	%r9d, %r8d
	cmovb	%r9d, %r8d
	movd	%xmm7, %r9d
	movd	%xmm1, %r11d
	cmpl	%r9d, %r8d
	movl	%r14d, %r9d
	cmovb	%r11d, %eax
	cmpl	%r14d, %r15d
	je	.L15
.L4:
	movl	12(%rsp), %r8d
	movl	%ebx, %r11d
	imull	%r9d, %r11d
	imull	%r9d, %r8d
	addl	%r11d, %r11d
	addl	%ebp, %r8d
	subl	%r11d, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	cmpl	%r8d, %esi
	cmove	%edi, %eax
	addl	$1, %r9d
	addl	%ecx, %r8d
	cmpl	%r9d, %edx
	jge	.L12
.L15:
	addl	$1, %ebx
	subl	$2, %ecx
	addl	%edx, %ebp
	cmpl	%ebx, 8(%rsp)
	jne	.L3
	cmpl	$1, %eax
	je	.L23
.L2:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L16:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movdqa	%xmm1, %xmm0
	punpckhdq	%xmm1, %xmm0
	movd	%xmm0, %eax
	jmp	.L7
.L18:
	xorl	%r9d, %r9d
	jmp	.L4
.L23:
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L24:
	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
.LC3:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC4:
	.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:
```

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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d %d %d"
.LC5:
	.string	"Yes"
.LC6:
	.string	"No"
	.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
	leaq	.LC2(%rip), %rdi
	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	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rcx
	leaq	32(%rsp), %rdx
	leaq	28(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r13d
	testl	%r13d, %r13d
	js	.L2
	movl	32(%rsp), %edx
	movd	%r13d, %xmm6
	movl	36(%rsp), %esi
	movl	%r13d, %ecx
	pshufd	$0, %xmm6, %xmm12
	movl	%r13d, 12(%rsp)
	xorl	%ebp, %ebp
	xorl	%ebx, %ebx
	leal	1(%rdx), %r15d
	leal	1(%r13), %eax
	movd	%esi, %xmm6
	movdqa	.LC3(%rip), %xmm8
	movl	%r15d, %r10d
	movl	%r15d, %r14d
	movdqa	%xmm12, %xmm13
	movl	%eax, 8(%rsp)
	shrl	$2, %r10d
	andl	$-4, %r14d
	xorl	%eax, %eax
	movl	$1, %edi
	pshufd	$0, %xmm6, %xmm15
	pxor	%xmm14, %xmm14
	psrlq	$32, %xmm13
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%edx, %edx
	js	.L15
	cmpl	$17, %edx
	jbe	.L18
	movd	%eax, %xmm6
	movd	%ebp, %xmm4
	xorl	%eax, %eax
	movdqa	.LC0(%rip), %xmm3
	pshufd	$0, %xmm6, %xmm1
	pshufd	$0, %xmm4, %xmm6
	movd	%ebx, %xmm4
	movdqa	.LC1(%rip), %xmm2
	pshufd	$0, %xmm4, %xmm4
	pxor	%xmm7, %xmm7
	movdqa	%xmm4, %xmm5
	psrlq	$32, %xmm5
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	%xmm2, %xmm9
	addl	$1, %eax
	paddd	%xmm8, %xmm2
	movdqa	%xmm9, %xmm10
	movdqa	%xmm9, %xmm0
	psrlq	$32, %xmm10
	pmuludq	%xmm12, %xmm0
	movdqa	%xmm10, %xmm11
	pmuludq	%xmm4, %xmm9
	pmuludq	%xmm13, %xmm11
	pmuludq	%xmm5, %xmm10
	pshufd	$8, %xmm0, %xmm0
	pshufd	$8, %xmm9, %xmm9
	pshufd	$8, %xmm11, %xmm11
	pshufd	$8, %xmm10, %xmm10
	punpckldq	%xmm11, %xmm0
	punpckldq	%xmm10, %xmm9
	pslld	$1, %xmm9
	paddd	%xmm6, %xmm0
	psubd	%xmm9, %xmm0
	pcmpeqd	%xmm15, %xmm0
	pcmpeqd	%xmm14, %xmm0
	movdqa	%xmm0, %xmm9
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm7
	pandn	.LC4(%rip), %xmm9
	pandn	%xmm3, %xmm0
	paddd	%xmm8, %xmm3
	por	%xmm0, %xmm7
	por	%xmm9, %xmm1
	cmpl	%r10d, %eax
	jne	.L5
	pshufd	$85, %xmm7, %xmm0
	movd	%xmm7, %r12d
	movd	%xmm0, %r11d
	movd	%xmm0, %r8d
	movdqa	%xmm7, %xmm0
	cmpl	%r11d, %r12d
	punpckhdq	%xmm7, %xmm0
	cmovnb	%r12d, %r8d
	movd	%xmm0, %r9d
	cmpl	%r9d, %r8d
	jb	.L6
	pshufd	$85, %xmm1, %xmm0
	movd	%xmm1, %eax
	cmpl	%r11d, %r12d
	movd	%xmm0, %r13d
	cmovb	%r13d, %eax
.L7:
	pshufd	$255, %xmm7, %xmm7
	pshufd	$255, %xmm1, %xmm1
	cmpl	%r9d, %r8d
	cmovb	%r9d, %r8d
	movd	%xmm7, %r9d
	movd	%xmm1, %r11d
	cmpl	%r9d, %r8d
	movl	%r14d, %r9d
	cmovb	%r11d, %eax
	cmpl	%r14d, %r15d
	je	.L15
.L4:
	movl	12(%rsp), %r8d
	movl	%ebx, %r11d
	imull	%r9d, %r11d
	imull	%r9d, %r8d
	addl	%r11d, %r11d
	addl	%ebp, %r8d
	subl	%r11d, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	cmpl	%r8d, %esi
	cmove	%edi, %eax
	addl	$1, %r9d
	addl	%ecx, %r8d
	cmpl	%r9d, %edx
	jge	.L12
.L15:
	addl	$1, %ebx
	subl	$2, %ecx
	addl	%edx, %ebp
	cmpl	%ebx, 8(%rsp)
	jne	.L3
	cmpl	$1, %eax
	je	.L23
.L2:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L16:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	movdqa	%xmm1, %xmm0
	punpckhdq	%xmm1, %xmm0
	movd	%xmm0, %eax
	jmp	.L7
.L18:
	xorl	%r9d, %r9d
	jmp	.L4
.L23:
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L24:
	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
.LC3:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC4:
	.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:
```