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

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ SOCK_STREAM;
int connect(int, struct sockaddr *, int);
int /*<<< orphan*/ exit(int);
void *htons(int);
int /*<<< orphan*/ inet_pton(int /*<<< orphan*/, char *, int /*<<< orphan*/ *);
int ntohs(int);
int /*<<< orphan*/ printf(char *, ...);
int read(int, int *, int);
int /*<<< orphan*/ scanf(char *, int *);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int write(int, int *, int);
int main(int argc, char **argv) {
  int clifd;
  int num;
  int mes[81];
  int i;
  int j;
  clifd = socket(AF_INET, SOCK_STREAM, 0);
  struct sockaddr_in seraddr;
  seraddr.sin_family = AF_INET;
  inet_pton(AF_INET, "120.27.121.115", &seraddr.sin_addr);
  seraddr.sin_port = htons(4096);
  if (connect(clifd, (struct sockaddr *)&seraddr, sizeof(seraddr)) == -1) {
    printf("client connect error\n");
    exit(-1);
  }
  for (int i = 0; i < 81; ++i) {
    scanf("%d", &mes[i]);
    if (mes[i] > 9 || mes[i] < 0) {
      printf("error input\n");
      exit(-1);
    }
    mes[i] = htons(mes[i]);
  }
  if ((num = write(clifd, mes, sizeof(int) * 81)) == -1) {
    printf("client write error\n");
    exit(-1);
  }
  if ((num = read(clifd, mes, sizeof(int) * 81)) == -1) {
    printf("client read error\n");
    exit(-1);
  }
  for (i = 0; i < 9; ++i) {
    for (j = 0; j < 9; ++j) {
      printf("%2d", ntohs(mes[i * 9 + j]));
    }
    printf("\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x180,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e28(%rip),%rax
mov    (%rax),%edi
mov    0x2e0f(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10c0 <socket@plt>
mov    %eax,-0x14(%rbp)
mov    0x2e0c(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x16c(%rbp)
mov    0x2dfd(%rip),%rax
mov    (%rax),%edi
lea    -0x178(%rbp),%rdx
add    $0x8,%rdx
lea    0xe01(%rip),%rsi
call   1070 <inet_pton@plt>
mov    $0x1000,%edi
call   1040 <htons@plt>
mov    %rax,-0x178(%rbp)
mov    -0x14(%rbp),%edi
lea    -0x178(%rbp),%rsi
mov    $0x10,%edx
call   10b0 <connect@plt>
cmp    $0xffffffff,%eax
jne    124a <main+0xaa>
lea    0xdd6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   10a0 <exit@plt>
movl   $0x0,-0x17c(%rbp)
cmpl   $0x51,-0x17c(%rbp)
jge    12fb <main+0x15b>
movslq -0x17c(%rbp),%rax
lea    -0x160(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xda8(%rip),%rdi
call   1090 <scanf@plt>
movslq -0x17c(%rbp),%rax
cmpl   $0x9,-0x160(%rbp,%rax,4)
09
jg     12ac <main+0x10c>
movslq -0x17c(%rbp),%rax
cmpl   $0x0,-0x160(%rbp,%rax,4)
jge    12c4 <main+0x124>
lea    0xd75(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   10a0 <exit@plt>
movslq -0x17c(%rbp),%rax
mov    -0x160(%rbp,%rax,4),%edi
call   1040 <htons@plt>
mov    %eax,%ecx
movslq -0x17c(%rbp),%rax
mov    %ecx,-0x160(%rbp,%rax,4)
mov    -0x17c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x17c(%rbp)
jmp    1254 <main+0xb4>
mov    -0x14(%rbp),%edi
lea    -0x160(%rbp),%rsi
mov    $0x144,%edx
call   1030 <write@plt>
mov    %eax,-0x18(%rbp)
cmp    $0xffffffff,%eax
jne    1333 <main+0x193>
lea    0xd13(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   10a0 <exit@plt>
mov    -0x14(%rbp),%edi
lea    -0x160(%rbp),%rsi
mov    $0x144,%edx
call   1060 <read@plt>
mov    %eax,-0x18(%rbp)
cmp    $0xffffffff,%eax
jne    136b <main+0x1cb>
lea    0xcef(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   10a0 <exit@plt>
movl   $0x0,-0x164(%rbp)
cmpl   $0x9,-0x164(%rbp)
jge    13fa <main+0x25a>
movl   $0x0,-0x168(%rbp)
cmpl   $0x9,-0x168(%rbp)
jge    13d8 <main+0x238>
imul   $0x9,-0x164(%rbp),%eax
add    -0x168(%rbp),%eax
cltq
mov    -0x160(%rbp,%rax,4),%edi
call   1080 <ntohs@plt>
mov    %eax,%esi
lea    0xc9f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x168(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x168(%rbp)
jmp    138c <main+0x1ec>
lea    0xc7b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x164(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x164(%rbp)
jmp    1375 <main+0x1d5>
xor    %eax,%eax
add    $0x180,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x160,%rsp
mov    0x2e16(%rip),%rbx
mov    (%rbx),%edi
mov    0x2dfd(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10e0 <socket@plt>
mov    %eax,%r14d
mov    (%rbx),%edi
mov    %edi,0xc(%rsp)
lea    0x8(%rsp),%rdx
lea    0xe07(%rip),%rsi
call   1090 <inet_pton@plt>
mov    $0x1000,%edi
call   1060 <htons@plt>
mov    %rax,(%rsp)
mov    %rsp,%rsi
mov    %r14d,%edi
mov    $0x10,%edx
call   10d0 <connect@plt>
cmp    $0xffffffff,%eax
je     13ab <main+0x1eb>
xor    %ebp,%ebp
lea    0xde1(%rip),%rbx
xchg   %ax,%ax
lea    (%rsp,%rbp,1),%rsi
add    $0x10,%rsi
mov    %rbx,%rdi
call   10b0 <scanf@plt>
mov    0x10(%rsp,%rbp,1),%edi
cmp    $0xa,%edi
jae    1395 <main+0x1d5>
call   1060 <htons@plt>
mov    %eax,0x10(%rsp,%rbp,1)
add    $0x4,%rbp
cmp    $0x144,%rbp
jne    1230 <main+0x70>
lea    0x10(%rsp),%rsi
mov    %r14d,%edi
mov    $0x144,%edx
call   1050 <write@plt>
cmp    $0xffffffff,%eax
je     13b4 <main+0x1f4>
lea    0x10(%rsp),%rsi
mov    %r14d,%edi
mov    $0x144,%edx
call   1080 <read@plt>
cmp    $0xffffffff,%eax
je     13bd <main+0x1fd>
mov    $0x20,%ebp
lea    0xd6d(%rip),%rbx
cs nopw 0x0(%rax,%rax,1)
nop
mov    -0x10(%rsp,%rbp,1),%edi
call   10a0 <ntohs@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    -0xc(%rsp,%rbp,1),%edi
call   10a0 <ntohs@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    -0x8(%rsp,%rbp,1),%edi
call   10a0 <ntohs@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    -0x4(%rsp,%rbp,1),%edi
call   10a0 <ntohs@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    (%rsp,%rbp,1),%edi
call   10a0 <ntohs@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x4(%rsp,%rbp,1),%edi
call   10a0 <ntohs@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x8(%rsp,%rbp,1),%edi
call   10a0 <ntohs@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0xc(%rsp,%rbp,1),%edi
call   10a0 <ntohs@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x10(%rsp,%rbp,1),%edi
call   10a0 <ntohs@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x24,%rbp
cmp    $0x164,%rbp
jne    12b0 <main+0xf0>
xor    %eax,%eax
add    $0x160,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret
lea    0xc9f(%rip),%rdi
call   1040 <puts@plt>
mov    $0xffffffff,%edi
call   10c0 <exit@plt>
lea    0xc95(%rip),%rdi
jmp    139c <main+0x1dc>
lea    0xc6d(%rip),%rdi
jmp    139c <main+0x1dc>
lea    0xc52(%rip),%rdi
jmp    139c <main+0x1dc>

LLVM IR (-O0):
%struct.sockaddr_in = type { i8*, i32, i32 }
%struct.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [15 x i8] c"120.27.121.115\00"
@.str.1 = [22 x i8] c"client connect error\0A\00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [13 x i8] c"error input\0A\00"
@.str.4 = [20 x i8] c"client write error\0A\00"
@.str.5 = [19 x i8] c"client read error\0A\00"
@.str.6 = [4 x i8] c"%2d\00"
@.str.7 = [2 x i8] c"\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca [81 x i32]
%9 = alloca i32
%10 = alloca i32
%11 = alloca %struct.sockaddr_in
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%13 = load i32, i32* @AF_INET
%14 = load i32, i32* @SOCK_STREAM
%15 = call i32 @socket(i32 %13, i32 %14, i32 0)
store i32 %15, i32* %6
%16 = load i32, i32* @AF_INET
%17 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %11, i32 0, i32 2
store i32 %16, i32* %17
%18 = load i32, i32* @AF_INET
%19 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %11, i32 0, i32 1
%20 = call i32 @inet_pton(i32 %18, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32* %19)
%21 = call i8* @htons(i32 4096)
%22 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %11, i32 0, i32 0
store i8* %21, i8** %22
%23 = load i32, i32* %6
%24 = bitcast %struct.sockaddr_in* %11 to %struct.sockaddr*
%25 = call i32 @connect(i32 %23, %struct.sockaddr* %24, i32 16)
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %30
27: ; preds = %2
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
%29 = call i32 @exit(i32 -1)
unreachable
30: ; preds = %2
store i32 0, i32* %12
br label %31
31: ; preds = %63, %30
%32 = load i32, i32* %12
%33 = icmp slt i32 %32, 81
br i1 %33, label %34, label %66
34: ; preds = %31
%35 = load i32, i32* %12
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %36
%38 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %37)
%39 = load i32, i32* %12
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %40
%42 = load i32, i32* %41
%43 = icmp sgt i32 %42, 9
br i1 %43, label %50, label %44
44: ; preds = %34
%45 = load i32, i32* %12
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %46
%48 = load i32, i32* %47
%49 = icmp slt i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %44, %34
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%52 = call i32 @exit(i32 -1)
unreachable
53: ; preds = %44
%54 = load i32, i32* %12
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %55
%57 = load i32, i32* %56
%58 = call i8* @htons(i32 %57)
%59 = ptrtoint i8* %58 to i32
%60 = load i32, i32* %12
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %61
store i32 %59, i32* %62
br label %63
63: ; preds = %53
%64 = load i32, i32* %12
%65 = add nsw i32 %64, 1
store i32 %65, i32* %12
br label %31
66: ; preds = %31
%67 = load i32, i32* %6
%68 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 0
%69 = call i32 @write(i32 %67, i32* %68, i32 324)
store i32 %69, i32* %7
%70 = icmp eq i32 %69, -1
br i1 %70, label %71, label %74
71: ; preds = %66
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0))
%73 = call i32 @exit(i32 -1)
unreachable
74: ; preds = %66
%75 = load i32, i32* %6
%76 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 0
%77 = call i32 @read(i32 %75, i32* %76, i32 324)
store i32 %77, i32* %7
%78 = icmp eq i32 %77, -1
br i1 %78, label %79, label %82
79: ; preds = %74
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
%81 = call i32 @exit(i32 -1)
unreachable
82: ; preds = %74
store i32 0, i32* %9
br label %83
83: ; preds = %105, %82
%84 = load i32, i32* %9
%85 = icmp slt i32 %84, 9
br i1 %85, label %86, label %108
86: ; preds = %83
store i32 0, i32* %10
br label %87
87: ; preds = %100, %86
%88 = load i32, i32* %10
%89 = icmp slt i32 %88, 9
br i1 %89, label %90, label %103
90: ; preds = %87
%91 = load i32, i32* %9
%92 = mul nsw i32 %91, 9
%93 = load i32, i32* %10
%94 = add nsw i32 %92, %93
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %95
%97 = load i32, i32* %96
%98 = call i32 @ntohs(i32 %97)
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %98)
br label %100
100: ; preds = %90
%101 = load i32, i32* %10
%102 = add nsw i32 %101, 1
store i32 %102, i32* %10
br label %87
103: ; preds = %87
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
br label %105
105: ; preds = %103
%106 = load i32, i32* %9
%107 = add nsw i32 %106, 1
store i32 %107, i32* %9
br label %83
108: ; preds = %83
ret i32 0
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i8*, i32, i32 }
%struct.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [15 x i8] c"120.27.121.115\00"
@.str.2 = [3 x i8] c"%d\00"
@.str.6 = [4 x i8] c"%2d\00"
@str = [18 x i8] c"client read error\00"
@str.8 = [19 x i8] c"client write error\00"
@str.9 = [12 x i8] c"error input\00"
@str.10 = [21 x i8] c"client connect error\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [81 x i32]
%4 = alloca %struct.sockaddr_in
%5 = bitcast [81 x i32]* %3 to i8*
%6 = load i32, i32* @AF_INET
%7 = load i32, i32* @SOCK_STREAM
%8 = tail call i32 @socket(i32 %6, i32 %7, i32 0)
%9 = bitcast %struct.sockaddr_in* %4 to i8*
%10 = load i32, i32* @AF_INET
%11 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 2
store i32 %10, i32* %11
%12 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 1
%13 = call i32 @inet_pton(i32 %10, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32* %12)
%14 = call i8* @htons(i32 4096)
%15 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 0
store i8* %14, i8** %15
%16 = bitcast %struct.sockaddr_in* %4 to %struct.sockaddr*
%17 = call i32 @connect(i32 %8, %struct.sockaddr* %16, i32 16)
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %26
19: ; preds = %2
%20 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.10, i64 0, i64 0))
%21 = call i32 @exit(i32 -1)
unreachable
22: ; preds = %35
%23 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 0
%24 = call i32 @write(i32 %8, i32* %23, i32 324)
%25 = icmp eq i32 %24, -1
br i1 %25, label %41, label %44
26: ; preds = %2, %35
%27 = phi i64 [ %39, %35 ], [ 0, %2 ]
%28 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %27
%29 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %28)
%30 = load i32, i32* %28
%31 = icmp ugt i32 %30, 9
br i1 %31, label %32, label %35
32: ; preds = %26
%33 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.9, i64 0, i64 0))
%34 = call i32 @exit(i32 -1)
unreachable
35: ; preds = %26
%36 = call i8* @htons(i32 %30)
%37 = ptrtoint i8* %36 to i64
%38 = trunc i64 %37 to i32
store i32 %38, i32* %28
%39 = add nuw nsw i64 %27, 1
%40 = icmp eq i64 %39, 81
br i1 %40, label %22, label %26
41: ; preds = %22
%42 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.8, i64 0, i64 0))
%43 = call i32 @exit(i32 -1)
unreachable
44: ; preds = %22
%45 = call i32 @read(i32 %8, i32* %23, i32 324)
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str, i64 0, i64 0))
%49 = call i32 @exit(i32 -1)
unreachable
50: ; preds = %44, %50
%51 = phi i64 [ %98, %50 ], [ 0, %44 ]
%52 = mul nuw nsw i64 %51, 9
%53 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %52
%54 = load i32, i32* %53
%55 = call i32 @ntohs(i32 %54)
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %55)
%57 = add nuw nsw i64 %52, 1
%58 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %57
%59 = load i32, i32* %58
%60 = call i32 @ntohs(i32 %59)
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %60)
%62 = add nuw nsw i64 %52, 2
%63 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %62
%64 = load i32, i32* %63
%65 = call i32 @ntohs(i32 %64)
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %65)
%67 = add nuw nsw i64 %52, 3
%68 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %67
%69 = load i32, i32* %68
%70 = call i32 @ntohs(i32 %69)
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %70)
%72 = add nuw nsw i64 %52, 4
%73 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %72
%74 = load i32, i32* %73
%75 = call i32 @ntohs(i32 %74)
%76 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %75)
%77 = add nuw nsw i64 %52, 5
%78 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %77
%79 = load i32, i32* %78
%80 = call i32 @ntohs(i32 %79)
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %80)
%82 = add nuw nsw i64 %52, 6
%83 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %82
%84 = load i32, i32* %83
%85 = call i32 @ntohs(i32 %84)
%86 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %85)
%87 = add nuw nsw i64 %52, 7
%88 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %87
%89 = load i32, i32* %88
%90 = call i32 @ntohs(i32 %89)
%91 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %90)
%92 = add nuw nsw i64 %52, 8
%93 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %92
%94 = load i32, i32* %93
%95 = call i32 @ntohs(i32 %94)
%96 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %95)
%97 = call i32 @putchar(i32 10)
%98 = add nuw nsw i64 %51, 1
%99 = icmp eq i64 %98, 9
br i1 %99, label %100, label %50
100: ; preds = %50
ret i32 0
}