user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %rbp
  lea    D1(%rip),%rdi
  lea    D9(%rip),%rbp
  sub    $0xd0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xc8(%rsp)
  xor    %eax,%eax
  lea    0xc(%rsp),%rsi
  call   <scanf@plt>
  lea    0x10(%rsp),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    0x70(%rsp),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jle    L345
  lea    -0x1(%rax),%edx
  cmp    $0xe,%edx
  jbe    L408
  movdqa 0x70(%rsp),%xmm1
  pxor   %xmm4,%xmm4
  pxor   %xmm5,%xmm5
  mov    %eax,%edx
  movdqa D30(%rip),%xmm3
  movdqa %xmm4,%xmm0
  movdqa %xmm5,%xmm6
  shr    $0x4,%edx
  pcmpeqb 0x10(%rsp),%xmm1
  pand   %xmm3,%xmm1
  pcmpgtb %xmm1,%xmm0
  movdqa %xmm1,%xmm2
  punpcklbw %xmm0,%xmm2
  punpckhbw %xmm0,%xmm1
  pcmpgtw %xmm2,%xmm6
  movdqa %xmm2,%xmm7
  movdqa %xmm2,%xmm0
  movdqa %xmm5,%xmm2
  pcmpgtw %xmm1,%xmm2
  punpcklwd %xmm6,%xmm7
  punpckhwd %xmm6,%xmm0
  movdqa %xmm1,%xmm6
  paddd  %xmm7,%xmm0
  punpcklwd %xmm2,%xmm6
  punpckhwd %xmm2,%xmm1
  paddd  %xmm6,%xmm0
  paddd  %xmm1,%xmm0
  cmp    $0x1,%edx
  je     L108
  movdqa 0x80(%rsp),%xmm1
  movdqa %xmm4,%xmm2
  movdqa %xmm5,%xmm7
  pcmpeqb 0x20(%rsp),%xmm1
  pand   %xmm3,%xmm1
  pcmpgtb %xmm1,%xmm2
  movdqa %xmm1,%xmm6
  punpcklbw %xmm2,%xmm6
  punpckhbw %xmm2,%xmm1
  pcmpgtw %xmm6,%xmm7
  movdqa %xmm6,%xmm2
  punpcklwd %xmm7,%xmm2
  punpckhwd %xmm7,%xmm6
  paddd  %xmm2,%xmm0
  movdqa %xmm5,%xmm2
  pcmpgtw %xmm1,%xmm2
  paddd  %xmm6,%xmm0
  movdqa %xmm1,%xmm6
  punpcklwd %xmm2,%xmm6
  punpckhwd %xmm2,%xmm1
  paddd  %xmm6,%xmm0
  paddd  %xmm1,%xmm0
  cmp    $0x2,%edx
  je     L108
  movdqa 0x90(%rsp),%xmm1
  movdqa %xmm4,%xmm2
  movdqa %xmm5,%xmm7
  pcmpeqb 0x30(%rsp),%xmm1
  pand   %xmm3,%xmm1
  pcmpgtb %xmm1,%xmm2
  movdqa %xmm1,%xmm6
  punpcklbw %xmm2,%xmm6
  punpckhbw %xmm2,%xmm1
  pcmpgtw %xmm6,%xmm7
  movdqa %xmm6,%xmm2
  punpcklwd %xmm7,%xmm2
  punpckhwd %xmm7,%xmm6
  paddd  %xmm2,%xmm0
  movdqa %xmm5,%xmm2
  pcmpgtw %xmm1,%xmm2
  paddd  %xmm6,%xmm0
  movdqa %xmm1,%xmm6
  punpcklwd %xmm2,%xmm6
  punpckhwd %xmm2,%xmm1
  paddd  %xmm6,%xmm0
  paddd  %xmm1,%xmm0
  cmp    $0x3,%edx
  je     L108
  movdqa 0xa0(%rsp),%xmm1
  movdqa %xmm4,%xmm2
  movdqa %xmm5,%xmm7
  pcmpeqb 0x40(%rsp),%xmm1
  pand   %xmm3,%xmm1
  pcmpgtb %xmm1,%xmm2
  movdqa %xmm1,%xmm6
  punpcklbw %xmm2,%xmm6
  punpckhbw %xmm2,%xmm1
  pcmpgtw %xmm6,%xmm7
  movdqa %xmm6,%xmm2
  punpcklwd %xmm7,%xmm2
  punpckhwd %xmm7,%xmm6
  paddd  %xmm2,%xmm0
  movdqa %xmm5,%xmm2
  pcmpgtw %xmm1,%xmm2
  paddd  %xmm6,%xmm0
  movdqa %xmm1,%xmm6
  punpcklwd %xmm2,%xmm6
  punpckhwd %xmm2,%xmm1
  paddd  %xmm6,%xmm0
  paddd  %xmm1,%xmm0
  cmp    $0x4,%edx
  je     L108
  movdqa 0xb0(%rsp),%xmm1
  pcmpeqb 0x50(%rsp),%xmm1
  pand   %xmm3,%xmm1
  pcmpgtb %xmm1,%xmm4
  movdqa %xmm1,%xmm3
  punpcklbw %xmm4,%xmm3
  punpckhbw %xmm4,%xmm1
  movdqa %xmm5,%xmm4
  pcmpgtw %xmm3,%xmm4
  pcmpgtw %xmm1,%xmm5
  movdqa %xmm3,%xmm2
  punpcklwd %xmm4,%xmm2
  punpckhwd %xmm4,%xmm3
  paddd  %xmm2,%xmm0
  movdqa %xmm1,%xmm2
  punpckhwd %xmm5,%xmm1
  paddd  %xmm3,%xmm0
  punpcklwd %xmm5,%xmm2
  paddd  %xmm2,%xmm0
  paddd  %xmm1,%xmm0
