user: 请将以下的汇编代码转换成C语言代码:

```asm
<Default_ZoneContrib>:
  endbr64
  mov    %edi,%eax
  pxor   %xmm0,%xmm0
  push   %r13
  mov    %rdx,%r13
  imul   %esi,%eax
  push   %r12
  mov    %ecx,%r12d
  push   %rbp
  mov    %edi,%ebp
  push   %rbx
  mov    %esi,%ebx
  cvtsi2sd %eax,%xmm0
  sub    $0x8,%rsp
  call   <floor@plt>
  mov    $0x8,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,0x0(%r13)
  test   %ebp,%ebp
  jle    L54
  test   %ebx,%ebx
  jle    L54
  mov    %rax,%rsi
  mov    %ebx,%eax
  mov    %ebx,%r8d
  movdqa D22(%rip),%xmm7
  shr    $0x2,%eax
  movapd D6(%rip),%xmm4
  xor    %ecx,%ecx
  xor    %edi,%edi
  lea    -0x1(%rax),%r9d
  lea    -0x1(%rbx),%r10d
  and    $0xfffffffc,%r8d
  movsd  D6(%rip),%xmm10
  add    $0x1,%r9
  pxor   %xmm9,%xmm9
  movdqa D50(%rip),%xmm8
  shl    $0x5,%r9
  nopl   0x0(%rax)
L64:
  cmp    $0x3,%r10d
  jbe    L11
  movslq %ecx,%rax
  movd   %r12d,%xmm5
  movdqa D39(%rip),%xmm2
  lea    (%rsi,%rax,8),%rax
  pshufd $0x0,%xmm5,%xmm6
  pxor   %xmm5,%xmm5
  lea    (%r9,%rax,1),%rdx
  nopl   0x0(%rax,%rax,1)
L131:
  movdqa %xmm2,%xmm0
  movdqa %xmm5,%xmm3
  add    $0x20,%rax
  paddd  %xmm7,%xmm0
  paddd  %xmm8,%xmm2
  pcmpeqd %xmm6,%xmm0
  pcmpgtd %xmm0,%xmm3
  movdqa %xmm0,%xmm1
  punpckldq %xmm3,%xmm1
  punpckhdq %xmm3,%xmm0
  andnpd %xmm4,%xmm1
  andnpd %xmm4,%xmm0
  movups %xmm1,-0x20(%rax)
  movups %xmm0,-0x10(%rax)
  cmp    %rax,%rdx
  jne    L131
  mov    %r8d,%edx
  cmp    %r8d,%ebx
  je     L12
L126:
  lea    (%rcx,%rdx,1),%r11d
  lea    0x1(%rdx),%eax
  pxor   %xmm0,%xmm0
  movslq %r11d,%r11
  lea    (%rsi,%r11,8),%r11
  cmp    %eax,%r12d
  je     L23
  movsd  D6(%rip),%xmm0
L23:
  movsd  %xmm0,(%r11)
  cmp    %eax,%ebx
  jle    L12
  add    %ecx,%eax
  lea    0x2(%rdx),%r11d
  movapd %xmm9,%xmm0
  cltq
  lea    (%rsi,%rax,8),%rax
  cmp    %r11d,%r12d
  je     L122
  movsd  D6(%rip),%xmm0
L122:
  movsd  %xmm0,(%rax)
  cmp    %r11d,%ebx
  jle    L12
  add    %ecx,%r11d
  lea    0x3(%rdx),%eax
  movapd %xmm9,%xmm0
  movslq %r11d,%r11
  lea    (%rsi,%r11,8),%r11
  cmp    %r12d,%eax
  je     L130
  movapd %xmm10,%xmm0
L130:
  movsd  %xmm0,(%r11)
  cmp    %ebx,%eax
  jge    L12
  add    %ecx,%eax
  add    $0x4,%edx
  movapd %xmm10,%xmm0
  cltq
  lea    (%rsi,%rax,8),%rax
  cmp    %edx,%r12d
  je     L148
L49:
  movsd  %xmm0,(%rax)
L12:
  add    $0x1,%edi
  add    %ebx,%ecx
  cmp    %ebp,%edi
  jne    L64
L54:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopw   0x0(%rax,%rax,1)
L148:
  movapd %xmm9,%xmm0
  jmp    L49
L11:
  xor    %edx,%edx
  jmp    L126
```

tool_calls: name: disassemble_data
arguments: label: D22
datatype: byte[16]
name: disassemble_data
arguments: label: D6
datatype: byte[16]
name: disassemble_data
arguments: label: D50
datatype: byte[16]
name: disassemble_data
arguments: label: D39
datatype: byte[16]

tool: {"D22": [0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00]}

tool: {"D6": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: {"D50": [0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

tool: {"D39": [0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00]}

assistant: ```c
void Default_ZoneContrib(int spno, int iZoneCount, double *_ZoneContrib[], int iAvailableZoneFromInput) {
  int i, j, iArraySize;
  double rArraySize;
  char debugbuffer[1000];
  rArraySize = spno * iZoneCount;
  iArraySize = floor(rArraySize);
  *_ZoneContrib = (double *)calloc(iArraySize, sizeof(double));
  for (j = 0; j < spno; j++) {
    for (i = 0; i < iZoneCount; i++)
      if (iAvailableZoneFromInput == (i + 1)) {
        (*_ZoneContrib)[(j * iZoneCount) + i] = 0;
      } else {
        (*_ZoneContrib)[(j * iZoneCount) + i] = 1;
      }
  }
}
```