#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 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 x1;
typedef uintptr_t x0;
typedef int /*<<< orphan*/ out0;
typedef int /*<<< orphan*/ in1;
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_add(uintptr_t out0, uintptr_t in0, uintptr_t in1) {
  uintptr_t x0, x9, x1, x10, x2, x11, x3, x12, x4, x13, x5, x14, x6, x15, x7,
      x16, x8, x17, x18, x19, x20, x21, x22, x23, x24, x25, x26, x27, x28, x29,
      x30, x31, x32, x33, x34, x35;
  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 = _br2_load((in1) + ((uintptr_t)0ULL), sizeof(uintptr_t));
  x10 = _br2_load((in1) + ((uintptr_t)8ULL), sizeof(uintptr_t));
  x11 = _br2_load((in1) + ((uintptr_t)16ULL), sizeof(uintptr_t));
  x12 = _br2_load((in1) + ((uintptr_t)24ULL), sizeof(uintptr_t));
  x13 = _br2_load((in1) + ((uintptr_t)32ULL), sizeof(uintptr_t));
  x14 = _br2_load((in1) + ((uintptr_t)40ULL), sizeof(uintptr_t));
  x15 = _br2_load((in1) + ((uintptr_t)48ULL), sizeof(uintptr_t));
  x16 = _br2_load((in1) + ((uintptr_t)56ULL), sizeof(uintptr_t));
  x17 = _br2_load((in1) + ((uintptr_t)64ULL), sizeof(uintptr_t));
  x18 = (x0) + (x9);
  x19 = (x1) + (x10);
  x20 = (x2) + (x11);
  x21 = (x3) + (x12);
  x22 = (x4) + (x13);
  x23 = (x5) + (x14);
  x24 = (x6) + (x15);
  x25 = (x7) + (x16);
  x26 = (x8) + (x17);
  x27 = x18;
  x28 = x19;
  x29 = x20;
  x30 = x21;
  x31 = x22;
  x32 = x23;
  x33 = x24;
  x34 = x25;
  x35 = x26;
  _br2_store((out0) + ((uintptr_t)0ULL), x27, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)8ULL), x28, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)16ULL), x29, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)24ULL), x30, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)32ULL), x31, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)40ULL), x32, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)48ULL), x33, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)56ULL), x34, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)64ULL), x35, sizeof(uintptr_t));
  return;
}


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

