#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_p448_opp(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;
  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 = ((uintptr_t)144115188075855870ULL) - (x0);
  x9 = ((uintptr_t)144115188075855870ULL) - (x1);
  x10 = ((uintptr_t)144115188075855870ULL) - (x2);
  x11 = ((uintptr_t)144115188075855870ULL) - (x3);
  x12 = ((uintptr_t)144115188075855868ULL) - (x4);
  x13 = ((uintptr_t)144115188075855870ULL) - (x5);
  x14 = ((uintptr_t)144115188075855870ULL) - (x6);
  x15 = ((uintptr_t)144115188075855870ULL) - (x7);
  x16 = x8;
  x17 = x9;
  x18 = x10;
  x19 = x11;
  x20 = x12;
  x21 = x13;
  x22 = x14;
  x23 = x15;
  _br2_store((out0) + ((uintptr_t)0ULL), x16, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)8ULL), x17, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)16ULL), x18, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)24ULL), x19, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)32ULL), x20, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)40ULL), x21, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)48ULL), x22, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)56ULL), x23, sizeof(uintptr_t));
  return;
}


x86 assembly (clang, -O0):
<internal_fiat_p448_opp>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%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)
movabs $0x1fffffffffffffe,%rax
ff ff 01
sub    -0x18(%rbp),%rax
mov    %rax,-0x58(%rbp)
movabs $0x1fffffffffffffe,%rax
ff ff 01
sub    -0x20(%rbp),%rax
mov    %rax,-0x60(%rbp)
movabs $0x1fffffffffffffe,%rax
ff ff 01
sub    -0x28(%rbp),%rax
mov    %rax,-0x68(%rbp)
movabs $0x1fffffffffffffe,%rax
ff ff 01
sub    -0x30(%rbp),%rax
mov    %rax,-0x70(%rbp)
movabs $0x1fffffffffffffc,%rax
ff ff 01
sub    -0x38(%rbp),%rax
mov    %rax,-0x78(%rbp)
movabs $0x1fffffffffffffe,%rax
ff ff 01
sub    -0x40(%rbp),%rax
mov    %rax,-0x80(%rbp)
movabs $0x1fffffffffffffe,%rax
ff ff 01
sub    -0x48(%rbp),%rax
mov    %rax,-0x88(%rbp)
movabs $0x1fffffffffffffe,%rax
ff ff 01
sub    -0x50(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    -0x58(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    -0x60(%rbp),%rax
mov    %rax,-0xa0(%rbp)
mov    -0x68(%rbp),%rax
mov    %rax,-0xa8(%rbp)
mov    -0x70(%rbp),%rax
mov    %rax,-0xb0(%rbp)
mov    -0x78(%rbp),%rax
mov    %rax,-0xb8(%rbp)
mov    -0x80(%rbp),%rax
mov    %rax,-0xc0(%rbp)
mov    -0x88(%rbp),%rax
mov    %rax,-0xc8(%rbp)
mov    -0x90(%rbp),%rax
mov    %rax,-0xd0(%rbp)
mov    -0x8(%rbp),%rax
add    $0x0,%rax
mov    %eax,%edi
mov    -0x98(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x8,%rax
mov    %eax,%edi
mov    -0xa0(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x10,%rax
mov    %eax,%edi
mov    -0xa8(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x18,%rax
mov    %eax,%edi
mov    -0xb0(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x20,%rax
mov    %eax,%edi
mov    -0xb8(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x28,%rax
mov    %eax,%edi
mov    -0xc0(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x30,%rax
mov    %eax,%edi
mov    -0xc8(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x38,%rax
mov    %eax,%edi
mov    -0xd0(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
add    $0xd0,%rsp
pop    %rbp
ret

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

LLVM IR (-O2):
define void @internal_fiat_p448_opp(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 = sub i64 144115188075855870, %4
%20 = sub i64 144115188075855870, %6
%21 = sub i64 144115188075855870, %8
%22 = sub i64 144115188075855870, %10
%23 = sub i64 144115188075855868, %12
%24 = sub i64 144115188075855870, %14
%25 = sub i64 144115188075855870, %16
%26 = sub i64 144115188075855870, %18
%27 = trunc i64 %0 to i32
%28 = tail call i32 @_br2_store(i32 %27, i64 %19, i32 8)
%29 = add i32 %27, 8
%30 = tail call i32 @_br2_store(i32 %29, i64 %20, i32 8)
%31 = add i32 %27, 16
%32 = tail call i32 @_br2_store(i32 %31, i64 %21, i32 8)
%33 = add i32 %27, 24
%34 = tail call i32 @_br2_store(i32 %33, i64 %22, i32 8)
%35 = add i32 %27, 32
%36 = tail call i32 @_br2_store(i32 %35, i64 %23, i32 8)
%37 = add i32 %27, 40
%38 = tail call i32 @_br2_store(i32 %37, i64 %24, i32 8)
%39 = add i32 %27, 48
%40 = tail call i32 @_br2_store(i32 %39, i64 %25, i32 8)
%41 = add i32 %27, 56
%42 = tail call i32 @_br2_store(i32 %41, i64 %26, i32 8)
ret void
}