#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);
int /*<<< orphan*/ getchar();
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);
  }
  while (1) {
    printf("please input sudoku elements\n");
    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");
    }
    getchar();
  }
  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    0x2e18(%rip),%rax
mov    (%rax),%edi
mov    0x2dff(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10d0 <socket@plt>
mov    %eax,-0x14(%rbp)
mov    0x2dfc(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x16c(%rbp)
mov    0x2ded(%rip),%rax
mov    (%rax),%edi
lea    -0x178(%rbp),%rdx
add    $0x8,%rdx
lea    0xdf1(%rip),%rsi
call   1080 <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   10c0 <connect@plt>
cmp    $0xffffffff,%eax
jne    125a <main+0xaa>
lea    0xdc6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   10b0 <exit@plt>
jmp    125f <main+0xaf>
lea    0xdbf(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x17c(%rbp)
cmpl   $0x51,-0x17c(%rbp)
jge    131e <main+0x16e>
movslq -0x17c(%rbp),%rax
lea    -0x160(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xda3(%rip),%rdi
call   10a0 <scanf@plt>
movslq -0x17c(%rbp),%rax
cmpl   $0x9,-0x160(%rbp,%rax,4)
09
jg     12cf <main+0x11f>
movslq -0x17c(%rbp),%rax
cmpl   $0x0,-0x160(%rbp,%rax,4)
jge    12e7 <main+0x137>
lea    0xd70(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   10b0 <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    1277 <main+0xc7>
mov    -0x14(%rbp),%edi
lea    -0x160(%rbp),%rsi
mov    $0x144,%edx
call   1030 <write@plt>
mov    %eax,-0x18(%rbp)
cmp    $0xffffffff,%eax
jne    1356 <main+0x1a6>
lea    0xd0e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   10b0 <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    138e <main+0x1de>
lea    0xcea(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0xffffffff,%edi
call   10b0 <exit@plt>
movl   $0x0,-0x164(%rbp)
cmpl   $0x9,-0x164(%rbp)
jge    141d <main+0x26d>
movl   $0x0,-0x168(%rbp)
cmpl   $0x9,-0x168(%rbp)
jge    13fb <main+0x24b>
imul   $0x9,-0x164(%rbp),%eax
add    -0x168(%rbp),%eax
cltq
mov    -0x160(%rbp,%rax,4),%edi
call   1090 <ntohs@plt>
mov    %eax,%esi
lea    0xc9a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x168(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x168(%rbp)
jmp    13af <main+0x1ff>
lea    0xc76(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x164(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x164(%rbp)
jmp    1398 <main+0x1e8>
mov    $0x0,%al
call   1070 <getchar@plt>
jmp    125f <main+0xaf>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x158,%rsp
mov    0x2e00(%rip),%rbx
mov    (%rbx),%edi
mov    0x2de7(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10f0 <socket@plt>
mov    %eax,%r12d
mov    (%rbx),%edi
mov    %edi,0xc(%rsp)
lea    0x8(%rsp),%rdx
lea    0xdf1(%rip),%rsi
call   10a0 <inet_pton@plt>
mov    $0x1000,%edi
call   1060 <htons@plt>
mov    %rax,(%rsp)
mov    %rsp,%rsi
mov    %r12d,%edi
mov    $0x10,%edx
call   10e0 <connect@plt>
cmp    $0xffffffff,%eax
jne    1243 <main+0x73>
lea    0xe26(%rip),%rdi
jmp    13ca <main+0x1fa>
lea    0xdcc(%rip),%r14
lea    0xdbe(%rip),%r13
lea    0x10(%rsp),%r15
lea    0xdb5(%rip),%rbp
nopl   (%rax)
mov    %r14,%rdi
call   1040 <puts@plt>
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
lea    (%rsp,%rbx,1),%rsi
add    $0x10,%rsi
mov    %r13,%rdi
call   10c0 <scanf@plt>
mov    0x10(%rsp,%rbx,1),%edi
cmp    $0xa,%edi
jae    13c3 <main+0x1f3>
call   1060 <htons@plt>
mov    %eax,0x10(%rsp,%rbx,1)
add    $0x4,%rbx
cmp    $0x144,%rbx
jne    1270 <main+0xa0>
mov    %r12d,%edi
mov    %r15,%rsi
mov    $0x144,%edx
call   1050 <write@plt>
cmp    $0xffffffff,%eax
je     13d9 <main+0x209>
mov    %r12d,%edi
mov    %r15,%rsi
mov    $0x144,%edx
call   1080 <read@plt>
cmp    $0xffffffff,%eax
je     13e2 <main+0x212>
mov    $0x20,%ebx
nopw   0x0(%rax,%rax,1)
mov    -0x10(%rsp,%rbx,1),%edi
call   10b0 <ntohs@plt>
mov    %rbp,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    -0xc(%rsp,%rbx,1),%edi
call   10b0 <ntohs@plt>
mov    %rbp,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    -0x8(%rsp,%rbx,1),%edi
call   10b0 <ntohs@plt>
mov    %rbp,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    -0x4(%rsp,%rbx,1),%edi
call   10b0 <ntohs@plt>
mov    %rbp,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    (%rsp,%rbx,1),%edi
call   10b0 <ntohs@plt>
mov    %rbp,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x4(%rsp,%rbx,1),%edi
call   10b0 <ntohs@plt>
mov    %rbp,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x8(%rsp,%rbx,1),%edi
call   10b0 <ntohs@plt>
mov    %rbp,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0xc(%rsp,%rbx,1),%edi
call   10b0 <ntohs@plt>
mov    %rbp,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x10(%rsp,%rbx,1),%edi
call   10b0 <ntohs@plt>
mov    %rbp,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x24,%rbx
cmp    $0x164,%rbx
jne    12e0 <main+0x110>
xor    %eax,%eax
call   1090 <getchar@plt>
jmp    1260 <main+0x90>
lea    0xc8e(%rip),%rdi
call   1040 <puts@plt>
mov    $0xffffffff,%edi
call   10d0 <exit@plt>
lea    0xc65(%rip),%rdi
jmp    13ca <main+0x1fa>
lea    0xc4a(%rip),%rdi
jmp    13ca <main+0x1fa>

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 = [30 x i8] c"please input sudoku elements\0A\00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [13 x i8] c"error input\0A\00"
@.str.5 = [20 x i8] c"client write error\0A\00"
@.str.6 = [19 x i8] c"client read error\0A\00"
@.str.7 = [4 x i8] c"%2d\00"
@.str.8 = [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
br label %31
31: ; preds = %30, %110
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %12
br label %33
33: ; preds = %65, %31
%34 = load i32, i32* %12
%35 = icmp slt i32 %34, 81
br i1 %35, label %36, label %68
36: ; preds = %33
%37 = load i32, i32* %12
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %38
%40 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %39)
%41 = load i32, i32* %12
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %42
%44 = load i32, i32* %43
%45 = icmp sgt i32 %44, 9
br i1 %45, label %52, label %46
46: ; preds = %36
%47 = load i32, i32* %12
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %48
%50 = load i32, i32* %49
%51 = icmp slt i32 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %46, %36
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%54 = call i32 @exit(i32 -1)
unreachable
55: ; preds = %46
%56 = load i32, i32* %12
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %57
%59 = load i32, i32* %58
%60 = call i8* @htons(i32 %59)
%61 = ptrtoint i8* %60 to i32
%62 = load i32, i32* %12
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %63
store i32 %61, i32* %64
br label %65
65: ; preds = %55
%66 = load i32, i32* %12
%67 = add nsw i32 %66, 1
store i32 %67, i32* %12
br label %33
68: ; preds = %33
%69 = load i32, i32* %6
%70 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 0
%71 = call i32 @write(i32 %69, i32* %70, i32 324)
store i32 %71, i32* %7
%72 = icmp eq i32 %71, -1
br i1 %72, label %73, label %76
73: ; preds = %68
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0))
%75 = call i32 @exit(i32 -1)
unreachable
76: ; preds = %68
%77 = load i32, i32* %6
%78 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 0
%79 = call i32 @read(i32 %77, i32* %78, i32 324)
store i32 %79, i32* %7
%80 = icmp eq i32 %79, -1
br i1 %80, label %81, label %84
81: ; preds = %76
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0))
%83 = call i32 @exit(i32 -1)
unreachable
84: ; preds = %76
store i32 0, i32* %9
br label %85
85: ; preds = %107, %84
%86 = load i32, i32* %9
%87 = icmp slt i32 %86, 9
br i1 %87, label %88, label %110
88: ; preds = %85
store i32 0, i32* %10
br label %89
89: ; preds = %102, %88
%90 = load i32, i32* %10
%91 = icmp slt i32 %90, 9
br i1 %91, label %92, label %105
92: ; preds = %89
%93 = load i32, i32* %9
%94 = mul nsw i32 %93, 9
%95 = load i32, i32* %10
%96 = add nsw i32 %94, %95
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [81 x i32], [81 x i32]* %8, i64 0, i64 %97
%99 = load i32, i32* %98
%100 = call i32 @ntohs(i32 %99)
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %100)
br label %102
102: ; preds = %92
%103 = load i32, i32* %10
%104 = add nsw i32 %103, 1
store i32 %104, i32* %10
br label %89
105: ; preds = %89
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %107
107: ; preds = %105
%108 = load i32, i32* %9
%109 = add nsw i32 %108, 1
store i32 %109, i32* %9
br label %85
110: ; preds = %85
%111 = call i32 (...) @getchar()
br label %31
}

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.3 = [3 x i8] c"%d\00"
@.str.7 = [4 x i8] c"%2d\00"
@str = [29 x i8] c"please input sudoku elements\00"
@str.9 = [18 x i8] c"client read error\00"
@str.10 = [19 x i8] c"client write error\00"
@str.11 = [12 x i8] c"error input\00"
@str.12 = [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 %21, label %19
19: ; preds = %2
%20 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 0
br label %24
21: ; preds = %2
%22 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.12, i64 0, i64 0))
%23 = call i32 @exit(i32 -1)
unreachable
24: ; preds = %19, %103
%25 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str, i64 0, i64 0))
br label %29
26: ; preds = %38
%27 = call i32 @write(i32 %8, i32* %20, i32 324)
%28 = icmp eq i32 %27, -1
br i1 %28, label %44, label %47
29: ; preds = %24, %38
%30 = phi i64 [ 0, %24 ], [ %42, %38 ]
%31 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %30
%32 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %31)
%33 = load i32, i32* %31
%34 = icmp ugt i32 %33, 9
br i1 %34, label %35, label %38
35: ; preds = %29
%36 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.11, i64 0, i64 0))
%37 = call i32 @exit(i32 -1)
unreachable
38: ; preds = %29
%39 = call i8* @htons(i32 %33)
%40 = ptrtoint i8* %39 to i64
%41 = trunc i64 %40 to i32
store i32 %41, i32* %31
%42 = add nuw nsw i64 %30, 1
%43 = icmp eq i64 %42, 81
br i1 %43, label %26, label %29
44: ; preds = %26
%45 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.10, i64 0, i64 0))
%46 = call i32 @exit(i32 -1)
unreachable
47: ; preds = %26
%48 = call i32 @read(i32 %8, i32* %20, i32 324)
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.9, i64 0, i64 0))
%52 = call i32 @exit(i32 -1)
unreachable
53: ; preds = %47, %53
%54 = phi i64 [ %101, %53 ], [ 0, %47 ]
%55 = mul nuw nsw i64 %54, 9
%56 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %55
%57 = load i32, i32* %56
%58 = call i32 @ntohs(i32 %57)
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %58)
%60 = add nuw nsw i64 %55, 1
%61 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %60
%62 = load i32, i32* %61
%63 = call i32 @ntohs(i32 %62)
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %63)
%65 = add nuw nsw i64 %55, 2
%66 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %65
%67 = load i32, i32* %66
%68 = call i32 @ntohs(i32 %67)
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %68)
%70 = add nuw nsw i64 %55, 3
%71 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %70
%72 = load i32, i32* %71
%73 = call i32 @ntohs(i32 %72)
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %73)
%75 = add nuw nsw i64 %55, 4
%76 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %75
%77 = load i32, i32* %76
%78 = call i32 @ntohs(i32 %77)
%79 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %78)
%80 = add nuw nsw i64 %55, 5
%81 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %80
%82 = load i32, i32* %81
%83 = call i32 @ntohs(i32 %82)
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %83)
%85 = add nuw nsw i64 %55, 6
%86 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %85
%87 = load i32, i32* %86
%88 = call i32 @ntohs(i32 %87)
%89 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %88)
%90 = add nuw nsw i64 %55, 7
%91 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %90
%92 = load i32, i32* %91
%93 = call i32 @ntohs(i32 %92)
%94 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %93)
%95 = add nuw nsw i64 %55, 8
%96 = getelementptr inbounds [81 x i32], [81 x i32]* %3, i64 0, i64 %95
%97 = load i32, i32* %96
%98 = call i32 @ntohs(i32 %97)
%99 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %98)
%100 = call i32 @putchar(i32 10)
%101 = add nuw nsw i64 %54, 1
%102 = icmp eq i64 %101, 9
br i1 %102, label %103, label %53
103: ; preds = %53
%104 = call i32 (...) @getchar()
br label %24
}