#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;

/* Variables and functions */
int /*<<< orphan*/ _br2_store(int /*<<< orphan*/, uintptr_t, int);
void internal_fiat_p384_divstep_precomp(uintptr_t out0) {
  uintptr_t x0, x1, x2, x3, x4, x5;
  x0 = (uintptr_t)18444092055957377023ULL;
  x1 = (uintptr_t)765255797953535ULL;
  x2 = (uintptr_t)18446423016314148863ULL;
  x3 = (uintptr_t)708085488300031ULL;
  x4 = (uintptr_t)1693247907103744ULL;
  x5 = (uintptr_t)18445697338640138240ULL;
  _br2_store((out0) + ((uintptr_t)0ULL), x0, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)8ULL), x1, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)16ULL), x2, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)24ULL), x3, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)32ULL), x4, sizeof(uintptr_t));
  _br2_store((out0) + ((uintptr_t)40ULL), x5, sizeof(uintptr_t));
  return;
}


x86 assembly (clang, -O0):
<internal_fiat_p384_divstep_precomp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
movabs $0xfff69400fff18fff,%rax
94 f6 ff
mov    %rax,-0x10(%rbp)
movabs $0x2b7feffffd3ff,%rax
mov    %rax,-0x18(%rbp)
movabs $0xfffedbfffffe97ff,%rax
db fe ff
mov    %rax,-0x20(%rbp)
movabs $0x2840000002fff,%rax
mov    %rax,-0x28(%rbp)
movabs $0x6040000050400,%rax
mov    %rax,-0x30(%rbp)
movabs $0xfffc480000038000,%rax
48 fc ff
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rax
add    $0x0,%rax
mov    %eax,%edi
mov    -0x10(%rbp),%rsi
mov    $0x8,%edx
call   1030 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x8,%rax
mov    %eax,%edi
mov    -0x18(%rbp),%rsi
mov    $0x8,%edx
call   1030 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x10,%rax
mov    %eax,%edi
mov    -0x20(%rbp),%rsi
mov    $0x8,%edx
call   1030 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x18,%rax
mov    %eax,%edi
mov    -0x28(%rbp),%rsi
mov    $0x8,%edx
call   1030 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x20,%rax
mov    %eax,%edi
mov    -0x30(%rbp),%rsi
mov    $0x8,%edx
call   1030 <_br2_store@plt>
mov    -0x8(%rbp),%rax
add    $0x28,%rax
mov    %eax,%edi
mov    -0x38(%rbp),%rsi
mov    $0x8,%edx
call   1030 <_br2_store@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<internal_fiat_p384_divstep_precomp>:
push   %rbx
mov    %rdi,%rbx
movabs $0xfff69400fff18fff,%rsi
94 f6 ff
mov    $0x8,%edx
call   1030 <_br2_store@plt>
lea    0x8(%rbx),%edi
movabs $0x2b7feffffd3ff,%rsi
mov    $0x8,%edx
call   1030 <_br2_store@plt>
lea    0x10(%rbx),%edi
movabs $0xfffedbfffffe97ff,%rsi
db fe ff
mov    $0x8,%edx
call   1030 <_br2_store@plt>
lea    0x18(%rbx),%edi
movabs $0x2840000002fff,%rsi
mov    $0x8,%edx
call   1030 <_br2_store@plt>
lea    0x20(%rbx),%edi
movabs $0x6040000050400,%rsi
mov    $0x8,%edx
call   1030 <_br2_store@plt>
add    $0x28,%ebx
movabs $0xfffc480000038000,%rsi
48 fc ff
mov    %ebx,%edi
mov    $0x8,%edx
pop    %rbx
jmp    1030 <_br2_store@plt>

LLVM IR (-O0):
define void @internal_fiat_p384_divstep_precomp(i64 %0) {
%2 = alloca i64
%3 = alloca i64
%4 = alloca i64
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
%8 = alloca i64
store i64 %0, i64* %2
store i64 -2652017752174593, i64* %3
store i64 765255797953535, i64* %4
store i64 -321057395402753, i64* %5
store i64 708085488300031, i64* %6
store i64 1693247907103744, i64* %7
store i64 -1046735069413376, i64* %8
%9 = load i64, i64* %2
%10 = add i64 %9, 0
%11 = trunc i64 %10 to i32
%12 = load i64, i64* %3
%13 = call i32 @_br2_store(i32 %11, i64 %12, i32 8)
%14 = load i64, i64* %2
%15 = add i64 %14, 8
%16 = trunc i64 %15 to i32
%17 = load i64, i64* %4
%18 = call i32 @_br2_store(i32 %16, i64 %17, i32 8)
%19 = load i64, i64* %2
%20 = add i64 %19, 16
%21 = trunc i64 %20 to i32
%22 = load i64, i64* %5
%23 = call i32 @_br2_store(i32 %21, i64 %22, i32 8)
%24 = load i64, i64* %2
%25 = add i64 %24, 24
%26 = trunc i64 %25 to i32
%27 = load i64, i64* %6
%28 = call i32 @_br2_store(i32 %26, i64 %27, i32 8)
%29 = load i64, i64* %2
%30 = add i64 %29, 32
%31 = trunc i64 %30 to i32
%32 = load i64, i64* %7
%33 = call i32 @_br2_store(i32 %31, i64 %32, i32 8)
%34 = load i64, i64* %2
%35 = add i64 %34, 40
%36 = trunc i64 %35 to i32
%37 = load i64, i64* %8
%38 = call i32 @_br2_store(i32 %36, i64 %37, i32 8)
ret void
}

LLVM IR (-O2):
define void @internal_fiat_p384_divstep_precomp(i64 %0) {
%2 = trunc i64 %0 to i32
%3 = tail call i32 @_br2_store(i32 %2, i64 -2652017752174593, i32 8)
%4 = add i32 %2, 8
%5 = tail call i32 @_br2_store(i32 %4, i64 765255797953535, i32 8)
%6 = add i32 %2, 16
%7 = tail call i32 @_br2_store(i32 %6, i64 -321057395402753, i32 8)
%8 = add i32 %2, 24
%9 = tail call i32 @_br2_store(i32 %8, i64 708085488300031, i32 8)
%10 = add i32 %2, 32
%11 = tail call i32 @_br2_store(i32 %10, i64 1693247907103744, i32 8)
%12 = add i32 %2, 40
%13 = tail call i32 @_br2_store(i32 %12, i64 -1046735069413376, i32 8)
ret void
}