#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_nl {
  int nlmsg_len;
  int msg_namelen;
  int msg_iovlen;
  struct iovec *msg_iov;
  void *msg_name;
  scalar_t__ nlmsg_flags;
  void *nlmsg_pid;
  scalar_t__ nl_groups;
  void *nl_pid;
  void *nl_family;
};
struct sockaddr {
  int dummy;
};
struct nlmsghdr {
  int nlmsg_len;
  int msg_namelen;
  int msg_iovlen;
  struct iovec *msg_iov;
  void *msg_name;
  scalar_t__ nlmsg_flags;
  void *nlmsg_pid;
  scalar_t__ nl_groups;
  void *nl_pid;
  void *nl_family;
};
struct msghdr {
  int nlmsg_len;
  int msg_namelen;
  int msg_iovlen;
  struct iovec *msg_iov;
  void *msg_name;
  scalar_t__ nlmsg_flags;
  void *nlmsg_pid;
  scalar_t__ nl_groups;
  void *nl_pid;
  void *nl_family;
};
struct iovec {
  int iov_len;
  void *iov_base;
};
typedef int /*<<< orphan*/ src_addr;
typedef int /*<<< orphan*/ msg;
typedef int /*<<< orphan*/ dest_addr;

/* Variables and functions */
void *AF_NETLINK;
char *NLMSG_DATA(struct sockaddr_nl *);
int NLMSG_SPACE(int);
int /*<<< orphan*/ PF_NETLINK;
int /*<<< orphan*/ SOCK_RAW;
int /*<<< orphan*/ bind(int, struct sockaddr *, int);
int /*<<< orphan*/ close(int);
void *getpid();
scalar_t__ malloc(int);
int /*<<< orphan*/ memset(struct sockaddr_nl *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ recvmsg(int, struct sockaddr_nl *, int /*<<< orphan*/);
int /*<<< orphan*/ sendmsg(int, struct sockaddr_nl *, int /*<<< orphan*/);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int);
int /*<<< orphan*/ strcpy(char *, char *);
int main(int argc, char *argv[]) {
  struct sockaddr_nl src_addr, dest_addr;
  struct nlmsghdr *nlh = NULL;
  struct iovec iov;
  int sock_fd;
  struct msghdr msg;
  sock_fd = socket(PF_NETLINK, SOCK_RAW, 21);
  memset(&msg, 0, sizeof(msg));
  memset(&src_addr, 0, sizeof(src_addr));
  src_addr.nl_family = AF_NETLINK;
  src_addr.nl_pid = getpid();
  src_addr.nl_groups = 0;
  bind(sock_fd, (struct sockaddr *)&src_addr, sizeof(src_addr));
  memset(&dest_addr, 0, sizeof(dest_addr));
  dest_addr.nl_family = AF_NETLINK;
  dest_addr.nl_pid = 0;
  dest_addr.nl_groups = 0;
  nlh = (struct nlmsghdr *)malloc(NLMSG_SPACE(1024));
  nlh->nlmsg_len = NLMSG_SPACE(1024);
  nlh->nlmsg_pid = getpid();
  nlh->nlmsg_flags = 0;
  strcpy(NLMSG_DATA(nlh), "Hello kernel!");
  iov.iov_base = (void *)nlh;
  iov.iov_len = nlh->nlmsg_len;
  msg.msg_name = (void *)&dest_addr;
  msg.msg_namelen = sizeof(dest_addr);
  msg.msg_iov = &iov;
  msg.msg_iovlen = 1;
  sendmsg(sock_fd, &msg, 0);
  printf("Send message payload: %s\n", NLMSG_DATA(nlh));
  memset(nlh, 0, NLMSG_SPACE(1024));
  recvmsg(sock_fd, &msg, 0);
  printf("Received message payload: %s\n", NLMSG_DATA(nlh));
  close(sock_fd);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x110,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0xa8(%rbp)
mov    0x2dec(%rip),%rax
mov    (%rax),%edi
mov    0x2dfb(%rip),%rax
mov    (%rax),%esi
mov    $0x15,%edx
call   10e0 <socket@plt>
mov    %eax,-0xbc(%rbp)
lea    -0x108(%rbp),%rdi
xor    %esi,%esi
mov    $0x48,%edx
call   1070 <memset@plt>
lea    -0x58(%rbp),%rdi
xor    %esi,%esi
mov    $0x48,%edx
call   1070 <memset@plt>
mov    0x2db7(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x18(%rbp)
mov    $0x0,%al
call   1050 <getpid@plt>
mov    %rax,-0x20(%rbp)
movq   $0x0,-0x28(%rbp)
mov    -0xbc(%rbp),%edi
lea    -0x58(%rbp),%rsi
mov    $0x48,%edx
call   10d0 <bind@plt>
lea    -0xa0(%rbp),%rdi
xor    %esi,%esi
mov    $0x48,%edx
call   1070 <memset@plt>
mov    0x2d6f(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x60(%rbp)
movq   $0x0,-0x68(%rbp)
movq   $0x0,-0x70(%rbp)
mov    $0x400,%edi
call   1090 <NLMSG_SPACE@plt>
mov    %eax,%edi
call   10b0 <malloc@plt>
mov    %rax,-0xa8(%rbp)
mov    $0x400,%edi
call   1090 <NLMSG_SPACE@plt>
mov    %eax,%ecx
mov    -0xa8(%rbp),%rax
mov    %ecx,(%rax)
mov    $0x0,%al
call   1050 <getpid@plt>
mov    %rax,%rcx
mov    -0xa8(%rbp),%rax
mov    %rcx,0x28(%rax)
mov    -0xa8(%rbp),%rax
movq   $0x0,0x20(%rax)
mov    -0xa8(%rbp),%rdi
call   10a0 <NLMSG_DATA@plt>
mov    %rax,%rdi
lea    0xd11(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0xa8(%rbp),%rax
mov    %rax,-0xb0(%rbp)
mov    -0xa8(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0xb8(%rbp)
lea    -0xa0(%rbp),%rax
mov    %rax,-0xf0(%rbp)
movl   $0x48,-0x104(%rbp)
lea    -0xb8(%rbp),%rax
mov    %rax,-0xf8(%rbp)
movl   $0x1,-0x100(%rbp)
mov    -0xbc(%rbp),%edi
lea    -0x108(%rbp),%rsi
xor    %edx,%edx
call   1040 <sendmsg@plt>
mov    -0xa8(%rbp),%rdi
call   10a0 <NLMSG_DATA@plt>
mov    %rax,%rsi
lea    0xca3(%rip),%rdi
call   1060 <printf@plt>
mov    -0xa8(%rbp),%rax
mov    %rax,-0x110(%rbp)
mov    $0x400,%edi
call   1090 <NLMSG_SPACE@plt>
mov    -0x110(%rbp),%rdi
mov    %eax,%edx
xor    %esi,%esi
call   1070 <memset@plt>
mov    -0xbc(%rbp),%edi
lea    -0x108(%rbp),%rsi
xor    %edx,%edx
call   10c0 <recvmsg@plt>
mov    -0xa8(%rbp),%rdi
call   10a0 <NLMSG_DATA@plt>
mov    %rax,%rsi
lea    0xc66(%rip),%rdi
call   1060 <printf@plt>
mov    -0xbc(%rbp),%edi
call   1080 <close@plt>
xor    %eax,%eax
add    $0x110,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0xf0,%rsp
mov    0x2dfa(%rip),%rax
mov    (%rax),%edi
mov    0x2e09(%rip),%rax
mov    (%rax),%esi
mov    $0x15,%edx
call   10e0 <socket@plt>
mov    %eax,%ebp
lea    0x18(%rsp),%r14
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x48,%edx
call   1070 <memset@plt>
lea    0x60(%rsp),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x48,%edx
call   1070 <memset@plt>
mov    0x2dc4(%rip),%r12
mov    (%r12),%rax
mov    %rax,0xa0(%rsp)
xor    %eax,%eax
call   1050 <getpid@plt>
mov    %rax,0x98(%rsp)
movq   $0x0,0x90(%rsp)
mov    %ebp,%edi
mov    %rbx,%rsi
mov    $0x48,%edx
call   10d0 <bind@plt>
lea    0xa8(%rsp),%r15
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x48,%edx
call   1070 <memset@plt>
mov    (%r12),%rax
mov    %rax,0xe8(%rsp)
xorps  %xmm0,%xmm0
movups %xmm0,0xd8(%rsp)
mov    $0x400,%edi
call   1090 <NLMSG_SPACE@plt>
mov    %eax,%edi
call   10b0 <malloc@plt>
mov    %rax,%rbx
mov    $0x400,%edi
call   1090 <NLMSG_SPACE@plt>
mov    %eax,(%rbx)
xor    %eax,%eax
call   1050 <getpid@plt>
mov    %rax,0x28(%rbx)
movq   $0x0,0x20(%rbx)
mov    %rbx,%rdi
call   10a0 <NLMSG_DATA@plt>
lea    0xd3e(%rip),%rsi
mov    %rax,%rdi
call   1030 <strcpy@plt>
mov    %rbx,0x10(%rsp)
mov    (%rbx),%eax
mov    %eax,0x8(%rsp)
mov    %r15,0x30(%rsp)
movabs $0x100000048,%rax
mov    %rax,0x1c(%rsp)
lea    0x8(%rsp),%rax
mov    %rax,0x28(%rsp)
mov    %ebp,%edi
mov    %r14,%rsi
xor    %edx,%edx
call   1040 <sendmsg@plt>
mov    %rbx,%rdi
call   10a0 <NLMSG_DATA@plt>
lea    0xd00(%rip),%rdi
mov    %rax,%rsi
call   1060 <printf@plt>
mov    $0x400,%edi
call   1090 <NLMSG_SPACE@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    %eax,%edx
call   1070 <memset@plt>
mov    %ebp,%edi
mov    %r14,%rsi
xor    %edx,%edx
call   10c0 <recvmsg@plt>
mov    %rbx,%rdi
call   10a0 <NLMSG_DATA@plt>
lea    0xce1(%rip),%rdi
mov    %rax,%rsi
call   1060 <printf@plt>
mov    %ebp,%edi
call   1080 <close@plt>
xor    %eax,%eax
add    $0xf0,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.sockaddr_nl = type { i32, i32, i32, %struct.iovec*, i8*, i64, i8*, i64, i8*, i8* }
%struct.iovec = type { i32, i8* }
%struct.nlmsghdr = type { i32, i32, i32, %struct.iovec*, i8*, i64, i8*, i64, i8*, i8* }
%struct.msghdr = type { i32, i32, i32, %struct.iovec*, i8*, i64, i8*, i64, i8*, i8* }
%struct.sockaddr = type { i32 }
@PF_NETLINK = global i32 0
@SOCK_RAW = global i32 0
@AF_NETLINK = global i8* null
@.str = [14 x i8] c"Hello kernel!\00"
@.str.1 = [26 x i8] c"Send message payload: %s\0A\00"
@.str.2 = [30 x i8] c"Received message payload: %s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca %struct.sockaddr_nl
%6 = alloca %struct.sockaddr_nl
%7 = alloca %struct.nlmsghdr*
%8 = alloca %struct.iovec
%9 = alloca i32
%10 = alloca %struct.msghdr
store i32 %0, i32* %3
store i8** %1, i8*** %4
store %struct.nlmsghdr* null, %struct.nlmsghdr** %7
%11 = load i32, i32* @PF_NETLINK
%12 = load i32, i32* @SOCK_RAW
%13 = call i32 @socket(i32 %11, i32 %12, i32 21)
store i32 %13, i32* %9
%14 = bitcast %struct.msghdr* %10 to %struct.sockaddr_nl*
%15 = call i32 @memset(%struct.sockaddr_nl* %14, i32 0, i32 72)
%16 = call i32 @memset(%struct.sockaddr_nl* %5, i32 0, i32 72)
%17 = load i8*, i8** @AF_NETLINK
%18 = getelementptr inbounds %struct.sockaddr_nl, %struct.sockaddr_nl* %5, i32 0, i32 9
store i8* %17, i8** %18
%19 = call i8* (...) @getpid()
%20 = getelementptr inbounds %struct.sockaddr_nl, %struct.sockaddr_nl* %5, i32 0, i32 8
store i8* %19, i8** %20
%21 = getelementptr inbounds %struct.sockaddr_nl, %struct.sockaddr_nl* %5, i32 0, i32 7
store i64 0, i64* %21
%22 = load i32, i32* %9
%23 = bitcast %struct.sockaddr_nl* %5 to %struct.sockaddr*
%24 = call i32 @bind(i32 %22, %struct.sockaddr* %23, i32 72)
%25 = call i32 @memset(%struct.sockaddr_nl* %6, i32 0, i32 72)
%26 = load i8*, i8** @AF_NETLINK
%27 = getelementptr inbounds %struct.sockaddr_nl, %struct.sockaddr_nl* %6, i32 0, i32 9
store i8* %26, i8** %27
%28 = getelementptr inbounds %struct.sockaddr_nl, %struct.sockaddr_nl* %6, i32 0, i32 8
store i8* null, i8** %28
%29 = getelementptr inbounds %struct.sockaddr_nl, %struct.sockaddr_nl* %6, i32 0, i32 7
store i64 0, i64* %29
%30 = call i32 @NLMSG_SPACE(i32 1024)
%31 = call i64 @malloc(i32 %30)
%32 = inttoptr i64 %31 to %struct.nlmsghdr*
store %struct.nlmsghdr* %32, %struct.nlmsghdr** %7
%33 = call i32 @NLMSG_SPACE(i32 1024)
%34 = load %struct.nlmsghdr*, %struct.nlmsghdr** %7
%35 = getelementptr inbounds %struct.nlmsghdr, %struct.nlmsghdr* %34, i32 0, i32 0
store i32 %33, i32* %35
%36 = call i8* (...) @getpid()
%37 = load %struct.nlmsghdr*, %struct.nlmsghdr** %7
%38 = getelementptr inbounds %struct.nlmsghdr, %struct.nlmsghdr* %37, i32 0, i32 6
store i8* %36, i8** %38
%39 = load %struct.nlmsghdr*, %struct.nlmsghdr** %7
%40 = getelementptr inbounds %struct.nlmsghdr, %struct.nlmsghdr* %39, i32 0, i32 5
store i64 0, i64* %40
%41 = load %struct.nlmsghdr*, %struct.nlmsghdr** %7
%42 = bitcast %struct.nlmsghdr* %41 to %struct.sockaddr_nl*
%43 = call i8* @NLMSG_DATA(%struct.sockaddr_nl* %42)
%44 = call i32 @strcpy(i8* %43, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%45 = load %struct.nlmsghdr*, %struct.nlmsghdr** %7
%46 = bitcast %struct.nlmsghdr* %45 to i8*
%47 = getelementptr inbounds %struct.iovec, %struct.iovec* %8, i32 0, i32 1
store i8* %46, i8** %47
%48 = load %struct.nlmsghdr*, %struct.nlmsghdr** %7
%49 = getelementptr inbounds %struct.nlmsghdr, %struct.nlmsghdr* %48, i32 0, i32 0
%50 = load i32, i32* %49
%51 = getelementptr inbounds %struct.iovec, %struct.iovec* %8, i32 0, i32 0
store i32 %50, i32* %51
%52 = bitcast %struct.sockaddr_nl* %6 to i8*
%53 = getelementptr inbounds %struct.msghdr, %struct.msghdr* %10, i32 0, i32 4
store i8* %52, i8** %53
%54 = getelementptr inbounds %struct.msghdr, %struct.msghdr* %10, i32 0, i32 1
store i32 72, i32* %54
%55 = getelementptr inbounds %struct.msghdr, %struct.msghdr* %10, i32 0, i32 3
store %struct.iovec* %8, %struct.iovec** %55
%56 = getelementptr inbounds %struct.msghdr, %struct.msghdr* %10, i32 0, i32 2
store i32 1, i32* %56
%57 = load i32, i32* %9
%58 = bitcast %struct.msghdr* %10 to %struct.sockaddr_nl*
%59 = call i32 @sendmsg(i32 %57, %struct.sockaddr_nl* %58, i32 0)
%60 = load %struct.nlmsghdr*, %struct.nlmsghdr** %7
%61 = bitcast %struct.nlmsghdr* %60 to %struct.sockaddr_nl*
%62 = call i8* @NLMSG_DATA(%struct.sockaddr_nl* %61)
%63 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i8* %62)
%64 = load %struct.nlmsghdr*, %struct.nlmsghdr** %7
%65 = bitcast %struct.nlmsghdr* %64 to %struct.sockaddr_nl*
%66 = call i32 @NLMSG_SPACE(i32 1024)
%67 = call i32 @memset(%struct.sockaddr_nl* %65, i32 0, i32 %66)
%68 = load i32, i32* %9
%69 = bitcast %struct.msghdr* %10 to %struct.sockaddr_nl*
%70 = call i32 @recvmsg(i32 %68, %struct.sockaddr_nl* %69, i32 0)
%71 = load %struct.nlmsghdr*, %struct.nlmsghdr** %7
%72 = bitcast %struct.nlmsghdr* %71 to %struct.sockaddr_nl*
%73 = call i8* @NLMSG_DATA(%struct.sockaddr_nl* %72)
%74 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), i8* %73)
%75 = load i32, i32* %9
%76 = call i32 @close(i32 %75)
ret i32 0
}

LLVM IR (-O2):
%struct.sockaddr_nl = type { i32, i32, i32, %struct.iovec*, i8*, i64, i8*, i64, i8*, i8* }
%struct.iovec = type { i32, i8* }
%struct.msghdr = type { i32, i32, i32, %struct.iovec*, i8*, i64, i8*, i64, i8*, i8* }
%struct.nlmsghdr = type { i32, i32, i32, %struct.iovec*, i8*, i64, i8*, i64, i8*, i8* }
%struct.sockaddr = type { i32 }
@PF_NETLINK = global i32 0
@SOCK_RAW = global i32 0
@AF_NETLINK = global i8* null
@.str = [14 x i8] c"Hello kernel!\00"
@.str.1 = [26 x i8] c"Send message payload: %s\0A\00"
@.str.2 = [30 x i8] c"Received message payload: %s\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca %struct.sockaddr_nl
%4 = alloca %struct.sockaddr_nl
%5 = alloca %struct.iovec
%6 = alloca %struct.msghdr
%7 = bitcast %struct.sockaddr_nl* %3 to i8*
%8 = bitcast %struct.sockaddr_nl* %4 to i8*
%9 = bitcast %struct.iovec* %5 to i8*
%10 = bitcast %struct.msghdr* %6 to i8*
%11 = load i32, i32* @PF_NETLINK
%12 = load i32, i32* @SOCK_RAW
%13 = tail call i32 @socket(i32 %11, i32 %12, i32 21)
%14 = bitcast %struct.msghdr* %6 to %struct.sockaddr_nl*
%15 = call i32 @memset(%struct.sockaddr_nl* %14, i32 0, i32 72)
%16 = call i32 @memset(%struct.sockaddr_nl* %3, i32 0, i32 72)
%17 = load i8*, i8** @AF_NETLINK
%18 = getelementptr inbounds %struct.sockaddr_nl, %struct.sockaddr_nl* %3, i64 0, i32 9
store i8* %17, i8** %18
%19 = call i8* (...) @getpid()
%20 = getelementptr inbounds %struct.sockaddr_nl, %struct.sockaddr_nl* %3, i64 0, i32 8
store i8* %19, i8** %20
%21 = getelementptr inbounds %struct.sockaddr_nl, %struct.sockaddr_nl* %3, i64 0, i32 7
store i64 0, i64* %21
%22 = bitcast %struct.sockaddr_nl* %3 to %struct.sockaddr*
%23 = call i32 @bind(i32 %13, %struct.sockaddr* %22, i32 72)
%24 = call i32 @memset(%struct.sockaddr_nl* %4, i32 0, i32 72)
%25 = load i8*, i8** @AF_NETLINK
%26 = getelementptr inbounds %struct.sockaddr_nl, %struct.sockaddr_nl* %4, i64 0, i32 9
store i8* %25, i8** %26
%27 = getelementptr inbounds %struct.sockaddr_nl, %struct.sockaddr_nl* %4, i64 0, i32 7
%28 = bitcast i64* %27 to i8*
%29 = call i32 @NLMSG_SPACE(i32 1024)
%30 = call i64 @malloc(i32 %29)
%31 = inttoptr i64 %30 to %struct.nlmsghdr*
%32 = call i32 @NLMSG_SPACE(i32 1024)
%33 = getelementptr inbounds %struct.nlmsghdr, %struct.nlmsghdr* %31, i64 0, i32 0
store i32 %32, i32* %33
%34 = call i8* (...) @getpid()
%35 = getelementptr inbounds %struct.nlmsghdr, %struct.nlmsghdr* %31, i64 0, i32 6
store i8* %34, i8** %35
%36 = getelementptr inbounds %struct.nlmsghdr, %struct.nlmsghdr* %31, i64 0, i32 5
store i64 0, i64* %36
%37 = inttoptr i64 %30 to %struct.sockaddr_nl*
%38 = call i8* @NLMSG_DATA(%struct.sockaddr_nl* %37)
%39 = call i32 @strcpy(i8* %38, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%40 = inttoptr i64 %30 to i8*
%41 = getelementptr inbounds %struct.iovec, %struct.iovec* %5, i64 0, i32 1
store i8* %40, i8** %41
%42 = load i32, i32* %33
%43 = getelementptr inbounds %struct.iovec, %struct.iovec* %5, i64 0, i32 0
store i32 %42, i32* %43
%44 = getelementptr inbounds %struct.msghdr, %struct.msghdr* %6, i64 0, i32 4
%45 = bitcast i8** %44 to %struct.sockaddr_nl**
store %struct.sockaddr_nl* %4, %struct.sockaddr_nl** %45
%46 = getelementptr inbounds %struct.msghdr, %struct.msghdr* %6, i64 0, i32 1
store i32 72, i32* %46
%47 = getelementptr inbounds %struct.msghdr, %struct.msghdr* %6, i64 0, i32 3
store %struct.iovec* %5, %struct.iovec** %47
%48 = getelementptr inbounds %struct.msghdr, %struct.msghdr* %6, i64 0, i32 2
store i32 1, i32* %48
%49 = call i32 @sendmsg(i32 %13, %struct.sockaddr_nl* %14, i32 0)
%50 = call i8* @NLMSG_DATA(%struct.sockaddr_nl* %37)
%51 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i8* %50)
%52 = call i32 @NLMSG_SPACE(i32 1024)
%53 = call i32 @memset(%struct.sockaddr_nl* %37, i32 0, i32 %52)
%54 = call i32 @recvmsg(i32 %13, %struct.sockaddr_nl* %14, i32 0)
%55 = call i8* @NLMSG_DATA(%struct.sockaddr_nl* %37)
%56 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), i8* %55)
%57 = call i32 @close(i32 %13)
ret i32 0
}