#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_relax(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 = x0;
  x6 = x1;
  x7 = x2;
  x8 = x3;
  x9 = 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_relax>:
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    -0x18(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -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_relax>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %rdi,%r14
mov    %ebx,%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r15
lea    0x4(%rbx),%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,%r13
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    %rax,%rbx
mov    %r14d,%edi
mov    %r15,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x4(%r14),%edi
mov    %r12,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0x8(%r14),%edi
mov    %r13,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
lea    0xc(%r14),%edi
mov    %rbp,%rsi
mov    $0x8,%edx
call   1040 <_br2_store@plt>
add    $0x10,%r14d
mov    %r14d,%edi
mov    %rbx,%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_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
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
store i64 %40, i64* %10
%41 = load i64, i64* %6
store i64 %41, i64* %11
%42 = load i64, i64* %7
store i64 %42, i64* %12
%43 = load i64, i64* %8
store i64 %43, i64* %13
%44 = load i64, i64* %9
store i64 %44, i64* %14
%45 = load i64, i64* %10
store i64 %45, i64* %15
%46 = load i64, i64* %11
store i64 %46, i64* %16
%47 = load i64, i64* %12
store i64 %47, i64* %17
%48 = load i64, i64* %13
store i64 %48, i64* %18
%49 = load i64, i64* %14
store i64 %49, i64* %19
%50 = load i64, i64* %3
%51 = add i64 %50, 0
%52 = trunc i64 %51 to i32
%53 = load i64, i64* %15
%54 = call i32 @_br2_store(i32 %52, i64 %53, i32 8)
%55 = load i64, i64* %3
%56 = add i64 %55, 4
%57 = trunc i64 %56 to i32
%58 = load i64, i64* %16
%59 = call i32 @_br2_store(i32 %57, i64 %58, i32 8)
%60 = load i64, i64* %3
%61 = add i64 %60, 8
%62 = trunc i64 %61 to i32
%63 = load i64, i64* %17
%64 = call i32 @_br2_store(i32 %62, i64 %63, i32 8)
%65 = load i64, i64* %3
%66 = add i64 %65, 12
%67 = trunc i64 %66 to i32
%68 = load i64, i64* %18
%69 = call i32 @_br2_store(i32 %67, i64 %68, i32 8)
%70 = load i64, i64* %3
%71 = add i64 %70, 16
%72 = trunc i64 %71 to i32
%73 = load i64, i64* %19
%74 = call i32 @_br2_store(i32 %72, i64 %73, i32 8)
ret void
}

LLVM IR (-O2):
define void @internal_fiat_poly1305_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, 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 = trunc i64 %0 to i32
%14 = tail call i32 @_br2_store(i32 %13, i64 %4, i32 8)
%15 = add i32 %13, 4
%16 = tail call i32 @_br2_store(i32 %15, i64 %6, i32 8)
%17 = add i32 %13, 8
%18 = tail call i32 @_br2_store(i32 %17, i64 %8, i32 8)
%19 = add i32 %13, 12
%20 = tail call i32 @_br2_store(i32 %19, i64 %10, i32 8)
%21 = add i32 %13, 16
%22 = tail call i32 @_br2_store(i32 %21, i64 %12, i32 8)
ret void
}