user: What is the c source code of the assembly code below:

```asm
<GetTreeI>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0xb000(%rsp),%r11
L16:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L16
  sub    $0xb80,%rsp
  mov    %edx,%r12d
  mov    %esi,%ebp
  mov    %edi,%eax
  mov    %fs:0x28,%rdx
  mov    %rdx,0xbb78(%rsp)
  xor    %edx,%edx
  lea    -0x3(%rsi,%r12,1),%esi
  lea    -0x1(%rsi),%ecx
  test   %ecx,%ecx
  jle    L36
  lea    -0x2(%rsi),%edx
  cmp    $0x2,%edx
  jbe    L75
  mov    %ecx,%edi
  movdqa D11(%rip),%xmm1
  mov    %rsp,%rdx
  movdqa D25(%rip),%xmm3
  shr    $0x2,%edi
  movdqa D27(%rip),%xmm2
  sub    $0x1,%edi
  shl    $0x4,%rdi
  lea    0x10(%rsp,%rdi,1),%rdi
  xchg   %ax,%ax
L50:
  movdqa %xmm1,%xmm0
  add    $0x10,%rdx
  paddd  %xmm3,%xmm1
  pslld  $0x1,%xmm0
  paddd  %xmm2,%xmm0
  movaps %xmm0,-0x10(%rdx)
  cmp    %rdi,%rdx
  jne    L50
  mov    %ecx,%edx
  and    $0xfffffffc,%edx
  test   $0x3,%cl
  je     L36
L126:
  lea    (%rdx,%rdx,1),%edi
  movslq %edx,%r8
  lea    0x5(%rdi),%r9d
  mov    %r9d,(%rsp,%r8,4)
  lea    0x1(%rdx),%r8d
  cmp    %r8d,%ecx
  jle    L36
  movslq %r8d,%r8
  lea    0x7(%rdi),%r9d
  add    $0x2,%edx
  mov    %r9d,(%rsp,%r8,4)
  cmp    %edx,%ecx
  jle    L36
  movslq %edx,%rdx
  add    $0x9,%edi
  mov    %edi,(%rsp,%rdx,4)
L36:
  movslq %ecx,%rcx
  movl   $0x1,(%rsp,%rcx,4)
  cmp    $0x2,%esi
  jle    L94
  movslq %ebp,%rcx
  movslq %r12d,%rdx
  lea    -0x3(%rsi),%r8d
  movslq %esi,%rdi
  shl    $0x2,%rdi
  add    %rcx,%rdx
  shl    $0x2,%r8
  lea    (%rsp,%rdi,1),%rcx
  mov    -0x14(%rsp,%rdx,4),%edx
  lea    -0x4(%rsp,%rdi,1),%rdi
  sub    %r8,%rdi
  nopl   0x0(%rax)
L62:
  imul   -0xc(%rcx),%edx
  sub    $0x4,%rcx
  mov    %edx,-0x8(%rcx)
  cmp    %rdi,%rcx
  jne    L62
L94:
  cmp    $0xffffffff,%eax
  je     L173
  test   %esi,%esi
  jle    L97
  movslq %esi,%rsi
  xor    %ecx,%ecx
  lea    0x5dc0(%rsp),%r14
  mov    %rsp,%rdi
  nopl   (%rax)
L111:
  cltd
  idivl  (%rdi,%rcx,4)
  mov    %eax,(%r14,%rcx,4)
  add    $0x1,%rcx
  mov    %edx,%eax
  cmp    %rsi,%rcx
  jne    L111
L117:
  mov    %r12d,%edx
  mov    %r14,%rsi
  mov    %ebp,%edi
  call   <MakeTreeIb@plt>
  mov    0xbb78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L147
  add    $0xbb80,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   (%rax)
L173:
  movslq %esi,%r13
  xor    %ebx,%ebx
  lea    0x5dc0(%rsp),%r14
  test   %esi,%esi
  jle    L97
  nopl   0x0(%rax)
L158:
  xor    %eax,%eax
  call   <rndu@plt>
  mov    %eax,%r8d
  lea    0x3(%rbx,%rbx,1),%eax
  imul   %r8d,%eax
  mov    %eax,(%r14,%rbx,4)
  add    $0x1,%rbx
  cmp    %r13,%rbx
  jne    L158
  jmp    L117
  nopl   0x0(%rax)
L97:
  lea    0x5dc0(%rsp),%r14
  jmp    L117
L75:
  xor    %edx,%edx
  jmp    L126
L147:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D11
type: byte[16]
name: read_data
arguments: data_label: D25
type: byte[16]
name: read_data
arguments: data_label: D27
type: byte[16]

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

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

tool: {"D27": [0x05,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x05,0x00,0x00,0x00]}

assistant: ```c
int GetTreeI(int itree, int ns, int rooted) {
  int i, M[6000 - 2], nM = ns - 3 + rooted, Ib[6000 - 2];
  for (i = 0; i < nM - 1; i++)
    M[i] = 2 * i + 5;
  for (i = 0, M[nM - 1] = 1; i < nM - 2; i++)
    M[nM - 1 - i - 2] *= M[nM - 1 - i - 1];
  if (itree == -1)
    for (i = 0; i < nM; i++)
      Ib[i] = (int)((2 * i + 3) * rndu());
  else
    for (i = 0; i < nM; i++) {
      Ib[i] = itree / M[i];
      itree %= M[i];
    }
  MakeTreeIb(ns, Ib, rooted);
  return (0);
}
```