#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 timeval {
  int dummy;
};
typedef int /*<<< orphan*/ fd_set;
typedef int /*<<< orphan*/ fd_conns;

/* Variables and functions */
int /*<<< orphan*/ EXIT_FAILURE;
scalar_t__ FD_ISSET(int, int /*<<< orphan*/ *);
int /*<<< orphan*/ FD_SET(int, int /*<<< orphan*/ *);
int /*<<< orphan*/ FD_ZERO(int /*<<< orphan*/ *);
int /*<<< orphan*/ MSG_DONTWAIT;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int init(char *);
int /*<<< orphan*/ memset(int **, int /*<<< orphan*/, int);
int /*<<< orphan*/ next_buffer();
char *next_msg();
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ reception(int, int *, int);
int recv(int, int /*<<< orphan*/, int, int /*<<< orphan*/);
int select(int, int /*<<< orphan*/ *, int /*<<< orphan*/ *,
           int /*<<< orphan*/ *, struct timeval *);
int /*<<< orphan*/ send(int, char *, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ strlen(char *);
int main(int argc, char *argv[]) {
  char buffer[128];
  char *msg = NULL;
  int fd_comm;
  int in_streams;
  int fd_max;
  int fd_socket;
  int fd_conns[128];
  int res;
  fd_set fdset_ins;
  printf("Orca server started...\n");
  fd_comm = init(argv[1]);
  fd_max = fd_comm;
  memset(&fd_conns, 0, sizeof(fd_conns));
  while (1) {
    FD_ZERO(&fdset_ins);
    FD_SET(fd_comm, &fdset_ins);
    for (int i = 0; i < 128; ++i) {
      fd_socket = fd_conns[i];
      if (fd_socket != 0) {
        FD_SET(fd_socket, &fdset_ins);
        if (fd_max < fd_socket) {
          fd_max = fd_socket;
        }
      }
    }
    in_streams = select(fd_max + 1, &fdset_ins, (fd_set *)NULL, (fd_set *)NULL,
                        (struct timeval *)NULL);
    if (in_streams < 0) {
      perror("select");
      exit(EXIT_FAILURE);
    }
    if (FD_ISSET(fd_comm, &fdset_ins)) {
      reception(fd_comm, fd_conns, 128);
    }
    for (int i = 0; i < 128; ++i) {
      fd_socket = fd_conns[i];
      if (FD_ISSET(fd_socket, &fdset_ins)) {
        res = recv(fd_socket, next_buffer(), 128, MSG_DONTWAIT);
        printf("%d bytes read: %s", res, buffer);
      }
    }
    while (msg = next_msg()) {
      for (int i = 0; i < 128; ++i) {
        fd_socket = fd_conns[i];
        if (fd_socket != 0) {
          send(fd_socket, msg, strlen(msg), MSG_DONTWAIT);
        }
      }
    }
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2e0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x98(%rbp)
lea    0xde5(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   10b0 <init@plt>
mov    %eax,-0x9c(%rbp)
mov    -0x9c(%rbp),%eax
mov    %eax,-0xa4(%rbp)
lea    -0x2b0(%rbp),%rdi
xor    %esi,%esi
mov    $0x200,%edx
call   1090 <memset@plt>
lea    -0x2b8(%rbp),%rdi
call   10c0 <FD_ZERO@plt>
mov    -0x9c(%rbp),%edi
lea    -0x2b8(%rbp),%rsi
call   1110 <FD_SET@plt>
movl   $0x0,-0x2bc(%rbp)
cmpl   $0x80,-0x2bc(%rbp)
jge    12fb <main+0x10b>
movslq -0x2bc(%rbp),%rax
mov    -0x2b0(%rbp,%rax,4),%eax
mov    %eax,-0xa8(%rbp)
cmpl   $0x0,-0xa8(%rbp)
je     12e2 <main+0xf2>
mov    -0xa8(%rbp),%edi
lea    -0x2b8(%rbp),%rsi
call   1110 <FD_SET@plt>
mov    -0xa4(%rbp),%eax
cmp    -0xa8(%rbp),%eax
jge    12dd <main+0xed>
mov    -0xa8(%rbp),%eax
mov    %eax,-0xa4(%rbp)
jmp    12e2 <main+0xf2>
jmp    12e7 <main+0xf7>
mov    -0x2bc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2bc(%rbp)
jmp    127c <main+0x8c>
mov    -0xa4(%rbp),%edi
add    $0x1,%edi
lea    -0x2b8(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%r8d
mov    %r8,%rdx
mov    %r8,%rcx
call   10d0 <select@plt>
mov    %eax,-0xa0(%rbp)
cmpl   $0x0,-0xa0(%rbp)
jge    1348 <main+0x158>
lea    0xce3(%rip),%rdi
call   10f0 <perror@plt>
mov    0x2c97(%rip),%rax
mov    (%rax),%edi
call   1100 <exit@plt>
mov    -0x9c(%rbp),%edi
lea    -0x2b8(%rbp),%rsi
call   1050 <FD_ISSET@plt>
cmp    $0x0,%rax
je     137b <main+0x18b>
mov    -0x9c(%rbp),%edi
lea    -0x2b0(%rbp),%rsi
mov    $0x80,%edx
call   10a0 <reception@plt>
movl   $0x0,-0x2c0(%rbp)
cmpl   $0x80,-0x2c0(%rbp)
jge    142d <main+0x23d>
movslq -0x2c0(%rbp),%rax
mov    -0x2b0(%rbp,%rax,4),%eax
mov    %eax,-0xa8(%rbp)
mov    -0xa8(%rbp),%edi
lea    -0x2b8(%rbp),%rsi
call   1050 <FD_ISSET@plt>
cmp    $0x0,%rax
je     1414 <main+0x224>
mov    -0xa8(%rbp),%eax
mov    %eax,-0x2c8(%rbp)
mov    $0x0,%al
call   1040 <next_buffer@plt>
mov    -0x2c8(%rbp),%edi
mov    %eax,%esi
mov    0x2bf9(%rip),%rax
mov    (%rax),%ecx
mov    $0x80,%edx
call   1030 <recv@plt>
mov    %eax,-0x2b4(%rbp)
mov    -0x2b4(%rbp),%esi
lea    -0x90(%rbp),%rdx
lea    0xc12(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
jmp    1419 <main+0x229>
mov    -0x2c0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c0(%rbp)
jmp    1385 <main+0x195>
jmp    1432 <main+0x242>
mov    $0x0,%al
call   10e0 <next_msg@plt>
mov    %rax,-0x98(%rbp)
cmp    $0x0,%rax
je     14e6 <main+0x2f6>
movl   $0x0,-0x2c4(%rbp)
cmpl   $0x80,-0x2c4(%rbp)
jge    14e1 <main+0x2f1>
movslq -0x2c4(%rbp),%rax
mov    -0x2b0(%rbp,%rax,4),%eax
mov    %eax,-0xa8(%rbp)
cmpl   $0x0,-0xa8(%rbp)
je     14c8 <main+0x2d8>
mov    -0xa8(%rbp),%eax
mov    %eax,-0x2d4(%rbp)
mov    -0x98(%rbp),%rax
mov    %rax,-0x2d0(%rbp)
mov    -0x98(%rbp),%rdi
call   1060 <strlen@plt>
mov    -0x2d4(%rbp),%edi
mov    -0x2d0(%rbp),%rsi
mov    %eax,%edx
mov    0x2b1f(%rip),%rax
mov    (%rax),%ecx
call   1070 <send@plt>
jmp    14cd <main+0x2dd>
mov    -0x2c4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c4(%rbp)
jmp    1454 <main+0x264>
jmp    1432 <main+0x242>
jmp    1254 <main+0x64>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x298,%rsp
mov    %rsi,%rbx
lea    0xdfe(%rip),%rdi
call   1040 <puts@plt>
mov    0x8(%rbx),%rdi
call   10c0 <init@plt>
mov    %eax,%ebx
lea    0x10(%rsp),%rdi
xor    %esi,%esi
mov    $0x200,%edx
call   10a0 <memset@plt>
lea    0xc(%rsp),%r13
mov    0x2d98(%rip),%r15
mov    %ebx,0x8(%rsp)
mov    %ebx,%r12d
nop
mov    %r13,%rdi
call   10d0 <FD_ZERO@plt>
mov    0x8(%rsp),%r14d
mov    %r14d,%edi
mov    %r13,%rsi
call   1120 <FD_SET@plt>
xor    %ebx,%ebx
jmp    127d <main+0x7d>
nopl   0x0(%rax)
add    $0x1,%rbx
cmp    $0x80,%rbx
je     12a0 <main+0xa0>
mov    0x10(%rsp,%rbx,4),%ebp
test   %ebp,%ebp
je     1270 <main+0x70>
mov    %ebp,%edi
mov    %r13,%rsi
call   1120 <FD_SET@plt>
cmp    %ebp,%r12d
cmovl  %ebp,%r12d
jmp    1270 <main+0x70>
nopl   0x0(%rax,%rax,1)
lea    0x1(%r12),%edi
mov    %r13,%rsi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
call   10e0 <select@plt>
test   %eax,%eax
js     13b4 <main+0x1b4>
mov    %r14d,%edi
mov    %r13,%rsi
call   1060 <FD_ISSET@plt>
test   %rax,%rax
je     12de <main+0xde>
mov    %r14d,%edi
lea    0x10(%rsp),%rsi
mov    $0x80,%edx
call   10b0 <reception@plt>
xor    %ebx,%ebx
lea    0xd20(%rip),%r14
jmp    1301 <main+0x101>
nopl   0x0(%rax)
add    $0x1,%rbx
cmp    $0x80,%rbx
je     13a0 <main+0x1a0>
mov    0x10(%rsp,%rbx,4),%ebp
mov    %ebp,%edi
mov    %r13,%rsi
call   1060 <FD_ISSET@plt>
test   %rax,%rax
je     12f0 <main+0xf0>
xor    %eax,%eax
call   1050 <next_buffer@plt>
mov    (%r15),%ecx
mov    %ebp,%edi
mov    %eax,%esi
mov    $0x80,%edx
call   1030 <recv@plt>
mov    %r14,%rdi
mov    %eax,%esi
lea    0x210(%rsp),%rdx
xor    %eax,%eax
call   1090 <printf@plt>
jmp    12f0 <main+0xf0>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
xor    %ebx,%ebx
jmp    136d <main+0x16d>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%rbx
cmp    $0x80,%rbx
je     13a0 <main+0x1a0>
mov    0x10(%rsp,%rbx,4),%r14d
test   %r14d,%r14d
je     1360 <main+0x160>
mov    %rbp,%rdi
call   1070 <strlen@plt>
mov    (%r15),%ecx
mov    %r14d,%edi
mov    %rbp,%rsi
mov    %eax,%edx
call   1080 <send@plt>
jmp    1360 <main+0x160>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
xor    %eax,%eax
call   10f0 <next_msg@plt>
mov    %rax,%rbp
test   %rax,%rax
jne    1350 <main+0x150>
jmp    1250 <main+0x50>
lea    0xc45(%rip),%rdi
call   1100 <perror@plt>
mov    0x2c11(%rip),%rax
mov    (%rax),%edi
call   1110 <exit@plt>

LLVM IR (-O0):
%struct.timeval = type { i32 }
@.str = [24 x i8] c"Orca server started...\0A\00"
@.str.1 = [7 x i8] c"select\00"
@EXIT_FAILURE = global i32 0
@MSG_DONTWAIT = global i32 0
@.str.2 = [18 x i8] c"%d bytes read: %s\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [128 x i8]
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca [128 x i32]
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i8* null, i8** %7
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
%19 = load i8**, i8*** %5
%20 = getelementptr inbounds i8*, i8** %19, i64 1
%21 = load i8*, i8** %20
%22 = call i32 @init(i8* %21)
store i32 %22, i32* %8
%23 = load i32, i32* %8
store i32 %23, i32* %10
%24 = bitcast [128 x i32]* %12 to i32**
%25 = call i32 @memset(i32** %24, i32 0, i32 512)
br label %26
26: ; preds = %2, %122
%27 = call i32 @FD_ZERO(i32* %14)
%28 = load i32, i32* %8
%29 = call i32 @FD_SET(i32 %28, i32* %14)
store i32 0, i32* %15
br label %30
30: ; preds = %50, %26
%31 = load i32, i32* %15
%32 = icmp slt i32 %31, 128
br i1 %32, label %33, label %53
33: ; preds = %30
%34 = load i32, i32* %15
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [128 x i32], [128 x i32]* %12, i64 0, i64 %35
%37 = load i32, i32* %36
store i32 %37, i32* %11
%38 = load i32, i32* %11
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %49
40: ; preds = %33
%41 = load i32, i32* %11
%42 = call i32 @FD_SET(i32 %41, i32* %14)
%43 = load i32, i32* %10
%44 = load i32, i32* %11
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %48
46: ; preds = %40
%47 = load i32, i32* %11
store i32 %47, i32* %10
br label %48
48: ; preds = %46, %40
br label %49
49: ; preds = %48, %33
br label %50
50: ; preds = %49
%51 = load i32, i32* %15
%52 = add nsw i32 %51, 1
store i32 %52, i32* %15
br label %30
53: ; preds = %30
%54 = load i32, i32* %10
%55 = add nsw i32 %54, 1
%56 = call i32 @select(i32 %55, i32* %14, i32* null, i32* null, %struct.timeval* null)
store i32 %56, i32* %9
%57 = load i32, i32* %9
%58 = icmp slt i32 %57, 0
br i1 %58, label %59, label %63
59: ; preds = %53
%60 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%61 = load i32, i32* @EXIT_FAILURE
%62 = call i32 @exit(i32 %61)
unreachable
63: ; preds = %53
%64 = load i32, i32* %8
%65 = call i64 @FD_ISSET(i32 %64, i32* %14)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %71
67: ; preds = %63
%68 = load i32, i32* %8
%69 = getelementptr inbounds [128 x i32], [128 x i32]* %12, i64 0, i64 0
%70 = call i32 @reception(i32 %68, i32* %69, i32 128)
br label %71
71: ; preds = %67, %63
store i32 0, i32* %16
br label %72
72: ; preds = %92, %71
%73 = load i32, i32* %16
%74 = icmp slt i32 %73, 128
br i1 %74, label %75, label %95
75: ; preds = %72
%76 = load i32, i32* %16
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [128 x i32], [128 x i32]* %12, i64 0, i64 %77
%79 = load i32, i32* %78
store i32 %79, i32* %11
%80 = load i32, i32* %11
%81 = call i64 @FD_ISSET(i32 %80, i32* %14)
%82 = icmp ne i64 %81, 0
br i1 %82, label %83, label %91
83: ; preds = %75
%84 = load i32, i32* %11
%85 = call i32 (...) @next_buffer()
%86 = load i32, i32* @MSG_DONTWAIT
%87 = call i32 @recv(i32 %84, i32 %85, i32 128, i32 %86)
store i32 %87, i32* %13
%88 = load i32, i32* %13
%89 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0), i32 %88, i8* %89)
br label %91
91: ; preds = %83, %75
br label %92
92: ; preds = %91
%93 = load i32, i32* %16
%94 = add nsw i32 %93, 1
store i32 %94, i32* %16
br label %72
95: ; preds = %72
br label %96
96: ; preds = %121, %95
%97 = call i8* (...) @next_msg()
store i8* %97, i8** %7
%98 = icmp ne i8* %97, null
br i1 %98, label %99, label %122
99: ; preds = %96
store i32 0, i32* %17
br label %100
100: ; preds = %118, %99
%101 = load i32, i32* %17
%102 = icmp slt i32 %101, 128
br i1 %102, label %103, label %121
103: ; preds = %100
%104 = load i32, i32* %17
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [128 x i32], [128 x i32]* %12, i64 0, i64 %105
%107 = load i32, i32* %106
store i32 %107, i32* %11
%108 = load i32, i32* %11
%109 = icmp ne i32 %108, 0
br i1 %109, label %110, label %117
110: ; preds = %103
%111 = load i32, i32* %11
%112 = load i8*, i8** %7
%113 = load i8*, i8** %7
%114 = call i32 @strlen(i8* %113)
%115 = load i32, i32* @MSG_DONTWAIT
%116 = call i32 @send(i32 %111, i8* %112, i32 %114, i32 %115)
br label %117
117: ; preds = %110, %103
br label %118
118: ; preds = %117
%119 = load i32, i32* %17
%120 = add nsw i32 %119, 1
store i32 %120, i32* %17
br label %100
121: ; preds = %100
br label %96
122: ; preds = %96
br label %26
}

LLVM IR (-O2):
%struct.timeval = type { i32 }
@.str.1 = [7 x i8] c"select\00"
@EXIT_FAILURE = global i32 0
@MSG_DONTWAIT = global i32 0
@.str.2 = [18 x i8] c"%d bytes read: %s\00"
@str = [23 x i8] c"Orca server started...\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [128 x i8]
%4 = alloca [128 x i32]
%5 = alloca i32
%6 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 0
%7 = bitcast [128 x i32]* %4 to i8*
%8 = bitcast i32* %5 to i8*
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str, i64 0, i64 0))
%10 = getelementptr inbounds i8*, i8** %1, i64 1
%11 = load i8*, i8** %10
%12 = tail call i32 @init(i8* %11)
%13 = bitcast [128 x i32]* %4 to i32**
%14 = call i32 @memset(i32** %13, i32 0, i32 512)
%15 = getelementptr inbounds [128 x i32], [128 x i32]* %4, i64 0, i64 0
br label %16
16: ; preds = %51, %2
%17 = phi i32 [ %12, %2 ], [ %35, %51 ]
%18 = call i32 @FD_ZERO(i32* %5)
%19 = call i32 @FD_SET(i32 %12, i32* %5)
br label %24
20: ; preds = %34
%21 = add nsw i32 %35, 1
%22 = call i32 @select(i32 %21, i32* %5, i32* null, i32* null, %struct.timeval* null)
%23 = icmp slt i32 %22, 0
br i1 %23, label %38, label %42
24: ; preds = %16, %34
%25 = phi i64 [ 0, %16 ], [ %36, %34 ]
%26 = phi i32 [ %17, %16 ], [ %35, %34 ]
%27 = getelementptr inbounds [128 x i32], [128 x i32]* %4, i64 0, i64 %25
%28 = load i32, i32* %27
%29 = icmp eq i32 %28, 0
br i1 %29, label %34, label %30
30: ; preds = %24
%31 = call i32 @FD_SET(i32 %28, i32* %5)
%32 = icmp slt i32 %26, %28
%33 = select i1 %32, i32 %28, i32 %26
br label %34
34: ; preds = %30, %24
%35 = phi i32 [ %26, %24 ], [ %33, %30 ]
%36 = add nuw nsw i64 %25, 1
%37 = icmp eq i64 %36, 128
br i1 %37, label %20, label %24
38: ; preds = %20
%39 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%40 = load i32, i32* @EXIT_FAILURE
%41 = call i32 @exit(i32 %40)
unreachable
42: ; preds = %20
%43 = call i64 @FD_ISSET(i32 %12, i32* %5)
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %46, %42
br label %52
46: ; preds = %42
%47 = call i32 @reception(i32 %12, i32* %15, i32 128)
br label %45
48: ; preds = %63
%49 = call i8* (...) @next_msg()
%50 = icmp eq i8* %49, null
br i1 %50, label %51, label %69
51: ; preds = %66, %48
br label %16
52: ; preds = %45, %63
%53 = phi i64 [ %64, %63 ], [ 0, %45 ]
%54 = getelementptr inbounds [128 x i32], [128 x i32]* %4, i64 0, i64 %53
%55 = load i32, i32* %54
%56 = call i64 @FD_ISSET(i32 %55, i32* %5)
%57 = icmp eq i64 %56, 0
br i1 %57, label %63, label %58
58: ; preds = %52
%59 = call i32 (...) @next_buffer()
%60 = load i32, i32* @MSG_DONTWAIT
%61 = call i32 @recv(i32 %55, i32 %59, i32 128, i32 %60)
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0), i32 %61, i8* %6)
br label %63
63: ; preds = %52, %58
%64 = add nuw nsw i64 %53, 1
%65 = icmp eq i64 %64, 128
br i1 %65, label %48, label %52
66: ; preds = %80
%67 = call i8* (...) @next_msg()
%68 = icmp eq i8* %67, null
br i1 %68, label %51, label %69
69: ; preds = %48, %66
%70 = phi i8* [ %67, %66 ], [ %49, %48 ]
br label %71
71: ; preds = %69, %80
%72 = phi i64 [ 0, %69 ], [ %81, %80 ]
%73 = getelementptr inbounds [128 x i32], [128 x i32]* %4, i64 0, i64 %72
%74 = load i32, i32* %73
%75 = icmp eq i32 %74, 0
br i1 %75, label %80, label %76
76: ; preds = %71
%77 = call i32 @strlen(i8* %70)
%78 = load i32, i32* @MSG_DONTWAIT
%79 = call i32 @send(i32 %74, i8* %70, i32 %77, i32 %78)
br label %80
80: ; preds = %71, %76
%81 = add nuw nsw i64 %72, 1
%82 = icmp eq i64 %81, 128
br i1 %82, label %66, label %71
}