int test_isreal(void) {
  printf("\n\n\t%s\n\n", "Testing check for real numbers");
  ;
  int failn = 0;
  double whole1 = 1.0;
  double whole2 = 2.0;
  double whole3 = 15.0;
  double whole4 = 23.0;
  double frac1 = 1.5;
  double frac2 = 2.789;
  double frac3 = 3.0000001;
  double frac4 = 4.000000002;
  if (mpl_isreal(whole1)) {
    ++failn;
    printf("[  FAIL  ] %s, line: %i in: %s\n", __FUNCTION__, 32,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/mbrazeau/MorphyLib/refs/heads/master/"
           "tests/testmorphy.c");
  } else {
    printf("[  PASS  ] %s\n", __FUNCTION__);
  }
  if (mpl_isreal(whole2)) {
    ++failn;
    printf("[  FAIL  ] %s, line: %i in: %s\n", __FUNCTION__, 40,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/mbrazeau/MorphyLib/refs/heads/master/"
           "tests/testmorphy.c");
  } else {
    printf("[  PASS  ] %s\n", __FUNCTION__);
  }
  if (mpl_isreal(whole3)) {
    ++failn;
    printf("[  FAIL  ] %s, line: %i in: %s\n", __FUNCTION__, 48,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/mbrazeau/MorphyLib/refs/heads/master/"
           "tests/testmorphy.c");
  } else {
    printf("[  PASS  ] %s\n", __FUNCTION__);
  }
  if (mpl_isreal(whole4)) {
    ++failn;
    printf("[  FAIL  ] %s, line: %i in: %s\n", __FUNCTION__, 56,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/mbrazeau/MorphyLib/refs/heads/master/"
           "tests/testmorphy.c");
  } else {
    printf("[  PASS  ] %s\n", __FUNCTION__);
  }
  if (!mpl_isreal(frac1)) {
    ++failn;
    printf("[  FAIL  ] %s, line: %i in: %s\n", __FUNCTION__, 64,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/mbrazeau/MorphyLib/refs/heads/master/"
           "tests/testmorphy.c");
  } else {
    printf("[  PASS  ] %s\n", __FUNCTION__);
  }
  if (!mpl_isreal(frac2)) {
    ++failn;
    printf("[  FAIL  ] %s, line: %i in: %s\n", __FUNCTION__, 72,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/mbrazeau/MorphyLib/refs/heads/master/"
           "tests/testmorphy.c");
  } else {
    printf("[  PASS  ] %s\n", __FUNCTION__);
  }
  if (!mpl_isreal(frac3)) {
    ++failn;
    printf("[  FAIL  ] %s, line: %i in: %s\n", __FUNCTION__, 80,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/mbrazeau/MorphyLib/refs/heads/master/"
           "tests/testmorphy.c");
  } else {
    printf("[  PASS  ] %s\n", __FUNCTION__);
  }
  if (!mpl_isreal(frac4)) {
    ++failn;
    printf("[  FAIL  ] %s, line: %i in: %s\n", __FUNCTION__, 88,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/mbrazeau/MorphyLib/refs/heads/master/"
           "tests/testmorphy.c");
  } else {
    printf("[  PASS  ] %s\n", __FUNCTION__);
  }
  return failn;
}


