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

/* Variables and functions */
uintptr_t _br2_load(int /*<<< orphan*/, int);
int /*<<< orphan*/ _br2_store(int /*<<< orphan*/, uintptr_t, int);
void internal_fiat_p521_relax(uintptr_t out0, uintptr_t in0) {
  uintptr_t x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14,
      x15, x16, x17, x18, x19, x20, x21, x22, x23, x24, x25, x26;
  x0 = _br2_load((in0) + ((uintptr_t)0ULL), sizeof(uintptr_t));
  x1 = _br2_load((in0) + ((uintptr_t)8ULL), sizeof(uintptr_t));
  x2 = _br2_load((in0) + ((uintptr_t)16ULL), sizeof(uintptr_t));
  x3 = _br2_load((in0) + ((uintptr_t)24ULL), sizeof(uintptr_t));
  x4 = _br2_load((in0) + ((uintptr_t)32ULL), sizeof(uintptr_t));
  x5 = _br2_load((in0) + ((uintptr_t)40ULL), sizeof(uintptr_t));
  x6 = _br2_load((in0) + ((uintptr_t)48ULL), sizeof(uintptr_t));
  x7 = _br2_load((in0) + ((uintptr_t)56ULL), sizeof(uintptr_t));
  x8 = _br2_load((in0) + ((uintptr_t)64ULL), sizeof(uintptr_t));
  x9 = x0;
  x10 = x1;
  x11 = x2;
  x12 = x3;
  x13 = x4;
  x14 = x5;
  x15 = x6;
  x16 = x7;
  x17 = x8;
  x18 = x9;
  x19 = x10;
  x20 = x11;
  x21 = x12;
  x22 = x13;
  x23 = x14;
  x24 = x15;
  x25 = x16;
  x26 = x17;
  _br2_store((out0) + ((uintptr_t)0ULL), x18, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)8ULL), x19, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)16ULL), x20, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)24ULL), x21, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)32ULL), x22, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)40ULL), x23, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)48ULL), x24, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)56ULL), x25, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)64ULL), x26, sizeof(uintptr_t));
  return;
}


