#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__ ENOENT;
scalar_t__ ENOTDIR;
int /*<<< orphan*/ EXIT_FAILURE;
long INT_MAX;
long INT_MIN;
int /*<<< orphan*/ LC_ALL;
int /*<<< orphan*/ PRIO_PROCESS;
int atoi(char *);
int /*<<< orphan*/ err(int, char *, ...);
scalar_t__ errno;
int /*<<< orphan*/ errx(int /*<<< orphan*/, char *, int /*<<< orphan*/);
int /*<<< orphan*/ execvp(char *, char **);
int getopt(int, char **, char *);
scalar_t__ getpriority(int /*<<< orphan*/, int /*<<< orphan*/);
scalar_t__ isdigit(unsigned char);
int /*<<< orphan*/ optarg;
scalar_t__ optind;
int /*<<< orphan*/ setlocale(int /*<<< orphan*/, char *);
int setpriority(int /*<<< orphan*/, int /*<<< orphan*/, int);
int /*<<< orphan*/ setprogname(char *);
long strtol(int /*<<< orphan*/, char **, int);
int /*<<< orphan*/ usage();
int /*<<< orphan*/ warn(char *);
int main(int argc, char **argv) {
  char *ep;
  int niceness = 10;
  int c;
  long tmp;
  setprogname(argv[0]);
  (void)setlocale(LC_ALL, "");
  if (argc > 1 && argv[1][0] == '-' && isdigit((unsigned char)argv[1][1])) {
    niceness = atoi(argv[1] + 1);
    argc--;
    argv++;
  }
  while ((c = getopt(argc, argv, "n:")) != -1) {
    switch (c) {
    case 'n':
      errno = 0;
      tmp = strtol(optarg, &ep, 10);
      if (*ep != '\0' || tmp < INT_MIN || tmp > INT_MAX)
        errx(EXIT_FAILURE, "invalid argument: `%s'", optarg);
      niceness = (int)tmp;
      break;
    default:
      usage();
      break;
    }
  }
  argc -= optind;
  argv += optind;
  if (argc == 0)
    usage();
  errno = 0;
  niceness += getpriority(PRIO_PROCESS, 0);
  if (errno) {
    err(EXIT_FAILURE, "getpriority");
  }
  if (setpriority(PRIO_PROCESS, 0, niceness) == -1) {
    warn("setpriority");
  }
  (void)execvp(argv[0], &argv[0]);
  err((errno == ENOENT || errno == ENOTDIR) ? 127 : 126, "%s", argv[0]);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0xa,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   10f0 <setprogname@plt>
mov    0x2da0(%rip),%rax
mov    (%rax),%edi
lea    0xe10(%rip),%rsi
call   10a0 <setlocale@plt>
cmpl   $0x1,-0x8(%rbp)
jle    1270 <main+0xa0>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    1270 <main+0xa0>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movzbl 0x1(%rax),%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     1270 <main+0xa0>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
add    $0x1,%rdi
call   10e0 <atoi@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x10(%rbp)
jmp    1275 <main+0xa5>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xd7d(%rip),%rdx
call   10c0 <getopt@plt>
mov    %eax,-0x20(%rbp)
cmp    $0xffffffff,%eax
je     133c <main+0x16c>
mov    -0x20(%rbp),%eax
sub    $0x6e,%eax
jne    1330 <main+0x160>
jmp    12a5 <main+0xd5>
mov    0x2d04(%rip),%rax
movq   $0x0,(%rax)
mov    0x2d36(%rip),%rax
mov    (%rax),%edi
lea    -0x18(%rbp),%rsi
mov    $0xa,%edx
call   1080 <strtol@plt>
mov    %rax,-0x28(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1306 <main+0x136>
mov    -0x28(%rbp),%rax
mov    0x2ce7(%rip),%rcx
cmp    (%rcx),%rax
jl     1306 <main+0x136>
mov    -0x28(%rbp),%rax
mov    0x2cdb(%rip),%rcx
cmp    (%rcx),%rax
jle    1324 <main+0x154>
mov    0x2c9b(%rip),%rax
mov    (%rax),%edi
mov    0x2cda(%rip),%rax
mov    (%rax),%edx
lea    0xce4(%rip),%rsi
call   1060 <errx@plt>
mov    -0x28(%rbp),%rax
mov    %eax,-0x1c(%rbp)
jmp    1337 <main+0x167>
mov    $0x0,%al
call   10b0 <usage@plt>
jmp    1275 <main+0xa5>
mov    0x2c85(%rip),%rax
mov    (%rax),%rcx
movslq -0x8(%rbp),%rax
sub    %rcx,%rax
mov    %eax,-0x8(%rbp)
mov    0x2c71(%rip),%rax
mov    (%rax),%rax
shl    $0x3,%rax
add    -0x10(%rbp),%rax
mov    %rax,-0x10(%rbp)
cmpl   $0x0,-0x8(%rbp)
jne    1377 <main+0x1a7>
mov    $0x0,%al
call   10b0 <usage@plt>
mov    0x2c32(%rip),%rax
movq   $0x0,(%rax)
mov    0x2c2c(%rip),%rax
mov    (%rax),%edi
xor    %esi,%esi
call   1030 <getpriority@plt>
mov    %rax,%rcx
movslq -0x1c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x1c(%rbp)
mov    0x2c07(%rip),%rax
cmpq   $0x0,(%rax)
je     13ca <main+0x1fa>
mov    0x2bee(%rip),%rax
mov    (%rax),%edi
lea    0xc57(%rip),%rsi
mov    $0x0,%al
call   1090 <err@plt>
mov    0x2be7(%rip),%rax
mov    (%rax),%edi
mov    -0x1c(%rbp),%edx
xor    %esi,%esi
call   1070 <setpriority@plt>
cmp    $0xffffffff,%eax
jne    13f2 <main+0x222>
lea    0xc39(%rip),%rdi
call   1050 <warn@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rsi
call   10d0 <execvp@plt>
mov    0x2ba7(%rip),%rax
mov    (%rax),%rcx
mov    $0x1,%al
mov    0x2b7b(%rip),%rdx
cmp    (%rdx),%rcx
mov    %al,-0x29(%rbp)
je     143b <main+0x26b>
mov    0x2b88(%rip),%rax
mov    (%rax),%rax
mov    0x2bc6(%rip),%rcx
cmp    (%rcx),%rax
sete   %al
mov    %al,-0x29(%rbp)
mov    -0x29(%rbp),%cl
mov    $0x7e,%edi
mov    $0x7f,%eax
test   $0x1,%cl
cmovne %eax,%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xbd6(%rip),%rsi
mov    $0x0,%al
call   1090 <err@plt>
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %edi,%ebp
mov    (%rsi),%rdi
call   10f0 <setprogname@plt>
mov    0x2db1(%rip),%rax
mov    (%rax),%edi
lea    0xe21(%rip),%rsi
call   10a0 <setlocale@plt>
mov    $0xa,%r14d
cmp    $0x2,%ebp
jl     1235 <main+0x65>
mov    0x8(%rbx),%rax
cmpb   $0x2d,(%rax)
jne    1235 <main+0x65>
movzbl 0x1(%rax),%edi
call   1040 <isdigit@plt>
test   %rax,%rax
je     1235 <main+0x65>
add    $0x8,%rbx
mov    (%rbx),%rdi
add    $0x1,%rdi
call   10e0 <atoi@plt>
mov    %eax,%r14d
add    $0xffffffff,%ebp
lea    0xdc4(%rip),%r15
mov    0x2d6d(%rip),%r13
mov    0x2da6(%rip),%r12
jmp    1257 <main+0x87>
nopl   0x0(%rax)
xor    %eax,%eax
call   10b0 <usage@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   10c0 <getopt@plt>
cmp    $0xffffffff,%eax
je     12c6 <main+0xf6>
cmp    $0x6e,%eax
jne    1250 <main+0x80>
movq   $0x0,0x0(%r13)
mov    (%r12),%edi
mov    %rsp,%rsi
mov    $0xa,%edx
call   1080 <strtol@plt>
mov    %rax,%r14
mov    (%rsp),%rax
cmpb   $0x0,(%rax)
jne    12ab <main+0xdb>
mov    0x2d36(%rip),%rax
cmp    (%rax),%r14
jl     12ab <main+0xdb>
mov    0x2d32(%rip),%rax
cmp    (%rax),%r14
jle    1257 <main+0x87>
mov    0x2cf6(%rip),%rax
mov    (%rax),%edi
mov    (%r12),%edx
lea    0xd44(%rip),%rsi
call   1060 <errx@plt>
jmp    1257 <main+0x87>
mov    0x2cfb(%rip),%rax
mov    (%rax),%r15
cmp    %r15d,%ebp
jne    12dc <main+0x10c>
xor    %eax,%eax
call   10b0 <usage@plt>
movq   $0x0,0x0(%r13)
mov    0x2ccd(%rip),%rbp
mov    0x0(%rbp),%edi
xor    %esi,%esi
call   1030 <getpriority@plt>
add    %eax,%r14d
cmpq   $0x0,0x0(%r13)
je     1316 <main+0x146>
mov    0x2ca2(%rip),%rax
mov    (%rax),%edi
lea    0xd0b(%rip),%rsi
xor    %eax,%eax
call   1090 <err@plt>
lea    (%rbx,%r15,8),%rbx
mov    0x0(%rbp),%edi
xor    %esi,%esi
mov    %r14d,%edx
call   1070 <setpriority@plt>
cmp    $0xffffffff,%eax
jne    1338 <main+0x168>
lea    0xcf3(%rip),%rdi
call   1050 <warn@plt>
mov    (%rbx),%rdi
mov    %rbx,%rsi
call   10d0 <execvp@plt>
mov    0x0(%r13),%rax
mov    0x2c42(%rip),%rcx
cmp    (%rcx),%rax
sete   %cl
mov    0x2c9d(%rip),%rdx
cmp    (%rdx),%rax
sete   %al
or     %cl,%al
movzbl %al,%edi
or     $0x7e,%edi
mov    (%rbx),%rdx
lea    0xcbf(%rip),%rsi
xor    %eax,%eax
call   1090 <err@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@LC_ALL = global i32 0
@.str = [1 x i8] zeroinitializer
@.str.1 = [3 x i8] c"n:\00"
@errno = global i64 0
@optarg = global i32 0
@INT_MIN = global i64 0
@INT_MAX = global i64 0
@EXIT_FAILURE = global i32 0
@.str.2 = [23 x i8] c"invalid argument: `%s'\00"
@optind = global i64 0
@PRIO_PROCESS = global i32 0
@.str.3 = [12 x i8] c"getpriority\00"
@.str.4 = [12 x i8] c"setpriority\00"
@ENOENT = global i64 0
@ENOTDIR = global i64 0
@.str.5 = [3 x i8] c"%s\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i64
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 10, i32* %7
%10 = load i8**, i8*** %5
%11 = getelementptr inbounds i8*, i8** %10, i64 0
%12 = load i8*, i8** %11
%13 = call i32 @setprogname(i8* %12)
%14 = load i32, i32* @LC_ALL
%15 = call i32 @setlocale(i32 %14, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%16 = load i32, i32* %4
%17 = icmp sgt i32 %16, 1
br i1 %17, label %18, label %44
18: ; preds = %2
%19 = load i8**, i8*** %5
%20 = getelementptr inbounds i8*, i8** %19, i64 1
%21 = load i8*, i8** %20
%22 = getelementptr inbounds i8, i8* %21, i64 0
%23 = load i8, i8* %22
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 45
br i1 %25, label %26, label %44
26: ; preds = %18
%27 = load i8**, i8*** %5
%28 = getelementptr inbounds i8*, i8** %27, i64 1
%29 = load i8*, i8** %28
%30 = getelementptr inbounds i8, i8* %29, i64 1
%31 = load i8, i8* %30
%32 = call i64 @isdigit(i8 zeroext %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %44
34: ; preds = %26
%35 = load i8**, i8*** %5
%36 = getelementptr inbounds i8*, i8** %35, i64 1
%37 = load i8*, i8** %36
%38 = getelementptr inbounds i8, i8* %37, i64 1
%39 = call i32 @atoi(i8* %38)
store i32 %39, i32* %7
%40 = load i32, i32* %4
%41 = add nsw i32 %40, -1
store i32 %41, i32* %4
%42 = load i8**, i8*** %5
%43 = getelementptr inbounds i8*, i8** %42, i32 1
store i8** %43, i8*** %5
br label %44
44: ; preds = %34, %26, %18, %2
br label %45
45: ; preds = %76, %44
%46 = load i32, i32* %4
%47 = load i8**, i8*** %5
%48 = call i32 @getopt(i32 %46, i8** %47, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
store i32 %48, i32* %8
%49 = icmp ne i32 %48, -1
br i1 %49, label %50, label %77
50: ; preds = %45
%51 = load i32, i32* %8
switch i32 %51, label %74 [
i32 110, label %52
]
52: ; preds = %50
store i64 0, i64* @errno
%53 = load i32, i32* @optarg
%54 = call i64 @strtol(i32 %53, i8** %6, i32 10)
store i64 %54, i64* %9
%55 = load i8*, i8** %6
%56 = load i8, i8* %55
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 0
br i1 %58, label %67, label %59
59: ; preds = %52
%60 = load i64, i64* %9
%61 = load i64, i64* @INT_MIN
%62 = icmp slt i64 %60, %61
br i1 %62, label %67, label %63
63: ; preds = %59
%64 = load i64, i64* %9
%65 = load i64, i64* @INT_MAX
%66 = icmp sgt i64 %64, %65
br i1 %66, label %67, label %71
67: ; preds = %63, %59, %52
%68 = load i32, i32* @EXIT_FAILURE
%69 = load i32, i32* @optarg
%70 = call i32 @errx(i32 %68, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i32 %69)
br label %71
71: ; preds = %67, %63
%72 = load i64, i64* %9
%73 = trunc i64 %72 to i32
store i32 %73, i32* %7
br label %76
74: ; preds = %50
%75 = call i32 (...) @usage()
br label %76
76: ; preds = %74, %71
br label %45
77: ; preds = %45
%78 = load i64, i64* @optind
%79 = load i32, i32* %4
%80 = sext i32 %79 to i64
%81 = sub nsw i64 %80, %78
%82 = trunc i64 %81 to i32
store i32 %82, i32* %4
%83 = load i64, i64* @optind
%84 = load i8**, i8*** %5
%85 = getelementptr inbounds i8*, i8** %84, i64 %83
store i8** %85, i8*** %5
%86 = load i32, i32* %4
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %77
%89 = call i32 (...) @usage()
br label %90
90: ; preds = %88, %77
store i64 0, i64* @errno
%91 = load i32, i32* @PRIO_PROCESS
%92 = call i64 @getpriority(i32 %91, i32 0)
%93 = load i32, i32* %7
%94 = sext i32 %93 to i64
%95 = add nsw i64 %94, %92
%96 = trunc i64 %95 to i32
store i32 %96, i32* %7
%97 = load i64, i64* @errno
%98 = icmp ne i64 %97, 0
br i1 %98, label %99, label %102
99: ; preds = %90
%100 = load i32, i32* @EXIT_FAILURE
%101 = call i32 (i32, i8*, ...) @err(i32 %100, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
br label %102
102: ; preds = %99, %90
%103 = load i32, i32* @PRIO_PROCESS
%104 = load i32, i32* %7
%105 = call i32 @setpriority(i32 %103, i32 0, i32 %104)
%106 = icmp eq i32 %105, -1
br i1 %106, label %107, label %109
107: ; preds = %102
%108 = call i32 @warn(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
br label %109
109: ; preds = %107, %102
%110 = load i8**, i8*** %5
%111 = getelementptr inbounds i8*, i8** %110, i64 0
%112 = load i8*, i8** %111
%113 = load i8**, i8*** %5
%114 = getelementptr inbounds i8*, i8** %113, i64 0
%115 = call i32 @execvp(i8* %112, i8** %114)
%116 = load i64, i64* @errno
%117 = load i64, i64* @ENOENT
%118 = icmp eq i64 %116, %117
br i1 %118, label %123, label %119
119: ; preds = %109
%120 = load i64, i64* @errno
%121 = load i64, i64* @ENOTDIR
%122 = icmp eq i64 %120, %121
br label %123
123: ; preds = %119, %109
%124 = phi i1 [ true, %109 ], [ %122, %119 ]
%125 = zext i1 %124 to i64
%126 = select i1 %124, i32 127, i32 126
%127 = load i8**, i8*** %5
%128 = getelementptr inbounds i8*, i8** %127, i64 0
%129 = load i8*, i8** %128
%130 = call i32 (i32, i8*, ...) @err(i32 %126, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %129)
%131 = load i32, i32* %3
ret i32 %131
}

LLVM IR (-O2):
@LC_ALL = global i32 0
@.str = [1 x i8] zeroinitializer
@.str.1 = [3 x i8] c"n:\00"
@errno = global i64 0
@optarg = global i32 0
@INT_MIN = global i64 0
@INT_MAX = global i64 0
@EXIT_FAILURE = global i32 0
@.str.2 = [23 x i8] c"invalid argument: `%s'\00"
@optind = global i64 0
@PRIO_PROCESS = global i32 0
@.str.3 = [12 x i8] c"getpriority\00"
@.str.4 = [12 x i8] c"setpriority\00"
@ENOENT = global i64 0
@ENOTDIR = global i64 0
@.str.5 = [3 x i8] c"%s\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i8*
%4 = bitcast i8** %3 to i8*
%5 = load i8*, i8** %1
%6 = tail call i32 @setprogname(i8* %5)
%7 = load i32, i32* @LC_ALL
%8 = tail call i32 @setlocale(i32 %7, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%9 = icmp sgt i32 %0, 1
br i1 %9, label %10, label %25
10: ; preds = %2
%11 = getelementptr inbounds i8*, i8** %1, i64 1
%12 = load i8*, i8** %11
%13 = load i8, i8* %12
%14 = icmp eq i8 %13, 45
br i1 %14, label %15, label %25
15: ; preds = %10
%16 = getelementptr inbounds i8, i8* %12, i64 1
%17 = load i8, i8* %16
%18 = tail call i64 @isdigit(i8 zeroext %17)
%19 = icmp eq i64 %18, 0
br i1 %19, label %25, label %20
20: ; preds = %15
%21 = load i8*, i8** %11
%22 = getelementptr inbounds i8, i8* %21, i64 1
%23 = tail call i32 @atoi(i8* %22)
%24 = add nsw i32 %0, -1
br label %25
25: ; preds = %20, %15, %10, %2
%26 = phi i32 [ %23, %20 ], [ 10, %15 ], [ 10, %10 ], [ 10, %2 ]
%27 = phi i8** [ %11, %20 ], [ %1, %15 ], [ %1, %10 ], [ %1, %2 ]
%28 = phi i32 [ %24, %20 ], [ %0, %15 ], [ %0, %10 ], [ %0, %2 ]
br label %29
29: ; preds = %49, %25
%30 = phi i32 [ %50, %49 ], [ %26, %25 ]
br label %31
31: ; preds = %29, %51
%32 = call i32 @getopt(i32 %28, i8** %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
switch i32 %32, label %51 [
i32 -1, label %53
i32 110, label %33
]
33: ; preds = %31
store i64 0, i64* @errno
%34 = load i32, i32* @optarg
%35 = call i64 @strtol(i32 %34, i8** %3, i32 10)
%36 = load i8*, i8** %3
%37 = load i8, i8* %36
%38 = icmp ne i8 %37, 0
%39 = load i64, i64* @INT_MIN
%40 = icmp slt i64 %35, %39
%41 = select i1 %38, i1 true, i1 %40
%42 = load i64, i64* @INT_MAX
%43 = icmp sgt i64 %35, %42
%44 = select i1 %41, i1 true, i1 %43
br i1 %44, label %45, label %49
45: ; preds = %33
%46 = load i32, i32* @EXIT_FAILURE
%47 = load i32, i32* @optarg
%48 = call i32 @errx(i32 %46, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i32 %47)
br label %49
49: ; preds = %33, %45
%50 = trunc i64 %35 to i32
br label %29
51: ; preds = %31
%52 = call i32 (...) @usage()
br label %31
53: ; preds = %31
%54 = load i64, i64* @optind
%55 = trunc i64 %54 to i32
%56 = getelementptr inbounds i8*, i8** %27, i64 %54
%57 = icmp eq i32 %28, %55
br i1 %57, label %58, label %60
58: ; preds = %53
%59 = call i32 (...) @usage()
br label %60
60: ; preds = %58, %53
store i64 0, i64* @errno
%61 = load i32, i32* @PRIO_PROCESS
%62 = call i64 @getpriority(i32 %61, i32 0)
%63 = trunc i64 %62 to i32
%64 = add i32 %30, %63
%65 = load i64, i64* @errno
%66 = icmp eq i64 %65, 0
br i1 %66, label %70, label %67
67: ; preds = %60
%68 = load i32, i32* @EXIT_FAILURE
%69 = call i32 (i32, i8*, ...) @err(i32 %68, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
br label %70
70: ; preds = %67, %60
%71 = load i32, i32* @PRIO_PROCESS
%72 = call i32 @setpriority(i32 %71, i32 0, i32 %64)
%73 = icmp eq i32 %72, -1
br i1 %73, label %74, label %76
74: ; preds = %70
%75 = call i32 @warn(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
br label %76
76: ; preds = %74, %70
%77 = load i8*, i8** %56
%78 = call i32 @execvp(i8* %77, i8** %56)
%79 = load i64, i64* @errno
%80 = load i64, i64* @ENOENT
%81 = icmp eq i64 %79, %80
%82 = load i64, i64* @ENOTDIR
%83 = icmp eq i64 %79, %82
%84 = select i1 %81, i1 true, i1 %83
%85 = select i1 %84, i32 127, i32 126
%86 = load i8*, i8** %56
%87 = call i32 (i32, i8*, ...) @err(i32 %85, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %86)
ret i32 0
}