#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*/ arg1;

/* Variables and functions */
long INT_MAX;
long INT_MIN;
int /*<<< orphan*/ PRIO_PROCESS;
scalar_t__ errno;
int /*<<< orphan*/ execvp(char *, char **);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
int getopt(int, char **, char *);
scalar_t__ getpriority(int /*<<< orphan*/, int /*<<< orphan*/);
scalar_t__ isdigit(unsigned char);
char *optarg;
scalar_t__ optind;
int /*<<< orphan*/ perror(char *);
scalar_t__ setpriority(int /*<<< orphan*/, int /*<<< orphan*/, int);
int /*<<< orphan*/ snprintf(char *, int, char *, char *);
int /*<<< orphan*/ stderr;
scalar_t__ strcmp(char *, char *);
long strtol(char *, char **, int);
int /*<<< orphan*/ usage();
int main(int argc, char *argv[]) {
  long niceness = 10;
  int ch;
  char *ep;
  char arg1[10];
  if (argc >= 2 && argv[1][0] == '-' &&
      (argv[1][1] == '-' || isdigit((unsigned char)argv[1][1])) &&
      strcmp(argv[1], "--") != 0) {
    snprintf(arg1, sizeof(arg1), "-n%s", argv[1] + 1);
    argv[1] = arg1;
  }
  while ((ch = getopt(argc, argv, "n:")) != -1) {
    switch (ch) {
    case 'n':
      errno = 0;
      niceness = strtol(optarg, &ep, 10);
      if (ep == optarg || *ep != '\0' || errno || niceness < INT_MIN ||
          niceness > INT_MAX) {
        fprintf(stderr, "%s: invalid nice value", optarg);
        return 1;
      }
      break;
    default:
      usage();
    }
  }
  argc -= optind;
  argv += optind;
  if (argc == 0)
    usage();
  errno = 0;
  niceness += getpriority(PRIO_PROCESS, 0);
  if (errno) {
    perror("getpriority");
    return 1;
  }
  if (setpriority(PRIO_PROCESS, 0, (int)niceness)) {
    perror("setpriority");
    return 1;
  }
  errno = 0;
  execvp(*argv, argv);
  perror("execvp");
  return 1;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0xa,-0x18(%rbp)
cmpl   $0x2,-0x8(%rbp)
jl     1267 <main+0xb7>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    1267 <main+0xb7>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x2d,%eax
je     121c <main+0x6c>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movzbl 0x1(%rax),%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     1267 <main+0xb7>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdd5(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1267 <main+0xb7>
lea    -0x32(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rcx
add    $0x1,%rcx
mov    $0xa,%esi
lea    0xdad(%rip),%rdx
call   1050 <snprintf@plt>
lea    -0x32(%rbp),%rcx
mov    -0x10(%rbp),%rax
mov    %rcx,0x8(%rax)
jmp    126c <main+0xbc>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xd8e(%rip),%rdx
call   10c0 <getopt@plt>
mov    %eax,-0x1c(%rbp)
cmp    $0xffffffff,%eax
je     135f <main+0x1af>
mov    -0x1c(%rbp),%eax
sub    $0x6e,%eax
jne    1353 <main+0x1a3>
jmp    129c <main+0xec>
mov    0x2d0d(%rip),%rax
movq   $0x0,(%rax)
mov    0x2d47(%rip),%rax
mov    (%rax),%rdi
lea    -0x28(%rbp),%rsi
mov    $0xa,%edx
call   1090 <strtol@plt>
mov    %rax,-0x18(%rbp)
mov    -0x28(%rbp),%rax
mov    0x2d27(%rip),%rcx
cmp    (%rcx),%rax
je     1323 <main+0x173>
mov    -0x28(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1323 <main+0x173>
mov    0x2cbf(%rip),%rax
cmpq   $0x0,(%rax)
jne    1323 <main+0x173>
mov    -0x18(%rbp),%rax
mov    0x2cd2(%rip),%rcx
cmp    (%rcx),%rax
jl     1323 <main+0x173>
mov    -0x18(%rbp),%rax
mov    0x2cc6(%rip),%rcx
cmp    (%rcx),%rax
jle    134e <main+0x19e>
mov    0x2c8e(%rip),%rax
mov    (%rax),%edi
mov    0x2cc5(%rip),%rax
mov    (%rax),%rdx
lea    0xcce(%rip),%rsi
call   1080 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1452 <main+0x2a2>
jmp    135a <main+0x1aa>
mov    $0x0,%al
call   10a0 <usage@plt>
jmp    126c <main+0xbc>
mov    0x2c6a(%rip),%rax
mov    (%rax),%rcx
movslq -0x8(%rbp),%rax
sub    %rcx,%rax
mov    %eax,-0x8(%rbp)
mov    0x2c56(%rip),%rax
mov    (%rax),%rax
shl    $0x3,%rax
add    -0x10(%rbp),%rax
mov    %rax,-0x10(%rbp)
cmpl   $0x0,-0x8(%rbp)
jne    139a <main+0x1ea>
mov    $0x0,%al
call   10a0 <usage@plt>
mov    0x2c0f(%rip),%rax
movq   $0x0,(%rax)
mov    0x2c11(%rip),%rax
mov    (%rax),%edi
xor    %esi,%esi
call   1030 <getpriority@plt>
add    -0x18(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    0x2be9(%rip),%rax
cmpq   $0x0,(%rax)
je     13e9 <main+0x239>
lea    0xc4a(%rip),%rdi
call   10b0 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1452 <main+0x2a2>
mov    0x2bd0(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rax
mov    %eax,%edx
xor    %esi,%esi
call   1060 <setpriority@plt>
cmp    $0x0,%rax
je     1421 <main+0x271>
lea    0xc1e(%rip),%rdi
call   10b0 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1452 <main+0x2a2>
mov    0x2b88(%rip),%rax
movq   $0x0,(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rsi
call   10d0 <execvp@plt>
lea    0xbf4(%rip),%rdi
call   10b0 <perror@plt>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rsi,%r15
mov    %edi,%ebp
cmp    $0x2,%edi
jl     121f <main+0x6f>
mov    0x8(%r15),%rdi
cmpb   $0x2d,(%rdi)
jne    121f <main+0x6f>
mov    0x1(%rdi),%al
cmp    $0x2d,%al
je     11e9 <main+0x39>
movzbl %al,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
je     121f <main+0x6f>
mov    0x8(%r15),%rdi
lea    0xe10(%rip),%rsi
call   1070 <strcmp@plt>
test   %rax,%rax
je     121f <main+0x6f>
mov    0x8(%r15),%rcx
add    $0x1,%rcx
lea    0xdfa(%rip),%rdx
lea    0xe(%rsp),%rbx
mov    %rbx,%rdi
mov    $0xa,%esi
call   1050 <snprintf@plt>
mov    %rbx,0x8(%r15)
mov    $0xa,%r14d
lea    0xddc(%rip),%rbx
mov    0x2d7d(%rip),%r13
mov    0x2dbe(%rip),%r12
nopw   0x0(%rax,%rax,1)
mov    %ebp,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   10c0 <getopt@plt>
cmp    $0x6e,%eax
je     1260 <main+0xb0>
cmp    $0xffffffff,%eax
je     12bb <main+0x10b>
xor    %eax,%eax
call   10a0 <usage@plt>
jmp    1240 <main+0x90>
movq   $0x0,0x0(%r13)
mov    (%r12),%rdi
mov    %rsp,%rsi
mov    $0xa,%edx
call   1090 <strtol@plt>
mov    %rax,%r14
mov    (%rsp),%rax
mov    (%r12),%rdx
cmp    %rdx,%rax
je     1321 <main+0x171>
cmpb   $0x0,(%rax)
jne    1324 <main+0x174>
cmpq   $0x0,0x0(%r13)
jne    1324 <main+0x174>
mov    0x2d30(%rip),%rax
cmp    (%rax),%r14
jl     1324 <main+0x174>
mov    0x2d2c(%rip),%rax
cmp    (%rax),%r14
jle    1240 <main+0x90>
jmp    1324 <main+0x174>
mov    0x2d0e(%rip),%rax
mov    (%rax),%rbx
cmp    %ebp,%ebx
jne    12d0 <main+0x120>
xor    %eax,%eax
call   10a0 <usage@plt>
movq   $0x0,0x0(%r13)
mov    0x2ce1(%rip),%rbp
mov    0x0(%rbp),%edi
xor    %esi,%esi
call   1030 <getpriority@plt>
cmpq   $0x0,0x0(%r13)
jne    133b <main+0x18b>
add    %r14d,%eax
mov    0x0(%rbp),%edi
xor    %esi,%esi
mov    %eax,%edx
call   1060 <setpriority@plt>
test   %rax,%rax
jne    1344 <main+0x194>
lea    (%r15,%rbx,8),%rsi
movq   $0x0,0x0(%r13)
mov    (%rsi),%rdi
call   10d0 <execvp@plt>
lea    0xd1b(%rip),%rdi
jmp    134b <main+0x19b>
mov    %rax,%rdx
mov    0x2c8d(%rip),%rax
mov    (%rax),%edi
lea    0xcd7(%rip),%rsi
call   1080 <fprintf@plt>
jmp    1350 <main+0x1a0>
lea    0xce0(%rip),%rdi
jmp    134b <main+0x19b>
lea    0xce3(%rip),%rdi
call   10b0 <perror@plt>
mov    $0x1,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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