#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 /*<<< orphan*/ ASRT_RunAfter();
int /*<<< orphan*/ ASRT_RunBefore();
int /*<<< orphan*/ ASRT_TestReport(char *, int, char *, int /*<<< orphan*/);
int /*<<< orphan*/ test_DoubleFail();
int /*<<< orphan*/ test_DoubleOk();
void suite_Double() {
  do {
    ASRT_RunBefore();
    ASRT_TestReport("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                    "outputs/2022-01-22/02-19-57/repos/cohadar/c-learning/refs/"
                    "heads/master/src/asrt_tests.c",
                    96, "test_DoubleFail", test_DoubleFail());
    ASRT_RunAfter();
  } while (0);
  do {
    ASRT_RunBefore();
    ASRT_TestReport("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                    "outputs/2022-01-22/02-19-57/repos/cohadar/c-learning/refs/"
                    "heads/master/src/asrt_tests.c",
                    97, "test_DoubleOk", test_DoubleOk());
    ASRT_RunAfter();
  } while (0);
}


x86 assembly (clang, -O0):
<suite_Double>:
push   %rbp
mov    %rsp,%rbp
jmp    1159 <suite_Double+0x9>
mov    $0x0,%al
call   1040 <ASRT_RunBefore@plt>
mov    $0x0,%al
call   1060 <test_DoubleFail@plt>
mov    %eax,%ecx
lea    0xe90(%rip),%rdi
mov    $0x60,%esi
lea    0xf14(%rip),%rdx
call   1050 <ASRT_TestReport@plt>
mov    $0x0,%al
call   1070 <ASRT_RunAfter@plt>
jmp    118d <suite_Double+0x3d>
mov    $0x0,%al
call   1040 <ASRT_RunBefore@plt>
mov    $0x0,%al
call   1030 <test_DoubleOk@plt>
mov    %eax,%ecx
lea    0xe5c(%rip),%rdi
mov    $0x61,%esi
lea    0xef0(%rip),%rdx
call   1050 <ASRT_TestReport@plt>
mov    $0x0,%al
call   1070 <ASRT_RunAfter@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<suite_Double>:
push   %rbx
xor    %eax,%eax
call   1040 <ASRT_RunBefore@plt>
xor    %eax,%eax
call   1060 <test_DoubleFail@plt>
lea    0xe9a(%rip),%rbx
lea    0xf23(%rip),%rdx
mov    %rbx,%rdi
mov    $0x60,%esi
mov    %eax,%ecx
call   1050 <ASRT_TestReport@plt>
xor    %eax,%eax
call   1070 <ASRT_RunAfter@plt>
xor    %eax,%eax
call   1040 <ASRT_RunBefore@plt>
xor    %eax,%eax
call   1030 <test_DoubleOk@plt>
lea    0xf08(%rip),%rdx
mov    %rbx,%rdi
mov    $0x61,%esi
mov    %eax,%ecx
call   1050 <ASRT_TestReport@plt>
xor    %eax,%eax
pop    %rbx
jmp    1070 <ASRT_RunAfter@plt>

LLVM IR (-O0):
@.str = [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cohadar/c-learning/refs/heads/master/src/asrt_tests.c\00"
@.str.1 = [16 x i8] c"test_DoubleFail\00"
@.str.2 = [14 x i8] c"test_DoubleOk\00"
define void @suite_Double() {
br label %1
1: ; preds = %0
%2 = call i32 (...) @ASRT_RunBefore()
%3 = call i32 (...) @test_DoubleFail()
%4 = call i32 @ASRT_TestReport(i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str, i64 0, i64 0), i32 96, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = call i32 (...) @ASRT_RunAfter()
br label %6
6: ; preds = %1
br label %7
7: ; preds = %6
%8 = call i32 (...) @ASRT_RunBefore()
%9 = call i32 (...) @test_DoubleOk()
%10 = call i32 @ASRT_TestReport(i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str, i64 0, i64 0), i32 97, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 %9)
%11 = call i32 (...) @ASRT_RunAfter()
br label %12
12: ; preds = %7
ret void
}

LLVM IR (-O2):
@.str = [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cohadar/c-learning/refs/heads/master/src/asrt_tests.c\00"
@.str.1 = [16 x i8] c"test_DoubleFail\00"
@.str.2 = [14 x i8] c"test_DoubleOk\00"
define void @suite_Double() {
%1 = tail call i32 (...) @ASRT_RunBefore()
%2 = tail call i32 (...) @test_DoubleFail()
%3 = tail call i32 @ASRT_TestReport(i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str, i64 0, i64 0), i32 96, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %2)
%4 = tail call i32 (...) @ASRT_RunAfter()
%5 = tail call i32 (...) @ASRT_RunBefore()
%6 = tail call i32 (...) @test_DoubleOk()
%7 = tail call i32 @ASRT_TestReport(i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str, i64 0, i64 0), i32 97, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 %6)
%8 = tail call i32 (...) @ASRT_RunAfter()
ret void
}