#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 in_addr {
  int dummy;
};
struct sockaddr_in {
  struct in_addr sin_addr;
  int /*<<< orphan*/ sin_port;
  int /*<<< orphan*/ sin_family;
};
typedef int /*<<< orphan*/ sockstr;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ PF_INET;
int /*<<< orphan*/ SOCK_STREAM;
int /*<<< orphan*/ close(int);
int connect(int, struct sockaddr_in *, int);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ htons(int);
int /*<<< orphan*/ inet_aton(char *, struct in_addr *);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ putc(char, int /*<<< orphan*/);
int read(int, char *, int);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ stdout;
scalar_t__ strncmp(char *, char *, int);
int /*<<< orphan*/ write(int, char *, int);
main() {
  int sock, h, len, i;
  char c;
  char kbuf[254] = "";
  char fbuf[2048] = "";
  char buffer[2048];
  struct sockaddr_in sockstr;
  struct in_addr adresse;
  sock = socket(PF_INET, SOCK_STREAM, 0);
  if (sock == -1) {
    perror("SOCKET");
    exit(1);
  }
  sockstr.sin_family = AF_INET;
  sockstr.sin_port = htons(5990);
  if (!inet_aton("127.0.0.1", &adresse)) {
    perror("INET_ATON");
    exit(1);
  }
  sockstr.sin_addr = adresse;
  if (connect(sock, &sockstr, sizeof(sockstr)) == -1) {
    perror("CONNECT");
    exit(1);
  }
  printf("Connexion établie.\n");
  printf("(\"exit\" pour sortir)\n");
  while (1) {
    printf("$ ");
    fgets(kbuf, 254, stdin);
    if (strncmp(kbuf, "exit", 4) == 0)
      break;
    write(sock, kbuf, 254);
    len = read(sock, fbuf, 2048);
    fbuf[len] = '\0';
    i = 0;
    while (((buffer[i] = fbuf[i]) != '\0') && (i < 2048)) {
      putc(buffer[i], stdout);
      i++;
    }
    fbuf[0] = '\0';
  }
  write(sock, "exit", 254);
  close(sock);
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1140,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x120(%rbp),%rdi
xor    %esi,%esi
mov    $0xfe,%edx
call   1070 <memset@plt>
lea    -0x920(%rbp),%rdi
xor    %esi,%esi
mov    $0x800,%edx
call   1070 <memset@plt>
mov    0x2da9(%rip),%rax
mov    (%rax),%edi
mov    0x2da8(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1100 <socket@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0xffffffff,-0x8(%rbp)
jne    1254 <main+0x74>
lea    0xdbb(%rip),%rdi
call   10d0 <perror@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
mov    0x2d8d(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x1128(%rbp)
mov    $0x1766,%edi
call   1050 <htons@plt>
mov    %eax,-0x112c(%rbp)
lea    0xd8d(%rip),%rdi
lea    -0x1138(%rbp),%rsi
call   10c0 <inet_aton@plt>
cmp    $0x0,%eax
jne    12a5 <main+0xc5>
lea    0xd7b(%rip),%rdi
call   10d0 <perror@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
mov    -0x1138(%rbp),%eax
mov    %eax,-0x1130(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x1130(%rbp),%rsi
mov    $0xc,%edx
call   10f0 <connect@plt>
cmp    $0xffffffff,%eax
jne    12e4 <main+0x104>
lea    0xd46(%rip),%rdi
call   10d0 <perror@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
lea    0xd38(%rip),%rdi
call   1060 <printf@plt>
lea    0xd41(%rip),%rdi
call   1060 <printf@plt>
lea    0xd4b(%rip),%rdi
call   1060 <printf@plt>
lea    -0x120(%rbp),%rdi
mov    0x2cca(%rip),%rax
mov    (%rax),%edx
mov    $0xfe,%esi
call   10a0 <fgets@plt>
lea    -0x120(%rbp),%rdi
lea    0xd21(%rip),%rsi
mov    $0x4,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1349 <main+0x169>
jmp    140a <main+0x22a>
mov    -0x8(%rbp),%edi
lea    -0x120(%rbp),%rsi
mov    $0xfe,%edx
call   1040 <write@plt>
mov    -0x8(%rbp),%edi
lea    -0x920(%rbp),%rsi
mov    $0x800,%edx
call   1090 <read@plt>
mov    %eax,-0x10(%rbp)
movslq -0x10(%rbp),%rax
movb   $0x0,-0x920(%rbp,%rax,1)
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
mov    -0x920(%rbp,%rax,1),%al
movslq -0x14(%rbp),%rcx
mov    %al,-0x1120(%rbp,%rcx,1)
movsbl %al,%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1139(%rbp)
je     13c1 <main+0x1e1>
cmpl   $0x800,-0x14(%rbp)
setl   %al
mov    %al,-0x1139(%rbp)
mov    -0x1139(%rbp),%al
test   $0x1,%al
jne    13d4 <main+0x1f4>
jmp    13fe <main+0x21e>
movslq -0x14(%rbp),%rax
mov    -0x1120(%rbp,%rax,1),%al
mov    0x2bda(%rip),%rcx
mov    (%rcx),%esi
movsbl %al,%edi
call   10b0 <putc@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1387 <main+0x1a7>
movb   $0x0,-0x920(%rbp)
jmp    12fc <main+0x11c>
mov    -0x8(%rbp),%edi
lea    0xc3d(%rip),%rsi
mov    $0xfe,%edx
call   1040 <write@plt>
mov    -0x8(%rbp),%edi
call   1080 <close@plt>
xor    %edi,%edi
call   10e0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x928,%rsp
xorps  %xmm0,%xmm0
movups %xmm0,0x10e(%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)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
lea    0x120(%rsp),%rdi
mov    $0x800,%edx
xor    %esi,%esi
call   1080 <memset@plt>
mov    0x2d3b(%rip),%rax
mov    (%rax),%edi
mov    0x2d3a(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1110 <socket@plt>
cmp    $0xffffffff,%eax
jne    12ad <main+0xbd>
lea    0xd55(%rip),%rdi
jmp    130d <main+0x11d>
mov    %eax,%ebp
mov    0x2d32(%rip),%rax
mov    (%rax),%eax
mov    %eax,0x18(%rsp)
mov    $0x1766,%edi
call   1060 <htons@plt>
mov    %eax,0x14(%rsp)
lea    0xd36(%rip),%rdi
lea    0x8(%rsp),%rsi
call   10d0 <inet_aton@plt>
test   %eax,%eax
jne    12e8 <main+0xf8>
lea    0xd2b(%rip),%rdi
jmp    130d <main+0x11d>
mov    0x8(%rsp),%eax
mov    %eax,0x10(%rsp)
lea    0x10(%rsp),%rsi
mov    %ebp,%edi
mov    $0xc,%edx
call   1100 <connect@plt>
cmp    $0xffffffff,%eax
jne    131c <main+0x12c>
lea    0xd0e(%rip),%rdi
call   10e0 <perror@plt>
mov    $0x1,%edi
call   10f0 <exit@plt>
lea    0xd08(%rip),%rdi
call   1040 <puts@plt>
lea    0xd10(%rip),%rdi
call   1040 <puts@plt>
lea    0xce8(%rip),%rdi
call   1070 <printf@plt>
mov    0x2c99(%rip),%rax
mov    (%rax),%edx
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
mov    $0xfe,%esi
call   10b0 <fgets@plt>
lea    0xcc4(%rip),%rsi
mov    %rbx,%rdi
mov    $0x4,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
jne    1395 <main+0x1a5>
lea    0xcab(%rip),%rsi
mov    %ebp,%edi
mov    $0xfe,%edx
call   1050 <write@plt>
mov    %ebp,%edi
call   1090 <close@plt>
xor    %edi,%edi
call   10f0 <exit@plt>
lea    0x20(%rsp),%rbx
lea    0xc82(%rip),%r15
lea    0xc7e(%rip),%r12
mov    0x2c11(%rip),%r13
jmp    13ff <main+0x20f>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movb   $0x0,0x120(%rsp)
mov    %r15,%rdi
call   1070 <printf@plt>
mov    0x2c09(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
mov    $0xfe,%esi
call   10b0 <fgets@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
mov    $0x4,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1374 <main+0x184>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    $0xfe,%edx
call   1050 <write@plt>
mov    %ebp,%edi
lea    0x120(%rsp),%rsi
mov    $0x800,%edx
call   10a0 <read@plt>
cltq
movb   $0x0,0x120(%rsp,%rax,1)
mov    0x120(%rsp),%al
test   %al,%al
je     13c0 <main+0x1d0>
xor    %r14d,%r14d
nopw   0x0(%rax,%rax,1)
mov    0x0(%r13),%esi
movsbl %al,%edi
call   10c0 <putc@plt>
movzbl 0x121(%rsp,%r14,1),%eax
test   %al,%al
je     13c0 <main+0x1d0>
lea    0x1(%r14),%rcx
cmp    $0x7ff,%r14
mov    %rcx,%r14
jb     1440 <main+0x250>
jmp    13c0 <main+0x1d0>

LLVM IR (-O0):
%struct.sockaddr_in = type { %struct.in_addr, i32, i32 }
%struct.in_addr = type { i32 }
@PF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [7 x i8] c"SOCKET\00"
@AF_INET = global i32 0
@.str.1 = [10 x i8] c"127.0.0.1\00"
@.str.2 = [10 x i8] c"INET_ATON\00"
@.str.3 = [8 x i8] c"CONNECT\00"
@.str.4 = [21 x i8] c"Connexion \C3\A9tablie.\0A\00"
@.str.5 = [22 x i8] c"(\22exit\22 pour sortir)\0A\00"
@.str.6 = [3 x i8] c"$ \00"
@stdin = global i32 0
@.str.7 = [5 x i8] c"exit\00"
@stdout = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i8
%7 = alloca [254 x i8]
%8 = alloca [2048 x i8]
%9 = alloca [2048 x i8]
%10 = alloca %struct.sockaddr_in
%11 = alloca %struct.in_addr
store i32 0, i32* %1
%12 = bitcast [254 x i8]* %7 to i8*
%13 = bitcast [2048 x i8]* %8 to i8*
%14 = load i32, i32* @PF_INET
%15 = load i32, i32* @SOCK_STREAM
%16 = call i32 @socket(i32 %14, i32 %15, i32 0)
store i32 %16, i32* %2
%17 = load i32, i32* %2
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %22
19: ; preds = %0
%20 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%21 = call i32 @exit(i32 1)
unreachable
22: ; preds = %0
%23 = load i32, i32* @AF_INET
%24 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %10, i32 0, i32 2
store i32 %23, i32* %24
%25 = call i32 @htons(i32 5990)
%26 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %10, i32 0, i32 1
store i32 %25, i32* %26
%27 = call i32 @inet_aton(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), %struct.in_addr* %11)
%28 = icmp ne i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %22
%30 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%31 = call i32 @exit(i32 1)
unreachable
32: ; preds = %22
%33 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %10, i32 0, i32 0
%34 = bitcast %struct.in_addr* %33 to i8*
%35 = bitcast %struct.in_addr* %11 to i8*
%36 = load i32, i32* %2
%37 = call i32 @connect(i32 %36, %struct.sockaddr_in* %10, i32 12)
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %42
39: ; preds = %32
%40 = call i32 @perror(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%41 = call i32 @exit(i32 1)
unreachable
42: ; preds = %32
%43 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%44 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
br label %45
45: ; preds = %42, %88
%46 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%47 = getelementptr inbounds [254 x i8], [254 x i8]* %7, i64 0, i64 0
%48 = load i32, i32* @stdin
%49 = call i32 @fgets(i8* %47, i32 254, i32 %48)
%50 = getelementptr inbounds [254 x i8], [254 x i8]* %7, i64 0, i64 0
%51 = call i64 @strncmp(i8* %50, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 4)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %45
br label %90
54: ; preds = %45
%55 = load i32, i32* %2
%56 = getelementptr inbounds [254 x i8], [254 x i8]* %7, i64 0, i64 0
%57 = call i32 @write(i32 %55, i8* %56, i32 254)
%58 = load i32, i32* %2
%59 = getelementptr inbounds [2048 x i8], [2048 x i8]* %8, i64 0, i64 0
%60 = call i32 @read(i32 %58, i8* %59, i32 2048)
store i32 %60, i32* %4
%61 = load i32, i32* %4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [2048 x i8], [2048 x i8]* %8, i64 0, i64 %62
store i8 0, i8* %63
store i32 0, i32* %5
br label %64
64: ; preds = %79, %54
%65 = load i32, i32* %5
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [2048 x i8], [2048 x i8]* %8, i64 0, i64 %66
%68 = load i8, i8* %67
%69 = load i32, i32* %5
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [2048 x i8], [2048 x i8]* %9, i64 0, i64 %70
store i8 %68, i8* %71
%72 = sext i8 %68 to i32
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %64
%75 = load i32, i32* %5
%76 = icmp slt i32 %75, 2048
br label %77
77: ; preds = %74, %64
%78 = phi i1 [ false, %64 ], [ %76, %74 ]
br i1 %78, label %79, label %88
79: ; preds = %77
%80 = load i32, i32* %5
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [2048 x i8], [2048 x i8]* %9, i64 0, i64 %81
%83 = load i8, i8* %82
%84 = load i32, i32* @stdout
%85 = call i32 @putc(i8 signext %83, i32 %84)
%86 = load i32, i32* %5
%87 = add nsw i32 %86, 1
store i32 %87, i32* %5
br label %64
88: ; preds = %77
%89 = getelementptr inbounds [2048 x i8], [2048 x i8]* %8, i64 0, i64 0
store i8 0, i8* %89
br label %45
90: ; preds = %53
%91 = load i32, i32* %2
%92 = call i32 @write(i32 %91, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 254)
%93 = load i32, i32* %2
%94 = call i32 @close(i32 %93)
%95 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
%struct.sockaddr_in = type { %struct.in_addr, i32, i32 }
%struct.in_addr = type { i32 }
@PF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [7 x i8] c"SOCKET\00"
@AF_INET = global i32 0
@.str.1 = [10 x i8] c"127.0.0.1\00"
@.str.2 = [10 x i8] c"INET_ATON\00"
@.str.3 = [8 x i8] c"CONNECT\00"
@.str.6 = [3 x i8] c"$ \00"
@stdin = global i32 0
@.str.7 = [5 x i8] c"exit\00"
@stdout = global i32 0
@str = [20 x i8] c"Connexion \C3\A9tablie.\00"
@str.8 = [21 x i8] c"(\22exit\22 pour sortir)\00"
define i32 @main() {
%1 = alloca [254 x i8]
%2 = alloca [2048 x i8]
%3 = alloca %struct.sockaddr_in
%4 = alloca %struct.in_addr
%5 = getelementptr inbounds [254 x i8], [254 x i8]* %1, i64 0, i64 0
%6 = getelementptr inbounds [2048 x i8], [2048 x i8]* %2, i64 0, i64 0
%7 = bitcast %struct.sockaddr_in* %3 to i8*
%8 = bitcast %struct.in_addr* %4 to i8*
%9 = load i32, i32* @PF_INET
%10 = load i32, i32* @SOCK_STREAM
%11 = tail call i32 @socket(i32 %9, i32 %10, i32 0)
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = tail call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%15 = tail call i32 @exit(i32 1)
unreachable
16: ; preds = %0
%17 = load i32, i32* @AF_INET
%18 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 2
store i32 %17, i32* %18
%19 = tail call i32 @htons(i32 5990)
%20 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 1
store i32 %19, i32* %20
%21 = call i32 @inet_aton(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), %struct.in_addr* %4)
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %16
%24 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%25 = call i32 @exit(i32 1)
unreachable
26: ; preds = %16
%27 = getelementptr inbounds %struct.in_addr, %struct.in_addr* %4, i64 0, i32 0
%28 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 0, i32 0
%29 = load i32, i32* %27
store i32 %29, i32* %28
%30 = call i32 @connect(i32 %11, %struct.sockaddr_in* %3, i32 12)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %26
%33 = call i32 @perror(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%34 = call i32 @exit(i32 1)
unreachable
35: ; preds = %26
%36 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str, i64 0, i64 0))
%37 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.8, i64 0, i64 0))
%38 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%39 = load i32, i32* @stdin
%40 = call i32 @fgets(i8* %5, i32 254, i32 %39)
%41 = call i64 @strncmp(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 4)
%42 = icmp eq i64 %41, 0
br i1 %42, label %67, label %43
43: ; preds = %35, %61
%44 = call i32 @write(i32 %11, i8* %5, i32 254)
%45 = call i32 @read(i32 %11, i8* %6, i32 2048)
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [2048 x i8], [2048 x i8]* %2, i64 0, i64 %46
store i8 0, i8* %47
%48 = load i8, i8* %6
%49 = icmp eq i8 %48, 0
br i1 %49, label %61, label %50
50: ; preds = %43, %50
%51 = phi i64 [ %55, %50 ], [ 0, %43 ]
%52 = phi i8 [ %57, %50 ], [ %48, %43 ]
%53 = load i32, i32* @stdout
%54 = call i32 @putc(i8 signext %52, i32 %53)
%55 = add nuw nsw i64 %51, 1
%56 = getelementptr inbounds [2048 x i8], [2048 x i8]* %2, i64 0, i64 %55
%57 = load i8, i8* %56
%58 = icmp ne i8 %57, 0
%59 = icmp ult i64 %51, 2047
%60 = select i1 %58, i1 %59, i1 false
br i1 %60, label %50, label %61
61: ; preds = %50, %43
store i8 0, i8* %6
%62 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%63 = load i32, i32* @stdin
%64 = call i32 @fgets(i8* %5, i32 254, i32 %63)
%65 = call i64 @strncmp(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 4)
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %43
67: ; preds = %61, %35
%68 = call i32 @write(i32 %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 254)
%69 = call i32 @close(i32 %11)
%70 = call i32 @exit(i32 0)
unreachable
}