#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*/ SIGABRT;
int /*<<< orphan*/ SIGALRM;
int /*<<< orphan*/ SIGCHLD;
int /*<<< orphan*/ SIGINT;
int /*<<< orphan*/ SIGKILL;
int /*<<< orphan*/ SIGQUIT;
int /*<<< orphan*/ SIGSEGV;
int /*<<< orphan*/ SIGSTOP;
int /*<<< orphan*/ SIGTERM;
int /*<<< orphan*/ SIGTSTP;
int /*<<< orphan*/ SIGUSR1;
int /*<<< orphan*/ SIGUSR2;
int /*<<< orphan*/ err_sys(char *);
int errno;
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ sigismember(int /*<<< orphan*/ *, int /*<<< orphan*/);
scalar_t__ sigprocmask(int /*<<< orphan*/, int /*<<< orphan*/ *,
                       int /*<<< orphan*/ *);
void pr_mask(const char *str) {
  sigset_t sigset;
  int errno_save;
  errno_save = errno;
  if (sigprocmask(0, NULL, &sigset) < 0) {
    err_sys("sigprocmask error");
  }
  printf("%s", str);
  if (sigismember(&sigset, SIGINT)) {
    printf("SIGINT ");
  }
  if (sigismember(&sigset, SIGQUIT)) {
    printf("SIGQUIT ");
  }
  if (sigismember(&sigset, SIGUSR1)) {
    printf("SIGUSR1 ");
  }
  if (sigismember(&sigset, SIGALRM)) {
    printf("SIGALRM ");
  }
  if (sigismember(&sigset, SIGABRT)) {
    printf("SIGABRT ");
  }
  if (sigismember(&sigset, SIGCHLD)) {
    printf("SIGCHLD ");
  }
  if (sigismember(&sigset, SIGKILL)) {
    printf("SIGKILL ");
  }
  if (sigismember(&sigset, SIGSEGV)) {
    printf("SIGSEGV ");
  }
  if (sigismember(&sigset, SIGSTOP)) {
    printf("SIGSTOP ");
  }
  if (sigismember(&sigset, SIGTERM)) {
    printf("SIGTERM ");
  }
  if (sigismember(&sigset, SIGUSR2)) {
    printf("SIGUSR2 ");
  }
  if (sigismember(&sigset, SIGTSTP)) {
    printf("SIGTSTP ");
  }
  printf("\n");
  errno = errno_save;
}


