#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 tcphdr {
  int doff;
  int ack_seq;
  int res1;
  int cwr;
  int ece;
  int urg;
  int ack;
  int psh;
  int rst;
  int syn;
  int fin;
  int window;
  int check;
  int urg_ptr;
  int /*<<< orphan*/ dest;
  int /*<<< orphan*/ source;
};

/* Variables and functions */
int ntohs(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
void printTCPHeader(struct tcphdr *tcph) {
  printf("------------TCP Header\n");
  printf("tcp header length : %zu\n", sizeof(struct tcphdr));
  printf("tcp option length : %d\n", tcph->doff * 4 - 20);
  printf("source port: \t%d\n", ntohs(tcph->source));
  printf("dest port: \t%d\n", ntohs(tcph->dest));
  printf("ack_seq: \t\t%d\n", tcph->ack_seq);
  printf("doff: \t\t%d\n", tcph->doff);
  printf("res1: \t\t%d\n", tcph->res1);
  printf("cwr: \t\t%d\n", tcph->cwr);
  printf("ece: \t\t%d\n", tcph->ece);
  printf("urg: \t\t%d\n", tcph->urg);
  printf("ack: \t\t%d\n", tcph->ack);
  printf("psh: \t\t%d\n", tcph->psh);
  printf("rst: \t\t%d\n", tcph->rst);
  printf("syn: \t\t%d\n", tcph->syn);
  printf("fin: \t\t%d\n", tcph->fin);
  printf("window: \t\t%d\n", tcph->window);
  printf("check: \t\t%x\n", tcph->check);
  printf("urg_ptr: \t\t%d\n", tcph->urg_ptr);
  printf("----------------------\n\n");
}


x86 assembly (clang, -O0):
<printTCPHeader>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xecd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed7(%rip),%rdi
mov    $0x40,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
shl    $0x2,%esi
sub    $0x14,%esi
lea    0xed1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x3c(%rax),%edi
call   1040 <ntohs@plt>
mov    %eax,%esi
lea    0xecd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x38(%rax),%edi
call   1040 <ntohs@plt>
mov    %eax,%esi
lea    0xec3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%esi
lea    0xebe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
lea    0xeb9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%esi
lea    0xeb0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%esi
lea    0xea7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%esi
lea    0xe9d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x14(%rax),%esi
lea    0xe93(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%esi
lea    0xe89(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x1c(%rax),%esi
lea    0xe7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x20(%rax),%esi
lea    0xe75(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x24(%rax),%esi
lea    0xe6b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x28(%rax),%esi
lea    0xe61(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x2c(%rax),%esi
lea    0xe57(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x30(%rax),%esi
lea    0xe50(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x34(%rax),%esi
lea    0xe48(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe49(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printTCPHeader>:
push   %rbx
mov    %rdi,%rbx
lea    0xfc1(%rip),%rdi
call   1030 <puts@plt>
lea    0xeb9(%rip),%rdi
mov    $0x40,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%eax
lea    -0x14(,%rax,4),%esi
lea    0xeb6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x3c(%rbx),%edi
call   1050 <ntohs@plt>
lea    0xeb8(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x38(%rbx),%edi
call   1050 <ntohs@plt>
lea    0xeb2(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4(%rbx),%esi
lea    0xeaf(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%esi
lea    0xeae(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rbx),%esi
lea    0xea9(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc(%rbx),%esi
lea    0xea4(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%esi
lea    0xe9e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rbx),%esi
lea    0xe98(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rbx),%esi
lea    0xe92(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x1c(%rbx),%esi
lea    0xe8c(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x20(%rbx),%esi
lea    0xe86(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x24(%rbx),%esi
lea    0xe80(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x28(%rbx),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2c(%rbx),%esi
lea    0xe74(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x30(%rbx),%esi
lea    0xe71(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x34(%rbx),%esi
lea    0xe6d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe85(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
%struct.tcphdr = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@.str = [24 x i8] c"------------TCP Header\0A\00"
@.str.1 = [25 x i8] c"tcp header length : %zu\0A\00"
@.str.2 = [24 x i8] c"tcp option length : %d\0A\00"
@.str.3 = [18 x i8] c"source port: \09%d\0A\00"
@.str.4 = [16 x i8] c"dest port: \09%d\0A\00"
@.str.5 = [15 x i8] c"ack_seq: \09\09%d\0A\00"
@.str.6 = [12 x i8] c"doff: \09\09%d\0A\00"
@.str.7 = [12 x i8] c"res1: \09\09%d\0A\00"
@.str.8 = [11 x i8] c"cwr: \09\09%d\0A\00"
@.str.9 = [11 x i8] c"ece: \09\09%d\0A\00"
@.str.10 = [11 x i8] c"urg: \09\09%d\0A\00"
@.str.11 = [11 x i8] c"ack: \09\09%d\0A\00"
@.str.12 = [11 x i8] c"psh: \09\09%d\0A\00"
@.str.13 = [11 x i8] c"rst: \09\09%d\0A\00"
@.str.14 = [11 x i8] c"syn: \09\09%d\0A\00"
@.str.15 = [11 x i8] c"fin: \09\09%d\0A\00"
@.str.16 = [14 x i8] c"window: \09\09%d\0A\00"
@.str.17 = [13 x i8] c"check: \09\09%x\0A\00"
@.str.18 = [15 x i8] c"urg_ptr: \09\09%d\0A\00"
@.str.19 = [25 x i8] c"----------------------\0A\0A\00"
define void @printTCPHeader(%struct.tcphdr* %0) {
%2 = alloca %struct.tcphdr*
store %struct.tcphdr* %0, %struct.tcphdr** %2
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0), i64 64)
%5 = load %struct.tcphdr*, %struct.tcphdr** %2
%6 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %5, i32 0, i32 0
%7 = load i32, i32* %6
%8 = mul nsw i32 %7, 4
%9 = sub nsw i32 %8, 20
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %9)
%11 = load %struct.tcphdr*, %struct.tcphdr** %2
%12 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %11, i32 0, i32 15
%13 = load i32, i32* %12
%14 = call i32 @ntohs(i32 %13)
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 %14)
%16 = load %struct.tcphdr*, %struct.tcphdr** %2
%17 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %16, i32 0, i32 14
%18 = load i32, i32* %17
%19 = call i32 @ntohs(i32 %18)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %19)
%21 = load %struct.tcphdr*, %struct.tcphdr** %2
%22 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %21, i32 0, i32 1
%23 = load i32, i32* %22
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 %23)
%25 = load %struct.tcphdr*, %struct.tcphdr** %2
%26 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %25, i32 0, i32 0
%27 = load i32, i32* %26
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %27)
%29 = load %struct.tcphdr*, %struct.tcphdr** %2
%30 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %29, i32 0, i32 2
%31 = load i32, i32* %30
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i32 %31)
%33 = load %struct.tcphdr*, %struct.tcphdr** %2
%34 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %33, i32 0, i32 3
%35 = load i32, i32* %34
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i32 %35)
%37 = load %struct.tcphdr*, %struct.tcphdr** %2
%38 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %37, i32 0, i32 4
%39 = load i32, i32* %38
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %39)
%41 = load %struct.tcphdr*, %struct.tcphdr** %2
%42 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %41, i32 0, i32 5
%43 = load i32, i32* %42
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i32 %43)
%45 = load %struct.tcphdr*, %struct.tcphdr** %2
%46 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %45, i32 0, i32 6
%47 = load i32, i32* %46
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i32 %47)
%49 = load %struct.tcphdr*, %struct.tcphdr** %2
%50 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %49, i32 0, i32 7
%51 = load i32, i32* %50
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32 %51)
%53 = load %struct.tcphdr*, %struct.tcphdr** %2
%54 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %53, i32 0, i32 8
%55 = load i32, i32* %54
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i32 %55)
%57 = load %struct.tcphdr*, %struct.tcphdr** %2
%58 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %57, i32 0, i32 9
%59 = load i32, i32* %58
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 %59)
%61 = load %struct.tcphdr*, %struct.tcphdr** %2
%62 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %61, i32 0, i32 10
%63 = load i32, i32* %62
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i32 %63)
%65 = load %struct.tcphdr*, %struct.tcphdr** %2
%66 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %65, i32 0, i32 11
%67 = load i32, i32* %66
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.16, i64 0, i64 0), i32 %67)
%69 = load %struct.tcphdr*, %struct.tcphdr** %2
%70 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %69, i32 0, i32 12
%71 = load i32, i32* %70
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.17, i64 0, i64 0), i32 %71)
%73 = load %struct.tcphdr*, %struct.tcphdr** %2
%74 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %73, i32 0, i32 13
%75 = load i32, i32* %74
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.18, i64 0, i64 0), i32 %75)
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.19, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
%struct.tcphdr = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@.str.1 = [25 x i8] c"tcp header length : %zu\0A\00"
@.str.2 = [24 x i8] c"tcp option length : %d\0A\00"
@.str.3 = [18 x i8] c"source port: \09%d\0A\00"
@.str.4 = [16 x i8] c"dest port: \09%d\0A\00"
@.str.5 = [15 x i8] c"ack_seq: \09\09%d\0A\00"
@.str.6 = [12 x i8] c"doff: \09\09%d\0A\00"
@.str.7 = [12 x i8] c"res1: \09\09%d\0A\00"
@.str.8 = [11 x i8] c"cwr: \09\09%d\0A\00"
@.str.9 = [11 x i8] c"ece: \09\09%d\0A\00"
@.str.10 = [11 x i8] c"urg: \09\09%d\0A\00"
@.str.11 = [11 x i8] c"ack: \09\09%d\0A\00"
@.str.12 = [11 x i8] c"psh: \09\09%d\0A\00"
@.str.13 = [11 x i8] c"rst: \09\09%d\0A\00"
@.str.14 = [11 x i8] c"syn: \09\09%d\0A\00"
@.str.15 = [11 x i8] c"fin: \09\09%d\0A\00"
@.str.16 = [14 x i8] c"window: \09\09%d\0A\00"
@.str.17 = [13 x i8] c"check: \09\09%x\0A\00"
@.str.18 = [15 x i8] c"urg_ptr: \09\09%d\0A\00"
@str = [23 x i8] c"------------TCP Header\00"
@str.20 = [24 x i8] c"----------------------\0A\00"
define void @printTCPHeader(%struct.tcphdr* nocapture %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0), i64 64)
%4 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 0
%5 = load i32, i32* %4
%6 = shl nsw i32 %5, 2
%7 = add nsw i32 %6, -20
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %7)
%9 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 15
%10 = load i32, i32* %9
%11 = tail call i32 @ntohs(i32 %10)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 %11)
%13 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 14
%14 = load i32, i32* %13
%15 = tail call i32 @ntohs(i32 %14)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %15)
%17 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 1
%18 = load i32, i32* %17
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 %18)
%20 = load i32, i32* %4
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %20)
%22 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 2
%23 = load i32, i32* %22
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i32 %23)
%25 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 3
%26 = load i32, i32* %25
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i32 %26)
%28 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 4
%29 = load i32, i32* %28
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %29)
%31 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 5
%32 = load i32, i32* %31
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i32 %32)
%34 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 6
%35 = load i32, i32* %34
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i32 %35)
%37 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 7
%38 = load i32, i32* %37
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32 %38)
%40 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 8
%41 = load i32, i32* %40
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i32 %41)
%43 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 9
%44 = load i32, i32* %43
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 %44)
%46 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 10
%47 = load i32, i32* %46
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i32 %47)
%49 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 11
%50 = load i32, i32* %49
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.16, i64 0, i64 0), i32 %50)
%52 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 12
%53 = load i32, i32* %52
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.17, i64 0, i64 0), i32 %53)
%55 = getelementptr inbounds %struct.tcphdr, %struct.tcphdr* %0, i64 0, i32 13
%56 = load i32, i32* %55
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.18, i64 0, i64 0), i32 %56)
%58 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.20, i64 0, i64 0))
ret void
}