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

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ SOCK_STREAM;
int /*<<< orphan*/ bcopy(char *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ bzero(char *, int);
int /*<<< orphan*/ close(int);
scalar_t__ connect(int, struct sockaddr *, int);
int /*<<< orphan*/ error(char *);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
struct hostent *gethostbyname(char *);
int /*<<< orphan*/ htons(int);
int /*<<< orphan*/ printf(char *);
double shubert(double, double);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ sprintf(char *, char *, double);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strlen(char *);
int write(int, char *, int /*<<< orphan*/);
int main() {
  double x1, x2, y, min = 0;
  int sockfd, portno, n;
  struct sockaddr_in serv_addr;
  struct hostent *server;
  char buffer[256];
  portno = 8080;
  sockfd = socket(AF_INET, SOCK_STREAM, 0);
  if (sockfd < 0)
    error("ERROR opening socket");
  server = gethostbyname("127.0.0.1");
  if (server == NULL) {
    fprintf(stderr, "ERROR, no such host\n");
    exit(0);
  }
  bzero((char *)&serv_addr, sizeof(serv_addr));
  serv_addr.sin_family = AF_INET;
  bcopy((char *)server->h_addr, (char *)&serv_addr.sin_addr.s_addr,
        server->h_length);
  serv_addr.sin_port = htons(portno);
  if (connect(sockfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) < 0)
    error("ERROR connecting");
  for (x1 = 0; x1 <= 2; x1 += 0.5) {
    for (x2 = -2; x2 <= 2; x2 += 0.5) {
      y = shubert(x1, x2);
      if (y < min)
        min = y;
    }
  }
  sprintf(buffer, "%.5f", min);
  n = write(sockfd, buffer, strlen(buffer));
  if (n < 0)
    error("ERROR writing to socket");
  printf("Sent my min value");
  close(sockfd);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x160,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x28(%rbp)
movl   $0x1f90,-0x30(%rbp)
mov    0x2dd0(%rip),%rax
mov    (%rax),%edi
mov    0x2daf(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1110 <socket@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jge    1243 <main+0x53>
lea    0xdda(%rip),%rdi
call   10b0 <error@plt>
lea    0xde3(%rip),%rdi
call   1080 <gethostbyname@plt>
mov    %rax,-0x48(%rbp)
cmpq   $0x0,-0x48(%rbp)
jne    127a <main+0x8a>
mov    0x2d73(%rip),%rax
mov    (%rax),%edi
lea    0xdc9(%rip),%rsi
call   1090 <fprintf@plt>
xor    %edi,%edi
call   10e0 <exit@plt>
lea    -0x40(%rbp),%rdi
mov    $0xc,%esi
call   10c0 <bzero@plt>
mov    0x2d59(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x38(%rbp)
mov    -0x48(%rbp),%rax
mov    0x8(%rax),%rdi
lea    -0x40(%rbp),%rsi
add    $0x4,%rsi
mov    -0x48(%rbp),%rax
mov    (%rax),%edx
call   10a0 <bcopy@plt>
mov    -0x30(%rbp),%edi
call   1050 <htons@plt>
mov    %eax,-0x40(%rbp)
mov    -0x2c(%rbp),%edi
lea    -0x40(%rbp),%rsi
mov    $0xc,%edx
call   10f0 <connect@plt>
cmp    $0x0,%rax
jge    12e1 <main+0xf1>
lea    0xd70(%rip),%rdi
call   10b0 <error@plt>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xd0f(%rip),%xmm0
ucomisd -0x10(%rbp),%xmm0
jb     1386 <main+0x196>
movsd  0xd04(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xcef(%rip),%xmm0
ucomisd -0x18(%rbp),%xmm0
jb     136a <main+0x17a>
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
call   1100 <shubert@plt>
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    134e <main+0x15e>
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
jmp    1353 <main+0x163>
movsd  0xcb5(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
jmp    1309 <main+0x119>
jmp    136f <main+0x17f>
movsd  0xc99(%rip),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
jmp    12e9 <main+0xf9>
lea    -0x150(%rbp),%rdi
movsd  -0x28(%rbp),%xmm0
lea    0xcc4(%rip),%rsi
call   10d0 <sprintf@plt>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x15c(%rbp)
lea    -0x150(%rbp),%rax
mov    %rax,-0x158(%rbp)
lea    -0x150(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x15c(%rbp),%edi
mov    -0x158(%rbp),%rsi
mov    %eax,%edx
call   1030 <write@plt>
mov    %eax,-0x34(%rbp)
cmpl   $0x0,-0x34(%rbp)
jge    13ee <main+0x1fe>
lea    0xc79(%rip),%rdi
call   10b0 <error@plt>
lea    0xc85(%rip),%rdi
call   1060 <printf@plt>
mov    -0x2c(%rbp),%edi
call   1070 <close@plt>
xor    %eax,%eax
add    $0x160,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x128,%rsp
mov    0x2de4(%rip),%r15
mov    (%r15),%edi
mov    0x2dc2(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1110 <socket@plt>
mov    %eax,%r14d
test   %eax,%eax
jns    122a <main+0x3a>
lea    0xe1b(%rip),%rdi
call   10b0 <error@plt>
lea    0xe24(%rip),%rdi
call   1080 <gethostbyname@plt>
test   %rax,%rax
je     1433 <main+0x243>
mov    %rax,%rbx
lea    0x10(%rsp),%rbp
mov    %rbp,%rdi
mov    $0xc,%esi
call   10c0 <bzero@plt>
mov    (%r15),%eax
mov    %eax,0x18(%rsp)
mov    0x8(%rbx),%rsi
lea    0x14(%rsp),%rdi
mov    (%rbx),%edx
call   10a0 <memmove@plt>
mov    $0x1f90,%edi
call   1050 <htons@plt>
mov    %eax,0x10(%rsp)
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0xc,%edx
call   10f0 <connect@plt>
test   %rax,%rax
jns    129a <main+0xaa>
lea    0xddf(%rip),%rdi
call   10b0 <error@plt>
xorpd  %xmm1,%xmm1
xorpd  %xmm0,%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  %xmm0,(%rsp)
movsd  %xmm1,0x8(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xd37(%rip),%xmm1
call   1100 <shubert@plt>
minsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xd22(%rip),%xmm1
call   1100 <shubert@plt>
minsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xd0d(%rip),%xmm1
call   1100 <shubert@plt>
minsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xcf8(%rip),%xmm1
call   1100 <shubert@plt>
minsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
xorps  %xmm1,%xmm1
movsd  0x8(%rsp),%xmm0
call   1100 <shubert@plt>
minsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xccb(%rip),%xmm1
call   1100 <shubert@plt>
minsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xcb6(%rip),%xmm1
call   1100 <shubert@plt>
minsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xca1(%rip),%xmm1
call   1100 <shubert@plt>
minsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xc8c(%rip),%xmm1
call   1100 <shubert@plt>
movsd  0x8(%rsp),%xmm1
minsd  (%rsp),%xmm0
addsd  0xc5c(%rip),%xmm1
movsd  0xc6c(%rip),%xmm2
ucomisd %xmm1,%xmm2
jae    12b0 <main+0xc0>
lea    0xca8(%rip),%rsi
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
call   10d0 <sprintf@plt>
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <write@plt>
test   %eax,%eax
jns    140f <main+0x21f>
lea    0xc80(%rip),%rdi
call   10b0 <error@plt>
lea    0xc8c(%rip),%rdi
call   1060 <printf@plt>
mov    %r14d,%edi
call   1070 <close@plt>
xor    %eax,%eax
add    $0x128,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2b9e(%rip),%rax
mov    (%rax),%edi
lea    0xc1c(%rip),%rsi
call   1090 <fprintf@plt>
xor    %edi,%edi
call   10e0 <exit@plt>

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
%struct.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [21 x i8] c"ERROR opening socket\00"
@.str.1 = [10 x i8] c"127.0.0.1\00"
@stderr = global i32 0
@.str.2 = [21 x i8] c"ERROR, no such host\0A\00"
@.str.3 = [17 x i8] c"ERROR connecting\00"
@.str.4 = [5 x i8] c"%.5f\00"
@.str.5 = [24 x i8] c"ERROR writing to socket\00"
@.str.6 = [18 x i8] c"Sent my min value\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca %struct.sockaddr_in
%10 = alloca %struct.hostent*
%11 = alloca [256 x i8]
store i32 0, i32* %1
store double 0.000000e+00, double* %5
store i32 8080, i32* %7
%12 = load i32, i32* @AF_INET
%13 = load i32, i32* @SOCK_STREAM
%14 = call i32 @socket(i32 %12, i32 %13, i32 0)
store i32 %14, i32* %6
%15 = load i32, i32* %6
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %0
%18 = call i32 @error(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
br label %19
19: ; preds = %17, %0
%20 = call %struct.hostent* @gethostbyname(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
store %struct.hostent* %20, %struct.hostent** %10
%21 = load %struct.hostent*, %struct.hostent** %10
%22 = icmp eq %struct.hostent* %21, null
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = load i32, i32* @stderr
%25 = call i32 @fprintf(i32 %24, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%26 = call i32 @exit(i32 0)
unreachable
27: ; preds = %19
%28 = bitcast %struct.sockaddr_in* %9 to i8*
%29 = call i32 @bzero(i8* %28, i32 12)
%30 = load i32, i32* @AF_INET
%31 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %9, i32 0, i32 2
store i32 %30, i32* %31
%32 = load %struct.hostent*, %struct.hostent** %10
%33 = getelementptr inbounds %struct.hostent, %struct.hostent* %32, i32 0, i32 1
%34 = load i64, i64* %33
%35 = inttoptr i64 %34 to i8*
%36 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %9, i32 0, i32 1
%37 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %36, i32 0, i32 0
%38 = bitcast i32* %37 to i8*
%39 = load %struct.hostent*, %struct.hostent** %10
%40 = getelementptr inbounds %struct.hostent, %struct.hostent* %39, i32 0, i32 0
%41 = load i32, i32* %40
%42 = call i32 @bcopy(i8* %35, i8* %38, i32 %41)
%43 = load i32, i32* %7
%44 = call i32 @htons(i32 %43)
%45 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %9, i32 0, i32 0
store i32 %44, i32* %45
%46 = load i32, i32* %6
%47 = bitcast %struct.sockaddr_in* %9 to %struct.sockaddr*
%48 = call i64 @connect(i32 %46, %struct.sockaddr* %47, i32 12)
%49 = icmp slt i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %27
%51 = call i32 @error(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
br label %52
52: ; preds = %50, %27
store double 0.000000e+00, double* %2
br label %53
53: ; preds = %74, %52
%54 = load double, double* %2
%55 = fcmp ole double %54, 2.000000e+00
br i1 %55, label %56, label %77
56: ; preds = %53
store double -2.000000e+00, double* %3
br label %57
57: ; preds = %70, %56
%58 = load double, double* %3
%59 = fcmp ole double %58, 2.000000e+00
br i1 %59, label %60, label %73
60: ; preds = %57
%61 = load double, double* %2
%62 = load double, double* %3
%63 = call double @shubert(double %61, double %62)
store double %63, double* %4
%64 = load double, double* %4
%65 = load double, double* %5
%66 = fcmp olt double %64, %65
br i1 %66, label %67, label %69
67: ; preds = %60
%68 = load double, double* %4
store double %68, double* %5
br label %69
69: ; preds = %67, %60
br label %70
70: ; preds = %69
%71 = load double, double* %3
%72 = fadd double %71, 5.000000e-01
store double %72, double* %3
br label %57
73: ; preds = %57
br label %74
74: ; preds = %73
%75 = load double, double* %2
%76 = fadd double %75, 5.000000e-01
store double %76, double* %2
br label %53
77: ; preds = %53
%78 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%79 = load double, double* %5
%80 = call i32 @sprintf(i8* %78, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), double %79)
%81 = load i32, i32* %6
%82 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%83 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%84 = call i32 @strlen(i8* %83)
%85 = call i32 @write(i32 %81, i8* %82, i32 %84)
store i32 %85, i32* %8
%86 = load i32, i32* %8
%87 = icmp slt i32 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %77
%89 = call i32 @error(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.5, i64 0, i64 0))
br label %90
90: ; preds = %88, %77
%91 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
%92 = load i32, i32* %6
%93 = call i32 @close(i32 %92)
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 }
%struct.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [21 x i8] c"ERROR opening socket\00"
@.str.1 = [10 x i8] c"127.0.0.1\00"
@stderr = global i32 0
@.str.2 = [21 x i8] c"ERROR, no such host\0A\00"
@.str.3 = [17 x i8] c"ERROR connecting\00"
@.str.4 = [5 x i8] c"%.5f\00"
@.str.5 = [24 x i8] c"ERROR writing to socket\00"
@.str.6 = [18 x i8] c"Sent my min value\00"
define i32 @main() {
%1 = alloca %struct.sockaddr_in
%2 = alloca [256 x i8]
%3 = bitcast %struct.sockaddr_in* %1 to i8*
%4 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%5 = load i32, i32* @AF_INET
%6 = load i32, i32* @SOCK_STREAM
%7 = tail call i32 @socket(i32 %5, i32 %6, i32 0)
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = tail call i32 @error(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
br label %11
11: ; preds = %9, %0
%12 = tail call %struct.hostent* @gethostbyname(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%13 = icmp eq %struct.hostent* %12, null
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load i32, i32* @stderr
%16 = tail call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%17 = tail call i32 @exit(i32 0)
unreachable
18: ; preds = %11
%19 = call i32 @bzero(i8* %3, i32 12)
%20 = load i32, i32* @AF_INET
%21 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 2
store i32 %20, i32* %21
%22 = getelementptr inbounds %struct.hostent, %struct.hostent* %12, i64 0, i32 1
%23 = load i64, i64* %22
%24 = inttoptr i64 %23 to i8*
%25 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 1, i32 0
%26 = bitcast i32* %25 to i8*
%27 = getelementptr inbounds %struct.hostent, %struct.hostent* %12, i64 0, i32 0
%28 = load i32, i32* %27
%29 = tail call i32 @htons(i32 8080)
%30 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 0
store i32 %29, i32* %30
%31 = bitcast %struct.sockaddr_in* %1 to %struct.sockaddr*
%32 = call i64 @connect(i32 %7, %struct.sockaddr* %31, i32 12)
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %18
%35 = call i32 @error(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
br label %36
36: ; preds = %34, %18
br label %37
37: ; preds = %36, %37
%38 = phi double [ %67, %37 ], [ 0.000000e+00, %36 ]
%39 = phi double [ %66, %37 ], [ 0.000000e+00, %36 ]
%40 = call double @shubert(double %38, double -2.000000e+00)
%41 = fcmp olt double %40, %39
%42 = select i1 %41, double %40, double %39
%43 = call double @shubert(double %38, double -1.500000e+00)
%44 = fcmp olt double %43, %42
%45 = select i1 %44, double %43, double %42
%46 = call double @shubert(double %38, double -1.000000e+00)
%47 = fcmp olt double %46, %45
%48 = select i1 %47, double %46, double %45
%49 = call double @shubert(double %38, double -5.000000e-01)
%50 = fcmp olt double %49, %48
%51 = select i1 %50, double %49, double %48
%52 = call double @shubert(double %38, double 0.000000e+00)
%53 = fcmp olt double %52, %51
%54 = select i1 %53, double %52, double %51
%55 = call double @shubert(double %38, double 5.000000e-01)
%56 = fcmp olt double %55, %54
%57 = select i1 %56, double %55, double %54
%58 = call double @shubert(double %38, double 1.000000e+00)
%59 = fcmp olt double %58, %57
%60 = select i1 %59, double %58, double %57
%61 = call double @shubert(double %38, double 1.500000e+00)
%62 = fcmp olt double %61, %60
%63 = select i1 %62, double %61, double %60
%64 = call double @shubert(double %38, double 2.000000e+00)
%65 = fcmp olt double %64, %63
%66 = select i1 %65, double %64, double %63
%67 = fadd double %38, 5.000000e-01
%68 = fcmp ugt double %67, 2.000000e+00
br i1 %68, label %69, label %37
69: ; preds = %37
%70 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), double %66)
%71 = call i32 @strlen(i8* %4)
%72 = call i32 @write(i32 %7, i8* %4, i32 %71)
%73 = icmp slt i32 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %69
%75 = call i32 @error(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.5, i64 0, i64 0))
br label %76
76: ; preds = %74, %69
%77 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
%78 = call i32 @close(i32 %7)
ret i32 0
}