#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 TYPE_2__ {
  int /*<<< orphan*/ s_addr;
};
struct sockaddr_in {
  int /*<<< orphan*/ sin_port;
  TYPE_1__ sin_addr;
  int /*<<< orphan*/ sin_family;
};
struct sockaddr {
  int dummy;
};
typedef int /*<<< orphan*/ fd_set;
typedef int /*<<< orphan*/ address;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
scalar_t__ FD_ISSET(int /*<<< orphan*/, int /*<<< orphan*/ *);
int /*<<< orphan*/ FD_SET(int, int /*<<< orphan*/ *);
int /*<<< orphan*/ FD_SETSIZE;
int /*<<< orphan*/ FD_ZERO(int /*<<< orphan*/ *);
int /*<<< orphan*/ SOCK_STREAM;
int /*<<< orphan*/ close(int);
int connect(int, struct sockaddr *, int);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ htons(int);
int /*<<< orphan*/ inet_addr(char *);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ puts(char *);
int /*<<< orphan*/ read(int, char *, int);
int select(int /*<<< orphan*/, int /*<<< orphan*/ *, int /*<<< orphan*/ *,
           int /*<<< orphan*/ *, int /*<<< orphan*/ *);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
scalar_t__ strncmp(char *, char *, int);
int /*<<< orphan*/ write(int, char *, int);
int main(int argc, char **argv) {
  int sockfd;
  struct sockaddr_in address;
  int result;
  char message[250 + 1] = {'\0'};
  fd_set readfds, testfds;
  char name[25];
  if (argc < 2) {
    puts("Please input your name:");
    fgets(name, 25, stdin);
    name[strlen(name) - 1] = '\0';
  } else
    strcpy(name, argv[1]);
  sockfd = socket(AF_INET, SOCK_STREAM, 0);
  address.sin_family = AF_INET;
  address.sin_addr.s_addr = inet_addr("10.110.28.9");
  address.sin_port = htons(9734);
  result = connect(sockfd, (struct sockaddr *)&address, sizeof(address));
  if (result == -1) {
    perror("oops: client");
    exit(1);
  }
  FD_ZERO(&readfds);
  FD_SET(sockfd, &readfds);
  FD_SET(0, &readfds);
  write(sockfd, name, 250);
  while (1) {
    int quit = 0;
    testfds = readfds;
    result = select(FD_SETSIZE, &testfds, NULL, NULL, NULL);
    if (FD_ISSET(0, &testfds)) {
      fgets(message, 250, stdin);
      message[strlen(message) - 1] = '\0';
      write(sockfd, message, 250);
      if (strncmp(message, "quit", 4) == 0)
        quit = 1;
      ;
    }
    read(sockfd, message, 250);
    printf("%s\n", message);
    if (quit)
      break;
  }
  close(sockfd);
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x160,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x120(%rbp),%rdi
xor    %esi,%esi
mov    $0xfb,%edx
call   10b0 <memset@plt>
cmpl   $0x2,-0x8(%rbp)
jge    12ba <main+0x7a>
lea    0xd83(%rip),%rdi
call   1050 <puts@plt>
lea    -0x150(%rbp),%rdi
mov    0x2d50(%rip),%rax
mov    (%rax),%edx
mov    $0x19,%esi
call   10e0 <fgets@plt>
lea    -0x150(%rbp),%rdi
call   1080 <strlen@plt>
sub    $0x1,%eax
cltq
movb   $0x0,-0x150(%rbp,%rax,1)
jmp    12ce <main+0x8e>
lea    -0x150(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
call   1040 <strcpy@plt>
mov    0x2d13(%rip),%rax
mov    (%rax),%edi
mov    0x2cf2(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1160 <socket@plt>
mov    %eax,-0x14(%rbp)
mov    0x2cf7(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x18(%rbp)
lea    0xd1b(%rip),%rdi
call   10f0 <inet_addr@plt>
mov    %eax,-0x1c(%rbp)
mov    $0x2606,%edi
call   1090 <htons@plt>
mov    %eax,-0x20(%rbp)
mov    -0x14(%rbp),%edi
lea    -0x20(%rbp),%rsi
mov    $0xc,%edx
call   1140 <connect@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0xffffffff,-0x24(%rbp)
jne    1346 <main+0x106>
lea    0xced(%rip),%rdi
call   1120 <perror@plt>
mov    $0x1,%edi
call   1130 <exit@plt>
lea    -0x124(%rbp),%rdi
call   1100 <FD_ZERO@plt>
mov    -0x14(%rbp),%edi
lea    -0x124(%rbp),%rsi
call   1150 <FD_SET@plt>
xor    %edi,%edi
lea    -0x124(%rbp),%rsi
call   1150 <FD_SET@plt>
mov    -0x14(%rbp),%edi
lea    -0x150(%rbp),%rsi
mov    $0xfa,%edx
call   1060 <write@plt>
movl   $0x0,-0x154(%rbp)
mov    -0x124(%rbp),%eax
mov    %eax,-0x128(%rbp)
mov    0x2c28(%rip),%rax
mov    (%rax),%edi
lea    -0x128(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%r8d
mov    %r8,%rdx
mov    %r8,%rcx
call   1110 <select@plt>
mov    %eax,-0x24(%rbp)
xor    %edi,%edi
lea    -0x128(%rbp),%rsi
call   1070 <FD_ISSET@plt>
cmp    $0x0,%rax
je     144c <main+0x20c>
lea    -0x120(%rbp),%rdi
mov    0x2bfe(%rip),%rax
mov    (%rax),%edx
mov    $0xfa,%esi
call   10e0 <fgets@plt>
lea    -0x120(%rbp),%rdi
call   1080 <strlen@plt>
sub    $0x1,%eax
cltq
movb   $0x0,-0x120(%rbp,%rax,1)
mov    -0x14(%rbp),%edi
lea    -0x120(%rbp),%rsi
mov    $0xfa,%edx
call   1060 <write@plt>
lea    -0x120(%rbp),%rdi
lea    0xc08(%rip),%rsi
mov    $0x4,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1447 <main+0x207>
movl   $0x1,-0x154(%rbp)
jmp    144c <main+0x20c>
mov    -0x14(%rbp),%edi
lea    -0x120(%rbp),%rsi
mov    $0xfa,%edx
call   10d0 <read@plt>
lea    -0x120(%rbp),%rsi
lea    0xbc8(%rip),%rdi
call   10a0 <printf@plt>
cmpl   $0x0,-0x154(%rbp)
je     1485 <main+0x245>
jmp    148a <main+0x24a>
jmp    1383 <main+0x143>
mov    -0x14(%rbp),%edi
call   10c0 <close@plt>
xor    %edi,%edi
call   1130 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x148,%rsp
xorps  %xmm0,%xmm0
movups %xmm0,0x12b(%rsp)
movaps %xmm0,0x120(%rsp)
movaps %xmm0,0x110(%rsp)
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
cmp    $0x1,%edi
jg     12f5 <main+0xc5>
lea    0xd3c(%rip),%rdi
call   1050 <puts@plt>
mov    0x2d10(%rip),%rax
mov    (%rax),%edx
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x19,%esi
call   10d0 <fgets@plt>
mov    %rbx,%rdi
call   1080 <strlen@plt>
cltq
movb   $0x0,-0x1(%rax,%rbx,1)
jmp    1303 <main+0xd3>
mov    0x8(%rsi),%rsi
lea    0x20(%rsp),%rdi
call   1040 <strcpy@plt>
mov    0x2cde(%rip),%rbx
mov    (%rbx),%edi
mov    0x2cbd(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1150 <socket@plt>
mov    %eax,%r13d
mov    (%rbx),%eax
mov    %eax,0x18(%rsp)
lea    0xcec(%rip),%rdi
call   10e0 <inet_addr@plt>
mov    %eax,0x14(%rsp)
mov    $0x2606,%edi
call   1090 <htons@plt>
mov    %eax,0x10(%rsp)
lea    0x10(%rsp),%rsi
mov    %r13d,%edi
mov    $0xc,%edx
call   1130 <connect@plt>
cmp    $0xffffffff,%eax
jne    1370 <main+0x140>
lea    0xcc3(%rip),%rdi
call   1110 <perror@plt>
mov    $0x1,%edi
call   1120 <exit@plt>
lea    0xc(%rsp),%rbx
mov    %rbx,%rdi
call   10f0 <FD_ZERO@plt>
mov    %r13d,%edi
mov    %rbx,%rsi
call   1140 <FD_SET@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1140 <FD_SET@plt>
lea    0x20(%rsp),%rsi
mov    %r13d,%edi
mov    $0xfa,%edx
call   1060 <write@plt>
mov    0x2c1d(%rip),%r12
lea    0x8(%rsp),%r14
lea    0x40(%rsp),%rbx
lea    0xc7a(%rip),%r15
jmp    13db <main+0x1ab>
xchg   %ax,%ax
mov    %r13d,%edi
mov    %rbx,%rsi
mov    $0xfa,%edx
call   10c0 <read@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   10a0 <printf@plt>
mov    0xc(%rsp),%eax
mov    %eax,0x8(%rsp)
mov    (%r12),%edi
mov    %r14,%rsi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
call   1100 <select@plt>
xor    %edi,%edi
mov    %r14,%rsi
call   1070 <FD_ISSET@plt>
test   %rax,%rax
je     13c0 <main+0x190>
mov    0x2bd4(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
mov    $0xfa,%esi
call   10d0 <fgets@plt>
mov    %rbx,%rdi
call   1080 <strlen@plt>
cltq
movb   $0x0,-0x1(%rax,%rbx,1)
mov    %r13d,%edi
mov    %rbx,%rsi
mov    $0xfa,%edx
call   1060 <write@plt>
mov    %rbx,%rdi
lea    0xbed(%rip),%rsi
mov    $0x4,%edx
call   1030 <strncmp@plt>
mov    %rax,%rbp
mov    %r13d,%edi
mov    %rbx,%rsi
mov    $0xfa,%edx
call   10c0 <read@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   10a0 <printf@plt>
test   %rbp,%rbp
jne    13db <main+0x1ab>
mov    %r13d,%edi
call   10b0 <close@plt>
xor    %edi,%edi
call   1120 <exit@plt>

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@.str = [24 x i8] c"Please input your name:\00"
@stdin = global i32 0
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.1 = [12 x i8] c"10.110.28.9\00"
@.str.2 = [13 x i8] c"oops: client\00"
@FD_SETSIZE = global i32 0
@.str.3 = [5 x i8] c"quit\00"
@.str.4 = [4 x i8] c"%s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca %struct.sockaddr_in
%8 = alloca i32
%9 = alloca [251 x i8]
%10 = alloca i32
%11 = alloca i32
%12 = alloca [25 x i8]
%13 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%14 = bitcast [251 x i8]* %9 to i8*
%15 = load i32, i32* %4
%16 = icmp slt i32 %15, 2
br i1 %16, label %17, label %27
17: ; preds = %2
%18 = call i32 @puts(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
%19 = getelementptr inbounds [25 x i8], [25 x i8]* %12, i64 0, i64 0
%20 = load i32, i32* @stdin
%21 = call i32 @fgets(i8* %19, i32 25, i32 %20)
%22 = getelementptr inbounds [25 x i8], [25 x i8]* %12, i64 0, i64 0
%23 = call i32 @strlen(i8* %22)
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [25 x i8], [25 x i8]* %12, i64 0, i64 %25
store i8 0, i8* %26
br label %33
27: ; preds = %2
%28 = getelementptr inbounds [25 x i8], [25 x i8]* %12, i64 0, i64 0
%29 = load i8**, i8*** %5
%30 = getelementptr inbounds i8*, i8** %29, i64 1
%31 = load i8*, i8** %30
%32 = call i32 @strcpy(i8* %28, i8* %31)
br label %33
33: ; preds = %27, %17
%34 = load i32, i32* @AF_INET
%35 = load i32, i32* @SOCK_STREAM
%36 = call i32 @socket(i32 %34, i32 %35, i32 0)
store i32 %36, i32* %6
%37 = load i32, i32* @AF_INET
%38 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %7, i32 0, i32 2
store i32 %37, i32* %38
%39 = call i32 @inet_addr(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%40 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %7, i32 0, i32 1
%41 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %40, i32 0, i32 0
store i32 %39, i32* %41
%42 = call i32 @htons(i32 9734)
%43 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %7, i32 0, i32 0
store i32 %42, i32* %43
%44 = load i32, i32* %6
%45 = bitcast %struct.sockaddr_in* %7 to %struct.sockaddr*
%46 = call i32 @connect(i32 %44, %struct.sockaddr* %45, i32 12)
store i32 %46, i32* %8
%47 = load i32, i32* %8
%48 = icmp eq i32 %47, -1
br i1 %48, label %49, label %52
49: ; preds = %33
%50 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%51 = call i32 @exit(i32 1)
unreachable
52: ; preds = %33
%53 = call i32 @FD_ZERO(i32* %10)
%54 = load i32, i32* %6
%55 = call i32 @FD_SET(i32 %54, i32* %10)
%56 = call i32 @FD_SET(i32 0, i32* %10)
%57 = load i32, i32* %6
%58 = getelementptr inbounds [25 x i8], [25 x i8]* %12, i64 0, i64 0
%59 = call i32 @write(i32 %57, i8* %58, i32 250)
br label %60
60: ; preds = %52, %92
store i32 0, i32* %13
%61 = load i32, i32* %10
store i32 %61, i32* %11
%62 = load i32, i32* @FD_SETSIZE
%63 = call i32 @select(i32 %62, i32* %11, i32* null, i32* null, i32* null)
store i32 %63, i32* %8
%64 = call i64 @FD_ISSET(i32 0, i32* %11)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %83
66: ; preds = %60
%67 = getelementptr inbounds [251 x i8], [251 x i8]* %9, i64 0, i64 0
%68 = load i32, i32* @stdin
%69 = call i32 @fgets(i8* %67, i32 250, i32 %68)
%70 = getelementptr inbounds [251 x i8], [251 x i8]* %9, i64 0, i64 0
%71 = call i32 @strlen(i8* %70)
%72 = sub nsw i32 %71, 1
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [251 x i8], [251 x i8]* %9, i64 0, i64 %73
store i8 0, i8* %74
%75 = load i32, i32* %6
%76 = getelementptr inbounds [251 x i8], [251 x i8]* %9, i64 0, i64 0
%77 = call i32 @write(i32 %75, i8* %76, i32 250)
%78 = getelementptr inbounds [251 x i8], [251 x i8]* %9, i64 0, i64 0
%79 = call i64 @strncmp(i8* %78, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 4)
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %66
store i32 1, i32* %13
br label %82
82: ; preds = %81, %66
br label %83
83: ; preds = %82, %60
%84 = load i32, i32* %6
%85 = getelementptr inbounds [251 x i8], [251 x i8]* %9, i64 0, i64 0
%86 = call i32 @read(i32 %84, i8* %85, i32 250)
%87 = getelementptr inbounds [251 x i8], [251 x i8]* %9, i64 0, i64 0
%88 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* %87)
%89 = load i32, i32* %13
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %83
br label %93
92: ; preds = %83
br label %60
93: ; preds = %91
%94 = load i32, i32* %6
%95 = call i32 @close(i32 %94)
%96 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@.str = [24 x i8] c"Please input your name:\00"
@stdin = global i32 0
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.1 = [12 x i8] c"10.110.28.9\00"
@.str.2 = [13 x i8] c"oops: client\00"
@FD_SETSIZE = global i32 0
@.str.3 = [5 x i8] c"quit\00"
@.str.4 = [4 x i8] c"%s\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.sockaddr_in
%4 = alloca [251 x i8]
%5 = alloca i32
%6 = alloca i32
%7 = alloca [25 x i8]
%8 = bitcast %struct.sockaddr_in* %3 to i8*
%9 = getelementptr inbounds [251 x i8], [251 x i8]* %4, i64 0, i64 0
%10 = bitcast i32* %5 to i8*
%11 = bitcast i32* %6 to i8*
%12 = getelementptr inbounds [25 x i8], [25 x i8]* %7, i64 0, i64 0
%13 = icmp slt i32 %0, 2
br i1 %13, label %14, label %22
14: ; preds = %2
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
%16 = load i32, i32* @stdin
%17 = call i32 @fgets(i8* %12, i32 25, i32 %16)
%18 = call i32 @strlen(i8* %12)
%19 = add nsw i32 %18, -1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [25 x i8], [25 x i8]* %7, i64 0, i64 %20
store i8 0, i8* %21
br label %26
22: ; preds = %2
%23 = getelementptr inbounds i8*, i8** %1, i64 1
%24 = load i8*, i8** %23
%25 = call i32 @strcpy(i8* %12, i8* %24)
br label %26
26: ; preds = %22, %14
%27 = load i32, i32* @AF_INET
%28 = load i32, i32* @SOCK_STREAM
%29 = call i32 @socket(i32 %27, i32 %28, i32 0)
%30 = load i32, i32* @AF_INET
%31 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 2
store i32 %30, i32* %31
%32 = call i32 @inet_addr(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%33 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 1, i32 0
store i32 %32, i32* %33
%34 = call i32 @htons(i32 9734)
%35 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 0
store i32 %34, i32* %35
%36 = bitcast %struct.sockaddr_in* %3 to %struct.sockaddr*
%37 = call i32 @connect(i32 %29, %struct.sockaddr* %36, i32 12)
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %42
39: ; preds = %26
%40 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%41 = call i32 @exit(i32 1)
unreachable
42: ; preds = %26
%43 = call i32 @FD_ZERO(i32* %5)
%44 = call i32 @FD_SET(i32 %29, i32* %5)
%45 = call i32 @FD_SET(i32 0, i32* %5)
%46 = call i32 @write(i32 %29, i8* %12, i32 250)
br label %50
47: ; preds = %50
%48 = call i32 @read(i32 %29, i8* %9, i32 250)
%49 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* %9)
br label %68
50: ; preds = %68, %42
%51 = load i32, i32* %5
store i32 %51, i32* %6
%52 = load i32, i32* @FD_SETSIZE
%53 = call i32 @select(i32 %52, i32* %6, i32* null, i32* null, i32* null)
%54 = call i64 @FD_ISSET(i32 0, i32* %6)
%55 = icmp eq i64 %54, 0
br i1 %55, label %47, label %56
56: ; preds = %50
%57 = load i32, i32* @stdin
%58 = call i32 @fgets(i8* %9, i32 250, i32 %57)
%59 = call i32 @strlen(i8* %9)
%60 = add nsw i32 %59, -1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [251 x i8], [251 x i8]* %4, i64 0, i64 %61
store i8 0, i8* %62
%63 = call i32 @write(i32 %29, i8* %9, i32 250)
%64 = call i64 @strncmp(i8* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 4)
%65 = icmp eq i64 %64, 0
%66 = call i32 @read(i32 %29, i8* %9, i32 250)
%67 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* %9)
br i1 %65, label %69, label %68
68: ; preds = %56, %47
br label %50
69: ; preds = %56
%70 = call i32 @close(i32 %29)
%71 = call i32 @exit(i32 0)
unreachable
}