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 <stdlib.h>
#include <string.h>
#include <math.h>
#define rep(i,l,r)for(int i=(l);i<(r);i++)

int min(int a,int b){
  if(a<=b) return a;
  else return b;
}

int main(void){
  char s[1000],t[1000];
  scanf("%s",s);
  scanf("%s",t);
  int ans = strlen(t);
  rep(i,0,strlen(s)-strlen(t)+1){
    int diff = 0;
    rep(j,0,strlen(t)){
      if(t[j] != s[i+j]){
	diff++;
      }
    }
    ans = min(ans,diff);
  }
  printf("%d",ans);
return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	min
	.type	min, @function
min:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jg	.L2
	movl	-4(%rbp), %eax
	jmp	.L3
.L2:
	movl	-8(%rbp), %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r12
	pushq	%rbx
	subq	$2032, %rsp
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-2032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-1024(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2048(%rbp)
	movl	$0, -2044(%rbp)
	jmp	.L5
.L9:
	movl	$0, -2040(%rbp)
	movl	$0, -2036(%rbp)
	jmp	.L6
.L8:
	movl	-2036(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %edx
	movl	-2044(%rbp), %ecx
	movl	-2036(%rbp), %eax
	addl	%ecx, %eax
	cltq
	movzbl	-2032(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L7
	addl	$1, -2040(%rbp)
.L7:
	addl	$1, -2036(%rbp)
.L6:
	movl	-2036(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L8
	movl	-2040(%rbp), %edx
	movl	-2048(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	min
	movl	%eax, -2048(%rbp)
	addl	$1, -2044(%rbp)
.L5:
	movl	-2044(%rbp), %eax
	movslq	%eax, %r12
	leaq	-2032(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rbx
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rdx
	movq	%rbx, %rax
	subq	%rdx, %rax
	addq	$1, %rax
	cmpq	%rax, %r12
	jb	.L9
	movl	-2048(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	addq	$2032, %rsp
	popq	%rbx
	popq	%r12
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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
	.p2align 4
	.globl	min
	.type	min, @function
min:
.LFB51:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovle	%edi, %eax
	ret
	.cfi_endproc
.LFE51:
	.size	min, .-min
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$2016, %rsp
	.cfi_def_cfa_offset 2064
	movq	%fs:40, %rax
	movq	%rax, 2008(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %r13
	leaq	1008(%rsp), %rbp
	movq	%r13, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %rbx
	movl	%eax, %r12d
	call	strlen@PLT
	leaq	1(%rax), %r8
	subq	%rbx, %r8
	je	.L4
	movq	%rbx, %rdi
	movdqa	.LC1(%rip), %xmm5
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	leaq	-1(%rbx), %r10
	pxor	%xmm4, %xmm4
	pxor	%xmm3, %xmm3
	andq	$-16, %rdi
	movq	%rdi, %r9
	movl	%edi, %r11d
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	.L26
	cmpq	$14, %r10
	jbe	.L28
	xorl	%eax, %eax
	pxor	%xmm1, %xmm1
	.p2align 4,,10
	.p2align 3
.L7:
	movdqu	(%rsi,%rax), %xmm0
	movdqa	%xmm4, %xmm6
	pcmpeqb	0(%rbp,%rax), %xmm0
	addq	$16, %rax
	pandn	%xmm5, %xmm0
	pcmpgtb	%xmm0, %xmm6
	movdqa	%xmm0, %xmm2
	punpcklbw	%xmm6, %xmm2
	punpckhbw	%xmm6, %xmm0
	movdqa	%xmm3, %xmm6
	pcmpgtw	%xmm2, %xmm6
	movdqa	%xmm2, %xmm7
	punpcklwd	%xmm6, %xmm7
	punpckhwd	%xmm6, %xmm2
	movdqa	%xmm0, %xmm6
	paddd	%xmm7, %xmm1
	paddd	%xmm2, %xmm1
	movdqa	%xmm3, %xmm2
	pcmpgtw	%xmm0, %xmm2
	punpcklwd	%xmm2, %xmm6
	punpckhwd	%xmm2, %xmm0
	paddd	%xmm6, %xmm1
	paddd	%xmm0, %xmm1
	cmpq	%rax, %rdi
	jne	.L7
	movdqa	%xmm1, %xmm0
	psrldq	$8, %xmm0
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpq	%r9, %rbx
	je	.L26
	movl	%r11d, %edx
.L6:
	leal	(%rcx,%rdx), %r13d
	movslq	%edx, %r14
	movzbl	1008(%rsp,%r14), %r14d
	movslq	%r13d, %r13
	cmpb	%r14b, (%rsp,%r13)
	je	.L9
	addl	$1, %eax
.L9:
	leal	1(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L10
	addl	$1, %eax
.L10:
	leal	2(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L11
	addl	$1, %eax
.L11:
	leal	3(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L12
	addl	$1, %eax
.L12:
	leal	4(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L13
	addl	$1, %eax
.L13:
	leal	5(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L14
	addl	$1, %eax
.L14:
	leal	6(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L15
	addl	$1, %eax
.L15:
	leal	7(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L16
	addl	$1, %eax
.L16:
	leal	8(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L17
	addl	$1, %eax
.L17:
	leal	9(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L18
	addl	$1, %eax
.L18:
	leal	10(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L19
	addl	$1, %eax
.L19:
	leal	11(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L20
	addl	$1, %eax
.L20:
	leal	12(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L21
	addl	$1, %eax
.L21:
	leal	13(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L22
	addl	$1, %eax
.L22:
	addl	$14, %edx
	movslq	%edx, %r13
	cmpq	%r13, %rbx
	jbe	.L26
	addl	%ecx, %edx
	movslq	%edx, %rdx
	movzbl	(%rsp,%rdx), %edx
	cmpb	%dl, 1008(%rsp,%r13)
	je	.L26
	addl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L26:
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
	addl	$1, %ecx
	addq	$1, %rsi
	cmpl	%ecx, %r8d
	jne	.L5
.L4:
	xorl	%eax, %eax
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	2008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$2016, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L28:
	.cfi_restore_state
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	.L6
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	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
	.p2align 4
	.globl	min
	.type	min, @function
min:
.LFB51:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovle	%edi, %eax
	ret
	.cfi_endproc
.LFE51:
	.size	min, .-min
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$2016, %rsp
	.cfi_def_cfa_offset 2064
	movq	%fs:40, %rax
	movq	%rax, 2008(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %r13
	leaq	1008(%rsp), %rbp
	movq	%r13, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %rbx
	movl	%eax, %r12d
	call	strlen@PLT
	leaq	1(%rax), %r8
	subq	%rbx, %r8
	je	.L4
	movq	%rbx, %rdi
	movdqa	.LC1(%rip), %xmm5
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	leaq	-1(%rbx), %r10
	pxor	%xmm4, %xmm4
	pxor	%xmm3, %xmm3
	andq	$-16, %rdi
	movq	%rdi, %r9
	movl	%edi, %r11d
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	.L26
	cmpq	$14, %r10
	jbe	.L28
	xorl	%eax, %eax
	pxor	%xmm1, %xmm1
	.p2align 4,,10
	.p2align 3
.L7:
	movdqu	(%rsi,%rax), %xmm0
	movdqa	%xmm4, %xmm6
	pcmpeqb	0(%rbp,%rax), %xmm0
	addq	$16, %rax
	pandn	%xmm5, %xmm0
	pcmpgtb	%xmm0, %xmm6
	movdqa	%xmm0, %xmm2
	punpcklbw	%xmm6, %xmm2
	punpckhbw	%xmm6, %xmm0
	movdqa	%xmm3, %xmm6
	pcmpgtw	%xmm2, %xmm6
	movdqa	%xmm2, %xmm7
	punpcklwd	%xmm6, %xmm7
	punpckhwd	%xmm6, %xmm2
	movdqa	%xmm0, %xmm6
	paddd	%xmm7, %xmm1
	paddd	%xmm2, %xmm1
	movdqa	%xmm3, %xmm2
	pcmpgtw	%xmm0, %xmm2
	punpcklwd	%xmm2, %xmm6
	punpckhwd	%xmm2, %xmm0
	paddd	%xmm6, %xmm1
	paddd	%xmm0, %xmm1
	cmpq	%rax, %rdi
	jne	.L7
	movdqa	%xmm1, %xmm0
	psrldq	$8, %xmm0
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpq	%r9, %rbx
	je	.L26
	movl	%r11d, %edx
.L6:
	leal	(%rcx,%rdx), %r13d
	movslq	%edx, %r14
	movzbl	1008(%rsp,%r14), %r14d
	movslq	%r13d, %r13
	cmpb	%r14b, (%rsp,%r13)
	je	.L9
	addl	$1, %eax
.L9:
	leal	1(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L10
	addl	$1, %eax
.L10:
	leal	2(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L11
	addl	$1, %eax
.L11:
	leal	3(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L12
	addl	$1, %eax
.L12:
	leal	4(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L13
	addl	$1, %eax
.L13:
	leal	5(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L14
	addl	$1, %eax
.L14:
	leal	6(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L15
	addl	$1, %eax
.L15:
	leal	7(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L16
	addl	$1, %eax
.L16:
	leal	8(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L17
	addl	$1, %eax
.L17:
	leal	9(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L18
	addl	$1, %eax
.L18:
	leal	10(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L19
	addl	$1, %eax
.L19:
	leal	11(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L20
	addl	$1, %eax
.L20:
	leal	12(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L21
	addl	$1, %eax
.L21:
	leal	13(%rdx), %r13d
	movslq	%r13d, %r14
	cmpq	%r14, %rbx
	jbe	.L26
	addl	%ecx, %r13d
	movslq	%r13d, %r13
	movzbl	(%rsp,%r13), %r13d
	cmpb	%r13b, 1008(%rsp,%r14)
	je	.L22
	addl	$1, %eax
.L22:
	addl	$14, %edx
	movslq	%edx, %r13
	cmpq	%r13, %rbx
	jbe	.L26
	addl	%ecx, %edx
	movslq	%edx, %rdx
	movzbl	(%rsp,%rdx), %edx
	cmpb	%dl, 1008(%rsp,%r13)
	je	.L26
	addl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L26:
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
	addl	$1, %ecx
	addq	$1, %rsi
	cmpl	%ecx, %r8d
	jne	.L5
.L4:
	xorl	%eax, %eax
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	2008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$2016, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L28:
	.cfi_restore_state
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	.L6
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	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 <stdlib.h>
#include <string.h>
#include <math.h>
#define rep(i,l,r)for(int i=(l);i<(r);i++)

int min(int a,int b){
  if(a<=b) return a;
  else return b;
}

int main(void){
  char s[1000],t[1000];
  scanf("%s",s);
  scanf("%s",t);
  int ans = strlen(t);
  rep(i,0,strlen(s)-strlen(t)+1){
    int diff = 0;
    rep(j,0,strlen(t)){
      if(t[j] != s[i+j]){
	diff++;
      }
    }
    ans = min(ans,diff);
  }
  printf("%d",ans);
return 0;
}
codefsrceo
atcoder
 cabacc
abb
 codefsrceo
atdocer
 codefsrceo
atdrceo
 codefsqceo
atdrceo
 ccbaac
aac
 caacbc
bba
 oeectfpcat
albs`tb
 ccabac
abb
 ccabac
bba

6 1 5 3 4 0 2 7 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
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#define rep(i,l,r)for(int i=(l);i<(r);i++)

int min(int a,int b){
  if(a<=b) return a;
  else return b;
}

int main(void){
  char s[1000],t[1000];
  scanf("%s",s);
  scanf("%s",t);
  int ans = strlen(t);
  rep(i,0,strlen(s)-strlen(t)+1){
    int diff = 0;
    rep(j,0,strlen(t)){
      if(t[j] != s[i+j]){
	diff++;
      }
    }
    ans = min(ans,diff);
  }
  printf("%d",ans);
return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	min
	.type	min, @function
min:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jg	.L2
	movl	-4(%rbp), %eax
	jmp	.L3
.L2:
	movl	-8(%rbp), %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r12
	pushq	%rbx
	subq	$2032, %rsp
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-2032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-1024(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2048(%rbp)
	movl	$0, -2044(%rbp)
	jmp	.L5
.L9:
	movl	$0, -2040(%rbp)
	movl	$0, -2036(%rbp)
	jmp	.L6
.L8:
	movl	-2036(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %edx
	movl	-2044(%rbp), %ecx
	movl	-2036(%rbp), %eax
	addl	%ecx, %eax
	cltq
	movzbl	-2032(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L7
	addl	$1, -2040(%rbp)
.L7:
	addl	$1, -2036(%rbp)
.L6:
	movl	-2036(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L8
	movl	-2040(%rbp), %edx
	movl	-2048(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	min
	movl	%eax, -2048(%rbp)
	addl	$1, -2044(%rbp)
.L5:
	movl	-2044(%rbp), %eax
	movslq	%eax, %r12
	leaq	-2032(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rbx
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rdx
	movq	%rbx, %rax
	subq	%rdx, %rax
	addq	$1, %rax
	cmpq	%rax, %r12
	jb	.L9
	movl	-2048(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	addq	$2032, %rsp
	popq	%rbx
	popq	%r12
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	min
	.type	min, @function
min:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jg	.L2
	movl	-4(%rbp), %eax
	jmp	.L3
.L2:
	movl	-8(%rbp), %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r12
	pushq	%rbx
	subq	$2032, %rsp
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-2032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-1024(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2048(%rbp)
	movl	$0, -2044(%rbp)
	jmp	.L5
.L9:
	movl	$0, -2040(%rbp)
	movl	$0, -2036(%rbp)
	jmp	.L6
.L8:
	movl	-2036(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %edx
	movl	-2044(%rbp), %ecx
	movl	-2036(%rbp), %eax
	addl	%ecx, %eax
	cltq
	movzbl	-2032(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L7
	addl	$1, -2040(%rbp)
.L7:
	addl	$1, -2036(%rbp)
.L6:
	movl	-2036(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L8
	movl	-2040(%rbp), %edx
	movl	-2048(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	min
	movl	%eax, -2048(%rbp)
	addl	$1, -2044(%rbp)
.L5:
	movl	-2044(%rbp), %eax
	movslq	%eax, %r12
	leaq	-2032(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rbx
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rdx
	movq	%rbx, %rax
	subq	%rdx, %rax
	addq	$1, %rax
	cmpq	%rax, %r12
	jb	.L9
	movl	-2048(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	addq	$2032, %rsp
	popq	%rbx
	popq	%r12
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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:
