user: What would the C source look like for the assembly code provided here:

```asm
<delete>:
  endbr64
  cmp    %rdx,%rdi
  jae    L112
  push   %r15
  push   %r14
  mov    %rdi,%r14
  push   %r13
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  sub    $0x38,%rsp
  cmp    $0x1,%rdi
  jbe    L240
L74:
  mov    %r14,%rax
  shr    %rax
  mov    0x0(%rbp,%rax,4),%eax
  mov    %eax,0x0(%rbp,%r14,4)
  add    %r14,%r14
  cmp    %r12,%r14
  jae    L154
  cmp    $0x1,%r14
  jbe    L154
  mov    %r14,%r15
L143:
  mov    %r15,%rax
  shr    %rax
  mov    0x0(%rbp,%rax,4),%eax
  mov    %eax,0x0(%rbp,%r15,4)
  add    %r15,%r15
  cmp    $0x1,%r15
  jbe    L186
  cmp    %r15,%r12
  jbe    L186
  mov    %r15,%rcx
L330:
  mov    %rcx,%rax
  shr    %rax
  mov    0x0(%rbp,%rax,4),%eax
  mov    %eax,0x0(%rbp,%rcx,4)
  add    %rcx,%rcx
  cmp    %rcx,%r12
  jbe    L318
  cmp    $0x1,%rcx
  jbe    L318
  mov    %rcx,%r8
L267:
  mov    %r8,%rax
  shr    %rax
  mov    0x0(%rbp,%rax,4),%eax
  mov    %eax,0x0(%rbp,%r8,4)
  add    %r8,%r8
  cmp    %r8,%r12
  jbe    L198
  cmp    $0x1,%r8
  jbe    L198
  mov    %r8,%rax
L316:
  mov    %rax,%rdx
  shr    %rdx
  mov    0x0(%rbp,%rdx,4),%edx
  mov    %edx,0x0(%rbp,%rax,4)
  add    %rax,%rax
  cmp    $0x1,%rax
  jbe    L182
  cmp    %rax,%r12
  jbe    L182
  mov    %rax,%rdx
L237:
  mov    %rdx,%rsi
  lea    (%rdx,%rdx,1),%r13
  shr    %rsi
  mov    0x0(%rbp,%rsi,4),%esi
  mov    %esi,0x0(%rbp,%rdx,4)
  cmp    $0x1,%r13
  jbe    L219
  cmp    %r13,%r12
  jbe    L219
  mov    %r13,%rdx
L88:
  mov    %rdx,%rsi
  lea    (%rdx,%rdx,1),%r9
  shr    %rsi
  mov    0x0(%rbp,%rsi,4),%esi
  mov    %esi,0x0(%rbp,%rdx,4)
  cmp    $0x1,%r9
  jbe    L249
  cmp    %r9,%r12
  jbe    L249
  mov    %r9,%rdx
L172:
  mov    %rdx,%rsi
  lea    (%rdx,%rdx,1),%rbx
  shr    %rsi
  mov    0x0(%rbp,%rsi,4),%esi
  mov    %esi,0x0(%rbp,%rdx,4)
  cmp    $0x1,%rbx
  jbe    L77
  cmp    %rbx,%r12
  jbe    L77
  mov    %rbx,%rdx
L27:
  mov    %rdx,%rsi
  lea    (%rdx,%rdx,1),%rdi
  mov    %r9,0x28(%rsp)
  shr    %rsi
  mov    %rax,0x20(%rsp)
  mov    0x0(%rbp,%rsi,4),%esi
  mov    %r8,0x18(%rsp)
  mov    %rcx,0x10(%rsp)
  mov    %esi,0x0(%rbp,%rdx,4)
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rdi,0x8(%rsp)
  call   <delete>
  mov    0x8(%rsp),%rdi
  mov    0x10(%rsp),%rcx
  mov    0x18(%rsp),%r8
  mov    0x20(%rsp),%rax
  lea    0x1(%rdi),%rdx
  mov    0x28(%rsp),%r9
  cmp    $0x1,%rdx
  jbe    L77
  cmp    %rdx,%r12
  ja     L27
L77:
  lea    0x1(%rbx),%rdx
  cmp    $0x1,%rdx
  jbe    L249
  cmp    %rdx,%r12
  ja     L172
L249:
  lea    0x1(%r9),%rdx
  cmp    $0x1,%rdx
  jbe    L219
  cmp    %rdx,%r12
  ja     L88
L219:
  lea    0x1(%r13),%rdx
  cmp    $0x1,%rdx
  jbe    L182
  cmp    %rdx,%r12
  ja     L237
L182:
  add    $0x1,%rax
  cmp    $0x1,%rax
  jbe    L198
  cmp    %rax,%r12
  ja     L316
L198:
  add    $0x1,%r8
  cmp    $0x1,%r8
  jbe    L318
  cmp    %r8,%r12
  ja     L267
L318:
  add    $0x1,%rcx
  cmp    $0x1,%rcx
  jbe    L186
  cmp    %rcx,%r12
  ja     L330
L186:
  add    $0x1,%r15
  cmp    $0x1,%r15
  jbe    L154
  cmp    %r15,%r12
  ja     L143
L154:
  add    $0x1,%r14
  cmp    $0x1,%r14
  jbe    L240
  cmp    %r12,%r14
  jb     L74
L240:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L112:
  ret
```

assistant: ```c
void delete (size_t pos, int *base, size_t nmemb) {
  if (pos > 1 && pos < nmemb) {
    base[pos] = base[pos >> 1];
    delete (pos << 1, base, nmemb);
    delete ((pos << 1) + 1, base, nmemb);
  }
}
```