#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 */

/* Variables and functions */
int copy_dobldobl_container_to_start_solutions();
int copy_dobldobl_container_to_start_system();
int copy_dobldobl_container_to_target_system();
int create_dobldobl_homotopy();
int dobldobl_crude_tracker(int);
int /*<<< orphan*/ printf(char *);
int read_dobldobl_start_system();
int read_dobldobl_target_system();
int test_dobldobl_crude_tracker(int verbose) {
  int fail;
  printf("\ntesting the crude trackers in double double precision ...\n");
  fail = read_dobldobl_target_system();
  fail = copy_dobldobl_container_to_target_system();
  fail = read_dobldobl_start_system();
  fail = copy_dobldobl_container_to_start_system();
  fail = copy_dobldobl_container_to_start_solutions();
  fail = create_dobldobl_homotopy();
  fail = dobldobl_crude_tracker(verbose);
  return 0;
}


x86 assembly (clang, -O0):
<test_dobldobl_crude_tracker>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
lea    0xe6e(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1040 <read_dobldobl_target_system@plt>
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   1030 <copy_dobldobl_container_to_target_system@plt>
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   10a0 <read_dobldobl_start_system@plt>
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   1080 <copy_dobldobl_container_to_start_system@plt>
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   1060 <copy_dobldobl_container_to_start_solutions@plt>
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   1090 <create_dobldobl_homotopy@plt>
mov    %eax,-0x8(%rbp)
mov    -0x4(%rbp),%edi
call   1070 <dobldobl_crude_tracker@plt>
mov    %eax,-0x8(%rbp)
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_dobldobl_crude_tracker>:
push   %rbx
mov    %edi,%ebx
lea    0xe76(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1050 <read_dobldobl_target_system@plt>
xor    %eax,%eax
call   1030 <copy_dobldobl_container_to_target_system@plt>
xor    %eax,%eax
call   10a0 <read_dobldobl_start_system@plt>
xor    %eax,%eax
call   1080 <copy_dobldobl_container_to_start_system@plt>
xor    %eax,%eax
call   1060 <copy_dobldobl_container_to_start_solutions@plt>
xor    %eax,%eax
call   1090 <create_dobldobl_homotopy@plt>
mov    %ebx,%edi
call   1070 <dobldobl_crude_tracker@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [60 x i8] c"\0Atesting the crude trackers in double double precision ...\0A\00"
define i32 @test_dobldobl_crude_tracker(i32 %0) {
%2 = alloca i32
%3 = alloca i32
store i32 %0, i32* %2
%4 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str, i64 0, i64 0))
%5 = call i32 (...) @read_dobldobl_target_system()
store i32 %5, i32* %3
%6 = call i32 (...) @copy_dobldobl_container_to_target_system()
store i32 %6, i32* %3
%7 = call i32 (...) @read_dobldobl_start_system()
store i32 %7, i32* %3
%8 = call i32 (...) @copy_dobldobl_container_to_start_system()
store i32 %8, i32* %3
%9 = call i32 (...) @copy_dobldobl_container_to_start_solutions()
store i32 %9, i32* %3
%10 = call i32 (...) @create_dobldobl_homotopy()
store i32 %10, i32* %3
%11 = load i32, i32* %2
%12 = call i32 @dobldobl_crude_tracker(i32 %11)
store i32 %12, i32* %3
ret i32 0
}

LLVM IR (-O2):
@str = [59 x i8] c"\0Atesting the crude trackers in double double precision ...\00"
define i32 @test_dobldobl_crude_tracker(i32 %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 (...) @read_dobldobl_target_system()
%4 = tail call i32 (...) @copy_dobldobl_container_to_target_system()
%5 = tail call i32 (...) @read_dobldobl_start_system()
%6 = tail call i32 (...) @copy_dobldobl_container_to_start_system()
%7 = tail call i32 (...) @copy_dobldobl_container_to_start_solutions()
%8 = tail call i32 (...) @create_dobldobl_homotopy()
%9 = tail call i32 @dobldobl_crude_tracker(i32 %0)
ret i32 0
}