x86 assembly (clang, -O0):
<internal_fiat_p521_relax>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
add    $0x0,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
add    $0x10,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
add    $0x18,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x30(%rbp)
mov    -0x10(%rbp),%rax
add    $0x20,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x38(%rbp)
mov    -0x10(%rbp),%rax
add    $0x28,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
add    $0x30,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x48(%rbp)
mov    -0x10(%rbp),%rax
add    $0x38,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x50(%rbp)
mov    -0x10(%rbp),%rax
add    $0x40,%rax
mov    %eax,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,-0x58(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    -0x38(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    -0x40(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    -0x50(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    -0x58(%rbp),%rax
mov    %rax,-0xa0(%rbp)
mov    -0x60(%rbp),%rax
mov    %rax,-0xa8(%rbp)
mov    -0x68(%rbp),%rax
mov    %rax,-0xb0(%rbp)
mov    -0x70(%rbp),%rax
mov    %rax,-0xb8(%rbp)
mov    -0x78(%rbp),%rax
mov    %rax,-0xc0(%rbp)
mov    -0x80(%rbp),%rax
mov    %rax,-0xc8(%rbp)
mov    -0x88(%rbp),%rax
mov    %rax,-0xd0(%rbp)
mov    -0x90(%rbp),%rax
mov    %rax,-0xd8(%rbp)
mov    -0x98(%rbp),%rax
mov    %rax,-0xe0(%rbp)
mov    -0xa0(%rbp),%rax
mov    %rax,-0xe8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x0,%rax
mov    %eax,%edi
mov    -0xa8(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x8,%rax
mov    %eax,%edi
mov    -0xb0(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x10,%rax
mov    %eax,%edi
mov    -0xb8(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x18,%rax
mov    %eax,%edi
mov    -0xc0(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x20,%rax
mov    %eax,%edi
mov    -0xc8(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x28,%rax
mov    %eax,%edi
mov    -0xd0(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x30,%rax
mov    %eax,%edi
mov    -0xd8(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x38,%rax
mov    %eax,%edi
mov    -0xe0(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x40,%rax
mov    %eax,%edi
mov    -0xe8(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<internal_fiat_p521_relax>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rsi,%rbx
mov    %rdi,%r14
mov    %ebx,%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,%r12
lea    0x10(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r13
lea    0x18(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%rbp
lea    0x20(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x20(%rsp)
lea    0x28(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x18(%rsp)
lea    0x30(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x10(%rsp)
lea    0x38(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x8(%rsp)
add    $0x40,%ebx
mov    %ebx,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%rbx
mov    %r14d,%edi
mov    %r15,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x8(%r14),%edi
mov    %r12,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x10(%r14),%edi
mov    %r13,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x18(%r14),%edi
mov    %rbp,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x20(%r14),%edi
mov    0x20(%rsp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x28(%r14),%edi
mov    0x18(%rsp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x30(%r14),%edi
mov    0x10(%rsp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x38(%r14),%edi
mov    0x8(%rsp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
add    $0x40,%r14d
mov    %r14d,%edi
mov    %rbx,%rsi
mov    $0x8,%edx
add    $0x28,%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_p521_relax(i64 %0, i64 %1) {
%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
%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
store i64 %0, i64* %3
store i64 %1, i64* %4
%32 = load i64, i64* %4
%33 = add i64 %32, 0
%34 = trunc i64 %33 to i32
%35 = call i64 @_br2_load(i32 %34, i32 8)
store i64 %35, i64* %5
%36 = load i64, i64* %4
%37 = add i64 %36, 8
%38 = trunc i64 %37 to i32
%39 = call i64 @_br2_load(i32 %38, i32 8)
store i64 %39, i64* %6
%40 = load i64, i64* %4
%41 = add i64 %40, 16
%42 = trunc i64 %41 to i32
%43 = call i64 @_br2_load(i32 %42, i32 8)
store i64 %43, i64* %7
%44 = load i64, i64* %4
%45 = add i64 %44, 24
%46 = trunc i64 %45 to i32
%47 = call i64 @_br2_load(i32 %46, i32 8)
store i64 %47, i64* %8
%48 = load i64, i64* %4
%49 = add i64 %48, 32
%50 = trunc i64 %49 to i32
%51 = call i64 @_br2_load(i32 %50, i32 8)
store i64 %51, i64* %9
%52 = load i64, i64* %4
%53 = add i64 %52, 40
%54 = trunc i64 %53 to i32
%55 = call i64 @_br2_load(i32 %54, i32 8)
store i64 %55, i64* %10
%56 = load i64, i64* %4
%57 = add i64 %56, 48
%58 = trunc i64 %57 to i32
%59 = call i64 @_br2_load(i32 %58, i32 8)
store i64 %59, i64* %11
%60 = load i64, i64* %4
%61 = add i64 %60, 56
%62 = trunc i64 %61 to i32
%63 = call i64 @_br2_load(i32 %62, i32 8)
store i64 %63, i64* %12
%64 = load i64, i64* %4
%65 = add i64 %64, 64
%66 = trunc i64 %65 to i32
%67 = call i64 @_br2_load(i32 %66, i32 8)
store i64 %67, i64* %13
%68 = load i64, i64* %5
store i64 %68, i64* %14
%69 = load i64, i64* %6
store i64 %69, i64* %15
%70 = load i64, i64* %7
store i64 %70, i64* %16
%71 = load i64, i64* %8
store i64 %71, i64* %17
%72 = load i64, i64* %9
store i64 %72, i64* %18
%73 = load i64, i64* %10
store i64 %73, i64* %19
%74 = load i64, i64* %11
store i64 %74, i64* %20
%75 = load i64, i64* %12
store i64 %75, i64* %21
%76 = load i64, i64* %13
store i64 %76, i64* %22
%77 = load i64, i64* %14
store i64 %77, i64* %23
%78 = load i64, i64* %15
store i64 %78, i64* %24
%79 = load i64, i64* %16
store i64 %79, i64* %25
%80 = load i64, i64* %17
store i64 %80, i64* %26
%81 = load i64, i64* %18
store i64 %81, i64* %27
%82 = load i64, i64* %19
store i64 %82, i64* %28
%83 = load i64, i64* %20
store i64 %83, i64* %29
%84 = load i64, i64* %21
store i64 %84, i64* %30
%85 = load i64, i64* %22
store i64 %85, i64* %31
%86 = load i64, i64* %3
%87 = add i64 %86, 0
%88 = trunc i64 %87 to i32
%89 = load i64, i64* %23
%90 = call i32 @_br2_store(i32 %88, i64 %89, i32 8)
%91 = load i64, i64* %3
%92 = add i64 %91, 8
%93 = trunc i64 %92 to i32
%94 = load i64, i64* %24
%95 = call i32 @_br2_store(i32 %93, i64 %94, i32 8)
%96 = load i64, i64* %3
%97 = add i64 %96, 16
%98 = trunc i64 %97 to i32
%99 = load i64, i64* %25
%100 = call i32 @_br2_store(i32 %98, i64 %99, i32 8)
%101 = load i64, i64* %3
%102 = add i64 %101, 24
%103 = trunc i64 %102 to i32
%104 = load i64, i64* %26
%105 = call i32 @_br2_store(i32 %103, i64 %104, i32 8)
%106 = load i64, i64* %3
%107 = add i64 %106, 32
%108 = trunc i64 %107 to i32
%109 = load i64, i64* %27
%110 = call i32 @_br2_store(i32 %108, i64 %109, i32 8)
%111 = load i64, i64* %3
%112 = add i64 %111, 40
%113 = trunc i64 %112 to i32
%114 = load i64, i64* %28
%115 = call i32 @_br2_store(i32 %113, i64 %114, i32 8)
%116 = load i64, i64* %3
%117 = add i64 %116, 48
%118 = trunc i64 %117 to i32
%119 = load i64, i64* %29
%120 = call i32 @_br2_store(i32 %118, i64 %119, i32 8)
%121 = load i64, i64* %3
%122 = add i64 %121, 56
%123 = trunc i64 %122 to i32
%124 = load i64, i64* %30
%125 = call i32 @_br2_store(i32 %123, i64 %124, i32 8)
%126 = load i64, i64* %3
%127 = add i64 %126, 64
%128 = trunc i64 %127 to i32
%129 = load i64, i64* %31
%130 = call i32 @_br2_store(i32 %128, i64 %129, i32 8)
ret void
}

LLVM IR (-O2):
define void @internal_fiat_p521_relax(i64 %0, i64 %1) {
%3 = trunc i64 %1 to i32
%4 = tail call i64 @_br2_load(i32 %3, i32 8)
%5 = add i32 %3, 8
%6 = tail call i64 @_br2_load(i32 %5, i32 8)
%7 = add i32 %3, 16
%8 = tail call i64 @_br2_load(i32 %7, i32 8)
%9 = add i32 %3, 24
%10 = tail call i64 @_br2_load(i32 %9, i32 8)
%11 = add i32 %3, 32
%12 = tail call i64 @_br2_load(i32 %11, i32 8)
%13 = add i32 %3, 40
%14 = tail call i64 @_br2_load(i32 %13, i32 8)
%15 = add i32 %3, 48
%16 = tail call i64 @_br2_load(i32 %15, i32 8)
%17 = add i32 %3, 56
%18 = tail call i64 @_br2_load(i32 %17, i32 8)
%19 = add i32 %3, 64
%20 = tail call i64 @_br2_load(i32 %19, i32 8)
%21 = trunc i64 %0 to i32
%22 = tail call i32 @_br2_store(i32 %21, i64 %4, i32 8)
%23 = add i32 %21, 8
%24 = tail call i32 @_br2_store(i32 %23, i64 %6, i32 8)
%25 = add i32 %21, 16
%26 = tail call i32 @_br2_store(i32 %25, i64 %8, i32 8)
%27 = add i32 %21, 24
%28 = tail call i32 @_br2_store(i32 %27, i64 %10, i32 8)
%29 = add i32 %21, 32
%30 = tail call i32 @_br2_store(i32 %29, i64 %12, i32 8)
%31 = add i32 %21, 40
%32 = tail call i32 @_br2_store(i32 %31, i64 %14, i32 8)
%33 = add i32 %21, 48
%34 = tail call i32 @_br2_store(i32 %33, i64 %16, i32 8)
%35 = add i32 %21, 56
%36 = tail call i32 @_br2_store(i32 %35, i64 %18, i32 8)
%37 = add i32 %21, 64
%38 = tail call i32 @_br2_store(i32 %37, i64 %20, i32 8)
ret void
}