L108:
  movdqa %xmm0,%xmm1
  mov    %eax,%edx
  psrldq $0x8,%xmm1
  and    $0xfffffff0,%edx
  paddd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  psrldq $0x4,%xmm1
  paddd  %xmm1,%xmm0
  movd   %xmm0,%esi
  test   $0xf,%al
  je     L317
L175:
  movslq %edx,%rcx
  movzbl 0x70(%rsp,%rcx,1),%edi
  cmp    %dil,0x10(%rsp,%rcx,1)
  jne    L138
  add    $0x1,%esi
L138:
  lea    0x1(%rdx),%ecx
  cmp    %eax,%ecx
  jge    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  je     L280
L239:
  lea    0x2(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  je     L329
L309:
  lea    0x3(%rdx),%ecx
  cmp    %eax,%ecx
  jge    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  je     L297
L243:
  lea    0x4(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  je     L215
L10:
  lea    0x5(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  jne    L193
  add    $0x1,%esi
L193:
  lea    0x6(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  jne    L62
  add    $0x1,%esi
L62:
  lea    0x7(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  jne    L376
  add    $0x1,%esi
L376:
  lea    0x8(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  jne    L340
  add    $0x1,%esi
L340:
  lea    0x9(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  je     L328
L414:
  lea    0xa(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  je     L240
L165:
  lea    0xb(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  je     L162
L118:
  lea    0xc(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  je     L439
L416:
  lea    0xd(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L317
  movslq %ecx,%rcx
  movzbl 0x10(%rsp,%rcx,1),%edi
  cmp    %dil,0x70(%rsp,%rcx,1)
  jne    L56
  add    $0x1,%esi
L56:
  add    $0xe,%edx
  cmp    %edx,%eax
  jle    L317
  movslq %edx,%rdx
  movzbl 0x10(%rsp,%rdx,1),%eax
  cmp    %al,0x70(%rsp,%rdx,1)
  jne    L317
  add    $0x1,%esi
  nopl   0x0(%rax)
L317:
  lea    D32(%rip),%rdi
  call   <printf@plt>
  mov    0xc8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L183
  add    $0xd0,%rsp
  xor    %eax,%eax
  pop    %rbp
  ret
L280:
  add    $0x1,%esi
  jmp    L239
L329:
  add    $0x1,%esi
  jmp    L309
L297:
  add    $0x1,%esi
  jmp    L243
L215:
  add    $0x1,%esi
  jmp    L10
L328:
  add    $0x1,%esi
  jmp    L414
L240:
  add    $0x1,%esi
  jmp    L165
L162:
  add    $0x1,%esi
  jmp    L118
L439:
  add    $0x1,%esi
  jmp    L416
L345:
  xor    %esi,%esi
  jmp    L317
L408:
  xor    %esi,%esi
  xor    %edx,%edx
  jmp    L175
L183:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D1
type_guessed: string
name: unpack_data
arguments: tag: D9
type_guessed: string
name: unpack_data
arguments: tag: D30
type_guessed: byte[16]
name: unpack_data
arguments: tag: D32
type_guessed: string

tool: D1:  %d

tool: D9:  %s

tool: {"D30": [0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01]}

tool: D32: 
%d

assistant: ```c
int main() {
  int i, acert = 0, n;
  char resp[85], gaba[85];
  scanf(" %d", &n);
  scanf(" %s", resp);
  scanf(" %s", gaba);
  for (i = 0; i < n; i++) {
    if (gaba[i] == resp[i])
      acert++;
  }
  printf("\n%d", acert);
  return 0;
}
```