#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 hostent {
  int /*<<< orphan*/ h_length;
  scalar_t__ h_addr;
};
typedef int /*<<< orphan*/ serveraddr;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ SOCK_STREAM;
int atoi(char *);
int /*<<< orphan*/ bcopy(char *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ bzero(char *, int);
int /*<<< orphan*/ close(int);
scalar_t__ connect(int, struct sockaddr_in *, int);
int /*<<< orphan*/ error(char *);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
struct hostent *gethostbyname(char *);
int /*<<< orphan*/ htons(int);
int /*<<< orphan*/ printf(char *, ...);
int read(int, char *, int);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ strlen(char *);
int write(int, char *, int /*<<< orphan*/);
int main(int argc, char **argv) {
  int sockfd, portno, n;
  struct sockaddr_in serveraddr;
  struct hostent *server;
  char *hostname;
  char buf[1024];
  while (buf != "quit") {
    if (argc != 3) {
      fprintf(stderr, "usage: %s <hostname> <port>\n", argv[0]);
      exit(0);
    }
    hostname = argv[1];
    portno = atoi(argv[2]);
    sockfd = socket(AF_INET, SOCK_STREAM, 0);
    if (sockfd < 0)
      error("ERROR opening socket");
    server = gethostbyname(hostname);
    if (server == NULL) {
      fprintf(stderr, "ERROR, no such host as %s\n", hostname);
      exit(0);
    }
    bzero((char *)&serveraddr, sizeof(serveraddr));
    serveraddr.sin_family = AF_INET;
    bcopy((char *)server->h_addr, (char *)&serveraddr.sin_addr.s_addr,
          server->h_length);
    serveraddr.sin_port = htons(portno);
    if (connect(sockfd, &serveraddr, sizeof(serveraddr)) < 0)
      error("ERROR connecting");
    printf("Please enter msg: ");
    bzero(buf, 1024);
    fgets(buf, 1024, stdin);
    n = write(sockfd, buf, strlen(buf));
    if (n < 0)
      error("ERROR writing to socket");
    bzero(buf, 1024);
    n = read(sockfd, buf, 1024);
    if (n < 0)
      error("ERROR reading from socket");
    printf("client received %d bytes: %s", n, buf);
  }
  close(sockfd);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x450,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x440(%rbp),%rax
lea    0xdd9(%rip),%rcx
cmp    %rcx,%rax
je     142e <main+0x22e>
cmpl   $0x3,-0x8(%rbp)
je     125d <main+0x5d>
mov    0x2d8f(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xdb4(%rip),%rsi
call   10b0 <fprintf@plt>
xor    %edi,%edi
call   1100 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x38(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   10f0 <atoi@plt>
mov    %eax,-0x18(%rbp)
mov    0x2d68(%rip),%rax
mov    (%rax),%edi
mov    0x2d3f(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1120 <socket@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jge    12ab <main+0xab>
lea    0xd7c(%rip),%rdi
call   10d0 <error@plt>
mov    -0x38(%rbp),%rdi
call   10a0 <gethostbyname@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jne    12e3 <main+0xe3>
mov    0x2d06(%rip),%rax
mov    (%rax),%edi
mov    -0x38(%rbp),%rdx
lea    0xd60(%rip),%rsi
call   10b0 <fprintf@plt>
xor    %edi,%edi
call   1100 <exit@plt>
lea    -0x28(%rbp),%rdi
mov    $0xc,%esi
call   10e0 <bzero@plt>
mov    0x2cf0(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x20(%rbp)
mov    -0x30(%rbp),%rax
mov    0x8(%rax),%rdi
lea    -0x28(%rbp),%rsi
add    $0x4,%rsi
mov    -0x30(%rbp),%rax
mov    (%rax),%edx
call   10c0 <bcopy@plt>
mov    -0x18(%rbp),%edi
call   1050 <htons@plt>
mov    %eax,-0x28(%rbp)
mov    -0x14(%rbp),%edi
lea    -0x28(%rbp),%rsi
mov    $0xc,%edx
call   1110 <connect@plt>
cmp    $0x0,%rax
jge    134a <main+0x14a>
lea    0xd0d(%rip),%rdi
call   10d0 <error@plt>
lea    0xd12(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    -0x440(%rbp),%rdi
mov    $0x400,%esi
call   10e0 <bzero@plt>
lea    -0x440(%rbp),%rdi
mov    0x2c69(%rip),%rax
mov    (%rax),%edx
mov    $0x400,%esi
call   1090 <fgets@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x44c(%rbp)
lea    -0x440(%rbp),%rax
mov    %rax,-0x448(%rbp)
lea    -0x440(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x44c(%rbp),%edi
mov    -0x448(%rbp),%rsi
mov    %eax,%edx
call   1030 <write@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jge    13d3 <main+0x1d3>
lea    0xca8(%rip),%rdi
call   10d0 <error@plt>
lea    -0x440(%rbp),%rdi
mov    $0x400,%esi
call   10e0 <bzero@plt>
mov    -0x14(%rbp),%edi
lea    -0x440(%rbp),%rsi
mov    $0x400,%edx
call   1080 <read@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jge    1411 <main+0x211>
lea    0xc82(%rip),%rdi
call   10d0 <error@plt>
mov    -0x1c(%rbp),%esi
lea    -0x440(%rbp),%rdx
lea    0xc86(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1219 <main+0x19>
mov    -0x14(%rbp),%edi
call   1070 <close@plt>
xor    %eax,%eax
add    $0x450,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x418,%rsp
mov    %rsi,%rbx
cmp    $0x3,%edi
jne    1371 <main+0x181>
lea    0x10(%rsp),%r15
jmp    1233 <main+0x43>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xe7c(%rip),%rdi
mov    %ebp,%esi
mov    %r15,%rdx
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x8(%rbx),%r13
mov    0x10(%rbx),%rdi
call   10e0 <atoi@plt>
mov    %eax,%ebp
mov    0x2d9f(%rip),%rax
mov    (%rax),%edi
mov    0x2d76(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1110 <socket@plt>
mov    %eax,%r14d
test   %eax,%eax
jns    126e <main+0x7e>
lea    0xdb4(%rip),%rdi
call   10c0 <error@plt>
mov    %r13,%rdi
call   1090 <gethostbyname@plt>
test   %rax,%rax
je     1386 <main+0x196>
mov    %rax,%r12
mov    %rbx,%r13
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0xc,%esi
call   10d0 <bzero@plt>
mov    0x2d4c(%rip),%rax
mov    (%rax),%eax
mov    %eax,0x8(%rsp)
mov    0x8(%r12),%rsi
mov    (%r12),%edx
lea    0x4(%rsp),%rdi
call   10b0 <memmove@plt>
mov    %ebp,%edi
call   1050 <htons@plt>
mov    %eax,(%rsp)
mov    %r14d,%edi
mov    %rbx,%rsi
mov    $0xc,%edx
call   1100 <connect@plt>
test   %rax,%rax
jns    12e0 <main+0xf0>
lea    0xd72(%rip),%rdi
call   10c0 <error@plt>
lea    0xd77(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r15,%rdi
mov    $0x400,%esi
call   10d0 <bzero@plt>
mov    0x2cde(%rip),%rax
mov    (%rax),%edx
mov    %r15,%rdi
mov    $0x400,%esi
call   1080 <fgets@plt>
mov    %r15,%rdi
call   1040 <strlen@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    %eax,%edx
call   1030 <write@plt>
test   %eax,%eax
jns    1336 <main+0x146>
lea    0xd40(%rip),%rdi
call   10c0 <error@plt>
mov    %r15,%rdi
mov    $0x400,%esi
call   10d0 <bzero@plt>
mov    %r14d,%edi
mov    %r15,%rsi
mov    $0x400,%edx
call   1070 <read@plt>
mov    %eax,%ebp
test   %eax,%eax
mov    %r13,%rbx
jns    1220 <main+0x30>
lea    0xd22(%rip),%rdi
call   10c0 <error@plt>
jmp    1220 <main+0x30>
mov    0x2c58(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%rdx
lea    0xc7c(%rip),%rsi
jmp    1399 <main+0x1a9>
mov    0x2c43(%rip),%rax
mov    (%rax),%edi
lea    0xc9c(%rip),%rsi
mov    %r13,%rdx
call   10a0 <fprintf@plt>
xor    %edi,%edi
call   10f0 <exit@plt>

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
@.str = [5 x i8] c"quit\00"
@stderr = global i32 0
@.str.1 = [29 x i8] c"usage: %s <hostname> <port>\0A\00"
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.2 = [21 x i8] c"ERROR opening socket\00"
@.str.3 = [27 x i8] c"ERROR, no such host as %s\0A\00"
@.str.4 = [17 x i8] c"ERROR connecting\00"
@.str.5 = [19 x i8] c"Please enter msg: \00"
@stdin = global i32 0
@.str.6 = [24 x i8] c"ERROR writing to socket\00"
@.str.7 = [26 x i8] c"ERROR reading from socket\00"
@.str.8 = [29 x i8] c"client received %d bytes: %s\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca %struct.sockaddr_in
%10 = alloca %struct.hostent*
%11 = alloca i8*
%12 = alloca [1024 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
br label %13
13: ; preds = %101, %2
%14 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%15 = icmp ne i8* %14, getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0)
br i1 %15, label %16, label %105
16: ; preds = %13
%17 = load i32, i32* %4
%18 = icmp ne i32 %17, 3
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = load i32, i32* @stderr
%21 = load i8**, i8*** %5
%22 = getelementptr inbounds i8*, i8** %21, i64 0
%23 = load i8*, i8** %22
%24 = call i32 @fprintf(i32 %20, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.1, i64 0, i64 0), i8* %23)
%25 = call i32 @exit(i32 0)
unreachable
26: ; preds = %16
%27 = load i8**, i8*** %5
%28 = getelementptr inbounds i8*, i8** %27, i64 1
%29 = load i8*, i8** %28
store i8* %29, i8** %11
%30 = load i8**, i8*** %5
%31 = getelementptr inbounds i8*, i8** %30, i64 2
%32 = load i8*, i8** %31
%33 = call i32 @atoi(i8* %32)
store i32 %33, i32* %7
%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* %6
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %26
%40 = call i32 @error(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
br label %41
41: ; preds = %39, %26
%42 = load i8*, i8** %11
%43 = call %struct.hostent* @gethostbyname(i8* %42)
store %struct.hostent* %43, %struct.hostent** %10
%44 = load %struct.hostent*, %struct.hostent** %10
%45 = icmp eq %struct.hostent* %44, null
br i1 %45, label %46, label %51
46: ; preds = %41
%47 = load i32, i32* @stderr
%48 = load i8*, i8** %11
%49 = call i32 @fprintf(i32 %47, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i8* %48)
%50 = call i32 @exit(i32 0)
unreachable
51: ; preds = %41
%52 = bitcast %struct.sockaddr_in* %9 to i8*
%53 = call i32 @bzero(i8* %52, i32 12)
%54 = load i32, i32* @AF_INET
%55 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %9, i32 0, i32 2
store i32 %54, i32* %55
%56 = load %struct.hostent*, %struct.hostent** %10
%57 = getelementptr inbounds %struct.hostent, %struct.hostent* %56, i32 0, i32 1
%58 = load i64, i64* %57
%59 = inttoptr i64 %58 to i8*
%60 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %9, i32 0, i32 1
%61 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %60, i32 0, i32 0
%62 = bitcast i32* %61 to i8*
%63 = load %struct.hostent*, %struct.hostent** %10
%64 = getelementptr inbounds %struct.hostent, %struct.hostent* %63, i32 0, i32 0
%65 = load i32, i32* %64
%66 = call i32 @bcopy(i8* %59, i8* %62, i32 %65)
%67 = load i32, i32* %7
%68 = call i32 @htons(i32 %67)
%69 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %9, i32 0, i32 0
store i32 %68, i32* %69
%70 = load i32, i32* %6
%71 = call i64 @connect(i32 %70, %struct.sockaddr_in* %9, i32 12)
%72 = icmp slt i64 %71, 0
br i1 %72, label %73, label %75
73: ; preds = %51
%74 = call i32 @error(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
br label %75
75: ; preds = %73, %51
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
%77 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%78 = call i32 @bzero(i8* %77, i32 1024)
%79 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%80 = load i32, i32* @stdin
%81 = call i32 @fgets(i8* %79, i32 1024, i32 %80)
%82 = load i32, i32* %6
%83 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%84 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%85 = call i32 @strlen(i8* %84)
%86 = call i32 @write(i32 %82, i8* %83, i32 %85)
store i32 %86, i32* %8
%87 = load i32, i32* %8
%88 = icmp slt i32 %87, 0
br i1 %88, label %89, label %91
89: ; preds = %75
%90 = call i32 @error(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
br label %91
91: ; preds = %89, %75
%92 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%93 = call i32 @bzero(i8* %92, i32 1024)
%94 = load i32, i32* %6
%95 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%96 = call i32 @read(i32 %94, i8* %95, i32 1024)
store i32 %96, i32* %8
%97 = load i32, i32* %8
%98 = icmp slt i32 %97, 0
br i1 %98, label %99, label %101
99: ; preds = %91
%100 = call i32 @error(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0))
br label %101
101: ; preds = %99, %91
%102 = load i32, i32* %8
%103 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0), i32 %102, i8* %103)
br label %13
105: ; preds = %13
%106 = load i32, i32* %6
%107 = call i32 @close(i32 %106)
ret i32 0
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
@stderr = global i32 0
@.str.1 = [29 x i8] c"usage: %s <hostname> <port>\0A\00"
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.2 = [21 x i8] c"ERROR opening socket\00"
@.str.3 = [27 x i8] c"ERROR, no such host as %s\0A\00"
@.str.4 = [17 x i8] c"ERROR connecting\00"
@.str.5 = [19 x i8] c"Please enter msg: \00"
@stdin = global i32 0
@.str.6 = [24 x i8] c"ERROR writing to socket\00"
@.str.7 = [26 x i8] c"ERROR reading from socket\00"
@.str.8 = [29 x i8] c"client received %d bytes: %s\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.sockaddr_in
%4 = alloca [1024 x i8]
%5 = bitcast %struct.sockaddr_in* %3 to i8*
%6 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%7 = icmp eq i32 %0, 3
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = getelementptr inbounds i8*, i8** %1, i64 1
%10 = getelementptr inbounds i8*, i8** %1, i64 2
%11 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 2
%12 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 1, i32 0
%13 = bitcast i32* %12 to i8*
%14 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 0
br label %20
15: ; preds = %2
%16 = load i32, i32* @stderr
%17 = load i8*, i8** %1
%18 = call i32 @fprintf(i32 %16, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.1, i64 0, i64 0), i8* %17)
%19 = call i32 @exit(i32 0)
unreachable
20: ; preds = %66, %8
%21 = load i8*, i8** %9
%22 = load i8*, i8** %10
%23 = call i32 @atoi(i8* %22)
%24 = load i32, i32* @AF_INET
%25 = load i32, i32* @SOCK_STREAM
%26 = call i32 @socket(i32 %24, i32 %25, i32 0)
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %20
%29 = call i32 @error(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
br label %30
30: ; preds = %28, %20
%31 = call %struct.hostent* @gethostbyname(i8* %21)
%32 = icmp eq %struct.hostent* %31, null
br i1 %32, label %33, label %37
33: ; preds = %30
%34 = load i32, i32* @stderr
%35 = call i32 @fprintf(i32 %34, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i8* %21)
%36 = call i32 @exit(i32 0)
unreachable
37: ; preds = %30
%38 = call i32 @bzero(i8* %5, i32 12)
%39 = load i32, i32* @AF_INET
store i32 %39, i32* %11
%40 = getelementptr inbounds %struct.hostent, %struct.hostent* %31, i64 0, i32 1
%41 = load i64, i64* %40
%42 = inttoptr i64 %41 to i8*
%43 = getelementptr inbounds %struct.hostent, %struct.hostent* %31, i64 0, i32 0
%44 = load i32, i32* %43
%45 = call i32 @htons(i32 %23)
store i32 %45, i32* %14
%46 = call i64 @connect(i32 %26, %struct.sockaddr_in* %3, i32 12)
%47 = icmp slt i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %37
%49 = call i32 @error(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
br label %50
50: ; preds = %48, %37
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
%52 = call i32 @bzero(i8* %6, i32 1024)
%53 = load i32, i32* @stdin
%54 = call i32 @fgets(i8* %6, i32 1024, i32 %53)
%55 = call i32 @strlen(i8* %6)
%56 = call i32 @write(i32 %26, i8* %6, i32 %55)
%57 = icmp slt i32 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %50
%59 = call i32 @error(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
br label %60
60: ; preds = %58, %50
%61 = call i32 @bzero(i8* %6, i32 1024)
%62 = call i32 @read(i32 %26, i8* %6, i32 1024)
%63 = icmp slt i32 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %60
%65 = call i32 @error(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0))
br label %66
66: ; preds = %64, %60
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0), i32 %62, i8* %6)
br label %20
}