#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 */
struct sigaction {
  scalar_t__ sa_flags;
  int /*<<< orphan*/ sa_mask;
  int /*<<< orphan*/ sa_handler;
};
typedef int /*<<< orphan*/ sigset_t;
typedef int /*<<< orphan*/ savequit;
typedef int /*<<< orphan*/ saveintr;
typedef int /*<<< orphan*/ pid_t;
typedef int /*<<< orphan*/ ignore;

/* Variables and functions */
scalar_t__ EINTR;
int /*<<< orphan*/ SIGCHLD;
int /*<<< orphan*/ SIGINT;
int /*<<< orphan*/ SIGQUIT;
int /*<<< orphan*/ SIG_BLOCK;
int /*<<< orphan*/ SIG_IGN;
int /*<<< orphan*/ SIG_SETMASK;
scalar_t__ errno;
int /*<<< orphan*/ execvp(char *, char **);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fork();
int /*<<< orphan*/ memset(struct sigaction *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *);
scalar_t__ sigaction(int /*<<< orphan*/, struct sigaction *,
                     struct sigaction *);
int /*<<< orphan*/ sigaddset(int /*<<< orphan*/ *, int /*<<< orphan*/);
int /*<<< orphan*/ sigemptyset(int /*<<< orphan*/ *);
scalar_t__ sigprocmask(int /*<<< orphan*/, int /*<<< orphan*/ *,
                       int /*<<< orphan*/ *);
scalar_t__ waitpid(int /*<<< orphan*/, int *, int /*<<< orphan*/);
void cmd_sh(int argc, char *argv[]) {
  pid_t pid;
  int status;
  struct sigaction ignore, saveintr, savequit;
  sigset_t chldmask, savemask;
  memset(&ignore, 0, sizeof(ignore));
  memset(&saveintr, 0, sizeof(saveintr));
  memset(&savequit, 0, sizeof(savequit));
  if (argc < 2) {
    printf("Usage: sh [command]\n");
    return;
  }
  argc--;
  argv++;
  ignore.sa_handler = SIG_IGN;
  sigemptyset(&ignore.sa_mask);
  ignore.sa_flags = 0;
  if ((sigaction(SIGINT, &ignore, &saveintr) < 0) ||
      (sigaction(SIGQUIT, &ignore, &saveintr))) {
    printf("Error assigning sigaction\n");
    return;
  }
  sigemptyset(&chldmask);
  sigaddset(&chldmask, SIGCHLD);
  if (sigprocmask(SIG_BLOCK, &chldmask, &savemask) < 0) {
    printf("Error setting sigprocmask\n");
    return;
  }
  if ((pid = fork()) == 0) {
    sigaction(SIGINT, &saveintr, NULL);
    sigaction(SIGQUIT, &savequit, NULL);
    sigprocmask(SIG_SETMASK, &savemask, NULL);
    execvp(argv[0], &argv[0]);
    exit(127);
  } else {
    while (waitpid(pid, &status, 0) < 0)
      if (errno != EINTR)
        break;
  }
  if ((sigaction(SIGINT, &saveintr, NULL) < 0) ||
      (sigaction(SIGQUIT, &savequit, NULL) < 0) ||
      (sigprocmask(SIG_SETMASK, &savemask, NULL) < 0))
    printf("Warning: signal handling not fully restored after returning from "
           "process\n");
  return;
}


