#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*/ sv_addr;
struct stat {
  int /*<<< orphan*/ st_mode;
};
struct sockaddr_un {
  int /*<<< orphan*/ sun_path;
  int /*<<< orphan*/ sun_family;
};
struct sockaddr {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ AF_UNIX;
int ENOENT;
int /*<<< orphan*/ SOCK_DGRAM;
int /*<<< orphan*/ SUN_LEN(struct sockaddr_un *);
int S_IRGRP;
int S_IRWXU;
int /*<<< orphan*/ S_ISDIR(int /*<<< orphan*/);
int S_IXGRP;
int bind(int, struct sockaddr *, int /*<<< orphan*/);
int errno;
int /*<<< orphan*/ memset(struct sockaddr_un *, int /*<<< orphan*/, int);
scalar_t__ mkdir(char *, int);
int /*<<< orphan*/ snprintf(char *const, int, char *, ...);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int stat(char *, struct stat *);
int /*<<< orphan*/ strcpy(int /*<<< orphan*/, char *);
int /*<<< orphan*/ unlink(int /*<<< orphan*/);
int svd_if_srv_create(int *const sfd, char *const err_msg) {
  struct sockaddr_un sv_addr;
  struct stat sbuf;
  int err;
  if ((err = stat("/var/svd/", &sbuf))) {
    if (errno != ENOENT) {
      snprintf(err_msg, 256, "Error getting info about %s", "/var/svd/");
      return -1;
    }
    if (mkdir("/var/svd/", (S_IRWXU | S_IRGRP | S_IXGRP))) {
      snprintf(err_msg, 256, "Cannot create dir %s", "/var/svd/");
      return -1;
    }
    if (stat("/var/svd/", &sbuf)) {
      snprintf(err_msg, 256, "Error creating dir %s", "/var/svd/");
      return -1;
    }
  }
  if (!S_ISDIR(sbuf.st_mode)) {
    snprintf(err_msg, 256, "Error: %s is not directory", "/var/svd/");
    return -1;
  }
  memset(&sv_addr, 0, sizeof(sv_addr));
  sv_addr.sun_family = AF_UNIX;
  strcpy(sv_addr.sun_path, "/var/svd/"
                           "svd-socket");
  unlink(sv_addr.sun_path);
  if (-1 == (*sfd = socket(AF_UNIX, SOCK_DGRAM, 0))) {
    snprintf(err_msg, 256, "Error: can`t create socket (%d)", errno);
    return -1;
  }
  if (-1 == bind(*sfd, (struct sockaddr *)&sv_addr, SUN_LEN(&sv_addr))) {
    snprintf(err_msg, 256, "Error: can`t bind socket (%d)", errno);
    return -1;
  }
  return 0;
}


x86 assembly (clang, -O0):
<svd_if_srv_create>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
lea    0xe49(%rip),%rdi
lea    -0x28(%rbp),%rsi
call   1090 <stat@plt>
mov    %eax,-0x2c(%rbp)
cmp    $0x0,%eax
je     12b1 <svd_if_srv_create+0x111>
mov    0x2ded(%rip),%rax
mov    (%rax),%eax
mov    0x2dcc(%rip),%rcx
cmp    (%rcx),%eax
je     120e <svd_if_srv_create+0x6e>
mov    -0x18(%rbp),%rdi
mov    $0x100,%esi
lea    0xe16(%rip),%rdx
lea    0xe05(%rip),%rcx
mov    $0x0,%al
call   1070 <snprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13e3 <svd_if_srv_create+0x243>
mov    0x2dd3(%rip),%rax
mov    (%rax),%esi
mov    0x2d9a(%rip),%rax
or     (%rax),%esi
mov    0x2da9(%rip),%rax
or     (%rax),%esi
lea    0xdd0(%rip),%rdi
call   1050 <mkdir@plt>
cmp    $0x0,%rax
je     1269 <svd_if_srv_create+0xc9>
mov    -0x18(%rbp),%rdi
mov    $0x100,%esi
lea    0xdd7(%rip),%rdx
lea    0xdaa(%rip),%rcx
mov    $0x0,%al
call   1070 <snprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13e3 <svd_if_srv_create+0x243>
lea    0xd90(%rip),%rdi
lea    -0x28(%rbp),%rsi
call   1090 <stat@plt>
cmp    $0x0,%eax
je     12ac <svd_if_srv_create+0x10c>
mov    -0x18(%rbp),%rdi
mov    $0x100,%esi
lea    0xda9(%rip),%rdx
lea    0xd67(%rip),%rcx
mov    $0x0,%al
call   1070 <snprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13e3 <svd_if_srv_create+0x243>
jmp    12b1 <svd_if_srv_create+0x111>
mov    -0x28(%rbp),%edi
call   1060 <S_ISDIR@plt>
cmp    $0x0,%eax
jne    12ec <svd_if_srv_create+0x14c>
mov    -0x18(%rbp),%rdi
mov    $0x100,%esi
lea    0xd7f(%rip),%rdx
lea    0xd27(%rip),%rcx
mov    $0x0,%al
call   1070 <snprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13e3 <svd_if_srv_create+0x243>
lea    -0x20(%rbp),%rdi
xor    %esi,%esi
mov    $0x8,%edx
call   1080 <memset@plt>
mov    0x2cdd(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x20(%rbp),%edi
lea    0xd5a(%rip),%rsi
call   1040 <strcpy@plt>
mov    -0x20(%rbp),%edi
call   1030 <unlink@plt>
mov    0x2cba(%rip),%rax
mov    (%rax),%edi
mov    0x2ca9(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10c0 <socket@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    $0xffffffff,%eax
cmp    %ecx,%eax
jne    1379 <svd_if_srv_create+0x1d9>
mov    -0x18(%rbp),%rdi
mov    0x2c68(%rip),%rax
mov    (%rax),%ecx
mov    $0x100,%esi
lea    0xd1a(%rip),%rdx
mov    $0x0,%al
call   1070 <snprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13e3 <svd_if_srv_create+0x243>
mov    -0x10(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x3c(%rbp)
lea    -0x20(%rbp),%rax
mov    %rax,-0x38(%rbp)
lea    -0x20(%rbp),%rdi
call   10b0 <SUN_LEN@plt>
mov    -0x3c(%rbp),%edi
mov    -0x38(%rbp),%rsi
mov    %eax,%edx
call   10a0 <bind@plt>
mov    %eax,%ecx
mov    $0xffffffff,%eax
cmp    %ecx,%eax
jne    13dc <svd_if_srv_create+0x23c>
mov    -0x18(%rbp),%rdi
mov    0x2c05(%rip),%rax
mov    (%rax),%ecx
mov    $0x100,%esi
lea    0xcd7(%rip),%rdx
mov    $0x0,%al
call   1070 <snprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13e3 <svd_if_srv_create+0x243>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<svd_if_srv_create>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x18,%rsp
mov    %rsi,%r14
mov    %rdi,%r15
lea    0xe49(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1090 <stat@plt>
test   %eax,%eax
je     123e <svd_if_srv_create+0x9e>
mov    0x2df4(%rip),%rax
mov    (%rax),%eax
mov    0x2dd3(%rip),%rcx
cmp    (%rcx),%eax
jne    1211 <svd_if_srv_create+0x71>
mov    0x2e08(%rip),%rax
mov    0x2dd1(%rip),%rcx
mov    (%rcx),%esi
or     (%rax),%esi
mov    0x2dde(%rip),%rax
or     (%rax),%esi
lea    0xe05(%rip),%rdi
call   1050 <mkdir@plt>
test   %rax,%rax
je     121d <svd_if_srv_create+0x7d>
lea    0xe1a(%rip),%rdx
jmp    12db <svd_if_srv_create+0x13b>
lea    0xdf2(%rip),%rdx
jmp    12db <svd_if_srv_create+0x13b>
lea    0xddc(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1090 <stat@plt>
test   %eax,%eax
je     123e <svd_if_srv_create+0x9e>
lea    0xe02(%rip),%rdx
jmp    12db <svd_if_srv_create+0x13b>
mov    0x8(%rsp),%edi
call   1060 <S_ISDIR@plt>
test   %eax,%eax
je     12d4 <svd_if_srv_create+0x134>
lea    0x10(%rsp),%rdi
xor    %ebp,%ebp
xor    %esi,%esi
mov    $0x8,%edx
call   1080 <memset@plt>
mov    0x2d77(%rip),%rbx
mov    (%rbx),%eax
mov    %eax,0x14(%rsp)
mov    0x10(%rsp),%edi
lea    0xdf2(%rip),%rsi
call   1040 <strcpy@plt>
mov    0x10(%rsp),%edi
call   1030 <unlink@plt>
mov    (%rbx),%edi
mov    0x2d47(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10c0 <socket@plt>
mov    %eax,(%r15)
cmp    $0xffffffff,%eax
je     1303 <svd_if_srv_create+0x163>
mov    %eax,%ebx
lea    0x10(%rsp),%r15
mov    %r15,%rdi
call   10b0 <SUN_LEN@plt>
mov    %ebx,%edi
mov    %r15,%rsi
mov    %eax,%edx
call   10a0 <bind@plt>
cmp    $0xffffffff,%eax
jne    12f6 <svd_if_srv_create+0x156>
mov    0x2cf7(%rip),%rax
mov    (%rax),%ecx
lea    0xdce(%rip),%rdx
jmp    1313 <svd_if_srv_create+0x173>
lea    0xd76(%rip),%rdx
lea    0xd1e(%rip),%rcx
mov    %r14,%rdi
mov    $0x100,%esi
xor    %eax,%eax
call   1070 <snprintf@plt>
mov    $0xffffffff,%ebp
mov    %ebp,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2cb6(%rip),%rax
mov    (%rax),%ecx
lea    0xd6d(%rip),%rdx
mov    %r14,%rdi
mov    $0x100,%esi
xor    %eax,%eax
call   1070 <snprintf@plt>
jmp    12f1 <svd_if_srv_create+0x151>

LLVM IR (-O0):
%struct.sockaddr_un = type { i32, i32 }
%struct.stat = type { i32 }
%struct.sockaddr = type { i32 }
@.str = [10 x i8] c"/var/svd/\00"
@errno = global i32 0
@ENOENT = global i32 0
@.str.1 = [28 x i8] c"Error getting info about %s\00"
@S_IRWXU = global i32 0
@S_IRGRP = global i32 0
@S_IXGRP = global i32 0
@.str.2 = [21 x i8] c"Cannot create dir %s\00"
@.str.3 = [22 x i8] c"Error creating dir %s\00"
@.str.4 = [27 x i8] c"Error: %s is not directory\00"
@AF_UNIX = global i32 0
@.str.5 = [20 x i8] c"/var/svd/svd-socket\00"
@SOCK_DGRAM = global i32 0
@.str.6 = [32 x i8] c"Error: can`t create socket (%d)\00"
@.str.7 = [30 x i8] c"Error: can`t bind socket (%d)\00"
define i32 @svd_if_srv_create(i32* %0, i8* %1) {
%3 = alloca i32
%4 = alloca i32*
%5 = alloca i8*
%6 = alloca %struct.sockaddr_un
%7 = alloca %struct.stat
%8 = alloca i32
store i32* %0, i32** %4
store i8* %1, i8** %5
%9 = call i32 @stat(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), %struct.stat* %7)
store i32 %9, i32* %8
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %36
11: ; preds = %2
%12 = load i32, i32* @errno
%13 = load i32, i32* @ENOENT
%14 = icmp ne i32 %12, %13
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load i8*, i8** %5
%17 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %16, i32 256, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
store i32 -1, i32* %3
br label %75
18: ; preds = %11
%19 = load i32, i32* @S_IRWXU
%20 = load i32, i32* @S_IRGRP
%21 = or i32 %19, %20
%22 = load i32, i32* @S_IXGRP
%23 = or i32 %21, %22
%24 = call i64 @mkdir(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %18
%27 = load i8*, i8** %5
%28 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %27, i32 256, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
store i32 -1, i32* %3
br label %75
29: ; preds = %18
%30 = call i32 @stat(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), %struct.stat* %7)
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load i8*, i8** %5
%34 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %33, i32 256, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
store i32 -1, i32* %3
br label %75
35: ; preds = %29
br label %36
36: ; preds = %35, %2
%37 = getelementptr inbounds %struct.stat, %struct.stat* %7, i32 0, i32 0
%38 = load i32, i32* %37
%39 = call i32 @S_ISDIR(i32 %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %44, label %41
41: ; preds = %36
%42 = load i8*, i8** %5
%43 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %42, i32 256, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
store i32 -1, i32* %3
br label %75
44: ; preds = %36
%45 = call i32 @memset(%struct.sockaddr_un* %6, i32 0, i32 8)
%46 = load i32, i32* @AF_UNIX
%47 = getelementptr inbounds %struct.sockaddr_un, %struct.sockaddr_un* %6, i32 0, i32 1
store i32 %46, i32* %47
%48 = getelementptr inbounds %struct.sockaddr_un, %struct.sockaddr_un* %6, i32 0, i32 0
%49 = load i32, i32* %48
%50 = call i32 @strcpy(i32 %49, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0))
%51 = getelementptr inbounds %struct.sockaddr_un, %struct.sockaddr_un* %6, i32 0, i32 0
%52 = load i32, i32* %51
%53 = call i32 @unlink(i32 %52)
%54 = load i32, i32* @AF_UNIX
%55 = load i32, i32* @SOCK_DGRAM
%56 = call i32 @socket(i32 %54, i32 %55, i32 0)
%57 = load i32*, i32** %4
store i32 %56, i32* %57
%58 = icmp eq i32 -1, %56
br i1 %58, label %59, label %63
59: ; preds = %44
%60 = load i8*, i8** %5
%61 = load i32, i32* @errno
%62 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %60, i32 256, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %61)
store i32 -1, i32* %3
br label %75
63: ; preds = %44
%64 = load i32*, i32** %4
%65 = load i32, i32* %64
%66 = bitcast %struct.sockaddr_un* %6 to %struct.sockaddr*
%67 = call i32 @SUN_LEN(%struct.sockaddr_un* %6)
%68 = call i32 @bind(i32 %65, %struct.sockaddr* %66, i32 %67)
%69 = icmp eq i32 -1, %68
br i1 %69, label %70, label %74
70: ; preds = %63
%71 = load i8*, i8** %5
%72 = load i32, i32* @errno
%73 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %71, i32 256, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i32 %72)
store i32 -1, i32* %3
br label %75
74: ; preds = %63
store i32 0, i32* %3
br label %75
75: ; preds = %74, %70, %59, %41, %32, %26, %15
%76 = load i32, i32* %3
ret i32 %76
}

LLVM IR (-O2):
%struct.sockaddr_un = type { i32, i32 }
%struct.stat = type { i32 }
%struct.sockaddr = type { i32 }
@.str = [10 x i8] c"/var/svd/\00"
@errno = global i32 0
@ENOENT = global i32 0
@.str.1 = [28 x i8] c"Error getting info about %s\00"
@S_IRWXU = global i32 0
@S_IRGRP = global i32 0
@S_IXGRP = global i32 0
@.str.2 = [21 x i8] c"Cannot create dir %s\00"
@.str.3 = [22 x i8] c"Error creating dir %s\00"
@.str.4 = [27 x i8] c"Error: %s is not directory\00"
@AF_UNIX = global i32 0
@.str.5 = [20 x i8] c"/var/svd/svd-socket\00"
@SOCK_DGRAM = global i32 0
@.str.6 = [32 x i8] c"Error: can`t create socket (%d)\00"
@.str.7 = [30 x i8] c"Error: can`t bind socket (%d)\00"
define i32 @svd_if_srv_create(i32* nocapture writeonly %0, i8* %1) {
%3 = alloca %struct.sockaddr_un
%4 = alloca %struct.stat
%5 = bitcast %struct.sockaddr_un* %3 to i8*
%6 = bitcast %struct.stat* %4 to i8*
%7 = call i32 @stat(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), %struct.stat* %4)
%8 = icmp eq i32 %7, 0
br i1 %8, label %30, label %9
9: ; preds = %2
%10 = load i32, i32* @errno
%11 = load i32, i32* @ENOENT
%12 = icmp eq i32 %10, %11
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = tail call i32 (i8*, i32, i8*, ...) @snprintf(i8* %1, i32 256, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
br label %61
15: ; preds = %9
%16 = load i32, i32* @S_IRWXU
%17 = load i32, i32* @S_IRGRP
%18 = or i32 %17, %16
%19 = load i32, i32* @S_IXGRP
%20 = or i32 %18, %19
%21 = tail call i64 @mkdir(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 %20)
%22 = icmp eq i64 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %15
%24 = tail call i32 (i8*, i32, i8*, ...) @snprintf(i8* %1, i32 256, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
br label %61
25: ; preds = %15
%26 = call i32 @stat(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), %struct.stat* %4)
%27 = icmp eq i32 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = tail call i32 (i8*, i32, i8*, ...) @snprintf(i8* %1, i32 256, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
br label %61
30: ; preds = %25, %2
%31 = getelementptr inbounds %struct.stat, %struct.stat* %4, i64 0, i32 0
%32 = load i32, i32* %31
%33 = tail call i32 @S_ISDIR(i32 %32)
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = tail call i32 (i8*, i32, i8*, ...) @snprintf(i8* %1, i32 256, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
br label %61
37: ; preds = %30
%38 = call i32 @memset(%struct.sockaddr_un* %3, i32 0, i32 8)
%39 = load i32, i32* @AF_UNIX
%40 = getelementptr inbounds %struct.sockaddr_un, %struct.sockaddr_un* %3, i64 0, i32 1
store i32 %39, i32* %40
%41 = getelementptr inbounds %struct.sockaddr_un, %struct.sockaddr_un* %3, i64 0, i32 0
%42 = load i32, i32* %41
%43 = call i32 @strcpy(i32 %42, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0))
%44 = load i32, i32* %41
%45 = call i32 @unlink(i32 %44)
%46 = load i32, i32* @AF_UNIX
%47 = load i32, i32* @SOCK_DGRAM
%48 = call i32 @socket(i32 %46, i32 %47, i32 0)
store i32 %48, i32* %0
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %53
50: ; preds = %37
%51 = load i32, i32* @errno
%52 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %1, i32 256, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %51)
br label %61
53: ; preds = %37
%54 = bitcast %struct.sockaddr_un* %3 to %struct.sockaddr*
%55 = call i32 @SUN_LEN(%struct.sockaddr_un* %3)
%56 = call i32 @bind(i32 %48, %struct.sockaddr* %54, i32 %55)
%57 = icmp eq i32 %56, -1
br i1 %57, label %58, label %61
58: ; preds = %53
%59 = load i32, i32* @errno
%60 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %1, i32 256, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i32 %59)
br label %61
61: ; preds = %53, %58, %50, %35, %28, %23, %13
%62 = phi i32 [ -1, %13 ], [ -1, %23 ], [ -1, %28 ], [ -1, %50 ], [ -1, %58 ], [ -1, %35 ], [ 0, %53 ]
ret i32 %62
}