#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*/ test_ok(int, int /*<<< orphan*/ *, char *, char const *,
                           char *, int, int /*<<< orphan*/ *);
void test_skip(const char *reason, int how_many, int unless) {
  if (unless)
    return;
  int done;
  for (done = 0; done < how_many; ++done)
    test_ok(1, NULL, "skip", reason,
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/GaloisInc/hacrypto/refs/heads/master/"
            "src/C/CommonCrypto-60061.30.1/test/test/testmore.c",
            54, NULL);
}


x86 assembly (clang, -O0):
<test_skip>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
cmpl   $0x0,-0x10(%rbp)
je     1131 <test_skip+0x21>
jmp    1180 <test_skip+0x70>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1180 <test_skip+0x70>
mov    -0x8(%rbp),%rcx
mov    $0x1,%edi
xor    %eax,%eax
mov    %eax,%esi
lea    0xea8(%rip),%rdx
lea    0xea6(%rip),%r8
mov    $0x36,%r9d
movq   $0x0,(%rsp)
call   1030 <test_ok@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1138 <test_skip+0x28>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_skip>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
test   %edx,%edx
jne    1168 <test_skip+0x58>
mov    %esi,%ebx
test   %esi,%esi
jle    1168 <test_skip+0x58>
mov    %rdi,%r14
lea    0xed4(%rip),%r15
lea    0xed2(%rip),%r12
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movq   $0x0,(%rsp)
mov    $0x1,%edi
xor    %esi,%esi
mov    %r15,%rdx
mov    %r14,%rcx
mov    %r12,%r8
mov    $0x36,%r9d
call   1030 <test_ok@plt>
add    $0xffffffff,%ebx
jne    1140 <test_skip+0x30>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [5 x i8] c"skip\00"
@.str.1 = [178 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/GaloisInc/hacrypto/refs/heads/master/src/C/CommonCrypto-60061.30.1/test/test/testmore.c\00"
define void @test_skip(i8* %0, i32 %1, i32 %2) {
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i8* %0, i8** %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%8 = load i32, i32* %6
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %3
br label %22
11: ; preds = %3
store i32 0, i32* %7
br label %12
12: ; preds = %19, %11
%13 = load i32, i32* %7
%14 = load i32, i32* %5
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %22
16: ; preds = %12
%17 = load i8*, i8** %4
%18 = call i32 @test_ok(i32 1, i32* null, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* %17, i8* getelementptr inbounds ([178 x i8], [178 x i8]* @.str.1, i64 0, i64 0), i32 54, i32* null)
br label %19
19: ; preds = %16
%20 = load i32, i32* %7
%21 = add nsw i32 %20, 1
store i32 %21, i32* %7
br label %12
22: ; preds = %10, %12
ret void
}

LLVM IR (-O2):
@.str = [5 x i8] c"skip\00"
@.str.1 = [178 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/GaloisInc/hacrypto/refs/heads/master/src/C/CommonCrypto-60061.30.1/test/test/testmore.c\00"
define void @test_skip(i8* %0, i32 %1, i32 %2) {
%4 = icmp eq i32 %2, 0
%5 = icmp sgt i32 %1, 0
%6 = and i1 %4, %5
br i1 %6, label %7, label %12
7: ; preds = %3, %7
%8 = phi i32 [ %10, %7 ], [ 0, %3 ]
%9 = tail call i32 @test_ok(i32 1, i32* null, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([178 x i8], [178 x i8]* @.str.1, i64 0, i64 0), i32 54, i32* null)
%10 = add nuw nsw i32 %8, 1
%11 = icmp eq i32 %10, %1
br i1 %11, label %12, label %7
12: ; preds = %7, %3
ret void
}