#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_fprog {
  int dummy;
};
struct sock_filter {
  int dummy;
};

/* Variables and functions */
scalar_t__ BPF_ABS;
scalar_t__ BPF_B;
scalar_t__ BPF_LD;
scalar_t__ BPF_MISC;
struct sock_filter BPF_STMT(scalar_t__, int);
scalar_t__ BPF_TAX;
scalar_t__ BPF_W;
int SKF_AD_ALU_XOR_X;
int SKF_AD_OFF;
int __add_inst(struct sock_fprog *, struct sock_filter *);
int vlan_hdr_shift(int /*<<< orphan*/);
int __bpf_ipv6_hash(struct sock_fprog *fprog, bool vlan) {
  int vlan_shift = vlan ? vlan_hdr_shift(0) : 0;
  int err;
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_W + BPF_ABS, 22 + vlan_shift);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_ALU_XOR_X);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst = BPF_STMT(BPF_MISC + BPF_TAX, 0);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  ;
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_W + BPF_ABS, 26 + vlan_shift);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_ALU_XOR_X);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst = BPF_STMT(BPF_MISC + BPF_TAX, 0);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  ;
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_W + BPF_ABS, 30 + vlan_shift);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_ALU_XOR_X);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst = BPF_STMT(BPF_MISC + BPF_TAX, 0);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  ;
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_W + BPF_ABS, 34 + vlan_shift);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_ALU_XOR_X);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst = BPF_STMT(BPF_MISC + BPF_TAX, 0);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  ;
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_W + BPF_ABS, 38 + vlan_shift);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_ALU_XOR_X);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst = BPF_STMT(BPF_MISC + BPF_TAX, 0);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  ;
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_W + BPF_ABS, 42 + vlan_shift);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_ALU_XOR_X);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst = BPF_STMT(BPF_MISC + BPF_TAX, 0);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  ;
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_W + BPF_ABS, 46 + vlan_shift);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_ALU_XOR_X);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst = BPF_STMT(BPF_MISC + BPF_TAX, 0);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  ;
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_W + BPF_ABS, 50 + vlan_shift);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst =
        BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_ALU_XOR_X);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  {
    struct sock_filter inst = BPF_STMT(BPF_MISC + BPF_TAX, 0);
    err = __add_inst(fprog, &inst);
    if (err)
      goto err_add_inst;
  };
  ;
  return 0;
err_add_inst:
  return err;
}


