#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 */
typedef int /*<<< orphan*/ sigset_t;

/* Variables and functions */
int /*<<< orphan*/ EXIT_FAILURE;
int const SIGABRT;
int const SIGALRM;
int const SIGCHLD;
int const SIGCONT;
int const SIGFPE;
int const SIGHUP;
int const SIGILL;
int const SIGINT;
int const SIGKILL;
int const SIGPIPE;
int const SIGQUIT;
int const SIGSEGV;
int const SIGSTOP;
int const SIGTERM;
int const SIGTSTP;
int const SIGTTIN;
int const SIGTTOU;
int const SIGUSR1;
int const SIGUSR2;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, char const *, int const);
int sigismember(int /*<<< orphan*/ *, int const);
void printSignalSet(sigset_t *set) {
  const int sigList[] = {SIGHUP,  SIGINT,  SIGQUIT, SIGILL,  SIGABRT,
                         SIGFPE,  SIGKILL, SIGSEGV, SIGPIPE, SIGALRM,
                         SIGTERM, SIGUSR1, SIGUSR2, SIGCHLD, SIGCONT,
                         SIGSTOP, SIGTSTP, SIGTTIN, SIGTTOU};
  const char *sigNames[] = {"SIGHUP",  "SIGINT",  "SIGQUIT", "SIGILL",
                            "SIGABRT", "SIGFPE",  "SIGKILL", "SIGSEGV",
                            "SIGPIPE", "SIGALRM", "SIGTERM", "SIGUSR1",
                            "SIGUSR2", "SIGCHLD", "SIGCONT", "SIGSTOP",
                            "SIGTSTP", "SIGTTIN", "SIGTTOU"};
  const int sigLen = 19;
  for (int i = 0; i < sigLen; i++) {
    int ret = sigismember(set, sigList[i]);
    if (ret == -1) {
      perror("sigismember:");
      exit(EXIT_FAILURE);
    } else if (ret == 1) {
      printf("Signal %s=%d IS in the set.\n", sigNames[i], sigList[i]);
    } else {
      printf("Signal %s=%d is not in the set.\n", sigNames[i], sigList[i]);
    }
  }
}


