user: 请从给定的汇编指令推导出C源代码:

```asm
<PreOrderGoster>:
  endbr64
  cmp    %edx,%edi
  jge    L171
  push   %r15
  push   %r14
  mov    %rsi,%r14
  push   %r13
  lea    D0(%rip),%r13
  push   %r12
  push   %rbp
  mov    %edi,%ebp
  push   %rbx
  mov    %edx,%ebx
  sub    $0x28,%rsp
L214:
  movslq %ebp,%rax
  mov    (%r14,%rax,4),%esi
  cmp    $0xffffffff,%esi
  je     L45
  mov    %r13,%rdi
  call   <printf@plt>
L45:
  lea    0x0(%rbp,%rbp,1),%eax
  lea    0x1(%rax),%ebp
  mov    %eax,0x8(%rsp)
  cmp    %ebx,%ebp
  jge    L107
L144:
  movslq %ebp,%rax
  mov    (%r14,%rax,4),%esi
  cmp    $0xffffffff,%esi
  je     L24
  mov    %r13,%rdi
  call   <printf@plt>
L24:
  lea    0x0(%rbp,%rbp,1),%eax
  lea    0x1(%rax),%ebp
  mov    %eax,0xc(%rsp)
  cmp    %ebp,%ebx
  jle    L236
L55:
  movslq %ebp,%rax
  mov    (%r14,%rax,4),%esi
  cmp    $0xffffffff,%esi
  je     L51
  mov    %r13,%rdi
  call   <printf@plt>
L51:
  lea    0x0(%rbp,%rbp,1),%eax
  lea    0x1(%rax),%ebp
  mov    %eax,0x10(%rsp)
  cmp    %ebp,%ebx
  jle    L215
L73:
  movslq %ebp,%rax
  mov    (%r14,%rax,4),%esi
  cmp    $0xffffffff,%esi
  je     L225
  mov    %r13,%rdi
  call   <printf@plt>
L225:
  lea    0x0(%rbp,%rbp,1),%eax
  lea    0x1(%rax),%ebp
  mov    %eax,0x14(%rsp)
  cmp    %ebp,%ebx
  jle    L221
L4:
  movslq %ebp,%rax
  mov    (%r14,%rax,4),%esi
  cmp    $0xffffffff,%esi
  je     L79
  mov    %r13,%rdi
  call   <printf@plt>
L79:
  add    %ebp,%ebp
  lea    0x1(%rbp),%r12d
  cmp    %r12d,%ebx
  jle    L173
L176:
  movslq %r12d,%rax
  mov    (%r14,%rax,4),%esi
  cmp    $0xffffffff,%esi
  je     L192
  mov    %r13,%rdi
  call   <printf@plt>
L192:
  add    %r12d,%r12d
  lea    0x1(%r12),%r15d
  cmp    %r15d,%ebx
  jle    L168
L140:
  movslq %r15d,%rax
  mov    (%r14,%rax,4),%esi
  cmp    $0xffffffff,%esi
  je     L164
  mov    %r13,%rdi
  call   <printf@plt>
L164:
  lea    (%r15,%r15,1),%eax
  lea    0x1(%rax),%r15d
  mov    %eax,0x18(%rsp)
  cmp    %r15d,%ebx
  jle    L208
L113:
  movslq %r15d,%rax
  mov    (%r14,%rax,4),%esi
  cmp    $0xffffffff,%esi
  je     L61
  mov    %r13,%rdi
  call   <printf@plt>
L61:
  add    %r15d,%r15d
  lea    0x1(%r15),%edx
  cmp    %edx,%ebx
  jle    L219
L13:
  movslq %edx,%rax
  mov    (%r14,%rax,4),%esi
  cmp    $0xffffffff,%esi
  je     L265
  mov    %r13,%rdi
  mov    %edx,0x1c(%rsp)
  call   <printf@plt>
  mov    0x1c(%rsp),%edx
L265:
  lea    (%rdx,%rdx,1),%eax
  mov    %r14,%rsi
  mov    %ebx,%edx
  lea    0x1(%rax),%edi
  mov    %eax,0x1c(%rsp)
  call   <PreOrderGoster>
  mov    0x1c(%rsp),%eax
  lea    0x2(%rax),%edx
  cmp    %edx,%ebx
  jg     L13
L219:
  add    $0x2,%r15d
  cmp    %r15d,%ebx
  jg     L113
L208:
  mov    0x18(%rsp),%r15d
  add    $0x2,%r15d
  cmp    %r15d,%ebx
  jg     L140
L168:
  add    $0x2,%r12d
  cmp    %r12d,%ebx
  jg     L176
L173:
  add    $0x2,%ebp
  cmp    %ebp,%ebx
  jg     L4
L221:
  mov    0x14(%rsp),%ebp
  add    $0x2,%ebp
  cmp    %ebp,%ebx
  jg     L73
L215:
  mov    0x10(%rsp),%ebp
  add    $0x2,%ebp
  cmp    %ebp,%ebx
  jg     L55
L236:
  mov    0xc(%rsp),%ebp
  add    $0x2,%ebp
  cmp    %ebp,%ebx
  jg     L144
L107:
  mov    0x8(%rsp),%ebp
  add    $0x2,%ebp
  cmp    %ebx,%ebp
  jl     L214
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L171:
  ret
```

tool_calls: name: retrieve_data
arguments: label: D0
datatype: string

tool: D0: %d  

assistant: ```c
void PreOrderGoster(int node, int *BST, int elemanSayisi) {
  if (node < elemanSayisi) {
    if (BST[node] != -1)
      printf("%d  ", BST[node]);
    PreOrderGoster(2 * node + 1, BST, elemanSayisi);
    PreOrderGoster(2 * node + 2, BST, elemanSayisi);
  }
}
```