#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 sock_extended_err {
  scalar_t__ ee_errno;
  scalar_t__ ee_origin;
  int /*<<< orphan*/ ee_data;
  int /*<<< orphan*/ ee_info;
};
struct scm_timestamping {
  int dummy;
};
struct msghdr {
  int dummy;
};
struct cmsghdr {
  scalar_t__ cmsg_level;
  scalar_t__ cmsg_type;
};

/* Variables and functions */
scalar_t__ CMSG_DATA(struct cmsghdr *);
struct cmsghdr *CMSG_FIRSTHDR(struct msghdr *);
struct cmsghdr *CMSG_NXTHDR(struct msghdr *, struct cmsghdr *);
scalar_t__ ENOMSG;
scalar_t__ IPV6_RECVERR;
scalar_t__ IP_RECVERR;
scalar_t__ SCM_TIMESTAMPING;
scalar_t__ SOL_IP;
scalar_t__ SOL_IPV6;
scalar_t__ SOL_SOCKET;
scalar_t__ SO_EE_ORIGIN_TIMESTAMPING;
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, scalar_t__, scalar_t__);
int /*<<< orphan*/ print_timestamp(struct scm_timestamping *,
                                   int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
void __recv_errmsg_cmsg(struct msghdr *msg) {
  struct sock_extended_err *serr = NULL;
  struct scm_timestamping *tss = NULL;
  struct cmsghdr *cm;
  for (cm = CMSG_FIRSTHDR(msg); cm; cm = CMSG_NXTHDR(msg, cm)) {
    if (cm->cmsg_level == SOL_SOCKET && cm->cmsg_type == SCM_TIMESTAMPING) {
      tss = (void *)CMSG_DATA(cm);
    } else if ((cm->cmsg_level == SOL_IP && cm->cmsg_type == IP_RECVERR) ||
               (cm->cmsg_level == SOL_IPV6 && cm->cmsg_type == IPV6_RECVERR)) {
      serr = (void *)CMSG_DATA(cm);
      if (serr->ee_errno != ENOMSG ||
          serr->ee_origin != SO_EE_ORIGIN_TIMESTAMPING) {
        fprintf(stderr, "unknown ip error %d %d\n", serr->ee_errno,
                serr->ee_origin);
        serr = NULL;
      }
    } else
      fprintf(stderr, "%d, %d\n", cm->cmsg_level, cm->cmsg_type);
  }
  if (serr && tss)
    print_timestamp(tss, serr->ee_info, serr->ee_data);
}


x86 assembly (clang, -O0):
<__recv_errmsg_cmsg>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
movq   $0x0,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
call   1070 <CMSG_FIRSTHDR@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
je     12d4 <__recv_errmsg_cmsg+0x184>
mov    -0x20(%rbp),%rax
mov    (%rax),%rax
mov    0x2e36(%rip),%rcx
cmp    (%rcx),%rax
jne    11c5 <__recv_errmsg_cmsg+0x75>
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%rax
mov    0x2e0e(%rip),%rcx
cmp    (%rcx),%rax
jne    11c5 <__recv_errmsg_cmsg+0x75>
mov    -0x20(%rbp),%rdi
call   1030 <CMSG_DATA@plt>
mov    %rax,-0x18(%rbp)
jmp    12b9 <__recv_errmsg_cmsg+0x169>
mov    -0x20(%rbp),%rax
mov    (%rax),%rax
mov    0x2e25(%rip),%rcx
cmp    (%rcx),%rax
jne    11f4 <__recv_errmsg_cmsg+0xa4>
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%rax
mov    0x2dd5(%rip),%rcx
cmp    (%rcx),%rax
je     1223 <__recv_errmsg_cmsg+0xd3>
mov    -0x20(%rbp),%rax
mov    (%rax),%rax
mov    0x2dde(%rip),%rcx
cmp    (%rcx),%rax
jne    1290 <__recv_errmsg_cmsg+0x140>
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%rax
mov    0x2dbe(%rip),%rcx
cmp    (%rcx),%rax
jne    1290 <__recv_errmsg_cmsg+0x140>
mov    -0x20(%rbp),%rdi
call   1030 <CMSG_DATA@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
mov    0x2d62(%rip),%rcx
cmp    (%rcx),%rax
jne    125f <__recv_errmsg_cmsg+0x10f>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    0x2d9a(%rip),%rcx
cmp    (%rcx),%rax
je     128b <__recv_errmsg_cmsg+0x13b>
mov    0x2d42(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rcx
lea    0xd82(%rip),%rsi
call   1050 <fprintf@plt>
movq   $0x0,-0x10(%rbp)
jmp    12b4 <__recv_errmsg_cmsg+0x164>
mov    0x2d11(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%rax
mov    (%rax),%rdx
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%rcx
lea    0xd69(%rip),%rsi
call   1050 <fprintf@plt>
jmp    12b9 <__recv_errmsg_cmsg+0x169>
jmp    12be <__recv_errmsg_cmsg+0x16e>
mov    -0x8(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1060 <CMSG_NXTHDR@plt>
mov    %rax,-0x20(%rbp)
jmp    1179 <__recv_errmsg_cmsg+0x29>
cmpq   $0x0,-0x10(%rbp)
je     1301 <__recv_errmsg_cmsg+0x1b1>
cmpq   $0x0,-0x18(%rbp)
je     1301 <__recv_errmsg_cmsg+0x1b1>
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x14(%rax),%esi
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%edx
call   1040 <print_timestamp@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<__recv_errmsg_cmsg>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdi,%r15
call   1070 <CMSG_FIRSTHDR@plt>
test   %rax,%rax
je     129a <__recv_errmsg_cmsg+0x14a>
mov    %rax,%rbx
xor    %r14d,%r14d
mov    0x2e4f(%rip),%r12
mov    0x2e78(%rip),%r13
xor    %ebp,%ebp
jmp    11bc <__recv_errmsg_cmsg+0x6c>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    0x2e11(%rip),%rax
mov    (%rax),%edi
lea    0xe78(%rip),%rsi
call   1050 <fprintf@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1060 <CMSG_NXTHDR@plt>
mov    %rax,%rbx
test   %rax,%rax
je     1274 <__recv_errmsg_cmsg+0x124>
mov    (%rbx),%rdx
cmp    (%r12),%rdx
jne    11f0 <__recv_errmsg_cmsg+0xa0>
mov    0x8(%rbx),%rax
mov    0x2de8(%rip),%rcx
cmp    (%rcx),%rax
jne    11f0 <__recv_errmsg_cmsg+0xa0>
mov    %rbx,%rdi
call   1030 <CMSG_DATA@plt>
mov    %rax,%r14
jmp    11a5 <__recv_errmsg_cmsg+0x55>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
cmp    0x0(%r13),%rdx
jne    1206 <__recv_errmsg_cmsg+0xb6>
mov    0x8(%rbx),%rax
mov    0x2dbf(%rip),%rcx
cmp    (%rcx),%rax
je     122a <__recv_errmsg_cmsg+0xda>
mov    0x8(%rbx),%rcx
mov    0x2dcf(%rip),%rax
cmp    (%rax),%rdx
jne    1190 <__recv_errmsg_cmsg+0x40>
mov    0x2db7(%rip),%rax
cmp    (%rax),%rcx
jne    1190 <__recv_errmsg_cmsg+0x40>
mov    %rbx,%rdi
call   1030 <CMSG_DATA@plt>
mov    %rax,%rbp
mov    (%rax),%rdx
mov    0x8(%rax),%rcx
mov    0x2d5d(%rip),%rax
cmp    (%rax),%rdx
jne    1258 <__recv_errmsg_cmsg+0x108>
mov    0x2da1(%rip),%rax
cmp    (%rax),%rcx
je     11a5 <__recv_errmsg_cmsg+0x55>
mov    0x2d49(%rip),%rax
mov    (%rax),%edi
lea    0xd98(%rip),%rsi
call   1050 <fprintf@plt>
xor    %ebp,%ebp
jmp    11a5 <__recv_errmsg_cmsg+0x55>
test   %rbp,%rbp
je     129a <__recv_errmsg_cmsg+0x14a>
test   %r14,%r14
je     129a <__recv_errmsg_cmsg+0x14a>
mov    0x10(%rbp),%edx
mov    0x14(%rbp),%esi
mov    %r14,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <print_timestamp@plt>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.msghdr = type { i32 }
%struct.sock_extended_err = type { i64, i64, i32, i32 }
%struct.scm_timestamping = type { i32 }
%struct.cmsghdr = type { i64, i64 }
@SOL_SOCKET = global i64 0
@SCM_TIMESTAMPING = global i64 0
@SOL_IP = global i64 0
@IP_RECVERR = global i64 0
@SOL_IPV6 = global i64 0
@IPV6_RECVERR = global i64 0
@ENOMSG = global i64 0
@SO_EE_ORIGIN_TIMESTAMPING = global i64 0
@stderr = global i32 0
@.str = [24 x i8] c"unknown ip error %d %d\0A\00"
@.str.1 = [8 x i8] c"%d, %d\0A\00"
define void @__recv_errmsg_cmsg(%struct.msghdr* %0) {
%2 = alloca %struct.msghdr*
%3 = alloca %struct.sock_extended_err*
%4 = alloca %struct.scm_timestamping*
%5 = alloca %struct.cmsghdr*
store %struct.msghdr* %0, %struct.msghdr** %2
store %struct.sock_extended_err* null, %struct.sock_extended_err** %3
store %struct.scm_timestamping* null, %struct.scm_timestamping** %4
%6 = load %struct.msghdr*, %struct.msghdr** %2
%7 = call %struct.cmsghdr* @CMSG_FIRSTHDR(%struct.msghdr* %6)
store %struct.cmsghdr* %7, %struct.cmsghdr** %5
br label %8
8: ; preds = %89, %1
%9 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%10 = icmp ne %struct.cmsghdr* %9, null
br i1 %10, label %11, label %93
11: ; preds = %8
%12 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%13 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %12, i32 0, i32 0
%14 = load i64, i64* %13
%15 = load i64, i64* @SOL_SOCKET
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %28
17: ; preds = %11
%18 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%19 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %18, i32 0, i32 1
%20 = load i64, i64* %19
%21 = load i64, i64* @SCM_TIMESTAMPING
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %28
23: ; preds = %17
%24 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%25 = call i64 @CMSG_DATA(%struct.cmsghdr* %24)
%26 = inttoptr i64 %25 to i8*
%27 = bitcast i8* %26 to %struct.scm_timestamping*
store %struct.scm_timestamping* %27, %struct.scm_timestamping** %4
br label %88
28: ; preds = %17, %11
%29 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%30 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %29, i32 0, i32 0
%31 = load i64, i64* %30
%32 = load i64, i64* @SOL_IP
%33 = icmp eq i64 %31, %32
br i1 %33, label %34, label %40
34: ; preds = %28
%35 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%36 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %35, i32 0, i32 1
%37 = load i64, i64* %36
%38 = load i64, i64* @IP_RECVERR
%39 = icmp eq i64 %37, %38
br i1 %39, label %52, label %40
40: ; preds = %34, %28
%41 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%42 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %41, i32 0, i32 0
%43 = load i64, i64* %42
%44 = load i64, i64* @SOL_IPV6
%45 = icmp eq i64 %43, %44
br i1 %45, label %46, label %78
46: ; preds = %40
%47 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%48 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %47, i32 0, i32 1
%49 = load i64, i64* %48
%50 = load i64, i64* @IPV6_RECVERR
%51 = icmp eq i64 %49, %50
br i1 %51, label %52, label %78
52: ; preds = %46, %34
%53 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%54 = call i64 @CMSG_DATA(%struct.cmsghdr* %53)
%55 = inttoptr i64 %54 to i8*
%56 = bitcast i8* %55 to %struct.sock_extended_err*
store %struct.sock_extended_err* %56, %struct.sock_extended_err** %3
%57 = load %struct.sock_extended_err*, %struct.sock_extended_err** %3
%58 = getelementptr inbounds %struct.sock_extended_err, %struct.sock_extended_err* %57, i32 0, i32 0
%59 = load i64, i64* %58
%60 = load i64, i64* @ENOMSG
%61 = icmp ne i64 %59, %60
br i1 %61, label %68, label %62
62: ; preds = %52
%63 = load %struct.sock_extended_err*, %struct.sock_extended_err** %3
%64 = getelementptr inbounds %struct.sock_extended_err, %struct.sock_extended_err* %63, i32 0, i32 1
%65 = load i64, i64* %64
%66 = load i64, i64* @SO_EE_ORIGIN_TIMESTAMPING
%67 = icmp ne i64 %65, %66
br i1 %67, label %68, label %77
68: ; preds = %62, %52
%69 = load i32, i32* @stderr
%70 = load %struct.sock_extended_err*, %struct.sock_extended_err** %3
%71 = getelementptr inbounds %struct.sock_extended_err, %struct.sock_extended_err* %70, i32 0, i32 0
%72 = load i64, i64* %71
%73 = load %struct.sock_extended_err*, %struct.sock_extended_err** %3
%74 = getelementptr inbounds %struct.sock_extended_err, %struct.sock_extended_err* %73, i32 0, i32 1
%75 = load i64, i64* %74
%76 = call i32 @fprintf(i32 %69, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i64 %72, i64 %75)
store %struct.sock_extended_err* null, %struct.sock_extended_err** %3
br label %77
77: ; preds = %68, %62
br label %87
78: ; preds = %46, %40
%79 = load i32, i32* @stderr
%80 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%81 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %80, i32 0, i32 0
%82 = load i64, i64* %81
%83 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%84 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %83, i32 0, i32 1
%85 = load i64, i64* %84
%86 = call i32 @fprintf(i32 %79, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i64 %82, i64 %85)
br label %87
87: ; preds = %78, %77
br label %88
88: ; preds = %87, %23
br label %89
89: ; preds = %88
%90 = load %struct.msghdr*, %struct.msghdr** %2
%91 = load %struct.cmsghdr*, %struct.cmsghdr** %5
%92 = call %struct.cmsghdr* @CMSG_NXTHDR(%struct.msghdr* %90, %struct.cmsghdr* %91)
store %struct.cmsghdr* %92, %struct.cmsghdr** %5
br label %8
93: ; preds = %8
%94 = load %struct.sock_extended_err*, %struct.sock_extended_err** %3
%95 = icmp ne %struct.sock_extended_err* %94, null
br i1 %95, label %96, label %108
96: ; preds = %93
%97 = load %struct.scm_timestamping*, %struct.scm_timestamping** %4
%98 = icmp ne %struct.scm_timestamping* %97, null
br i1 %98, label %99, label %108
99: ; preds = %96
%100 = load %struct.scm_timestamping*, %struct.scm_timestamping** %4
%101 = load %struct.sock_extended_err*, %struct.sock_extended_err** %3
%102 = getelementptr inbounds %struct.sock_extended_err, %struct.sock_extended_err* %101, i32 0, i32 3
%103 = load i32, i32* %102
%104 = load %struct.sock_extended_err*, %struct.sock_extended_err** %3
%105 = getelementptr inbounds %struct.sock_extended_err, %struct.sock_extended_err* %104, i32 0, i32 2
%106 = load i32, i32* %105
%107 = call i32 @print_timestamp(%struct.scm_timestamping* %100, i32 %103, i32 %106)
br label %108
108: ; preds = %99, %96, %93
ret void
}

LLVM IR (-O2):
%struct.msghdr = type { i32 }
%struct.sock_extended_err = type { i64, i64, i32, i32 }
%struct.scm_timestamping = type { i32 }
%struct.cmsghdr = type { i64, i64 }
@SOL_SOCKET = global i64 0
@SCM_TIMESTAMPING = global i64 0
@SOL_IP = global i64 0
@IP_RECVERR = global i64 0
@SOL_IPV6 = global i64 0
@IPV6_RECVERR = global i64 0
@ENOMSG = global i64 0
@SO_EE_ORIGIN_TIMESTAMPING = global i64 0
@stderr = global i32 0
@.str = [24 x i8] c"unknown ip error %d %d\0A\00"
@.str.1 = [8 x i8] c"%d, %d\0A\00"
define void @__recv_errmsg_cmsg(%struct.msghdr* %0) {
%2 = tail call %struct.cmsghdr* @CMSG_FIRSTHDR(%struct.msghdr* %0)
%3 = icmp eq %struct.cmsghdr* %2, null
br i1 %3, label %69, label %4
4: ; preds = %1, %54
%5 = phi %struct.cmsghdr* [ %57, %54 ], [ %2, %1 ]
%6 = phi %struct.scm_timestamping* [ %56, %54 ], [ null, %1 ]
%7 = phi %struct.sock_extended_err* [ %55, %54 ], [ null, %1 ]
%8 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %5, i64 0, i32 0
%9 = load i64, i64* %8
%10 = load i64, i64* @SOL_SOCKET
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %4
%13 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %5, i64 0, i32 1
%14 = load i64, i64* %13
%15 = load i64, i64* @SCM_TIMESTAMPING
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = tail call i64 @CMSG_DATA(%struct.cmsghdr* %5)
%19 = inttoptr i64 %18 to %struct.scm_timestamping*
br label %54
20: ; preds = %12, %4
%21 = load i64, i64* @SOL_IP
%22 = icmp eq i64 %9, %21
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %5, i64 0, i32 1
%25 = load i64, i64* %24
%26 = load i64, i64* @IP_RECVERR
%27 = icmp eq i64 %25, %26
br i1 %27, label %36, label %28
28: ; preds = %23, %20
%29 = load i64, i64* @SOL_IPV6
%30 = icmp eq i64 %9, %29
%31 = getelementptr inbounds %struct.cmsghdr, %struct.cmsghdr* %5, i64 0, i32 1
%32 = load i64, i64* %31
%33 = load i64, i64* @IPV6_RECVERR
%34 = icmp eq i64 %32, %33
%35 = select i1 %30, i1 %34, i1 false
br i1 %35, label %36, label %51
36: ; preds = %28, %23
%37 = tail call i64 @CMSG_DATA(%struct.cmsghdr* %5)
%38 = inttoptr i64 %37 to %struct.sock_extended_err*
%39 = getelementptr inbounds %struct.sock_extended_err, %struct.sock_extended_err* %38, i64 0, i32 0
%40 = load i64, i64* %39
%41 = load i64, i64* @ENOMSG
%42 = icmp eq i64 %40, %41
%43 = getelementptr inbounds %struct.sock_extended_err, %struct.sock_extended_err* %38, i64 0, i32 1
%44 = load i64, i64* %43
%45 = load i64, i64* @SO_EE_ORIGIN_TIMESTAMPING
%46 = icmp eq i64 %44, %45
%47 = select i1 %42, i1 %46, i1 false
br i1 %47, label %54, label %48
48: ; preds = %36
%49 = load i32, i32* @stderr
%50 = tail call i32 @fprintf(i32 %49, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i64 %40, i64 %44)
br label %54
51: ; preds = %28
%52 = load i32, i32* @stderr
%53 = tail call i32 @fprintf(i32 %52, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i64 %9, i64 %32)
br label %54
54: ; preds = %36, %17, %48, %51
%55 = phi %struct.sock_extended_err* [ %7, %17 ], [ null, %48 ], [ %7, %51 ], [ %38, %36 ]
%56 = phi %struct.scm_timestamping* [ %19, %17 ], [ %6, %48 ], [ %6, %51 ], [ %6, %36 ]
%57 = tail call %struct.cmsghdr* @CMSG_NXTHDR(%struct.msghdr* %0, %struct.cmsghdr* %5)
%58 = icmp eq %struct.cmsghdr* %57, null
br i1 %58, label %59, label %4
59: ; preds = %54
%60 = icmp ne %struct.sock_extended_err* %55, null
%61 = icmp ne %struct.scm_timestamping* %56, null
%62 = select i1 %60, i1 %61, i1 false
br i1 %62, label %63, label %69
63: ; preds = %59
%64 = getelementptr inbounds %struct.sock_extended_err, %struct.sock_extended_err* %55, i64 0, i32 3
%65 = load i32, i32* %64
%66 = getelementptr inbounds %struct.sock_extended_err, %struct.sock_extended_err* %55, i64 0, i32 2
%67 = load i32, i32* %66
%68 = tail call i32 @print_timestamp(%struct.scm_timestamping* %56, i32 %65, i32 %67)
br label %69
69: ; preds = %1, %63, %59
ret void
}