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

```asm
<FindMedian>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %edx,0x14(%rsp)
  cmp    %edx,%esi
  jge    L146
  mov    %ecx,%edx
  mov    %ecx,%eax
  mov    %rdi,%r15
  mov    %esi,%r14d
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,0x1c(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x18(%rsp)
  nopw   0x0(%rax,%rax,1)
L144:
  mov    0x14(%rsp),%r13d
  mov    %r14d,%esi
  mov    %r15,%rdi
  mov    %r14d,%ebp
  mov    %r13d,%edx
  call   <PivotChoose2@plt>
  cltq
  lea    (%r15,%rax,4),%rax
  mov    %rax,(%rsp)
  movslq %r14d,%rax
  mov    %rax,0x8(%rsp)
  nopl   0x0(%rax,%rax,1)
L85:
  mov    0x8(%rsp),%rax
  lea    (%r15,%rax,4),%r12
  cmp    0x14(%rsp),%ebp
  jge    L98
L48:
  mov    (%rsp),%rax
  mov    (%rax),%eax
  cmp    %eax,(%r12)
  jg     L98
  add    $0x1,%ebp
  movslq %ebp,%rax
  mov    %rax,0x8(%rsp)
  mov    0x8(%rsp),%rax
  lea    (%r15,%rax,4),%r12
  cmp    0x14(%rsp),%ebp
  jl     L48
  nopl   (%rax)
L98:
  cmp    %r14d,%r13d
  jle    L122
  mov    (%rsp),%rax
  movslq %r13d,%rsi
  lea    (%r15,%rsi,4),%rbx
  mov    (%rax),%eax
  jmp    L75
L110:
  sub    $0x1,%r13d
  sub    $0x4,%rbx
  cmp    %r14d,%r13d
  je     L122
L75:
  cmp    %eax,(%rbx)
  jg     L110
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <Swap@plt>
  cmp    %r13d,%ebp
  jl     L85
L84:
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <Swap@plt>
  mov    (%rsp),%rdi
  mov    %rbx,%rsi
  call   <Swap@plt>
  cmp    %r13d,0x18(%rsp)
  je     L82
  cmp    %r13d,0x1c(%rsp)
  jg     L69
  lea    -0x1(%r13),%eax
  mov    %eax,0x14(%rsp)
L1:
  cmp    %r14d,0x14(%rsp)
  jg     L144
L146:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L122:
  movslq %r13d,%rax
  mov    %r12,%rdi
  lea    (%r15,%rax,4),%rbx
  mov    %rbx,%rsi
  call   <Swap@plt>
  cmp    %r13d,%ebp
  jl     L85
  jmp    L84
L69:
  cmp    %r13d,0x18(%rsp)
  jle    L146
  lea    0x1(%r13),%r14d
  jmp    L1
L82:
  lea    D8(%rip),%rdi
  call   <puts@plt>
  mov    (%rbx),%esi
  lea    D13(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x18(%rsp),%esi
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  lea    D1(%rip),%rdi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10a0 <printf@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D8
data_type: string
name: extract_symbolic_data
arguments: data_label: D13
data_type: string
name: extract_symbolic_data
arguments: data_label: D1
data_type: string

tool: D8: 


tool: D13: Medyan: %d 


tool: D1: Medyan adresi: %d


assistant: ```c
void FindMedian(int dizi[], int l, int r, int elemanSayisi) {
  int pivotAddress;
  int i = l;
  int j = r;
  if (l < r) {
    pivotAddress = PivotChoose2(dizi, l, r);
    do {
      while ((i < r) && (dizi[i] <= dizi[pivotAddress]))
        i++;
      while ((j > l) && (dizi[j] > dizi[pivotAddress]))
        j--;
      Swap(&dizi[i], &dizi[j]);
    } while (i < j);
    Swap(&dizi[i], &dizi[j]);
    Swap(&dizi[pivotAddress], &dizi[j]);
    pivotAddress = j;
    if (pivotAddress == elemanSayisi / 2 - 1) {
      printf("\n\n");
      printf("Medyan: %d \n", dizi[pivotAddress]);
      printf("Medyan adresi: %d\n", pivotAddress);
    } else if (pivotAddress > elemanSayisi / 2 - 1) {
      FindMedian(dizi, l, pivotAddress - 1, elemanSayisi);
    } else if (pivotAddress < elemanSayisi / 2 - 1) {
      FindMedian(dizi, pivotAddress + 1, r, elemanSayisi);
    }
  }
}
```