#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 x13;
typedef uintptr_t x12;
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_p434_selectznz(uintptr_t out0, uintptr_t in0, uintptr_t in1,
                                  uintptr_t in2) {
  uintptr_t x7, x14, x0, x15, x8, x17, x1, x18, x9, x20, x2, x21, x10, x23, x3,
      x24, x11, x26, x4, x27, x12, x29, x5, x30, x13, x32, x6, x33, x16, x19,
      x22, x25, x28, x31, x34, x35, x36, x37, x38, x39, x40, x41;
  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((in1) + ((uintptr_t)48ULL), sizeof(uintptr_t));
  x7 = _br2_load((in2) + ((uintptr_t)0ULL), sizeof(uintptr_t));
  x8 = _br2_load((in2) + ((uintptr_t)8ULL), sizeof(uintptr_t));
  x9 = _br2_load((in2) + ((uintptr_t)16ULL), sizeof(uintptr_t));
  x10 = _br2_load((in2) + ((uintptr_t)24ULL), sizeof(uintptr_t));
  x11 = _br2_load((in2) + ((uintptr_t)32ULL), sizeof(uintptr_t));
  x12 = _br2_load((in2) + ((uintptr_t)40ULL), sizeof(uintptr_t));
  x13 = _br2_load((in2) + ((uintptr_t)48ULL), sizeof(uintptr_t));
  x14 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x15 = (x14) ^ ((uintptr_t)18446744073709551615ULL);
  x16 = ((x7) & (x14)) | ((x0) & (x15));
  x17 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x18 = (x17) ^ ((uintptr_t)18446744073709551615ULL);
  x19 = ((x8) & (x17)) | ((x1) & (x18));
  x20 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x21 = (x20) ^ ((uintptr_t)18446744073709551615ULL);
  x22 = ((x9) & (x20)) | ((x2) & (x21));
  x23 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x24 = (x23) ^ ((uintptr_t)18446744073709551615ULL);
  x25 = ((x10) & (x23)) | ((x3) & (x24));
  x26 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x27 = (x26) ^ ((uintptr_t)18446744073709551615ULL);
  x28 = ((x11) & (x26)) | ((x4) & (x27));
  x29 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x30 = (x29) ^ ((uintptr_t)18446744073709551615ULL);
  x31 = ((x12) & (x29)) | ((x5) & (x30));
  x32 = ((uintptr_t)-1ULL) + ((in0) == ((uintptr_t)0ULL));
  x33 = (x32) ^ ((uintptr_t)18446744073709551615ULL);
  x34 = ((x13) & (x32)) | ((x6) & (x33));
  x35 = x16;
  x36 = x19;
  x37 = x22;
  x38 = x25;
  x39 = x28;
  x40 = x31;
  x41 = x34;
  _br2_store((out0) + ((uintptr_t)0ULL), x35, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)8ULL), x36, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)16ULL), x37, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)24ULL), x38, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)32ULL), x39, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)40ULL), x40, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)48ULL), x41, sizeof(uintptr_t));
  return;
}


