#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 uint8_t;
typedef int uint64_t;

/* Variables and functions */
int UINT64_C(int);
void fiat_p256_from_bytes(uint64_t out1[4], const uint8_t arg1[32]) {
  uint64_t x1 = ((uint64_t)(arg1[31]) << 56);
  uint64_t x2 = ((uint64_t)(arg1[30]) << 48);
  uint64_t x3 = ((uint64_t)(arg1[29]) << 40);
  uint64_t x4 = ((uint64_t)(arg1[28]) << 32);
  uint64_t x5 = ((uint64_t)(arg1[27]) << 24);
  uint64_t x6 = ((uint64_t)(arg1[26]) << 16);
  uint64_t x7 = ((uint64_t)(arg1[25]) << 8);
  uint8_t x8 = (arg1[24]);
  uint64_t x9 = ((uint64_t)(arg1[23]) << 56);
  uint64_t x10 = ((uint64_t)(arg1[22]) << 48);
  uint64_t x11 = ((uint64_t)(arg1[21]) << 40);
  uint64_t x12 = ((uint64_t)(arg1[20]) << 32);
  uint64_t x13 = ((uint64_t)(arg1[19]) << 24);
  uint64_t x14 = ((uint64_t)(arg1[18]) << 16);
  uint64_t x15 = ((uint64_t)(arg1[17]) << 8);
  uint8_t x16 = (arg1[16]);
  uint64_t x17 = ((uint64_t)(arg1[15]) << 56);
  uint64_t x18 = ((uint64_t)(arg1[14]) << 48);
  uint64_t x19 = ((uint64_t)(arg1[13]) << 40);
  uint64_t x20 = ((uint64_t)(arg1[12]) << 32);
  uint64_t x21 = ((uint64_t)(arg1[11]) << 24);
  uint64_t x22 = ((uint64_t)(arg1[10]) << 16);
  uint64_t x23 = ((uint64_t)(arg1[9]) << 8);
  uint8_t x24 = (arg1[8]);
  uint64_t x25 = ((uint64_t)(arg1[7]) << 56);
  uint64_t x26 = ((uint64_t)(arg1[6]) << 48);
  uint64_t x27 = ((uint64_t)(arg1[5]) << 40);
  uint64_t x28 = ((uint64_t)(arg1[4]) << 32);
  uint64_t x29 = ((uint64_t)(arg1[3]) << 24);
  uint64_t x30 = ((uint64_t)(arg1[2]) << 16);
  uint64_t x31 = ((uint64_t)(arg1[1]) << 8);
  uint8_t x32 = (arg1[0]);
  uint64_t x33 = (x32 + (x31 + (x30 + (x29 + (x28 + (x27 + (x26 + x25)))))));
  uint64_t x34 = (x33 & UINT64_C(0xffffffffffffffff));
  uint64_t x35 = (x8 + (x7 + (x6 + (x5 + (x4 + (x3 + (x2 + x1)))))));
  uint64_t x36 = (x16 + (x15 + (x14 + (x13 + (x12 + (x11 + (x10 + x9)))))));
  uint64_t x37 = (x24 + (x23 + (x22 + (x21 + (x20 + (x19 + (x18 + x17)))))));
  uint64_t x38 = (x37 & UINT64_C(0xffffffffffffffff));
  uint64_t x39 = (x36 & UINT64_C(0xffffffffffffffff));
  out1[0] = x34;
  out1[1] = x38;
  out1[2] = x39;
  out1[3] = x35;
}


