#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 */
typedef struct TYPE_2__ TYPE_1__;

/* Type definitions */
struct sockaddr_in {
  int /*<<< orphan*/ sin_addr;
};
struct TYPE_2__ {
  int /*<<< orphan*/ sa_family;
};
struct ifreq {
  TYPE_1__ ifr_addr;
  int /*<<< orphan*/ ifr_name;
};

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
scalar_t__ IFNAMSIZ;
int /*<<< orphan*/ SIOCGIFADDR;
int /*<<< orphan*/ SIOCGIFBRDADDR;
int /*<<< orphan*/ SIOCGIFNETMASK;
int /*<<< orphan*/ SOCK_DGRAM;
int /*<<< orphan*/ close(int);
int /*<<< orphan*/ free(char *);
int /*<<< orphan*/ inet_ntoa(int /*<<< orphan*/);
int ioctl(int, int /*<<< orphan*/, struct ifreq *);
int /*<<< orphan*/ memset(struct ifreq *, int /*<<< orphan*/, int);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
char *strdup(int /*<<< orphan*/);
int /*<<< orphan*/ strncpy(int /*<<< orphan*/, char const *, scalar_t__);
int get_iface_addrs(const char *iface, char **ip, char **bcast, char **mask) {
  char *strip = NULL, *strbcast = NULL;
  struct sockaddr_in *sin;
  struct ifreq ifr;
  int fd, ret;
  fd = socket(AF_INET, SOCK_DGRAM, 0);
  if (fd < 0)
    return -1;
  memset(&ifr, 0, sizeof(struct ifreq));
  ifr.ifr_addr.sa_family = AF_INET;
  strncpy(ifr.ifr_name, iface, IFNAMSIZ - 1);
  sin = (struct sockaddr_in *)&ifr.ifr_addr;
  if (ip) {
    ret = ioctl(fd, SIOCGIFADDR, &ifr);
    if (ret < 0)
      goto errout;
    strip = strdup(inet_ntoa(sin->sin_addr));
    if (!strip)
      goto errout;
  }
  if (bcast) {
    ret = ioctl(fd, SIOCGIFBRDADDR, &ifr);
    if (ret < 0)
      goto errout;
    strbcast = strdup(inet_ntoa(sin->sin_addr));
    if (!strbcast)
      goto errout;
  }
  if (mask) {
    ret = ioctl(fd, SIOCGIFNETMASK, &ifr);
    if (ret < 0)
      goto errout;
    *mask = strdup(inet_ntoa(sin->sin_addr));
    if (!*mask)
      goto errout;
  }
  if (bcast)
    *bcast = strbcast;
  if (ip)
    *ip = strip;
  close(fd);
  return 0;
errout:
  close(fd);
  if (strip)
    free(strip);
  if (strbcast)
    free(strbcast);
  return -1;
}