x86 assembly (clang, -O0):
<printSignalSet>:
push   %rbp
mov    %rsp,%rbp
sub    $0x110,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2e82(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x60(%rbp)
mov    0x2e3e(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x5c(%rbp)
mov    0x2e22(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x58(%rbp)
mov    0x2dee(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x54(%rbp)
mov    0x2db2(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x50(%rbp)
mov    0x2df6(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4c(%rbp)
mov    0x2da2(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x48(%rbp)
mov    0x2e06(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x44(%rbp)
mov    0x2d9a(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x40(%rbp)
mov    0x2de6(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x3c(%rbp)
mov    0x2dca(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x38(%rbp)
mov    0x2de6(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x34(%rbp)
mov    0x2d72(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x30(%rbp)
mov    0x2d8e(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x2c(%rbp)
mov    0x2dba(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x28(%rbp)
mov    0x2d26(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x24(%rbp)
mov    0x2d62(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x20(%rbp)
mov    0x2d4e(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x1c(%rbp)
mov    0x2d9a(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x18(%rbp)
lea    -0x100(%rbp),%rdi
lea    0x2a8f(%rip),%rsi
mov    $0x98,%edx
call   1040 <memcpy@plt>
movl   $0x13,-0x104(%rbp)
movl   $0x0,-0x108(%rbp)
cmpl   $0x13,-0x108(%rbp)
jge    1339 <printSignalSet+0x1e9>
mov    -0x8(%rbp),%rdi
movslq -0x108(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%esi
call   1060 <sigismember@plt>
mov    %eax,-0x10c(%rbp)
cmpl   $0xffffffff,-0x10c(%rbp)
jne    12bd <printSignalSet+0x16d>
lea    0xe36(%rip),%rdi
call   1050 <perror@plt>
mov    0x2ca2(%rip),%rax
mov    (%rax),%edi
call   1070 <exit@plt>
cmpl   $0x1,-0x10c(%rbp)
jne    12f5 <printSignalSet+0x1a5>
movslq -0x108(%rbp),%rax
mov    -0x100(%rbp,%rax,8),%rsi
ff
movslq -0x108(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%edx
lea    0xe02(%rip),%rdi
call   1030 <printf@plt>
jmp    131b <printSignalSet+0x1cb>
movslq -0x108(%rbp),%rax
mov    -0x100(%rbp,%rax,8),%rsi
ff
movslq -0x108(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%edx
lea    0xdf4(%rip),%rdi
call   1030 <printf@plt>
jmp    1320 <printSignalSet+0x1d0>
jmp    1325 <printSignalSet+0x1d5>
mov    -0x108(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x108(%rbp)
jmp    126f <printSignalSet+0x11f>
add    $0x110,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printSignalSet>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %rdi,%r14
xorps  %xmm0,%xmm0
movups %xmm0,0x3c(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
xor    %ebx,%ebx
lea    0xfc4(%rip),%r15
lea    0xed0(%rip),%r12
lea    0xfd3(%rip),%r13
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r14,%rdi
mov    %ebp,%esi
call   1050 <sigismember@plt>
mov    %r15,%rdi
cmp    $0x1,%eax
je     11aa <printSignalSet+0x6a>
cmp    $0xffffffff,%eax
je     11d7 <printSignalSet+0x97>
mov    %r13,%rdi
movslq (%rbx,%r12,1),%rsi
add    %r12,%rsi
mov    %ebp,%edx
call   1030 <printf@plt>
cmp    $0x48,%rbx
je     11c8 <printSignalSet+0x88>
mov    0x4(%rsp,%rbx,1),%ebp
add    $0x4,%rbx
jmp    1190 <printSignalSet+0x50>
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xf4e(%rip),%rdi
call   1040 <perror@plt>
mov    0x2df6(%rip),%rax
mov    (%rax),%edi
call   1060 <exit@plt>

LLVM IR (-O0):
@SIGHUP = constant i32 0
@SIGINT = constant i32 0
@SIGQUIT = constant i32 0
@SIGILL = constant i32 0
@SIGABRT = constant i32 0
@SIGFPE = constant i32 0
@SIGKILL = constant i32 0
@SIGSEGV = constant i32 0
@SIGPIPE = constant i32 0
@SIGALRM = constant i32 0
@SIGTERM = constant i32 0
@SIGUSR1 = constant i32 0
@SIGUSR2 = constant i32 0
@SIGCHLD = constant i32 0
@SIGCONT = constant i32 0
@SIGSTOP = constant i32 0
@SIGTSTP = constant i32 0
@SIGTTIN = constant i32 0
@SIGTTOU = constant i32 0
@.str = [7 x i8] c"SIGHUP\00"
@.str.1 = [7 x i8] c"SIGINT\00"
@.str.2 = [8 x i8] c"SIGQUIT\00"
@.str.3 = [7 x i8] c"SIGILL\00"
@.str.4 = [8 x i8] c"SIGABRT\00"
@.str.5 = [7 x i8] c"SIGFPE\00"
@.str.6 = [8 x i8] c"SIGKILL\00"
@.str.7 = [8 x i8] c"SIGSEGV\00"
@.str.8 = [8 x i8] c"SIGPIPE\00"
@.str.9 = [8 x i8] c"SIGALRM\00"
@.str.10 = [8 x i8] c"SIGTERM\00"
@.str.11 = [8 x i8] c"SIGUSR1\00"
@.str.12 = [8 x i8] c"SIGUSR2\00"
@.str.13 = [8 x i8] c"SIGCHLD\00"
@.str.14 = [8 x i8] c"SIGCONT\00"
@.str.15 = [8 x i8] c"SIGSTOP\00"
@.str.16 = [8 x i8] c"SIGTSTP\00"
@.str.17 = [8 x i8] c"SIGTTIN\00"
@.str.18 = [8 x i8] c"SIGTTOU\00"
@__const.printSignalSet.sigNames = [19 x i8*] [i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i32 0, i32 0)]
@.str.19 = [13 x i8] c"sigismember:\00"
@EXIT_FAILURE = global i32 0
@.str.20 = [29 x i8] c"Signal %s=%d IS in the set.\0A\00"
@.str.21 = [33 x i8] c"Signal %s=%d is not in the set.\0A\00"
define void @printSignalSet(i32* %0) {
%2 = alloca i32*
%3 = alloca [19 x i32]
%4 = alloca [19 x i8*]
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32* %0, i32** %2
%8 = getelementptr inbounds [19 x i32], [19 x i32]* %3, i64 0, i64 0
%9 = load i32, i32* @SIGHUP
store i32 %9, i32* %8
%10 = getelementptr inbounds i32, i32* %8, i64 1
%11 = load i32, i32* @SIGINT
store i32 %11, i32* %10
%12 = getelementptr inbounds i32, i32* %10, i64 1
%13 = load i32, i32* @SIGQUIT
store i32 %13, i32* %12
%14 = getelementptr inbounds i32, i32* %12, i64 1
%15 = load i32, i32* @SIGILL
store i32 %15, i32* %14
%16 = getelementptr inbounds i32, i32* %14, i64 1
%17 = load i32, i32* @SIGABRT
store i32 %17, i32* %16
%18 = getelementptr inbounds i32, i32* %16, i64 1
%19 = load i32, i32* @SIGFPE
store i32 %19, i32* %18
%20 = getelementptr inbounds i32, i32* %18, i64 1
%21 = load i32, i32* @SIGKILL
store i32 %21, i32* %20
%22 = getelementptr inbounds i32, i32* %20, i64 1
%23 = load i32, i32* @SIGSEGV
store i32 %23, i32* %22
%24 = getelementptr inbounds i32, i32* %22, i64 1
%25 = load i32, i32* @SIGPIPE
store i32 %25, i32* %24
%26 = getelementptr inbounds i32, i32* %24, i64 1
%27 = load i32, i32* @SIGALRM
store i32 %27, i32* %26
%28 = getelementptr inbounds i32, i32* %26, i64 1
%29 = load i32, i32* @SIGTERM
store i32 %29, i32* %28
%30 = getelementptr inbounds i32, i32* %28, i64 1
%31 = load i32, i32* @SIGUSR1
store i32 %31, i32* %30
%32 = getelementptr inbounds i32, i32* %30, i64 1
%33 = load i32, i32* @SIGUSR2
store i32 %33, i32* %32
%34 = getelementptr inbounds i32, i32* %32, i64 1
%35 = load i32, i32* @SIGCHLD
store i32 %35, i32* %34
%36 = getelementptr inbounds i32, i32* %34, i64 1
%37 = load i32, i32* @SIGCONT
store i32 %37, i32* %36
%38 = getelementptr inbounds i32, i32* %36, i64 1
%39 = load i32, i32* @SIGSTOP
store i32 %39, i32* %38
%40 = getelementptr inbounds i32, i32* %38, i64 1
%41 = load i32, i32* @SIGTSTP
store i32 %41, i32* %40
%42 = getelementptr inbounds i32, i32* %40, i64 1
%43 = load i32, i32* @SIGTTIN
store i32 %43, i32* %42
%44 = getelementptr inbounds i32, i32* %42, i64 1
%45 = load i32, i32* @SIGTTOU
store i32 %45, i32* %44
%46 = bitcast [19 x i8*]* %4 to i8*
store i32 19, i32* %5
store i32 0, i32* %6
br label %47
47: ; preds = %88, %1
%48 = load i32, i32* %6
%49 = icmp slt i32 %48, 19
br i1 %49, label %50, label %91
50: ; preds = %47
%51 = load i32*, i32** %2
%52 = load i32, i32* %6
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [19 x i32], [19 x i32]* %3, i64 0, i64 %53
%55 = load i32, i32* %54
%56 = call i32 @sigismember(i32* %51, i32 %55)
store i32 %56, i32* %7
%57 = load i32, i32* %7
%58 = icmp eq i32 %57, -1
br i1 %58, label %59, label %63
59: ; preds = %50
%60 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.19, i64 0, i64 0))
%61 = load i32, i32* @EXIT_FAILURE
%62 = call i32 @exit(i32 %61)
unreachable
63: ; preds = %50
%64 = load i32, i32* %7
%65 = icmp eq i32 %64, 1
br i1 %65, label %66, label %76
66: ; preds = %63
%67 = load i32, i32* %6
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [19 x i8*], [19 x i8*]* %4, i64 0, i64 %68
%70 = load i8*, i8** %69
%71 = load i32, i32* %6
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [19 x i32], [19 x i32]* %3, i64 0, i64 %72
%74 = load i32, i32* %73
%75 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.20, i64 0, i64 0), i8* %70, i32 %74)
br label %86
76: ; preds = %63
%77 = load i32, i32* %6
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [19 x i8*], [19 x i8*]* %4, i64 0, i64 %78
%80 = load i8*, i8** %79
%81 = load i32, i32* %6
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [19 x i32], [19 x i32]* %3, i64 0, i64 %82
%84 = load i32, i32* %83
%85 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.21, i64 0, i64 0), i8* %80, i32 %84)
br label %86
86: ; preds = %76, %66
br label %87
87: ; preds = %86
br label %88
88: ; preds = %87
%89 = load i32, i32* %6
%90 = add nsw i32 %89, 1
store i32 %90, i32* %6
br label %47
91: ; preds = %47
ret void
}

LLVM IR (-O2):
@SIGHUP = constant i32 0
@SIGINT = constant i32 0
@SIGQUIT = constant i32 0
@SIGILL = constant i32 0
@SIGABRT = constant i32 0
@SIGFPE = constant i32 0
@SIGKILL = constant i32 0
@SIGSEGV = constant i32 0
@SIGPIPE = constant i32 0
@SIGALRM = constant i32 0
@SIGTERM = constant i32 0
@SIGUSR1 = constant i32 0
@SIGUSR2 = constant i32 0
@SIGCHLD = constant i32 0
@SIGCONT = constant i32 0
@SIGSTOP = constant i32 0
@SIGTSTP = constant i32 0
@SIGTTIN = constant i32 0
@SIGTTOU = constant i32 0
@.str = [7 x i8] c"SIGHUP\00"
@.str.1 = [7 x i8] c"SIGINT\00"
@.str.2 = [8 x i8] c"SIGQUIT\00"
@.str.3 = [7 x i8] c"SIGILL\00"
@.str.4 = [8 x i8] c"SIGABRT\00"
@.str.5 = [7 x i8] c"SIGFPE\00"
@.str.6 = [8 x i8] c"SIGKILL\00"
@.str.7 = [8 x i8] c"SIGSEGV\00"
@.str.8 = [8 x i8] c"SIGPIPE\00"
@.str.9 = [8 x i8] c"SIGALRM\00"
@.str.10 = [8 x i8] c"SIGTERM\00"
@.str.11 = [8 x i8] c"SIGUSR1\00"
@.str.12 = [8 x i8] c"SIGUSR2\00"
@.str.13 = [8 x i8] c"SIGCHLD\00"
@.str.14 = [8 x i8] c"SIGCONT\00"
@.str.15 = [8 x i8] c"SIGSTOP\00"
@.str.16 = [8 x i8] c"SIGTSTP\00"
@.str.17 = [8 x i8] c"SIGTTIN\00"
@.str.18 = [8 x i8] c"SIGTTOU\00"
@reltable.printSignalSet = [19 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.1 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.2 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.3 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.4 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.5 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.6 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.7 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.8 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.9 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.10 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.11 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.12 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.13 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.14 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.15 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.16 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.17 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.18 to i64), i64 ptrtoint ([19 x i32]* @reltable.printSignalSet to i64)) to i32)]
@.str.19 = [13 x i8] c"sigismember:\00"
@EXIT_FAILURE = global i32 0
@.str.20 = [29 x i8] c"Signal %s=%d IS in the set.\0A\00"
@.str.21 = [33 x i8] c"Signal %s=%d is not in the set.\0A\00"
define void @printSignalSet(i32* %0) {
%2 = alloca [19 x i32]
%3 = bitcast [19 x i32]* %2 to i8*
%4 = bitcast [19 x i32]* %2 to i8*
br label %6
5: ; preds = %15
ret void
6: ; preds = %22, %1
%7 = phi i32 [ 0, %1 ], [ %24, %22 ]
%8 = phi i64 [ 0, %1 ], [ %20, %22 ]
%9 = tail call i32 @sigismember(i32* %0, i32 %7)
switch i32 %9, label %14 [
i32 -1, label %10
i32 1, label %15
]
10: ; preds = %6
%11 = tail call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.19, i64 0, i64 0))
%12 = load i32, i32* @EXIT_FAILURE
%13 = tail call i32 @exit(i32 %12)
unreachable
14: ; preds = %6
br label %15
15: ; preds = %6, %14
%16 = phi i8* [ getelementptr inbounds ([33 x i8], [33 x i8]* @.str.21, i64 0, i64 0), %14 ], [ getelementptr inbounds ([29 x i8], [29 x i8]* @.str.20, i64 0, i64 0), %6 ]
%17 = shl i64 %8, 2
%18 = call i8* @llvm.load.relative.i64(i8* bitcast ([19 x i32]* @reltable.printSignalSet to i8*), i64 %17)
%19 = tail call i32 @printf(i8* %16, i8* %18, i32 %7)
%20 = add nuw nsw i64 %8, 1
%21 = icmp eq i64 %20, 19
br i1 %21, label %5, label %22
22: ; preds = %15
%23 = getelementptr inbounds [19 x i32], [19 x i32]* %2, i64 0, i64 %20
%24 = load i32, i32* %23
br label %6
}