#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 */
typedef int /*<<< orphan*/ zerb_helb;
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;
};

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ INADDR_ANY;
int /*<<< orphan*/ SIGCHLD;
scalar_t__ SIG_ERR;
int /*<<< orphan*/ SIG_IGN;
int /*<<< orphan*/ SOCK_STREAM;
int accept(int, int /*<<< orphan*/ *, int /*<<< orphan*/ *);
scalar_t__ bind(int, struct sockaddr *, int);
int /*<<< orphan*/ close(int);
int /*<<< orphan*/ exit(int);
int fork();
int /*<<< orphan*/ htonl(int /*<<< orphan*/);
int /*<<< orphan*/ htons(int);
scalar_t__ listen(int, int);
int /*<<< orphan*/ memset(struct sockaddr_in *, int /*<<< orphan*/, int);
int /*<<< orphan*/ perror(char *);
int read(int, char *, int);
scalar_t__ signal(int /*<<< orphan*/, int /*<<< orphan*/);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int write(int, char *, int);
int main() {
  int sock, elkarrizketa;
  int n;
  struct sockaddr_in zerb_helb;
  char buf[1024];
  if ((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
    perror("Errorea socketa sortzean");
    exit(1);
  }
  memset(&zerb_helb, 0, sizeof(zerb_helb));
  zerb_helb.sin_family = AF_INET;
  zerb_helb.sin_addr.s_addr = htonl(INADDR_ANY);
  zerb_helb.sin_port = htons(50004);
  if (bind(sock, (struct sockaddr *)&zerb_helb, sizeof(zerb_helb)) < 0) {
    perror("Errorea socketari helbidea esleitzean");
    exit(1);
  }
  if (listen(sock, 5) < 0) {
    perror("Errorea socketa entzute socket bezala ezartzean");
    exit(1);
  }
  if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {
    perror("Errorea signalen");
    exit(1);
  }
  while (1) {
    if ((elkarrizketa = accept(sock, NULL, NULL)) < 0) {
      perror("Errorea konexioa onartzean");
      exit(1);
    }
    if (fork() == -1) {
      perror("Errorea umea sortzean");
      exit(1);
    } else {
      if (fork() != 0) {
        close(elkarrizketa);
      } else {
        close(sock);
        while ((n = read(elkarrizketa, buf, 1024)) > 0) {
          if (write(elkarrizketa, buf, n) < n) {
            perror("Errorea erantzuna bidaltzean");
            close(elkarrizketa);
            exit(1);
          }
        }
        if (n < 0)
          perror("Errorea mezua irakurtzean");
        close(elkarrizketa);
        exit(0);
      }
    }
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x420,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2def(%rip),%rax
mov    (%rax),%edi
mov    0x2dbe(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1100 <socket@plt>
mov    %eax,-0x8(%rbp)
cmp    $0x0,%eax
jge    122d <main+0x4d>
lea    0xde2(%rip),%rdi
call   10c0 <perror@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
lea    -0x20(%rbp),%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   1060 <memset@plt>
mov    0x2da4(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x18(%rbp)
mov    0x2d90(%rip),%rax
mov    (%rax),%edi
call   1050 <htonl@plt>
mov    %eax,-0x1c(%rbp)
mov    $0xc354,%edi
call   1040 <htons@plt>
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x20(%rbp),%rsi
mov    $0xc,%edx
call   10b0 <bind@plt>
cmp    $0x0,%rax
jge    1298 <main+0xb8>
lea    0xd90(%rip),%rdi
call   10c0 <perror@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
mov    -0x8(%rbp),%edi
mov    $0x5,%esi
call   10a0 <listen@plt>
cmp    $0x0,%rax
jge    12c5 <main+0xe5>
lea    0xd89(%rip),%rdi
call   10c0 <perror@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
mov    0x2d0c(%rip),%rax
mov    (%rax),%edi
mov    0x2cfb(%rip),%rax
mov    (%rax),%esi
call   1090 <signal@plt>
mov    0x2cd5(%rip),%rcx
cmp    (%rcx),%rax
jne    1302 <main+0x122>
lea    0xd7c(%rip),%rdi
call   10c0 <perror@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
jmp    1307 <main+0x127>
mov    -0x8(%rbp),%edi
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   10d0 <accept@plt>
mov    %eax,-0xc(%rbp)
cmp    $0x0,%eax
jge    1338 <main+0x158>
lea    0xd57(%rip),%rdi
call   10c0 <perror@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
mov    $0x0,%al
call   10f0 <fork@plt>
cmp    $0xffffffff,%eax
jne    135e <main+0x17e>
lea    0xd4c(%rip),%rdi
call   10c0 <perror@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
mov    $0x0,%al
call   10f0 <fork@plt>
cmp    $0x0,%eax
je     137b <main+0x19b>
mov    -0xc(%rbp),%edi
call   1070 <close@plt>
jmp    1406 <main+0x226>
mov    -0x8(%rbp),%edi
call   1070 <close@plt>
mov    -0xc(%rbp),%edi
lea    -0x420(%rbp),%rsi
mov    $0x400,%edx
call   1080 <read@plt>
mov    %eax,-0x10(%rbp)
cmp    $0x0,%eax
jle    13e1 <main+0x201>
mov    -0xc(%rbp),%edi
lea    -0x420(%rbp),%rsi
mov    -0x10(%rbp),%edx
call   1030 <write@plt>
cmp    -0x10(%rbp),%eax
jge    13dc <main+0x1fc>
lea    0xcec(%rip),%rdi
call   10c0 <perror@plt>
mov    -0xc(%rbp),%edi
call   1070 <close@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
jmp    1383 <main+0x1a3>
cmpl   $0x0,-0x10(%rbp)
jge    13f7 <main+0x217>
lea    0xcdc(%rip),%rdi
call   10c0 <perror@plt>
mov    -0xc(%rbp),%edi
call   1070 <close@plt>
xor    %edi,%edi
call   10e0 <exit@plt>
jmp    140b <main+0x22b>
jmp    1307 <main+0x127>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x410,%rsp
mov    0x2df6(%rip),%rbp
mov    0x0(%rbp),%edi
mov    0x2dc4(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1100 <socket@plt>
test   %eax,%eax
jns    1215 <main+0x35>
lea    0xdf0(%rip),%rdi
jmp    130f <main+0x12f>
mov    %eax,%ebx
mov    %rsp,%r14
mov    %r14,%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   1060 <memset@plt>
mov    0x0(%rbp),%eax
mov    %eax,0x8(%rsp)
mov    0x2da9(%rip),%rax
mov    (%rax),%edi
call   1050 <htonl@plt>
mov    %eax,0x4(%rsp)
mov    $0xc354,%edi
call   1040 <htons@plt>
mov    %eax,(%rsp)
mov    %ebx,%edi
mov    %r14,%rsi
mov    $0xc,%edx
call   10b0 <bind@plt>
test   %rax,%rax
jns    126f <main+0x8f>
lea    0xdaf(%rip),%rdi
jmp    130f <main+0x12f>
mov    %ebx,%edi
mov    $0x5,%esi
call   10a0 <listen@plt>
test   %rax,%rax
jns    128c <main+0xac>
lea    0xdb8(%rip),%rdi
jmp    130f <main+0x12f>
mov    0x2d45(%rip),%rax
mov    (%rax),%edi
mov    0x2d34(%rip),%rax
mov    (%rax),%esi
call   1090 <signal@plt>
mov    0x2d0e(%rip),%rcx
cmp    (%rcx),%rax
jne    12b8 <main+0xd8>
lea    0xdb9(%rip),%rdi
jmp    130f <main+0x12f>
mov    %ebx,%edi
xor    %esi,%esi
xor    %edx,%edx
call   10d0 <accept@plt>
test   %eax,%eax
js     12ff <main+0x11f>
mov    %eax,%ebp
nopl   0x0(%rax)
xor    %eax,%eax
call   10f0 <fork@plt>
cmp    $0xffffffff,%eax
je     1308 <main+0x128>
xor    %eax,%eax
call   10f0 <fork@plt>
test   %eax,%eax
je     131e <main+0x13e>
mov    %ebp,%edi
call   1070 <close@plt>
mov    %ebx,%edi
xor    %esi,%esi
xor    %edx,%edx
call   10d0 <accept@plt>
mov    %eax,%ebp
test   %eax,%eax
jns    12d0 <main+0xf0>
lea    0xd7a(%rip),%rdi
jmp    130f <main+0x12f>
lea    0xd8c(%rip),%rdi
call   10c0 <perror@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
mov    %ebx,%edi
call   1070 <close@plt>
lea    0x10(%rsp),%r14
nopw   0x0(%rax,%rax,1)
mov    %ebp,%edi
mov    %r14,%rsi
mov    $0x400,%edx
call   1080 <read@plt>
test   %eax,%eax
jle    1372 <main+0x192>
mov    %eax,%ebx
mov    %ebp,%edi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <write@plt>
cmp    %ebx,%eax
jge    1330 <main+0x150>
lea    0xd55(%rip),%rdi
call   10c0 <perror@plt>
mov    %ebp,%edi
call   1070 <close@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>
jns    1380 <main+0x1a0>
lea    0xd53(%rip),%rdi
call   10c0 <perror@plt>
mov    %ebp,%edi
call   1070 <close@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.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [25 x i8] c"Errorea socketa sortzean\00"
@INADDR_ANY = global i32 0
@.str.1 = [38 x i8] c"Errorea socketari helbidea esleitzean\00"
@.str.2 = [48 x i8] c"Errorea socketa entzute socket bezala ezartzean\00"
@SIGCHLD = global i32 0
@SIG_IGN = global i32 0
@SIG_ERR = global i64 0
@.str.3 = [17 x i8] c"Errorea signalen\00"
@.str.4 = [27 x i8] c"Errorea konexioa onartzean\00"
@.str.5 = [22 x i8] c"Errorea umea sortzean\00"
@.str.6 = [29 x i8] c"Errorea erantzuna bidaltzean\00"
@.str.7 = [26 x i8] c"Errorea mezua irakurtzean\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca %struct.sockaddr_in
%6 = alloca [1024 x i8]
store i32 0, i32* %1
%7 = load i32, i32* @AF_INET
%8 = load i32, i32* @SOCK_STREAM
%9 = call i32 @socket(i32 %7, i32 %8, i32 0)
store i32 %9, i32* %2
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = call i32 @perror(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%13 = call i32 @exit(i32 1)
unreachable
14: ; preds = %0
%15 = call i32 @memset(%struct.sockaddr_in* %5, i32 0, i32 12)
%16 = load i32, i32* @AF_INET
%17 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %5, i32 0, i32 2
store i32 %16, i32* %17
%18 = load i32, i32* @INADDR_ANY
%19 = call i32 @htonl(i32 %18)
%20 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %5, i32 0, i32 1
%21 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %20, i32 0, i32 0
store i32 %19, i32* %21
%22 = call i32 @htons(i32 50004)
%23 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %5, i32 0, i32 0
store i32 %22, i32* %23
%24 = load i32, i32* %2
%25 = bitcast %struct.sockaddr_in* %5 to %struct.sockaddr*
%26 = call i64 @bind(i32 %24, %struct.sockaddr* %25, i32 12)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %14
%29 = call i32 @perror(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%30 = call i32 @exit(i32 1)
unreachable
31: ; preds = %14
%32 = load i32, i32* %2
%33 = call i64 @listen(i32 %32, i32 5)
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = call i32 @perror(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%37 = call i32 @exit(i32 1)
unreachable
38: ; preds = %31
%39 = load i32, i32* @SIGCHLD
%40 = load i32, i32* @SIG_IGN
%41 = call i64 @signal(i32 %39, i32 %40)
%42 = load i64, i64* @SIG_ERR
%43 = icmp eq i64 %41, %42
br i1 %43, label %44, label %47
44: ; preds = %38
%45 = call i32 @perror(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
%46 = call i32 @exit(i32 1)
unreachable
47: ; preds = %38
br label %48
48: ; preds = %47, %98
%49 = load i32, i32* %2
%50 = call i32 @accept(i32 %49, i32* null, i32* null)
store i32 %50, i32* %3
%51 = icmp slt i32 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %48
%53 = call i32 @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0))
%54 = call i32 @exit(i32 1)
unreachable
55: ; preds = %48
%56 = call i32 (...) @fork()
%57 = icmp eq i32 %56, -1
br i1 %57, label %58, label %61
58: ; preds = %55
%59 = call i32 @perror(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
%60 = call i32 @exit(i32 1)
unreachable
61: ; preds = %55
%62 = call i32 (...) @fork()
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %67
64: ; preds = %61
%65 = load i32, i32* %3
%66 = call i32 @close(i32 %65)
br label %97
67: ; preds = %61
%68 = load i32, i32* %2
%69 = call i32 @close(i32 %68)
br label %70
70: ; preds = %87, %67
%71 = load i32, i32* %3
%72 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%73 = call i32 @read(i32 %71, i8* %72, i32 1024)
store i32 %73, i32* %4
%74 = icmp sgt i32 %73, 0
br i1 %74, label %75, label %88
75: ; preds = %70
%76 = load i32, i32* %3
%77 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%78 = load i32, i32* %4
%79 = call i32 @write(i32 %76, i8* %77, i32 %78)
%80 = load i32, i32* %4
%81 = icmp slt i32 %79, %80
br i1 %81, label %82, label %87
82: ; preds = %75
%83 = call i32 @perror(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0))
%84 = load i32, i32* %3
%85 = call i32 @close(i32 %84)
%86 = call i32 @exit(i32 1)
unreachable
87: ; preds = %75
br label %70
88: ; preds = %70
%89 = load i32, i32* %4
%90 = icmp slt i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %88
%92 = call i32 @perror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0))
br label %93
93: ; preds = %91, %88
%94 = load i32, i32* %3
%95 = call i32 @close(i32 %94)
%96 = call i32 @exit(i32 0)
unreachable
97: ; preds = %64
br label %98
98: ; preds = %97
br label %48
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [25 x i8] c"Errorea socketa sortzean\00"
@INADDR_ANY = global i32 0
@.str.1 = [38 x i8] c"Errorea socketari helbidea esleitzean\00"
@.str.2 = [48 x i8] c"Errorea socketa entzute socket bezala ezartzean\00"
@SIGCHLD = global i32 0
@SIG_IGN = global i32 0
@SIG_ERR = global i64 0
@.str.3 = [17 x i8] c"Errorea signalen\00"
@.str.4 = [27 x i8] c"Errorea konexioa onartzean\00"
@.str.5 = [22 x i8] c"Errorea umea sortzean\00"
@.str.6 = [29 x i8] c"Errorea erantzuna bidaltzean\00"
@.str.7 = [26 x i8] c"Errorea mezua irakurtzean\00"
define i32 @main() {
%1 = alloca %struct.sockaddr_in
%2 = alloca [1024 x i8]
%3 = bitcast %struct.sockaddr_in* %1 to i8*
%4 = getelementptr inbounds [1024 x i8], [1024 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 %12
9: ; preds = %0
%10 = tail call i32 @perror(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%11 = tail call i32 @exit(i32 1)
unreachable
12: ; preds = %0
%13 = call i32 @memset(%struct.sockaddr_in* %1, i32 0, i32 12)
%14 = load i32, i32* @AF_INET
%15 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 2
store i32 %14, i32* %15
%16 = load i32, i32* @INADDR_ANY
%17 = call i32 @htonl(i32 %16)
%18 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 1, i32 0
store i32 %17, i32* %18
%19 = call i32 @htons(i32 50004)
%20 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 0
store i32 %19, i32* %20
%21 = bitcast %struct.sockaddr_in* %1 to %struct.sockaddr*
%22 = call i64 @bind(i32 %7, %struct.sockaddr* %21, i32 12)
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %12
%25 = call i32 @perror(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%26 = call i32 @exit(i32 1)
unreachable
27: ; preds = %12
%28 = call i64 @listen(i32 %7, i32 5)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = call i32 @perror(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%32 = call i32 @exit(i32 1)
unreachable
33: ; preds = %27
%34 = load i32, i32* @SIGCHLD
%35 = load i32, i32* @SIG_IGN
%36 = call i64 @signal(i32 %34, i32 %35)
%37 = load i64, i64* @SIG_ERR
%38 = icmp eq i64 %36, %37
br i1 %38, label %42, label %39
39: ; preds = %33
%40 = call i32 @accept(i32 %7, i32* null, i32* null)
%41 = icmp slt i32 %40, 0
br i1 %41, label %45, label %48
42: ; preds = %33
%43 = call i32 @perror(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
%44 = call i32 @exit(i32 1)
unreachable
45: ; preds = %58, %39
%46 = call i32 @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0))
%47 = call i32 @exit(i32 1)
unreachable
48: ; preds = %39, %58
%49 = phi i32 [ %60, %58 ], [ %40, %39 ]
%50 = call i32 (...) @fork()
%51 = icmp eq i32 %50, -1
br i1 %51, label %52, label %55
52: ; preds = %48
%53 = call i32 @perror(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
%54 = call i32 @exit(i32 1)
unreachable
55: ; preds = %48
%56 = call i32 (...) @fork()
%57 = icmp eq i32 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %55
%59 = call i32 @close(i32 %49)
%60 = call i32 @accept(i32 %7, i32* null, i32* null)
%61 = icmp slt i32 %60, 0
br i1 %61, label %45, label %48
62: ; preds = %55
%63 = call i32 @close(i32 %7)
br label %64
64: ; preds = %67, %62
%65 = call i32 @read(i32 %49, i8* %4, i32 1024)
%66 = icmp sgt i32 %65, 0
br i1 %66, label %67, label %74
67: ; preds = %64
%68 = call i32 @write(i32 %49, i8* %4, i32 %65)
%69 = icmp slt i32 %68, %65
br i1 %69, label %70, label %64
70: ; preds = %67
%71 = call i32 @perror(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0))
%72 = call i32 @close(i32 %49)
%73 = call i32 @exit(i32 1)
unreachable
74: ; preds = %64
%75 = icmp slt i32 %65, 0
br i1 %75, label %76, label %78
76: ; preds = %74
%77 = call i32 @perror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0))
br label %78
78: ; preds = %76, %74
%79 = call i32 @close(i32 %49)
%80 = call i32 @exit(i32 0)
unreachable
}