#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*/ passfail(int, char *, int, char *);
void test_passfail() {
  passfail(1,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/jlettvin/Unicode/refs/heads/master/c/"
           "test_PassFail.c",
           13, "Expect exactly 1 [FAIL]");
  passfail(1,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/jlettvin/Unicode/refs/heads/master/c/"
           "test_PassFail.c",
           14, "Expect [PASS]");
  passfail(0,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/jlettvin/Unicode/refs/heads/master/c/"
           "test_PassFail.c",
           15, "Expect [FAIL]");
  passfail(1,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/jlettvin/Unicode/refs/heads/master/c/"
           "test_PassFail.c",
           16, "");
}


x86 assembly (clang, -O0):
<test_passfail>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
lea    0xee0(%rip),%rsi
mov    $0xd,%edx
lea    0xf63(%rip),%rcx
call   1030 <passfail@plt>
mov    $0x1,%edi
lea    0xec3(%rip),%rsi
mov    $0xe,%edx
lea    0xf5e(%rip),%rcx
call   1030 <passfail@plt>
xor    %edi,%edi
lea    0xea9(%rip),%rsi
mov    $0xf,%edx
lea    0xf52(%rip),%rcx
call   1030 <passfail@plt>
mov    $0x1,%edi
lea    0xe8c(%rip),%rsi
mov    $0x10,%edx
lea    0xf26(%rip),%rcx
call   1030 <passfail@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_passfail>:
push   %rbx
lea    0xee8(%rip),%rbx
lea    0xf70(%rip),%rcx
mov    $0x1,%edi
mov    %rbx,%rsi
mov    $0xd,%edx
call   1030 <passfail@plt>
lea    0xf6f(%rip),%rcx
mov    $0x1,%edi
mov    %rbx,%rsi
mov    $0xe,%edx
call   1030 <passfail@plt>
lea    0xf64(%rip),%rcx
xor    %edi,%edi
mov    %rbx,%rsi
mov    $0xf,%edx
call   1030 <passfail@plt>
lea    0xf3f(%rip),%rcx
mov    $0x1,%edi
mov    %rbx,%rsi
mov    $0x10,%edx
pop    %rbx
jmp    1030 <passfail@plt>

LLVM IR (-O0):
@.str = [143 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jlettvin/Unicode/refs/heads/master/c/test_PassFail.c\00"
@.str.1 = [24 x i8] c"Expect exactly 1 [FAIL]\00"
@.str.2 = [14 x i8] c"Expect [PASS]\00"
@.str.3 = [14 x i8] c"Expect [FAIL]\00"
@.str.4 = [1 x i8] zeroinitializer
define void @test_passfail() {
%1 = call i32 @passfail(i32 1, i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @passfail(i32 1, i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str, i64 0, i64 0), i32 14, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 @passfail(i32 0, i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 @passfail(i32 1, i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [143 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jlettvin/Unicode/refs/heads/master/c/test_PassFail.c\00"
@.str.1 = [24 x i8] c"Expect exactly 1 [FAIL]\00"
@.str.2 = [14 x i8] c"Expect [PASS]\00"
@.str.3 = [14 x i8] c"Expect [FAIL]\00"
@.str.4 = [1 x i8] zeroinitializer
define void @test_passfail() {
%1 = tail call i32 @passfail(i32 1, i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @passfail(i32 1, i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str, i64 0, i64 0), i32 14, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @passfail(i32 0, i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 @passfail(i32 1, i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0))
ret void
}