#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 */
scalar_t__ strcmp(char const *, char *);
int assert_test_continue(int argc, char *argv[], const char *name,
                         const char *suite) {
  if (argc == 1) {
    return 0;
  }
  int index;
  for (index = 0; index < argc; index++) {
    if (strcmp(name, argv[index]) == 0 || strcmp(suite, argv[index]) == 0) {
      return 0;
    }
  }
  return 1;
}


x86 assembly (clang, -O0):
<assert_test_continue>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
cmpl   $0x1,-0x8(%rbp)
jne    113d <assert_test_continue+0x2d>
movl   $0x0,-0x4(%rbp)
jmp    11b4 <assert_test_continue+0xa4>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    11ad <assert_test_continue+0x9d>
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
je     118e <assert_test_continue+0x7e>
mov    -0x20(%rbp),%rdi
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    119a <assert_test_continue+0x8a>
movl   $0x0,-0x4(%rbp)
jmp    11b4 <assert_test_continue+0xa4>
jmp    119f <assert_test_continue+0x8f>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1144 <assert_test_continue+0x34>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<assert_test_continue>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
xor    %r14d,%r14d
cmp    $0x1,%edi
je     1170 <assert_test_continue+0x60>
mov    $0x1,%r14d
jl     1170 <assert_test_continue+0x60>
mov    %rcx,%r15
mov    %rdx,%r13
mov    %rsi,%rbx
mov    %edi,%r12d
xor    %ebp,%ebp
nopl   0x0(%rax)
mov    (%rbx,%rbp,8),%rsi
mov    %r13,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     116d <assert_test_continue+0x5d>
mov    (%rbx,%rbp,8),%rsi
mov    %r15,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     116d <assert_test_continue+0x5d>
add    $0x1,%rbp
cmp    %rbp,%r12
jne    1140 <assert_test_continue+0x30>
jmp    1170 <assert_test_continue+0x60>
xor    %r14d,%r14d
mov    %r14d,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @assert_test_continue(i32 %0, i8** %1, i8* %2, i8* %3) {
%5 = alloca i32
%6 = alloca i32
%7 = alloca i8**
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i32
store i32 %0, i32* %6
store i8** %1, i8*** %7
store i8* %2, i8** %8
store i8* %3, i8** %9
%11 = load i32, i32* %6
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %14
13: ; preds = %4
store i32 0, i32* %5
br label %43
14: ; preds = %4
store i32 0, i32* %10
br label %15
15: ; preds = %39, %14
%16 = load i32, i32* %10
%17 = load i32, i32* %6
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %42
19: ; preds = %15
%20 = load i8*, i8** %8
%21 = load i8**, i8*** %7
%22 = load i32, i32* %10
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8*, i8** %21, i64 %23
%25 = load i8*, i8** %24
%26 = call i64 @strcmp(i8* %20, i8* %25)
%27 = icmp eq i64 %26, 0
br i1 %27, label %37, label %28
28: ; preds = %19
%29 = load i8*, i8** %9
%30 = load i8**, i8*** %7
%31 = load i32, i32* %10
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8*, i8** %30, i64 %32
%34 = load i8*, i8** %33
%35 = call i64 @strcmp(i8* %29, i8* %34)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %28, %19
store i32 0, i32* %5
br label %43
38: ; preds = %28
br label %39
39: ; preds = %38
%40 = load i32, i32* %10
%41 = add nsw i32 %40, 1
store i32 %41, i32* %10
br label %15
42: ; preds = %15
store i32 1, i32* %5
br label %43
43: ; preds = %42, %37, %13
%44 = load i32, i32* %5
ret i32 %44
}

LLVM IR (-O2):
define i32 @assert_test_continue(i32 %0, i8** nocapture %1, i8* %2, i8* %3) {
%5 = icmp eq i32 %0, 1
br i1 %5, label %23, label %6
6: ; preds = %4
%7 = icmp sgt i32 %0, 0
br i1 %7, label %8, label %23
8: ; preds = %6
%9 = zext i32 %0 to i64
br label %12
10: ; preds = %18
%11 = icmp eq i64 %22, %9
br i1 %11, label %23, label %12
12: ; preds = %8, %10
%13 = phi i64 [ 0, %8 ], [ %22, %10 ]
%14 = getelementptr inbounds i8*, i8** %1, i64 %13
%15 = load i8*, i8** %14
%16 = tail call i64 @strcmp(i8* %2, i8* %15)
%17 = icmp eq i64 %16, 0
br i1 %17, label %23, label %18
18: ; preds = %12
%19 = load i8*, i8** %14
%20 = tail call i64 @strcmp(i8* %3, i8* %19)
%21 = icmp eq i64 %20, 0
%22 = add nuw nsw i64 %13, 1
br i1 %21, label %23, label %10
23: ; preds = %10, %12, %18, %6, %4
%24 = phi i32 [ 0, %4 ], [ 1, %6 ], [ 1, %10 ], [ 0, %12 ], [ 0, %18 ]
ret i32 %24
}