x86 assembly (clang, -O0):
<test_isreal>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
lea    0xf11(%rip),%rdi
lea    0xf12(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
movsd  0xeec(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xed7(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xec2(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xead(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe98(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xe83(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xe6e(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  0xe59(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
cmp    $0x0,%eax
je     11f0 <test_isreal+0xd0>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
lea    0xe96(%rip),%rdi
lea    0xeaf(%rip),%rsi
mov    $0x20,%edx
lea    0xeaf(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1205 <test_isreal+0xe5>
lea    0xf2e(%rip),%rdi
lea    0xe89(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x18(%rbp),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
cmp    $0x0,%eax
je     1249 <test_isreal+0x129>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
lea    0xe3d(%rip),%rdi
lea    0xe56(%rip),%rsi
mov    $0x28,%edx
lea    0xe56(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    125e <test_isreal+0x13e>
lea    0xed5(%rip),%rdi
lea    0xe30(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x20(%rbp),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
cmp    $0x0,%eax
je     12a2 <test_isreal+0x182>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
lea    0xde4(%rip),%rdi
lea    0xdfd(%rip),%rsi
mov    $0x30,%edx
lea    0xdfd(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12b7 <test_isreal+0x197>
lea    0xe7c(%rip),%rdi
lea    0xdd7(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x28(%rbp),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
cmp    $0x0,%eax
je     12fb <test_isreal+0x1db>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
lea    0xd8b(%rip),%rdi
lea    0xda4(%rip),%rsi
mov    $0x38,%edx
lea    0xda4(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1310 <test_isreal+0x1f0>
lea    0xe23(%rip),%rdi
lea    0xd7e(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x30(%rbp),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
cmp    $0x0,%eax
jne    1354 <test_isreal+0x234>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
lea    0xd32(%rip),%rdi
lea    0xd4b(%rip),%rsi
mov    $0x40,%edx
lea    0xd4b(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1369 <test_isreal+0x249>
lea    0xdca(%rip),%rdi
lea    0xd25(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x38(%rbp),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
cmp    $0x0,%eax
jne    13ad <test_isreal+0x28d>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
lea    0xcd9(%rip),%rdi
lea    0xcf2(%rip),%rsi
mov    $0x48,%edx
lea    0xcf2(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13c2 <test_isreal+0x2a2>
lea    0xd71(%rip),%rdi
lea    0xccc(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x40(%rbp),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
cmp    $0x0,%eax
jne    1406 <test_isreal+0x2e6>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
lea    0xc80(%rip),%rdi
lea    0xc99(%rip),%rsi
mov    $0x50,%edx
lea    0xc99(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    141b <test_isreal+0x2fb>
lea    0xd18(%rip),%rdi
lea    0xc73(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x48(%rbp),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
cmp    $0x0,%eax
jne    145f <test_isreal+0x33f>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
lea    0xc27(%rip),%rdi
lea    0xc40(%rip),%rsi
mov    $0x58,%edx
lea    0xc40(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1474 <test_isreal+0x354>
lea    0xcbf(%rip),%rdi
lea    0xc1a(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_isreal>:
push   %rbx
lea    0xf18(%rip),%rdi
lea    0xf19(%rip),%rsi
xor    %ebx,%ebx
xor    %eax,%eax
call   1030 <printf@plt>
movsd  0xec0(%rip),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
test   %eax,%eax
je     1173 <test_isreal+0x53>
lea    0xf15(%rip),%rdi
lea    0xf2e(%rip),%rsi
lea    0xf33(%rip),%rcx
mov    $0x20,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x1,%ebx
jmp    1188 <test_isreal+0x68>
lea    0xfab(%rip),%rdi
lea    0xf06(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
movsd  0xe78(%rip),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
test   %eax,%eax
je     11c1 <test_isreal+0xa1>
add    $0x1,%ebx
lea    0xec2(%rip),%rdi
lea    0xedb(%rip),%rsi
lea    0xee0(%rip),%rcx
mov    $0x28,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    11d6 <test_isreal+0xb6>
lea    0xf5d(%rip),%rdi
lea    0xeb8(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
movsd  0xe32(%rip),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
test   %eax,%eax
je     120f <test_isreal+0xef>
add    $0x1,%ebx
lea    0xe74(%rip),%rdi
lea    0xe8d(%rip),%rsi
lea    0xe92(%rip),%rcx
mov    $0x30,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1224 <test_isreal+0x104>
lea    0xf0f(%rip),%rdi
lea    0xe6a(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
movsd  0xdec(%rip),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
test   %eax,%eax
je     125d <test_isreal+0x13d>
add    $0x1,%ebx
lea    0xe26(%rip),%rdi
lea    0xe3f(%rip),%rsi
lea    0xe44(%rip),%rcx
mov    $0x38,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1272 <test_isreal+0x152>
lea    0xec1(%rip),%rdi
lea    0xe1c(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
movsd  0xda6(%rip),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
test   %eax,%eax
je     129c <test_isreal+0x17c>
lea    0xe99(%rip),%rdi
lea    0xdf4(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    12c0 <test_isreal+0x1a0>
add    $0x1,%ebx
lea    0xdc1(%rip),%rdi
lea    0xdda(%rip),%rsi
lea    0xddf(%rip),%rcx
mov    $0x40,%edx
xor    %eax,%eax
call   1030 <printf@plt>
movsd  0xd60(%rip),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
test   %eax,%eax
je     12ea <test_isreal+0x1ca>
lea    0xe4b(%rip),%rdi
lea    0xda6(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    130e <test_isreal+0x1ee>
add    $0x1,%ebx
lea    0xd73(%rip),%rdi
lea    0xd8c(%rip),%rsi
lea    0xd91(%rip),%rcx
mov    $0x48,%edx
xor    %eax,%eax
call   1030 <printf@plt>
movsd  0xd1a(%rip),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
test   %eax,%eax
je     1338 <test_isreal+0x218>
lea    0xdfd(%rip),%rdi
lea    0xd58(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    135c <test_isreal+0x23c>
add    $0x1,%ebx
lea    0xd25(%rip),%rdi
lea    0xd3e(%rip),%rsi
lea    0xd43(%rip),%rcx
mov    $0x50,%edx
xor    %eax,%eax
call   1030 <printf@plt>
movsd  0xcd4(%rip),%xmm0
mov    $0x1,%al
call   1040 <mpl_isreal@plt>
test   %eax,%eax
je     1386 <test_isreal+0x266>
lea    0xdaf(%rip),%rdi
lea    0xd0a(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    13aa <test_isreal+0x28a>
add    $0x1,%ebx
lea    0xcd7(%rip),%rdi
lea    0xcf0(%rip),%rsi
lea    0xcf5(%rip),%rcx
mov    $0x58,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %ebx,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [8 x i8] c"\0A\0A\09%s\0A\0A\00"
@.str.1 = [31 x i8] c"Testing check for real numbers\00"
@.str.2 = [32 x i8] c"[ FAIL ] %s, line: %i in: %s\0A\00"
@__FUNCTION__.test_isreal = [12 x i8] c"test_isreal\00"
@.str.3 = [146 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/mbrazeau/MorphyLib/refs/heads/master/tests/testmorphy.c\00"
@.str.4 = [15 x i8] c"[ PASS ] %s\0A\00"
define i32 @test_isreal() {
%1 = alloca i32
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %1
store double 1.000000e+00, double* %2
store double 2.000000e+00, double* %3
store double 1.500000e+01, double* %4
store double 2.300000e+01, double* %5
store double 1.500000e+00, double* %6
store double 2.789000e+00, double* %7
store double 0x400800000D6BF94D, double* %8
store double 0x4010000000225C18, double* %9
%11 = load double, double* %2
%12 = call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double %11)
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %0
%15 = load i32, i32* %1
%16 = add nsw i32 %15, 1
store i32 %16, i32* %1
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %20
18: ; preds = %0
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %20
20: ; preds = %18, %14
%21 = load double, double* %3
%22 = call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double %21)
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = load i32, i32* %1
%26 = add nsw i32 %25, 1
store i32 %26, i32* %1
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %30
28: ; preds = %20
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %30
30: ; preds = %28, %24
%31 = load double, double* %4
%32 = call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double %31)
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = load i32, i32* %1
%36 = add nsw i32 %35, 1
store i32 %36, i32* %1
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 48, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %40
38: ; preds = %30
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %40
40: ; preds = %38, %34
%41 = load double, double* %5
%42 = call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double %41)
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %40
%45 = load i32, i32* %1
%46 = add nsw i32 %45, 1
store i32 %46, i32* %1
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %50
48: ; preds = %40
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %50
50: ; preds = %48, %44
%51 = load double, double* %6
%52 = call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double %51)
%53 = icmp ne i32 %52, 0
br i1 %53, label %58, label %54
54: ; preds = %50
%55 = load i32, i32* %1
%56 = add nsw i32 %55, 1
store i32 %56, i32* %1
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %60
58: ; preds = %50
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %60
60: ; preds = %58, %54
%61 = load double, double* %7
%62 = call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double %61)
%63 = icmp ne i32 %62, 0
br i1 %63, label %68, label %64
64: ; preds = %60
%65 = load i32, i32* %1
%66 = add nsw i32 %65, 1
store i32 %66, i32* %1
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 72, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %70
68: ; preds = %60
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %70
70: ; preds = %68, %64
%71 = load double, double* %8
%72 = call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double %71)
%73 = icmp ne i32 %72, 0
br i1 %73, label %78, label %74
74: ; preds = %70
%75 = load i32, i32* %1
%76 = add nsw i32 %75, 1
store i32 %76, i32* %1
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 80, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %80
78: ; preds = %70
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %80
80: ; preds = %78, %74
%81 = load double, double* %9
%82 = call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double %81)
%83 = icmp ne i32 %82, 0
br i1 %83, label %88, label %84
84: ; preds = %80
%85 = load i32, i32* %1
%86 = add nsw i32 %85, 1
store i32 %86, i32* %1
%87 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 88, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %90
88: ; preds = %80
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %90
90: ; preds = %88, %84
%91 = load i32, i32* %1
ret i32 %91
}

LLVM IR (-O2):
@.str = [8 x i8] c"\0A\0A\09%s\0A\0A\00"
@.str.1 = [31 x i8] c"Testing check for real numbers\00"
@.str.2 = [32 x i8] c"[ FAIL ] %s, line: %i in: %s\0A\00"
@__FUNCTION__.test_isreal = [12 x i8] c"test_isreal\00"
@.str.3 = [146 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/mbrazeau/MorphyLib/refs/heads/master/tests/testmorphy.c\00"
@.str.4 = [15 x i8] c"[ PASS ] %s\0A\00"
define i32 @test_isreal() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double 1.000000e+00)
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %8
6: ; preds = %0
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %8
8: ; preds = %6, %4
%9 = phi i32 [ 1, %4 ], [ 0, %6 ]
%10 = tail call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double 2.000000e+00)
%11 = icmp eq i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %8
%13 = add nuw nsw i32 %9, 1
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %17
15: ; preds = %8
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %17
17: ; preds = %15, %12
%18 = phi i32 [ %13, %12 ], [ %9, %15 ]
%19 = tail call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double 1.500000e+01)
%20 = icmp eq i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %17
%22 = add nuw nsw i32 %18, 1
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 48, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %26
24: ; preds = %17
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %26
26: ; preds = %24, %21
%27 = phi i32 [ %22, %21 ], [ %18, %24 ]
%28 = tail call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double 2.300000e+01)
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %26
%31 = add nuw nsw i32 %27, 1
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %35
33: ; preds = %26
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %35
35: ; preds = %33, %30
%36 = phi i32 [ %31, %30 ], [ %27, %33 ]
%37 = tail call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double 1.500000e+00)
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = add nuw nsw i32 %36, 1
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %44
42: ; preds = %35
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %44
44: ; preds = %42, %39
%45 = phi i32 [ %36, %42 ], [ %40, %39 ]
%46 = tail call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double 2.789000e+00)
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = add nuw nsw i32 %45, 1
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 72, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %53
51: ; preds = %44
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %53
53: ; preds = %51, %48
%54 = phi i32 [ %45, %51 ], [ %49, %48 ]
%55 = tail call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double 0x400800000D6BF94D)
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %53
%58 = add nuw nsw i32 %54, 1
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 80, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %62
60: ; preds = %53
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %62
62: ; preds = %60, %57
%63 = phi i32 [ %54, %60 ], [ %58, %57 ]
%64 = tail call i32 (double, ...) bitcast (i32 (...)* @mpl_isreal to i32 (double, ...)*)(double 0x4010000000225C18)
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %62
%67 = add nuw nsw i32 %63, 1
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0), i32 88, i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0))
br label %71
69: ; preds = %62
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @__FUNCTION__.test_isreal, i64 0, i64 0))
br label %71
71: ; preds = %69, %66
%72 = phi i32 [ %63, %69 ], [ %67, %66 ]
ret i32 %72
}