user: 这段汇编代码用C语言表示是什么样的?

```asm
<sift3B>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %edx,-0x34(%rbp)
  movsd  %xmm0,-0x40(%rbp)
  cmpq   $0x0,-0x28(%rbp)
  setne  %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  cmpq   $0x0,-0x30(%rbp)
  setne  %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x10(%rbp)
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0xc(%rbp)
  cmpl   $0x0,-0x10(%rbp)
  jne    L260
  mov    -0xc(%rbp),%eax
  test   %rax,%rax
  js     L25
  pxor   %xmm3,%xmm3
  cvtsi2sd %rax,%xmm3
  movq   %xmm3,%rax
  jmp    L10
L25:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
  movq   %xmm0,%rax
  jmp    L10
L260:
  cmpl   $0x0,-0xc(%rbp)
  jne    L62
  mov    -0x10(%rbp),%eax
  test   %rax,%rax
  js     L87
  pxor   %xmm4,%xmm4
  cvtsi2sd %rax,%xmm4
  movq   %xmm4,%rax
  jmp    L10
L87:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
  movq   %xmm0,%rax
  jmp    L10
L62:
  movl   $0x0,-0x20(%rbp)
  movl   $0x0,-0x1c(%rbp)
  movl   $0x0,-0x18(%rbp)
  jmp    L59
L108:
  mov    -0x1c(%rbp),%edx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x18(%rbp),%ecx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  jne    L202
  addl   $0x1,-0x20(%rbp)
  jmp    L295
L202:
  mov    -0x1c(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jae    L330
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0x18(%rbp)
  jmp    L88
L330:
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x1c(%rbp)
L88:
  movl   $0x0,-0x14(%rbp)
  jmp    L207
L310:
  mov    -0x1c(%rbp),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x10(%rbp)
  jbe    L187
  mov    -0x1c(%rbp),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x18(%rbp),%ecx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  jne    L187
  mov    -0x14(%rbp),%eax
  add    %eax,-0x1c(%rbp)
  jmp    L295
L187:
  mov    -0x18(%rbp),%eax
  add    $0x1,%eax
  cmp    %eax,-0xc(%rbp)
  jbe    L215
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x1c(%rbp),%ecx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  jne    L215
  mov    -0x14(%rbp),%eax
  add    %eax,-0x18(%rbp)
  jmp    L295
L215:
  addl   $0x1,-0x14(%rbp)
L207:
  mov    -0x14(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jb     L310
L295:
  addl   $0x1,-0x1c(%rbp)
  addl   $0x1,-0x18(%rbp)
  mov    -0x1c(%rbp),%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%eax
  test   %rax,%rax
  js     L92
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L255
L92:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L255:
  movsd  D8(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  mov    -0x20(%rbp),%eax
  test   %rax,%rax
  js     L205
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L237
L205:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L237:
  subsd  %xmm0,%xmm1
  movsd  %xmm1,-0x8(%rbp)
  movsd  -0x8(%rbp),%xmm0
  comisd -0x40(%rbp),%xmm0
  jae    L153
  jmp    L59
L153:
  movsd  -0x8(%rbp),%xmm0
  cvttsd2si %xmm0,%rax
  mov    %eax,%edi
  call   <round@plt>
  movq   %xmm0,%rax
  jmp    L10
L59:
  mov    -0x1c(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jae    L267
  mov    -0x18(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jb     L108
L267:
  mov    -0x10(%rbp),%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%eax
  test   %rax,%rax
  js     L111
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L134
L111:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L134:
  movsd  D8(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  mov    -0x20(%rbp),%eax
  test   %rax,%rax
  js     L318
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  jmp    L48
L318:
  mov    %rax,%rdx
  shr    %rdx
  and    $0x1,%eax
  or     %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  addsd  %xmm0,%xmm0
L48:
  subsd  %xmm0,%xmm1
  cvttsd2si %xmm1,%rax
  mov    %eax,%edi
  call   <round@plt>
  movq   %xmm0,%rax
L10:
  movq   %rax,%xmm0
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D8
type_infered: f64

tool: D8: 1.5

assistant: ```c
double sift3B(const char *str1, const char *str2, unsigned max_offset, double max_dist) {
  assert(str1 != NULL);
  assert(str2 != NULL);
  unsigned str1_len = strlen(str1);
  unsigned str2_len = strlen(str2);
  if (str1_len == 0) {
    return (double)str2_len;
  }
  if (str2_len == 0) {
    return (double)str1_len;
  }
  unsigned lcs = 0;
  unsigned c1 = 0;
  unsigned c2 = 0;
  double temp_dist;
  while ((c1 < str1_len) && (c2 < str2_len)) {
    if (((str1[c1]) == (str2[c2]))) {
      lcs++;
    } else {
      if (c1 < c2) {
        c2 = c1;
      } else {
        c1 = c2;
      }
      for (unsigned i = 0; i < max_offset; i++) {
        if ((c1 + i < str1_len) && (((str1[c1 + i]) == (str2[c2])))) {
          c1 += i;
          break;
        }
        if ((c2 + 1 < str2_len) && (((str2[c2 + i]) == (str1[c1])))) {
          c2 += i;
          break;
        }
      }
    }
    c1++;
    c2++;
    temp_dist = (c1 + c2) / 1.5 - lcs;
    if (temp_dist >= max_dist) {
      return round(temp_dist);
    }
  }
  return round((str1_len + str2_len) / 1.5 - lcs);
}
```