#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 hostent {
  char *h_name;
  scalar_t__ *h_addr_list;
};

/* Variables and functions */
int /*<<< orphan*/ do_sethostname(char *, int);
int /*<<< orphan*/ gethostname(char *, int);
int getopt(int, char **, char *);
char *inet_ntoa(struct in_addr);
char *optarg;
int optind;
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ puts(char *);
int /*<<< orphan*/ show_usage();
char *strchr(char *, char);
struct hostent *xgethostbyname(char *);
int hostname_main(int argc, char **argv) {
  int opt;
  int type = 0;
  struct hostent *hp;
  char *filename = NULL;
  char buf[255];
  char *p = NULL;
  if (argc < 1)
    show_usage();
  while ((opt = getopt(argc, argv, "dfisF:")) > 0) {
    switch (opt) {
    case 'd':
    case 'f':
    case 'i':
    case 's':
      type = opt;
      break;
    case 'F':
      filename = optarg;
      break;
    default:
      show_usage();
    }
  }
  if (type != 0) {
    gethostname(buf, 255);
    hp = xgethostbyname(buf);
    p = strchr(hp->h_name, '.');
    if (type == 'f') {
      puts(hp->h_name);
    } else if (type == 's') {
      if (p != NULL) {
        *p = 0;
      }
      puts(buf);
    } else if (type == 'd') {
      if (p)
        puts(p + 1);
    } else if (type == 'i') {
      while (hp->h_addr_list[0]) {
        printf("%s ", inet_ntoa(*(struct in_addr *)(*hp->h_addr_list++)));
      }
      printf("\n");
    }
  } else if (filename != NULL) {
    do_sethostname(filename, 1);
  } else if (optind < argc) {
    do_sethostname(argv[optind], 0);
  } else {
    gethostname(buf, 255);
    puts(buf);
  }
  return (0);
}


