#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_p434_divstep_precomp(uintptr_t out0) {
  uintptr_t x0, x1, x2, x3, x4, x5, x6;
  x0 = (uintptr_t)11499790888664181618ULL;
  x1 = (uintptr_t)2933425582536627152ULL;
  x2 = (uintptr_t)14929833954795773268ULL;
  x3 = (uintptr_t)3543358077896174639ULL;
  x4 = (uintptr_t)11357140555815506764ULL;
  x5 = (uintptr_t)7934738782046165729ULL;
  x6 = (uintptr_t)120912498519750ULL;
  _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));
  _br2_store((out0) + ((uintptr_t)48ULL), x6, sizeof(uintptr_t));
  return;
}


x86 assembly (clang, -O0):
<internal_fiat_p434_divstep_precomp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
movabs $0x9f9776e27e1a2b72,%rax
76 97 9f
mov    %rax,-0x10(%rbp)
movabs $0x28b59f067e2393d0,%rax
9f b5 28
mov    %rax,-0x18(%rbp)
movabs $0xcf316ce1572add54,%rax
6c 31 cf
mov    %rax,-0x20(%rbp)
movabs $0x312c8965f9032c2f,%rax
89 2c 31
mov    %rax,-0x28(%rbp)
movabs $0x9d9cab29ad90d34c,%rax
ab 9c 9d
mov    %rax,-0x30(%rbp)
movabs $0x6e1ddae1d9609ae1,%rax
da 1d 6e
mov    %rax,-0x38(%rbp)
movabs $0x6df82285eec6,%rax
mov    %rax,-0x40(%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>
mov    -0x8(%rbp),%rax
add    $0x30,%rax
mov    %eax,%edi
mov    -0x40(%rbp),%rsi
mov    $0x8,%edx
call   1030 <_br2_store@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<internal_fiat_p434_divstep_precomp>:
push   %rbx
mov    %rdi,%rbx
movabs $0x9f9776e27e1a2b72,%rsi
76 97 9f
mov    $0x8,%edx
call   1030 <_br2_store@plt>
lea    0x8(%rbx),%edi
movabs $0x28b59f067e2393d0,%rsi
9f b5 28
mov    $0x8,%edx
call   1030 <_br2_store@plt>
lea    0x10(%rbx),%edi
movabs $0xcf316ce1572add54,%rsi
6c 31 cf
mov    $0x8,%edx
call   1030 <_br2_store@plt>
lea    0x18(%rbx),%edi
movabs $0x312c8965f9032c2f,%rsi
89 2c 31
mov    $0x8,%edx
call   1030 <_br2_store@plt>
lea    0x20(%rbx),%edi
movabs $0x9d9cab29ad90d34c,%rsi
ab 9c 9d
mov    $0x8,%edx
call   1030 <_br2_store@plt>
lea    0x28(%rbx),%edi
movabs $0x6e1ddae1d9609ae1,%rsi
da 1d 6e
mov    $0x8,%edx
call   1030 <_br2_store@plt>
add    $0x30,%ebx
movabs $0x6df82285eec6,%rsi
mov    %ebx,%edi
mov    $0x8,%edx
pop    %rbx
jmp    1030 <_br2_store@plt>

LLVM IR (-O0):
define void @internal_fiat_p434_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
%9 = alloca i64
store i64 %0, i64* %2
store i64 -6946953185045369998, i64* %3
store i64 2933425582536627152, i64* %4
store i64 -3516910118913778348, i64* %5
store i64 3543358077896174639, i64* %6
store i64 -7089603517894044852, i64* %7
store i64 7934738782046165729, i64* %8
store i64 120912498519750, i64* %9
%10 = load i64, i64* %2
%11 = add i64 %10, 0
%12 = trunc i64 %11 to i32
%13 = load i64, i64* %3
%14 = call i32 @_br2_store(i32 %12, i64 %13, i32 8)
%15 = load i64, i64* %2
%16 = add i64 %15, 8
%17 = trunc i64 %16 to i32
%18 = load i64, i64* %4
%19 = call i32 @_br2_store(i32 %17, i64 %18, i32 8)
%20 = load i64, i64* %2
%21 = add i64 %20, 16
%22 = trunc i64 %21 to i32
%23 = load i64, i64* %5
%24 = call i32 @_br2_store(i32 %22, i64 %23, i32 8)
%25 = load i64, i64* %2
%26 = add i64 %25, 24
%27 = trunc i64 %26 to i32
%28 = load i64, i64* %6
%29 = call i32 @_br2_store(i32 %27, i64 %28, i32 8)
%30 = load i64, i64* %2
%31 = add i64 %30, 32
%32 = trunc i64 %31 to i32
%33 = load i64, i64* %7
%34 = call i32 @_br2_store(i32 %32, i64 %33, i32 8)
%35 = load i64, i64* %2
%36 = add i64 %35, 40
%37 = trunc i64 %36 to i32
%38 = load i64, i64* %8
%39 = call i32 @_br2_store(i32 %37, i64 %38, i32 8)
%40 = load i64, i64* %2
%41 = add i64 %40, 48
%42 = trunc i64 %41 to i32
%43 = load i64, i64* %9
%44 = call i32 @_br2_store(i32 %42, i64 %43, i32 8)
ret void
}

LLVM IR (-O2):
define void @internal_fiat_p434_divstep_precomp(i64 %0) {
%2 = trunc i64 %0 to i32
%3 = tail call i32 @_br2_store(i32 %2, i64 -6946953185045369998, i32 8)
%4 = add i32 %2, 8
%5 = tail call i32 @_br2_store(i32 %4, i64 2933425582536627152, i32 8)
%6 = add i32 %2, 16
%7 = tail call i32 @_br2_store(i32 %6, i64 -3516910118913778348, i32 8)
%8 = add i32 %2, 24
%9 = tail call i32 @_br2_store(i32 %8, i64 3543358077896174639, i32 8)
%10 = add i32 %2, 32
%11 = tail call i32 @_br2_store(i32 %10, i64 -7089603517894044852, i32 8)
%12 = add i32 %2, 40
%13 = tail call i32 @_br2_store(i32 %12, i64 7934738782046165729, i32 8)
%14 = add i32 %2, 48
%15 = tail call i32 @_br2_store(i32 %14, i64 120912498519750, i32 8)
ret void
}