x86 assembly (clang, -O0):
<fiat_p256_from_bytes>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    0x7c(%rax),%eax
mov    $0x38,%ecx
shl    %cl,%eax
mov    %eax,-0x14(%rbp)
mov    -0x10(%rbp),%rax
mov    0x78(%rax),%eax
mov    $0x30,%ecx
shl    %cl,%eax
mov    %eax,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    0x74(%rax),%eax
mov    $0x28,%ecx
shl    %cl,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x70(%rax),%eax
mov    $0x20,%ecx
shl    %cl,%eax
mov    %eax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x6c(%rax),%eax
shl    $0x18,%eax
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%rax
mov    0x68(%rax),%eax
shl    $0x10,%eax
mov    %eax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
mov    0x64(%rax),%eax
shl    $0x8,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x60(%rax),%eax
mov    %eax,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    0x5c(%rax),%eax
mov    $0x38,%ecx
shl    %cl,%eax
mov    %eax,-0x34(%rbp)
mov    -0x10(%rbp),%rax
mov    0x58(%rax),%eax
mov    $0x30,%ecx
shl    %cl,%eax
mov    %eax,-0x38(%rbp)
mov    -0x10(%rbp),%rax
mov    0x54(%rax),%eax
mov    $0x28,%ecx
shl    %cl,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x50(%rax),%eax
mov    $0x20,%ecx
shl    %cl,%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
mov    0x4c(%rax),%eax
shl    $0x18,%eax
mov    %eax,-0x44(%rbp)
mov    -0x10(%rbp),%rax
mov    0x48(%rax),%eax
shl    $0x10,%eax
mov    %eax,-0x48(%rbp)
mov    -0x10(%rbp),%rax
mov    0x44(%rax),%eax
shl    $0x8,%eax
mov    %eax,-0x4c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x40(%rax),%eax
mov    %eax,-0x50(%rbp)
mov    -0x10(%rbp),%rax
mov    0x3c(%rax),%eax
mov    $0x38,%ecx
shl    %cl,%eax
mov    %eax,-0x54(%rbp)
mov    -0x10(%rbp),%rax
mov    0x38(%rax),%eax
mov    $0x30,%ecx
shl    %cl,%eax
mov    %eax,-0x58(%rbp)
mov    -0x10(%rbp),%rax
mov    0x34(%rax),%eax
mov    $0x28,%ecx
shl    %cl,%eax
mov    %eax,-0x5c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x30(%rax),%eax
mov    $0x20,%ecx
shl    %cl,%eax
mov    %eax,-0x60(%rbp)
mov    -0x10(%rbp),%rax
mov    0x2c(%rax),%eax
shl    $0x18,%eax
mov    %eax,-0x64(%rbp)
mov    -0x10(%rbp),%rax
mov    0x28(%rax),%eax
shl    $0x10,%eax
mov    %eax,-0x68(%rbp)
mov    -0x10(%rbp),%rax
mov    0x24(%rax),%eax
shl    $0x8,%eax
mov    %eax,-0x6c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%eax
mov    %eax,-0x70(%rbp)
mov    -0x10(%rbp),%rax
mov    0x1c(%rax),%eax
mov    $0x38,%ecx
shl    %cl,%eax
mov    %eax,-0x74(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%eax
mov    $0x30,%ecx
shl    %cl,%eax
mov    %eax,-0x78(%rbp)
mov    -0x10(%rbp),%rax
mov    0x14(%rax),%eax
mov    $0x28,%ecx
shl    %cl,%eax
mov    %eax,-0x7c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%eax
mov    $0x20,%ecx
shl    %cl,%eax
mov    %eax,-0x80(%rbp)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%eax
shl    $0x18,%eax
mov    %eax,-0x84(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%eax
shl    $0x10,%eax
mov    %eax,-0x88(%rbp)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%eax
shl    $0x8,%eax
mov    %eax,-0x8c(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x90(%rbp)
mov    -0x90(%rbp),%eax
mov    -0x8c(%rbp),%ecx
mov    -0x88(%rbp),%edx
mov    -0x84(%rbp),%esi
mov    -0x80(%rbp),%edi
mov    -0x7c(%rbp),%r8d
mov    -0x78(%rbp),%r9d
add    -0x74(%rbp),%r9d
add    %r9d,%r8d
add    %r8d,%edi
add    %edi,%esi
add    %esi,%edx
add    %edx,%ecx
add    %ecx,%eax
mov    %eax,-0x94(%rbp)
mov    -0x94(%rbp),%eax
mov    %eax,-0xb8(%rbp)
mov    $0xffffffff,%edi
call   1030 <UINT64_C@plt>
mov    %eax,%ecx
mov    -0xb8(%rbp),%eax
and    %ecx,%eax
mov    %eax,-0x98(%rbp)
mov    -0x30(%rbp),%eax
mov    -0x2c(%rbp),%ecx
mov    -0x28(%rbp),%edx
mov    -0x24(%rbp),%esi
mov    -0x20(%rbp),%edi
mov    -0x1c(%rbp),%r8d
mov    -0x18(%rbp),%r9d
add    -0x14(%rbp),%r9d
add    %r9d,%r8d
add    %r8d,%edi
add    %edi,%esi
add    %esi,%edx
add    %edx,%ecx
add    %ecx,%eax
mov    %eax,-0x9c(%rbp)
mov    -0x50(%rbp),%eax
mov    -0x4c(%rbp),%ecx
mov    -0x48(%rbp),%edx
mov    -0x44(%rbp),%esi
mov    -0x40(%rbp),%edi
mov    -0x3c(%rbp),%r8d
mov    -0x38(%rbp),%r9d
add    -0x34(%rbp),%r9d
add    %r9d,%r8d
add    %r8d,%edi
add    %edi,%esi
add    %esi,%edx
add    %edx,%ecx
add    %ecx,%eax
mov    %eax,-0xa0(%rbp)
mov    -0x70(%rbp),%eax
mov    -0x6c(%rbp),%ecx
mov    -0x68(%rbp),%edx
mov    -0x64(%rbp),%esi
mov    -0x60(%rbp),%edi
mov    -0x5c(%rbp),%r8d
mov    -0x58(%rbp),%r9d
add    -0x54(%rbp),%r9d
add    %r9d,%r8d
add    %r8d,%edi
add    %edi,%esi
add    %esi,%edx
add    %edx,%ecx
add    %ecx,%eax
mov    %eax,-0xa4(%rbp)
mov    -0xa4(%rbp),%eax
mov    %eax,-0xb4(%rbp)
mov    $0xffffffff,%edi
call   1030 <UINT64_C@plt>
mov    %eax,%ecx
mov    -0xb4(%rbp),%eax
and    %ecx,%eax
mov    %eax,-0xa8(%rbp)
mov    -0xa0(%rbp),%eax
mov    %eax,-0xb0(%rbp)
mov    $0xffffffff,%edi
call   1030 <UINT64_C@plt>
mov    %eax,%ecx
mov    -0xb0(%rbp),%eax
and    %ecx,%eax
mov    %eax,-0xac(%rbp)
mov    -0x98(%rbp),%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xa8(%rbp),%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0xac(%rbp),%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x9c(%rbp),%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fiat_p256_from_bytes>:
push   %rax
mov    $0xffffffff,%edi
call   1030 <UINT64_C@plt>
mov    $0xffffffff,%edi
call   1030 <UINT64_C@plt>
mov    $0xffffffff,%edi
pop    %rax
jmp    1030 <UINT64_C@plt>

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

LLVM IR (-O2):
define void @fiat_p256_from_bytes(i32* nocapture readnone %0, i32* nocapture readnone %1) {
%3 = tail call i32 @UINT64_C(i32 -1)
%4 = tail call i32 @UINT64_C(i32 -1)
%5 = tail call i32 @UINT64_C(i32 -1)
ret void
}