#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_poly1305_opp(uintptr_t out0, uintptr_t in0) {
  uintptr_t x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14;
  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 = ((uintptr_t)134217718ULL) - (x0);
  x6 = ((uintptr_t)134217726ULL) - (x1);
  x7 = ((uintptr_t)134217726ULL) - (x2);
  x8 = ((uintptr_t)134217726ULL) - (x3);
  x9 = ((uintptr_t)134217726ULL) - (x4);
  x10 = x5;
  x11 = x6;
  x12 = x7;
  x13 = x8;
  x14 = x9;
  _br2_store((out0) + ((uintptr_t)0ULL), x10, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)4ULL), x11, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)8ULL), x12, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)12ULL), x13, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)16ULL), x14, sizeof(uintptr_t));
  return;
}


x86 assembly (clang, -O0):
<internal_fiat_poly1305_opp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%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    $0x4,%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,-0x28(%rbp)
mov    -0x10(%rbp),%rax
add    $0xc,%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,-0x38(%rbp)
mov    $0x7fffff6,%eax
sub    -0x18(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    $0x7fffffe,%eax
sub    -0x20(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    $0x7fffffe,%eax
sub    -0x28(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    $0x7fffffe,%eax
sub    -0x30(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    $0x7fffffe,%eax
sub    -0x38(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x40(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    -0x50(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    -0x58(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    -0x60(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    -0x8(%rbp),%rax
add    $0x0,%rax
mov    %eax,%edi
mov    -0x68(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x4,%rax
mov    %eax,%edi
mov    -0x70(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x8,%rax
mov    %eax,%edi
mov    -0x78(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0xc,%rax
mov    %eax,%edi
mov    -0x80(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x10,%rax
mov    %eax,%edi
mov    -0x88(%rbp),%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<internal_fiat_poly1305_opp>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %rdi,%r15
mov    %ebx,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r14
lea    0x4(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r13
lea    0x8(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,(%rsp)
lea    0xc(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%rbp
add    $0x10,%ebx
mov    %ebx,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    $0x7fffff6,%esi
sub    %r14,%rsi
mov    $0x7fffffe,%r14d
mov    $0x7fffffe,%r12d
sub    %r13,%r12
mov    $0x7fffffe,%r13d
sub    (%rsp),%r13
mov    $0x7fffffe,%ebx
sub    %rbp,%rbx
sub    %rax,%r14
mov    %r15d,%edi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x4(%r15),%edi
mov    %r12,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x8(%r15),%edi
mov    %r13,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0xc(%r15),%edi
mov    %rbx,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
add    $0x10,%r15d
mov    %r15d,%edi
mov    %r14,%rsi
mov    $0x8,%edx
add    $0x8,%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_poly1305_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
store i64 %0, i64* %3
store i64 %1, i64* %4
%20 = load i64, i64* %4
%21 = add i64 %20, 0
%22 = trunc i64 %21 to i32
%23 = call i64 @_br2_load(i32 %22, i32 8)
store i64 %23, i64* %5
%24 = load i64, i64* %4
%25 = add i64 %24, 4
%26 = trunc i64 %25 to i32
%27 = call i64 @_br2_load(i32 %26, i32 8)
store i64 %27, i64* %6
%28 = load i64, i64* %4
%29 = add i64 %28, 8
%30 = trunc i64 %29 to i32
%31 = call i64 @_br2_load(i32 %30, i32 8)
store i64 %31, i64* %7
%32 = load i64, i64* %4
%33 = add i64 %32, 12
%34 = trunc i64 %33 to i32
%35 = call i64 @_br2_load(i32 %34, i32 8)
store i64 %35, i64* %8
%36 = load i64, i64* %4
%37 = add i64 %36, 16
%38 = trunc i64 %37 to i32
%39 = call i64 @_br2_load(i32 %38, i32 8)
store i64 %39, i64* %9
%40 = load i64, i64* %5
%41 = sub i64 134217718, %40
store i64 %41, i64* %10
%42 = load i64, i64* %6
%43 = sub i64 134217726, %42
store i64 %43, i64* %11
%44 = load i64, i64* %7
%45 = sub i64 134217726, %44
store i64 %45, i64* %12
%46 = load i64, i64* %8
%47 = sub i64 134217726, %46
store i64 %47, i64* %13
%48 = load i64, i64* %9
%49 = sub i64 134217726, %48
store i64 %49, i64* %14
%50 = load i64, i64* %10
store i64 %50, i64* %15
%51 = load i64, i64* %11
store i64 %51, i64* %16
%52 = load i64, i64* %12
store i64 %52, i64* %17
%53 = load i64, i64* %13
store i64 %53, i64* %18
%54 = load i64, i64* %14
store i64 %54, i64* %19
%55 = load i64, i64* %3
%56 = add i64 %55, 0
%57 = trunc i64 %56 to i32
%58 = load i64, i64* %15
%59 = call i32 @_br2_store(i32 %57, i64 %58, i32 8)
%60 = load i64, i64* %3
%61 = add i64 %60, 4
%62 = trunc i64 %61 to i32
%63 = load i64, i64* %16
%64 = call i32 @_br2_store(i32 %62, i64 %63, i32 8)
%65 = load i64, i64* %3
%66 = add i64 %65, 8
%67 = trunc i64 %66 to i32
%68 = load i64, i64* %17
%69 = call i32 @_br2_store(i32 %67, i64 %68, i32 8)
%70 = load i64, i64* %3
%71 = add i64 %70, 12
%72 = trunc i64 %71 to i32
%73 = load i64, i64* %18
%74 = call i32 @_br2_store(i32 %72, i64 %73, i32 8)
%75 = load i64, i64* %3
%76 = add i64 %75, 16
%77 = trunc i64 %76 to i32
%78 = load i64, i64* %19
%79 = call i32 @_br2_store(i32 %77, i64 %78, i32 8)
ret void
}

LLVM IR (-O2):
define void @internal_fiat_poly1305_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, 4
%6 = tail call i64 @_br2_load(i32 %5, i32 8)
%7 = add i32 %3, 8
%8 = tail call i64 @_br2_load(i32 %7, i32 8)
%9 = add i32 %3, 12
%10 = tail call i64 @_br2_load(i32 %9, i32 8)
%11 = add i32 %3, 16
%12 = tail call i64 @_br2_load(i32 %11, i32 8)
%13 = sub i64 134217718, %4
%14 = sub i64 134217726, %6
%15 = sub i64 134217726, %8
%16 = sub i64 134217726, %10
%17 = sub i64 134217726, %12
%18 = trunc i64 %0 to i32
%19 = tail call i32 @_br2_store(i32 %18, i64 %13, i32 8)
%20 = add i32 %18, 4
%21 = tail call i32 @_br2_store(i32 %20, i64 %14, i32 8)
%22 = add i32 %18, 8
%23 = tail call i32 @_br2_store(i32 %22, i64 %15, i32 8)
%24 = add i32 %18, 12
%25 = tail call i32 @_br2_store(i32 %24, i64 %16, i32 8)
%26 = add i32 %18, 16
%27 = tail call i32 @_br2_store(i32 %26, i64 %17, i32 8)
ret void
}