x86 assembly (clang, -O0):
<get_iface_addrs>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
movq   $0x0,-0x30(%rbp)
movq   $0x0,-0x38(%rbp)
mov    0x2e31(%rip),%rax
mov    (%rax),%edi
mov    0x2e18(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10a0 <socket@plt>
mov    %eax,-0x4c(%rbp)
cmpl   $0x0,-0x4c(%rbp)
jge    11da <get_iface_addrs+0x5a>
movl   $0xffffffff,-0x4(%rbp)
jmp    13af <get_iface_addrs+0x22f>
lea    -0x48(%rbp),%rdi
xor    %esi,%esi
mov    $0x8,%edx
call   1060 <memset@plt>
mov    0x2def(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x48(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x10(%rbp),%rsi
mov    0x2dbc(%rip),%rax
mov    (%rax),%rdx
sub    $0x1,%rdx
call   1040 <strncpy@plt>
lea    -0x48(%rbp),%rax
mov    %rax,-0x40(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     1275 <get_iface_addrs+0xf5>
mov    -0x4c(%rbp),%edi
mov    0x2dbb(%rip),%rax
mov    (%rax),%esi
lea    -0x48(%rbp),%rdx
call   1070 <ioctl@plt>
mov    %eax,-0x50(%rbp)
cmpl   $0x0,-0x50(%rbp)
jge    124a <get_iface_addrs+0xca>
jmp    1378 <get_iface_addrs+0x1f8>
mov    -0x40(%rbp),%rax
mov    (%rax),%edi
call   1050 <inet_ntoa@plt>
mov    %eax,%edi
call   1090 <strdup@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jne    1270 <get_iface_addrs+0xf0>
jmp    1378 <get_iface_addrs+0x1f8>
jmp    1275 <get_iface_addrs+0xf5>
cmpq   $0x0,-0x20(%rbp)
je     12d2 <get_iface_addrs+0x152>
mov    -0x4c(%rbp),%edi
mov    0x2d2e(%rip),%rax
mov    (%rax),%esi
lea    -0x48(%rbp),%rdx
call   1070 <ioctl@plt>
mov    %eax,-0x50(%rbp)
cmpl   $0x0,-0x50(%rbp)
jge    12a7 <get_iface_addrs+0x127>
jmp    1378 <get_iface_addrs+0x1f8>
mov    -0x40(%rbp),%rax
mov    (%rax),%edi
call   1050 <inet_ntoa@plt>
mov    %eax,%edi
call   1090 <strdup@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x0,-0x38(%rbp)
jne    12cd <get_iface_addrs+0x14d>
jmp    1378 <get_iface_addrs+0x1f8>
jmp    12d2 <get_iface_addrs+0x152>
cmpq   $0x0,-0x28(%rbp)
je     1338 <get_iface_addrs+0x1b8>
mov    -0x4c(%rbp),%edi
mov    0x2cf1(%rip),%rax
mov    (%rax),%esi
lea    -0x48(%rbp),%rdx
call   1070 <ioctl@plt>
mov    %eax,-0x50(%rbp)
cmpl   $0x0,-0x50(%rbp)
jge    1304 <get_iface_addrs+0x184>
jmp    1378 <get_iface_addrs+0x1f8>
mov    -0x40(%rbp),%rax
mov    (%rax),%edi
call   1050 <inet_ntoa@plt>
mov    %eax,%edi
call   1090 <strdup@plt>
mov    %rax,%rcx
mov    -0x28(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x28(%rbp),%rax
cmpq   $0x0,(%rax)
jne    1333 <get_iface_addrs+0x1b3>
jmp    1378 <get_iface_addrs+0x1f8>
jmp    1338 <get_iface_addrs+0x1b8>
cmpq   $0x0,-0x20(%rbp)
je     134e <get_iface_addrs+0x1ce>
mov    -0x38(%rbp),%rcx
mov    -0x20(%rbp),%rax
mov    %rcx,(%rax)
cmpq   $0x0,-0x18(%rbp)
je     1364 <get_iface_addrs+0x1e4>
mov    -0x30(%rbp),%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x4c(%rbp),%edi
call   1080 <close@plt>
movl   $0x0,-0x4(%rbp)
jmp    13af <get_iface_addrs+0x22f>
mov    -0x4c(%rbp),%edi
call   1080 <close@plt>
cmpq   $0x0,-0x30(%rbp)
je     1394 <get_iface_addrs+0x214>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
cmpq   $0x0,-0x38(%rbp)
je     13a8 <get_iface_addrs+0x228>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
movl   $0xffffffff,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_iface_addrs>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rcx,0x10(%rsp)
mov    %rdx,%r12
mov    %rsi,%r15
mov    %rdi,%rbx
mov    0x2e3d(%rip),%rbp
mov    0x0(%rbp),%edi
mov    0x2e23(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10a0 <socket@plt>
mov    $0xffffffff,%r14d
test   %eax,%eax
js     131c <get_iface_addrs+0x19c>
mov    %eax,%r13d
lea    0x8(%rsp),%rdi
xor    %esi,%esi
mov    $0x8,%edx
call   1060 <memset@plt>
mov    0x0(%rbp),%eax
mov    %eax,0x8(%rsp)
mov    0xc(%rsp),%edi
mov    0x2dd6(%rip),%rax
mov    (%rax),%rdx
add    $0xffffffffffffffff,%rdx
mov    %rbx,%rsi
call   1040 <strncpy@plt>
test   %r15,%r15
je     1284 <get_iface_addrs+0x104>
mov    0x2ddf(%rip),%rax
mov    (%rax),%esi
lea    0x8(%rsp),%rdx
mov    %r13d,%edi
call   1070 <ioctl@plt>
test   %eax,%eax
js     12ed <get_iface_addrs+0x16d>
mov    0x8(%rsp),%edi
call   1050 <inet_ntoa@plt>
mov    %eax,%edi
call   1090 <strdup@plt>
mov    %rax,%rbp
test   %rax,%rax
je     12ed <get_iface_addrs+0x16d>
test   %r12,%r12
je     128b <get_iface_addrs+0x10b>
mov    0x2d70(%rip),%rax
mov    (%rax),%esi
lea    0x8(%rsp),%rdx
mov    %r13d,%edi
call   1070 <ioctl@plt>
test   %eax,%eax
js     12f7 <get_iface_addrs+0x177>
mov    %r12,%rbx
mov    0x8(%rsp),%edi
call   1050 <inet_ntoa@plt>
mov    %eax,%edi
call   1090 <strdup@plt>
mov    %rax,%r12
test   %rax,%rax
je     12f7 <get_iface_addrs+0x177>
cmpq   $0x0,0x10(%rsp)
jne    1299 <get_iface_addrs+0x119>
jmp    12d0 <get_iface_addrs+0x150>
xor    %ebp,%ebp
test   %r12,%r12
jne    1241 <get_iface_addrs+0xc1>
mov    %r12,%rbx
xor    %r12d,%r12d
cmpq   $0x0,0x10(%rsp)
je     12d0 <get_iface_addrs+0x150>
mov    0x2d38(%rip),%rax
mov    (%rax),%esi
lea    0x8(%rsp),%rdx
mov    %r13d,%edi
call   1070 <ioctl@plt>
test   %eax,%eax
js     12fa <get_iface_addrs+0x17a>
mov    0x8(%rsp),%edi
call   1050 <inet_ntoa@plt>
mov    %eax,%edi
call   1090 <strdup@plt>
mov    0x10(%rsp),%rcx
mov    %rax,(%rcx)
test   %rax,%rax
je     12fa <get_iface_addrs+0x17a>
test   %rbx,%rbx
je     12d8 <get_iface_addrs+0x158>
mov    %r12,(%rbx)
test   %r15,%r15
je     12e0 <get_iface_addrs+0x160>
mov    %rbp,(%r15)
mov    %r13d,%edi
call   1080 <close@plt>
xor    %r14d,%r14d
jmp    131c <get_iface_addrs+0x19c>
mov    %r13d,%edi
call   1080 <close@plt>
jmp    131c <get_iface_addrs+0x19c>
xor    %r12d,%r12d
mov    %r13d,%edi
call   1080 <close@plt>
test   %rbp,%rbp
je     130f <get_iface_addrs+0x18f>
mov    %rbp,%rdi
call   1030 <free@plt>
test   %r12,%r12
je     131c <get_iface_addrs+0x19c>
mov    %r12,%rdi
call   1030 <free@plt>
mov    %r14d,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.sockaddr_in = type { i32 }
%struct.ifreq = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = global i32 0
@SOCK_DGRAM = global i32 0
@IFNAMSIZ = global i64 0
@SIOCGIFADDR = global i32 0
@SIOCGIFBRDADDR = global i32 0
@SIOCGIFNETMASK = global i32 0
define i32 @get_iface_addrs(i8* %0, i8** %1, i8** %2, i8** %3) {
%5 = alloca i32
%6 = alloca i8*
%7 = alloca i8**
%8 = alloca i8**
%9 = alloca i8**
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca %struct.sockaddr_in*
%13 = alloca %struct.ifreq
%14 = alloca i32
%15 = alloca i32
store i8* %0, i8** %6
store i8** %1, i8*** %7
store i8** %2, i8*** %8
store i8** %3, i8*** %9
store i8* null, i8** %10
store i8* null, i8** %11
%16 = load i32, i32* @AF_INET
%17 = load i32, i32* @SOCK_DGRAM
%18 = call i32 @socket(i32 %16, i32 %17, i32 0)
store i32 %18, i32* %14
%19 = load i32, i32* %14
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %4
store i32 -1, i32* %5
br label %126
22: ; preds = %4
%23 = call i32 @memset(%struct.ifreq* %13, i32 0, i32 8)
%24 = load i32, i32* @AF_INET
%25 = getelementptr inbounds %struct.ifreq, %struct.ifreq* %13, i32 0, i32 0
%26 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %25, i32 0, i32 0
store i32 %24, i32* %26
%27 = getelementptr inbounds %struct.ifreq, %struct.ifreq* %13, i32 0, i32 1
%28 = load i32, i32* %27
%29 = load i8*, i8** %6
%30 = load i64, i64* @IFNAMSIZ
%31 = sub nsw i64 %30, 1
%32 = call i32 @strncpy(i32 %28, i8* %29, i64 %31)
%33 = getelementptr inbounds %struct.ifreq, %struct.ifreq* %13, i32 0, i32 0
%34 = bitcast %struct.TYPE_2__* %33 to %struct.sockaddr_in*
store %struct.sockaddr_in* %34, %struct.sockaddr_in** %12
%35 = load i8**, i8*** %7
%36 = icmp ne i8** %35, null
br i1 %36, label %37, label %54
37: ; preds = %22
%38 = load i32, i32* %14
%39 = load i32, i32* @SIOCGIFADDR
%40 = call i32 @ioctl(i32 %38, i32 %39, %struct.ifreq* %13)
store i32 %40, i32* %15
%41 = load i32, i32* %15
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %37
br label %111
44: ; preds = %37
%45 = load %struct.sockaddr_in*, %struct.sockaddr_in** %12
%46 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %45, i32 0, i32 0
%47 = load i32, i32* %46
%48 = call i32 @inet_ntoa(i32 %47)
%49 = call i8* @strdup(i32 %48)
store i8* %49, i8** %10
%50 = load i8*, i8** %10
%51 = icmp ne i8* %50, null
br i1 %51, label %53, label %52
52: ; preds = %44
br label %111
53: ; preds = %44
br label %54
54: ; preds = %53, %22
%55 = load i8**, i8*** %8
%56 = icmp ne i8** %55, null
br i1 %56, label %57, label %74
57: ; preds = %54
%58 = load i32, i32* %14
%59 = load i32, i32* @SIOCGIFBRDADDR
%60 = call i32 @ioctl(i32 %58, i32 %59, %struct.ifreq* %13)
store i32 %60, i32* %15
%61 = load i32, i32* %15
%62 = icmp slt i32 %61, 0
br i1 %62, label %63, label %64
63: ; preds = %57
br label %111
64: ; preds = %57
%65 = load %struct.sockaddr_in*, %struct.sockaddr_in** %12
%66 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %65, i32 0, i32 0
%67 = load i32, i32* %66
%68 = call i32 @inet_ntoa(i32 %67)
%69 = call i8* @strdup(i32 %68)
store i8* %69, i8** %11
%70 = load i8*, i8** %11
%71 = icmp ne i8* %70, null
br i1 %71, label %73, label %72
72: ; preds = %64
br label %111
73: ; preds = %64
br label %74
74: ; preds = %73, %54
%75 = load i8**, i8*** %9
%76 = icmp ne i8** %75, null
br i1 %76, label %77, label %96
77: ; preds = %74
%78 = load i32, i32* %14
%79 = load i32, i32* @SIOCGIFNETMASK
%80 = call i32 @ioctl(i32 %78, i32 %79, %struct.ifreq* %13)
store i32 %80, i32* %15
%81 = load i32, i32* %15
%82 = icmp slt i32 %81, 0
br i1 %82, label %83, label %84
83: ; preds = %77
br label %111
84: ; preds = %77
%85 = load %struct.sockaddr_in*, %struct.sockaddr_in** %12
%86 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %85, i32 0, i32 0
%87 = load i32, i32* %86
%88 = call i32 @inet_ntoa(i32 %87)
%89 = call i8* @strdup(i32 %88)
%90 = load i8**, i8*** %9
store i8* %89, i8** %90
%91 = load i8**, i8*** %9
%92 = load i8*, i8** %91
%93 = icmp ne i8* %92, null
br i1 %93, label %95, label %94
94: ; preds = %84
br label %111
95: ; preds = %84
br label %96
96: ; preds = %95, %74
%97 = load i8**, i8*** %8
%98 = icmp ne i8** %97, null
br i1 %98, label %99, label %102
99: ; preds = %96
%100 = load i8*, i8** %11
%101 = load i8**, i8*** %8
store i8* %100, i8** %101
br label %102
102: ; preds = %99, %96
%103 = load i8**, i8*** %7
%104 = icmp ne i8** %103, null
br i1 %104, label %105, label %108
105: ; preds = %102
%106 = load i8*, i8** %10
%107 = load i8**, i8*** %7
store i8* %106, i8** %107
br label %108
108: ; preds = %105, %102
%109 = load i32, i32* %14
%110 = call i32 @close(i32 %109)
store i32 0, i32* %5
br label %126
111: ; preds = %94, %83, %72, %63, %52, %43
%112 = load i32, i32* %14
%113 = call i32 @close(i32 %112)
%114 = load i8*, i8** %10
%115 = icmp ne i8* %114, null
br i1 %115, label %116, label %119
116: ; preds = %111
%117 = load i8*, i8** %10
%118 = call i32 @free(i8* %117)
br label %119
119: ; preds = %116, %111
%120 = load i8*, i8** %11
%121 = icmp ne i8* %120, null
br i1 %121, label %122, label %125
122: ; preds = %119
%123 = load i8*, i8** %11
%124 = call i32 @free(i8* %123)
br label %125
125: ; preds = %122, %119
store i32 -1, i32* %5
br label %126
126: ; preds = %125, %108, %21
%127 = load i32, i32* %5
ret i32 %127
}

LLVM IR (-O2):
%struct.ifreq = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = global i32 0
@SOCK_DGRAM = global i32 0
@IFNAMSIZ = global i64 0
@SIOCGIFADDR = global i32 0
@SIOCGIFBRDADDR = global i32 0
@SIOCGIFNETMASK = global i32 0
define i32 @get_iface_addrs(i8* %0, i8** writeonly %1, i8** writeonly %2, i8** writeonly %3) {
%5 = alloca %struct.ifreq
%6 = bitcast %struct.ifreq* %5 to i8*
%7 = load i32, i32* @AF_INET
%8 = load i32, i32* @SOCK_DGRAM
%9 = tail call i32 @socket(i32 %7, i32 %8, i32 0)
%10 = icmp slt i32 %9, 0
br i1 %10, label %72, label %11
11: ; preds = %4
%12 = call i32 @memset(%struct.ifreq* %5, i32 0, i32 8)
%13 = load i32, i32* @AF_INET
%14 = getelementptr inbounds %struct.ifreq, %struct.ifreq* %5, i64 0, i32 0, i32 0
store i32 %13, i32* %14
%15 = getelementptr inbounds %struct.ifreq, %struct.ifreq* %5, i64 0, i32 1
%16 = load i32, i32* %15
%17 = load i64, i64* @IFNAMSIZ
%18 = add nsw i64 %17, -1
%19 = call i32 @strncpy(i32 %16, i8* %0, i64 %18)
%20 = icmp eq i8** %1, null
br i1 %20, label %30, label %21
21: ; preds = %11
%22 = load i32, i32* @SIOCGIFADDR
%23 = call i32 @ioctl(i32 %9, i32 %22, %struct.ifreq* %5)
%24 = icmp slt i32 %23, 0
br i1 %24, label %60, label %25
25: ; preds = %21
%26 = load i32, i32* %14
%27 = call i32 @inet_ntoa(i32 %26)
%28 = call i8* @strdup(i32 %27)
%29 = icmp eq i8* %28, null
br i1 %29, label %60, label %30
30: ; preds = %25, %11
%31 = phi i8* [ %28, %25 ], [ null, %11 ]
%32 = icmp eq i8** %2, null
br i1 %32, label %42, label %33
33: ; preds = %30
%34 = load i32, i32* @SIOCGIFBRDADDR
%35 = call i32 @ioctl(i32 %9, i32 %34, %struct.ifreq* %5)
%36 = icmp slt i32 %35, 0
br i1 %36, label %62, label %37
37: ; preds = %33
%38 = load i32, i32* %14
%39 = call i32 @inet_ntoa(i32 %38)
%40 = call i8* @strdup(i32 %39)
%41 = icmp eq i8* %40, null
br i1 %41, label %62, label %42
42: ; preds = %37, %30
%43 = phi i8* [ %40, %37 ], [ null, %30 ]
%44 = icmp eq i8** %3, null
br i1 %44, label %54, label %45
45: ; preds = %42
%46 = load i32, i32* @SIOCGIFNETMASK
%47 = call i32 @ioctl(i32 %9, i32 %46, %struct.ifreq* %5)
%48 = icmp slt i32 %47, 0
br i1 %48, label %62, label %49
49: ; preds = %45
%50 = load i32, i32* %14
%51 = call i32 @inet_ntoa(i32 %50)
%52 = call i8* @strdup(i32 %51)
store i8* %52, i8** %3
%53 = icmp eq i8* %52, null
br i1 %53, label %62, label %54
54: ; preds = %49, %42
br i1 %32, label %56, label %55
55: ; preds = %54
store i8* %43, i8** %2
br label %56
56: ; preds = %55, %54
br i1 %20, label %58, label %57
57: ; preds = %56
store i8* %31, i8** %1
br label %58
58: ; preds = %57, %56
%59 = call i32 @close(i32 %9)
br label %72
60: ; preds = %25, %21
%61 = call i32 @close(i32 %9)
br label %72
62: ; preds = %49, %45, %37, %33
%63 = phi i8* [ null, %33 ], [ %43, %45 ], [ %43, %49 ], [ null, %37 ]
%64 = call i32 @close(i32 %9)
%65 = icmp eq i8* %31, null
br i1 %65, label %68, label %66
66: ; preds = %62
%67 = call i32 @free(i8* %31)
br label %68
68: ; preds = %66, %62
%69 = icmp eq i8* %63, null
br i1 %69, label %72, label %70
70: ; preds = %68
%71 = call i32 @free(i8* %63)
br label %72
72: ; preds = %60, %68, %70, %4, %58
%73 = phi i32 [ 0, %58 ], [ -1, %4 ], [ -1, %70 ], [ -1, %68 ], [ -1, %60 ]
ret i32 %73
}