x86 assembly (clang, -O0):
<hostname_main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x140,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x18(%rbp)
movq   $0x0,-0x28(%rbp)
movq   $0x0,-0x138(%rbp)
cmpl   $0x1,-0x4(%rbp)
jge    11cd <hostname_main+0x3d>
mov    $0x0,%al
call   1080 <show_usage@plt>
jmp    11d2 <hostname_main+0x42>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe20(%rip),%rdx
call   10a0 <getopt@plt>
mov    %eax,-0x14(%rbp)
cmp    $0x0,%eax
jle    1282 <hostname_main+0xf2>
mov    -0x14(%rbp),%eax
mov    %eax,-0x13c(%rbp)
sub    $0x46,%eax
je     1263 <hostname_main+0xd3>
jmp    1208 <hostname_main+0x78>
mov    -0x13c(%rbp),%eax
sub    $0x64,%eax
je     1258 <hostname_main+0xc8>
jmp    121c <hostname_main+0x8c>
mov    -0x13c(%rbp),%eax
sub    $0x66,%eax
je     1258 <hostname_main+0xc8>
jmp    1230 <hostname_main+0xa0>
mov    -0x13c(%rbp),%eax
sub    $0x69,%eax
je     1258 <hostname_main+0xc8>
jmp    1244 <hostname_main+0xb4>
mov    -0x13c(%rbp),%eax
sub    $0x73,%eax
jne    1276 <hostname_main+0xe6>
jmp    1258 <hostname_main+0xc8>
mov    -0x14(%rbp),%eax
mov    %eax,-0x18(%rbp)
jmp    127d <hostname_main+0xed>
mov    0x2d8e(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x28(%rbp)
jmp    127d <hostname_main+0xed>
mov    $0x0,%al
call   1080 <show_usage@plt>
jmp    11d2 <hostname_main+0x42>
cmpl   $0x0,-0x18(%rbp)
je     13b6 <hostname_main+0x226>
lea    -0x130(%rbp),%rdi
mov    $0xff,%esi
call   10b0 <gethostname@plt>
lea    -0x130(%rbp),%rdi
call   1090 <xgethostbyname@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%rdi
mov    $0x2e,%esi
call   1050 <strchr@plt>
mov    %rax,-0x138(%rbp)
cmpl   $0x66,-0x18(%rbp)
jne    12e0 <hostname_main+0x150>
mov    -0x20(%rbp),%rax
mov    (%rax),%rdi
call   1030 <puts@plt>
jmp    13b1 <hostname_main+0x221>
cmpl   $0x73,-0x18(%rbp)
jne    1313 <hostname_main+0x183>
cmpq   $0x0,-0x138(%rbp)
je     1302 <hostname_main+0x172>
mov    -0x138(%rbp),%rax
movb   $0x0,(%rax)
lea    -0x130(%rbp),%rdi
call   1030 <puts@plt>
jmp    13ac <hostname_main+0x21c>
cmpl   $0x64,-0x18(%rbp)
jne    1340 <hostname_main+0x1b0>
cmpq   $0x0,-0x138(%rbp)
je     133b <hostname_main+0x1ab>
mov    -0x138(%rbp),%rdi
add    $0x1,%rdi
call   1030 <puts@plt>
jmp    13a7 <hostname_main+0x217>
cmpl   $0x69,-0x18(%rbp)
jne    13a2 <hostname_main+0x212>
jmp    134f <hostname_main+0x1bf>
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%rax
cmpq   $0x0,(%rax)
je     1394 <hostname_main+0x204>
mov    -0x20(%rbp),%rcx
mov    0x8(%rcx),%rax
mov    %rax,%rdx
add    $0x8,%rdx
mov    %rdx,0x8(%rcx)
mov    (%rax),%rax
mov    (%rax),%edi
call   1040 <inet_ntoa@plt>
mov    %rax,%rsi
lea    0xc7f(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    134f <hostname_main+0x1bf>
lea    0xc70(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13a7 <hostname_main+0x217>
jmp    13ac <hostname_main+0x21c>
jmp    13b1 <hostname_main+0x221>
jmp    142b <hostname_main+0x29b>
cmpq   $0x0,-0x28(%rbp)
je     13d4 <hostname_main+0x244>
mov    -0x28(%rbp),%rdi
mov    $0x1,%esi
call   1070 <do_sethostname@plt>
jmp    1426 <hostname_main+0x296>
mov    0x2c05(%rip),%rax
mov    (%rax),%eax
cmp    -0x4(%rbp),%eax
jge    1404 <hostname_main+0x274>
mov    -0x10(%rbp),%rax
mov    0x2bef(%rip),%rcx
movslq (%rcx),%rcx
mov    (%rax,%rcx,8),%rdi
xor    %esi,%esi
call   1070 <do_sethostname@plt>
jmp    1421 <hostname_main+0x291>
lea    -0x130(%rbp),%rdi
mov    $0xff,%esi
call   10b0 <gethostname@plt>
lea    -0x130(%rbp),%rdi
call   1030 <puts@plt>
jmp    1426 <hostname_main+0x296>
jmp    142b <hostname_main+0x29b>
xor    %eax,%eax
add    $0x140,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<hostname_main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
test   %edi,%edi
jg     11c1 <hostname_main+0x21>
xor    %eax,%eax
call   1090 <show_usage@plt>
lea    0xe78(%rip),%rdx
mov    %ebp,%edi
mov    %rbx,%rsi
call   10b0 <getopt@plt>
test   %eax,%eax
jle    12b6 <hostname_main+0x116>
lea    0xe5f(%rip),%r15
movabs $0x200940000000,%r13
xor    %r14d,%r14d
xor    %r12d,%r12d
jmp    1214 <hostname_main+0x74>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %eax,%r12d
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
call   10b0 <getopt@plt>
test   %eax,%eax
jle    123c <hostname_main+0x9c>
lea    -0x46(%rax),%ecx
cmp    $0x2d,%ecx
ja     1233 <hostname_main+0x93>
bt     %rcx,%r13
jb     1200 <hostname_main+0x60>
test   %rcx,%rcx
jne    1233 <hostname_main+0x93>
mov    0x2dca(%rip),%rax
mov    (%rax),%r14
jmp    1203 <hostname_main+0x63>
xor    %eax,%eax
call   1090 <show_usage@plt>
jmp    1203 <hostname_main+0x63>
test   %r12d,%r12d
je     129f <hostname_main+0xff>
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0xff,%esi
call   10c0 <gethostname@plt>
mov    %rbx,%rdi
call   10a0 <xgethostbyname@plt>
mov    %rax,%rbx
mov    (%rax),%rbp
mov    %rbp,%rdi
mov    $0x2e,%esi
call   1060 <strchr@plt>
add    $0xffffff9c,%r12d
cmp    $0xf,%r12d
ja     1344 <hostname_main+0x1a4>
lea    0xd7f(%rip),%rcx
movslq (%rcx,%r12,4),%rdx
add    %rcx,%rdx
jmp    *%rdx
test   %rax,%rax
je     1344 <hostname_main+0x1a4>
add    $0x1,%rax
mov    %rax,%rdi
jmp    133f <hostname_main+0x19f>
test   %r14,%r14
je     12b6 <hostname_main+0x116>
mov    %r14,%rdi
mov    $0x1,%esi
call   1080 <do_sethostname@plt>
jmp    1344 <hostname_main+0x1a4>
mov    0x2d23(%rip),%rax
movslq (%rax),%rax
cmp    %ebp,%eax
jge    12d1 <hostname_main+0x131>
mov    (%rbx,%rax,8),%rdi
xor    %esi,%esi
call   1080 <do_sethostname@plt>
jmp    1344 <hostname_main+0x1a4>
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0xff,%esi
call   10c0 <gethostname@plt>
mov    %rbx,%rdi
jmp    133f <hostname_main+0x19f>
mov    %rbp,%rdi
jmp    133f <hostname_main+0x19f>
mov    0x8(%rbx),%rax
mov    (%rax),%rcx
test   %rcx,%rcx
je     1328 <hostname_main+0x188>
lea    0xd49(%rip),%rbp
xchg   %ax,%ax
add    $0x8,%rax
mov    %rax,0x8(%rbx)
mov    (%rcx),%edi
call   1050 <inet_ntoa@plt>
mov    %rbp,%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x8(%rbx),%rax
mov    (%rax),%rcx
test   %rcx,%rcx
jne    1300 <hostname_main+0x160>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    1344 <hostname_main+0x1a4>
test   %rax,%rax
je     133c <hostname_main+0x19c>
movb   $0x0,(%rax)
mov    %rsp,%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.hostent = type { i8*, i64* }
%struct.in_addr = type { i32 }
@.str = [7 x i8] c"dfisF:\00"
@optarg = global i8* null
@.str.1 = [4 x i8] c"%s \00"
@.str.2 = [2 x i8] c"\0A\00"
@optind = global i32 0
define i32 @hostname_main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca i32
%6 = alloca i32
%7 = alloca %struct.hostent*
%8 = alloca i8*
%9 = alloca [255 x i8]
%10 = alloca i8*
store i32 %0, i32* %3
store i8** %1, i8*** %4
store i32 0, i32* %6
store i8* null, i8** %8
store i8* null, i8** %10
%11 = load i32, i32* %3
%12 = icmp slt i32 %11, 1
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (...) @show_usage()
br label %15
15: ; preds = %13, %2
br label %16
16: ; preds = %29, %15
%17 = load i32, i32* %3
%18 = load i8**, i8*** %4
%19 = call i32 @getopt(i32 %17, i8** %18, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
store i32 %19, i32* %5
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %30
21: ; preds = %16
%22 = load i32, i32* %5
switch i32 %22, label %27 [
i32 100, label %23
i32 102, label %23
i32 105, label %23
i32 115, label %23
i32 70, label %25
]
23: ; preds = %21, %21, %21, %21
%24 = load i32, i32* %5
store i32 %24, i32* %6
br label %29
25: ; preds = %21
%26 = load i8*, i8** @optarg
store i8* %26, i8** %8
br label %29
27: ; preds = %21
%28 = call i32 (...) @show_usage()
br label %29
29: ; preds = %27, %25, %23
br label %16
30: ; preds = %16
%31 = load i32, i32* %6
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %99
33: ; preds = %30
%34 = getelementptr inbounds [255 x i8], [255 x i8]* %9, i64 0, i64 0
%35 = call i32 @gethostname(i8* %34, i32 255)
%36 = getelementptr inbounds [255 x i8], [255 x i8]* %9, i64 0, i64 0
%37 = call %struct.hostent* @xgethostbyname(i8* %36)
store %struct.hostent* %37, %struct.hostent** %7
%38 = load %struct.hostent*, %struct.hostent** %7
%39 = getelementptr inbounds %struct.hostent, %struct.hostent* %38, i32 0, i32 0
%40 = load i8*, i8** %39
%41 = call i8* @strchr(i8* %40, i8 signext 46)
store i8* %41, i8** %10
%42 = load i32, i32* %6
%43 = icmp eq i32 %42, 102
br i1 %43, label %44, label %49
44: ; preds = %33
%45 = load %struct.hostent*, %struct.hostent** %7
%46 = getelementptr inbounds %struct.hostent, %struct.hostent* %45, i32 0, i32 0
%47 = load i8*, i8** %46
%48 = call i32 @puts(i8* %47)
br label %98
49: ; preds = %33
%50 = load i32, i32* %6
%51 = icmp eq i32 %50, 115
br i1 %51, label %52, label %60
52: ; preds = %49
%53 = load i8*, i8** %10
%54 = icmp ne i8* %53, null
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = load i8*, i8** %10
store i8 0, i8* %56
br label %57
57: ; preds = %55, %52
%58 = getelementptr inbounds [255 x i8], [255 x i8]* %9, i64 0, i64 0
%59 = call i32 @puts(i8* %58)
br label %97
60: ; preds = %49
%61 = load i32, i32* %6
%62 = icmp eq i32 %61, 100
br i1 %62, label %63, label %71
63: ; preds = %60
%64 = load i8*, i8** %10
%65 = icmp ne i8* %64, null
br i1 %65, label %66, label %70
66: ; preds = %63
%67 = load i8*, i8** %10
%68 = getelementptr inbounds i8, i8* %67, i64 1
%69 = call i32 @puts(i8* %68)
br label %70
70: ; preds = %66, %63
br label %96
71: ; preds = %60
%72 = load i32, i32* %6
%73 = icmp eq i32 %72, 105
br i1 %73, label %74, label %95
74: ; preds = %71
br label %75
75: ; preds = %82, %74
%76 = load %struct.hostent*, %struct.hostent** %7
%77 = getelementptr inbounds %struct.hostent, %struct.hostent* %76, i32 0, i32 1
%78 = load i64*, i64** %77
%79 = getelementptr inbounds i64, i64* %78, i64 0
%80 = load i64, i64* %79
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %93
82: ; preds = %75
%83 = load %struct.hostent*, %struct.hostent** %7
%84 = getelementptr inbounds %struct.hostent, %struct.hostent* %83, i32 0, i32 1
%85 = load i64*, i64** %84
%86 = getelementptr inbounds i64, i64* %85, i32 1
store i64* %86, i64** %84
%87 = load i64, i64* %85
%88 = inttoptr i64 %87 to %struct.in_addr*
%89 = getelementptr inbounds %struct.in_addr, %struct.in_addr* %88, i32 0, i32 0
%90 = load i32, i32* %89
%91 = call i8* @inet_ntoa(i32 %90)
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %91)
br label %75
93: ; preds = %75
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %95
95: ; preds = %93, %71
br label %96
96: ; preds = %95, %70
br label %97
97: ; preds = %96, %57
br label %98
98: ; preds = %97, %44
br label %123
99: ; preds = %30
%100 = load i8*, i8** %8
%101 = icmp ne i8* %100, null
br i1 %101, label %102, label %105
102: ; preds = %99
%103 = load i8*, i8** %8
%104 = call i32 @do_sethostname(i8* %103, i32 1)
br label %122
105: ; preds = %99
%106 = load i32, i32* @optind
%107 = load i32, i32* %3
%108 = icmp slt i32 %106, %107
br i1 %108, label %109, label %116
109: ; preds = %105
%110 = load i8**, i8*** %4
%111 = load i32, i32* @optind
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i8*, i8** %110, i64 %112
%114 = load i8*, i8** %113
%115 = call i32 @do_sethostname(i8* %114, i32 0)
br label %121
116: ; preds = %105
%117 = getelementptr inbounds [255 x i8], [255 x i8]* %9, i64 0, i64 0
%118 = call i32 @gethostname(i8* %117, i32 255)
%119 = getelementptr inbounds [255 x i8], [255 x i8]* %9, i64 0, i64 0
%120 = call i32 @puts(i8* %119)
br label %121
121: ; preds = %116, %109
br label %122
122: ; preds = %121, %102
br label %123
123: ; preds = %122, %98
ret i32 0
}

LLVM IR (-O2):
%struct.hostent = type { i8*, i64* }
%struct.in_addr = type { i32 }
@.str = [7 x i8] c"dfisF:\00"
@optarg = global i8* null
@.str.1 = [4 x i8] c"%s \00"
@optind = global i32 0
define i32 @hostname_main(i32 %0, i8** %1) {
%3 = alloca [255 x i8]
%4 = getelementptr inbounds [255 x i8], [255 x i8]* %3, i64 0, i64 0
%5 = icmp slt i32 %0, 1
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 (...) @show_usage()
br label %8
8: ; preds = %6, %2
%9 = tail call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %67
11: ; preds = %8, %19
%12 = phi i32 [ %22, %19 ], [ %9, %8 ]
%13 = phi i8* [ %21, %19 ], [ null, %8 ]
%14 = phi i32 [ %20, %19 ], [ 0, %8 ]
switch i32 %12, label %17 [
i32 100, label %19
i32 102, label %19
i32 105, label %19
i32 115, label %19
i32 70, label %15
]
15: ; preds = %11
%16 = load i8*, i8** @optarg
br label %19
17: ; preds = %11
%18 = tail call i32 (...) @show_usage()
br label %19
19: ; preds = %11, %11, %11, %11, %17, %15
%20 = phi i32 [ %14, %17 ], [ %14, %15 ], [ %12, %11 ], [ %12, %11 ], [ %12, %11 ], [ %12, %11 ]
%21 = phi i8* [ %13, %17 ], [ %16, %15 ], [ %13, %11 ], [ %13, %11 ], [ %13, %11 ], [ %13, %11 ]
%22 = tail call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%23 = icmp sgt i32 %22, 0
br i1 %23, label %11, label %24
24: ; preds = %19
%25 = icmp eq i32 %20, 0
br i1 %25, label %63, label %26
26: ; preds = %24
%27 = call i32 @gethostname(i8* %4, i32 255)
%28 = call %struct.hostent* @xgethostbyname(i8* %4)
%29 = getelementptr inbounds %struct.hostent, %struct.hostent* %28, i64 0, i32 0
%30 = load i8*, i8** %29
%31 = call i8* @strchr(i8* dereferenceable(1) %30, i8 signext 46)
switch i32 %20, label %78 [
i32 102, label %37
i32 115, label %39
i32 100, label %44
i32 105, label %32
]
32: ; preds = %26
%33 = getelementptr inbounds %struct.hostent, %struct.hostent* %28, i64 0, i32 1
%34 = load i64*, i64** %33
%35 = load i64, i64* %34
%36 = icmp eq i64 %35, 0
br i1 %36, label %61, label %49
37: ; preds = %26
%38 = call i32 @puts(i8* dereferenceable(1) %30)
br label %78
39: ; preds = %26
%40 = icmp eq i8* %31, null
br i1 %40, label %42, label %41
41: ; preds = %39
store i8 0, i8* %31
br label %42
42: ; preds = %41, %39
%43 = call i32 @puts(i8* %4)
br label %78
44: ; preds = %26
%45 = icmp eq i8* %31, null
br i1 %45, label %78, label %46
46: ; preds = %44
%47 = getelementptr inbounds i8, i8* %31, i64 1
%48 = call i32 @puts(i8* %47)
br label %78
49: ; preds = %32, %49
%50 = phi i64 [ %59, %49 ], [ %35, %32 ]
%51 = phi i64* [ %58, %49 ], [ %34, %32 ]
%52 = getelementptr inbounds i64, i64* %51, i64 1
store i64* %52, i64** %33
%53 = inttoptr i64 %50 to %struct.in_addr*
%54 = getelementptr inbounds %struct.in_addr, %struct.in_addr* %53, i64 0, i32 0
%55 = load i32, i32* %54
%56 = call i8* @inet_ntoa(i32 %55)
%57 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %56)
%58 = load i64*, i64** %33
%59 = load i64, i64* %58
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %49
61: ; preds = %49, %32
%62 = call i32 @putchar(i32 10)
br label %78
63: ; preds = %24
%64 = icmp eq i8* %21, null
br i1 %64, label %67, label %65
65: ; preds = %63
%66 = tail call i32 @do_sethostname(i8* %21, i32 1)
br label %78
67: ; preds = %8, %63
%68 = load i32, i32* @optind
%69 = icmp slt i32 %68, %0
br i1 %69, label %70, label %75
70: ; preds = %67
%71 = sext i32 %68 to i64
%72 = getelementptr inbounds i8*, i8** %1, i64 %71
%73 = load i8*, i8** %72
%74 = tail call i32 @do_sethostname(i8* %73, i32 0)
br label %78
75: ; preds = %67
%76 = call i32 @gethostname(i8* %4, i32 255)
%77 = call i32 @puts(i8* %4)
br label %78
78: ; preds = %26, %65, %75, %70, %37, %46, %44, %61, %42
ret i32 0
}