#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 */
int /*<<< orphan*/ F_OK;
int O_CREAT;
int O_RDWR;
int O_TRUNC;
int /*<<< orphan*/ S_IRWXU;
int /*<<< orphan*/ access_test(char *, int /*<<< orphan*/);
int /*<<< orphan*/ close_test(int);
int expect_gez(int /*<<< orphan*/, int);
int expect_zng(int, int /*<<< orphan*/);
int /*<<< orphan*/ fflush(int /*<<< orphan*/ *);
int open_test(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ rename_test(char *, char *);
int /*<<< orphan*/ testbreak();
int /*<<< orphan*/ unlink_test(char *);
int /*<<< orphan*/ xtmpnam(char *);
int BasicRename(void) {
  char tf[8192] = {0};
  char ntf[8192] = {0};
  int fd;
  int passed;
  int block = 0;
  xtmpnam(tf);
  xtmpnam(ntf);
  testbreak();
  passed =
      expect_gez(0, fd = open_test(tf, O_RDWR | O_TRUNC | O_CREAT, S_IRWXU));
  if (passed != 0) {
    printf("\tFailed Phase 2: This call did something unexpected.\n");
    fflush(NULL);
    block = -1;
  };
  if (passed == -1) {
    printf("\tFail Phase 2: Aborting test because of catastrophic failure\n");
    fflush(NULL);
    return passed;
  };
  passed = expect_zng(0, close_test(fd));
  if (passed != 0) {
    printf("\tFailed Phase 2: This call did something unexpected.\n");
    fflush(NULL);
    block = -1;
  };
  passed = expect_zng(0, rename_test(tf, ntf));
  if (passed != 0) {
    printf("\tFailed Phase 2: This call did something unexpected.\n");
    fflush(NULL);
    block = -1;
  };
  passed = expect_zng(-1, access_test(tf, F_OK));
  if (passed != 0) {
    printf("\tFailed Phase 2: This call did something unexpected.\n");
    fflush(NULL);
    block = -1;
  };
  passed = expect_zng(-1, unlink_test(tf));
  if (passed != 0) {
    printf("\tFailed Phase 2: This call did something unexpected.\n");
    fflush(NULL);
    block = -1;
  };
  passed = expect_zng(0, access_test(ntf, F_OK));
  if (passed != 0) {
    printf("\tFailed Phase 2: This call did something unexpected.\n");
    fflush(NULL);
    block = -1;
  };
  passed = expect_zng(0, unlink_test(ntf));
  if (passed != 0) {
    printf("\tFailed Phase 2: This call did something unexpected.\n");
    fflush(NULL);
    block = -1;
  };
  testbreak();
  return block;
}


x86 assembly (clang, -O0):
<BasicRename>:
push   %rbp
mov    %rsp,%rbp
sub    $0x4020,%rsp
lea    -0x2010(%rbp),%rdi
xor    %esi,%esi
mov    $0x2000,%edx
call   1070 <memset@plt>
lea    -0x4010(%rbp),%rdi
xor    %esi,%esi
mov    $0x2000,%edx
call   1070 <memset@plt>
movl   $0x0,-0x401c(%rbp)
lea    -0x2010(%rbp),%rdi
call   1030 <xtmpnam@plt>
lea    -0x4010(%rbp),%rdi
call   1030 <xtmpnam@plt>
mov    $0x0,%al
call   10b0 <testbreak@plt>
lea    -0x2010(%rbp),%rdi
mov    0x2da8(%rip),%rax
mov    (%rax),%esi
mov    0x2dbf(%rip),%rax
or     (%rax),%esi
mov    0x2dbe(%rip),%rax
or     (%rax),%esi
mov    0x2d95(%rip),%rax
mov    (%rax),%edx
call   1080 <open_test@plt>
mov    %eax,%esi
mov    %esi,-0x4014(%rbp)
xor    %edi,%edi
call   10e0 <expect_gez@plt>
mov    %eax,-0x4018(%rbp)
cmpl   $0x0,-0x4018(%rbp)
je     128b <BasicRename+0xcb>
lea    0xd8d(%rip),%rdi
call   1060 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
call   10a0 <fflush@plt>
movl   $0xffffffff,-0x401c(%rbp)
ff ff ff
cmpl   $0xffffffff,-0x4018(%rbp)
jne    12bb <BasicRename+0xfb>
lea    0xd97(%rip),%rdi
call   1060 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
call   10a0 <fflush@plt>
mov    -0x4018(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1493 <BasicRename+0x2d3>
mov    -0x4014(%rbp),%edi
call   1040 <close_test@plt>
mov    %eax,%esi
xor    %edi,%edi
call   1090 <expect_zng@plt>
mov    %eax,-0x4018(%rbp)
cmpl   $0x0,-0x4018(%rbp)
je     1301 <BasicRename+0x141>
lea    0xd17(%rip),%rdi
call   1060 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
call   10a0 <fflush@plt>
movl   $0xffffffff,-0x401c(%rbp)
ff ff ff
lea    -0x2010(%rbp),%rdi
lea    -0x4010(%rbp),%rsi
call   1050 <rename_test@plt>
mov    %eax,%esi
xor    %edi,%edi
call   1090 <expect_zng@plt>
mov    %eax,-0x4018(%rbp)
cmpl   $0x0,-0x4018(%rbp)
je     134f <BasicRename+0x18f>
lea    0xcc9(%rip),%rdi
call   1060 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
call   10a0 <fflush@plt>
movl   $0xffffffff,-0x401c(%rbp)
ff ff ff
lea    -0x2010(%rbp),%rdi
mov    0x2c5b(%rip),%rax
mov    (%rax),%esi
call   10d0 <access_test@plt>
mov    %eax,%esi
mov    $0xffffffff,%edi
call   1090 <expect_zng@plt>
mov    %eax,-0x4018(%rbp)
cmpl   $0x0,-0x4018(%rbp)
je     13a2 <BasicRename+0x1e2>
lea    0xc76(%rip),%rdi
call   1060 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
call   10a0 <fflush@plt>
movl   $0xffffffff,-0x401c(%rbp)
ff ff ff
lea    -0x2010(%rbp),%rdi
call   10c0 <unlink_test@plt>
mov    %eax,%esi
mov    $0xffffffff,%edi
call   1090 <expect_zng@plt>
mov    %eax,-0x4018(%rbp)
cmpl   $0x0,-0x4018(%rbp)
je     13ec <BasicRename+0x22c>
lea    0xc2c(%rip),%rdi
call   1060 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
call   10a0 <fflush@plt>
movl   $0xffffffff,-0x401c(%rbp)
ff ff ff
lea    -0x4010(%rbp),%rdi
mov    0x2bbe(%rip),%rax
mov    (%rax),%esi
call   10d0 <access_test@plt>
mov    %eax,%esi
xor    %edi,%edi
call   1090 <expect_zng@plt>
mov    %eax,-0x4018(%rbp)
cmpl   $0x0,-0x4018(%rbp)
je     143c <BasicRename+0x27c>
lea    0xbdc(%rip),%rdi
call   1060 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
call   10a0 <fflush@plt>
movl   $0xffffffff,-0x401c(%rbp)
ff ff ff
lea    -0x4010(%rbp),%rdi
call   10c0 <unlink_test@plt>
mov    %eax,%esi
xor    %edi,%edi
call   1090 <expect_zng@plt>
mov    %eax,-0x4018(%rbp)
cmpl   $0x0,-0x4018(%rbp)
je     1483 <BasicRename+0x2c3>
lea    0xb95(%rip),%rdi
call   1060 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
call   10a0 <fflush@plt>
movl   $0xffffffff,-0x401c(%rbp)
ff ff ff
mov    $0x0,%al
call   10b0 <testbreak@plt>
mov    -0x401c(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x4020,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<BasicRename>:
push   %rbp
push   %r14
push   %rbx
sub    $0x4000,%rsp
lea    0x2000(%rsp),%rbx
xor    %r14d,%r14d
mov    $0x2000,%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   1070 <memset@plt>
mov    %rsp,%rbp
mov    $0x2000,%edx
mov    %rbp,%rdi
xor    %esi,%esi
call   1070 <memset@plt>
mov    %rbx,%rdi
call   1040 <xtmpnam@plt>
mov    %rbp,%rdi
call   1040 <xtmpnam@plt>
xor    %eax,%eax
call   10b0 <testbreak@plt>
mov    0x2dbb(%rip),%rax
mov    0x2dd4(%rip),%rcx
mov    (%rcx),%esi
or     (%rax),%esi
mov    0x2dd1(%rip),%rax
or     (%rax),%esi
mov    0x2da8(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
call   1080 <open_test@plt>
mov    %eax,%ebx
xor    %edi,%edi
mov    %eax,%esi
call   10e0 <expect_gez@plt>
test   %eax,%eax
je     126d <BasicRename+0xad>
mov    %eax,%ebp
lea    0xdeb(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   10a0 <fflush@plt>
mov    $0xffffffff,%r14d
cmp    $0xffffffff,%ebp
je     13ac <BasicRename+0x1ec>
mov    %ebx,%edi
call   1050 <close_test@plt>
xor    %edi,%edi
mov    %eax,%esi
call   1090 <expect_zng@plt>
test   %eax,%eax
je     129a <BasicRename+0xda>
lea    0xdb5(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   10a0 <fflush@plt>
mov    $0xffffffff,%r14d
lea    0x2000(%rsp),%rdi
mov    %rsp,%rsi
call   1060 <rename_test@plt>
xor    %edi,%edi
mov    %eax,%esi
call   1090 <expect_zng@plt>
test   %eax,%eax
je     12d0 <BasicRename+0x110>
lea    0xd7f(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   10a0 <fflush@plt>
mov    $0xffffffff,%r14d
mov    0x2ce1(%rip),%rbx
mov    (%rbx),%esi
lea    0x2000(%rsp),%rdi
call   10d0 <access_test@plt>
mov    $0xffffffff,%edi
mov    %eax,%esi
call   1090 <expect_zng@plt>
test   %eax,%eax
je     130f <BasicRename+0x14f>
lea    0xd40(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   10a0 <fflush@plt>
mov    $0xffffffff,%r14d
lea    0x2000(%rsp),%rdi
call   10c0 <unlink_test@plt>
mov    $0xffffffff,%edi
mov    %eax,%esi
call   1090 <expect_zng@plt>
test   %eax,%eax
je     1345 <BasicRename+0x185>
lea    0xd0a(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   10a0 <fflush@plt>
mov    $0xffffffff,%r14d
mov    (%rbx),%esi
mov    %rsp,%rdi
call   10d0 <access_test@plt>
xor    %edi,%edi
mov    %eax,%esi
call   1090 <expect_zng@plt>
test   %eax,%eax
je     1375 <BasicRename+0x1b5>
lea    0xcda(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   10a0 <fflush@plt>
mov    $0xffffffff,%r14d
mov    %rsp,%rdi
call   10c0 <unlink_test@plt>
xor    %edi,%edi
mov    %eax,%esi
call   1090 <expect_zng@plt>
test   %eax,%eax
je     13a3 <BasicRename+0x1e3>
lea    0xcac(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   10a0 <fflush@plt>
mov    $0xffffffff,%r14d
xor    %eax,%eax
call   10b0 <testbreak@plt>
jmp    13c5 <BasicRename+0x205>
lea    0xc4d(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   10a0 <fflush@plt>
mov    $0xffffffff,%r14d
mov    %r14d,%eax
add    $0x4000,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@O_RDWR = global i32 0
@O_TRUNC = global i32 0
@O_CREAT = global i32 0
@S_IRWXU = global i32 0
@.str = [54 x i8] c"\09Failed Phase 2: This call did something unexpected.\0A\00"
@.str.1 = [62 x i8] c"\09Fail Phase 2: Aborting test because of catastrophic failure\0A\00"
@F_OK = global i32 0
define i32 @BasicRename() {
%1 = alloca i32
%2 = alloca [8192 x i8]
%3 = alloca [8192 x i8]
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = bitcast [8192 x i8]* %2 to i8*
%8 = bitcast [8192 x i8]* %3 to i8*
store i32 0, i32* %6
%9 = getelementptr inbounds [8192 x i8], [8192 x i8]* %2, i64 0, i64 0
%10 = call i32 @xtmpnam(i8* %9)
%11 = getelementptr inbounds [8192 x i8], [8192 x i8]* %3, i64 0, i64 0
%12 = call i32 @xtmpnam(i8* %11)
%13 = call i32 (...) @testbreak()
%14 = getelementptr inbounds [8192 x i8], [8192 x i8]* %2, i64 0, i64 0
%15 = load i32, i32* @O_RDWR
%16 = load i32, i32* @O_TRUNC
%17 = or i32 %15, %16
%18 = load i32, i32* @O_CREAT
%19 = or i32 %17, %18
%20 = load i32, i32* @S_IRWXU
%21 = call i32 @open_test(i8* %14, i32 %19, i32 %20)
store i32 %21, i32* %4
%22 = call i32 @expect_gez(i32 0, i32 %21)
store i32 %22, i32* %5
%23 = load i32, i32* %5
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %0
%26 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%27 = call i32 @fflush(i32* null)
store i32 -1, i32* %6
br label %28
28: ; preds = %25, %0
%29 = load i32, i32* %5
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %35
31: ; preds = %28
%32 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.1, i64 0, i64 0))
%33 = call i32 @fflush(i32* null)
%34 = load i32, i32* %5
store i32 %34, i32* %1
br label %95
35: ; preds = %28
%36 = load i32, i32* %4
%37 = call i32 @close_test(i32 %36)
%38 = call i32 @expect_zng(i32 0, i32 %37)
store i32 %38, i32* %5
%39 = load i32, i32* %5
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %35
%42 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%43 = call i32 @fflush(i32* null)
store i32 -1, i32* %6
br label %44
44: ; preds = %41, %35
%45 = getelementptr inbounds [8192 x i8], [8192 x i8]* %2, i64 0, i64 0
%46 = getelementptr inbounds [8192 x i8], [8192 x i8]* %3, i64 0, i64 0
%47 = call i32 @rename_test(i8* %45, i8* %46)
%48 = call i32 @expect_zng(i32 0, i32 %47)
store i32 %48, i32* %5
%49 = load i32, i32* %5
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %44
%52 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%53 = call i32 @fflush(i32* null)
store i32 -1, i32* %6
br label %54
54: ; preds = %51, %44
%55 = getelementptr inbounds [8192 x i8], [8192 x i8]* %2, i64 0, i64 0
%56 = load i32, i32* @F_OK
%57 = call i32 @access_test(i8* %55, i32 %56)
%58 = call i32 @expect_zng(i32 -1, i32 %57)
store i32 %58, i32* %5
%59 = load i32, i32* %5
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %54
%62 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%63 = call i32 @fflush(i32* null)
store i32 -1, i32* %6
br label %64
64: ; preds = %61, %54
%65 = getelementptr inbounds [8192 x i8], [8192 x i8]* %2, i64 0, i64 0
%66 = call i32 @unlink_test(i8* %65)
%67 = call i32 @expect_zng(i32 -1, i32 %66)
store i32 %67, i32* %5
%68 = load i32, i32* %5
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %73
70: ; preds = %64
%71 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%72 = call i32 @fflush(i32* null)
store i32 -1, i32* %6
br label %73
73: ; preds = %70, %64
%74 = getelementptr inbounds [8192 x i8], [8192 x i8]* %3, i64 0, i64 0
%75 = load i32, i32* @F_OK
%76 = call i32 @access_test(i8* %74, i32 %75)
%77 = call i32 @expect_zng(i32 0, i32 %76)
store i32 %77, i32* %5
%78 = load i32, i32* %5
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %83
80: ; preds = %73
%81 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%82 = call i32 @fflush(i32* null)
store i32 -1, i32* %6
br label %83
83: ; preds = %80, %73
%84 = getelementptr inbounds [8192 x i8], [8192 x i8]* %3, i64 0, i64 0
%85 = call i32 @unlink_test(i8* %84)
%86 = call i32 @expect_zng(i32 0, i32 %85)
store i32 %86, i32* %5
%87 = load i32, i32* %5
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %92
89: ; preds = %83
%90 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%91 = call i32 @fflush(i32* null)
store i32 -1, i32* %6
br label %92
92: ; preds = %89, %83
%93 = call i32 (...) @testbreak()
%94 = load i32, i32* %6
store i32 %94, i32* %1
br label %95
95: ; preds = %92, %31
%96 = load i32, i32* %1
ret i32 %96
}

LLVM IR (-O2):
@O_RDWR = global i32 0
@O_TRUNC = global i32 0
@O_CREAT = global i32 0
@S_IRWXU = global i32 0
@F_OK = global i32 0
@str.7 = [61 x i8] c"\09Fail Phase 2: Aborting test because of catastrophic failure\00"
@str.8 = [53 x i8] c"\09Failed Phase 2: This call did something unexpected.\00"
define i32 @BasicRename() {
%1 = alloca [8192 x i8]
%2 = alloca [8192 x i8]
%3 = getelementptr inbounds [8192 x i8], [8192 x i8]* %1, i64 0, i64 0
%4 = getelementptr inbounds [8192 x i8], [8192 x i8]* %2, i64 0, i64 0
%5 = call i32 @xtmpnam(i8* %3)
%6 = call i32 @xtmpnam(i8* %4)
%7 = call i32 (...) @testbreak()
%8 = load i32, i32* @O_RDWR
%9 = load i32, i32* @O_TRUNC
%10 = or i32 %9, %8
%11 = load i32, i32* @O_CREAT
%12 = or i32 %10, %11
%13 = load i32, i32* @S_IRWXU
%14 = call i32 @open_test(i8* %3, i32 %12, i32 %13)
%15 = call i32 @expect_gez(i32 0, i32 %14)
%16 = icmp eq i32 %15, 0
br i1 %16, label %24, label %17
17: ; preds = %0
%18 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.8, i64 0, i64 0))
%19 = call i32 @fflush(i32* null)
%20 = icmp eq i32 %15, -1
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.7, i64 0, i64 0))
%23 = call i32 @fflush(i32* null)
br label %77
24: ; preds = %0, %17
%25 = phi i32 [ -1, %17 ], [ 0, %0 ]
%26 = call i32 @close_test(i32 %14)
%27 = call i32 @expect_zng(i32 0, i32 %26)
%28 = icmp eq i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %24
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.8, i64 0, i64 0))
%31 = call i32 @fflush(i32* null)
br label %32
32: ; preds = %29, %24
%33 = phi i32 [ -1, %29 ], [ %25, %24 ]
%34 = call i32 @rename_test(i8* %3, i8* %4)
%35 = call i32 @expect_zng(i32 0, i32 %34)
%36 = icmp eq i32 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %32
%38 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.8, i64 0, i64 0))
%39 = call i32 @fflush(i32* null)
br label %40
40: ; preds = %37, %32
%41 = phi i32 [ -1, %37 ], [ %33, %32 ]
%42 = load i32, i32* @F_OK
%43 = call i32 @access_test(i8* %3, i32 %42)
%44 = call i32 @expect_zng(i32 -1, i32 %43)
%45 = icmp eq i32 %44, 0
br i1 %45, label %49, label %46
46: ; preds = %40
%47 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.8, i64 0, i64 0))
%48 = call i32 @fflush(i32* null)
br label %49
49: ; preds = %46, %40
%50 = phi i32 [ -1, %46 ], [ %41, %40 ]
%51 = call i32 @unlink_test(i8* %3)
%52 = call i32 @expect_zng(i32 -1, i32 %51)
%53 = icmp eq i32 %52, 0
br i1 %53, label %57, label %54
54: ; preds = %49
%55 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.8, i64 0, i64 0))
%56 = call i32 @fflush(i32* null)
br label %57
57: ; preds = %54, %49
%58 = phi i32 [ -1, %54 ], [ %50, %49 ]
%59 = load i32, i32* @F_OK
%60 = call i32 @access_test(i8* %4, i32 %59)
%61 = call i32 @expect_zng(i32 0, i32 %60)
%62 = icmp eq i32 %61, 0
br i1 %62, label %66, label %63
63: ; preds = %57
%64 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.8, i64 0, i64 0))
%65 = call i32 @fflush(i32* null)
br label %66
66: ; preds = %63, %57
%67 = phi i32 [ -1, %63 ], [ %58, %57 ]
%68 = call i32 @unlink_test(i8* %4)
%69 = call i32 @expect_zng(i32 0, i32 %68)
%70 = icmp eq i32 %69, 0
br i1 %70, label %74, label %71
71: ; preds = %66
%72 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.8, i64 0, i64 0))
%73 = call i32 @fflush(i32* null)
br label %74
74: ; preds = %71, %66
%75 = phi i32 [ -1, %71 ], [ %67, %66 ]
%76 = call i32 (...) @testbreak()
br label %77
77: ; preds = %74, %21
%78 = phi i32 [ -1, %21 ], [ %75, %74 ]
ret i32 %78
}