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

```asm
<internal_fiat_p384_selectznz>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  mov    %rcx,%rbp
  push   %rbx
  mov    %rdi,%rbx
  mov    %edx,%edi
  sub    $0x48,%rsp
  mov    %rsi,0x38(%rsp)
  mov    $0x8,%esi
  call   <_br2_load@plt>
  lea    0x8(%r12),%edi
  mov    $0x8,%esi
  mov    %rax,%r15
  call   <_br2_load@plt>
  lea    0x10(%r12),%edi
  mov    $0x8,%esi
  mov    %rax,0x30(%rsp)
  call   <_br2_load@plt>
  lea    0x18(%r12),%edi
  mov    $0x8,%esi
  mov    %rax,0x28(%rsp)
  call   <_br2_load@plt>
  lea    0x20(%r12),%edi
  mov    $0x8,%esi
  mov    %rax,0x20(%rsp)
  call   <_br2_load@plt>
  lea    0x28(%r12),%edi
  mov    $0x8,%esi
  mov    %rax,0x18(%rsp)
  call   <_br2_load@plt>
  mov    %ebp,%edi
  mov    $0x8,%esi
  mov    %rax,0x10(%rsp)
  call   <_br2_load@plt>
  lea    0x8(%rbp),%edi
  mov    $0x8,%esi
  mov    %rax,(%rsp)
  call   <_br2_load@plt>
  lea    0x10(%rbp),%edi
  mov    $0x8,%esi
  mov    %rax,%r14
  call   <_br2_load@plt>
  lea    0x18(%rbp),%edi
  mov    $0x8,%esi
  mov    %rax,%r13
  call   <_br2_load@plt>
  lea    0x20(%rbp),%edi
  mov    $0x8,%esi
  mov    %rax,%r12
  call   <_br2_load@plt>
  lea    0x28(%rbp),%edi
  mov    $0x8,%esi
  mov    %rax,0x8(%rsp)
  call   <_br2_load@plt>
  mov    0x38(%rsp),%r8
  mov    0x30(%rsp),%r10
  mov    0x18(%rsp),%rdx
  mov    (%rsp),%rsi
  mov    %rax,%rbp
  neg    %r8
  mov    0x8(%rsp),%r8
  mov    0x28(%rsp),%r9
  mov    0x20(%rsp),%rcx
  mov    0x10(%rsp),%r11
  sbb    %rdi,%rdi
  xor    %r10,%r14
  xor    %rdx,%r8
  xor    %r15,%rsi
  xor    %r9,%r13
  and    %rdi,%r14
  xor    %rcx,%r12
  xor    %r11,%rbp
  and    %rdi,%r8
  and    %rdi,%rsi
  xor    %r10,%r14
  xor    %rdx,%r8
  xor    %r15,%rsi
  and    %rdi,%r13
  and    %rdi,%r12
  and    %rdi,%rbp
  mov    $0x8,%edx
  mov    %ebx,%edi
  xor    %r9,%r13
  xor    %rcx,%r12
  xor    %r11,%rbp
  mov    %r8,0x8(%rsp)
  call   <_br2_store@plt>
  lea    0x8(%rbx),%edi
  mov    %r14,%rsi
  mov    $0x8,%edx
  call   <_br2_store@plt>
  lea    0x10(%rbx),%edi
  mov    %r13,%rsi
  mov    $0x8,%edx
  call   <_br2_store@plt>
  lea    0x18(%rbx),%edi
  mov    %r12,%rsi
  mov    $0x8,%edx
  call   <_br2_store@plt>
  mov    0x8(%rsp),%rsi
  lea    0x20(%rbx),%edi
  mov    $0x8,%edx
  call   <_br2_store@plt>
  add    $0x48,%rsp
  lea    0x28(%rbx),%edi
  mov    %rbp,%rsi
  pop    %rbx
  mov    $0x8,%edx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1060 <_br2_store@plt>
```

assistant: ```c
void internal_fiat_p384_selectznz(uintptr_t out0, uintptr_t in0, uintptr_t in1, uintptr_t in2) {
  uintptr_t x6, x12, x0, x13, x7, x15, x1, x16, x8, x18, x2, x19, x9, x21, x3, x22, x10, x24, x4, x25, x11, x27, x5, x28, x14, x17, x20, x23, x26, x29, x30, x31, x32, x33, x34, x35;
  x0 = _br2_load((in1) + ((uintptr_t)0ULL), sizeof(uintptr_t));
  x1 = _br2_load((in1) + ((uintptr_t)8ULL), sizeof(uintptr_t));
  x2 = _br2_load((in1) + ((uintptr_t)16ULL), sizeof(uintptr_t));
  x3 = _br2_load((in1) + ((uintptr_t)24ULL), sizeof(uintptr_t));
  x4 = _br2_load((in1) + ((uintptr_t)32ULL), sizeof(uintptr_t));
  x5 = _br2_load((in1) + ((uintptr_t)40ULL), sizeof(uintptr_t));
  x6 = _br2_load((in2) + ((uintptr_t)0ULL), sizeof(uintptr_t));
  x7 = _br2_load((in2) + ((uintptr_t)8ULL), sizeof(uintptr_t));
  x8 = _br2_load((in2) + ((uintptr_t)16ULL), sizeof(uintptr_t));
  x9 = _br2_load((in2) + ((uintptr_t)24ULL), sizeof(uintptr_t));
  x10 = _br2_load((in2) + ((uintptr_t)32ULL), sizeof(uintptr_t));
  x11 = _br2_load((in2) + ((uintptr_t)40ULL), sizeof(uintptr_t));
  x12 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x13 = (x12) ^ ((uintptr_t)18446744073709551615ULL);
  x14 = ((x6) & (x12)) | ((x0) & (x13));
  x15 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x16 = (x15) ^ ((uintptr_t)18446744073709551615ULL);
  x17 = ((x7) & (x15)) | ((x1) & (x16));
  x18 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x19 = (x18) ^ ((uintptr_t)18446744073709551615ULL);
  x20 = ((x8) & (x18)) | ((x2) & (x19));
  x21 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x22 = (x21) ^ ((uintptr_t)18446744073709551615ULL);
  x23 = ((x9) & (x21)) | ((x3) & (x22));
  x24 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x25 = (x24) ^ ((uintptr_t)18446744073709551615ULL);
  x26 = ((x10) & (x24)) | ((x4) & (x25));
  x27 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x28 = (x27) ^ ((uintptr_t)18446744073709551615ULL);
  x29 = ((x11) & (x27)) | ((x5) & (x28));
  x30 = x14;
  x31 = x17;
  x32 = x20;
  x33 = x23;
  x34 = x26;
  x35 = x29;
  _br2_store((out0) + ((uintptr_t)0ULL), x30, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)8ULL), x31, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)16ULL), x32, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)24ULL), x33, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)32ULL), x34, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)40ULL), x35, sizeof(uintptr_t));
  return;
}
```