#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef uintptr_t x9;
typedef uintptr_t x8;
typedef uintptr_t x7;
typedef uintptr_t x6;
typedef uintptr_t x5;
typedef uintptr_t x4;
typedef uintptr_t x3;
typedef uintptr_t x2;
typedef uintptr_t x11;
typedef uintptr_t x10;
typedef uintptr_t x1;
typedef uintptr_t x0;
typedef int /*<<< orphan*/ out0;
typedef int /*<<< orphan*/ in2;
typedef int /*<<< orphan*/ in1;

/* Variables and functions */
uintptr_t _br2_load(int /*<<< orphan*/, int);
int /*<<< orphan*/ _br2_store(int /*<<< orphan*/, uintptr_t, int);
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;
}


x86 assembly (clang, -O0):
<internal_fiat_p384_selectznz>:
push   %rbp
mov    %rsp,%rbp
sub    $0x140,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x18(%rbp),%rax
add    $0x0,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x38(%rbp)
mov    -0x18(%rbp),%rax
add    $0x8,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x58(%rbp)
mov    -0x18(%rbp),%rax
add    $0x10,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x78(%rbp)
mov    -0x18(%rbp),%rax
add    $0x18,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x98(%rbp)
mov    -0x18(%rbp),%rax
add    $0x20,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0xb8(%rbp)
mov    -0x18(%rbp),%rax
add    $0x28,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0xd8(%rbp)
mov    -0x20(%rbp),%rax
add    $0x0,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x28(%rbp)
mov    -0x20(%rbp),%rax
add    $0x8,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x48(%rbp)
mov    -0x20(%rbp),%rax
add    $0x10,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x68(%rbp)
mov    -0x20(%rbp),%rax
add    $0x18,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x88(%rbp)
mov    -0x20(%rbp),%rax
add    $0x20,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0xa8(%rbp)
mov    -0x20(%rbp),%rax
add    $0x28,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0xc8(%rbp)
cmpq   $0x0,-0x10(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%eax
cltq
add    $0xffffffffffffffff,%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
xor    $0xffffffffffffffff,%rax
mov    %rax,-0x40(%rbp)
mov    -0x28(%rbp),%rax
and    -0x30(%rbp),%rax
mov    -0x38(%rbp),%rcx
and    -0x40(%rbp),%rcx
or     %rcx,%rax
mov    %rax,-0xe8(%rbp)
cmpq   $0x0,-0x10(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%eax
cltq
add    $0xffffffffffffffff,%rax
mov    %rax,-0x50(%rbp)
mov    -0x50(%rbp),%rax
xor    $0xffffffffffffffff,%rax
mov    %rax,-0x60(%rbp)
mov    -0x48(%rbp),%rax
and    -0x50(%rbp),%rax
mov    -0x58(%rbp),%rcx
and    -0x60(%rbp),%rcx
or     %rcx,%rax
mov    %rax,-0xf0(%rbp)
cmpq   $0x0,-0x10(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%eax
cltq
add    $0xffffffffffffffff,%rax
mov    %rax,-0x70(%rbp)
mov    -0x70(%rbp),%rax
xor    $0xffffffffffffffff,%rax
mov    %rax,-0x80(%rbp)
mov    -0x68(%rbp),%rax
and    -0x70(%rbp),%rax
mov    -0x78(%rbp),%rcx
and    -0x80(%rbp),%rcx
or     %rcx,%rax
mov    %rax,-0xf8(%rbp)
cmpq   $0x0,-0x10(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%eax
cltq
add    $0xffffffffffffffff,%rax
mov    %rax,-0x90(%rbp)
mov    -0x90(%rbp),%rax
xor    $0xffffffffffffffff,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x88(%rbp),%rax
and    -0x90(%rbp),%rax
mov    -0x98(%rbp),%rcx
and    -0xa0(%rbp),%rcx
or     %rcx,%rax
mov    %rax,-0x100(%rbp)
cmpq   $0x0,-0x10(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%eax
cltq
add    $0xffffffffffffffff,%rax
mov    %rax,-0xb0(%rbp)
mov    -0xb0(%rbp),%rax
xor    $0xffffffffffffffff,%rax
mov    %rax,-0xc0(%rbp)
mov    -0xa8(%rbp),%rax
and    -0xb0(%rbp),%rax
mov    -0xb8(%rbp),%rcx
and    -0xc0(%rbp),%rcx
or     %rcx,%rax
mov    %rax,-0x108(%rbp)
cmpq   $0x0,-0x10(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%eax
cltq
add    $0xffffffffffffffff,%rax
mov    %rax,-0xd0(%rbp)
mov    -0xd0(%rbp),%rax
xor    $0xffffffffffffffff,%rax
mov    %rax,-0xe0(%rbp)
mov    -0xc8(%rbp),%rax
and    -0xd0(%rbp),%rax
mov    -0xd8(%rbp),%rcx
and    -0xe0(%rbp),%rcx
or     %rcx,%rax
mov    %rax,-0x110(%rbp)
mov    -0xe8(%rbp),%rax
mov    %rax,-0x118(%rbp)
mov    -0xf0(%rbp),%rax
mov    %rax,-0x120(%rbp)
mov    -0xf8(%rbp),%rax
mov    %rax,-0x128(%rbp)
mov    -0x100(%rbp),%rax
mov    %rax,-0x130(%rbp)
mov    -0x108(%rbp),%rax
mov    %rax,-0x138(%rbp)
mov    -0x110(%rbp),%rax
mov    %rax,-0x140(%rbp)
mov    -0x8(%rbp),%rax
add    $0x0,%rax
mov    %eax,%edi
mov    -0x118(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x8,%rax
mov    %eax,%edi
mov    -0x120(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x10,%rax
mov    %eax,%edi
mov    -0x128(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x18,%rax
mov    %eax,%edi
mov    -0x130(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x20,%rax
mov    %eax,%edi
mov    -0x138(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x28,%rax
mov    %eax,%edi
mov    -0x140(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
add    $0x140,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<internal_fiat_p384_selectznz>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %rcx,%rbx
mov    %rdx,%rbp
mov    %rsi,0x40(%rsp)
mov    %rdi,%r12
mov    %ebp,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x38(%rsp)
lea    0x8(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x30(%rsp)
lea    0x10(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x28(%rsp)
lea    0x18(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x20(%rsp)
lea    0x20(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x18(%rsp)
add    $0x28,%ebp
mov    %ebp,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x10(%rsp)
mov    %ebx,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x8(%rsp)
lea    0x8(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r13
lea    0x10(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%rbp
lea    0x18(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r15
lea    0x20(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r14
add    $0x28,%ebx
mov    %ebx,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
cmpq   $0x0,0x40(%rsp)
mov    0x8(%rsp),%rsi
cmove  0x38(%rsp),%rsi
cmove  0x30(%rsp),%r13
cmove  0x28(%rsp),%rbp
cmove  0x20(%rsp),%r15
cmove  0x18(%rsp),%r14
mov    0x10(%rsp),%rbx
cmovne %rax,%rbx
mov    %r12d,%edi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x8(%r12),%edi
mov    %r13,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x10(%r12),%edi
mov    %rbp,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x18(%r12),%edi
mov    %r15,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x20(%r12),%edi
mov    %r14,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
add    $0x28,%r12d
mov    %r12d,%edi
mov    %rbx,%rsi
mov    $0x8,%edx
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <_br2_store@plt>

LLVM IR (-O0):
define void @internal_fiat_p384_selectznz(i64 %0, i64 %1, i64 %2, i64 %3) {
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
%8 = alloca i64
%9 = alloca i64
%10 = alloca i64
%11 = alloca i64
%12 = alloca i64
%13 = alloca i64
%14 = alloca i64
%15 = alloca i64
%16 = alloca i64
%17 = alloca i64
%18 = alloca i64
%19 = alloca i64
%20 = alloca i64
%21 = alloca i64
%22 = alloca i64
%23 = alloca i64
%24 = alloca i64
%25 = alloca i64
%26 = alloca i64
%27 = alloca i64
%28 = alloca i64
%29 = alloca i64
%30 = alloca i64
%31 = alloca i64
%32 = alloca i64
%33 = alloca i64
%34 = alloca i64
%35 = alloca i64
%36 = alloca i64
%37 = alloca i64
%38 = alloca i64
%39 = alloca i64
%40 = alloca i64
%41 = alloca i64
%42 = alloca i64
%43 = alloca i64
%44 = alloca i64
store i64 %0, i64* %5
store i64 %1, i64* %6
store i64 %2, i64* %7
store i64 %3, i64* %8
%45 = load i64, i64* %7
%46 = add i64 %45, 0
%47 = trunc i64 %46 to i32
%48 = call i64 @_br2_load(i32 %47, i32 8)
store i64 %48, i64* %11
%49 = load i64, i64* %7
%50 = add i64 %49, 8
%51 = trunc i64 %50 to i32
%52 = call i64 @_br2_load(i32 %51, i32 8)
store i64 %52, i64* %15
%53 = load i64, i64* %7
%54 = add i64 %53, 16
%55 = trunc i64 %54 to i32
%56 = call i64 @_br2_load(i32 %55, i32 8)
store i64 %56, i64* %19
%57 = load i64, i64* %7
%58 = add i64 %57, 24
%59 = trunc i64 %58 to i32
%60 = call i64 @_br2_load(i32 %59, i32 8)
store i64 %60, i64* %23
%61 = load i64, i64* %7
%62 = add i64 %61, 32
%63 = trunc i64 %62 to i32
%64 = call i64 @_br2_load(i32 %63, i32 8)
store i64 %64, i64* %27
%65 = load i64, i64* %7
%66 = add i64 %65, 40
%67 = trunc i64 %66 to i32
%68 = call i64 @_br2_load(i32 %67, i32 8)
store i64 %68, i64* %31
%69 = load i64, i64* %8
%70 = add i64 %69, 0
%71 = trunc i64 %70 to i32
%72 = call i64 @_br2_load(i32 %71, i32 8)
store i64 %72, i64* %9
%73 = load i64, i64* %8
%74 = add i64 %73, 8
%75 = trunc i64 %74 to i32
%76 = call i64 @_br2_load(i32 %75, i32 8)
store i64 %76, i64* %13
%77 = load i64, i64* %8
%78 = add i64 %77, 16
%79 = trunc i64 %78 to i32
%80 = call i64 @_br2_load(i32 %79, i32 8)
store i64 %80, i64* %17
%81 = load i64, i64* %8
%82 = add i64 %81, 24
%83 = trunc i64 %82 to i32
%84 = call i64 @_br2_load(i32 %83, i32 8)
store i64 %84, i64* %21
%85 = load i64, i64* %8
%86 = add i64 %85, 32
%87 = trunc i64 %86 to i32
%88 = call i64 @_br2_load(i32 %87, i32 8)
store i64 %88, i64* %25
%89 = load i64, i64* %8
%90 = add i64 %89, 40
%91 = trunc i64 %90 to i32
%92 = call i64 @_br2_load(i32 %91, i32 8)
store i64 %92, i64* %29
%93 = load i64, i64* %6
%94 = icmp eq i64 %93, 0
%95 = zext i1 %94 to i32
%96 = sext i32 %95 to i64
%97 = add i64 -1, %96
store i64 %97, i64* %10
%98 = load i64, i64* %10
%99 = xor i64 %98, -1
store i64 %99, i64* %12
%100 = load i64, i64* %9
%101 = load i64, i64* %10
%102 = and i64 %100, %101
%103 = load i64, i64* %11
%104 = load i64, i64* %12
%105 = and i64 %103, %104
%106 = or i64 %102, %105
store i64 %106, i64* %33
%107 = load i64, i64* %6
%108 = icmp eq i64 %107, 0
%109 = zext i1 %108 to i32
%110 = sext i32 %109 to i64
%111 = add i64 -1, %110
store i64 %111, i64* %14
%112 = load i64, i64* %14
%113 = xor i64 %112, -1
store i64 %113, i64* %16
%114 = load i64, i64* %13
%115 = load i64, i64* %14
%116 = and i64 %114, %115
%117 = load i64, i64* %15
%118 = load i64, i64* %16
%119 = and i64 %117, %118
%120 = or i64 %116, %119
store i64 %120, i64* %34
%121 = load i64, i64* %6
%122 = icmp eq i64 %121, 0
%123 = zext i1 %122 to i32
%124 = sext i32 %123 to i64
%125 = add i64 -1, %124
store i64 %125, i64* %18
%126 = load i64, i64* %18
%127 = xor i64 %126, -1
store i64 %127, i64* %20
%128 = load i64, i64* %17
%129 = load i64, i64* %18
%130 = and i64 %128, %129
%131 = load i64, i64* %19
%132 = load i64, i64* %20
%133 = and i64 %131, %132
%134 = or i64 %130, %133
store i64 %134, i64* %35
%135 = load i64, i64* %6
%136 = icmp eq i64 %135, 0
%137 = zext i1 %136 to i32
%138 = sext i32 %137 to i64
%139 = add i64 -1, %138
store i64 %139, i64* %22
%140 = load i64, i64* %22
%141 = xor i64 %140, -1
store i64 %141, i64* %24
%142 = load i64, i64* %21
%143 = load i64, i64* %22
%144 = and i64 %142, %143
%145 = load i64, i64* %23
%146 = load i64, i64* %24
%147 = and i64 %145, %146
%148 = or i64 %144, %147
store i64 %148, i64* %36
%149 = load i64, i64* %6
%150 = icmp eq i64 %149, 0
%151 = zext i1 %150 to i32
%152 = sext i32 %151 to i64
%153 = add i64 -1, %152
store i64 %153, i64* %26
%154 = load i64, i64* %26
%155 = xor i64 %154, -1
store i64 %155, i64* %28
%156 = load i64, i64* %25
%157 = load i64, i64* %26
%158 = and i64 %156, %157
%159 = load i64, i64* %27
%160 = load i64, i64* %28
%161 = and i64 %159, %160
%162 = or i64 %158, %161
store i64 %162, i64* %37
%163 = load i64, i64* %6
%164 = icmp eq i64 %163, 0
%165 = zext i1 %164 to i32
%166 = sext i32 %165 to i64
%167 = add i64 -1, %166
store i64 %167, i64* %30
%168 = load i64, i64* %30
%169 = xor i64 %168, -1
store i64 %169, i64* %32
%170 = load i64, i64* %29
%171 = load i64, i64* %30
%172 = and i64 %170, %171
%173 = load i64, i64* %31
%174 = load i64, i64* %32
%175 = and i64 %173, %174
%176 = or i64 %172, %175
store i64 %176, i64* %38
%177 = load i64, i64* %33
store i64 %177, i64* %39
%178 = load i64, i64* %34
store i64 %178, i64* %40
%179 = load i64, i64* %35
store i64 %179, i64* %41
%180 = load i64, i64* %36
store i64 %180, i64* %42
%181 = load i64, i64* %37
store i64 %181, i64* %43
%182 = load i64, i64* %38
store i64 %182, i64* %44
%183 = load i64, i64* %5
%184 = add i64 %183, 0
%185 = trunc i64 %184 to i32
%186 = load i64, i64* %39
%187 = call i32 @_br2_store(i32 %185, i64 %186, i32 8)
%188 = load i64, i64* %5
%189 = add i64 %188, 8
%190 = trunc i64 %189 to i32
%191 = load i64, i64* %40
%192 = call i32 @_br2_store(i32 %190, i64 %191, i32 8)
%193 = load i64, i64* %5
%194 = add i64 %193, 16
%195 = trunc i64 %194 to i32
%196 = load i64, i64* %41
%197 = call i32 @_br2_store(i32 %195, i64 %196, i32 8)
%198 = load i64, i64* %5
%199 = add i64 %198, 24
%200 = trunc i64 %199 to i32
%201 = load i64, i64* %42
%202 = call i32 @_br2_store(i32 %200, i64 %201, i32 8)
%203 = load i64, i64* %5
%204 = add i64 %203, 32
%205 = trunc i64 %204 to i32
%206 = load i64, i64* %43
%207 = call i32 @_br2_store(i32 %205, i64 %206, i32 8)
%208 = load i64, i64* %5
%209 = add i64 %208, 40
%210 = trunc i64 %209 to i32
%211 = load i64, i64* %44
%212 = call i32 @_br2_store(i32 %210, i64 %211, i32 8)
ret void
}

LLVM IR (-O2):
define void @internal_fiat_p384_selectznz(i64 %0, i64 %1, i64 %2, i64 %3) {
%5 = trunc i64 %2 to i32
%6 = tail call i64 @_br2_load(i32 %5, i32 8)
%7 = add i32 %5, 8
%8 = tail call i64 @_br2_load(i32 %7, i32 8)
%9 = add i32 %5, 16
%10 = tail call i64 @_br2_load(i32 %9, i32 8)
%11 = add i32 %5, 24
%12 = tail call i64 @_br2_load(i32 %11, i32 8)
%13 = add i32 %5, 32
%14 = tail call i64 @_br2_load(i32 %13, i32 8)
%15 = add i32 %5, 40
%16 = tail call i64 @_br2_load(i32 %15, i32 8)
%17 = trunc i64 %3 to i32
%18 = tail call i64 @_br2_load(i32 %17, i32 8)
%19 = add i32 %17, 8
%20 = tail call i64 @_br2_load(i32 %19, i32 8)
%21 = add i32 %17, 16
%22 = tail call i64 @_br2_load(i32 %21, i32 8)
%23 = add i32 %17, 24
%24 = tail call i64 @_br2_load(i32 %23, i32 8)
%25 = add i32 %17, 32
%26 = tail call i64 @_br2_load(i32 %25, i32 8)
%27 = add i32 %17, 40
%28 = tail call i64 @_br2_load(i32 %27, i32 8)
%29 = icmp eq i64 %1, 0
%30 = select i1 %29, i64 %6, i64 %18
%31 = select i1 %29, i64 %8, i64 %20
%32 = select i1 %29, i64 %10, i64 %22
%33 = select i1 %29, i64 %12, i64 %24
%34 = select i1 %29, i64 %14, i64 %26
%35 = select i1 %29, i64 %16, i64 %28
%36 = trunc i64 %0 to i32
%37 = tail call i32 @_br2_store(i32 %36, i64 %30, i32 8)
%38 = add i32 %36, 8
%39 = tail call i32 @_br2_store(i32 %38, i64 %31, i32 8)
%40 = add i32 %36, 16
%41 = tail call i32 @_br2_store(i32 %40, i64 %32, i32 8)
%42 = add i32 %36, 24
%43 = tail call i32 @_br2_store(i32 %42, i64 %33, i32 8)
%44 = add i32 %36, 32
%45 = tail call i32 @_br2_store(i32 %44, i64 %34, i32 8)
%46 = add i32 %36, 40
%47 = tail call i32 @_br2_store(i32 %46, i64 %35, i32 8)
ret void
}