user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<branchfree_search8>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,-0x8(%rsp)
  mov    %r9d,-0x10(%rsp)
  test   %rsi,%rsi
  je     L15
  mov    %rdi,%rbp
  mov    %edx,%r13d
  mov    %ecx,%r14d
  cmp    $0x1,%rsi
  jbe    L31
  mov    %rdi,%rdx
  mov    %rdi,%rcx
  mov    %rdi,%r9
  mov    %rdi,%r10
  mov    %rdi,%r11
  mov    %rdi,%rbx
  mov    %r8d,-0xc(%rsp)
L20:
  mov    %rsi,%r12
  shr    %r12
  lea    0x0(,%r12,4),%rax
  lea    0x0(%rbp,%rax,1),%r15
  cmp    %r13d,(%r15)
  cmovl  %r15,%rbp
  lea    (%rbx,%rax,1),%r15
  cmp    %r14d,(%r15)
  cmovl  %r15,%rbx
  lea    (%r11,%rax,1),%r15
  mov    -0xc(%rsp),%r8d
  cmp    %r8d,(%r15)
  cmovl  %r15,%r11
  lea    (%r10,%rax,1),%r15
  mov    -0x10(%rsp),%r8d
  cmp    %r8d,(%r15)
  cmovl  %r15,%r10
  lea    (%r9,%rax,1),%r15
  mov    0x38(%rsp),%r8d
  cmp    %r8d,(%r15)
  cmovl  %r15,%r9
  lea    (%rdi,%rax,1),%r15
  mov    0x40(%rsp),%r8d
  cmp    %r8d,(%r15)
  cmovl  %r15,%rdi
  lea    (%rcx,%rax,1),%r15
  mov    0x48(%rsp),%r8d
  cmp    %r8d,(%r15)
  cmovl  %r15,%rcx
  add    %rdx,%rax
  mov    0x50(%rsp),%r8d
  cmp    %r8d,(%rax)
  cmovl  %rax,%rdx
  sub    %r12,%rsi
  cmp    $0x1,%rsi
  ja     L20
  mov    -0xc(%rsp),%r8d
L26:
  cmp    %r13d,0x0(%rbp)
  setl   %al
  movzbl %al,%eax
  lea    0x0(%rbp,%rax,4),%rax
  mov    -0x8(%rsp),%r15
  sub    %r15,%rax
  sar    $0x2,%rax
  mov    0x58(%rsp),%rsi
  mov    %rax,(%rsi)
  cmp    %r14d,(%rbx)
  setl   %al
  movzbl %al,%eax
  lea    (%rbx,%rax,4),%rax
  sub    %r15,%rax
  sar    $0x2,%rax
  mov    0x60(%rsp),%rsi
  mov    %rax,(%rsi)
  cmp    %r8d,(%r11)
  setl   %al
  movzbl %al,%eax
  lea    (%r11,%rax,4),%rax
  sub    %r15,%rax
  sar    $0x2,%rax
  mov    0x68(%rsp),%rsi
  mov    %rax,(%rsi)
  mov    -0x10(%rsp),%eax
  cmp    %eax,(%r10)
  setl   %al
  movzbl %al,%eax
  lea    (%r10,%rax,4),%rax
  sub    %r15,%rax
  sar    $0x2,%rax
  mov    0x70(%rsp),%rsi
  mov    %rax,(%rsi)
  mov    0x38(%rsp),%eax
  cmp    %eax,(%r9)
  setl   %al
  movzbl %al,%eax
  lea    (%r9,%rax,4),%rax
  sub    %r15,%rax
  sar    $0x2,%rax
  mov    0x78(%rsp),%rsi
  mov    %rax,(%rsi)
  mov    0x40(%rsp),%eax
  cmp    %eax,(%rdi)
  setl   %al
  movzbl %al,%eax
  lea    (%rdi,%rax,4),%rax
  sub    %r15,%rax
  sar    $0x2,%rax
  mov    0x80(%rsp),%rsi
  mov    %rax,(%rsi)
  mov    0x48(%rsp),%eax
  cmp    %eax,(%rcx)
  setl   %al
  movzbl %al,%eax
  lea    (%rcx,%rax,4),%rax
  sub    %r15,%rax
  sar    $0x2,%rax
  mov    0x88(%rsp),%rcx
  mov    %rax,(%rcx)
  mov    0x50(%rsp),%eax
  cmp    %eax,(%rdx)
  setl   %al
  movzbl %al,%eax
  lea    (%rdx,%rax,4),%rax
  sub    %r15,%rax
  sar    $0x2,%rax
  mov    0x90(%rsp),%rdx
  mov    %rax,(%rdx)
L15:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L31:
  mov    -0x8(%rsp),%rbp
  mov    %rbp,%rdx
  mov    %rbp,%rcx
  mov    %rbp,%rdi
  mov    %rbp,%r9
  mov    %rbp,%r10
  mov    %rbp,%r11
  mov    %rbp,%rbx
  jmp    L26
```

assistant: ```c
void branchfree_search8(int *source, size_t n, int target1, int target2, int target3, int target4, int target5, int target6, int target7, int target8, size_t *index1, size_t *index2, size_t *index3, size_t *index4, size_t *index5, size_t *index6, size_t *index7, size_t *index8) {
  int *base1 = source;
  int *base2 = source;
  int *base3 = source;
  int *base4 = source;
  int *base5 = source;
  int *base6 = source;
  int *base7 = source;
  int *base8 = source;
  if (n == 0)
    return;
  while (n > 1) {
    size_t half = n >> 1;
    base1 = (base1[half] < target1) ? &base1[half] : base1;
    base2 = (base2[half] < target2) ? &base2[half] : base2;
    base3 = (base3[half] < target3) ? &base3[half] : base3;
    base4 = (base4[half] < target4) ? &base4[half] : base4;
    base5 = (base5[half] < target5) ? &base5[half] : base5;
    base6 = (base6[half] < target6) ? &base6[half] : base6;
    base7 = (base7[half] < target7) ? &base7[half] : base7;
    base8 = (base8[half] < target8) ? &base8[half] : base8;
    n -= half;
  }
  *index1 = (*base1 < target1) + base1 - source;
  *index2 = (*base2 < target2) + base2 - source;
  *index3 = (*base3 < target3) + base3 - source;
  *index4 = (*base4 < target4) + base4 - source;
  *index5 = (*base5 < target5) + base5 - source;
  *index6 = (*base6 < target6) + base6 - source;
  *index7 = (*base7 < target7) + base7 - source;
  *index8 = (*base8 < target8) + base8 - source;
}
```