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

```c
#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include<stdio.h>
#include<string.h>
int main() {
	char t[5]="",h[5]="";
	int hit,blow,i,j;
	for (; ~fscanf(stdin, "%s %s", t, h),(t[0]!='0'||h[0]!='0'); fprintf(stdout, "%d %d\n", hit, blow)) {
		hit = blow = 0;
		for (i = 0; i < 4; i++) if (t[i] == h[i]) hit++;
		for (i = 0; i < 4; i++)
			for (j = 0; j < 4; j++)
				if (t[i] == h[j]) blow++;
		memset(t, '\0', sizeof(t));
		memset(h, '\0', sizeof(h));
		blow -= hit;
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"%s %s"
	.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
	movl	$0, -18(%rbp)
	movb	$0, -14(%rbp)
	movl	$0, -13(%rbp)
	movb	$0, -9(%rbp)
	jmp	.L2
.L14:
	movl	$0, -32(%rbp)
	movl	-32(%rbp), %eax
	movl	%eax, -36(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L3
.L5:
	movl	-28(%rbp), %eax
	cltq
	movzbl	-18(%rbp,%rax), %edx
	movl	-28(%rbp), %eax
	cltq
	movzbl	-13(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L4
	addl	$1, -36(%rbp)
.L4:
	addl	$1, -28(%rbp)
.L3:
	cmpl	$3, -28(%rbp)
	jle	.L5
	movl	$0, -28(%rbp)
	jmp	.L6
.L10:
	movl	$0, -24(%rbp)
	jmp	.L7
.L9:
	movl	-28(%rbp), %eax
	cltq
	movzbl	-18(%rbp,%rax), %edx
	movl	-24(%rbp), %eax
	cltq
	movzbl	-13(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L8
	addl	$1, -32(%rbp)
.L8:
	addl	$1, -24(%rbp)
.L7:
	cmpl	$3, -24(%rbp)
	jle	.L9
	addl	$1, -28(%rbp)
.L6:
	cmpl	$3, -28(%rbp)
	jle	.L10
	leaq	-18(%rbp), %rax
	movl	$5, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-13(%rbp), %rax
	movl	$5, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	-36(%rbp), %eax
	subl	%eax, -32(%rbp)
	movq	stdout(%rip), %rax
	movl	-32(%rbp), %ecx
	movl	-36(%rbp), %edx
	leaq	.LC0(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	fprintf@PLT
.L2:
	movq	stdin(%rip), %rax
	leaq	-13(%rbp), %rcx
	leaq	-18(%rbp), %rdx
	leaq	.LC1(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movzbl	-18(%rbp), %eax
	cmpb	$48, %al
	jne	.L11
	movzbl	-13(%rbp), %eax
	cmpb	$48, %al
	je	.L12
.L11:
	movl	$1, %eax
	jmp	.L13
.L12:
	movl	$0, %eax
.L13:
	testl	%eax, %eax
	jne	.L14
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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	"%s %s"
.LC1:
	.string	"%d %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
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	19(%rsp), %rbx
	movl	$0, 14(%rsp)
	leaq	14(%rsp), %rbp
	movb	$0, 18(%rsp)
	movl	$0, 19(%rsp)
	movb	$0, 23(%rsp)
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	movzbl	20(%rsp), %edi
	movzbl	15(%rsp), %r11d
	xorl	%r8d, %r8d
	cmpb	%dl, %al
	movzbl	21(%rsp), %esi
	movzbl	16(%rsp), %r10d
	sete	%r8b
	xorl	%r14d, %r14d
	cmpb	%dil, %r11b
	movzbl	22(%rsp), %r9d
	movb	$0, 4(%rbp)
	sete	%r14b
	xorl	%r13d, %r13d
	cmpb	%sil, %r10b
	movb	$0, 4(%rbx)
	sete	%r13b
	leal	(%r8,%r14), %ecx
	xorl	%r12d, %r12d
	movl	$0, (%rbx)
	addl	%r13d, %ecx
	cmpb	%r9b, 17(%rsp)
	sete	%r12b
	xorl	%r15d, %r15d
	addl	%r12d, %ecx
	cmpb	%dil, %al
	sete	%r15b
	addl	%r15d, %r8d
	xorl	%r15d, %r15d
	cmpb	%sil, %al
	sete	%r15b
	addl	%r15d, %r8d
	cmpb	%r9b, %al
	sete	%al
	movzbl	%al, %eax
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	%r11b, %dl
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	addl	%r14d, %r8d
	cmpb	%sil, %r11b
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	%r9b, %r11b
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	%r10b, %dl
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	%r10b, %dil
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	addl	%r13d, %r8d
	cmpb	%r9b, %r10b
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	17(%rsp), %dl
	sete	%al
	leaq	.LC1(%rip), %rdx
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	17(%rsp), %dil
	movq	stdout(%rip), %rdi
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	17(%rsp), %sil
	movl	$1, %esi
	sete	%al
	movl	$0, 0(%rbp)
	addl	%eax, %r8d
	xorl	%eax, %eax
	addl	%r12d, %r8d
	subl	%ecx, %r8d
	call	__fprintf_chk@PLT
.L21:
	movq	stdin(%rip), %rdi
	movq	%rbp, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rsi
	call	__isoc99_fscanf@PLT
	movzbl	14(%rsp), %eax
	movzbl	19(%rsp), %edx
	cmpb	$48, %al
	jne	.L22
	cmpb	$48, %dl
	jne	.L22
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	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
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s %s"
.LC1:
	.string	"%d %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
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	19(%rsp), %rbx
	movl	$0, 14(%rsp)
	leaq	14(%rsp), %rbp
	movb	$0, 18(%rsp)
	movl	$0, 19(%rsp)
	movb	$0, 23(%rsp)
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	movzbl	20(%rsp), %edi
	movzbl	15(%rsp), %r11d
	xorl	%r8d, %r8d
	cmpb	%dl, %al
	movzbl	21(%rsp), %esi
	movzbl	16(%rsp), %r10d
	sete	%r8b
	xorl	%r14d, %r14d
	cmpb	%dil, %r11b
	movzbl	22(%rsp), %r9d
	movb	$0, 4(%rbp)
	sete	%r14b
	xorl	%r13d, %r13d
	cmpb	%sil, %r10b
	movb	$0, 4(%rbx)
	sete	%r13b
	leal	(%r8,%r14), %ecx
	xorl	%r12d, %r12d
	movl	$0, (%rbx)
	addl	%r13d, %ecx
	cmpb	%r9b, 17(%rsp)
	sete	%r12b
	xorl	%r15d, %r15d
	addl	%r12d, %ecx
	cmpb	%dil, %al
	sete	%r15b
	addl	%r15d, %r8d
	xorl	%r15d, %r15d
	cmpb	%sil, %al
	sete	%r15b
	addl	%r15d, %r8d
	cmpb	%r9b, %al
	sete	%al
	movzbl	%al, %eax
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	%r11b, %dl
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	addl	%r14d, %r8d
	cmpb	%sil, %r11b
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	%r9b, %r11b
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	%r10b, %dl
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	%r10b, %dil
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	addl	%r13d, %r8d
	cmpb	%r9b, %r10b
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	17(%rsp), %dl
	sete	%al
	leaq	.LC1(%rip), %rdx
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	17(%rsp), %dil
	movq	stdout(%rip), %rdi
	sete	%al
	addl	%eax, %r8d
	xorl	%eax, %eax
	cmpb	17(%rsp), %sil
	movl	$1, %esi
	sete	%al
	movl	$0, 0(%rbp)
	addl	%eax, %r8d
	xorl	%eax, %eax
	addl	%r12d, %r8d
	subl	%ecx, %r8d
	call	__fprintf_chk@PLT
.L21:
	movq	stdin(%rip), %rdi
	movq	%rbp, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rsi
	call	__isoc99_fscanf@PLT
	movzbl	14(%rsp), %eax
	movzbl	19(%rsp), %edx
	cmpb	$48, %al
	jne	.L22
	cmpb	$48, %dl
	jne	.L22
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	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
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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:

#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include<stdio.h>
#include<string.h>
int main() {
	char t[5]="",h[5]="";
	int hit,blow,i,j;
	for (; ~fscanf(stdin, "%s %s", t, h),(t[0]!='0'||h[0]!='0'); fprintf(stdout, "%d %d\n", hit, blow)) {
		hit = blow = 0;
		for (i = 0; i < 4; i++) if (t[i] == h[i]) hit++;
		for (i = 0; i < 4; i++)
			for (j = 0; j < 4; j++)
				if (t[i] == h[j]) blow++;
		memset(t, '\0', sizeof(t));
		memset(h, '\0', sizeof(h));
		blow -= hit;
	}
	return 0;
}
1234 10660
1234 1354
1234 1234
1230 1023
0123 1234
0 0
 1234 10660
1964 1354
1234 1234
1230 1023
0123 1234
0 0
 1234 10660
2242 1354
1234 1234
1230 1023
0123 1234
0 0
 1234 5678
1234 1354
1234 1200
1230 1023
0123 1234
0 0
 1234 10660
2242 1354
1234 1234
1230 1023
0123 1884
0 0
 1234 5678
1234 1354
1234 1234
1957 1023
0123 1234
0 0
 1234 10660
3108 1354
1234 1234
1230 1023
0123 1884
0 0
 1234 10976
2102 1354
1234 1234
1230 1849
0123 1234
0 0
 1234 10660
1964 1354
1234 1234
1344 1023
0123 1234
0 0
 1234 10976
2102 1354
1234 1234
1230 1849
0123 1863
0 0

1 0
2 1
4 0
1 3
0 3
 1 0
2 0
4 0
1 3
0 3
 1 0
0 1
4 0
1 3
0 3
 0 0
2 1
2 0
1 3
0 3
 1 0
0 1
4 0
1 3
0 1
 0 0
2 1
4 0
1 0
0 3
 1 0
0 2
4 0
1 3
0 1
 1 0
0 1
4 0
1 0
0 3
 1 0
2 0
4 0
1 1
0 3
 1 0
0 1
4 0
1 0
1 1

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

```c
#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include<stdio.h>
#include<string.h>
int main() {
	char t[5]="",h[5]="";
	int hit,blow,i,j;
	for (; ~fscanf(stdin, "%s %s", t, h),(t[0]!='0'||h[0]!='0'); fprintf(stdout, "%d %d\n", hit, blow)) {
		hit = blow = 0;
		for (i = 0; i < 4; i++) if (t[i] == h[i]) hit++;
		for (i = 0; i < 4; i++)
			for (j = 0; j < 4; j++)
				if (t[i] == h[j]) blow++;
		memset(t, '\0', sizeof(t));
		memset(h, '\0', sizeof(h));
		blow -= hit;
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"%s %s"
	.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
	movl	$0, -18(%rbp)
	movb	$0, -14(%rbp)
	movl	$0, -13(%rbp)
	movb	$0, -9(%rbp)
	jmp	.L2
.L14:
	movl	$0, -32(%rbp)
	movl	-32(%rbp), %eax
	movl	%eax, -36(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L3
.L5:
	movl	-28(%rbp), %eax
	cltq
	movzbl	-18(%rbp,%rax), %edx
	movl	-28(%rbp), %eax
	cltq
	movzbl	-13(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L4
	addl	$1, -36(%rbp)
.L4:
	addl	$1, -28(%rbp)
.L3:
	cmpl	$3, -28(%rbp)
	jle	.L5
	movl	$0, -28(%rbp)
	jmp	.L6
.L10:
	movl	$0, -24(%rbp)
	jmp	.L7
.L9:
	movl	-28(%rbp), %eax
	cltq
	movzbl	-18(%rbp,%rax), %edx
	movl	-24(%rbp), %eax
	cltq
	movzbl	-13(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L8
	addl	$1, -32(%rbp)
.L8:
	addl	$1, -24(%rbp)
.L7:
	cmpl	$3, -24(%rbp)
	jle	.L9
	addl	$1, -28(%rbp)
.L6:
	cmpl	$3, -28(%rbp)
	jle	.L10
	leaq	-18(%rbp), %rax
	movl	$5, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-13(%rbp), %rax
	movl	$5, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	-36(%rbp), %eax
	subl	%eax, -32(%rbp)
	movq	stdout(%rip), %rax
	movl	-32(%rbp), %ecx
	movl	-36(%rbp), %edx
	leaq	.LC0(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	fprintf@PLT
.L2:
	movq	stdin(%rip), %rax
	leaq	-13(%rbp), %rcx
	leaq	-18(%rbp), %rdx
	leaq	.LC1(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movzbl	-18(%rbp), %eax
	cmpb	$48, %al
	jne	.L11
	movzbl	-13(%rbp), %eax
	cmpb	$48, %al
	je	.L12
.L11:
	movl	$1, %eax
	jmp	.L13
.L12:
	movl	$0, %eax
.L13:
	testl	%eax, %eax
	jne	.L14
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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.
val
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"%s %s"
	.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
	movl	$0, -18(%rbp)
	movb	$0, -14(%rbp)
	movl	$0, -13(%rbp)
	movb	$0, -9(%rbp)
	jmp	.L2
.L14:
	movl	$0, -32(%rbp)
	movl	-32(%rbp), %eax
	movl	%eax, -36(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L3
.L5:
	movl	-28(%rbp), %eax
	cltq
	movzbl	-18(%rbp,%rax), %edx
	movl	-28(%rbp), %eax
	cltq
	movzbl	-13(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L4
	addl	$1, -36(%rbp)
.L4:
	addl	$1, -28(%rbp)
.L3:
	cmpl	$3, -28(%rbp)
	jle	.L5
	movl	$0, -28(%rbp)
	jmp	.L6
.L10:
	movl	$0, -24(%rbp)
	jmp	.L7
.L9:
	movl	-28(%rbp), %eax
	cltq
	movzbl	-18(%rbp,%rax), %edx
	movl	-24(%rbp), %eax
	cltq
	movzbl	-13(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L8
	addl	$1, -32(%rbp)
.L8:
	addl	$1, -24(%rbp)
.L7:
	cmpl	$3, -24(%rbp)
	jle	.L9
	addl	$1, -28(%rbp)
.L6:
	cmpl	$3, -28(%rbp)
	jle	.L10
	leaq	-18(%rbp), %rax
	movl	$5, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-13(%rbp), %rax
	movl	$5, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	-36(%rbp), %eax
	subl	%eax, -32(%rbp)
	movq	stdout(%rip), %rax
	movl	-32(%rbp), %ecx
	movl	-36(%rbp), %edx
	leaq	.LC0(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	fprintf@PLT
.L2:
	movq	stdin(%rip), %rax
	leaq	-13(%rbp), %rcx
	leaq	-18(%rbp), %rdx
	leaq	.LC1(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movzbl	-18(%rbp), %eax
	cmpb	$48, %al
	jne	.L11
	movzbl	-13(%rbp), %eax
	cmpb	$48, %al
	je	.L12
.L11:
	movl	$1, %eax
	jmp	.L13
.L12:
	movl	$0, %eax
.L13:
	testl	%eax, %eax
	jne	.L14
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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:
