user: Converte this assembly snippet into its equivalent C code:

```asm
<fill>:
  endbr64
  push   %r15
  lea    -0x1(%rdx),%eax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xb8,%rsp
  mov    %esi,0x38(%rsp)
  mov    %edx,0x98(%rsp)
  mov    %ecx,0x50(%rsp)
  mov    %r8d,0x6c(%rsp)
  mov    %eax,0x60(%rsp)
  cmp    %eax,%esi
  je     L148
L94:
  mov    0x38(%rsp),%esi
  mov    0x98(%rsp),%edx
  mov    0x6c(%rsp),%ebx
  sub    %esi,%edx
  mov    %esi,0x28(%rsp)
  mov    %esi,%ecx
  mov    %edx,%eax
  mov    %ebx,0x7c(%rsp)
  add    %ebx,%ebx
  shr    $0x1f,%eax
  mov    %ebx,0x6c(%rsp)
  add    %edx,%eax
  mov    %ebx,0x54(%rsp)
  sar    %eax
  add    %eax,%esi
  lea    -0x1(%rsi),%eax
  mov    %esi,0x38(%rsp)
  mov    0x50(%rsp),%esi
  mov    %eax,0x74(%rsp)
  mov    %esi,0x3c(%rsp)
  cmp    %ecx,%eax
  je     L70
L172:
  mov    0x28(%rsp),%ebx
  mov    0x38(%rsp),%edx
  mov    0x54(%rsp),%esi
  sub    %ebx,%edx
  mov    %ebx,0x1c(%rsp)
  mov    %ebx,%ecx
  mov    %edx,%eax
  mov    %esi,0x78(%rsp)
  add    %esi,%esi
  shr    $0x1f,%eax
  mov    %esi,0x54(%rsp)
  add    %edx,%eax
  mov    %esi,0x58(%rsp)
  mov    0x3c(%rsp),%esi
  sar    %eax
  add    %eax,%ebx
  mov    %esi,0x40(%rsp)
  lea    -0x1(%rbx),%eax
  mov    %ebx,0x28(%rsp)
  mov    %eax,0x70(%rsp)
  cmp    %ecx,%eax
  je     L158
L50:
  mov    0x1c(%rsp),%esi
  mov    0x28(%rsp),%edx
  mov    %rdi,%r11
  mov    0x58(%rsp),%ebx
  sub    %esi,%edx
  mov    %esi,0x10(%rsp)
  mov    %esi,%ecx
  mov    %edx,%eax
  mov    %ebx,0x84(%rsp)
  add    %ebx,%ebx
  shr    $0x1f,%eax
  mov    %ebx,0x58(%rsp)
  add    %edx,%eax
  mov    %ebx,0x5c(%rsp)
  mov    0x40(%rsp),%ebx
  sar    %eax
  add    %eax,%esi
  mov    %ebx,0x44(%rsp)
  lea    -0x1(%rsi),%eax
  mov    %esi,0x1c(%rsp)
  mov    %eax,0x68(%rsp)
  cmp    %ecx,%eax
  je     L113
L119:
  mov    0x10(%rsp),%ecx
  mov    0x1c(%rsp),%edx
  mov    0x5c(%rsp),%r10d
  sub    %ecx,%edx
  mov    %ecx,%r9d
  mov    %edx,%eax
  mov    %r10d,0x80(%rsp)
  add    %r10d,%r10d
  shr    $0x1f,%eax
  mov    %r10d,0x5c(%rsp)
  add    %edx,%eax
  sar    %eax
  add    %eax,%ecx
  lea    -0x1(%rcx),%eax
  mov    %ecx,0x10(%rsp)
  mov    0x44(%rsp),%ecx
  mov    %eax,0x24(%rsp)
  mov    %ecx,0x8(%rsp)
  cmp    %r9d,%eax
  je     L100
  mov    %r11,%rdi
  mov    %r10d,%r11d
  mov    %r9d,%r10d
L92:
  mov    0x10(%rsp),%edx
  mov    %r10d,%r14d
  mov    %r11d,0x18(%rsp)
  add    %r11d,%r11d
  mov    %r11d,0x14(%rsp)
  mov    0x8(%rsp),%r9d
  sub    %r10d,%edx
  mov    %edx,%eax
  shr    $0x1f,%eax
  add    %edx,%eax
  sar    %eax
  add    %eax,%r10d
  lea    -0x1(%r10),%eax
  mov    %eax,0xc(%rsp)
  cmp    %r14d,%eax
  je     L41
  mov    %r11d,0x2c(%rsp)
  mov    %r10d,%r15d
  mov    %r14d,%r11d
  mov    %r9d,%r10d
L16:
  mov    %r15d,%edx
  mov    0x14(%rsp),%esi
  mov    %r11d,%r14d
  mov    %r10d,0x20(%rsp)
  sub    %r11d,%edx
  mov    %edx,%eax
  mov    %esi,0x4c(%rsp)
  add    %esi,%esi
  shr    $0x1f,%eax
  mov    %esi,0x14(%rsp)
  add    %edx,%eax
  mov    %esi,0x48(%rsp)
  sar    %eax
  add    %eax,%r11d
  lea    -0x1(%r11),%eax
  mov    %eax,0x64(%rsp)
  cmp    %r14d,%eax
  je     L107
  mov    %r10d,0x30(%rsp)
  mov    %r15d,%r10d
L105:
  mov    %r11d,%edx
  mov    0x48(%rsp),%r12d
  mov    %r14d,%ebx
  mov    0x20(%rsp),%r13d
  sub    %r14d,%edx
  mov    %edx,%eax
  mov    %r12d,0x88(%rsp)
  add    %r12d,%r12d
  shr    $0x1f,%eax
  mov    %r12d,0x48(%rsp)
  add    %edx,%eax
  sar    %eax
  add    %eax,%r14d
  lea    -0x1(%r14),%eax
  mov    %eax,0x34(%rsp)
  cmp    %ebx,%eax
  je     L156
  mov    %r14d,%eax
  mov    %r10d,%r14d
  mov    %eax,%r10d
L66:
  mov    %r10d,%edx
  mov    %ebx,%r15d
  mov    %r12d,%r9d
  add    %r12d,%r12d
  sub    %ebx,%edx
  mov    %r12d,%r8d
  mov    %edx,%eax
  shr    $0x1f,%eax
  add    %edx,%eax
  sar    %eax
  add    %eax,%ebx
  mov    %r13d,%eax
  lea    -0x1(%rbx),%ebp
  cmp    %r15d,%ebp
  je     L56
L54:
  mov    %ebx,%ecx
  mov    %r15d,%esi
  mov    %r8d,0x8c(%rsp)
  add    %r8d,%r8d
  sub    %r15d,%ecx
  mov    %r9d,0xac(%rsp)
  mov    %ecx,%edx
  mov    %r10d,0xa8(%rsp)
  shr    $0x1f,%edx
  mov    %r11d,0xa4(%rsp)
  add    %ecx,%edx
  mov    %eax,%ecx
  mov    %r8d,0xa0(%rsp)
  sar    %edx
  mov    %eax,0x9c(%rsp)
  add    %edx,%r15d
  mov    %rdi,0x90(%rsp)
  mov    %r15d,%edx
  call   <fill>
  mov    0x9c(%rsp),%eax
  add    0x8c(%rsp),%eax
  cmp    %ebp,%r15d
  mov    0x90(%rsp),%rdi
  mov    0xa0(%rsp),%r8d
  mov    0xa4(%rsp),%r11d
  mov    0xa8(%rsp),%r10d
  mov    0xac(%rsp),%r9d
  jne    L54
L56:
  movslq %ebp,%rbp
  add    %r9d,%r13d
  mov    %eax,(%rdi,%rbp,4)
  cmp    0x34(%rsp),%ebx
  jne    L66
  mov    %r10d,%eax
  mov    %r14d,%r10d
  mov    %eax,%r14d
L156:
  movslq %ebx,%rbx
  mov    0x88(%rsp),%ecx
  add    %ecx,0x20(%rsp)
  mov    %r13d,(%rdi,%rbx,4)
  cmp    0x64(%rsp),%r14d
  jne    L105
  mov    %r10d,%r15d
  mov    0x30(%rsp),%r10d
L107:
  mov    0x20(%rsp),%ecx
  movslq %r14d,%rax
  add    0x4c(%rsp),%r10d
  mov    %ecx,(%rdi,%rax,4)
  cmp    0xc(%rsp),%r11d
  jne    L16
  mov    0x2c(%rsp),%r11d
  mov    %r10d,%r9d
  mov    %r15d,%r10d
L41:
  movslq 0xc(%rsp),%rax
  mov    0x18(%rsp),%ecx
  add    %ecx,0x8(%rsp)
  mov    %r9d,(%rdi,%rax,4)
  cmp    0x24(%rsp),%r10d
  jne    L92
  mov    %rdi,%r11
L100:
  mov    0x8(%rsp),%ecx
  movslq 0x24(%rsp),%rax
  mov    %ecx,(%r11,%rax,4)
  mov    0x80(%rsp),%ecx
  add    %ecx,0x44(%rsp)
  mov    0x68(%rsp),%ecx
  cmp    %ecx,0x10(%rsp)
  jne    L119
  mov    %r11,%rdi
L113:
  mov    0x44(%rsp),%ecx
  movslq 0x68(%rsp),%rax
  mov    %ecx,(%rdi,%rax,4)
  mov    0x84(%rsp),%ecx
  add    %ecx,0x40(%rsp)
  mov    0x70(%rsp),%ecx
  cmp    %ecx,0x1c(%rsp)
  jne    L50
L158:
  mov    0x40(%rsp),%ecx
  movslq 0x1c(%rsp),%rax
  mov    %ecx,(%rdi,%rax,4)
  mov    0x78(%rsp),%ecx
  add    %ecx,0x3c(%rsp)
  mov    0x74(%rsp),%ecx
  cmp    %ecx,0x28(%rsp)
  jne    L172
L70:
  mov    0x3c(%rsp),%ecx
  movslq 0x28(%rsp),%rax
  mov    %ecx,(%rdi,%rax,4)
  mov    0x7c(%rsp),%ecx
  add    %ecx,0x50(%rsp)
  mov    0x60(%rsp),%ecx
  cmp    %ecx,0x38(%rsp)
  jne    L94
L148:
  movslq 0x60(%rsp),%rax
  mov    0x50(%rsp),%ecx
  mov    %ecx,(%rdi,%rax,4)
  add    $0xb8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void fill(int *data, int start, int end, int num, int incNum) {
  if (start == end - 1) {
    data[start] = num;
    return;
  }
  fill(data, start, start + (end - start) / 2, num, 2 * incNum);
  fill(data, start + (end - start) / 2, end, num + incNum, 2 * incNum);
}
```