#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 stat {
  int /*<<< orphan*/ st_mode;
};

/* Variables and functions */
int /*<<< orphan*/ S_ISLNK(int /*<<< orphan*/);
int /*<<< orphan*/ free(char *);
int getline(char **, size_t *, int /*<<< orphan*/);
int lstat(char *, struct stat *);
char *malloc(int);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int readlink(char *, char *, int);
char *realloc(char *, int);
int /*<<< orphan*/ stdin;
char *strtok(char *, char *);
scalar_t__ symlink(char *, char *);
int main(int argc, char *argv[]) {
  char *old_path;
  char *new_path;
  struct stat statbuf;
  int num;
  char *buffer = NULL;
  char *line_buffer = NULL;
  size_t line_buffer_size = 0;
  int size = 1;
  if ((buffer = malloc(size + 1)) == NULL) {
    perror("checklink: malloc failed");
    return 1;
  }
  while (getline(&line_buffer, &line_buffer_size, stdin) != -1) {
    old_path = strtok(line_buffer, "\t ");
    new_path = strtok(NULL, "\t\n ");
    if (!old_path || !new_path)
      break;
    if (symlink(old_path, new_path) != 0) {
      perror("checklink : symlink failed ");
      return 1;
    }
    if (lstat(new_path, &statbuf) == -1) {
      perror("checklink: lstat failed");
      return 1;
    }
    if (!(S_ISLNK(statbuf.st_mode))) {
      printf("checklink : file %s is not a symbol link\n", new_path);
      return 1;
    }
    while (1) {
      memset(buffer, 0, size + 1);
      num = readlink(new_path, buffer, size);
      if (num < 1 || num > size) {
        perror("checklink: readlink failed");
        free(buffer);
        return 1;
      }
      if (buffer[num] != 0) {
        printf("checklink : readlink corrupts memory\n");
        free(buffer);
        return 1;
      }
      if (num < size)
        break;
      size *= 2;
      if ((buffer = realloc(buffer, size + 1)) == NULL) {
        perror("checklink: realloc failed");
        return 1;
      }
    }
  }
  free(buffer);
  free(line_buffer);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x38(%rbp)
movq   $0x0,-0x40(%rbp)
movq   $0x0,-0x48(%rbp)
movl   $0x1,-0x4c(%rbp)
mov    -0x4c(%rbp),%edi
add    $0x1,%edi
call   10a0 <malloc@plt>
mov    %rax,-0x38(%rbp)
cmp    $0x0,%rax
jne    1226 <main+0x66>
lea    0xdeb(%rip),%rdi
call   10c0 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1423 <main+0x263>
jmp    122b <main+0x6b>
mov    0x2db6(%rip),%rax
mov    (%rax),%edx
lea    -0x40(%rbp),%rdi
lea    -0x48(%rbp),%rsi
call   10e0 <getline@plt>
cmp    $0xffffffff,%eax
je     140a <main+0x24a>
mov    -0x40(%rbp),%rdi
lea    0xdc4(%rip),%rsi
call   10d0 <strtok@plt>
mov    %rax,-0x18(%rbp)
xor    %eax,%eax
mov    %eax,%edi
lea    0xdb3(%rip),%rsi
call   10d0 <strtok@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     1288 <main+0xc8>
cmpq   $0x0,-0x20(%rbp)
jne    128d <main+0xcd>
jmp    140a <main+0x24a>
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1070 <symlink@plt>
cmp    $0x0,%rax
je     12bc <main+0xfc>
lea    0xd75(%rip),%rdi
call   10c0 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1423 <main+0x263>
mov    -0x20(%rbp),%rdi
lea    -0x28(%rbp),%rsi
call   1090 <lstat@plt>
cmp    $0xffffffff,%eax
jne    12ea <main+0x12a>
lea    0xd63(%rip),%rdi
call   10c0 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1423 <main+0x263>
mov    -0x28(%rbp),%edi
call   1040 <S_ISLNK@plt>
cmp    $0x0,%eax
jne    1319 <main+0x159>
mov    -0x20(%rbp),%rsi
lea    0xd4e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1423 <main+0x263>
jmp    131e <main+0x15e>
mov    -0x38(%rbp),%rdi
mov    -0x4c(%rbp),%edx
add    $0x1,%edx
xor    %esi,%esi
call   1080 <memset@plt>
mov    -0x20(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x4c(%rbp),%edx
call   1050 <readlink@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x1,-0x2c(%rbp)
jl     1358 <main+0x198>
mov    -0x2c(%rbp),%eax
cmp    -0x4c(%rbp),%eax
jle    1379 <main+0x1b9>
lea    0xd1f(%rip),%rdi
call   10c0 <perror@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
movl   $0x1,-0x4(%rbp)
jmp    1423 <main+0x263>
mov    -0x38(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
je     13b1 <main+0x1f1>
lea    0xd04(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
movl   $0x1,-0x4(%rbp)
jmp    1423 <main+0x263>
mov    -0x2c(%rbp),%eax
cmp    -0x4c(%rbp),%eax
jge    13c2 <main+0x202>
jmp    1405 <main+0x245>
mov    -0x4c(%rbp),%eax
shl    $0x1,%eax
mov    %eax,-0x4c(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x4c(%rbp),%esi
add    $0x1,%esi
call   10b0 <realloc@plt>
mov    %rax,-0x38(%rbp)
cmp    $0x0,%rax
jne    1400 <main+0x240>
lea    0xcd0(%rip),%rdi
call   10c0 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1423 <main+0x263>
jmp    131e <main+0x15e>
jmp    122b <main+0x6b>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
mov    -0x40(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
movq   $0x0,(%rsp)
movq   $0x0,0x10(%rsp)
mov    $0x2,%edi
call   10b0 <malloc@plt>
test   %rax,%rax
je     1373 <main+0x1a3>
mov    %rax,%rbx
mov    0x2ddc(%rip),%rax
mov    (%rax),%edx
mov    %rsp,%rdi
lea    0x10(%rsp),%rsi
call   10f0 <getline@plt>
cmp    $0xffffffff,%eax
je     1336 <main+0x166>
mov    $0x1,%r13d
lea    0xde8(%rip),%r12
lea    0xde4(%rip),%rbp
mov    (%rsp),%rdi
mov    %r12,%rsi
call   10e0 <strtok@plt>
mov    %rax,%r14
xor    %edi,%edi
mov    %rbp,%rsi
call   10e0 <strtok@plt>
test   %r14,%r14
je     1336 <main+0x166>
mov    %rax,%r15
test   %rax,%rax
je     1336 <main+0x166>
mov    %r14,%rdi
mov    %r15,%rsi
call   1080 <symlink@plt>
test   %rax,%rax
jne    13ab <main+0x1db>
mov    %r15,%rdi
lea    0x8(%rsp),%rsi
call   10a0 <lstat@plt>
cmp    $0xffffffff,%eax
je     13b4 <main+0x1e4>
mov    0x8(%rsp),%edi
call   1040 <S_ISLNK@plt>
test   %eax,%eax
je     137c <main+0x1ac>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
lea    0x1(%r13),%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   1090 <memset@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r13d,%edx
call   1060 <readlink@plt>
test   %eax,%eax
jle    138f <main+0x1bf>
cmp    %r13d,%eax
jg     138f <main+0x1bf>
mov    %eax,%ecx
cmpb   $0x0,(%rbx,%rcx,1)
jne    134b <main+0x17b>
cmp    %r13d,%eax
jl     1310 <main+0x140>
mov    %r13d,%ebp
add    %r13d,%ebp
lea    0x1(%r13,%r13,1),%esi
mov    %rbx,%rdi
call   10c0 <realloc@plt>
mov    %rax,%rbx
mov    %ebp,%r13d
test   %rax,%rax
jne    12b0 <main+0xe0>
jmp    139d <main+0x1cd>
nopl   (%rax)
mov    0x2cd1(%rip),%rax
mov    (%rax),%edx
mov    %rsp,%rdi
lea    0x10(%rsp),%rsi
call   10f0 <getline@plt>
cmp    $0xffffffff,%eax
lea    0xcec(%rip),%rbp
jne    1238 <main+0x68>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    (%rsp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
jmp    1364 <main+0x194>
lea    0xd61(%rip),%rdi
call   1050 <puts@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    $0x1,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xc86(%rip),%rdi
jmp    13a4 <main+0x1d4>
lea    0xcd1(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
jmp    135f <main+0x18f>
lea    0xce8(%rip),%rdi
call   10d0 <perror@plt>
jmp    1357 <main+0x187>
lea    0xcf5(%rip),%rdi
call   10d0 <perror@plt>
jmp    135f <main+0x18f>
lea    0xc6e(%rip),%rdi
jmp    13a4 <main+0x1d4>
lea    0xc81(%rip),%rdi
jmp    13a4 <main+0x1d4>

LLVM IR (-O0):
%struct.stat = type { i32 }
@.str = [25 x i8] c"checklink: malloc failed\00"
@stdin = global i32 0
@.str.1 = [3 x i8] c"\09 \00"
@.str.2 = [4 x i8] c"\09\0A \00"
@.str.3 = [28 x i8] c"checklink : symlink failed \00"
@.str.4 = [24 x i8] c"checklink: lstat failed\00"
@.str.5 = [42 x i8] c"checklink : file %s is not a symbol link\0A\00"
@.str.6 = [27 x i8] c"checklink: readlink failed\00"
@.str.7 = [38 x i8] c"checklink : readlink corrupts memory\0A\00"
@.str.8 = [26 x i8] c"checklink: realloc failed\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca %struct.stat
%9 = alloca i32
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i64
%13 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i8* null, i8** %10
store i8* null, i8** %11
store i64 0, i64* %12
store i32 1, i32* %13
%14 = load i32, i32* %13
%15 = add nsw i32 %14, 1
%16 = call i8* @malloc(i32 %15)
store i8* %16, i8** %10
%17 = icmp eq i8* %16, null
br i1 %17, label %18, label %20
18: ; preds = %2
%19 = call i32 @perror(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %3
br label %110
20: ; preds = %2
br label %21
21: ; preds = %104, %20
%22 = load i32, i32* @stdin
%23 = call i32 @getline(i8** %11, i64* %12, i32 %22)
%24 = icmp ne i32 %23, -1
br i1 %24, label %25, label %105
25: ; preds = %21
%26 = load i8*, i8** %11
%27 = call i8* @strtok(i8* %26, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
store i8* %27, i8** %6
%28 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
store i8* %28, i8** %7
%29 = load i8*, i8** %6
%30 = icmp ne i8* %29, null
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = load i8*, i8** %7
%33 = icmp ne i8* %32, null
br i1 %33, label %35, label %34
34: ; preds = %31, %25
br label %105
35: ; preds = %31
%36 = load i8*, i8** %6
%37 = load i8*, i8** %7
%38 = call i64 @symlink(i8* %36, i8* %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %35
%41 = call i32 @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
store i32 1, i32* %3
br label %110
42: ; preds = %35
%43 = load i8*, i8** %7
%44 = call i32 @lstat(i8* %43, %struct.stat* %8)
%45 = icmp eq i32 %44, -1
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 @perror(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
store i32 1, i32* %3
br label %110
48: ; preds = %42
%49 = getelementptr inbounds %struct.stat, %struct.stat* %8, i32 0, i32 0
%50 = load i32, i32* %49
%51 = call i32 @S_ISLNK(i32 %50)
%52 = icmp ne i32 %51, 0
br i1 %52, label %56, label %53
53: ; preds = %48
%54 = load i8*, i8** %7
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0), i8* %54)
store i32 1, i32* %3
br label %110
56: ; preds = %48
br label %57
57: ; preds = %56, %103
%58 = load i8*, i8** %10
%59 = load i32, i32* %13
%60 = add nsw i32 %59, 1
%61 = call i32 @memset(i8* %58, i32 0, i32 %60)
%62 = load i8*, i8** %7
%63 = load i8*, i8** %10
%64 = load i32, i32* %13
%65 = call i32 @readlink(i8* %62, i8* %63, i32 %64)
store i32 %65, i32* %9
%66 = load i32, i32* %9
%67 = icmp slt i32 %66, 1
br i1 %67, label %72, label %68
68: ; preds = %57
%69 = load i32, i32* %9
%70 = load i32, i32* %13
%71 = icmp sgt i32 %69, %70
br i1 %71, label %72, label %76
72: ; preds = %68, %57
%73 = call i32 @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0))
%74 = load i8*, i8** %10
%75 = call i32 @free(i8* %74)
store i32 1, i32* %3
br label %110
76: ; preds = %68
%77 = load i8*, i8** %10
%78 = load i32, i32* %9
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, i8* %77, i64 %79
%81 = load i8, i8* %80
%82 = sext i8 %81 to i32
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %88
84: ; preds = %76
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0))
%86 = load i8*, i8** %10
%87 = call i32 @free(i8* %86)
store i32 1, i32* %3
br label %110
88: ; preds = %76
%89 = load i32, i32* %9
%90 = load i32, i32* %13
%91 = icmp slt i32 %89, %90
br i1 %91, label %92, label %93
92: ; preds = %88
br label %104
93: ; preds = %88
%94 = load i32, i32* %13
%95 = mul nsw i32 %94, 2
store i32 %95, i32* %13
%96 = load i8*, i8** %10
%97 = load i32, i32* %13
%98 = add nsw i32 %97, 1
%99 = call i8* @realloc(i8* %96, i32 %98)
store i8* %99, i8** %10
%100 = icmp eq i8* %99, null
br i1 %100, label %101, label %103
101: ; preds = %93
%102 = call i32 @perror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
store i32 1, i32* %3
br label %110
103: ; preds = %93
br label %57
104: ; preds = %92
br label %21
105: ; preds = %34, %21
%106 = load i8*, i8** %10
%107 = call i32 @free(i8* %106)
%108 = load i8*, i8** %11
%109 = call i32 @free(i8* %108)
store i32 0, i32* %3
br label %110
110: ; preds = %105, %101, %84, %72, %53, %46, %40, %18
%111 = load i32, i32* %3
ret i32 %111
}

LLVM IR (-O2):
%struct.stat = type { i32 }
@.str = [25 x i8] c"checklink: malloc failed\00"
@stdin = global i32 0
@.str.1 = [3 x i8] c"\09 \00"
@.str.2 = [4 x i8] c"\09\0A \00"
@.str.3 = [28 x i8] c"checklink : symlink failed \00"
@.str.4 = [24 x i8] c"checklink: lstat failed\00"
@.str.5 = [42 x i8] c"checklink : file %s is not a symbol link\0A\00"
@.str.6 = [27 x i8] c"checklink: readlink failed\00"
@.str.8 = [26 x i8] c"checklink: realloc failed\00"
@str = [37 x i8] c"checklink : readlink corrupts memory\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca %struct.stat
%4 = alloca i8*
%5 = alloca i64
%6 = bitcast %struct.stat* %3 to i8*
%7 = bitcast i8** %4 to i8*
store i8* null, i8** %4
%8 = bitcast i64* %5 to i8*
store i64 0, i64* %5
%9 = tail call dereferenceable_or_null(2) i8* @malloc(i32 2)
%10 = icmp eq i8* %9, null
br i1 %10, label %17, label %11
11: ; preds = %2
%12 = load i32, i32* @stdin
%13 = call i32 @getline(i8** %4, i64* %5, i32 %12)
%14 = icmp eq i32 %13, -1
br i1 %14, label %77, label %15
15: ; preds = %11
%16 = getelementptr inbounds %struct.stat, %struct.stat* %3, i64 0, i32 0
br label %23
17: ; preds = %2
%18 = tail call i32 @perror(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
br label %82
19: ; preds = %68
%20 = load i32, i32* @stdin
%21 = call i32 @getline(i8** %4, i64* %5, i32 %20)
%22 = icmp eq i32 %21, -1
br i1 %22, label %77, label %23
23: ; preds = %15, %19
%24 = phi i32 [ 1, %15 ], [ %50, %19 ]
%25 = phi i8* [ %9, %15 ], [ %49, %19 ]
%26 = load i8*, i8** %4
%27 = call i8* @strtok(i8* %26, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%28 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%29 = icmp ne i8* %27, null
%30 = icmp ne i8* %28, null
%31 = select i1 %29, i1 %30, i1 false
br i1 %31, label %32, label %77
32: ; preds = %23
%33 = call i64 @symlink(i8* %27, i8* %28)
%34 = icmp eq i64 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %32
%36 = call i32 @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
br label %82
37: ; preds = %32
%38 = call i32 @lstat(i8* %28, %struct.stat* %3)
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @perror(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
br label %82
42: ; preds = %37
%43 = load i32, i32* %16
%44 = call i32 @S_ISLNK(i32 %43)
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0), i8* %28)
br label %82
48: ; preds = %42, %70
%49 = phi i8* [ %73, %70 ], [ %25, %42 ]
%50 = phi i32 [ %71, %70 ], [ %24, %42 ]
%51 = add nsw i32 %50, 1
%52 = call i32 @memset(i8* %49, i32 0, i32 %51)
%53 = call i32 @readlink(i8* %28, i8* %49, i32 %50)
%54 = icmp slt i32 %53, 1
%55 = icmp sgt i32 %53, %50
%56 = select i1 %54, i1 true, i1 %55
br i1 %56, label %57, label %60
57: ; preds = %48
%58 = call i32 @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0))
%59 = call i32 @free(i8* %49)
br label %82
60: ; preds = %48
%61 = zext i32 %53 to i64
%62 = getelementptr inbounds i8, i8* %49, i64 %61
%63 = load i8, i8* %62
%64 = icmp eq i8 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %60
%66 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str, i64 0, i64 0))
%67 = call i32 @free(i8* %49)
br label %82
68: ; preds = %60
%69 = icmp slt i32 %53, %50
br i1 %69, label %19, label %70
70: ; preds = %68
%71 = shl nsw i32 %50, 1
%72 = or i32 %71, 1
%73 = call i8* @realloc(i8* %49, i32 %72)
%74 = icmp eq i8* %73, null
br i1 %74, label %75, label %48
75: ; preds = %70
%76 = call i32 @perror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
br label %82
77: ; preds = %19, %23, %11
%78 = phi i8* [ %9, %11 ], [ %25, %23 ], [ %49, %19 ]
%79 = call i32 @free(i8* %78)
%80 = load i8*, i8** %4
%81 = call i32 @free(i8* %80)
br label %82
82: ; preds = %77, %75, %65, %57, %46, %40, %35, %17
%83 = phi i32 [ 1, %17 ], [ 1, %35 ], [ 1, %40 ], [ 1, %57 ], [ 1, %65 ], [ 1, %75 ], [ 1, %46 ], [ 0, %77 ]
ret i32 %83
}