x86 assembly (clang, -O0):
<cmd_sh>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x28(%rbp),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <memset@plt>
lea    -0x38(%rbp),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <memset@plt>
lea    -0x48(%rbp),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <memset@plt>
cmpl   $0x2,-0x4(%rbp)
jge    11fa <cmd_sh+0x5a>
lea    0xe10(%rip),%rdi
call   1050 <printf@plt>
jmp    13f3 <cmd_sh+0x253>
mov    -0x4(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x4(%rbp)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x10(%rbp)
mov    0x2db2(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x1c(%rbp)
lea    -0x28(%rbp),%rdi
add    $0x8,%rdi
call   1070 <sigemptyset@plt>
movq   $0x0,-0x28(%rbp)
mov    0x2db1(%rip),%rax
mov    (%rax),%edi
lea    -0x28(%rbp),%rsi
lea    -0x38(%rbp),%rdx
call   1040 <sigaction@plt>
cmp    $0x0,%rax
jl     1270 <cmd_sh+0xd0>
mov    0x2d89(%rip),%rax
mov    (%rax),%edi
lea    -0x28(%rbp),%rsi
lea    -0x38(%rbp),%rdx
call   1040 <sigaction@plt>
cmp    $0x0,%rax
je     1281 <cmd_sh+0xe1>
lea    0xd9e(%rip),%rdi
call   1050 <printf@plt>
jmp    13f3 <cmd_sh+0x253>
lea    -0x4c(%rbp),%rdi
call   1070 <sigemptyset@plt>
mov    0x2d3f(%rip),%rax
mov    (%rax),%esi
lea    -0x4c(%rbp),%rdi
call   10b0 <sigaddset@plt>
mov    0x2d0d(%rip),%rax
mov    (%rax),%edi
lea    -0x4c(%rbp),%rsi
lea    -0x50(%rbp),%rdx
call   1030 <sigprocmask@plt>
cmp    $0x0,%rax
jge    12cd <cmd_sh+0x12d>
lea    0xd6d(%rip),%rdi
call   1050 <printf@plt>
jmp    13f3 <cmd_sh+0x253>
mov    $0x0,%al
call   10c0 <fork@plt>
mov    %eax,-0x14(%rbp)
cmp    $0x0,%eax
jne    133c <cmd_sh+0x19c>
mov    0x2d01(%rip),%rax
mov    (%rax),%edi
lea    -0x38(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%edx
call   1040 <sigaction@plt>
mov    0x2ce3(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%edx
call   1040 <sigaction@plt>
mov    0x2cc5(%rip),%rax
mov    (%rax),%edi
lea    -0x50(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%edx
call   1030 <sigprocmask@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rsi
call   1090 <execvp@plt>
mov    $0x7f,%edi
call   10a0 <exit@plt>
jmp    1341 <cmd_sh+0x1a1>
mov    -0x14(%rbp),%edi
lea    -0x18(%rbp),%rsi
xor    %edx,%edx
call   1080 <waitpid@plt>
cmp    $0x0,%rax
jge    137d <cmd_sh+0x1dd>
mov    0x2c58(%rip),%rax
mov    (%rax),%rax
mov    0x2c3e(%rip),%rcx
cmp    (%rcx),%rax
je     1378 <cmd_sh+0x1d8>
jmp    137d <cmd_sh+0x1dd>
jmp    1341 <cmd_sh+0x1a1>
jmp    1382 <cmd_sh+0x1e2>
mov    0x2c5f(%rip),%rax
mov    (%rax),%edi
lea    -0x38(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%edx
call   1040 <sigaction@plt>
cmp    $0x0,%rax
jl     13e2 <cmd_sh+0x242>
mov    0x2c37(%rip),%rax
mov    (%rax),%edi
lea    -0x48(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%edx
call   1040 <sigaction@plt>
cmp    $0x0,%rax
jl     13e2 <cmd_sh+0x242>
mov    0x2c0f(%rip),%rax
mov    (%rax),%edi
lea    -0x50(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%edx
call   1030 <sigprocmask@plt>
cmp    $0x0,%rax
jge    13ee <cmd_sh+0x24e>
lea    0xc62(%rip),%rdi
call   1050 <printf@plt>
jmp    13f3 <cmd_sh+0x253>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cmd_sh>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %rsi,%r14
mov    %edi,%ebx
lea    0x10(%rsp),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <memset@plt>
lea    0x20(%rsp),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <memset@plt>
lea    0x38(%rsp),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <memset@plt>
cmp    $0x2,%ebx
jge    11f4 <cmd_sh+0x54>
lea    0xe8b(%rip),%rbx
jmp    1258 <cmd_sh+0xb8>
mov    0x2dcd(%rip),%rax
mov    (%rax),%eax
mov    %eax,0x1c(%rsp)
lea    0x18(%rsp),%rdi
call   1070 <sigemptyset@plt>
movq   $0x0,0x10(%rsp)
mov    0x2dcd(%rip),%r12
mov    (%r12),%edi
lea    0x10(%rsp),%rsi
lea    0x20(%rsp),%rdx
call   1050 <sigaction@plt>
lea    0xe2e(%rip),%rbx
test   %rax,%rax
js     1258 <cmd_sh+0xb8>
mov    0x2d9f(%rip),%r15
mov    (%r15),%edi
lea    0x10(%rsp),%rsi
lea    0x20(%rsp),%rdx
call   1050 <sigaction@plt>
test   %rax,%rax
je     126f <cmd_sh+0xcf>
mov    %rbx,%rdi
call   1040 <puts@plt>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0x30(%rsp),%rbx
mov    %rbx,%rdi
call   1070 <sigemptyset@plt>
mov    0x2d4d(%rip),%rax
mov    (%rax),%esi
mov    %rbx,%rdi
call   10b0 <sigaddset@plt>
mov    0x2d1c(%rip),%rax
mov    (%rax),%edi
lea    0xc(%rsp),%rdx
mov    %rbx,%rsi
call   1030 <sigprocmask@plt>
test   %rax,%rax
js     1346 <cmd_sh+0x1a6>
xor    %eax,%eax
call   10c0 <fork@plt>
test   %eax,%eax
je     1352 <cmd_sh+0x1b2>
mov    %eax,%ebx
lea    0x34(%rsp),%r14
mov    0x2cef(%rip),%r13
mov    0x2cd8(%rip),%rbp
mov    %ebx,%edi
mov    %r14,%rsi
xor    %edx,%edx
call   1080 <waitpid@plt>
test   %rax,%rax
jns    12eb <cmd_sh+0x14b>
mov    0x0(%r13),%rax
cmp    0x0(%rbp),%rax
je     12d0 <cmd_sh+0x130>
mov    (%r12),%edi
lea    0x20(%rsp),%rsi
xor    %edx,%edx
call   1050 <sigaction@plt>
lea    0xcfe(%rip),%rbx
test   %rax,%rax
js     1258 <cmd_sh+0xb8>
mov    (%r15),%edi
lea    0x38(%rsp),%rsi
xor    %edx,%edx
call   1050 <sigaction@plt>
test   %rax,%rax
js     1258 <cmd_sh+0xb8>
mov    0x2cae(%rip),%rax
mov    (%rax),%edi
lea    0xc(%rsp),%rsi
xor    %edx,%edx
call   1030 <sigprocmask@plt>
test   %rax,%rax
jns    1260 <cmd_sh+0xc0>
jmp    1258 <cmd_sh+0xb8>
lea    0xcfc(%rip),%rbx
jmp    1258 <cmd_sh+0xb8>
add    $0x8,%r14
mov    (%r12),%edi
lea    0x20(%rsp),%rsi
xor    %edx,%edx
call   1050 <sigaction@plt>
mov    (%r15),%edi
lea    0x38(%rsp),%rsi
xor    %edx,%edx
call   1050 <sigaction@plt>
mov    0x2c5c(%rip),%rax
mov    (%rax),%edi
lea    0xc(%rsp),%rsi
xor    %edx,%edx
call   1030 <sigprocmask@plt>
mov    (%r14),%rdi
mov    %r14,%rsi
call   1090 <execvp@plt>
mov    $0x7f,%edi
call   10a0 <exit@plt>

LLVM IR (-O0):
%struct.sigaction = type { i64, i32, i32 }
@.str = [21 x i8] c"Usage: sh [command]\0A\00"
@SIG_IGN = global i32 0
@SIGINT = global i32 0
@SIGQUIT = global i32 0
@.str.1 = [27 x i8] c"Error assigning sigaction\0A\00"
@SIGCHLD = global i32 0
@SIG_BLOCK = global i32 0
@.str.2 = [27 x i8] c"Error setting sigprocmask\0A\00"
@SIG_SETMASK = global i32 0
@errno = global i64 0
@EINTR = global i64 0
@.str.3 = [74 x i8] c"Warning: signal handling not fully restored after returning from process\0A\00"
define void @cmd_sh(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca i32
%6 = alloca i32
%7 = alloca %struct.sigaction
%8 = alloca %struct.sigaction
%9 = alloca %struct.sigaction
%10 = alloca i32
%11 = alloca i32
store i32 %0, i32* %3
store i8** %1, i8*** %4
%12 = call i32 @memset(%struct.sigaction* %7, i32 0, i32 16)
%13 = call i32 @memset(%struct.sigaction* %8, i32 0, i32 16)
%14 = call i32 @memset(%struct.sigaction* %9, i32 0, i32 16)
%15 = load i32, i32* %3
%16 = icmp slt i32 %15, 2
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
br label %91
19: ; preds = %2
%20 = load i32, i32* %3
%21 = add nsw i32 %20, -1
store i32 %21, i32* %3
%22 = load i8**, i8*** %4
%23 = getelementptr inbounds i8*, i8** %22, i32 1
store i8** %23, i8*** %4
%24 = load i32, i32* @SIG_IGN
%25 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %7, i32 0, i32 2
store i32 %24, i32* %25
%26 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %7, i32 0, i32 1
%27 = call i32 @sigemptyset(i32* %26)
%28 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %7, i32 0, i32 0
store i64 0, i64* %28
%29 = load i32, i32* @SIGINT
%30 = call i64 @sigaction(i32 %29, %struct.sigaction* %7, %struct.sigaction* %8)
%31 = icmp slt i64 %30, 0
br i1 %31, label %36, label %32
32: ; preds = %19
%33 = load i32, i32* @SIGQUIT
%34 = call i64 @sigaction(i32 %33, %struct.sigaction* %7, %struct.sigaction* %8)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32, %19
%37 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
br label %91
38: ; preds = %32
%39 = call i32 @sigemptyset(i32* %10)
%40 = load i32, i32* @SIGCHLD
%41 = call i32 @sigaddset(i32* %10, i32 %40)
%42 = load i32, i32* @SIG_BLOCK
%43 = call i64 @sigprocmask(i32 %42, i32* %10, i32* %11)
%44 = icmp slt i64 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %38
%46 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
br label %91
47: ; preds = %38
%48 = call i32 (...) @fork()
store i32 %48, i32* %5
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %64
50: ; preds = %47
%51 = load i32, i32* @SIGINT
%52 = call i64 @sigaction(i32 %51, %struct.sigaction* %8, %struct.sigaction* null)
%53 = load i32, i32* @SIGQUIT
%54 = call i64 @sigaction(i32 %53, %struct.sigaction* %9, %struct.sigaction* null)
%55 = load i32, i32* @SIG_SETMASK
%56 = call i64 @sigprocmask(i32 %55, i32* %11, i32* null)
%57 = load i8**, i8*** %4
%58 = getelementptr inbounds i8*, i8** %57, i64 0
%59 = load i8*, i8** %58
%60 = load i8**, i8*** %4
%61 = getelementptr inbounds i8*, i8** %60, i64 0
%62 = call i32 @execvp(i8* %59, i8** %61)
%63 = call i32 @exit(i32 127)
unreachable
64: ; preds = %47
br label %65
65: ; preds = %74, %64
%66 = load i32, i32* %5
%67 = call i64 @waitpid(i32 %66, i32* %6, i32 0)
%68 = icmp slt i64 %67, 0
br i1 %68, label %69, label %75
69: ; preds = %65
%70 = load i64, i64* @errno
%71 = load i64, i64* @EINTR
%72 = icmp ne i64 %70, %71
br i1 %72, label %73, label %74
73: ; preds = %69
br label %75
74: ; preds = %69
br label %65
75: ; preds = %73, %65
br label %76
76: ; preds = %75
%77 = load i32, i32* @SIGINT
%78 = call i64 @sigaction(i32 %77, %struct.sigaction* %8, %struct.sigaction* null)
%79 = icmp slt i64 %78, 0
br i1 %79, label %88, label %80
80: ; preds = %76
%81 = load i32, i32* @SIGQUIT
%82 = call i64 @sigaction(i32 %81, %struct.sigaction* %9, %struct.sigaction* null)
%83 = icmp slt i64 %82, 0
br i1 %83, label %88, label %84
84: ; preds = %80
%85 = load i32, i32* @SIG_SETMASK
%86 = call i64 @sigprocmask(i32 %85, i32* %11, i32* null)
%87 = icmp slt i64 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %84, %80, %76
%89 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.3, i64 0, i64 0))
br label %90
90: ; preds = %88, %84
br label %91
91: ; preds = %90, %45, %36, %17
ret void
}

LLVM IR (-O2):
%struct.sigaction = type { i64, i32, i32 }
@SIG_IGN = global i32 0
@SIGINT = global i32 0
@SIGQUIT = global i32 0
@SIGCHLD = global i32 0
@SIG_BLOCK = global i32 0
@SIG_SETMASK = global i32 0
@errno = global i64 0
@EINTR = global i64 0
@str = [73 x i8] c"Warning: signal handling not fully restored after returning from process\00"
@str.4 = [26 x i8] c"Error setting sigprocmask\00"
@str.5 = [26 x i8] c"Error assigning sigaction\00"
@str.6 = [20 x i8] c"Usage: sh [command]\00"
define void @cmd_sh(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca %struct.sigaction
%5 = alloca %struct.sigaction
%6 = alloca %struct.sigaction
%7 = alloca i32
%8 = alloca i32
%9 = bitcast i32* %3 to i8*
%10 = bitcast %struct.sigaction* %4 to i8*
%11 = bitcast %struct.sigaction* %5 to i8*
%12 = bitcast %struct.sigaction* %6 to i8*
%13 = bitcast i32* %7 to i8*
%14 = bitcast i32* %8 to i8*
%15 = call i32 @memset(%struct.sigaction* %4, i32 0, i32 16)
%16 = call i32 @memset(%struct.sigaction* %5, i32 0, i32 16)
%17 = call i32 @memset(%struct.sigaction* %6, i32 0, i32 16)
%18 = icmp slt i32 %0, 2
br i1 %18, label %72, label %19
19: ; preds = %2
%20 = getelementptr inbounds i8*, i8** %1, i64 1
%21 = load i32, i32* @SIG_IGN
%22 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %4, i64 0, i32 2
store i32 %21, i32* %22
%23 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %4, i64 0, i32 1
%24 = call i32 @sigemptyset(i32* %23)
%25 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %4, i64 0, i32 0
store i64 0, i64* %25
%26 = load i32, i32* @SIGINT
%27 = call i64 @sigaction(i32 %26, %struct.sigaction* %4, %struct.sigaction* %5)
%28 = icmp slt i64 %27, 0
br i1 %28, label %72, label %29
29: ; preds = %19
%30 = load i32, i32* @SIGQUIT
%31 = call i64 @sigaction(i32 %30, %struct.sigaction* %4, %struct.sigaction* %5)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %72
33: ; preds = %29
%34 = call i32 @sigemptyset(i32* %7)
%35 = load i32, i32* @SIGCHLD
%36 = call i32 @sigaddset(i32* %7, i32 %35)
%37 = load i32, i32* @SIG_BLOCK
%38 = call i64 @sigprocmask(i32 %37, i32* %7, i32* %8)
%39 = icmp slt i64 %38, 0
br i1 %39, label %72, label %40
40: ; preds = %33
%41 = call i32 (...) @fork()
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %53
43: ; preds = %40
%44 = load i32, i32* @SIGINT
%45 = call i64 @sigaction(i32 %44, %struct.sigaction* %5, %struct.sigaction* null)
%46 = load i32, i32* @SIGQUIT
%47 = call i64 @sigaction(i32 %46, %struct.sigaction* %6, %struct.sigaction* null)
%48 = load i32, i32* @SIG_SETMASK
%49 = call i64 @sigprocmask(i32 %48, i32* %8, i32* null)
%50 = load i8*, i8** %20
%51 = call i32 @execvp(i8* %50, i8** %20)
%52 = call i32 @exit(i32 127)
unreachable
53: ; preds = %40, %56
%54 = call i64 @waitpid(i32 %41, i32* %3, i32 0)
%55 = icmp slt i64 %54, 0
br i1 %55, label %56, label %60
56: ; preds = %53
%57 = load i64, i64* @errno
%58 = load i64, i64* @EINTR
%59 = icmp eq i64 %57, %58
br i1 %59, label %53, label %60
60: ; preds = %53, %56
%61 = load i32, i32* @SIGINT
%62 = call i64 @sigaction(i32 %61, %struct.sigaction* %5, %struct.sigaction* null)
%63 = icmp slt i64 %62, 0
br i1 %63, label %72, label %64
64: ; preds = %60
%65 = load i32, i32* @SIGQUIT
%66 = call i64 @sigaction(i32 %65, %struct.sigaction* %6, %struct.sigaction* null)
%67 = icmp slt i64 %66, 0
br i1 %67, label %72, label %68
68: ; preds = %64
%69 = load i32, i32* @SIG_SETMASK
%70 = call i64 @sigprocmask(i32 %69, i32* %8, i32* null)
%71 = icmp slt i64 %70, 0
br i1 %71, label %72, label %75
72: ; preds = %60, %64, %68, %33, %19, %29, %2
%73 = phi i8* [ getelementptr inbounds ([20 x i8], [20 x i8]* @str.6, i64 0, i64 0), %2 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @str.5, i64 0, i64 0), %29 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @str.5, i64 0, i64 0), %19 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @str.4, i64 0, i64 0), %33 ], [ getelementptr inbounds ([73 x i8], [73 x i8]* @str, i64 0, i64 0), %68 ], [ getelementptr inbounds ([73 x i8], [73 x i8]* @str, i64 0, i64 0), %64 ], [ getelementptr inbounds ([73 x i8], [73 x i8]* @str, i64 0, i64 0), %60 ]
%74 = call i32 @puts(i8* dereferenceable(1) %73)
br label %75
75: ; preds = %72, %68
ret void
}