user: 下面的汇编指令对应的C源代码是什么：

```asm
<get_repair_list>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %edi,%ebx
  mov    %esi,0x18(%rsp)
  mov    %edx,%r14d
  lea    -0x1(%rsi),%r15d
  mov    %r15d,%esi
  call   <math_pow@plt>
  mov    %eax,0x1c(%rsp)
  cltd
  idiv   %ebx
  mov    %eax,%ebp
  mov    %eax,%r12d
  mov    $0x10,%edi
  call   <malloc@plt>
  test   %rax,%rax
  je     L23
  mov    %rax,%r13
  mov    %r15d,%edi
  imul   %ebp,%edi
  shl    $0x2,%edi
  call   <malloc@plt>
  mov    %rax,0x10(%rsp)
  test   %rax,%rax
  je     L13
  mov    %ebx,%edi
  imul   %ebp,%edi
  shl    $0x2,%edi
  call   <malloc@plt>
  mov    %rax,0x8(%rsp)
  test   %rax,%rax
  je     L103
  mov    %r13,(%rsp)
  mov    0x10(%rsp),%rax
  mov    %rax,0x0(%r13)
  mov    0x8(%rsp),%rax
  mov    %rax,0x8(%r13)
  mov    0x1c(%rsp),%eax
  mov    %eax,%r13d
  imul   %ebx,%r13d
  add    %eax,%ebp
  test   %r14d,%r14d
  jle    L45
  mov    %r14d,%ecx
L57:
  mov    %r13d,%eax
  cltd
  idiv   %ebx
  mov    %eax,%r13d
  mov    %ebp,%eax
  cltd
  idiv   %ebx
  mov    %eax,%ebp
  mov    %r12d,%eax
  cltd
  idiv   %ebx
  mov    %eax,%r12d
  sub    $0x1,%ecx
  jne    L57
  cmp    %r14d,%r15d
  je     L60
  sub    $0x8,%rsp
  push   %rax
  mov    %ebp,%r9d
  mov    %r13d,%r8d
  mov    0x28(%rsp),%ecx
  mov    %ebx,%edx
  mov    %r14d,%esi
  mov    0x20(%rsp),%rdi
  call   <get_data_list@plt>
  add    $0x10,%rsp
  jmp    L9
L23:
  lea    D11(%rip),%rdi
  call   <printf@plt>
  movq   $0x0,(%rsp)
  jmp    L106
L13:
  lea    D11(%rip),%rdi
  call   <printf@plt>
  movq   $0x0,(%rsp)
  jmp    L106
L103:
  lea    D11(%rip),%rdi
  call   <printf@plt>
  movq   $0x0,(%rsp)
  jmp    L106
L45:
  cmp    %r14d,%r15d
  cmove  %ebx,%ebp
  cmove  %ebx,%r13d
  mov    $0x1,%eax
  cmove  %eax,%r12d
  sub    $0x8,%rsp
  push   %r12
  mov    %ebp,%r9d
  mov    %r13d,%r8d
  mov    0x28(%rsp),%r15d
  mov    %r15d,%ecx
  mov    %ebx,%edx
  mov    %r14d,%esi
  mov    0x20(%rsp),%rdi
  call   <get_data_list@plt>
  add    $0x10,%rsp
  test   %r14d,%r14d
  jne    L9
  mov    %r15d,%edx
  mov    %ebx,%esi
  mov    0x8(%rsp),%rdi
  call   <get_f0_parity_list@plt>
L106:
  mov    (%rsp),%rax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L60:
  sub    $0x8,%rsp
  push   $0x1
  mov    %ebx,%r9d
  mov    %ebx,%r8d
  mov    0x28(%rsp),%ecx
  mov    %ebx,%edx
  mov    %r14d,%esi
  mov    0x20(%rsp),%rdi
  call   <get_data_list@plt>
  add    $0x10,%rsp
  mov    %ebx,%ebp
  mov    %ebx,%r13d
  mov    $0x1,%r12d
L9:
  mov    %r12d,%r9d
  mov    %ebp,%r8d
  mov    %r13d,%ecx
  mov    0x18(%rsp),%edx
  mov    %ebx,%esi
  mov    0x8(%rsp),%rdi
  call   <get_parity_list@plt>
  jmp    L106
```

tool_calls: name: unpack_data
arguments: label: D11
type_infered: string

tool: D11: ERROR : fail to malloc !


assistant: ```c
int **get_repair_list(int m, int k, int fnode) {
  int **dplist;
  int *dptr;
  int *pptr;
  int num_per_node;
  int r;
  int i;
  int cirlen, brklen, durlen;
  r = (math_pow((m), (k - 1)));
  num_per_node = r / m;
  if ((dplist = (int **)malloc(2 * sizeof(int *))) == NULL) {
    printf("ERROR : fail to malloc !\n");
    return 0;
  }
  if ((dptr = (int *)malloc((k - 1) * num_per_node * sizeof(int))) == NULL) {
    printf("ERROR : fail to malloc !\n");
    return 0;
  }
  if ((pptr = (int *)malloc(m * num_per_node * sizeof(int))) == NULL) {
    printf("ERROR : fail to malloc !\n");
    return 0;
  }
  dplist[0] = dptr;
  dplist[1] = pptr;
  cirlen = r * m;
  brklen = r + r / m;
  durlen = r / m;
  i = fnode;
  while (i >= 1) {
    cirlen = cirlen / m;
    brklen = brklen / m;
    durlen = durlen / m;
    --i;
  }
  if (fnode == k - 1) {
    cirlen = m;
    brklen = m;
    durlen = 1;
  }
  get_data_list(dptr, fnode, m, k, cirlen, brklen, durlen);
  if (fnode == 0) {
    get_f0_parity_list(pptr, m, k);
  } else {
    get_parity_list(pptr, m, k, cirlen, brklen, durlen);
  }
  return dplist;
}
```