#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*/ __assert_int_equal(char *, int, int, int, char *);
int /*<<< orphan*/ __assert_true(char *, char *, int, int, char *);
int /*<<< orphan*/ test_case_begin(char *);
int /*<<< orphan*/ test_case_end();
int /*<<< orphan*/ test_case_summary();
void testTestCase() {
  test_case_begin("Test case Spec");
  __assert_int_equal("1 should equal to 1", 1, 1, 165,
                     "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                     "outputs/2022-01-22/02-19-57/repos/morningsend/zkernel/"
                     "refs/heads/master/user/test/test.c");
  ;
  __assert_true("1 ==1 should be true", "1==1", (1 == 1), 166,
                "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                "outputs/2022-01-22/02-19-57/repos/morningsend/zkernel/refs/"
                "heads/master/user/test/test.c");
  ;
  __assert_int_equal("sizeof(inti) should equal 4", 4, (int)sizeof(int), 167,
                     "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                     "outputs/2022-01-22/02-19-57/repos/morningsend/zkernel/"
                     "refs/heads/master/user/test/test.c");
  ;
  test_case_end();
  test_case_summary();
}


x86 assembly (clang, -O0):
<testTestCase>:
push   %rbp
mov    %rsp,%rbp
lea    0xea5(%rip),%rdi
call   1040 <test_case_begin@plt>
lea    0xea8(%rip),%rdi
mov    $0x1,%edx
mov    $0xa5,%ecx
lea    0xeab(%rip),%r8
mov    %edx,%esi
call   1060 <__assert_int_equal@plt>
lea    0xf2e(%rip),%rdi
lea    0xf3c(%rip),%rsi
mov    $0x1,%edx
mov    $0xa6,%ecx
lea    0xe85(%rip),%r8
call   1050 <__assert_true@plt>
lea    0xf24(%rip),%rdi
mov    $0x4,%edx
mov    $0xa7,%ecx
lea    0xe68(%rip),%r8
mov    %edx,%esi
call   1060 <__assert_int_equal@plt>
mov    $0x0,%al
call   1030 <test_case_end@plt>
mov    $0x0,%al
call   1070 <test_case_summary@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<testTestCase>:
push   %rbx
lea    0xea8(%rip),%rdi
call   1040 <test_case_begin@plt>
lea    0xeab(%rip),%rdi
lea    0xeb8(%rip),%rbx
mov    $0x1,%esi
mov    $0x1,%edx
mov    $0xa5,%ecx
mov    %rbx,%r8
call   1060 <__assert_int_equal@plt>
lea    0xf2b(%rip),%rdi
lea    0xf39(%rip),%rsi
mov    $0x1,%edx
mov    $0xa6,%ecx
mov    %rbx,%r8
call   1050 <__assert_true@plt>
lea    0xf25(%rip),%rdi
mov    $0x4,%esi
mov    $0x4,%edx
mov    $0xa7,%ecx
mov    %rbx,%r8
call   1060 <__assert_int_equal@plt>
xor    %eax,%eax
call   1030 <test_case_end@plt>
xor    %eax,%eax
pop    %rbx
jmp    1070 <test_case_summary@plt>

LLVM IR (-O0):
@.str = [15 x i8] c"Test case Spec\00"
@.str.1 = [20 x i8] c"1 should equal to 1\00"
@.str.2 = [145 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/morningsend/zkernel/refs/heads/master/user/test/test.c\00"
@.str.3 = [21 x i8] c"1 ==1 should be true\00"
@.str.4 = [5 x i8] c"1==1\00"
@.str.5 = [28 x i8] c"sizeof(inti) should equal 4\00"
define void @testTestCase() {
%1 = call i32 @test_case_begin(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @__assert_int_equal(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 1, i32 1, i32 165, i8* getelementptr inbounds ([145 x i8], [145 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 @__assert_true(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 1, i32 166, i8* getelementptr inbounds ([145 x i8], [145 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @__assert_int_equal(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 4, i32 167, i8* getelementptr inbounds ([145 x i8], [145 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 (...) @test_case_end()
%6 = call i32 (...) @test_case_summary()
ret void
}

LLVM IR (-O2):
@.str = [15 x i8] c"Test case Spec\00"
@.str.1 = [20 x i8] c"1 should equal to 1\00"
@.str.2 = [145 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/morningsend/zkernel/refs/heads/master/user/test/test.c\00"
@.str.3 = [21 x i8] c"1 ==1 should be true\00"
@.str.4 = [5 x i8] c"1==1\00"
@.str.5 = [28 x i8] c"sizeof(inti) should equal 4\00"
define void @testTestCase() {
%1 = tail call i32 @test_case_begin(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @__assert_int_equal(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 1, i32 1, i32 165, i8* getelementptr inbounds ([145 x i8], [145 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @__assert_true(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 1, i32 166, i8* getelementptr inbounds ([145 x i8], [145 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @__assert_int_equal(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 4, i32 167, i8* getelementptr inbounds ([145 x i8], [145 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 (...) @test_case_end()
%6 = tail call i32 (...) @test_case_summary()
ret void
}