x86 assembly (clang, -O0):
<__bpf_ipv6_hash>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     115e <__bpf_ipv6_hash+0x2e>
xor    %edi,%edi
call   1030 <vlan_hdr_shift@plt>
mov    %eax,-0xdc(%rbp)
jmp    116b <__bpf_ipv6_hash+0x3b>
xor    %eax,%eax
mov    %eax,-0xdc(%rbp)
jmp    116b <__bpf_ipv6_hash+0x3b>
mov    -0xdc(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    0x2e45(%rip),%rax
mov    (%rax),%rdi
mov    0x2e6b(%rip),%rax
add    (%rax),%rdi
mov    0x2e51(%rip),%rax
add    (%rax),%rdi
mov    -0x18(%rbp),%esi
add    $0x16,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x20(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x20(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     11bf <__bpf_ipv6_hash+0x8f>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2dfa(%rip),%rax
mov    (%rax),%rdi
mov    0x2de8(%rip),%rax
add    (%rax),%rdi
mov    0x2e06(%rip),%rax
add    (%rax),%rdi
mov    0x2dec(%rip),%rax
mov    (%rax),%esi
mov    0x2db3(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x28(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x28(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     1216 <__bpf_ipv6_hash+0xe6>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2dbb(%rip),%rax
mov    (%rax),%rdi
mov    0x2d81(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x30(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x30(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     1253 <__bpf_ipv6_hash+0x123>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2d66(%rip),%rax
mov    (%rax),%rdi
mov    0x2d8c(%rip),%rax
add    (%rax),%rdi
mov    0x2d72(%rip),%rax
add    (%rax),%rdi
mov    -0x18(%rbp),%esi
add    $0x1a,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x38(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x38(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     129e <__bpf_ipv6_hash+0x16e>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2d1b(%rip),%rax
mov    (%rax),%rdi
mov    0x2d09(%rip),%rax
add    (%rax),%rdi
mov    0x2d27(%rip),%rax
add    (%rax),%rdi
mov    0x2d0d(%rip),%rax
mov    (%rax),%esi
mov    0x2cd4(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     12f5 <__bpf_ipv6_hash+0x1c5>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2cdc(%rip),%rax
mov    (%rax),%rdi
mov    0x2ca2(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x48(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x48(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     1332 <__bpf_ipv6_hash+0x202>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2c87(%rip),%rax
mov    (%rax),%rdi
mov    0x2cad(%rip),%rax
add    (%rax),%rdi
mov    0x2c93(%rip),%rax
add    (%rax),%rdi
mov    -0x18(%rbp),%esi
add    $0x1e,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x50(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     137d <__bpf_ipv6_hash+0x24d>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2c3c(%rip),%rax
mov    (%rax),%rdi
mov    0x2c2a(%rip),%rax
add    (%rax),%rdi
mov    0x2c48(%rip),%rax
add    (%rax),%rdi
mov    0x2c2e(%rip),%rax
mov    (%rax),%esi
mov    0x2bf5(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x58(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x58(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     13d4 <__bpf_ipv6_hash+0x2a4>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2bfd(%rip),%rax
mov    (%rax),%rdi
mov    0x2bc3(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x60(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x60(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     1411 <__bpf_ipv6_hash+0x2e1>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2ba8(%rip),%rax
mov    (%rax),%rdi
mov    0x2bce(%rip),%rax
add    (%rax),%rdi
mov    0x2bb4(%rip),%rax
add    (%rax),%rdi
mov    -0x18(%rbp),%esi
add    $0x22,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x68(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x68(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     145c <__bpf_ipv6_hash+0x32c>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2b5d(%rip),%rax
mov    (%rax),%rdi
mov    0x2b4b(%rip),%rax
add    (%rax),%rdi
mov    0x2b69(%rip),%rax
add    (%rax),%rdi
mov    0x2b4f(%rip),%rax
mov    (%rax),%esi
mov    0x2b16(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x70(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x70(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     14b3 <__bpf_ipv6_hash+0x383>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2b1e(%rip),%rax
mov    (%rax),%rdi
mov    0x2ae4(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x78(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x78(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     14f0 <__bpf_ipv6_hash+0x3c0>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2ac9(%rip),%rax
mov    (%rax),%rdi
mov    0x2aef(%rip),%rax
add    (%rax),%rdi
mov    0x2ad5(%rip),%rax
add    (%rax),%rdi
mov    -0x18(%rbp),%esi
add    $0x26,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x80(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x80(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     153b <__bpf_ipv6_hash+0x40b>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2a7e(%rip),%rax
mov    (%rax),%rdi
mov    0x2a6c(%rip),%rax
add    (%rax),%rdi
mov    0x2a8a(%rip),%rax
add    (%rax),%rdi
mov    0x2a70(%rip),%rax
mov    (%rax),%esi
mov    0x2a37(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x88(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x88(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     1598 <__bpf_ipv6_hash+0x468>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2a39(%rip),%rax
mov    (%rax),%rdi
mov    0x29ff(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x90(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x90(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     15db <__bpf_ipv6_hash+0x4ab>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x29de(%rip),%rax
mov    (%rax),%rdi
mov    0x2a04(%rip),%rax
add    (%rax),%rdi
mov    0x29ea(%rip),%rax
add    (%rax),%rdi
mov    -0x18(%rbp),%esi
add    $0x2a,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0x98(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x98(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     162c <__bpf_ipv6_hash+0x4fc>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x298d(%rip),%rax
mov    (%rax),%rdi
mov    0x297b(%rip),%rax
add    (%rax),%rdi
mov    0x2999(%rip),%rax
add    (%rax),%rdi
mov    0x297f(%rip),%rax
mov    (%rax),%esi
mov    0x2946(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0xa0(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0xa0(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     1689 <__bpf_ipv6_hash+0x559>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2948(%rip),%rax
mov    (%rax),%rdi
mov    0x290e(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0xa8(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0xa8(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     16cc <__bpf_ipv6_hash+0x59c>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x28ed(%rip),%rax
mov    (%rax),%rdi
mov    0x2913(%rip),%rax
add    (%rax),%rdi
mov    0x28f9(%rip),%rax
add    (%rax),%rdi
mov    -0x18(%rbp),%esi
add    $0x2e,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0xb0(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0xb0(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     171d <__bpf_ipv6_hash+0x5ed>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x289c(%rip),%rax
mov    (%rax),%rdi
mov    0x288a(%rip),%rax
add    (%rax),%rdi
mov    0x28a8(%rip),%rax
add    (%rax),%rdi
mov    0x288e(%rip),%rax
mov    (%rax),%esi
mov    0x2855(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0xb8(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0xb8(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     177a <__bpf_ipv6_hash+0x64a>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2857(%rip),%rax
mov    (%rax),%rdi
mov    0x281d(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0xc0(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0xc0(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     17bd <__bpf_ipv6_hash+0x68d>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x27fc(%rip),%rax
mov    (%rax),%rdi
mov    0x2822(%rip),%rax
add    (%rax),%rdi
mov    0x2808(%rip),%rax
add    (%rax),%rdi
mov    -0x18(%rbp),%esi
add    $0x32,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0xc8(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0xc8(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     180e <__bpf_ipv6_hash+0x6de>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x27ab(%rip),%rax
mov    (%rax),%rdi
mov    0x2799(%rip),%rax
add    (%rax),%rdi
mov    0x27b7(%rip),%rax
add    (%rax),%rdi
mov    0x279d(%rip),%rax
mov    (%rax),%esi
mov    0x2764(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0xd0(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0xd0(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     186b <__bpf_ipv6_hash+0x73b>
jmp    18ba <__bpf_ipv6_hash+0x78a>
mov    0x2766(%rip),%rax
mov    (%rax),%rdi
mov    0x272c(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,-0xd8(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0xd8(%rbp),%rsi
call   1050 <__add_inst@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     18ae <__bpf_ipv6_hash+0x77e>
jmp    18ba <__bpf_ipv6_hash+0x78a>
movl   $0x0,-0x4(%rbp)
jmp    18c0 <__bpf_ipv6_hash+0x790>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<__bpf_ipv6_hash>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdi,%rbx
test   %esi,%esi
je     114e <__bpf_ipv6_hash+0x1e>
xor    %edi,%edi
call   1030 <vlan_hdr_shift@plt>
mov    %eax,%r14d
jmp    1151 <__bpf_ipv6_hash+0x21>
xor    %r14d,%r14d
mov    0x2e68(%rip),%r15
mov    0x2e91(%rip),%r12
mov    (%r12),%rdi
add    (%r15),%rdi
mov    0x2e73(%rip),%rbp
add    0x0(%rbp),%rdi
lea    0x16(%r14),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2e21(%rip),%rax
mov    (%rax),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
mov    0x2e28(%rip),%rax
mov    0x2df1(%rip),%r13
mov    0x0(%r13),%esi
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2e01(%rip),%rax
mov    0x2dca(%rip),%rcx
mov    (%rcx),%rdi
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    (%r12),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
lea    0x1a(%r14),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2d86(%rip),%rax
mov    (%rax),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
mov    0x0(%r13),%esi
mov    0x2d89(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2d3d(%rip),%rax
mov    (%rax),%rdi
mov    0x2d63(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    (%r12),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
lea    0x1e(%r14),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2cf2(%rip),%rax
mov    (%rax),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
mov    0x0(%r13),%esi
mov    0x2cf5(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2ca9(%rip),%rax
mov    (%rax),%rdi
mov    0x2ccf(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    (%r12),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
lea    0x22(%r14),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2c5e(%rip),%rax
mov    (%rax),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
mov    0x0(%r13),%esi
mov    0x2c61(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2c15(%rip),%rax
mov    (%rax),%rdi
mov    0x2c3b(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    (%r12),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
lea    0x26(%r14),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2bca(%rip),%rax
mov    (%rax),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
mov    0x0(%r13),%esi
mov    0x2bcd(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2b81(%rip),%rax
mov    (%rax),%rdi
mov    0x2ba7(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    (%r12),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
lea    0x2a(%r14),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2b36(%rip),%rax
mov    (%rax),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
mov    0x0(%r13),%esi
mov    0x2b39(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2aed(%rip),%rax
mov    (%rax),%rdi
mov    0x2b13(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    (%r12),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
lea    0x2e(%r14),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2aa2(%rip),%rax
mov    (%rax),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
mov    0x0(%r13),%esi
mov    0x2aa5(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2a59(%rip),%rax
mov    (%rax),%rdi
mov    0x2a7f(%rip),%rax
add    (%rax),%rdi
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    (%r12),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
add    $0x32,%r14d
mov    %r14d,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x2a0f(%rip),%rax
mov    (%rax),%rdi
add    (%r15),%rdi
add    0x0(%rbp),%rdi
mov    0x0(%r13),%esi
mov    0x2a12(%rip),%rax
add    (%rax),%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
jne    1606 <__bpf_ipv6_hash+0x4d6>
mov    0x29ca(%rip),%rax
mov    (%rax),%rdi
mov    0x29f0(%rip),%rax
add    (%rax),%rdi
xor    %ebp,%ebp
xor    %esi,%esi
call   1040 <BPF_STMT@plt>
mov    %eax,(%rsp)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <__add_inst@plt>
test   %eax,%eax
je     1608 <__bpf_ipv6_hash+0x4d8>
mov    %eax,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.sock_fprog = type { i32 }
%struct.sock_filter = type { i32 }
@BPF_LD = global i64 0
@BPF_W = global i64 0
@BPF_ABS = global i64 0
@BPF_B = global i64 0
@SKF_AD_OFF = global i32 0
@SKF_AD_ALU_XOR_X = global i32 0
@BPF_MISC = global i64 0
@BPF_TAX = global i64 0
define i32 @__bpf_ipv6_hash(%struct.sock_fprog* %0, i32 %1) {
%3 = alloca i32
%4 = alloca %struct.sock_fprog*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca %struct.sock_filter
%9 = alloca %struct.sock_filter
%10 = alloca %struct.sock_filter
%11 = alloca %struct.sock_filter
%12 = alloca %struct.sock_filter
%13 = alloca %struct.sock_filter
%14 = alloca %struct.sock_filter
%15 = alloca %struct.sock_filter
%16 = alloca %struct.sock_filter
%17 = alloca %struct.sock_filter
%18 = alloca %struct.sock_filter
%19 = alloca %struct.sock_filter
%20 = alloca %struct.sock_filter
%21 = alloca %struct.sock_filter
%22 = alloca %struct.sock_filter
%23 = alloca %struct.sock_filter
%24 = alloca %struct.sock_filter
%25 = alloca %struct.sock_filter
%26 = alloca %struct.sock_filter
%27 = alloca %struct.sock_filter
%28 = alloca %struct.sock_filter
%29 = alloca %struct.sock_filter
%30 = alloca %struct.sock_filter
%31 = alloca %struct.sock_filter
store %struct.sock_fprog* %0, %struct.sock_fprog** %4
store i32 %1, i32* %5
%32 = load i32, i32* %5
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %2
%35 = call i32 @vlan_hdr_shift(i32 0)
br label %37
36: ; preds = %2
br label %37
37: ; preds = %36, %34
%38 = phi i32 [ %35, %34 ], [ 0, %36 ]
store i32 %38, i32* %6
%39 = load i64, i64* @BPF_LD
%40 = load i64, i64* @BPF_W
%41 = add nsw i64 %39, %40
%42 = load i64, i64* @BPF_ABS
%43 = add nsw i64 %41, %42
%44 = load i32, i32* %6
%45 = add nsw i32 22, %44
%46 = call i32 @BPF_STMT(i64 %43, i32 %45)
%47 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %8, i32 0, i32 0
store i32 %46, i32* %47
%48 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%49 = call i32 @__add_inst(%struct.sock_fprog* %48, %struct.sock_filter* %8)
store i32 %49, i32* %7
%50 = load i32, i32* %7
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %37
br label %375
53: ; preds = %37
%54 = load i64, i64* @BPF_LD
%55 = load i64, i64* @BPF_B
%56 = add nsw i64 %54, %55
%57 = load i64, i64* @BPF_ABS
%58 = add nsw i64 %56, %57
%59 = load i32, i32* @SKF_AD_OFF
%60 = load i32, i32* @SKF_AD_ALU_XOR_X
%61 = add nsw i32 %59, %60
%62 = call i32 @BPF_STMT(i64 %58, i32 %61)
%63 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %9, i32 0, i32 0
store i32 %62, i32* %63
%64 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%65 = call i32 @__add_inst(%struct.sock_fprog* %64, %struct.sock_filter* %9)
store i32 %65, i32* %7
%66 = load i32, i32* %7
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %53
br label %375
69: ; preds = %53
%70 = load i64, i64* @BPF_MISC
%71 = load i64, i64* @BPF_TAX
%72 = add nsw i64 %70, %71
%73 = call i32 @BPF_STMT(i64 %72, i32 0)
%74 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %10, i32 0, i32 0
store i32 %73, i32* %74
%75 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%76 = call i32 @__add_inst(%struct.sock_fprog* %75, %struct.sock_filter* %10)
store i32 %76, i32* %7
%77 = load i32, i32* %7
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %69
br label %375
80: ; preds = %69
%81 = load i64, i64* @BPF_LD
%82 = load i64, i64* @BPF_W
%83 = add nsw i64 %81, %82
%84 = load i64, i64* @BPF_ABS
%85 = add nsw i64 %83, %84
%86 = load i32, i32* %6
%87 = add nsw i32 26, %86
%88 = call i32 @BPF_STMT(i64 %85, i32 %87)
%89 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %11, i32 0, i32 0
store i32 %88, i32* %89
%90 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%91 = call i32 @__add_inst(%struct.sock_fprog* %90, %struct.sock_filter* %11)
store i32 %91, i32* %7
%92 = load i32, i32* %7
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %95
94: ; preds = %80
br label %375
95: ; preds = %80
%96 = load i64, i64* @BPF_LD
%97 = load i64, i64* @BPF_B
%98 = add nsw i64 %96, %97
%99 = load i64, i64* @BPF_ABS
%100 = add nsw i64 %98, %99
%101 = load i32, i32* @SKF_AD_OFF
%102 = load i32, i32* @SKF_AD_ALU_XOR_X
%103 = add nsw i32 %101, %102
%104 = call i32 @BPF_STMT(i64 %100, i32 %103)
%105 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %12, i32 0, i32 0
store i32 %104, i32* %105
%106 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%107 = call i32 @__add_inst(%struct.sock_fprog* %106, %struct.sock_filter* %12)
store i32 %107, i32* %7
%108 = load i32, i32* %7
%109 = icmp ne i32 %108, 0
br i1 %109, label %110, label %111
110: ; preds = %95
br label %375
111: ; preds = %95
%112 = load i64, i64* @BPF_MISC
%113 = load i64, i64* @BPF_TAX
%114 = add nsw i64 %112, %113
%115 = call i32 @BPF_STMT(i64 %114, i32 0)
%116 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %13, i32 0, i32 0
store i32 %115, i32* %116
%117 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%118 = call i32 @__add_inst(%struct.sock_fprog* %117, %struct.sock_filter* %13)
store i32 %118, i32* %7
%119 = load i32, i32* %7
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %122
121: ; preds = %111
br label %375
122: ; preds = %111
%123 = load i64, i64* @BPF_LD
%124 = load i64, i64* @BPF_W
%125 = add nsw i64 %123, %124
%126 = load i64, i64* @BPF_ABS
%127 = add nsw i64 %125, %126
%128 = load i32, i32* %6
%129 = add nsw i32 30, %128
%130 = call i32 @BPF_STMT(i64 %127, i32 %129)
%131 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %14, i32 0, i32 0
store i32 %130, i32* %131
%132 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%133 = call i32 @__add_inst(%struct.sock_fprog* %132, %struct.sock_filter* %14)
store i32 %133, i32* %7
%134 = load i32, i32* %7
%135 = icmp ne i32 %134, 0
br i1 %135, label %136, label %137
136: ; preds = %122
br label %375
137: ; preds = %122
%138 = load i64, i64* @BPF_LD
%139 = load i64, i64* @BPF_B
%140 = add nsw i64 %138, %139
%141 = load i64, i64* @BPF_ABS
%142 = add nsw i64 %140, %141
%143 = load i32, i32* @SKF_AD_OFF
%144 = load i32, i32* @SKF_AD_ALU_XOR_X
%145 = add nsw i32 %143, %144
%146 = call i32 @BPF_STMT(i64 %142, i32 %145)
%147 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %15, i32 0, i32 0
store i32 %146, i32* %147
%148 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%149 = call i32 @__add_inst(%struct.sock_fprog* %148, %struct.sock_filter* %15)
store i32 %149, i32* %7
%150 = load i32, i32* %7
%151 = icmp ne i32 %150, 0
br i1 %151, label %152, label %153
152: ; preds = %137
br label %375
153: ; preds = %137
%154 = load i64, i64* @BPF_MISC
%155 = load i64, i64* @BPF_TAX
%156 = add nsw i64 %154, %155
%157 = call i32 @BPF_STMT(i64 %156, i32 0)
%158 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %16, i32 0, i32 0
store i32 %157, i32* %158
%159 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%160 = call i32 @__add_inst(%struct.sock_fprog* %159, %struct.sock_filter* %16)
store i32 %160, i32* %7
%161 = load i32, i32* %7
%162 = icmp ne i32 %161, 0
br i1 %162, label %163, label %164
163: ; preds = %153
br label %375
164: ; preds = %153
%165 = load i64, i64* @BPF_LD
%166 = load i64, i64* @BPF_W
%167 = add nsw i64 %165, %166
%168 = load i64, i64* @BPF_ABS
%169 = add nsw i64 %167, %168
%170 = load i32, i32* %6
%171 = add nsw i32 34, %170
%172 = call i32 @BPF_STMT(i64 %169, i32 %171)
%173 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %17, i32 0, i32 0
store i32 %172, i32* %173
%174 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%175 = call i32 @__add_inst(%struct.sock_fprog* %174, %struct.sock_filter* %17)
store i32 %175, i32* %7
%176 = load i32, i32* %7
%177 = icmp ne i32 %176, 0
br i1 %177, label %178, label %179
178: ; preds = %164
br label %375
179: ; preds = %164
%180 = load i64, i64* @BPF_LD
%181 = load i64, i64* @BPF_B
%182 = add nsw i64 %180, %181
%183 = load i64, i64* @BPF_ABS
%184 = add nsw i64 %182, %183
%185 = load i32, i32* @SKF_AD_OFF
%186 = load i32, i32* @SKF_AD_ALU_XOR_X
%187 = add nsw i32 %185, %186
%188 = call i32 @BPF_STMT(i64 %184, i32 %187)
%189 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %18, i32 0, i32 0
store i32 %188, i32* %189
%190 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%191 = call i32 @__add_inst(%struct.sock_fprog* %190, %struct.sock_filter* %18)
store i32 %191, i32* %7
%192 = load i32, i32* %7
%193 = icmp ne i32 %192, 0
br i1 %193, label %194, label %195
194: ; preds = %179
br label %375
195: ; preds = %179
%196 = load i64, i64* @BPF_MISC
%197 = load i64, i64* @BPF_TAX
%198 = add nsw i64 %196, %197
%199 = call i32 @BPF_STMT(i64 %198, i32 0)
%200 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %19, i32 0, i32 0
store i32 %199, i32* %200
%201 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%202 = call i32 @__add_inst(%struct.sock_fprog* %201, %struct.sock_filter* %19)
store i32 %202, i32* %7
%203 = load i32, i32* %7
%204 = icmp ne i32 %203, 0
br i1 %204, label %205, label %206
205: ; preds = %195
br label %375
206: ; preds = %195
%207 = load i64, i64* @BPF_LD
%208 = load i64, i64* @BPF_W
%209 = add nsw i64 %207, %208
%210 = load i64, i64* @BPF_ABS
%211 = add nsw i64 %209, %210
%212 = load i32, i32* %6
%213 = add nsw i32 38, %212
%214 = call i32 @BPF_STMT(i64 %211, i32 %213)
%215 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %20, i32 0, i32 0
store i32 %214, i32* %215
%216 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%217 = call i32 @__add_inst(%struct.sock_fprog* %216, %struct.sock_filter* %20)
store i32 %217, i32* %7
%218 = load i32, i32* %7
%219 = icmp ne i32 %218, 0
br i1 %219, label %220, label %221
220: ; preds = %206
br label %375
221: ; preds = %206
%222 = load i64, i64* @BPF_LD
%223 = load i64, i64* @BPF_B
%224 = add nsw i64 %222, %223
%225 = load i64, i64* @BPF_ABS
%226 = add nsw i64 %224, %225
%227 = load i32, i32* @SKF_AD_OFF
%228 = load i32, i32* @SKF_AD_ALU_XOR_X
%229 = add nsw i32 %227, %228
%230 = call i32 @BPF_STMT(i64 %226, i32 %229)
%231 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %21, i32 0, i32 0
store i32 %230, i32* %231
%232 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%233 = call i32 @__add_inst(%struct.sock_fprog* %232, %struct.sock_filter* %21)
store i32 %233, i32* %7
%234 = load i32, i32* %7
%235 = icmp ne i32 %234, 0
br i1 %235, label %236, label %237
236: ; preds = %221
br label %375
237: ; preds = %221
%238 = load i64, i64* @BPF_MISC
%239 = load i64, i64* @BPF_TAX
%240 = add nsw i64 %238, %239
%241 = call i32 @BPF_STMT(i64 %240, i32 0)
%242 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %22, i32 0, i32 0
store i32 %241, i32* %242
%243 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%244 = call i32 @__add_inst(%struct.sock_fprog* %243, %struct.sock_filter* %22)
store i32 %244, i32* %7
%245 = load i32, i32* %7
%246 = icmp ne i32 %245, 0
br i1 %246, label %247, label %248
247: ; preds = %237
br label %375
248: ; preds = %237
%249 = load i64, i64* @BPF_LD
%250 = load i64, i64* @BPF_W
%251 = add nsw i64 %249, %250
%252 = load i64, i64* @BPF_ABS
%253 = add nsw i64 %251, %252
%254 = load i32, i32* %6
%255 = add nsw i32 42, %254
%256 = call i32 @BPF_STMT(i64 %253, i32 %255)
%257 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %23, i32 0, i32 0
store i32 %256, i32* %257
%258 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%259 = call i32 @__add_inst(%struct.sock_fprog* %258, %struct.sock_filter* %23)
store i32 %259, i32* %7
%260 = load i32, i32* %7
%261 = icmp ne i32 %260, 0
br i1 %261, label %262, label %263
262: ; preds = %248
br label %375
263: ; preds = %248
%264 = load i64, i64* @BPF_LD
%265 = load i64, i64* @BPF_B
%266 = add nsw i64 %264, %265
%267 = load i64, i64* @BPF_ABS
%268 = add nsw i64 %266, %267
%269 = load i32, i32* @SKF_AD_OFF
%270 = load i32, i32* @SKF_AD_ALU_XOR_X
%271 = add nsw i32 %269, %270
%272 = call i32 @BPF_STMT(i64 %268, i32 %271)
%273 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %24, i32 0, i32 0
store i32 %272, i32* %273
%274 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%275 = call i32 @__add_inst(%struct.sock_fprog* %274, %struct.sock_filter* %24)
store i32 %275, i32* %7
%276 = load i32, i32* %7
%277 = icmp ne i32 %276, 0
br i1 %277, label %278, label %279
278: ; preds = %263
br label %375
279: ; preds = %263
%280 = load i64, i64* @BPF_MISC
%281 = load i64, i64* @BPF_TAX
%282 = add nsw i64 %280, %281
%283 = call i32 @BPF_STMT(i64 %282, i32 0)
%284 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %25, i32 0, i32 0
store i32 %283, i32* %284
%285 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%286 = call i32 @__add_inst(%struct.sock_fprog* %285, %struct.sock_filter* %25)
store i32 %286, i32* %7
%287 = load i32, i32* %7
%288 = icmp ne i32 %287, 0
br i1 %288, label %289, label %290
289: ; preds = %279
br label %375
290: ; preds = %279
%291 = load i64, i64* @BPF_LD
%292 = load i64, i64* @BPF_W
%293 = add nsw i64 %291, %292
%294 = load i64, i64* @BPF_ABS
%295 = add nsw i64 %293, %294
%296 = load i32, i32* %6
%297 = add nsw i32 46, %296
%298 = call i32 @BPF_STMT(i64 %295, i32 %297)
%299 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %26, i32 0, i32 0
store i32 %298, i32* %299
%300 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%301 = call i32 @__add_inst(%struct.sock_fprog* %300, %struct.sock_filter* %26)
store i32 %301, i32* %7
%302 = load i32, i32* %7
%303 = icmp ne i32 %302, 0
br i1 %303, label %304, label %305
304: ; preds = %290
br label %375
305: ; preds = %290
%306 = load i64, i64* @BPF_LD
%307 = load i64, i64* @BPF_B
%308 = add nsw i64 %306, %307
%309 = load i64, i64* @BPF_ABS
%310 = add nsw i64 %308, %309
%311 = load i32, i32* @SKF_AD_OFF
%312 = load i32, i32* @SKF_AD_ALU_XOR_X
%313 = add nsw i32 %311, %312
%314 = call i32 @BPF_STMT(i64 %310, i32 %313)
%315 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %27, i32 0, i32 0
store i32 %314, i32* %315
%316 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%317 = call i32 @__add_inst(%struct.sock_fprog* %316, %struct.sock_filter* %27)
store i32 %317, i32* %7
%318 = load i32, i32* %7
%319 = icmp ne i32 %318, 0
br i1 %319, label %320, label %321
320: ; preds = %305
br label %375
321: ; preds = %305
%322 = load i64, i64* @BPF_MISC
%323 = load i64, i64* @BPF_TAX
%324 = add nsw i64 %322, %323
%325 = call i32 @BPF_STMT(i64 %324, i32 0)
%326 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %28, i32 0, i32 0
store i32 %325, i32* %326
%327 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%328 = call i32 @__add_inst(%struct.sock_fprog* %327, %struct.sock_filter* %28)
store i32 %328, i32* %7
%329 = load i32, i32* %7
%330 = icmp ne i32 %329, 0
br i1 %330, label %331, label %332
331: ; preds = %321
br label %375
332: ; preds = %321
%333 = load i64, i64* @BPF_LD
%334 = load i64, i64* @BPF_W
%335 = add nsw i64 %333, %334
%336 = load i64, i64* @BPF_ABS
%337 = add nsw i64 %335, %336
%338 = load i32, i32* %6
%339 = add nsw i32 50, %338
%340 = call i32 @BPF_STMT(i64 %337, i32 %339)
%341 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %29, i32 0, i32 0
store i32 %340, i32* %341
%342 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%343 = call i32 @__add_inst(%struct.sock_fprog* %342, %struct.sock_filter* %29)
store i32 %343, i32* %7
%344 = load i32, i32* %7
%345 = icmp ne i32 %344, 0
br i1 %345, label %346, label %347
346: ; preds = %332
br label %375
347: ; preds = %332
%348 = load i64, i64* @BPF_LD
%349 = load i64, i64* @BPF_B
%350 = add nsw i64 %348, %349
%351 = load i64, i64* @BPF_ABS
%352 = add nsw i64 %350, %351
%353 = load i32, i32* @SKF_AD_OFF
%354 = load i32, i32* @SKF_AD_ALU_XOR_X
%355 = add nsw i32 %353, %354
%356 = call i32 @BPF_STMT(i64 %352, i32 %355)
%357 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %30, i32 0, i32 0
store i32 %356, i32* %357
%358 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%359 = call i32 @__add_inst(%struct.sock_fprog* %358, %struct.sock_filter* %30)
store i32 %359, i32* %7
%360 = load i32, i32* %7
%361 = icmp ne i32 %360, 0
br i1 %361, label %362, label %363
362: ; preds = %347
br label %375
363: ; preds = %347
%364 = load i64, i64* @BPF_MISC
%365 = load i64, i64* @BPF_TAX
%366 = add nsw i64 %364, %365
%367 = call i32 @BPF_STMT(i64 %366, i32 0)
%368 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %31, i32 0, i32 0
store i32 %367, i32* %368
%369 = load %struct.sock_fprog*, %struct.sock_fprog** %4
%370 = call i32 @__add_inst(%struct.sock_fprog* %369, %struct.sock_filter* %31)
store i32 %370, i32* %7
%371 = load i32, i32* %7
%372 = icmp ne i32 %371, 0
br i1 %372, label %373, label %374
373: ; preds = %363
br label %375
374: ; preds = %363
store i32 0, i32* %3
br label %377
375: ; preds = %373, %362, %346, %331, %320, %304, %289, %278, %262, %247, %236, %220, %205, %194, %178, %163, %152, %136, %121, %110, %94, %79, %68, %52
%376 = load i32, i32* %7
store i32 %376, i32* %3
br label %377
377: ; preds = %375, %374
%378 = load i32, i32* %3
ret i32 %378
}

LLVM IR (-O2):
%struct.sock_fprog = type { i32 }
%struct.sock_filter = type { i32 }
@BPF_LD = global i64 0
@BPF_W = global i64 0
@BPF_ABS = global i64 0
@BPF_B = global i64 0
@SKF_AD_OFF = global i32 0
@SKF_AD_ALU_XOR_X = global i32 0
@BPF_MISC = global i64 0
@BPF_TAX = global i64 0
define i32 @__bpf_ipv6_hash(%struct.sock_fprog* %0, i32 %1) {
%3 = alloca %struct.sock_filter
%4 = alloca %struct.sock_filter
%5 = alloca %struct.sock_filter
%6 = alloca %struct.sock_filter
%7 = alloca %struct.sock_filter
%8 = alloca %struct.sock_filter
%9 = alloca %struct.sock_filter
%10 = alloca %struct.sock_filter
%11 = alloca %struct.sock_filter
%12 = alloca %struct.sock_filter
%13 = alloca %struct.sock_filter
%14 = alloca %struct.sock_filter
%15 = alloca %struct.sock_filter
%16 = alloca %struct.sock_filter
%17 = alloca %struct.sock_filter
%18 = alloca %struct.sock_filter
%19 = alloca %struct.sock_filter
%20 = alloca %struct.sock_filter
%21 = alloca %struct.sock_filter
%22 = alloca %struct.sock_filter
%23 = alloca %struct.sock_filter
%24 = alloca %struct.sock_filter
%25 = alloca %struct.sock_filter
%26 = alloca %struct.sock_filter
%27 = icmp eq i32 %1, 0
br i1 %27, label %30, label %28
28: ; preds = %2
%29 = tail call i32 @vlan_hdr_shift(i32 0)
br label %30
30: ; preds = %2, %28
%31 = phi i32 [ %29, %28 ], [ 0, %2 ]
%32 = bitcast %struct.sock_filter* %3 to i8*
%33 = load i64, i64* @BPF_LD
%34 = load i64, i64* @BPF_W
%35 = add nsw i64 %34, %33
%36 = load i64, i64* @BPF_ABS
%37 = add nsw i64 %35, %36
%38 = add nsw i32 %31, 22
%39 = tail call i32 @BPF_STMT(i64 %37, i32 %38)
%40 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %3, i64 0, i32 0
store i32 %39, i32* %40
%41 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %3)
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %311
43: ; preds = %30
%44 = bitcast %struct.sock_filter* %4 to i8*
%45 = load i64, i64* @BPF_LD
%46 = load i64, i64* @BPF_B
%47 = add nsw i64 %46, %45
%48 = load i64, i64* @BPF_ABS
%49 = add nsw i64 %47, %48
%50 = load i32, i32* @SKF_AD_OFF
%51 = load i32, i32* @SKF_AD_ALU_XOR_X
%52 = add nsw i32 %51, %50
%53 = call i32 @BPF_STMT(i64 %49, i32 %52)
%54 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %4, i64 0, i32 0
store i32 %53, i32* %54
%55 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %4)
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %311
57: ; preds = %43
%58 = bitcast %struct.sock_filter* %5 to i8*
%59 = load i64, i64* @BPF_MISC
%60 = load i64, i64* @BPF_TAX
%61 = add nsw i64 %60, %59
%62 = call i32 @BPF_STMT(i64 %61, i32 0)
%63 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %5, i64 0, i32 0
store i32 %62, i32* %63
%64 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %5)
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %311
66: ; preds = %57
%67 = bitcast %struct.sock_filter* %6 to i8*
%68 = load i64, i64* @BPF_LD
%69 = load i64, i64* @BPF_W
%70 = add nsw i64 %69, %68
%71 = load i64, i64* @BPF_ABS
%72 = add nsw i64 %70, %71
%73 = add nsw i32 %31, 26
%74 = call i32 @BPF_STMT(i64 %72, i32 %73)
%75 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %6, i64 0, i32 0
store i32 %74, i32* %75
%76 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %6)
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %311
78: ; preds = %66
%79 = bitcast %struct.sock_filter* %7 to i8*
%80 = load i64, i64* @BPF_LD
%81 = load i64, i64* @BPF_B
%82 = add nsw i64 %81, %80
%83 = load i64, i64* @BPF_ABS
%84 = add nsw i64 %82, %83
%85 = load i32, i32* @SKF_AD_OFF
%86 = load i32, i32* @SKF_AD_ALU_XOR_X
%87 = add nsw i32 %86, %85
%88 = call i32 @BPF_STMT(i64 %84, i32 %87)
%89 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %7, i64 0, i32 0
store i32 %88, i32* %89
%90 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %7)
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %311
92: ; preds = %78
%93 = bitcast %struct.sock_filter* %8 to i8*
%94 = load i64, i64* @BPF_MISC
%95 = load i64, i64* @BPF_TAX
%96 = add nsw i64 %95, %94
%97 = call i32 @BPF_STMT(i64 %96, i32 0)
%98 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %8, i64 0, i32 0
store i32 %97, i32* %98
%99 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %8)
%100 = icmp eq i32 %99, 0
br i1 %100, label %101, label %311
101: ; preds = %92
%102 = bitcast %struct.sock_filter* %9 to i8*
%103 = load i64, i64* @BPF_LD
%104 = load i64, i64* @BPF_W
%105 = add nsw i64 %104, %103
%106 = load i64, i64* @BPF_ABS
%107 = add nsw i64 %105, %106
%108 = add nsw i32 %31, 30
%109 = call i32 @BPF_STMT(i64 %107, i32 %108)
%110 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %9, i64 0, i32 0
store i32 %109, i32* %110
%111 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %9)
%112 = icmp eq i32 %111, 0
br i1 %112, label %113, label %311
113: ; preds = %101
%114 = bitcast %struct.sock_filter* %10 to i8*
%115 = load i64, i64* @BPF_LD
%116 = load i64, i64* @BPF_B
%117 = add nsw i64 %116, %115
%118 = load i64, i64* @BPF_ABS
%119 = add nsw i64 %117, %118
%120 = load i32, i32* @SKF_AD_OFF
%121 = load i32, i32* @SKF_AD_ALU_XOR_X
%122 = add nsw i32 %121, %120
%123 = call i32 @BPF_STMT(i64 %119, i32 %122)
%124 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %10, i64 0, i32 0
store i32 %123, i32* %124
%125 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %10)
%126 = icmp eq i32 %125, 0
br i1 %126, label %127, label %311
127: ; preds = %113
%128 = bitcast %struct.sock_filter* %11 to i8*
%129 = load i64, i64* @BPF_MISC
%130 = load i64, i64* @BPF_TAX
%131 = add nsw i64 %130, %129
%132 = call i32 @BPF_STMT(i64 %131, i32 0)
%133 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %11, i64 0, i32 0
store i32 %132, i32* %133
%134 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %11)
%135 = icmp eq i32 %134, 0
br i1 %135, label %136, label %311
136: ; preds = %127
%137 = bitcast %struct.sock_filter* %12 to i8*
%138 = load i64, i64* @BPF_LD
%139 = load i64, i64* @BPF_W
%140 = add nsw i64 %139, %138
%141 = load i64, i64* @BPF_ABS
%142 = add nsw i64 %140, %141
%143 = add nsw i32 %31, 34
%144 = call i32 @BPF_STMT(i64 %142, i32 %143)
%145 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %12, i64 0, i32 0
store i32 %144, i32* %145
%146 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %12)
%147 = icmp eq i32 %146, 0
br i1 %147, label %148, label %311
148: ; preds = %136
%149 = bitcast %struct.sock_filter* %13 to i8*
%150 = load i64, i64* @BPF_LD
%151 = load i64, i64* @BPF_B
%152 = add nsw i64 %151, %150
%153 = load i64, i64* @BPF_ABS
%154 = add nsw i64 %152, %153
%155 = load i32, i32* @SKF_AD_OFF
%156 = load i32, i32* @SKF_AD_ALU_XOR_X
%157 = add nsw i32 %156, %155
%158 = call i32 @BPF_STMT(i64 %154, i32 %157)
%159 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %13, i64 0, i32 0
store i32 %158, i32* %159
%160 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %13)
%161 = icmp eq i32 %160, 0
br i1 %161, label %162, label %311
162: ; preds = %148
%163 = bitcast %struct.sock_filter* %14 to i8*
%164 = load i64, i64* @BPF_MISC
%165 = load i64, i64* @BPF_TAX
%166 = add nsw i64 %165, %164
%167 = call i32 @BPF_STMT(i64 %166, i32 0)
%168 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %14, i64 0, i32 0
store i32 %167, i32* %168
%169 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %14)
%170 = icmp eq i32 %169, 0
br i1 %170, label %171, label %311
171: ; preds = %162
%172 = bitcast %struct.sock_filter* %15 to i8*
%173 = load i64, i64* @BPF_LD
%174 = load i64, i64* @BPF_W
%175 = add nsw i64 %174, %173
%176 = load i64, i64* @BPF_ABS
%177 = add nsw i64 %175, %176
%178 = add nsw i32 %31, 38
%179 = call i32 @BPF_STMT(i64 %177, i32 %178)
%180 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %15, i64 0, i32 0
store i32 %179, i32* %180
%181 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %15)
%182 = icmp eq i32 %181, 0
br i1 %182, label %183, label %311
183: ; preds = %171
%184 = bitcast %struct.sock_filter* %16 to i8*
%185 = load i64, i64* @BPF_LD
%186 = load i64, i64* @BPF_B
%187 = add nsw i64 %186, %185
%188 = load i64, i64* @BPF_ABS
%189 = add nsw i64 %187, %188
%190 = load i32, i32* @SKF_AD_OFF
%191 = load i32, i32* @SKF_AD_ALU_XOR_X
%192 = add nsw i32 %191, %190
%193 = call i32 @BPF_STMT(i64 %189, i32 %192)
%194 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %16, i64 0, i32 0
store i32 %193, i32* %194
%195 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %16)
%196 = icmp eq i32 %195, 0
br i1 %196, label %197, label %311
197: ; preds = %183
%198 = bitcast %struct.sock_filter* %17 to i8*
%199 = load i64, i64* @BPF_MISC
%200 = load i64, i64* @BPF_TAX
%201 = add nsw i64 %200, %199
%202 = call i32 @BPF_STMT(i64 %201, i32 0)
%203 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %17, i64 0, i32 0
store i32 %202, i32* %203
%204 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %17)
%205 = icmp eq i32 %204, 0
br i1 %205, label %206, label %311
206: ; preds = %197
%207 = bitcast %struct.sock_filter* %18 to i8*
%208 = load i64, i64* @BPF_LD
%209 = load i64, i64* @BPF_W
%210 = add nsw i64 %209, %208
%211 = load i64, i64* @BPF_ABS
%212 = add nsw i64 %210, %211
%213 = add nsw i32 %31, 42
%214 = call i32 @BPF_STMT(i64 %212, i32 %213)
%215 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %18, i64 0, i32 0
store i32 %214, i32* %215
%216 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %18)
%217 = icmp eq i32 %216, 0
br i1 %217, label %218, label %311
218: ; preds = %206
%219 = bitcast %struct.sock_filter* %19 to i8*
%220 = load i64, i64* @BPF_LD
%221 = load i64, i64* @BPF_B
%222 = add nsw i64 %221, %220
%223 = load i64, i64* @BPF_ABS
%224 = add nsw i64 %222, %223
%225 = load i32, i32* @SKF_AD_OFF
%226 = load i32, i32* @SKF_AD_ALU_XOR_X
%227 = add nsw i32 %226, %225
%228 = call i32 @BPF_STMT(i64 %224, i32 %227)
%229 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %19, i64 0, i32 0
store i32 %228, i32* %229
%230 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %19)
%231 = icmp eq i32 %230, 0
br i1 %231, label %232, label %311
232: ; preds = %218
%233 = bitcast %struct.sock_filter* %20 to i8*
%234 = load i64, i64* @BPF_MISC
%235 = load i64, i64* @BPF_TAX
%236 = add nsw i64 %235, %234
%237 = call i32 @BPF_STMT(i64 %236, i32 0)
%238 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %20, i64 0, i32 0
store i32 %237, i32* %238
%239 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %20)
%240 = icmp eq i32 %239, 0
br i1 %240, label %241, label %311
241: ; preds = %232
%242 = bitcast %struct.sock_filter* %21 to i8*
%243 = load i64, i64* @BPF_LD
%244 = load i64, i64* @BPF_W
%245 = add nsw i64 %244, %243
%246 = load i64, i64* @BPF_ABS
%247 = add nsw i64 %245, %246
%248 = add nsw i32 %31, 46
%249 = call i32 @BPF_STMT(i64 %247, i32 %248)
%250 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %21, i64 0, i32 0
store i32 %249, i32* %250
%251 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %21)
%252 = icmp eq i32 %251, 0
br i1 %252, label %253, label %311
253: ; preds = %241
%254 = bitcast %struct.sock_filter* %22 to i8*
%255 = load i64, i64* @BPF_LD
%256 = load i64, i64* @BPF_B
%257 = add nsw i64 %256, %255
%258 = load i64, i64* @BPF_ABS
%259 = add nsw i64 %257, %258
%260 = load i32, i32* @SKF_AD_OFF
%261 = load i32, i32* @SKF_AD_ALU_XOR_X
%262 = add nsw i32 %261, %260
%263 = call i32 @BPF_STMT(i64 %259, i32 %262)
%264 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %22, i64 0, i32 0
store i32 %263, i32* %264
%265 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %22)
%266 = icmp eq i32 %265, 0
br i1 %266, label %267, label %311
267: ; preds = %253
%268 = bitcast %struct.sock_filter* %23 to i8*
%269 = load i64, i64* @BPF_MISC
%270 = load i64, i64* @BPF_TAX
%271 = add nsw i64 %270, %269
%272 = call i32 @BPF_STMT(i64 %271, i32 0)
%273 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %23, i64 0, i32 0
store i32 %272, i32* %273
%274 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %23)
%275 = icmp eq i32 %274, 0
br i1 %275, label %276, label %311
276: ; preds = %267
%277 = bitcast %struct.sock_filter* %24 to i8*
%278 = load i64, i64* @BPF_LD
%279 = load i64, i64* @BPF_W
%280 = add nsw i64 %279, %278
%281 = load i64, i64* @BPF_ABS
%282 = add nsw i64 %280, %281
%283 = add nsw i32 %31, 50
%284 = call i32 @BPF_STMT(i64 %282, i32 %283)
%285 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %24, i64 0, i32 0
store i32 %284, i32* %285
%286 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %24)
%287 = icmp eq i32 %286, 0
br i1 %287, label %288, label %311
288: ; preds = %276
%289 = bitcast %struct.sock_filter* %25 to i8*
%290 = load i64, i64* @BPF_LD
%291 = load i64, i64* @BPF_B
%292 = add nsw i64 %291, %290
%293 = load i64, i64* @BPF_ABS
%294 = add nsw i64 %292, %293
%295 = load i32, i32* @SKF_AD_OFF
%296 = load i32, i32* @SKF_AD_ALU_XOR_X
%297 = add nsw i32 %296, %295
%298 = call i32 @BPF_STMT(i64 %294, i32 %297)
%299 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %25, i64 0, i32 0
store i32 %298, i32* %299
%300 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %25)
%301 = icmp eq i32 %300, 0
br i1 %301, label %302, label %311
302: ; preds = %288
%303 = bitcast %struct.sock_filter* %26 to i8*
%304 = load i64, i64* @BPF_MISC
%305 = load i64, i64* @BPF_TAX
%306 = add nsw i64 %305, %304
%307 = call i32 @BPF_STMT(i64 %306, i32 0)
%308 = getelementptr inbounds %struct.sock_filter, %struct.sock_filter* %26, i64 0, i32 0
store i32 %307, i32* %308
%309 = call i32 @__add_inst(%struct.sock_fprog* %0, %struct.sock_filter* %26)
%310 = icmp eq i32 %309, 0
br i1 %310, label %313, label %311
311: ; preds = %302, %288, %276, %267, %253, %241, %232, %218, %206, %197, %183, %171, %162, %148, %136, %127, %113, %101, %92, %78, %66, %57, %43, %30
%312 = phi i32 [ %41, %30 ], [ %55, %43 ], [ %64, %57 ], [ %76, %66 ], [ %90, %78 ], [ %99, %92 ], [ %111, %101 ], [ %125, %113 ], [ %134, %127 ], [ %146, %136 ], [ %160, %148 ], [ %169, %162 ], [ %181, %171 ], [ %195, %183 ], [ %204, %197 ], [ %216, %206 ], [ %230, %218 ], [ %239, %232 ], [ %251, %241 ], [ %265, %253 ], [ %274, %267 ], [ %286, %276 ], [ %300, %288 ], [ %309, %302 ]
br label %313
313: ; preds = %302, %311
%314 = phi i32 [ %312, %311 ], [ 0, %302 ]
ret i32 %314
}