x86 assembly (clang, -O2):
<internal_fiat_p521_add>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
mov    %rdx,%rbx
mov    %rsi,%rbp
mov    %rdi,0x30(%rsp)
mov    %ebp,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x10(%rsp)
lea    0x8(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x8(%rsp)
lea    0x10(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,(%rsp)
lea    0x18(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x60(%rsp)
lea    0x20(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x58(%rsp)
lea    0x28(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x50(%rsp)
lea    0x30(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x48(%rsp)
lea    0x38(%rbp),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x40(%rsp)
add    $0x40,%ebp
mov    %ebp,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x38(%rsp)
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,%r13
lea    0x10(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x28(%rsp)
lea    0x18(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r12
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,0x20(%rsp)
lea    0x30(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%rbp
lea    0x38(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,0x18(%rsp)
add    $0x40,%ebx
mov    %ebx,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %r15,%rsi
add    0x10(%rsp),%rsi
add    0x8(%rsp),%r13
mov    0x28(%rsp),%r15
add    (%rsp),%r15
add    0x60(%rsp),%r12
mov    %r12,(%rsp)
add    0x58(%rsp),%r14
mov    %r14,0x8(%rsp)
mov    0x20(%rsp),%r12
add    0x50(%rsp),%r12
add    0x48(%rsp),%rbp
mov    %rbp,0x10(%rsp)
mov    0x18(%rsp),%rbp
add    0x40(%rsp),%rbp
mov    0x38(%rsp),%r14
add    %rax,%r14
mov    0x30(%rsp),%rbx
mov    %ebx,%edi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x8(%rbx),%edi
mov    %r13,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x10(%rbx),%edi
mov    %r15,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x18(%rbx),%edi
mov    (%rsp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x20(%rbx),%edi
mov    0x8(%rsp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x28(%rbx),%edi
mov    %r12,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x30(%rbx),%edi
mov    0x10(%rsp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x38(%rbx),%edi
mov    %rbp,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
add    $0x40,%ebx
mov    %ebx,%edi
mov    %r14,%rsi
mov    $0x8,%edx
add    $0x68,%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_add(i64 %0, i64 %1, i64 %2) {
%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
%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
store i64 %0, i64* %4
store i64 %1, i64* %5
store i64 %2, i64* %6
%43 = load i64, i64* %5
%44 = add i64 %43, 0
%45 = trunc i64 %44 to i32
%46 = call i64 @_br2_load(i32 %45, i32 8)
store i64 %46, i64* %7
%47 = load i64, i64* %5
%48 = add i64 %47, 8
%49 = trunc i64 %48 to i32
%50 = call i64 @_br2_load(i32 %49, i32 8)
store i64 %50, i64* %9
%51 = load i64, i64* %5
%52 = add i64 %51, 16
%53 = trunc i64 %52 to i32
%54 = call i64 @_br2_load(i32 %53, i32 8)
store i64 %54, i64* %11
%55 = load i64, i64* %5
%56 = add i64 %55, 24
%57 = trunc i64 %56 to i32
%58 = call i64 @_br2_load(i32 %57, i32 8)
store i64 %58, i64* %13
%59 = load i64, i64* %5
%60 = add i64 %59, 32
%61 = trunc i64 %60 to i32
%62 = call i64 @_br2_load(i32 %61, i32 8)
store i64 %62, i64* %15
%63 = load i64, i64* %5
%64 = add i64 %63, 40
%65 = trunc i64 %64 to i32
%66 = call i64 @_br2_load(i32 %65, i32 8)
store i64 %66, i64* %17
%67 = load i64, i64* %5
%68 = add i64 %67, 48
%69 = trunc i64 %68 to i32
%70 = call i64 @_br2_load(i32 %69, i32 8)
store i64 %70, i64* %19
%71 = load i64, i64* %5
%72 = add i64 %71, 56
%73 = trunc i64 %72 to i32
%74 = call i64 @_br2_load(i32 %73, i32 8)
store i64 %74, i64* %21
%75 = load i64, i64* %5
%76 = add i64 %75, 64
%77 = trunc i64 %76 to i32
%78 = call i64 @_br2_load(i32 %77, i32 8)
store i64 %78, i64* %23
%79 = load i64, i64* %6
%80 = add i64 %79, 0
%81 = trunc i64 %80 to i32
%82 = call i64 @_br2_load(i32 %81, i32 8)
store i64 %82, i64* %8
%83 = load i64, i64* %6
%84 = add i64 %83, 8
%85 = trunc i64 %84 to i32
%86 = call i64 @_br2_load(i32 %85, i32 8)
store i64 %86, i64* %10
%87 = load i64, i64* %6
%88 = add i64 %87, 16
%89 = trunc i64 %88 to i32
%90 = call i64 @_br2_load(i32 %89, i32 8)
store i64 %90, i64* %12
%91 = load i64, i64* %6
%92 = add i64 %91, 24
%93 = trunc i64 %92 to i32
%94 = call i64 @_br2_load(i32 %93, i32 8)
store i64 %94, i64* %14
%95 = load i64, i64* %6
%96 = add i64 %95, 32
%97 = trunc i64 %96 to i32
%98 = call i64 @_br2_load(i32 %97, i32 8)
store i64 %98, i64* %16
%99 = load i64, i64* %6
%100 = add i64 %99, 40
%101 = trunc i64 %100 to i32
%102 = call i64 @_br2_load(i32 %101, i32 8)
store i64 %102, i64* %18
%103 = load i64, i64* %6
%104 = add i64 %103, 48
%105 = trunc i64 %104 to i32
%106 = call i64 @_br2_load(i32 %105, i32 8)
store i64 %106, i64* %20
%107 = load i64, i64* %6
%108 = add i64 %107, 56
%109 = trunc i64 %108 to i32
%110 = call i64 @_br2_load(i32 %109, i32 8)
store i64 %110, i64* %22
%111 = load i64, i64* %6
%112 = add i64 %111, 64
%113 = trunc i64 %112 to i32
%114 = call i64 @_br2_load(i32 %113, i32 8)
store i64 %114, i64* %24
%115 = load i64, i64* %7
%116 = load i64, i64* %8
%117 = add i64 %115, %116
store i64 %117, i64* %25
%118 = load i64, i64* %9
%119 = load i64, i64* %10
%120 = add i64 %118, %119
store i64 %120, i64* %26
%121 = load i64, i64* %11
%122 = load i64, i64* %12
%123 = add i64 %121, %122
store i64 %123, i64* %27
%124 = load i64, i64* %13
%125 = load i64, i64* %14
%126 = add i64 %124, %125
store i64 %126, i64* %28
%127 = load i64, i64* %15
%128 = load i64, i64* %16
%129 = add i64 %127, %128
store i64 %129, i64* %29
%130 = load i64, i64* %17
%131 = load i64, i64* %18
%132 = add i64 %130, %131
store i64 %132, i64* %30
%133 = load i64, i64* %19
%134 = load i64, i64* %20
%135 = add i64 %133, %134
store i64 %135, i64* %31
%136 = load i64, i64* %21
%137 = load i64, i64* %22
%138 = add i64 %136, %137
store i64 %138, i64* %32
%139 = load i64, i64* %23
%140 = load i64, i64* %24
%141 = add i64 %139, %140
store i64 %141, i64* %33
%142 = load i64, i64* %25
store i64 %142, i64* %34
%143 = load i64, i64* %26
store i64 %143, i64* %35
%144 = load i64, i64* %27
store i64 %144, i64* %36
%145 = load i64, i64* %28
store i64 %145, i64* %37
%146 = load i64, i64* %29
store i64 %146, i64* %38
%147 = load i64, i64* %30
store i64 %147, i64* %39
%148 = load i64, i64* %31
store i64 %148, i64* %40
%149 = load i64, i64* %32
store i64 %149, i64* %41
%150 = load i64, i64* %33
store i64 %150, i64* %42
%151 = load i64, i64* %4
%152 = add i64 %151, 0
%153 = trunc i64 %152 to i32
%154 = load i64, i64* %34
%155 = call i32 @_br2_store(i32 %153, i64 %154, i32 8)
%156 = load i64, i64* %4
%157 = add i64 %156, 8
%158 = trunc i64 %157 to i32
%159 = load i64, i64* %35
%160 = call i32 @_br2_store(i32 %158, i64 %159, i32 8)
%161 = load i64, i64* %4
%162 = add i64 %161, 16
%163 = trunc i64 %162 to i32
%164 = load i64, i64* %36
%165 = call i32 @_br2_store(i32 %163, i64 %164, i32 8)
%166 = load i64, i64* %4
%167 = add i64 %166, 24
%168 = trunc i64 %167 to i32
%169 = load i64, i64* %37
%170 = call i32 @_br2_store(i32 %168, i64 %169, i32 8)
%171 = load i64, i64* %4
%172 = add i64 %171, 32
%173 = trunc i64 %172 to i32
%174 = load i64, i64* %38
%175 = call i32 @_br2_store(i32 %173, i64 %174, i32 8)
%176 = load i64, i64* %4
%177 = add i64 %176, 40
%178 = trunc i64 %177 to i32
%179 = load i64, i64* %39
%180 = call i32 @_br2_store(i32 %178, i64 %179, i32 8)
%181 = load i64, i64* %4
%182 = add i64 %181, 48
%183 = trunc i64 %182 to i32
%184 = load i64, i64* %40
%185 = call i32 @_br2_store(i32 %183, i64 %184, i32 8)
%186 = load i64, i64* %4
%187 = add i64 %186, 56
%188 = trunc i64 %187 to i32
%189 = load i64, i64* %41
%190 = call i32 @_br2_store(i32 %188, i64 %189, i32 8)
%191 = load i64, i64* %4
%192 = add i64 %191, 64
%193 = trunc i64 %192 to i32
%194 = load i64, i64* %42
%195 = call i32 @_br2_store(i32 %193, i64 %194, i32 8)
ret void
}

LLVM IR (-O2):
define void @internal_fiat_p521_add(i64 %0, i64 %1, i64 %2) {
%4 = trunc i64 %1 to i32
%5 = tail call i64 @_br2_load(i32 %4, i32 8)
%6 = add i32 %4, 8
%7 = tail call i64 @_br2_load(i32 %6, i32 8)
%8 = add i32 %4, 16
%9 = tail call i64 @_br2_load(i32 %8, i32 8)
%10 = add i32 %4, 24
%11 = tail call i64 @_br2_load(i32 %10, i32 8)
%12 = add i32 %4, 32
%13 = tail call i64 @_br2_load(i32 %12, i32 8)
%14 = add i32 %4, 40
%15 = tail call i64 @_br2_load(i32 %14, i32 8)
%16 = add i32 %4, 48
%17 = tail call i64 @_br2_load(i32 %16, i32 8)
%18 = add i32 %4, 56
%19 = tail call i64 @_br2_load(i32 %18, i32 8)
%20 = add i32 %4, 64
%21 = tail call i64 @_br2_load(i32 %20, i32 8)
%22 = trunc i64 %2 to i32
%23 = tail call i64 @_br2_load(i32 %22, i32 8)
%24 = add i32 %22, 8
%25 = tail call i64 @_br2_load(i32 %24, i32 8)
%26 = add i32 %22, 16
%27 = tail call i64 @_br2_load(i32 %26, i32 8)
%28 = add i32 %22, 24
%29 = tail call i64 @_br2_load(i32 %28, i32 8)
%30 = add i32 %22, 32
%31 = tail call i64 @_br2_load(i32 %30, i32 8)
%32 = add i32 %22, 40
%33 = tail call i64 @_br2_load(i32 %32, i32 8)
%34 = add i32 %22, 48
%35 = tail call i64 @_br2_load(i32 %34, i32 8)
%36 = add i32 %22, 56
%37 = tail call i64 @_br2_load(i32 %36, i32 8)
%38 = add i32 %22, 64
%39 = tail call i64 @_br2_load(i32 %38, i32 8)
%40 = add i64 %23, %5
%41 = add i64 %25, %7
%42 = add i64 %27, %9
%43 = add i64 %29, %11
%44 = add i64 %31, %13
%45 = add i64 %33, %15
%46 = add i64 %35, %17
%47 = add i64 %37, %19
%48 = add i64 %39, %21
%49 = trunc i64 %0 to i32
%50 = tail call i32 @_br2_store(i32 %49, i64 %40, i32 8)
%51 = add i32 %49, 8
%52 = tail call i32 @_br2_store(i32 %51, i64 %41, i32 8)
%53 = add i32 %49, 16
%54 = tail call i32 @_br2_store(i32 %53, i64 %42, i32 8)
%55 = add i32 %49, 24
%56 = tail call i32 @_br2_store(i32 %55, i64 %43, i32 8)
%57 = add i32 %49, 32
%58 = tail call i32 @_br2_store(i32 %57, i64 %44, i32 8)
%59 = add i32 %49, 40
%60 = tail call i32 @_br2_store(i32 %59, i64 %45, i32 8)
%61 = add i32 %49, 48
%62 = tail call i32 @_br2_store(i32 %61, i64 %46, i32 8)
%63 = add i32 %49, 56
%64 = tail call i32 @_br2_store(i32 %63, i64 %47, i32 8)
%65 = add i32 %49, 64
%66 = tail call i32 @_br2_store(i32 %65, i64 %48, i32 8)
ret void
}