#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;
long INT_MAX;
long INT_MIN;
int /*<<< orphan*/ PRIO_PROCESS;
scalar_t__ asprintf(char **, char *, char *);
int /*<<< orphan*/ err(int, char *, ...);
scalar_t__ errno;
int /*<<< orphan*/ errx(int, char *, char *);
int /*<<< orphan*/ execvp(char *, char **);
int getopt(int, char **, char *);
scalar_t__ getpriority(int /*<<< orphan*/, int /*<<< orphan*/);
scalar_t__ isdigit(unsigned char);
char *optarg;
scalar_t__ optind;
scalar_t__ setpriority(int /*<<< orphan*/, int /*<<< orphan*/, int);
scalar_t__ strcmp(char *, char *);
long strtol(char *, char **, int);
int /*<<< orphan*/ usage();
int /*<<< orphan*/ warn(char *);
int main(int argc, char *argv[]) {
  long niceness = 10;
  int ch;
  char *ep;
  if (argc >= 2 && argv[1][0] == '-' &&
      (argv[1][1] == '-' || isdigit((unsigned char)argv[1][1])) &&
      strcmp(argv[1], "--") != 0)
    if (asprintf(&argv[1], "-n%s", argv[1] + 1) < 0)
      err(1, "asprintf");
  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)
        errx(1, "%s: invalid nice value", optarg);
      break;
    default:
      usage();
    }
  }
  argc -= optind;
  argv += optind;
  if (argc == 0)
    usage();
  errno = 0;
  niceness += getpriority(PRIO_PROCESS, 0);
  if (errno)
    warn("getpriority");
  else if (setpriority(PRIO_PROCESS, 0, (int)niceness))
    warn("setpriority");
  execvp(*argv, argv);
  err(errno == ENOENT ? 127 : 126, "%s", *argv);
}


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)
movq   $0xa,-0x18(%rbp)
cmpl   $0x2,-0x8(%rbp)
jl     128c <main+0xcc>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    128c <main+0xcc>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x2d,%eax
je     122c <main+0x6c>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movzbl 0x1(%rax),%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     128c <main+0xcc>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdc5(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
je     128c <main+0xcc>
mov    -0x10(%rbp),%rdi
add    $0x8,%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdx
add    $0x1,%rdx
lea    0xd9e(%rip),%rsi
call   10b0 <asprintf@plt>
cmp    $0x0,%rax
jge    1287 <main+0xc7>
mov    $0x1,%edi
lea    0xd88(%rip),%rsi
mov    $0x0,%al
call   10a0 <err@plt>
jmp    128c <main+0xcc>
jmp    1291 <main+0xd1>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xd72(%rip),%rdx
call   10d0 <getopt@plt>
mov    %eax,-0x1c(%rbp)
cmp    $0xffffffff,%eax
je     1374 <main+0x1b4>
mov    -0x1c(%rbp),%eax
sub    $0x6e,%eax
jne    1368 <main+0x1a8>
jmp    12c1 <main+0x101>
mov    0x2cf0(%rip),%rax
movq   $0x0,(%rax)
mov    0x2d22(%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    0x2d02(%rip),%rcx
cmp    (%rcx),%rax
je     1348 <main+0x188>
mov    -0x28(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1348 <main+0x188>
mov    0x2ca2(%rip),%rax
cmpq   $0x0,(%rax)
jne    1348 <main+0x188>
mov    -0x18(%rbp),%rax
mov    0x2cad(%rip),%rcx
cmp    (%rcx),%rax
jl     1348 <main+0x188>
mov    -0x18(%rbp),%rax
mov    0x2ca1(%rip),%rcx
cmp    (%rcx),%rax
jle    1363 <main+0x1a3>
mov    0x2ca9(%rip),%rax
mov    (%rax),%rdx
mov    $0x1,%edi
lea    0xcb6(%rip),%rsi
call   1060 <errx@plt>
jmp    136f <main+0x1af>
mov    $0x0,%al
call   10c0 <usage@plt>
jmp    1291 <main+0xd1>
mov    0x2c55(%rip),%rax
mov    (%rax),%rcx
movslq -0x8(%rbp),%rax
sub    %rcx,%rax
mov    %eax,-0x8(%rbp)
mov    0x2c41(%rip),%rax
mov    (%rax),%rax
shl    $0x3,%rax
add    -0x10(%rbp),%rax
mov    %rax,-0x10(%rbp)
cmpl   $0x0,-0x8(%rbp)
jne    13af <main+0x1ef>
mov    $0x0,%al
call   10c0 <usage@plt>
mov    0x2c02(%rip),%rax
movq   $0x0,(%rax)
mov    0x2bfc(%rip),%rax
mov    (%rax),%edi
xor    %esi,%esi
call   1030 <getpriority@plt>
add    -0x18(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    0x2bdc(%rip),%rax
cmpq   $0x0,(%rax)
je     13f7 <main+0x237>
lea    0xc3e(%rip),%rdi
call   1050 <warn@plt>
jmp    1428 <main+0x268>
mov    0x2bc2(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rax
mov    %eax,%edx
xor    %esi,%esi
call   1070 <setpriority@plt>
cmp    $0x0,%rax
je     1423 <main+0x263>
lea    0xc19(%rip),%rdi
call   1050 <warn@plt>
jmp    1428 <main+0x268>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rsi
call   10e0 <execvp@plt>
mov    0x2b79(%rip),%rax
mov    (%rax),%rcx
mov    0x2b5f(%rip),%rax
mov    (%rax),%rdx
mov    $0x7e,%edi
mov    $0x7f,%eax
cmp    %rdx,%rcx
cmove  %eax,%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xb9b(%rip),%rsi
mov    $0x0,%al
call   10a0 <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
cmp    $0x2,%edi
jl     1238 <main+0x78>
mov    0x8(%rbx),%rdi
cmpb   $0x2d,(%rdi)
jne    1238 <main+0x78>
lea    0x8(%rbx),%r14
mov    0x1(%rdi),%al
cmp    $0x2d,%al
je     11f9 <main+0x39>
movzbl %al,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
je     1238 <main+0x78>
mov    (%r14),%rdi
lea    0xe00(%rip),%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
je     1238 <main+0x78>
mov    (%r14),%rdx
add    $0x1,%rdx
lea    0xdeb(%rip),%rsi
mov    %r14,%rdi
call   10b0 <asprintf@plt>
test   %rax,%rax
jns    1238 <main+0x78>
lea    0xddc(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   10a0 <err@plt>
mov    $0xa,%r14d
lea    0xdcc(%rip),%r15
mov    0x2d6c(%rip),%r13
mov    0x2da5(%rip),%r12
jmp    1267 <main+0xa7>
cs nopw 0x0(%rax,%rax,1)
nop
xor    %eax,%eax
call   10c0 <usage@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   10d0 <getopt@plt>
cmp    $0xffffffff,%eax
je     12de <main+0x11e>
cmp    $0x6e,%eax
jne    1260 <main+0xa0>
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     12cb <main+0x10b>
cmpb   $0x0,(%rax)
jne    12cb <main+0x10b>
cmpq   $0x0,0x0(%r13)
jne    12cb <main+0x10b>
mov    0x2d1e(%rip),%rax
cmp    (%rax),%r14
jl     12cb <main+0x10b>
mov    0x2d1a(%rip),%rax
cmp    (%rax),%r14
jle    1267 <main+0xa7>
mov    $0x1,%edi
lea    0xd3d(%rip),%rsi
call   1060 <errx@plt>
jmp    1267 <main+0xa7>
mov    0x2ceb(%rip),%rax
mov    (%rax),%r15
cmp    %ebp,%r15d
jne    12f4 <main+0x134>
xor    %eax,%eax
call   10c0 <usage@plt>
lea    (%rbx,%r15,8),%rbx
movq   $0x0,0x0(%r13)
mov    0x2cb9(%rip),%rbp
mov    0x0(%rbp),%edi
xor    %esi,%esi
call   1030 <getpriority@plt>
cmpq   $0x0,0x0(%r13)
je     1321 <main+0x161>
lea    0xd0c(%rip),%rdi
jmp    133c <main+0x17c>
add    %r14d,%eax
mov    0x0(%rbp),%edi
xor    %esi,%esi
mov    %eax,%edx
call   1070 <setpriority@plt>
test   %rax,%rax
je     1341 <main+0x181>
lea    0xcfb(%rip),%rdi
call   1050 <warn@plt>
mov    (%rbx),%rdi
mov    %rbx,%rsi
call   10e0 <execvp@plt>
mov    0x0(%r13),%rax
mov    0x2c51(%rip),%rcx
xor    %edi,%edi
cmp    (%rcx),%rax
sete   %dil
or     $0x7e,%edi
mov    (%rbx),%rdx
lea    0xc98(%rip),%rsi
xor    %eax,%eax
call   10a0 <err@plt>
xor    %eax,%eax
add    $0x8,%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 = [9 x i8] c"asprintf\00"
@.str.3 = [3 x i8] c"n:\00"
@errno = global i64 0
@optarg = global i8* null
@INT_MIN = global i64 0
@INT_MAX = global i64 0
@.str.4 = [23 x i8] c"%s: invalid nice value\00"
@optind = global i64 0
@PRIO_PROCESS = global i32 0
@.str.5 = [12 x i8] c"getpriority\00"
@.str.6 = [12 x i8] c"setpriority\00"
@ENOENT = global i64 0
@.str.7 = [3 x i8] c"%s\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*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i64 10, i64* %6
%9 = load i32, i32* %4
%10 = icmp sge i32 %9, 2
br i1 %10, label %11, label %53
11: ; preds = %2
%12 = load i8**, i8*** %5
%13 = getelementptr inbounds i8*, i8** %12, i64 1
%14 = load i8*, i8** %13
%15 = getelementptr inbounds i8, i8* %14, i64 0
%16 = load i8, i8* %15
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 45
br i1 %18, label %19, label %53
19: ; preds = %11
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 1
%22 = load i8*, i8** %21
%23 = getelementptr inbounds i8, i8* %22, i64 1
%24 = load i8, i8* %23
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 45
br i1 %26, label %35, label %27
27: ; preds = %19
%28 = load i8**, i8*** %5
%29 = getelementptr inbounds i8*, i8** %28, i64 1
%30 = load i8*, i8** %29
%31 = getelementptr inbounds i8, i8* %30, i64 1
%32 = load i8, i8* %31
%33 = call i64 @isdigit(i8 zeroext %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %53
35: ; preds = %27, %19
%36 = load i8**, i8*** %5
%37 = getelementptr inbounds i8*, i8** %36, i64 1
%38 = load i8*, i8** %37
%39 = call i64 @strcmp(i8* %38, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %53
41: ; preds = %35
%42 = load i8**, i8*** %5
%43 = getelementptr inbounds i8*, i8** %42, i64 1
%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 i64 @asprintf(i8** %43, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %47)
%49 = icmp slt i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %41
%51 = call i32 (i32, i8*, ...) @err(i32 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
br label %52
52: ; preds = %50, %41
br label %53
53: ; preds = %52, %35, %27, %11, %2
br label %54
54: ; preds = %89, %53
%55 = load i32, i32* %4
%56 = load i8**, i8*** %5
%57 = call i32 @getopt(i32 %55, i8** %56, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
store i32 %57, i32* %7
%58 = icmp ne i32 %57, -1
br i1 %58, label %59, label %90
59: ; preds = %54
%60 = load i32, i32* %7
switch i32 %60, label %87 [
i32 110, label %61
]
61: ; preds = %59
store i64 0, i64* @errno
%62 = load i8*, i8** @optarg
%63 = call i64 @strtol(i8* %62, i8** %8, i32 10)
store i64 %63, i64* %6
%64 = load i8*, i8** %8
%65 = load i8*, i8** @optarg
%66 = icmp eq i8* %64, %65
br i1 %66, label %83, label %67
67: ; preds = %61
%68 = load i8*, i8** %8
%69 = load i8, i8* %68
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 0
br i1 %71, label %83, label %72
72: ; preds = %67
%73 = load i64, i64* @errno
%74 = icmp ne i64 %73, 0
br i1 %74, label %83, label %75
75: ; preds = %72
%76 = load i64, i64* %6
%77 = load i64, i64* @INT_MIN
%78 = icmp slt i64 %76, %77
br i1 %78, label %83, label %79
79: ; preds = %75
%80 = load i64, i64* %6
%81 = load i64, i64* @INT_MAX
%82 = icmp sgt i64 %80, %81
br i1 %82, label %83, label %86
83: ; preds = %79, %75, %72, %67, %61
%84 = load i8*, i8** @optarg
%85 = call i32 @errx(i32 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0), i8* %84)
br label %86
86: ; preds = %83, %79
br label %89
87: ; preds = %59
%88 = call i32 (...) @usage()
br label %89
89: ; preds = %87, %86
br label %54
90: ; preds = %54
%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 @warn(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
br label %121
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 @warn(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
br label %120
120: ; preds = %118, %112
br label %121
121: ; preds = %120, %110
%122 = load i8**, i8*** %5
%123 = load i8*, i8** %122
%124 = load i8**, i8*** %5
%125 = call i32 @execvp(i8* %123, i8** %124)
%126 = load i64, i64* @errno
%127 = load i64, i64* @ENOENT
%128 = icmp eq i64 %126, %127
%129 = zext i1 %128 to i64
%130 = select i1 %128, i32 127, i32 126
%131 = load i8**, i8*** %5
%132 = load i8*, i8** %131
%133 = call i32 (i32, i8*, ...) @err(i32 %130, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %132)
%134 = load i32, i32* %3
ret i32 %134
}

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