#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;
  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 = x0;
  x4 = x1;
  x5 = x2;
  x6 = x3;
  x7 = x4;
  x8 = x5;
  _br2_store((out0) + ((uintptr_t)0ULL), x6, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)8ULL), x7, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)16ULL), x8, sizeof(uintptr_t));
  return;
}


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

x86 assembly (clang, -O2):
<internal_fiat_poly1305_relax>:
push   %r15
push   %r14
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    0x8(%rbx),%edi
mov    $0x8,%esi
call   1030 <_br2_load@plt>
mov    %rax,%r12
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    0x8(%r14),%edi
mov    %r12,%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    %r14
pop    %r15
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
store i64 %0, i64* %3
store i64 %1, i64* %4
%14 = load i64, i64* %4
%15 = add i64 %14, 0
%16 = trunc i64 %15 to i32
%17 = call i64 @_br2_load(i32 %16, i32 8)
store i64 %17, i64* %5
%18 = load i64, i64* %4
%19 = add i64 %18, 8
%20 = trunc i64 %19 to i32
%21 = call i64 @_br2_load(i32 %20, i32 8)
store i64 %21, i64* %6
%22 = load i64, i64* %4
%23 = add i64 %22, 16
%24 = trunc i64 %23 to i32
%25 = call i64 @_br2_load(i32 %24, i32 8)
store i64 %25, i64* %7
%26 = load i64, i64* %5
store i64 %26, i64* %8
%27 = load i64, i64* %6
store i64 %27, i64* %9
%28 = load i64, i64* %7
store i64 %28, i64* %10
%29 = load i64, i64* %8
store i64 %29, i64* %11
%30 = load i64, i64* %9
store i64 %30, i64* %12
%31 = load i64, i64* %10
store i64 %31, i64* %13
%32 = load i64, i64* %3
%33 = add i64 %32, 0
%34 = trunc i64 %33 to i32
%35 = load i64, i64* %11
%36 = call i32 @_br2_store(i32 %34, i64 %35, i32 8)
%37 = load i64, i64* %3
%38 = add i64 %37, 8
%39 = trunc i64 %38 to i32
%40 = load i64, i64* %12
%41 = call i32 @_br2_store(i32 %39, i64 %40, i32 8)
%42 = load i64, i64* %3
%43 = add i64 %42, 16
%44 = trunc i64 %43 to i32
%45 = load i64, i64* %13
%46 = call i32 @_br2_store(i32 %44, i64 %45, 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, 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 = trunc i64 %0 to i32
%10 = tail call i32 @_br2_store(i32 %9, i64 %4, i32 8)
%11 = add i32 %9, 8
%12 = tail call i32 @_br2_store(i32 %11, i64 %6, i32 8)
%13 = add i32 %9, 16
%14 = tail call i32 @_br2_store(i32 %13, i64 %8, i32 8)
ret void
}