#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 int /*<<< orphan*/ in0;

/* Variables and functions */
uintptr_t _br2_load(int /*<<< orphan*/, int);
uintptr_t internal_fiat_p256_nonzero(uintptr_t in0) {
  uintptr_t x0, x1, x2, x3, x4, x5, x6, x7, x8, out0, x9;
  x0 = _br2_load((in0) + ((uintptr_t)0ULL), sizeof(uintptr_t));
  x1 = _br2_load((in0) + ((uintptr_t)4ULL), sizeof(uintptr_t));
  x2 = _br2_load((in0) + ((uintptr_t)8ULL), sizeof(uintptr_t));
  x3 = _br2_load((in0) + ((uintptr_t)12ULL), sizeof(uintptr_t));
  x4 = _br2_load((in0) + ((uintptr_t)16ULL), sizeof(uintptr_t));
  x5 = _br2_load((in0) + ((uintptr_t)20ULL), sizeof(uintptr_t));
  x6 = _br2_load((in0) + ((uintptr_t)24ULL), sizeof(uintptr_t));
  x7 = _br2_load((in0) + ((uintptr_t)28ULL), sizeof(uintptr_t));
  x8 = (x0) | ((x1) | ((x2) | ((x3) | ((x4) | ((x5) | ((x6) | (x7)))))));
  x9 = x8;
  out0 = x9;
  return out0;
}


x86 assembly (clang, -O0):
<internal_fiat_p256_nonzero>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x0,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rax
add    $0x4,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
add    $0x8,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x20(%rbp)
mov    -0x8(%rbp),%rax
add    $0xc,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x28(%rbp)
mov    -0x8(%rbp),%rax
add    $0x10,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%rax
add    $0x14,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rax
add    $0x18,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x40(%rbp)
mov    -0x8(%rbp),%rax
add    $0x1c,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x48(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x18(%rbp),%rcx
mov    -0x20(%rbp),%rdx
mov    -0x28(%rbp),%rsi
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%r8
mov    -0x40(%rbp),%r9
or     -0x48(%rbp),%r9
or     %r9,%r8
or     %r8,%rdi
or     %rdi,%rsi
or     %rsi,%rdx
or     %rdx,%rcx
or     %rcx,%rax
mov    %rax,-0x50(%rbp)
mov    -0x50(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x60(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x58(%rbp),%rax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<internal_fiat_p256_nonzero>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rdi,%rbx
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x10(%rsp)
lea    0x4(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r15
lea    0x8(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x8(%rsp)
lea    0xc(%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    0x14(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r14
lea    0x18(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r12
add    $0x1c,%ebx
mov    %ebx,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
or     0x10(%rsp),%r15
or     0x8(%rsp),%r13
or     %r15,%r13
or     %rbp,%r14
or     %r12,%r14
or     %r13,%r14
or     %r14,%rax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i64 @internal_fiat_p256_nonzero(i64 %0) {
%2 = alloca i64
%3 = alloca i64
%4 = alloca i64
%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
store i64 %0, i64* %2
%14 = load i64, i64* %2
%15 = add i64 %14, 0
%16 = trunc i64 %15 to i32
%17 = call i64 @_br2_load(i32 %16, i32 8)
store i64 %17, i64* %3
%18 = load i64, i64* %2
%19 = add i64 %18, 4
%20 = trunc i64 %19 to i32
%21 = call i64 @_br2_load(i32 %20, i32 8)
store i64 %21, i64* %4
%22 = load i64, i64* %2
%23 = add i64 %22, 8
%24 = trunc i64 %23 to i32
%25 = call i64 @_br2_load(i32 %24, i32 8)
store i64 %25, i64* %5
%26 = load i64, i64* %2
%27 = add i64 %26, 12
%28 = trunc i64 %27 to i32
%29 = call i64 @_br2_load(i32 %28, i32 8)
store i64 %29, i64* %6
%30 = load i64, i64* %2
%31 = add i64 %30, 16
%32 = trunc i64 %31 to i32
%33 = call i64 @_br2_load(i32 %32, i32 8)
store i64 %33, i64* %7
%34 = load i64, i64* %2
%35 = add i64 %34, 20
%36 = trunc i64 %35 to i32
%37 = call i64 @_br2_load(i32 %36, i32 8)
store i64 %37, i64* %8
%38 = load i64, i64* %2
%39 = add i64 %38, 24
%40 = trunc i64 %39 to i32
%41 = call i64 @_br2_load(i32 %40, i32 8)
store i64 %41, i64* %9
%42 = load i64, i64* %2
%43 = add i64 %42, 28
%44 = trunc i64 %43 to i32
%45 = call i64 @_br2_load(i32 %44, i32 8)
store i64 %45, i64* %10
%46 = load i64, i64* %3
%47 = load i64, i64* %4
%48 = load i64, i64* %5
%49 = load i64, i64* %6
%50 = load i64, i64* %7
%51 = load i64, i64* %8
%52 = load i64, i64* %9
%53 = load i64, i64* %10
%54 = or i64 %52, %53
%55 = or i64 %51, %54
%56 = or i64 %50, %55
%57 = or i64 %49, %56
%58 = or i64 %48, %57
%59 = or i64 %47, %58
%60 = or i64 %46, %59
store i64 %60, i64* %11
%61 = load i64, i64* %11
store i64 %61, i64* %13
%62 = load i64, i64* %13
store i64 %62, i64* %12
%63 = load i64, i64* %12
ret i64 %63
}

LLVM IR (-O2):
define i64 @internal_fiat_p256_nonzero(i64 %0) {
%2 = trunc i64 %0 to i32
%3 = tail call i64 @_br2_load(i32 %2, i32 8)
%4 = add i32 %2, 4
%5 = tail call i64 @_br2_load(i32 %4, i32 8)
%6 = add i32 %2, 8
%7 = tail call i64 @_br2_load(i32 %6, i32 8)
%8 = add i32 %2, 12
%9 = tail call i64 @_br2_load(i32 %8, i32 8)
%10 = add i32 %2, 16
%11 = tail call i64 @_br2_load(i32 %10, i32 8)
%12 = add i32 %2, 20
%13 = tail call i64 @_br2_load(i32 %12, i32 8)
%14 = add i32 %2, 24
%15 = tail call i64 @_br2_load(i32 %14, i32 8)
%16 = add i32 %2, 28
%17 = tail call i64 @_br2_load(i32 %16, i32 8)
%18 = or i64 %5, %3
%19 = or i64 %18, %7
%20 = or i64 %19, %9
%21 = or i64 %20, %11
%22 = or i64 %21, %13
%23 = or i64 %22, %15
%24 = or i64 %23, %17
ret i64 %24
}