#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 termios {
  int c_cflag;
  int c_lflag;
  int c_oflag;
  int *c_cc;
};

/* Variables and functions */
int CLOCAL;
int CREAD;
int ECHO;
int ECHOE;
int /*<<< orphan*/ F_SETFL;
int ICANON;
int ISIG;
int /*<<< orphan*/ OPOST;
int O_NDELAY;
int O_NOCTTY;
int O_RDWR;
int /*<<< orphan*/ TCSANOW;
size_t VMIN;
size_t VTIME;
int /*<<< orphan*/ blindcmd(int, char *, int);
int /*<<< orphan*/ fcntl(int, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
scalar_t__ modifybaud(int, long);
int open(char const *, int);
int /*<<< orphan*/ perror(char const *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ tcgetattr(int, struct termios *);
int /*<<< orphan*/ tcsetattr(int, int /*<<< orphan*/, struct termios *);
scalar_t__ upgradebaudrate(int, long, long);
int openserial(const char *portfilename, long baudrate, long baudrate_target) {
  struct termios options;
  int fd;
  fprintf(stderr, "Opening serial port %s, this can take a while\n",
          portfilename);
  fd = open(portfilename, O_RDWR | O_NOCTTY | O_NDELAY);
  if (fd == -1) {
    perror(portfilename);
  } else {
    fcntl(fd, F_SETFL, 0);
    tcgetattr(fd, &options);
    options.c_cflag |= (CLOCAL | CREAD);
    options.c_lflag &= !(ICANON | ECHO | ECHOE | ISIG);
    options.c_oflag &= !(OPOST);
    options.c_cc[VMIN] = 0;
    options.c_cc[VTIME] = 100;
    tcsetattr(fd, TCSANOW, &options);
    long current_baud = 9600;
    if (0 != modifybaud(fd, baudrate)) {
      fprintf(stderr,
              "Error modifying baudrate. Continuing, but may suffer issues\n");
    } else {
      if (baudrate != 0)
        current_baud = baudrate;
    }
    blindcmd(fd, "ATZ", 1);
    if (0 > upgradebaudrate(fd, baudrate_target, current_baud)) {
      fprintf(stderr,
              "Error upgrading baudrate. Continuing, but may suffer issues\n");
    }
    blindcmd(fd, "0100", 1);
    blindcmd(fd, "ATE0", 1);
    blindcmd(fd, "ATL0", 1);
    blindcmd(fd, "ATS0", 1);
    blindcmd(fd, "0100", 1);
  }
  return fd;
}


x86 assembly (clang, -O0):
<openserial>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    0x2ded(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xe48(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    0x2e1e(%rip),%rax
mov    (%rax),%esi
mov    0x2dcd(%rip),%rax
or     (%rax),%esi
mov    0x2dac(%rip),%rax
or     (%rax),%esi
call   10a0 <open@plt>
mov    %eax,-0x34(%rbp)
cmpl   $0xffffffff,-0x34(%rbp)
jne    11fe <openserial+0x6e>
mov    -0x8(%rbp),%rdi
call   10b0 <perror@plt>
jmp    13c8 <openserial+0x238>
mov    -0x34(%rbp),%edi
mov    0x2d88(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1030 <fcntl@plt>
mov    -0x34(%rbp),%edi
lea    -0x30(%rbp),%rsi
call   1080 <tcgetattr@plt>
mov    0x2d44(%rip),%rax
mov    (%rax),%eax
mov    0x2d8b(%rip),%rcx
or     (%rcx),%eax
or     -0x30(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    0x2d3c(%rip),%rax
mov    (%rax),%eax
mov    0x2d8b(%rip),%rcx
or     (%rcx),%eax
mov    0x2d7a(%rip),%rcx
or     (%rcx),%eax
mov    0x2d69(%rip),%rcx
or     (%rcx),%eax
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%eax
and    -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    0x2d6d(%rip),%rax
cmpl   $0x0,(%rax)
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%eax
and    -0x28(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x20(%rbp),%rax
mov    0x2d1f(%rip),%rcx
mov    (%rcx),%rcx
movl   $0x0,(%rax,%rcx,4)
mov    -0x20(%rbp),%rax
mov    0x2cda(%rip),%rcx
mov    (%rcx),%rcx
movl   $0x64,(%rax,%rcx,4)
mov    -0x34(%rbp),%edi
mov    0x2d1e(%rip),%rax
mov    (%rax),%esi
lea    -0x30(%rbp),%rdx
call   1090 <tcsetattr@plt>
movq   $0x2580,-0x40(%rbp)
mov    -0x34(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1070 <modifybaud@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1303 <openserial+0x173>
mov    0x2caa(%rip),%rax
mov    (%rax),%edi
lea    0xd38(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
jmp    131b <openserial+0x18b>
cmpq   $0x0,-0x10(%rbp)
je     1316 <openserial+0x186>
mov    -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
jmp    131b <openserial+0x18b>
mov    -0x34(%rbp),%edi
lea    0xd47(%rip),%rsi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
mov    -0x34(%rbp),%edi
mov    -0x18(%rbp),%rsi
mov    -0x40(%rbp),%rdx
call   1040 <upgradebaudrate@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jle    1364 <openserial+0x1d4>
mov    0x2c44(%rip),%rax
mov    (%rax),%edi
lea    0xd13(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x34(%rbp),%edi
lea    0xd3f(%rip),%rsi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
mov    -0x34(%rbp),%edi
lea    0xd30(%rip),%rsi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
mov    -0x34(%rbp),%edi
lea    0xd21(%rip),%rsi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
mov    -0x34(%rbp),%edi
lea    0xd12(%rip),%rsi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
mov    -0x34(%rbp),%edi
lea    0xcef(%rip),%rsi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
mov    -0x34(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<openserial>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x20,%rsp
mov    %rdx,%r14
mov    %rsi,%r15
mov    %rdi,%r12
mov    0x2deb(%rip),%r13
mov    0x0(%r13),%edi
lea    0xe48(%rip),%rsi
mov    %r12,%rdx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x2e1f(%rip),%rax
mov    0x2dd0(%rip),%rcx
mov    (%rcx),%esi
or     (%rax),%esi
mov    0x2dad(%rip),%rax
or     (%rax),%esi
mov    %r12,%rdi
call   10a0 <open@plt>
mov    %eax,%ebx
cmp    $0xffffffff,%eax
je     137c <openserial+0x1ec>
mov    0x2d99(%rip),%rax
mov    (%rax),%esi
mov    %ebx,%edi
xor    %edx,%edx
call   1030 <fcntl@plt>
lea    0x8(%rsp),%r12
mov    %ebx,%edi
mov    %r12,%rsi
call   1080 <tcgetattr@plt>
mov    0x2d50(%rip),%rax
mov    0x2d99(%rip),%rcx
mov    (%rcx),%ecx
or     (%rax),%ecx
or     %ecx,0x8(%rsp)
mov    0x2d4a(%rip),%rax
mov    0x2d9b(%rip),%rcx
mov    (%rcx),%ecx
or     (%rax),%ecx
mov    0x2d88(%rip),%rax
or     (%rax),%ecx
mov    0x2d77(%rip),%rax
xor    %edx,%edx
or     (%rax),%ecx
sete   %dl
and    %edx,0xc(%rsp)
mov    0x2d85(%rip),%rax
xor    %ecx,%ecx
cmpl   $0x0,(%rax)
sete   %cl
and    %ecx,0x10(%rsp)
mov    0x18(%rsp),%rax
mov    0x2d3d(%rip),%rcx
mov    (%rcx),%rcx
movl   $0x0,(%rax,%rcx,4)
mov    0x2cfc(%rip),%rcx
mov    (%rcx),%rcx
movl   $0x64,(%rax,%rcx,4)
mov    0x2d43(%rip),%rax
mov    (%rax),%esi
mov    %ebx,%edi
mov    %r12,%rdx
call   1090 <tcsetattr@plt>
mov    %ebx,%edi
mov    %r15,%rsi
call   1070 <modifybaud@plt>
test   %rax,%rax
je     12ca <openserial+0x13a>
mov    0x0(%r13),%edi
lea    0xd74(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0x2580,%r12d
jmp    12d7 <openserial+0x147>
test   %r15,%r15
mov    $0x2580,%r12d
cmovne %r15,%r12
lea    0xd8e(%rip),%rsi
mov    %ebx,%edi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
mov    %ebx,%edi
mov    %r14,%rsi
mov    %r12,%rdx
call   1040 <upgradebaudrate@plt>
test   %rax,%rax
jns    130e <openserial+0x17e>
mov    0x0(%r13),%edi
lea    0xd69(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0xd98(%rip),%r14
mov    %ebx,%edi
mov    %r14,%rsi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
lea    0xd87(%rip),%rsi
mov    %ebx,%edi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
lea    0xd79(%rip),%rsi
mov    %ebx,%edi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
lea    0xd6b(%rip),%rsi
mov    %ebx,%edi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
mov    %ebx,%edi
mov    %r14,%rsi
mov    $0x1,%edx
call   1060 <blindcmd@plt>
mov    %ebx,%eax
add    $0x20,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret
mov    %r12,%rdi
call   10b0 <perror@plt>
jmp    136c <openserial+0x1dc>

LLVM IR (-O0):
%struct.termios = type { i32, i32, i32, i32* }
@stderr = global i32 0
@.str = [47 x i8] c"Opening serial port %s, this can take a while\0A\00"
@O_RDWR = global i32 0
@O_NOCTTY = global i32 0
@O_NDELAY = global i32 0
@F_SETFL = global i32 0
@CLOCAL = global i32 0
@CREAD = global i32 0
@ICANON = global i32 0
@ECHO = global i32 0
@ECHOE = global i32 0
@ISIG = global i32 0
@OPOST = global i32 0
@VMIN = global i64 0
@VTIME = global i64 0
@TCSANOW = global i32 0
@.str.1 = [61 x i8] c"Error modifying baudrate. Continuing, but may suffer issues\0A\00"
@.str.2 = [4 x i8] c"ATZ\00"
@.str.3 = [61 x i8] c"Error upgrading baudrate. Continuing, but may suffer issues\0A\00"
@.str.4 = [5 x i8] c"0100\00"
@.str.5 = [5 x i8] c"ATE0\00"
@.str.6 = [5 x i8] c"ATL0\00"
@.str.7 = [5 x i8] c"ATS0\00"
define i32 @openserial(i8* %0, i64 %1, i64 %2) {
%4 = alloca i8*
%5 = alloca i64
%6 = alloca i64
%7 = alloca %struct.termios
%8 = alloca i32
%9 = alloca i64
store i8* %0, i8** %4
store i64 %1, i64* %5
store i64 %2, i64* %6
%10 = load i32, i32* @stderr
%11 = load i8*, i8** %4
%12 = call i32 (i32, i8*, ...) @fprintf(i32 %10, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0), i8* %11)
%13 = load i8*, i8** %4
%14 = load i32, i32* @O_RDWR
%15 = load i32, i32* @O_NOCTTY
%16 = or i32 %14, %15
%17 = load i32, i32* @O_NDELAY
%18 = or i32 %16, %17
%19 = call i32 @open(i8* %13, i32 %18)
store i32 %19, i32* %8
%20 = load i32, i32* %8
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %25
22: ; preds = %3
%23 = load i8*, i8** %4
%24 = call i32 @perror(i8* %23)
br label %103
25: ; preds = %3
%26 = load i32, i32* %8
%27 = load i32, i32* @F_SETFL
%28 = call i32 @fcntl(i32 %26, i32 %27, i32 0)
%29 = load i32, i32* %8
%30 = call i32 @tcgetattr(i32 %29, %struct.termios* %7)
%31 = load i32, i32* @CLOCAL
%32 = load i32, i32* @CREAD
%33 = or i32 %31, %32
%34 = getelementptr inbounds %struct.termios, %struct.termios* %7, i32 0, i32 0
%35 = load i32, i32* %34
%36 = or i32 %35, %33
store i32 %36, i32* %34
%37 = load i32, i32* @ICANON
%38 = load i32, i32* @ECHO
%39 = or i32 %37, %38
%40 = load i32, i32* @ECHOE
%41 = or i32 %39, %40
%42 = load i32, i32* @ISIG
%43 = or i32 %41, %42
%44 = icmp ne i32 %43, 0
%45 = xor i1 %44, true
%46 = zext i1 %45 to i32
%47 = getelementptr inbounds %struct.termios, %struct.termios* %7, i32 0, i32 1
%48 = load i32, i32* %47
%49 = and i32 %48, %46
store i32 %49, i32* %47
%50 = load i32, i32* @OPOST
%51 = icmp ne i32 %50, 0
%52 = xor i1 %51, true
%53 = zext i1 %52 to i32
%54 = getelementptr inbounds %struct.termios, %struct.termios* %7, i32 0, i32 2
%55 = load i32, i32* %54
%56 = and i32 %55, %53
store i32 %56, i32* %54
%57 = getelementptr inbounds %struct.termios, %struct.termios* %7, i32 0, i32 3
%58 = load i32*, i32** %57
%59 = load i64, i64* @VMIN
%60 = getelementptr inbounds i32, i32* %58, i64 %59
store i32 0, i32* %60
%61 = getelementptr inbounds %struct.termios, %struct.termios* %7, i32 0, i32 3
%62 = load i32*, i32** %61
%63 = load i64, i64* @VTIME
%64 = getelementptr inbounds i32, i32* %62, i64 %63
store i32 100, i32* %64
%65 = load i32, i32* %8
%66 = load i32, i32* @TCSANOW
%67 = call i32 @tcsetattr(i32 %65, i32 %66, %struct.termios* %7)
store i64 9600, i64* %9
%68 = load i32, i32* %8
%69 = load i64, i64* %5
%70 = call i64 @modifybaud(i32 %68, i64 %69)
%71 = icmp ne i64 0, %70
br i1 %71, label %72, label %75
72: ; preds = %25
%73 = load i32, i32* @stderr
%74 = call i32 (i32, i8*, ...) @fprintf(i32 %73, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0))
br label %81
75: ; preds = %25
%76 = load i64, i64* %5
%77 = icmp ne i64 %76, 0
br i1 %77, label %78, label %80
78: ; preds = %75
%79 = load i64, i64* %5
store i64 %79, i64* %9
br label %80
80: ; preds = %78, %75
br label %81
81: ; preds = %80, %72
%82 = load i32, i32* %8
%83 = call i32 @blindcmd(i32 %82, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 1)
%84 = load i32, i32* %8
%85 = load i64, i64* %6
%86 = load i64, i64* %9
%87 = call i64 @upgradebaudrate(i32 %84, i64 %85, i64 %86)
%88 = icmp sgt i64 0, %87
br i1 %88, label %89, label %92
89: ; preds = %81
%90 = load i32, i32* @stderr
%91 = call i32 (i32, i8*, ...) @fprintf(i32 %90, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.3, i64 0, i64 0))
br label %92
92: ; preds = %89, %81
%93 = load i32, i32* %8
%94 = call i32 @blindcmd(i32 %93, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 1)
%95 = load i32, i32* %8
%96 = call i32 @blindcmd(i32 %95, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 1)
%97 = load i32, i32* %8
%98 = call i32 @blindcmd(i32 %97, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 1)
%99 = load i32, i32* %8
%100 = call i32 @blindcmd(i32 %99, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 1)
%101 = load i32, i32* %8
%102 = call i32 @blindcmd(i32 %101, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 1)
br label %103
103: ; preds = %92, %22
%104 = load i32, i32* %8
ret i32 %104
}

LLVM IR (-O2):
%struct.termios = type { i32, i32, i32, i32* }
@stderr = global i32 0
@.str = [47 x i8] c"Opening serial port %s, this can take a while\0A\00"
@O_RDWR = global i32 0
@O_NOCTTY = global i32 0
@O_NDELAY = global i32 0
@F_SETFL = global i32 0
@CLOCAL = global i32 0
@CREAD = global i32 0
@ICANON = global i32 0
@ECHO = global i32 0
@ECHOE = global i32 0
@ISIG = global i32 0
@OPOST = global i32 0
@VMIN = global i64 0
@VTIME = global i64 0
@TCSANOW = global i32 0
@.str.1 = [61 x i8] c"Error modifying baudrate. Continuing, but may suffer issues\0A\00"
@.str.2 = [4 x i8] c"ATZ\00"
@.str.3 = [61 x i8] c"Error upgrading baudrate. Continuing, but may suffer issues\0A\00"
@.str.4 = [5 x i8] c"0100\00"
@.str.5 = [5 x i8] c"ATE0\00"
@.str.6 = [5 x i8] c"ATL0\00"
@.str.7 = [5 x i8] c"ATS0\00"
define i32 @openserial(i8* %0, i64 %1, i64 %2) {
%4 = alloca %struct.termios
%5 = bitcast %struct.termios* %4 to i8*
%6 = load i32, i32* @stderr
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0), i8* %0)
%8 = load i32, i32* @O_RDWR
%9 = load i32, i32* @O_NOCTTY
%10 = or i32 %9, %8
%11 = load i32, i32* @O_NDELAY
%12 = or i32 %10, %11
%13 = tail call i32 @open(i8* %0, i32 %12)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = tail call i32 @perror(i8* %0)
br label %75
17: ; preds = %3
%18 = load i32, i32* @F_SETFL
%19 = tail call i32 @fcntl(i32 %13, i32 %18, i32 0)
%20 = call i32 @tcgetattr(i32 %13, %struct.termios* %4)
%21 = load i32, i32* @CLOCAL
%22 = load i32, i32* @CREAD
%23 = or i32 %22, %21
%24 = getelementptr inbounds %struct.termios, %struct.termios* %4, i64 0, i32 0
%25 = load i32, i32* %24
%26 = or i32 %23, %25
store i32 %26, i32* %24
%27 = load i32, i32* @ICANON
%28 = load i32, i32* @ECHO
%29 = or i32 %28, %27
%30 = load i32, i32* @ECHOE
%31 = or i32 %29, %30
%32 = load i32, i32* @ISIG
%33 = or i32 %31, %32
%34 = icmp eq i32 %33, 0
%35 = zext i1 %34 to i32
%36 = getelementptr inbounds %struct.termios, %struct.termios* %4, i64 0, i32 1
%37 = load i32, i32* %36
%38 = and i32 %37, %35
store i32 %38, i32* %36
%39 = load i32, i32* @OPOST
%40 = icmp eq i32 %39, 0
%41 = zext i1 %40 to i32
%42 = getelementptr inbounds %struct.termios, %struct.termios* %4, i64 0, i32 2
%43 = load i32, i32* %42
%44 = and i32 %43, %41
store i32 %44, i32* %42
%45 = getelementptr inbounds %struct.termios, %struct.termios* %4, i64 0, i32 3
%46 = load i32*, i32** %45
%47 = load i64, i64* @VMIN
%48 = getelementptr inbounds i32, i32* %46, i64 %47
store i32 0, i32* %48
%49 = load i64, i64* @VTIME
%50 = getelementptr inbounds i32, i32* %46, i64 %49
store i32 100, i32* %50
%51 = load i32, i32* @TCSANOW
%52 = call i32 @tcsetattr(i32 %13, i32 %51, %struct.termios* %4)
%53 = call i64 @modifybaud(i32 %13, i64 %1)
%54 = icmp eq i64 %53, 0
br i1 %54, label %58, label %55
55: ; preds = %17
%56 = load i32, i32* @stderr
%57 = call i32 (i32, i8*, ...) @fprintf(i32 %56, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0))
br label %61
58: ; preds = %17
%59 = icmp eq i64 %1, 0
%60 = select i1 %59, i64 9600, i64 %1
br label %61
61: ; preds = %58, %55
%62 = phi i64 [ 9600, %55 ], [ %60, %58 ]
%63 = call i32 @blindcmd(i32 %13, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 1)
%64 = call i64 @upgradebaudrate(i32 %13, i64 %2, i64 %62)
%65 = icmp slt i64 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %61
%67 = load i32, i32* @stderr
%68 = call i32 (i32, i8*, ...) @fprintf(i32 %67, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.3, i64 0, i64 0))
br label %69
69: ; preds = %66, %61
%70 = call i32 @blindcmd(i32 %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 1)
%71 = call i32 @blindcmd(i32 %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 1)
%72 = call i32 @blindcmd(i32 %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 1)
%73 = call i32 @blindcmd(i32 %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 1)
%74 = call i32 @blindcmd(i32 %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 1)
br label %75
75: ; preds = %69, %15
ret i32 %13
}