x86 assembly (clang, -O0):
<pr_mask>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2e45(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x10(%rbp)
xor    %edi,%edi
xor    %eax,%eax
mov    %eax,%esi
lea    -0xc(%rbp),%rdx
call   1030 <sigprocmask@plt>
cmp    $0x0,%rax
jge    117d <pr_mask+0x3d>
lea    0xe88(%rip),%rdi
call   1040 <err_sys@plt>
mov    -0x8(%rbp),%rsi
lea    0xe8a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2e3a(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     11b9 <pr_mask+0x79>
lea    0xe63(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2e00(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     11e3 <pr_mask+0xa3>
lea    0xe41(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2dfe(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     120d <pr_mask+0xcd>
lea    0xe20(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2dc4(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     1237 <pr_mask+0xf7>
lea    0xdff(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d4a(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     1261 <pr_mask+0x121>
lea    0xdde(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d50(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     128b <pr_mask+0x14b>
lea    0xdbd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2cfe(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     12b5 <pr_mask+0x175>
lea    0xd9c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2d24(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     12df <pr_mask+0x19f>
lea    0xd7b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2c9a(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     1309 <pr_mask+0x1c9>
lea    0xd5a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2cb8(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     1333 <pr_mask+0x1f3>
lea    0xd39(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2c66(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     135d <pr_mask+0x21d>
lea    0xd18(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2c4c(%rip),%rax
mov    (%rax),%esi
lea    -0xc(%rbp),%rdi
call   1060 <sigismember@plt>
cmp    $0x0,%rax
je     1387 <pr_mask+0x247>
lea    0xcf7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xcf2(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x10(%rbp),%ecx
mov    0x2bf9(%rip),%rax
mov    %ecx,(%rax)
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<pr_mask>:
push   %rbp
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    %rdi,%rbx
mov    0x2e36(%rip),%r14
mov    (%r14),%ebp
lea    0xc(%rsp),%rdx
xor    %edi,%edi
xor    %esi,%esi
call   1030 <sigprocmask@plt>
test   %rax,%rax
jns    1184 <pr_mask+0x34>
lea    0xe81(%rip),%rdi
call   1050 <err_sys@plt>
lea    0xe87(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2e34(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     11bb <pr_mask+0x6b>
lea    0xe61(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2dfe(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     11e1 <pr_mask+0x91>
lea    0xe43(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2e00(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     1207 <pr_mask+0xb7>
lea    0xe26(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2dca(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     122d <pr_mask+0xdd>
lea    0xe09(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2d54(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     1253 <pr_mask+0x103>
lea    0xdec(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2d5e(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     1279 <pr_mask+0x129>
lea    0xdcf(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2d10(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     129f <pr_mask+0x14f>
lea    0xdb2(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2d3a(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     12c5 <pr_mask+0x175>
lea    0xd95(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2cb4(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     12eb <pr_mask+0x19b>
lea    0xd78(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2cd6(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     1311 <pr_mask+0x1c1>
lea    0xd5b(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2c88(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     1337 <pr_mask+0x1e7>
lea    0xd3e(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2c72(%rip),%rax
mov    (%rax),%esi
lea    0xc(%rsp),%rdi
call   1070 <sigismember@plt>
test   %rax,%rax
je     135d <pr_mask+0x20d>
lea    0xd21(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
mov    %ebp,(%r14)
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@errno = global i32 0
@.str = [18 x i8] c"sigprocmask error\00"
@.str.1 = [3 x i8] c"%s\00"
@SIGINT = global i32 0
@.str.2 = [8 x i8] c"SIGINT \00"
@SIGQUIT = global i32 0
@.str.3 = [9 x i8] c"SIGQUIT \00"
@SIGUSR1 = global i32 0
@.str.4 = [9 x i8] c"SIGUSR1 \00"
@SIGALRM = global i32 0
@.str.5 = [9 x i8] c"SIGALRM \00"
@SIGABRT = global i32 0
@.str.6 = [9 x i8] c"SIGABRT \00"
@SIGCHLD = global i32 0
@.str.7 = [9 x i8] c"SIGCHLD \00"
@SIGKILL = global i32 0
@.str.8 = [9 x i8] c"SIGKILL \00"
@SIGSEGV = global i32 0
@.str.9 = [9 x i8] c"SIGSEGV \00"
@SIGSTOP = global i32 0
@.str.10 = [9 x i8] c"SIGSTOP \00"
@SIGTERM = global i32 0
@.str.11 = [9 x i8] c"SIGTERM \00"
@SIGUSR2 = global i32 0
@.str.12 = [9 x i8] c"SIGUSR2 \00"
@SIGTSTP = global i32 0
@.str.13 = [9 x i8] c"SIGTSTP \00"
@.str.14 = [2 x i8] c"\0A\00"
define void @pr_mask(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
%4 = alloca i32
store i8* %0, i8** %2
%5 = load i32, i32* @errno
store i32 %5, i32* %4
%6 = call i64 @sigprocmask(i32 0, i32* null, i32* %3)
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @err_sys(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
br label %10
10: ; preds = %8, %1
%11 = load i8*, i8** %2
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %11)
%13 = load i32, i32* @SIGINT
%14 = call i64 @sigismember(i32* %3, i32 %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %18
18: ; preds = %16, %10
%19 = load i32, i32* @SIGQUIT
%20 = call i64 @sigismember(i32* %3, i32 %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
br label %24
24: ; preds = %22, %18
%25 = load i32, i32* @SIGUSR1
%26 = call i64 @sigismember(i32* %3, i32 %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
br label %30
30: ; preds = %28, %24
%31 = load i32, i32* @SIGALRM
%32 = call i64 @sigismember(i32* %3, i32 %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
br label %36
36: ; preds = %34, %30
%37 = load i32, i32* @SIGABRT
%38 = call i64 @sigismember(i32* %3, i32 %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
br label %42
42: ; preds = %40, %36
%43 = load i32, i32* @SIGCHLD
%44 = call i64 @sigismember(i32* %3, i32 %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
br label %48
48: ; preds = %46, %42
%49 = load i32, i32* @SIGKILL
%50 = call i64 @sigismember(i32* %3, i32 %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
br label %54
54: ; preds = %52, %48
%55 = load i32, i32* @SIGSEGV
%56 = call i64 @sigismember(i32* %3, i32 %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %54
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
br label %60
60: ; preds = %58, %54
%61 = load i32, i32* @SIGSTOP
%62 = call i64 @sigismember(i32* %3, i32 %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %60
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0))
br label %66
66: ; preds = %64, %60
%67 = load i32, i32* @SIGTERM
%68 = call i64 @sigismember(i32* %3, i32 %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
br label %72
72: ; preds = %70, %66
%73 = load i32, i32* @SIGUSR2
%74 = call i64 @sigismember(i32* %3, i32 %73)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %78
76: ; preds = %72
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0))
br label %78
78: ; preds = %76, %72
%79 = load i32, i32* @SIGTSTP
%80 = call i64 @sigismember(i32* %3, i32 %79)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %84
82: ; preds = %78
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0))
br label %84
84: ; preds = %82, %78
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
%86 = load i32, i32* %4
store i32 %86, i32* @errno
ret void
}

LLVM IR (-O2):
@errno = global i32 0
@.str = [18 x i8] c"sigprocmask error\00"
@.str.1 = [3 x i8] c"%s\00"
@SIGINT = global i32 0
@.str.2 = [8 x i8] c"SIGINT \00"
@SIGQUIT = global i32 0
@.str.3 = [9 x i8] c"SIGQUIT \00"
@SIGUSR1 = global i32 0
@.str.4 = [9 x i8] c"SIGUSR1 \00"
@SIGALRM = global i32 0
@.str.5 = [9 x i8] c"SIGALRM \00"
@SIGABRT = global i32 0
@.str.6 = [9 x i8] c"SIGABRT \00"
@SIGCHLD = global i32 0
@.str.7 = [9 x i8] c"SIGCHLD \00"
@SIGKILL = global i32 0
@.str.8 = [9 x i8] c"SIGKILL \00"
@SIGSEGV = global i32 0
@.str.9 = [9 x i8] c"SIGSEGV \00"
@SIGSTOP = global i32 0
@.str.10 = [9 x i8] c"SIGSTOP \00"
@SIGTERM = global i32 0
@.str.11 = [9 x i8] c"SIGTERM \00"
@SIGUSR2 = global i32 0
@.str.12 = [9 x i8] c"SIGUSR2 \00"
@SIGTSTP = global i32 0
@.str.13 = [9 x i8] c"SIGTSTP \00"
define void @pr_mask(i8* %0) {
%2 = alloca i32
%3 = bitcast i32* %2 to i8*
%4 = load i32, i32* @errno
%5 = call i64 @sigprocmask(i32 0, i32* null, i32* %2)
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @err_sys(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
br label %9
9: ; preds = %7, %1
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%11 = load i32, i32* @SIGINT
%12 = call i64 @sigismember(i32* %2, i32 %11)
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %9
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %16
16: ; preds = %14, %9
%17 = load i32, i32* @SIGQUIT
%18 = call i64 @sigismember(i32* %2, i32 %17)
%19 = icmp eq i64 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %16
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
br label %22
22: ; preds = %20, %16
%23 = load i32, i32* @SIGUSR1
%24 = call i64 @sigismember(i32* %2, i32 %23)
%25 = icmp eq i64 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %22
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
br label %28
28: ; preds = %26, %22
%29 = load i32, i32* @SIGALRM
%30 = call i64 @sigismember(i32* %2, i32 %29)
%31 = icmp eq i64 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %28
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
br label %34
34: ; preds = %32, %28
%35 = load i32, i32* @SIGABRT
%36 = call i64 @sigismember(i32* %2, i32 %35)
%37 = icmp eq i64 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %34
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
br label %40
40: ; preds = %38, %34
%41 = load i32, i32* @SIGCHLD
%42 = call i64 @sigismember(i32* %2, i32 %41)
%43 = icmp eq i64 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %40
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
br label %46
46: ; preds = %44, %40
%47 = load i32, i32* @SIGKILL
%48 = call i64 @sigismember(i32* %2, i32 %47)
%49 = icmp eq i64 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %46
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
br label %52
52: ; preds = %50, %46
%53 = load i32, i32* @SIGSEGV
%54 = call i64 @sigismember(i32* %2, i32 %53)
%55 = icmp eq i64 %54, 0
br i1 %55, label %58, label %56
56: ; preds = %52
%57 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
br label %58
58: ; preds = %56, %52
%59 = load i32, i32* @SIGSTOP
%60 = call i64 @sigismember(i32* %2, i32 %59)
%61 = icmp eq i64 %60, 0
br i1 %61, label %64, label %62
62: ; preds = %58
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0))
br label %64
64: ; preds = %62, %58
%65 = load i32, i32* @SIGTERM
%66 = call i64 @sigismember(i32* %2, i32 %65)
%67 = icmp eq i64 %66, 0
br i1 %67, label %70, label %68
68: ; preds = %64
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
br label %70
70: ; preds = %68, %64
%71 = load i32, i32* @SIGUSR2
%72 = call i64 @sigismember(i32* %2, i32 %71)
%73 = icmp eq i64 %72, 0
br i1 %73, label %76, label %74
74: ; preds = %70
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0))
br label %76
76: ; preds = %74, %70
%77 = load i32, i32* @SIGTSTP
%78 = call i64 @sigismember(i32* %2, i32 %77)
%79 = icmp eq i64 %78, 0
br i1 %79, label %82, label %80
80: ; preds = %76
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0))
br label %82
82: ; preds = %80, %76
%83 = call i32 @putchar(i32 10)
store i32 %4, i32* @errno
ret void
}