user: Please show me the C implementation that matches the assembly code listed below:

```asm
<biSearch>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,-0x1c(%rbp)
  mov    %edx,-0x20(%rbp)
  mov    %ecx,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x1c(%rbp),%eax
  cmp    -0x20(%rbp),%eax
  setg   %dl
  mov    -0x1c(%rbp),%eax
  cmp    -0x20(%rbp),%eax
  sete   %al
  or     %edx,%eax
  test   %al,%al
  je     L12
  mov    -0x24(%rbp),%eax
  mov    %eax,%esi
  lea    D6(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L36
L12:
  mov    -0x20(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0xc(%rbp)
  jne    L17
  lea    D9(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x20(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x4(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%ecx
  mov    -0x4(%rbp),%edx
  mov    -0x8(%rbp),%esi
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <biSearch>
  jmp    L36
L17:
  mov    -0x20(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0xc(%rbp)
  jge    L26
  mov    -0x20(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x8(%rbp)
  mov    -0x20(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  mov    -0xc(%rbp),%ecx
  mov    -0x4(%rbp),%edx
  mov    -0x8(%rbp),%esi
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <biSearch>
  jmp    L36
L26:
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x20(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0xc(%rbp),%ecx
  mov    -0x4(%rbp),%edx
  mov    -0x8(%rbp),%esi
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <biSearch>
L36:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D6
datatype: string
name: unpack_data
arguments: data_label: D9
datatype: string

tool: D6: not find %d


tool: D9: good luck!

assistant: ```c
void biSearch(int *raw, int l, int u, int findValue) {
  int temp = findValue;
  int left, right;
  if (l > u | l == u) {
    printf("not find %d\n", findValue);
    return;
  }
  if (temp == raw[u / 2]) {
    printf("good luck!");
    left = l;
    right = u / 2;
    temp = (raw[left] + raw[right - 1]) / 2;
    biSearch(raw, left, right, temp);
  } else if (temp < raw[u / 2]) {
    left = u / 2;
    right = u;
    biSearch(raw, left, right, temp);
  } else {
    left = l;
    right = u / 2;
    biSearch(raw, left, right, temp);
  }
}
```