x86 assembly (clang, -O0):
<internal_fiat_p434_selectznz>:
push   %rbp
mov    %rsp,%rbp
sub    $0x170,%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    -0x18(%rbp),%rax
add    $0x30,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0xf8(%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)
mov    -0x20(%rbp),%rax
add    $0x30,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0xe8(%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,-0x108(%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,-0x110(%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,-0x118(%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,-0x120(%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,-0x128(%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,-0x130(%rbp)
cmpq   $0x0,-0x10(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%eax
cltq
add    $0xffffffffffffffff,%rax
mov    %rax,-0xf0(%rbp)
mov    -0xf0(%rbp),%rax
xor    $0xffffffffffffffff,%rax
mov    %rax,-0x100(%rbp)
mov    -0xe8(%rbp),%rax
and    -0xf0(%rbp),%rax
mov    -0xf8(%rbp),%rcx
and    -0x100(%rbp),%rcx
or     %rcx,%rax
mov    %rax,-0x138(%rbp)
mov    -0x108(%rbp),%rax
mov    %rax,-0x140(%rbp)
mov    -0x110(%rbp),%rax
mov    %rax,-0x148(%rbp)
mov    -0x118(%rbp),%rax
mov    %rax,-0x150(%rbp)
mov    -0x120(%rbp),%rax
mov    %rax,-0x158(%rbp)
mov    -0x128(%rbp),%rax
mov    %rax,-0x160(%rbp)
mov    -0x130(%rbp),%rax
mov    %rax,-0x168(%rbp)
mov    -0x138(%rbp),%rax
mov    %rax,-0x170(%rbp)
mov    -0x8(%rbp),%rax
add    $0x0,%rax
mov    %eax,%edi
mov    -0x140(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x8,%rax
mov    %eax,%edi
mov    -0x148(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x10,%rax
mov    %eax,%edi
mov    -0x150(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x18,%rax
mov    %eax,%edi
mov    -0x158(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x20,%rax
mov    %eax,%edi
mov    -0x160(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x28,%rax
mov    %eax,%edi
mov    -0x168(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x30,%rax
mov    %eax,%edi
mov    -0x170(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
add    $0x170,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<internal_fiat_p434_selectznz>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %rcx,%rbx
mov    %rdx,%rbp
mov    %rsi,(%rsp)
mov    %rdi,%r12
mov    %ebp,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x50(%rsp)
lea    0x8(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x48(%rsp)
lea    0x10(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x40(%rsp)
lea    0x18(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x38(%rsp)
lea    0x20(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x30(%rsp)
lea    0x28(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x28(%rsp)
add    $0x30,%ebp
mov    %ebp,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x20(%rsp)
mov    %ebx,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x18(%rsp)
lea    0x8(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%rbp
lea    0x10(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x10(%rsp)
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
lea    0x28(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x8(%rsp)
add    $0x30,%ebx
mov    %ebx,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
cmpq   $0x0,(%rsp)
mov    0x18(%rsp),%rsi
cmove  0x50(%rsp),%rsi
cmove  0x48(%rsp),%rbp
mov    %rbp,(%rsp)
mov    0x10(%rsp),%r13
cmove  0x40(%rsp),%r13
cmove  0x38(%rsp),%r15
cmove  0x30(%rsp),%r14
mov    0x8(%rsp),%rbp
cmove  0x28(%rsp),%rbp
mov    0x20(%rsp),%rbx
cmovne %rax,%rbx
mov    %r12d,%edi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x8(%r12),%edi
mov    (%rsp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x10(%r12),%edi
mov    %r13,%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>
lea    0x28(%r12),%edi
mov    %rbp,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
add    $0x30,%r12d
mov    %r12d,%edi
mov    %rbx,%rsi
mov    $0x8,%edx
add    $0x58,%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_p434_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
%45 = alloca i64
%46 = alloca i64
%47 = alloca i64
%48 = alloca i64
%49 = alloca i64
%50 = alloca i64
store i64 %0, i64* %5
store i64 %1, i64* %6
store i64 %2, i64* %7
store i64 %3, i64* %8
%51 = load i64, i64* %7
%52 = add i64 %51, 0
%53 = trunc i64 %52 to i32
%54 = call i64 @_br2_load(i32 %53, i32 8)
store i64 %54, i64* %11
%55 = load i64, i64* %7
%56 = add i64 %55, 8
%57 = trunc i64 %56 to i32
%58 = call i64 @_br2_load(i32 %57, i32 8)
store i64 %58, i64* %15
%59 = load i64, i64* %7
%60 = add i64 %59, 16
%61 = trunc i64 %60 to i32
%62 = call i64 @_br2_load(i32 %61, i32 8)
store i64 %62, i64* %19
%63 = load i64, i64* %7
%64 = add i64 %63, 24
%65 = trunc i64 %64 to i32
%66 = call i64 @_br2_load(i32 %65, i32 8)
store i64 %66, i64* %23
%67 = load i64, i64* %7
%68 = add i64 %67, 32
%69 = trunc i64 %68 to i32
%70 = call i64 @_br2_load(i32 %69, i32 8)
store i64 %70, i64* %27
%71 = load i64, i64* %7
%72 = add i64 %71, 40
%73 = trunc i64 %72 to i32
%74 = call i64 @_br2_load(i32 %73, i32 8)
store i64 %74, i64* %31
%75 = load i64, i64* %7
%76 = add i64 %75, 48
%77 = trunc i64 %76 to i32
%78 = call i64 @_br2_load(i32 %77, i32 8)
store i64 %78, i64* %35
%79 = load i64, i64* %8
%80 = add i64 %79, 0
%81 = trunc i64 %80 to i32
%82 = call i64 @_br2_load(i32 %81, i32 8)
store i64 %82, i64* %9
%83 = load i64, i64* %8
%84 = add i64 %83, 8
%85 = trunc i64 %84 to i32
%86 = call i64 @_br2_load(i32 %85, i32 8)
store i64 %86, i64* %13
%87 = load i64, i64* %8
%88 = add i64 %87, 16
%89 = trunc i64 %88 to i32
%90 = call i64 @_br2_load(i32 %89, i32 8)
store i64 %90, i64* %17
%91 = load i64, i64* %8
%92 = add i64 %91, 24
%93 = trunc i64 %92 to i32
%94 = call i64 @_br2_load(i32 %93, i32 8)
store i64 %94, i64* %21
%95 = load i64, i64* %8
%96 = add i64 %95, 32
%97 = trunc i64 %96 to i32
%98 = call i64 @_br2_load(i32 %97, i32 8)
store i64 %98, i64* %25
%99 = load i64, i64* %8
%100 = add i64 %99, 40
%101 = trunc i64 %100 to i32
%102 = call i64 @_br2_load(i32 %101, i32 8)
store i64 %102, i64* %29
%103 = load i64, i64* %8
%104 = add i64 %103, 48
%105 = trunc i64 %104 to i32
%106 = call i64 @_br2_load(i32 %105, i32 8)
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* %10
%112 = load i64, i64* %10
%113 = xor i64 %112, -1
store i64 %113, i64* %12
%114 = load i64, i64* %9
%115 = load i64, i64* %10
%116 = and i64 %114, %115
%117 = load i64, i64* %11
%118 = load i64, i64* %12
%119 = and i64 %117, %118
%120 = or i64 %116, %119
store i64 %120, i64* %37
%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* %14
%126 = load i64, i64* %14
%127 = xor i64 %126, -1
store i64 %127, i64* %16
%128 = load i64, i64* %13
%129 = load i64, i64* %14
%130 = and i64 %128, %129
%131 = load i64, i64* %15
%132 = load i64, i64* %16
%133 = and i64 %131, %132
%134 = or i64 %130, %133
store i64 %134, i64* %38
%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* %18
%140 = load i64, i64* %18
%141 = xor i64 %140, -1
store i64 %141, i64* %20
%142 = load i64, i64* %17
%143 = load i64, i64* %18
%144 = and i64 %142, %143
%145 = load i64, i64* %19
%146 = load i64, i64* %20
%147 = and i64 %145, %146
%148 = or i64 %144, %147
store i64 %148, i64* %39
%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* %22
%154 = load i64, i64* %22
%155 = xor i64 %154, -1
store i64 %155, i64* %24
%156 = load i64, i64* %21
%157 = load i64, i64* %22
%158 = and i64 %156, %157
%159 = load i64, i64* %23
%160 = load i64, i64* %24
%161 = and i64 %159, %160
%162 = or i64 %158, %161
store i64 %162, i64* %40
%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* %26
%168 = load i64, i64* %26
%169 = xor i64 %168, -1
store i64 %169, i64* %28
%170 = load i64, i64* %25
%171 = load i64, i64* %26
%172 = and i64 %170, %171
%173 = load i64, i64* %27
%174 = load i64, i64* %28
%175 = and i64 %173, %174
%176 = or i64 %172, %175
store i64 %176, i64* %41
%177 = load i64, i64* %6
%178 = icmp eq i64 %177, 0
%179 = zext i1 %178 to i32
%180 = sext i32 %179 to i64
%181 = add i64 -1, %180
store i64 %181, i64* %30
%182 = load i64, i64* %30
%183 = xor i64 %182, -1
store i64 %183, i64* %32
%184 = load i64, i64* %29
%185 = load i64, i64* %30
%186 = and i64 %184, %185
%187 = load i64, i64* %31
%188 = load i64, i64* %32
%189 = and i64 %187, %188
%190 = or i64 %186, %189
store i64 %190, i64* %42
%191 = load i64, i64* %6
%192 = icmp eq i64 %191, 0
%193 = zext i1 %192 to i32
%194 = sext i32 %193 to i64
%195 = add i64 -1, %194
store i64 %195, i64* %34
%196 = load i64, i64* %34
%197 = xor i64 %196, -1
store i64 %197, i64* %36
%198 = load i64, i64* %33
%199 = load i64, i64* %34
%200 = and i64 %198, %199
%201 = load i64, i64* %35
%202 = load i64, i64* %36
%203 = and i64 %201, %202
%204 = or i64 %200, %203
store i64 %204, i64* %43
%205 = load i64, i64* %37
store i64 %205, i64* %44
%206 = load i64, i64* %38
store i64 %206, i64* %45
%207 = load i64, i64* %39
store i64 %207, i64* %46
%208 = load i64, i64* %40
store i64 %208, i64* %47
%209 = load i64, i64* %41
store i64 %209, i64* %48
%210 = load i64, i64* %42
store i64 %210, i64* %49
%211 = load i64, i64* %43
store i64 %211, i64* %50
%212 = load i64, i64* %5
%213 = add i64 %212, 0
%214 = trunc i64 %213 to i32
%215 = load i64, i64* %44
%216 = call i32 @_br2_store(i32 %214, i64 %215, i32 8)
%217 = load i64, i64* %5
%218 = add i64 %217, 8
%219 = trunc i64 %218 to i32
%220 = load i64, i64* %45
%221 = call i32 @_br2_store(i32 %219, i64 %220, i32 8)
%222 = load i64, i64* %5
%223 = add i64 %222, 16
%224 = trunc i64 %223 to i32
%225 = load i64, i64* %46
%226 = call i32 @_br2_store(i32 %224, i64 %225, i32 8)
%227 = load i64, i64* %5
%228 = add i64 %227, 24
%229 = trunc i64 %228 to i32
%230 = load i64, i64* %47
%231 = call i32 @_br2_store(i32 %229, i64 %230, i32 8)
%232 = load i64, i64* %5
%233 = add i64 %232, 32
%234 = trunc i64 %233 to i32
%235 = load i64, i64* %48
%236 = call i32 @_br2_store(i32 %234, i64 %235, i32 8)
%237 = load i64, i64* %5
%238 = add i64 %237, 40
%239 = trunc i64 %238 to i32
%240 = load i64, i64* %49
%241 = call i32 @_br2_store(i32 %239, i64 %240, i32 8)
%242 = load i64, i64* %5
%243 = add i64 %242, 48
%244 = trunc i64 %243 to i32
%245 = load i64, i64* %50
%246 = call i32 @_br2_store(i32 %244, i64 %245, i32 8)
ret void
}

LLVM IR (-O2):
define void @internal_fiat_p434_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 = add i32 %5, 48
%18 = tail call i64 @_br2_load(i32 %17, i32 8)
%19 = trunc i64 %3 to i32
%20 = tail call i64 @_br2_load(i32 %19, i32 8)
%21 = add i32 %19, 8
%22 = tail call i64 @_br2_load(i32 %21, i32 8)
%23 = add i32 %19, 16
%24 = tail call i64 @_br2_load(i32 %23, i32 8)
%25 = add i32 %19, 24
%26 = tail call i64 @_br2_load(i32 %25, i32 8)
%27 = add i32 %19, 32
%28 = tail call i64 @_br2_load(i32 %27, i32 8)
%29 = add i32 %19, 40
%30 = tail call i64 @_br2_load(i32 %29, i32 8)
%31 = add i32 %19, 48
%32 = tail call i64 @_br2_load(i32 %31, i32 8)
%33 = icmp eq i64 %1, 0
%34 = select i1 %33, i64 %6, i64 %20
%35 = select i1 %33, i64 %8, i64 %22
%36 = select i1 %33, i64 %10, i64 %24
%37 = select i1 %33, i64 %12, i64 %26
%38 = select i1 %33, i64 %14, i64 %28
%39 = select i1 %33, i64 %16, i64 %30
%40 = select i1 %33, i64 %18, i64 %32
%41 = trunc i64 %0 to i32
%42 = tail call i32 @_br2_store(i32 %41, i64 %34, i32 8)
%43 = add i32 %41, 8
%44 = tail call i32 @_br2_store(i32 %43, i64 %35, i32 8)
%45 = add i32 %41, 16
%46 = tail call i32 @_br2_store(i32 %45, i64 %36, i32 8)
%47 = add i32 %41, 24
%48 = tail call i32 @_br2_store(i32 %47, i64 %37, i32 8)
%49 = add i32 %41, 32
%50 = tail call i32 @_br2_store(i32 %49, i64 %38, i32 8)
%51 = add i32 %41, 40
%52 = tail call i32 @_br2_store(i32 %51, i64 %39, i32 8)
%53 = add i32 %41, 48
%54 = tail call i32 @_br2_store(i32 %53, i64 %40, i32 8)
ret void
}