// https://syzkaller.appspot.com/bug?id=8598354fc7b4b890dd8ef75f7dd1c19f769ca784
// autogenerated by syzkaller (https://github.com/google/syzkaller)

#define _GNU_SOURCE

#include <arpa/inet.h>
#include <endian.h>
#include <errno.h>
#include <fcntl.h>
#include <net/if.h>
#include <netinet/in.h>
#include <pthread.h>
#include <sched.h>
#include <setjmp.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/epoll.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/mount.h>
#include <sys/prctl.h>
#include <sys/resource.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/syscall.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/wait.h>
#include <unistd.h>

#include <linux/capability.h>
#include <linux/genetlink.h>
#include <linux/if_addr.h>
#include <linux/if_link.h>
#include <linux/in6.h>
#include <linux/loop.h>
#include <linux/neighbour.h>
#include <linux/net.h>
#include <linux/netlink.h>
#include <linux/rfkill.h>
#include <linux/rtnetlink.h>
#include <linux/veth.h>

#ifndef __NR_memfd_create
#define __NR_memfd_create 319
#endif

static unsigned long long procid;

static bool write_file(const char* file, const char* what, ...)
{
  char buf[1024];
  va_list args;
  va_start(args, what);
  vsnprintf(buf, sizeof(buf), what, args);
  va_end(args);
  buf[sizeof(buf) - 1] = 0;
  int len = strlen(buf);
  int fd = open(file, O_WRONLY | O_CLOEXEC);
  if (fd == -1)
    return false;
  if (write(fd, buf, len) != len) {
    int err = errno;
    close(fd);
    errno = err;
    return false;
  }
  close(fd);
  return true;
}

struct nlmsg {
  char* pos;
  int nesting;
  struct nlattr* nested[8];
  char buf[4096];
};

static void netlink_init(struct nlmsg* nlmsg, int typ, int flags,
                         const void* data, int size)
{
  memset(nlmsg, 0, sizeof(*nlmsg));
  struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
  hdr->nlmsg_type = typ;
  hdr->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | flags;
  memcpy(hdr + 1, data, size);
  nlmsg->pos = (char*)(hdr + 1) + NLMSG_ALIGN(size);
}

static void netlink_attr(struct nlmsg* nlmsg, int typ, const void* data,
                         int size)
{
  struct nlattr* attr = (struct nlattr*)nlmsg->pos;
  attr->nla_len = sizeof(*attr) + size;
  attr->nla_type = typ;
  if (size > 0)
    memcpy(attr + 1, data, size);
  nlmsg->pos += NLMSG_ALIGN(attr->nla_len);
}

static void netlink_nest(struct nlmsg* nlmsg, int typ)
{
  struct nlattr* attr = (struct nlattr*)nlmsg->pos;
  attr->nla_type = typ;
  nlmsg->pos += sizeof(*attr);
  nlmsg->nested[nlmsg->nesting++] = attr;
}

static void netlink_done(struct nlmsg* nlmsg)
{
  struct nlattr* attr = nlmsg->nested[--nlmsg->nesting];
  attr->nla_len = nlmsg->pos - (char*)attr;
}

static int netlink_send_ext(struct nlmsg* nlmsg, int sock, uint16_t reply_type,
                            int* reply_len, bool dofail)
{
  if (nlmsg->pos > nlmsg->buf + sizeof(nlmsg->buf) || nlmsg->nesting)
    exit(1);
  struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
  hdr->nlmsg_len = nlmsg->pos - nlmsg->buf;
  struct sockaddr_nl addr;
  memset(&addr, 0, sizeof(addr));
  addr.nl_family = AF_NETLINK;
  ssize_t n = sendto(sock, nlmsg->buf, hdr->nlmsg_len, 0,
                     (struct sockaddr*)&addr, sizeof(addr));
  if (n != (ssize_t)hdr->nlmsg_len) {
    if (dofail)
      exit(1);
    return -1;
  }
  n = recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
  if (reply_len)
    *reply_len = 0;
  if (n < 0) {
    if (dofail)
      exit(1);
    return -1;
  }
  if (n < (ssize_t)sizeof(struct nlmsghdr)) {
    errno = EINVAL;
    if (dofail)
      exit(1);
    return -1;
  }
  if (hdr->nlmsg_type == NLMSG_DONE)
    return 0;
  if (reply_len && hdr->nlmsg_type == reply_type) {
    *reply_len = n;
    return 0;
  }
  if (n < (ssize_t)(sizeof(struct nlmsghdr) + sizeof(struct nlmsgerr))) {
    errno = EINVAL;
    if (dofail)
      exit(1);
    return -1;
  }
  if (hdr->nlmsg_type != NLMSG_ERROR) {
    errno = EINVAL;
    if (dofail)
      exit(1);
    return -1;
  }
  errno = -((struct nlmsgerr*)(hdr + 1))->error;
  return -errno;
}

static int netlink_send(struct nlmsg* nlmsg, int sock)
{
  return netlink_send_ext(nlmsg, sock, 0, NULL, true);
}

static int netlink_query_family_id(struct nlmsg* nlmsg, int sock,
                                   const char* family_name, bool dofail)
{
  struct genlmsghdr genlhdr;
  memset(&genlhdr, 0, sizeof(genlhdr));
  genlhdr.cmd = CTRL_CMD_GETFAMILY;
  netlink_init(nlmsg, GENL_ID_CTRL, 0, &genlhdr, sizeof(genlhdr));
  netlink_attr(nlmsg, CTRL_ATTR_FAMILY_NAME, family_name,
               strnlen(family_name, GENL_NAMSIZ - 1) + 1);
  int n = 0;
  int err = netlink_send_ext(nlmsg, sock, GENL_ID_CTRL, &n, dofail);
  if (err < 0) {
    return -1;
  }
  uint16_t id = 0;
  struct nlattr* attr = (struct nlattr*)(nlmsg->buf + NLMSG_HDRLEN +
                                         NLMSG_ALIGN(sizeof(genlhdr)));
  for (; (char*)attr < nlmsg->buf + n;
       attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) {
    if (attr->nla_type == CTRL_ATTR_FAMILY_ID) {
      id = *(uint16_t*)(attr + 1);
      break;
    }
  }
  if (!id) {
    errno = EINVAL;
    return -1;
  }
  recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
  return id;
}

static void netlink_add_device_impl(struct nlmsg* nlmsg, const char* type,
                                    const char* name, bool up)
{
  struct ifinfomsg hdr;
  memset(&hdr, 0, sizeof(hdr));
  if (up)
    hdr.ifi_flags = hdr.ifi_change = IFF_UP;
  netlink_init(nlmsg, RTM_NEWLINK, NLM_F_EXCL | NLM_F_CREATE, &hdr,
               sizeof(hdr));
  if (name)
    netlink_attr(nlmsg, IFLA_IFNAME, name, strlen(name));
  netlink_nest(nlmsg, IFLA_LINKINFO);
  netlink_attr(nlmsg, IFLA_INFO_KIND, type, strlen(type));
}

static void netlink_device_change(struct nlmsg* nlmsg, int sock,
                                  const char* name, bool up, const char* master,
                                  const void* mac, int macsize,
                                  const char* new_name)
{
  struct ifinfomsg hdr;
  memset(&hdr, 0, sizeof(hdr));
  if (up)
    hdr.ifi_flags = hdr.ifi_change = IFF_UP;
  hdr.ifi_index = if_nametoindex(name);
  netlink_init(nlmsg, RTM_NEWLINK, 0, &hdr, sizeof(hdr));
  if (new_name)
    netlink_attr(nlmsg, IFLA_IFNAME, new_name, strlen(new_name));
  if (master) {
    int ifindex = if_nametoindex(master);
    netlink_attr(nlmsg, IFLA_MASTER, &ifindex, sizeof(ifindex));
  }
  if (macsize)
    netlink_attr(nlmsg, IFLA_ADDRESS, mac, macsize);
  int err = netlink_send(nlmsg, sock);
  if (err < 0) {
  }
}

static struct nlmsg nlmsg;

#define BTPROTO_HCI 1
#define ACL_LINK 1
#define SCAN_PAGE 2

typedef struct {
  uint8_t b[6];
} __attribute__((packed)) bdaddr_t;

#define HCI_COMMAND_PKT 1
#define HCI_EVENT_PKT 4
#define HCI_VENDOR_PKT 0xff

struct hci_command_hdr {
  uint16_t opcode;
  uint8_t plen;
} __attribute__((packed));

struct hci_event_hdr {
  uint8_t evt;
  uint8_t plen;
} __attribute__((packed));

#define HCI_EV_CONN_COMPLETE 0x03
struct hci_ev_conn_complete {
  uint8_t status;
  uint16_t handle;
  bdaddr_t bdaddr;
  uint8_t link_type;
  uint8_t encr_mode;
} __attribute__((packed));

#define HCI_EV_CONN_REQUEST 0x04
struct hci_ev_conn_request {
  bdaddr_t bdaddr;
  uint8_t dev_class[3];
  uint8_t link_type;
} __attribute__((packed));

#define HCI_EV_REMOTE_FEATURES 0x0b
struct hci_ev_remote_features {
  uint8_t status;
  uint16_t handle;
  uint8_t features[8];
} __attribute__((packed));

#define HCI_EV_CMD_COMPLETE 0x0e
struct hci_ev_cmd_complete {
  uint8_t ncmd;
  uint16_t opcode;
} __attribute__((packed));

#define HCI_OP_WRITE_SCAN_ENABLE 0x0c1a

#define HCI_OP_READ_BUFFER_SIZE 0x1005
struct hci_rp_read_buffer_size {
  uint8_t status;
  uint16_t acl_mtu;
  uint8_t sco_mtu;
  uint16_t acl_max_pkt;
  uint16_t sco_max_pkt;
} __attribute__((packed));

#define HCI_OP_READ_BD_ADDR 0x1009
struct hci_rp_read_bd_addr {
  uint8_t status;
  bdaddr_t bdaddr;
} __attribute__((packed));

#define HCI_EV_LE_META 0x3e
struct hci_ev_le_meta {
  uint8_t subevent;
} __attribute__((packed));

#define HCI_EV_LE_CONN_COMPLETE 0x01
struct hci_ev_le_conn_complete {
  uint8_t status;
  uint16_t handle;
  uint8_t role;
  uint8_t bdaddr_type;
  bdaddr_t bdaddr;
  uint16_t interval;
  uint16_t latency;
  uint16_t supervision_timeout;
  uint8_t clk_accurancy;
} __attribute__((packed));

struct hci_dev_req {
  uint16_t dev_id;
  uint32_t dev_opt;
};

struct vhci_vendor_pkt_request {
  uint8_t type;
  uint8_t opcode;
} __attribute__((packed));

struct vhci_pkt {
  uint8_t type;
  union {
    struct {
      uint8_t opcode;
      uint16_t id;
    } __attribute__((packed)) vendor_pkt;
    struct hci_command_hdr command_hdr;
  };
} __attribute__((packed));

#define HCIDEVUP _IOW('H', 201, int)
#define HCISETSCAN _IOW('H', 221, int)

static int vhci_fd = -1;

static void rfkill_unblock_all()
{
  int fd = open("/dev/rfkill", O_WRONLY);
  if (fd < 0)
    exit(1);
  struct rfkill_event event = {0};
  event.idx = 0;
  event.type = RFKILL_TYPE_ALL;
  event.op = RFKILL_OP_CHANGE_ALL;
  event.soft = 0;
  event.hard = 0;
  if (write(fd, &event, sizeof(event)) < 0)
    exit(1);
  close(fd);
}

static void hci_send_event_packet(int fd, uint8_t evt, void* data,
                                  size_t data_len)
{
  struct iovec iv[3];
  struct hci_event_hdr hdr;
  hdr.evt = evt;
  hdr.plen = data_len;
  uint8_t type = HCI_EVENT_PKT;
  iv[0].iov_base = &type;
  iv[0].iov_len = sizeof(type);
  iv[1].iov_base = &hdr;
  iv[1].iov_len = sizeof(hdr);
  iv[2].iov_base = data;
  iv[2].iov_len = data_len;
  if (writev(fd, iv, sizeof(iv) / sizeof(struct iovec)) < 0)
    exit(1);
}

static void hci_send_event_cmd_complete(int fd, uint16_t opcode, void* data,
                                        size_t data_len)
{
  struct iovec iv[4];
  struct hci_event_hdr hdr;
  hdr.evt = HCI_EV_CMD_COMPLETE;
  hdr.plen = sizeof(struct hci_ev_cmd_complete) + data_len;
  struct hci_ev_cmd_complete evt_hdr;
  evt_hdr.ncmd = 1;
  evt_hdr.opcode = opcode;
  uint8_t type = HCI_EVENT_PKT;
  iv[0].iov_base = &type;
  iv[0].iov_len = sizeof(type);
  iv[1].iov_base = &hdr;
  iv[1].iov_len = sizeof(hdr);
  iv[2].iov_base = &evt_hdr;
  iv[2].iov_len = sizeof(evt_hdr);
  iv[3].iov_base = data;
  iv[3].iov_len = data_len;
  if (writev(fd, iv, sizeof(iv) / sizeof(struct iovec)) < 0)
    exit(1);
}

static bool process_command_pkt(int fd, char* buf, ssize_t buf_size)
{
  struct hci_command_hdr* hdr = (struct hci_command_hdr*)buf;
  if (buf_size < (ssize_t)sizeof(struct hci_command_hdr) ||
      hdr->plen != buf_size - sizeof(struct hci_command_hdr))
    exit(1);
  switch (hdr->opcode) {
  case HCI_OP_WRITE_SCAN_ENABLE: {
    uint8_t status = 0;
    hci_send_event_cmd_complete(fd, hdr->opcode, &status, sizeof(status));
    return true;
  }
  case HCI_OP_READ_BD_ADDR: {
    struct hci_rp_read_bd_addr rp = {0};
    rp.status = 0;
    memset(&rp.bdaddr, 0xaa, 6);
    hci_send_event_cmd_complete(fd, hdr->opcode, &rp, sizeof(rp));
    return false;
  }
  case HCI_OP_READ_BUFFER_SIZE: {
    struct hci_rp_read_buffer_size rp = {0};
    rp.status = 0;
    rp.acl_mtu = 1021;
    rp.sco_mtu = 96;
    rp.acl_max_pkt = 4;
    rp.sco_max_pkt = 6;
    hci_send_event_cmd_complete(fd, hdr->opcode, &rp, sizeof(rp));
    return false;
  }
  }
  char dummy[0xf9] = {0};
  hci_send_event_cmd_complete(fd, hdr->opcode, dummy, sizeof(dummy));
  return false;
}

static void* event_thread(void* arg)
{
  while (1) {
    char buf[1024] = {0};
    ssize_t buf_size = read(vhci_fd, buf, sizeof(buf));
    if (buf_size < 0)
      exit(1);
    if (buf_size > 0 && buf[0] == HCI_COMMAND_PKT) {
      if (process_command_pkt(vhci_fd, buf + 1, buf_size - 1))
        break;
    }
  }
  return NULL;
}
#define HCI_HANDLE_1 200
#define HCI_HANDLE_2 201

#define HCI_PRIMARY 0
#define HCI_OP_RESET 0x0c03

static void initialize_vhci()
{
  int hci_sock = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
  if (hci_sock < 0)
    exit(1);
  vhci_fd = open("/dev/vhci", O_RDWR);
  if (vhci_fd == -1)
    exit(1);
  const int kVhciFd = 202;
  if (dup2(vhci_fd, kVhciFd) < 0)
    exit(1);
  close(vhci_fd);
  vhci_fd = kVhciFd;
  struct vhci_vendor_pkt_request vendor_pkt_req = {HCI_VENDOR_PKT, HCI_PRIMARY};
  if (write(vhci_fd, &vendor_pkt_req, sizeof(vendor_pkt_req)) !=
      sizeof(vendor_pkt_req))
    exit(1);
  struct vhci_pkt vhci_pkt;
  if (read(vhci_fd, &vhci_pkt, sizeof(vhci_pkt)) != sizeof(vhci_pkt))
    exit(1);
  if (vhci_pkt.type == HCI_COMMAND_PKT &&
      vhci_pkt.command_hdr.opcode == HCI_OP_RESET) {
    char response[1] = {0};
    hci_send_event_cmd_complete(vhci_fd, HCI_OP_RESET, response,
                                sizeof(response));
    if (read(vhci_fd, &vhci_pkt, sizeof(vhci_pkt)) != sizeof(vhci_pkt))
      exit(1);
  }
  if (vhci_pkt.type != HCI_VENDOR_PKT)
    exit(1);
  int dev_id = vhci_pkt.vendor_pkt.id;
  pthread_t th;
  if (pthread_create(&th, NULL, event_thread, NULL))
    exit(1);
  int ret = ioctl(hci_sock, HCIDEVUP, dev_id);
  if (ret) {
    if (errno == ERFKILL) {
      rfkill_unblock_all();
      ret = ioctl(hci_sock, HCIDEVUP, dev_id);
    }
    if (ret && errno != EALREADY)
      exit(1);
  }
  struct hci_dev_req dr = {0};
  dr.dev_id = dev_id;
  dr.dev_opt = SCAN_PAGE;
  if (ioctl(hci_sock, HCISETSCAN, &dr))
    exit(1);
  struct hci_ev_conn_request request;
  memset(&request, 0, sizeof(request));
  memset(&request.bdaddr, 0xaa, 6);
  *(uint8_t*)&request.bdaddr.b[5] = 0x10;
  request.link_type = ACL_LINK;
  hci_send_event_packet(vhci_fd, HCI_EV_CONN_REQUEST, &request,
                        sizeof(request));
  struct hci_ev_conn_complete complete;
  memset(&complete, 0, sizeof(complete));
  complete.status = 0;
  complete.handle = HCI_HANDLE_1;
  memset(&complete.bdaddr, 0xaa, 6);
  *(uint8_t*)&complete.bdaddr.b[5] = 0x10;
  complete.link_type = ACL_LINK;
  complete.encr_mode = 0;
  hci_send_event_packet(vhci_fd, HCI_EV_CONN_COMPLETE, &complete,
                        sizeof(complete));
  struct hci_ev_remote_features features;
  memset(&features, 0, sizeof(features));
  features.status = 0;
  features.handle = HCI_HANDLE_1;
  hci_send_event_packet(vhci_fd, HCI_EV_REMOTE_FEATURES, &features,
                        sizeof(features));
  struct {
    struct hci_ev_le_meta le_meta;
    struct hci_ev_le_conn_complete le_conn;
  } le_conn;
  memset(&le_conn, 0, sizeof(le_conn));
  le_conn.le_meta.subevent = HCI_EV_LE_CONN_COMPLETE;
  memset(&le_conn.le_conn.bdaddr, 0xaa, 6);
  *(uint8_t*)&le_conn.le_conn.bdaddr.b[5] = 0x11;
  le_conn.le_conn.role = 1;
  le_conn.le_conn.handle = HCI_HANDLE_2;
  hci_send_event_packet(vhci_fd, HCI_EV_LE_META, &le_conn, sizeof(le_conn));
  pthread_join(th, NULL);
  close(hci_sock);
}

//% This code is derived from puff.{c,h}, found in the zlib development. The
//% original files come with the following copyright notice:

//% Copyright (C) 2002-2013 Mark Adler, all rights reserved
//% version 2.3, 21 Jan 2013
//% This software is provided 'as-is', without any express or implied
//% warranty.  In no event will the author be held liable for any damages
//% arising from the use of this software.
//% Permission is granted to anyone to use this software for any purpose,
//% including commercial applications, and to alter it and redistribute it
//% freely, subject to the following restrictions:
//% 1. The origin of this software must not be misrepresented; you must not
//%    claim that you wrote the original software. If you use this software
//%    in a product, an acknowledgment in the product documentation would be
//%    appreciated but is not required.
//% 2. Altered source versions must be plainly marked as such, and must not be
//%    misrepresented as being the original software.
//% 3. This notice may not be removed or altered from any source distribution.
//% Mark Adler    madler@alumni.caltech.edu

//% BEGIN CODE DERIVED FROM puff.{c,h}

#define MAXBITS 15
#define MAXLCODES 286
#define MAXDCODES 30
#define MAXCODES (MAXLCODES + MAXDCODES)
#define FIXLCODES 288

struct puff_state {
  unsigned char* out;
  unsigned long outlen;
  unsigned long outcnt;
  const unsigned char* in;
  unsigned long inlen;
  unsigned long incnt;
  int bitbuf;
  int bitcnt;
  jmp_buf env;
};
static int puff_bits(struct puff_state* s, int need)
{
  long val = s->bitbuf;
  while (s->bitcnt < need) {
    if (s->incnt == s->inlen)
      longjmp(s->env, 1);
    val |= (long)(s->in[s->incnt++]) << s->bitcnt;
    s->bitcnt += 8;
  }
  s->bitbuf = (int)(val >> need);
  s->bitcnt -= need;
  return (int)(val & ((1L << need) - 1));
}
static int puff_stored(struct puff_state* s)
{
  s->bitbuf = 0;
  s->bitcnt = 0;
  if (s->incnt + 4 > s->inlen)
    return 2;
  unsigned len = s->in[s->incnt++];
  len |= s->in[s->incnt++] << 8;
  if (s->in[s->incnt++] != (~len & 0xff) ||
      s->in[s->incnt++] != ((~len >> 8) & 0xff))
    return -2;
  if (s->incnt + len > s->inlen)
    return 2;
  if (s->outcnt + len > s->outlen)
    return 1;
  for (; len--; s->outcnt++, s->incnt++) {
    if (s->in[s->incnt])
      s->out[s->outcnt] = s->in[s->incnt];
  }
  return 0;
}
struct puff_huffman {
  short* count;
  short* symbol;
};
static int puff_decode(struct puff_state* s, const struct puff_huffman* h)
{
  int first = 0;
  int index = 0;
  int bitbuf = s->bitbuf;
  int left = s->bitcnt;
  int code = first = index = 0;
  int len = 1;
  short* next = h->count + 1;
  while (1) {
    while (left--) {
      code |= bitbuf & 1;
      bitbuf >>= 1;
      int count = *next++;
      if (code - count < first) {
        s->bitbuf = bitbuf;
        s->bitcnt = (s->bitcnt - len) & 7;
        return h->symbol[index + (code - first)];
      }
      index += count;
      first += count;
      first <<= 1;
      code <<= 1;
      len++;
    }
    left = (MAXBITS + 1) - len;
    if (left == 0)
      break;
    if (s->incnt == s->inlen)
      longjmp(s->env, 1);
    bitbuf = s->in[s->incnt++];
    if (left > 8)
      left = 8;
  }
  return -10;
}
static int puff_construct(struct puff_huffman* h, const short* length, int n)
{
  int len;
  for (len = 0; len <= MAXBITS; len++)
    h->count[len] = 0;
  int symbol;
  for (symbol = 0; symbol < n; symbol++)
    (h->count[length[symbol]])++;
  if (h->count[0] == n)
    return 0;
  int left = 1;
  for (len = 1; len <= MAXBITS; len++) {
    left <<= 1;
    left -= h->count[len];
    if (left < 0)
      return left;
  }
  short offs[MAXBITS + 1];
  offs[1] = 0;
  for (len = 1; len < MAXBITS; len++)
    offs[len + 1] = offs[len] + h->count[len];
  for (symbol = 0; symbol < n; symbol++)
    if (length[symbol] != 0)
      h->symbol[offs[length[symbol]]++] = symbol;
  return left;
}
static int puff_codes(struct puff_state* s, const struct puff_huffman* lencode,
                      const struct puff_huffman* distcode)
{
  static const short lens[29] = {3,  4,  5,  6,   7,   8,   9,   10,  11, 13,
                                 15, 17, 19, 23,  27,  31,  35,  43,  51, 59,
                                 67, 83, 99, 115, 131, 163, 195, 227, 258};
  static const short lext[29] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2,
                                 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0};
  static const short dists[30] = {
      1,    2,    3,    4,    5,    7,    9,    13,    17,    25,
      33,   49,   65,   97,   129,  193,  257,  385,   513,   769,
      1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577};
  static const short dext[30] = {0, 0, 0,  0,  1,  1,  2,  2,  3,  3,
                                 4, 4, 5,  5,  6,  6,  7,  7,  8,  8,
                                 9, 9, 10, 10, 11, 11, 12, 12, 13, 13};
  int symbol;
  do {
    symbol = puff_decode(s, lencode);
    if (symbol < 0)
      return symbol;
    if (symbol < 256) {
      if (s->outcnt == s->outlen)
        return 1;
      if (symbol)
        s->out[s->outcnt] = symbol;
      s->outcnt++;
    } else if (symbol > 256) {
      symbol -= 257;
      if (symbol >= 29)
        return -10;
      int len = lens[symbol] + puff_bits(s, lext[symbol]);
      symbol = puff_decode(s, distcode);
      if (symbol < 0)
        return symbol;
      unsigned dist = dists[symbol] + puff_bits(s, dext[symbol]);
      if (dist > s->outcnt)
        return -11;
      if (s->outcnt + len > s->outlen)
        return 1;
      while (len--) {
        if (dist <= s->outcnt && s->out[s->outcnt - dist])
          s->out[s->outcnt] = s->out[s->outcnt - dist];
        s->outcnt++;
      }
    }
  } while (symbol != 256);
  return 0;
}
static int puff_fixed(struct puff_state* s)
{
  static int virgin = 1;
  static short lencnt[MAXBITS + 1], lensym[FIXLCODES];
  static short distcnt[MAXBITS + 1], distsym[MAXDCODES];
  static struct puff_huffman lencode, distcode;
  if (virgin) {
    lencode.count = lencnt;
    lencode.symbol = lensym;
    distcode.count = distcnt;
    distcode.symbol = distsym;
    short lengths[FIXLCODES];
    int symbol;
    for (symbol = 0; symbol < 144; symbol++)
      lengths[symbol] = 8;
    for (; symbol < 256; symbol++)
      lengths[symbol] = 9;
    for (; symbol < 280; symbol++)
      lengths[symbol] = 7;
    for (; symbol < FIXLCODES; symbol++)
      lengths[symbol] = 8;
    puff_construct(&lencode, lengths, FIXLCODES);
    for (symbol = 0; symbol < MAXDCODES; symbol++)
      lengths[symbol] = 5;
    puff_construct(&distcode, lengths, MAXDCODES);
    virgin = 0;
  }
  return puff_codes(s, &lencode, &distcode);
}
static int puff_dynamic(struct puff_state* s)
{
  static const short order[19] = {16, 17, 18, 0, 8,  7, 9,  6, 10, 5,
                                  11, 4,  12, 3, 13, 2, 14, 1, 15};
  int nlen = puff_bits(s, 5) + 257;
  int ndist = puff_bits(s, 5) + 1;
  int ncode = puff_bits(s, 4) + 4;
  if (nlen > MAXLCODES || ndist > MAXDCODES)
    return -3;
  short lengths[MAXCODES];
  int index;
  for (index = 0; index < ncode; index++)
    lengths[order[index]] = puff_bits(s, 3);
  for (; index < 19; index++)
    lengths[order[index]] = 0;
  short lencnt[MAXBITS + 1], lensym[MAXLCODES];
  struct puff_huffman lencode = {lencnt, lensym};
  int err = puff_construct(&lencode, lengths, 19);
  if (err != 0)
    return -4;
  index = 0;
  while (index < nlen + ndist) {
    int symbol;
    int len;
    symbol = puff_decode(s, &lencode);
    if (symbol < 0)
      return symbol;
    if (symbol < 16)
      lengths[index++] = symbol;
    else {
      len = 0;
      if (symbol == 16) {
        if (index == 0)
          return -5;
        len = lengths[index - 1];
        symbol = 3 + puff_bits(s, 2);
      } else if (symbol == 17)
        symbol = 3 + puff_bits(s, 3);
      else
        symbol = 11 + puff_bits(s, 7);
      if (index + symbol > nlen + ndist)
        return -6;
      while (symbol--)
        lengths[index++] = len;
    }
  }
  if (lengths[256] == 0)
    return -9;
  err = puff_construct(&lencode, lengths, nlen);
  if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1]))
    return -7;
  short distcnt[MAXBITS + 1], distsym[MAXDCODES];
  struct puff_huffman distcode = {distcnt, distsym};
  err = puff_construct(&distcode, lengths + nlen, ndist);
  if (err && (err < 0 || ndist != distcode.count[0] + distcode.count[1]))
    return -8;
  return puff_codes(s, &lencode, &distcode);
}
static int puff(unsigned char* dest, unsigned long* destlen,
                const unsigned char* source, unsigned long sourcelen)
{
  struct puff_state s = {
      .out = dest,
      .outlen = *destlen,
      .outcnt = 0,
      .in = source,
      .inlen = sourcelen,
      .incnt = 0,
      .bitbuf = 0,
      .bitcnt = 0,
  };
  int err;
  if (setjmp(s.env) != 0)
    err = 2;
  else {
    int last;
    do {
      last = puff_bits(&s, 1);
      int type = puff_bits(&s, 2);
      err = type == 0 ? puff_stored(&s)
                      : (type == 1 ? puff_fixed(&s)
                                   : (type == 2 ? puff_dynamic(&s) : -1));
      if (err != 0)
        break;
    } while (!last);
  }
  *destlen = s.outcnt;
  return err;
}

//% END CODE DERIVED FROM puff.{c,h}

#define ZLIB_HEADER_WIDTH 2

static int puff_zlib_to_file(const unsigned char* source,
                             unsigned long sourcelen, int dest_fd)
{
  if (sourcelen < ZLIB_HEADER_WIDTH)
    return 0;
  source += ZLIB_HEADER_WIDTH;
  sourcelen -= ZLIB_HEADER_WIDTH;
  const unsigned long max_destlen = 132 << 20;
  void* ret = mmap(0, max_destlen, PROT_WRITE | PROT_READ,
                   MAP_PRIVATE | MAP_ANON, -1, 0);
  if (ret == MAP_FAILED)
    return -1;
  unsigned char* dest = (unsigned char*)ret;
  unsigned long destlen = max_destlen;
  int err = puff(dest, &destlen, source, sourcelen);
  if (err) {
    munmap(dest, max_destlen);
    errno = -err;
    return -1;
  }
  if (write(dest_fd, dest, destlen) != (ssize_t)destlen) {
    munmap(dest, max_destlen);
    return -1;
  }
  return munmap(dest, max_destlen);
}

static int setup_loop_device(unsigned char* data, unsigned long size,
                             const char* loopname, int* loopfd_p)
{
  int err = 0, loopfd = -1;
  int memfd = syscall(__NR_memfd_create, "syzkaller", 0);
  if (memfd == -1) {
    err = errno;
    goto error;
  }
  if (puff_zlib_to_file(data, size, memfd)) {
    err = errno;
    goto error_close_memfd;
  }
  loopfd = open(loopname, O_RDWR);
  if (loopfd == -1) {
    err = errno;
    goto error_close_memfd;
  }
  if (ioctl(loopfd, LOOP_SET_FD, memfd)) {
    if (errno != EBUSY) {
      err = errno;
      goto error_close_loop;
    }
    ioctl(loopfd, LOOP_CLR_FD, 0);
    usleep(1000);
    if (ioctl(loopfd, LOOP_SET_FD, memfd)) {
      err = errno;
      goto error_close_loop;
    }
  }
  close(memfd);
  *loopfd_p = loopfd;
  return 0;

error_close_loop:
  close(loopfd);
error_close_memfd:
  close(memfd);
error:
  errno = err;
  return -1;
}

static long syz_mount_image(volatile long fsarg, volatile long dir,
                            volatile long flags, volatile long optsarg,
                            volatile long change_dir,
                            volatile unsigned long size, volatile long image)
{
  unsigned char* data = (unsigned char*)image;
  int res = -1, err = 0, loopfd = -1, need_loop_device = !!size;
  char* mount_opts = (char*)optsarg;
  char* target = (char*)dir;
  char* fs = (char*)fsarg;
  char* source = NULL;
  char loopname[64];
  if (need_loop_device) {
    memset(loopname, 0, sizeof(loopname));
    snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid);
    if (setup_loop_device(data, size, loopname, &loopfd) == -1)
      return -1;
    source = loopname;
  }
  mkdir(target, 0777);
  char opts[256];
  memset(opts, 0, sizeof(opts));
  if (strlen(mount_opts) > (sizeof(opts) - 32)) {
  }
  strncpy(opts, mount_opts, sizeof(opts) - 32);
  if (strcmp(fs, "iso9660") == 0) {
    flags |= MS_RDONLY;
  } else if (strncmp(fs, "ext", 3) == 0) {
    bool has_remount_ro = false;
    char* remount_ro_start = strstr(opts, "errors=remount-ro");
    if (remount_ro_start != NULL) {
      char after = *(remount_ro_start + strlen("errors=remount-ro"));
      char before = remount_ro_start == opts ? '\0' : *(remount_ro_start - 1);
      has_remount_ro = ((before == '\0' || before == ',') &&
                        (after == '\0' || after == ','));
    }
    if (strstr(opts, "errors=panic") || !has_remount_ro)
      strcat(opts, ",errors=continue");
  } else if (strcmp(fs, "xfs") == 0) {
    strcat(opts, ",nouuid");
  }
  res = mount(source, target, fs, flags, opts);
  if (res == -1) {
    err = errno;
    goto error_clear_loop;
  }
  res = open(target, O_RDONLY | O_DIRECTORY);
  if (res == -1) {
    err = errno;
    goto error_clear_loop;
  }
  if (change_dir) {
    res = chdir(target);
    if (res == -1) {
      err = errno;
    }
  }

error_clear_loop:
  if (need_loop_device) {
    ioctl(loopfd, LOOP_CLR_FD, 0);
    close(loopfd);
  }
  errno = err;
  return res;
}

static void setup_common()
{
  if (mount(0, "/sys/fs/fuse/connections", "fusectl", 0, 0)) {
  }
}

static void setup_binderfs()
{
  if (mkdir("/dev/binderfs", 0777)) {
  }
  if (mount("binder", "/dev/binderfs", "binder", 0, NULL)) {
  }
  if (symlink("/dev/binderfs", "./binderfs")) {
  }
}

static void loop();

static void sandbox_common()
{
  prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0);
  setsid();
  struct rlimit rlim;
  rlim.rlim_cur = rlim.rlim_max = (200 << 20);
  setrlimit(RLIMIT_AS, &rlim);
  rlim.rlim_cur = rlim.rlim_max = 32 << 20;
  setrlimit(RLIMIT_MEMLOCK, &rlim);
  rlim.rlim_cur = rlim.rlim_max = 136 << 20;
  setrlimit(RLIMIT_FSIZE, &rlim);
  rlim.rlim_cur = rlim.rlim_max = 1 << 20;
  setrlimit(RLIMIT_STACK, &rlim);
  rlim.rlim_cur = rlim.rlim_max = 128 << 20;
  setrlimit(RLIMIT_CORE, &rlim);
  rlim.rlim_cur = rlim.rlim_max = 256;
  setrlimit(RLIMIT_NOFILE, &rlim);
  if (unshare(CLONE_NEWNS)) {
  }
  if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL)) {
  }
  if (unshare(CLONE_NEWIPC)) {
  }
  if (unshare(0x02000000)) {
  }
  if (unshare(CLONE_NEWUTS)) {
  }
  if (unshare(CLONE_SYSVSEM)) {
  }
  typedef struct {
    const char* name;
    const char* value;
  } sysctl_t;
  static const sysctl_t sysctls[] = {
      {"/proc/sys/kernel/shmmax", "16777216"},
      {"/proc/sys/kernel/shmall", "536870912"},
      {"/proc/sys/kernel/shmmni", "1024"},
      {"/proc/sys/kernel/msgmax", "8192"},
      {"/proc/sys/kernel/msgmni", "1024"},
      {"/proc/sys/kernel/msgmnb", "1024"},
      {"/proc/sys/kernel/sem", "1024 1048576 500 1024"},
  };
  unsigned i;
  for (i = 0; i < sizeof(sysctls) / sizeof(sysctls[0]); i++)
    write_file(sysctls[i].name, sysctls[i].value);
}

static int wait_for_loop(int pid)
{
  if (pid < 0)
    exit(1);
  int status = 0;
  while (waitpid(-1, &status, __WALL) != pid) {
  }
  return WEXITSTATUS(status);
}

static void drop_caps(void)
{
  struct __user_cap_header_struct cap_hdr = {};
  struct __user_cap_data_struct cap_data[2] = {};
  cap_hdr.version = _LINUX_CAPABILITY_VERSION_3;
  cap_hdr.pid = getpid();
  if (syscall(SYS_capget, &cap_hdr, &cap_data))
    exit(1);
  const int drop = (1 << CAP_SYS_PTRACE) | (1 << CAP_SYS_NICE);
  cap_data[0].effective &= ~drop;
  cap_data[0].permitted &= ~drop;
  cap_data[0].inheritable &= ~drop;
  if (syscall(SYS_capset, &cap_hdr, &cap_data))
    exit(1);
}

static int do_sandbox_none(void)
{
  if (unshare(CLONE_NEWPID)) {
  }
  int pid = fork();
  if (pid != 0)
    return wait_for_loop(pid);
  setup_common();
  initialize_vhci();
  sandbox_common();
  drop_caps();
  if (unshare(CLONE_NEWNET)) {
  }
  write_file("/proc/sys/net/ipv4/ping_group_range", "0 65535");
  setup_binderfs();
  loop();
  exit(1);
}

static void setup_binfmt_misc()
{
  if (mount(0, "/proc/sys/fs/binfmt_misc", "binfmt_misc", 0, 0)) {
  }
  write_file("/proc/sys/fs/binfmt_misc/register", ":syz0:M:0:\x01::./file0:");
  write_file("/proc/sys/fs/binfmt_misc/register",
             ":syz1:M:1:\x02::./file0:POC");
}

static void setup_sysctl()
{
  char mypid[32];
  snprintf(mypid, sizeof(mypid), "%d", getpid());
  struct {
    const char* name;
    const char* data;
  } files[] = {
      {"/sys/kernel/debug/x86/nmi_longest_ns", "10000000000"},
      {"/proc/sys/kernel/hung_task_check_interval_secs", "20"},
      {"/proc/sys/net/core/bpf_jit_kallsyms", "1"},
      {"/proc/sys/net/core/bpf_jit_harden", "0"},
      {"/proc/sys/kernel/kptr_restrict", "0"},
      {"/proc/sys/kernel/softlockup_all_cpu_backtrace", "1"},
      {"/proc/sys/fs/mount-max", "100"},
      {"/proc/sys/vm/oom_dump_tasks", "0"},
      {"/proc/sys/debug/exception-trace", "0"},
      {"/proc/sys/kernel/printk", "7 4 1 3"},
      {"/proc/sys/kernel/keys/gc_delay", "1"},
      {"/proc/sys/vm/oom_kill_allocating_task", "1"},
      {"/proc/sys/kernel/ctrl-alt-del", "0"},
      {"/proc/sys/kernel/cad_pid", mypid},
  };
  for (size_t i = 0; i < sizeof(files) / sizeof(files[0]); i++) {
    if (!write_file(files[i].name, files[i].data))
      printf("write to %s failed: %s\n", files[i].name, strerror(errno));
  }
}

#define NL802154_CMD_SET_SHORT_ADDR 11
#define NL802154_ATTR_IFINDEX 3
#define NL802154_ATTR_SHORT_ADDR 10

static void setup_802154()
{
  int sock_route = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
  if (sock_route == -1)
    exit(1);
  int sock_generic = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC);
  if (sock_generic < 0)
    exit(1);
  int nl802154_family_id =
      netlink_query_family_id(&nlmsg, sock_generic, "nl802154", true);
  for (int i = 0; i < 2; i++) {
    char devname[] = "wpan0";
    devname[strlen(devname) - 1] += i;
    uint64_t hwaddr = 0xaaaaaaaaaaaa0002 + (i << 8);
    uint16_t shortaddr = 0xaaa0 + i;
    int ifindex = if_nametoindex(devname);
    struct genlmsghdr genlhdr;
    memset(&genlhdr, 0, sizeof(genlhdr));
    genlhdr.cmd = NL802154_CMD_SET_SHORT_ADDR;
    netlink_init(&nlmsg, nl802154_family_id, 0, &genlhdr, sizeof(genlhdr));
    netlink_attr(&nlmsg, NL802154_ATTR_IFINDEX, &ifindex, sizeof(ifindex));
    netlink_attr(&nlmsg, NL802154_ATTR_SHORT_ADDR, &shortaddr,
                 sizeof(shortaddr));
    int err = netlink_send(&nlmsg, sock_generic);
    if (err < 0) {
    }
    netlink_device_change(&nlmsg, sock_route, devname, true, 0, &hwaddr,
                          sizeof(hwaddr), 0);
    if (i == 0) {
      netlink_add_device_impl(&nlmsg, "lowpan", "lowpan0", false);
      netlink_done(&nlmsg);
      netlink_attr(&nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex));
      int err = netlink_send(&nlmsg, sock_route);
      if (err < 0) {
      }
    }
  }
  close(sock_route);
  close(sock_generic);
}

uint64_t r[1] = {0xffffffffffffffff};

void loop(void)
{
  intptr_t res = 0;
  memcpy((void*)0x20000180, "udf\000", 4);
  memcpy((void*)0x200002c0, "./file0\000", 8);
  memcpy(
      (void*)0x200011c0,
      "\x78\x9c\xec\xdd\x4f\x6c\x1c\xd7\x7d\x07\xf0\xdf\x1b\x92\x22\x29\xb7\x15"
      "\x13\x3b\x8a\xdd\xc6\xc5\xa6\x2d\x52\x99\xb1\x5c\xfd\x8b\xa9\x58\x85\xbb"
      "\xaa\x69\xb6\x01\x64\x99\x08\xc5\xdc\x02\x70\x45\x52\xea\xc2\xd4\x92\x20"
      "\xa9\x46\x36\xd2\x82\xe9\xa5\x87\x1e\x02\x14\x45\x0f\x39\x11\x68\x8d\x02"
      "\x29\x1a\x18\x4d\x11\xf4\xc8\xb6\x2e\x90\x5c\x7c\x28\x72\xea\x89\x68\x61"
      "\x23\x28\x7a\x60\x8b\x00\x39\x05\x2c\x66\xf6\xad\xb8\xa4\x28\x4b\x15\x45"
      "\x89\xb4\x3e\x1f\x9b\xfa\xee\xce\xbc\x37\xf3\xde\xcc\x78\x46\x16\xf4\xe6"
      "\x05\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\xf1\xbb\xaf"
      "\x5f\x3c\x75\x3a\x3d\xee\x56\x00\x00\x8f\xd2\xe5\x89\xaf\x9e\x3a\xe3\xf9"
      "\x0f\x00\x4f\x94\x2b\xfe\xff\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x0e\xba\x14\x45\x3c\x1d\x29\x16\x2e\x6f\xa4\xa9\xea\x7b\xdb\xc0\xa5"
      "\x66\xeb\xe6\xad\xc9\xd1\xb1\xdd\xab\x0d\xa6\xaa\x66\x4f\x55\xbe\xfc\x19"
      "\x38\x7d\xe6\xec\xb9\x2f\xbd\x3c\x72\xbe\x93\x1f\x5f\xff\x61\x7b\x2e\xde"
      "\x9c\xb8\x72\xb1\xf6\xda\xfc\x8d\x85\xc5\xd9\xa5\xa5\xd9\x99\xda\x64\xab"
      "\x39\x3d\x3f\x33\x7b\xdf\x5b\xd8\x6b\xfd\x9d\x86\xab\x03\x50\xbb\xf1\xd6"
      "\xcd\x99\x6b\xd7\x96\x6a\x67\x5e\x3a\xbb\x6d\xf5\xad\xa1\x8f\xfa\x9f\x3a"
      "\x3e\x74\x61\xe4\x85\x93\xcf\x77\xca\x4e\x8e\x8e\x8d\x4d\x74\x95\xe9\xed"
      "\x7b\xe0\xbd\xdf\xe1\x6e\x23\x3c\x8e\x44\x11\x27\x23\xc5\x8b\xdf\xfb\x49"
      "\x6a\x44\x44\x11\x7b\x3f\x16\xf7\xb8\x76\xf6\xdb\x60\xd5\x89\xe1\xaa\x13"
      "\x93\xa3\x63\x55\x47\xe6\x9a\x8d\xd6\x72\xb9\x72\xbc\x73\x20\x8a\x88\x5a"
      "\x57\xa5\x7a\xe7\x18\x3d\x82\x73\xb1\x27\xf5\x88\x95\xb2\xf9\x65\x83\x87"
      "\xcb\xee\x4d\x2c\x34\x16\x1b\x57\xe7\x66\x6b\xe3\x8d\xc5\xe5\xe6\x72\x73"
      "\xbe\x35\x9e\xda\xad\x2d\xfb\x53\x8b\x22\xce\xa7\x88\xd5\x88\x58\xef\xbf"
      "\x73\x73\x7d\x51\x44\x6f\xa4\xf8\xce\xb1\x8d\x74\x35\x22\x7a\x3a\xc7\xe1"
      "\x8b\xd5\xc0\xe0\xbb\xb7\xa3\xd8\xc7\x3e\xde\x87\xb2\x9d\xb5\xbe\x88\xd5"
      "\xe2\x10\x9c\xb3\x03\xac\x3f\x8a\x78\x23\x52\xfc\xf4\xfd\x13\x31\x5d\x1e"
      "\xb3\xfc\x13\x5f\x88\x78\xa3\xcc\x1f\x44\xbc\x5b\xe6\xab\x11\xa9\xbc\x30"
      "\xce\x45\x7c\xb8\xcb\x75\xc4\xe1\xd4\x1b\x45\xfc\x59\x79\xfe\x2f\x6c\xa4"
      "\x99\xea\x7e\xd0\xb9\xaf\x5c\xfa\x5a\xed\x2b\xad\x6b\xf3\x5d\x65\x3b\xf7"
      "\x95\x43\xfa\x7c\x18\xdc\x91\x8f\xc6\x01\xbf\x37\x0d\x44\x11\x8d\xea\x8e"
      "\xbf\x91\x1e\xfc\x37\x3b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x3c\x6c\x83\x51\xc4\x73\x91\xe2\xf5\x7f\xfb\xc3\x6a\x5c\x71\x54\xe3"
      "\xd2\x8f\x5d\x18\xf9\xbd\xa1\x5f\xec\x1e\x33\xfe\xec\x3d\xb6\x53\x96\x7d"
      "\x29\x22\x56\x8a\xfb\x1b\x93\x7b\x24\x0f\x21\x1e\x4f\xe3\x29\x3d\xe6\xb1"
      "\xc4\x4f\xb2\x81\x28\xe2\x8f\xf2\xf8\xbf\x6f\x3d\xee\xc6\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3c\xd1\x8a\xf8\x71\xa4\x78"
      "\xe5\x83\x13\x69\x35\xba\xe7\x14\x6f\xb6\xae\xd7\xae\x34\xae\xce\xb5\x67"
      "\x85\xed\xcc\xfd\xdb\x99\x33\x7d\x73\x73\x73\xb3\x96\xda\x59\xcf\x39\x95"
      "\x73\x25\xe7\x6a\xce\xb5\x9c\xeb\x39\xa3\xc8\xf5\x73\xd6\x73\x4e\xe5\x5c"
      "\xc9\xb9\x9a\x73\x2d\xe7\x7a\xce\xe8\xc9\xf5\x73\xd6\x73\x4e\xe5\x5c\xc9"
      "\xb9\x9a\x73\x2d\xe7\x7a\xce\xe8\xcd\xf5\x73\xd6\x73\x4e\xe5\x5c\xc9\xb9"
      "\x9a\x73\x2d\xe7\x7a\xce\x38\x20\x73\xf7\x02\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x7c\x92\x14\x51\xc4\xcf\x23\xc5\xb7\xbf\xb1\x91\x22\x45\x44"
      "\x3d\x62\x2a\xda\xb9\xd6\xff\xb8\x5b\x07\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x94\xfa\x53\x11\xdf\x8f\x14"
      "\xb5\xdf\xaf\xdf\x5e\xd6\x1b\x11\xa9\xfa\xb7\xed\x44\xf9\xcb\xb9\xa8\x1f"
      "\x29\xf3\xd3\x51\x1f\x29\xf3\xd5\xa8\x5f\xcc\xd9\xa8\xb2\xb7\xfe\xad\xc7"
      "\xd0\x7e\xf6\xa6\x2f\x15\xf1\xa3\x48\xd1\x3f\xf0\xde\xed\x13\x9e\xcf\x7f"
      "\x5f\xfb\xdb\xed\xcb\x20\xde\xfd\xe6\xd6\xb7\x5f\xee\x6d\x67\x4f\x67\xe5"
      "\xd0\x47\xfd\x4f\x1d\x3f\x76\x61\x64\xec\x57\x9f\xbd\xdb\xe7\xb4\x5b\x03"
      "\x86\x2f\x35\x5b\x37\x6f\xd5\x26\x47\xc7\xc6\x26\xba\x16\xf7\xe6\xbd\x7f"
      "\xba\x6b\xd9\x50\xde\x6f\xf1\x70\xba\x4e\x44\x2c\xbd\xfd\xce\x5b\x8d\xb9"
      "\xb9\xd9\xc5\x07\xff\x50\x5e\x02\x7b\xa8\xee\x83\x0f\x07\xf5\x43\xf4\x1e"
      "\x88\x66\x3c\x9e\xbe\xf3\x04\x28\x9f\xff\x1f\x46\x8a\xdf\xfa\xe0\xdf\x3b"
      "\x0f\xfc\xce\xf3\xff\x17\xda\xdf\x6e\x3f\xe1\xe3\x67\x7f\xbc\xf5\xfc\x7f"
      "\x65\xe7\x86\xf6\xe9\xf9\xff\x74\xd7\xb2\x57\xf2\xef\x46\xfa\x7a\x23\x06"
      "\x96\x6f\x2c\xf4\x1d\x8f\x18\x58\x7a\xfb\x9d\x93\xcd\x1b\x8d\xeb\xb3\xd7"
      "\x67\x5b\xe7\x4e\x9d\xfa\xf2\xc8\xc8\x97\xcf\x9e\xea\x3b\x12\x31\x70\xad"
      "\x39\x37\xdb\xf5\x69\xcf\x87\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\xe0\xd1\x4a\x45\xfc\x4e\xa4\x68\xfc\x68\x23\xd5\x22\xe2\x56\x35"
      "\x5e\x6b\xe8\xc2\xc8\x0b\x27\x9f\xef\x89\x9e\x6a\xbc\xd5\xb6\x71\x5b\x6f"
      "\x4e\x5c\xb9\x58\x7b\x6d\xfe\xc6\xc2\xe2\xec\xd2\xd2\xec\x4c\x6d\xb2\xd5"
      "\x9c\x9e\x9f\x99\xbd\xdf\xdd\x0d\x54\xc3\xbd\x26\x47\xc7\xf6\xa5\x33\xf7"
      "\x34\xb8\xcf\xed\x1f\x1c\x78\x6d\x7e\xe1\xed\xc5\xe6\xf5\x3f\x58\xde\x75"
      "\xfd\xd1\x81\x8b\x57\x97\x96\x17\x1b\xd3\xbb\xaf\x8e\xc1\x28\x22\xea\xdd"
      "\x4b\x86\xab\x06\x4f\x8e\x8e\x55\x8d\x9e\x6b\x36\x5a\x55\xd5\xf1\x5d\x07"
      "\xd3\xfd\xff\xf5\xa5\x22\xfe\x23\x52\x4c\x9f\xab\xa5\xcf\xe7\x65\x79\xfc"
      "\xdf\xce\x11\xfe\xdb\xc6\xff\xaf\xec\xdc\xd0\x3e\x8d\xff\xfb\x54\xd7\xb2"
      "\x72\x9f\x29\x15\xf1\xb3\x48\xf1\x9b\x7f\xfe\x6c\x7c\xbe\x6a\xe7\xd1\xb8"
      "\xe3\x98\xe5\x72\x7f\x1d\x29\x86\xcf\x7f\x2e\x97\x8b\x23\x65\xb9\x4e\x1b"
      "\xda\xef\x15\x68\x8f\x0c\x2c\xcb\xfe\x4f\xa4\xf8\xfb\x9f\x6f\x2f\xdb\x19"
      "\x0f\xf9\xf4\x56\xd9\xd3\xf7\x7d\x60\x0f\x89\xf2\xfc\x1f\x8b\x14\xdf\xff"
      "\xd3\xef\xc6\xaf\xe5\x65\xdb\xdf\xff\xb0\xfb\xf9\x3f\xba\x73\x43\xfb\x74"
      "\xfe\x9f\xe9\x5a\x76\x74\xdb\xfb\x0a\xf6\xdc\x75\xf2\xf9\x3f\x19\x29\x5e"
      "\x7d\xfa\xbd\xf8\xf5\xbc\xec\xe3\xde\xff\xd1\x79\xf7\xc6\x89\x5c\xf8\xf6"
      "\xfb\x39\xf6\xe9\xfc\x7f\xa6\x6b\xd9\x50\xde\xef\x6f\x3c\x9c\xae\x03\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x1c\x6a\x7d\xa9\x88\xbf\x89\x14\xcf\x8f\xf5"
      "\xa6\x97\xf3\xb2\xfb\xf9\xfb\x7f\x33\x3b\x37\xb4\x4f\x7f\xff\xeb\xb3\x5d"
      "\xcb\x66\x1e\xce\x7c\x45\xf7\xfc\xb0\xe7\x83\x0a\x00\x00\x00\x00\x07\x44"
      "\x5f\x2a\xe2\xc7\x91\xe2\xfa\xf2\x7b\xb7\xc7\x50\x6f\x1f\xff\xdd\x35\xfe"
      "\xf3\xb7\xb7\xc6\x7f\x8e\xa6\x1d\x6b\xab\x3f\xe7\xfb\xa5\xea\xbd\x01\x0f"
      "\xf3\xcf\xff\xba\x0d\xe5\xfd\x4e\xed\xbd\xdb\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x70\xa0\xa4\x54\xc4\xcb\x79\x3e\xf5\xa9"
      "\x7b\xcc\xa7\xbe\x16\x29\x5e\xff\xaf\x17\x73\xb9\x74\xbc\x2c\xd7\x99\x07"
      "\x7e\xa8\xfa\x75\xe0\xf2\x7c\xeb\xe4\xc5\xb9\xb9\xf9\xe9\xc6\x72\xe3\xea"
      "\xdc\x6c\x6d\x62\xa1\x31\x3d\x5b\xd6\x7d\x26\x52\x6c\xfc\xd5\xe7\x72\xdd"
      "\xa2\x9a\x5f\xbd\x33\xdf\x7c\x7b\x8e\xf7\xad\xb9\xd8\x17\x23\xc5\xd8\xdf"
      "\x76\xca\xb6\xe7\x62\xef\xcc\x4d\xfe\xcc\x56\xd9\xd3\x65\xd9\x4f\x45\x8a"
      "\xff\xfc\xbb\xed\x65\x3b\xf3\x58\x7f\x66\xab\xec\x99\xb2\xec\x5f\x46\x8a"
      "\xaf\xff\xe3\xee\x65\x8f\x6f\x95\x3d\x5b\x96\xfd\x6e\xa4\xf8\xe1\xd7\x6b"
      "\x9d\xb2\x47\xcb\xb2\x9d\xf7\xa3\x7e\x76\xab\xec\x4b\xd3\xf3\xc5\x3e\x9c"
      "\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x9e\x34"
      "\x7d\xa9\x88\x3f\x89\x14\xff\x7d\x63\xf5\xf6\x58\xfe\x3c\xff\x7f\x5f\xd7"
      "\xd7\xca\xbb\xdf\xec\x9a\xef\x7f\x87\x5b\xd5\x3c\xff\x43\xd5\xfc\xff\x77"
      "\xfb\xfc\x20\xf3\xff\x0f\x3d\x9c\x6e\x02\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
      "\x00\x00\x00\x00\x00\x00\x00\x00\xc0\xa1\x92\xa2\x88\x77\x22\xc5\xc2\xe5"
      "\x8d\xb4\xd6\x5f\x7e\x6f\x1b\xb8\xd4\x6c\xdd\xbc\x35\x39\x3a\xb6\x7b\xb5"
      "\xc1\x54\xd5\xec\xa9\xca\x97\x3f\x03\xa7\xcf\x9c\x3d\xf7\xa5\x97\x47\xce"
      "\x77\xf2\xe3\xeb\x3f\x6c\xcf\xc5\x9b\x13\x57\x2e\xd6\x5e\x9b\xbf\xb1\xb0"
      "\x38\xbb\xb4\x34\x3b\x53\x9b\x6c\x35\xa7\xe7\x67\x66\xef\x7b\x0b\x7b\xad"
      "\xbf\xd3\x70\x75\x00\x6a\x37\xde\xba\x39\x73\xed\xda\x52\xed\xcc\x4b\x67"
      "\xb7\xad\xbe\x35\xf4\x51\xff\x53\xc7\x87\x2e\x8c\xbc\x70\xf2\xf9\x4e\xd9"
      "\xc9\xd1\xb1\xb1\x89\xae\x32\xbd\x7d\x0f\xbc\xf7\x3b\xa4\xbb\x2c\x3f\x12"
      "\x45\xfc\x45\xa4\x78\xf1\x7b\x3f\x49\xff\xd4\x1f\x51\xc4\xde\x8f\xc5\x3d"
      "\xae\x9d\xfd\x36\x58\x75\x62\xb8\xea\xc4\xe4\xe8\x58\xd5\x91\xb9\x66\xa3"
      "\xb5\x5c\xae\x1c\xef\x1c\x88\x22\xa2\xd6\x55\xa9\xde\x39\x46\x8f\xe0\x5c"
      "\xec\x49\x3d\x62\xa5\x6c\x7e\xd9\xe0\xe1\xb2\x7b\x13\x0b\x8d\xc5\xc6\xd5"
      "\xb9\xd9\xda\x78\x63\x71\xb9\xb9\xdc\x9c\x6f\x8d\xa7\x76\x6b\xcb\xfe\xd4"
      "\xa2\x88\xf3\x29\x62\x35\x22\xd6\xfb\xef\xdc\x5c\x5f\x14\xf1\x56\xa4\xf8"
      "\xce\xb1\x8d\xf4\xcf\xfd\x11\x3d\x9d\xe3\xf0\xc5\xcb\x13\x5f\x3d\x75\xe6"
      "\xee\xed\x28\xf6\xb1\x8f\xf7\xa1\x6c\x67\xad\x2f\x62\xb5\x38\x04\xe7\xec"
      "\x00\xeb\x8f\x22\xfe\x21\x52\xfc\xf4\xfd\x13\xf1\x2f\xfd\x11\xbd\xd1\xfe"
      "\x89\x2f\x44\xbc\x51\xe6\x0f\x22\xde\x8d\xf6\xf9\x4e\xe5\x85\x71\x2e\xe2"
      "\xc3\x5d\xae\x23\x0e\xa7\xde\x28\xe2\x7f\xcb\xf3\x7f\x61\x23\xbd\xdf\x5f"
      "\xde\x0f\x3a\xf7\x95\x4b\x5f\xab\x7d\xa5\x75\x6d\xbe\xab\x6c\xe7\xbe\x72"
      "\xe8\x9f\x0f\x8f\xd2\x01\xbf\x37\x0d\x44\x11\x3f\xac\xee\xf8\x1b\xe9\x5f"
      "\xfd\x77\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x70\x80\x14"
      "\xf1\x2b\x91\xe2\x95\x0f\x4e\xa4\x6a\x7c\xf0\xed\x31\xc5\xcd\xd6\xf5\xda"
      "\x95\xc6\xd5\xb9\xf6\xb0\xbe\xce\xd8\xbf\xce\x98\xe9\xcd\xcd\xcd\xcd\x5a"
      "\x6a\x67\x3d\xe7\x54\xce\x95\x9c\xab\x39\xd7\x72\xae\xe7\x8c\x22\xd7\xcf"
      "\x59\x2f\x73\x60\x73\x73\x2a\x7f\x5f\xc9\xb9\x9a\x73\x2d\xe7\x7a\xce\xe8"
      "\xc9\xf5\x73\xd6\x73\x4e\xe5\x5c\xc9\xb9\x9a\x73\x2d\xe7\x7a\xce\xe8\xcd"
      "\xf5\x73\xd6\x73\x4e\xe5\x5c\xc9\xb9\x9a\x73\x2d\xe7\x7a\xce\x38\x20\x63"
      "\xf7\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x4f\x96"
      "\xa2\xfa\x27\xc5\xb7\xbf\xb1\x91\x36\xfb\xdb\xf3\x4b\x4f\x45\x3b\xd7\xcc"
      "\x07\xfa\x89\xf7\x7f\x01\x00\x00\xff\xff\xc2\x0e\xfa\x3f",
      3074);
  syz_mount_image(/*fs=*/0x20000180, /*dir=*/0x200002c0, /*flags=*/0x800,
                  /*opts=*/0x200000c0, /*chdir=*/8, /*size=*/0xc02,
                  /*img=*/0x200011c0);
  memcpy((void*)0x200000c0, "./bus\000", 6);
  syscall(__NR_open, /*file=*/0x200000c0ul, /*flags=*/0x14d242ul, /*mode=*/0ul);
  memcpy((void*)0x200001c0, "/dev/loop", 9);
  *(uint8_t*)0x200001c9 = 0x30;
  *(uint8_t*)0x200001ca = 0;
  memcpy((void*)0x20000180, "./bus\000", 6);
  syscall(__NR_mount, /*src=*/0x200001c0ul, /*dst=*/0x20000180ul, /*type=*/0ul,
          /*flags=*/0x1000ul, /*data=*/0ul);
  memcpy((void*)0x20000140, "./bus\000", 6);
  res = syscall(__NR_open, /*file=*/0x20000140ul, /*flags=*/0x14113eul,
                /*mode=*/0ul);
  if (res != -1)
    r[0] = res;
  memcpy(
      (void*)0x20001e00,
      "\xcb\xa4\xb9\xf3\xd9\x09\x76\xf6\x41\x11\x34\x6a\x53\xd8\x4e\x5b\x68\x50"
      "\xcc\xdd\x64\x31\x59\xea\xde\x78\xbe\x8c\x2d\x27\x99\xee\xee\x97\x6a\x26"
      "\xe3\x8b\xff\xa3\xf2\x77\xae\x84\xed\xec\xcf\x2c\xfe\x26\x44\x8a\x92\xde"
      "\x4e\xe0\x7d\x7e\x1a\xca\x09\xe3\x90\xd0\x97\x1c\x5d\x5b\x65\x98\xdb\x1f"
      "\x55\xe4\x06\xc9\x1f\xd3\xab\xea\x56\x68\x03\xa4\x66\x9a\x2e\x23\xa7\x2e"
      "\x4c\x3e\x70\x12\x5f\x76\x82\x32\x67\x49\x0d\xcc\xbe\x7a\xc7\x72\x8e\x3f"
      "\xd3\x2a\x44\x19\xc7\xa7\x56\x07\x26\x3b\x91\x41\x7b\x9b\x0c\xc8\xad\xc2"
      "\x9b\x9f\xa3\x45\x0b\x89\x4b\x3f\x74\x3b\x61\x77\xcf\xed\x5c\x49\xd4\x67"
      "\xd6\x85\x1f\x7d\x74\xb3\xe1\xeb\x01\x9a\x6b\x9d\xdf\x0a\x04\x98\xc6\x89"
      "\x02\x4d\xe6\xa8\x64\xbb\x32\xf9\x1a\x55\xe8\xa8\x14\xa6\xda\x5f\xbf\x7c"
      "\xc8\x71\x82\x85\x11\x28\x5b\x94\xee\x49\xea\x12\xd7\x8a\x65\xc5\x74\xdb"
      "\xa2\x3a\x66\x74\xc9\xa0\xce\xb7\x23\x44\x03\x5b\x69\xf7\xee\xe0\x6b\x5b"
      "\x17\x3a\x5e\x73\x44\xd1\xea\x24\xfa\xee\xe1\x55\x50\x36\x1d\x30\x92\x8d"
      "\xd5\x86\x90\x82\x65\x1f\x12\x86\x8e\x13\x4a\xdd\x68\x5f\x72\x63\x35\x13"
      "\x4b\x76\xd3\x05\xc5\xd6\xd6\xd8\x2d\x90\x28\x41\x5e\x51\x60\xad\x0f\x6d"
      "\x0c\x90\x91\xa8\x80\x1d\xd1\xfa\xc8\x8d\x15\x08\x3b\xfd\x12\x99\x20\xd3"
      "\x1c\x6b\xb2\x7d\xab\x2d\xeb\x65\x4f\xd4\x4d\x2f\x30\x5e\x48\xd3\xf0\x34"
      "\xf0\xef\x81\xaa\xb6\x7a\xee\x7f\x70\x4d\xa1\x0c\x45\x65\x74\xf0\xd1\xf5"
      "\x4f\x83\xf4\xb6\xc1\x98\x28\xb2\xd1\x5e\xa5\x57\xcc\x16\xd1\xbf\xa2\x80"
      "\x73\x4e\x86\xcc\x98\x66\xd3\x4b\x1b\x52\xf6\xce\x19\x84\x2e\x94\xc3\x8f"
      "\x0c\x3e\x95\x6d\xad\xe3\xb9\xc2\xba\xca\x13\xa1\x3a\xb4\x47\xfa\x36\x63"
      "\xb1\xe1\xe6\x97\xc1\xfb\x9b\x75\x55\x19\x36\x32\x78\x68\xb6\x2d\x03\xf9"
      "\x69\x39\x61\x2c\xa1\xf2\x62\xd4\xd2\xf7\x0b\x09\x73\x21\x9b\x36\xa1\x04"
      "\x44\x7a\x0a\x95\xa6\x00\x72\xae\x7b\x4e\xe8\x78\xc6\xf2\x14\x51\x5d\x96"
      "\x0f\x53\xc3\xc0\xcc\x0b\x4e\xb3\x25\x5d\xec\x45\xbf\xda\xd6\x32\xc4\x88"
      "\xc0\x69\x6a\x9d\x2a\x76\x8b\xed\x51\x93\x38\x9a\x19\x85\xf8\xbf\x4a\xd8"
      "\x06\xe3\x58\x5b\xc7\xce\xaf\x08\x8a\xbd\x2d\x39\x44\xa7\xbd\xfb\x7a\x1b"
      "\x2c\x2c\x97\xc9\xe8\xa5\x72\xe9\x79\x27\xa5\x42\x3e\xe7\xe6\x35\x9d\x95"
      "\x35\x75\x24\xb7\x83\xc8\x54\xcd\x59\x99\x94\xc0\x85\xe9\xd3\x3f\x6d\x2a"
      "\xe6\x96\x90\x54\x6a\xd5\x4a\xe1\x5c\xaf\x1e\x7d\xe2\x25\xd1\x3a\xca\xf9"
      "\xce\xde\x5a\xe1\x20\x41\xab\x94\x5a\xb5\x2e\x37\x6e\x9e\x6c\x34\x7d\xca"
      "\xa9\x55\xd5\x52\xe9\xb8\xaa\xf1\x25\x01\x5d\x83\x98\xea\xfb\x73\xdf\x51"
      "\xdf\x9b\x09\x4b\xc6\x22\x3e\xae\xca\x42\x4a\x49\x2e\x1c\x2c\xb7\x4f\xdb"
      "\x20\x9e\x30\xdc\x89\xef\x4c\x18\x43\xc3\xf5\xd8\x4c\x70\xfc\x85\x09\xab"
      "\xc9\x18\x76\xb5\x60\xbb\x36\xec\x3e\x21\xa6\x83\xa3\xc2\xab\x7e\xb6\x88"
      "\x7e\xa2\x07\xcb\xcb\xc3\x94\x46\xd2\xa7\x59\x24\xf0\xf6\x2d\x39\x57\x3a"
      "\x72\xe5\xe8\x9e\xce\xb6\xc3\xbf\x22\xdf\x00\xe7\xf7\x85\x13\xf6\xe7\xd0"
      "\xf7\x0c\xdd\xfa\x09\xf8\x49\xfe\x4e\xc7\x6d\xad\x17\x60\xee\x79\xea\xbb"
      "\x09\x4d\xee\x9b\xe2\x0d\x3a\x0d\x9a\xa0\xd2\x23\x7c\x35\xb6\x37\x05\x73"
      "\xc7\xe0\xc9\x76\x9d\xd1\x8d\x8b\x85\x15\x25\xb4\x9d\xc0\x70\x04\xf3\x9e"
      "\xda\x1a\x8f\xe6\xa5\xfb\xdf\xa6\x11\x97\xb6\xff\x56\xd3\x39\xbd\xca\x03"
      "\x48\x95\x18\x7a\x1f\xba\xd2\x96\xbb\x0c\x52\x5f\x24\x03\xbf\x64\x25\x31"
      "\xaf\x5b\x07\x2d\xc6\x02\x67\xc8\xb0\x77\x81\x40\xb1\xa7\x8f\x24\x90\x4b"
      "\xf0\xd0\x8f\x4f\xca\x0d\x60\x98\x6f\x2f\x2c\x19\x16\x5d\x31\x08\x6f\xe4"
      "\x68\xc8\xbe\xd4\xe0\x7a\x67\x41\x60\xb0\xa6\xd1\x8a\xc0\xb8\x49\x9a\x9b"
      "\xdb\x98\xb0\xf1\x23\x5e\x3d\x89\x38\x99\x75\xc6\x10\x45\x71\xcc\x11\xb1"
      "\x05\x67\xef\xa4\x44\xb7\xa8\x3a\xef\xc8\x21\xb7\x8e\x33\x09\x28\x6d\x60"
      "\x93\xf1\xd8\x6d\xae\x54\x28\x2e\x81\xb1\x11\x00\x56\x96\xbf\x02\x22\xf2"
      "\x8e\x26\xb3\x4d\x2e\x58\x1d\xe8\x40\xad\xc5\x53\x30\x02\x68\xde\x18\x7d"
      "\xa3\xdb\xa5\x92\xa6\x8c\xbe\x9b\xb9\x48\x85\x5f\xf4\xc3\xee\x55\x40\x56"
      "\xab\xa1\xed\xce\x76\x54\xfb\xfb\x21\xdc\x19\xc2\xdb\x49\x14\x71\xa1\xe3"
      "\xb4\x45\xb9\xe2\x32\x8a\xab\x14\x1b\x37\xb0\xf3\xd5\x4f\x6a\xec\x3b\xd5"
      "\x8e\x0f\x82\xc8\x6b\x82\x52\xd5\x0f\x1a\xbe\xf0\x47\xe0\xfc\x9d\x2c\x87"
      "\xe0\xbe\x06\x24\xa0\xe5\x69\xfb\x92\x68\xa1\x5e\x30\xde\x61\x12\xa2\x64"
      "\x1a\xbe\x36\x81\xaa\xdc\x18\xd7\x85\xd5\x85\xbc\x79\xd6\x95\x84\x57\x32"
      "\xff\x8f\x14\x2f\x34\xc6\x19\x1d\x64\x95\xd3\x15\x91\x1f\x38\xb7\x00\xdb"
      "\xb0\x2c\xd7\x1a\x8d\x23\x84\x92\xdb\x6e\xcd\x5d\x10\x97\xd9\x2e\x99\x65"
      "\x64\x97\xe0\x2a\xa9\xf0\xa6\x8c\xf5\x7b\x19\x0e\x0e\x90\x94\x75\x68\x5c"
      "\x2f\xdf\xfe\x16\x2d\x7b\x95\x89\xe7\x36\xca\x33\xb7\xed\x82\x80\xfa\x5b"
      "\x7e\xfa\xd2\xb9\x5c\xf6\x6e\xfa\x00\x5f\x01\xaa\x88\xad\xb5\xe2\x1c\x7f"
      "\x18\x49\xa4\x66\x56\xdd\x2a\x68\x06\xfb\x84\xb3\xb5\xa2\xf2\xa8\x0f\x59"
      "\x72\x84\x9a\x7f\x8f\x94\xe7\x82\x9f\x8e\x6f\x8d\x5d\x57\x2d\xb3\xeb\x8d"
      "\xf0\xc2\x2e\xed\x8b\x6d\x2e\x34\x3d\xfb\x6e\xee\xdb\xf8\x97\xe7\xea\x2a"
      "\xd7\x6c\xd3\xea\xd5\xd1\xcb\x11\x7e\xef\x22\x0a\xa7\x94\x31\x8a\xe4\x89"
      "\x1f\xc4\x12\xfd\x90\xd3\xc9\x14\x2a\x2b\xd0\x36\x13\x2e\xb5\xca\x16\xd8"
      "\x0e\xeb\x47\xd0\xa2\x4a\x51\x0f\x3f\xf6\x6f\x01\x2e\xf9\x5d\xe5\x95\xda"
      "\x94\xe0\x92\x7e\x88\x04\x2b\x61\xa6\xd8\xcb\x6b\x12\xd0\x91\x06\x2c\xf4"
      "\xdb\x88\xed\xd2\xd3\x78\xa1\xb7\xf2\x4e\x5b\x18\xc5\x88\x09\xbe\x96\x5c"
      "\x59\x63\x73\x1f\xdf\xad\xa8\x43\xa7\x14\x7a\x48\xf0\x1f\x00\x37\xaa\x2d"
      "\xd5\x37\xaa\xec\x66\x8f\xa6\x9a\xd3\x45\x10\xdd\x10\xf7\xa1\x61\x75\x64"
      "\x3a\x1a\xf2\x22\x6e\x14\x17\x2b\x4c\x2c\x14\x4c\x65\xca\x21\x6e\x1a\x41"
      "\xb0\x49\xd9\xfe\xf3\x44\xc8\xa4\x83\x72\x0c\xc6\x29\xd7\xaa\xfe\x32\xbb"
      "\x3c\xd4\x72\xff\x38\xb3\x4e\x26\x25\x5d\xc3\xfa\xef\xe1\xee\xd7\x07\x31"
      "\x46\xf6\xe7\xb4\xf5\x23\xca\xca\x3b\x06\x8d\xdb\xd4\xa4\x4e\x47\xd3\x28"
      "\x7c\xd9\x02\x90\x92\x88\xb8\xb2\xca\xa8\xb7\xca\x62\x4a\x3f\xa1\x27\xd4"
      "\x9c\xef\x16\xd3\x55\xf6\xc5\x7a\xe1\xe9\xcc\x2b\x2c\x33\x0e\xbd\xd0\xb9"
      "\xaa\x77\x22\x23\xfb\x1c\xc0\x40\x3b\x77\xa7\x30\xd9\x60\x5d\xed\xa7\xf7"
      "\xc0\x4b\x25\x60\xf1\x5b\x06\xa1\xca\x5f\x3c\xad\xe0\xd6\xb7\x99\xcc\x77"
      "\x61\x51\x6c\x37\x1d\x7a\xbc\x60\x92\x83\x5b\x18\x8b\xfe\xa3\x57\x85\x54"
      "\xe9\x21\x12\x58\x5e\x87\xc4\xa1\x19\x3b\xe1\x3c\xdc\xd5\x9e\x02\xd3\xf9"
      "\x81\xbe\x12\xfd\xb3\x69\x88\x31\x7d\x5a\x37\xad\x57\x02\xf2\x07\x67\x0c"
      "\x39\xbd\x09\x15\x91\xa4\x7f\xdf\x9a\xeb\x63\xc9\xcb\x59\x91\xc6\x1e\xc0"
      "\x5e\x4a\xdc\x1c\x36\xb3\x25\x03\x7a\x09\x95\x0b\xcb\xfe\xf3\x6b\x1a\xaf"
      "\x4a\x54\xf8\x12\xab\xf8\x7e\xd4\x71\x96\x99\xe8\x6b\x25\xe9\xde\xee\x77"
      "\x8c\xa5\x28\xf7\x13\xc4\xaf\x42\xd9\xba\x0c\x75\x29\xc4\x23\xca\xd9\xd4"
      "\xeb\x21\x78\x55\x52\xa2\x16\x44\x64\x82\x18\x87\x01\xa2\x5c\xe7\x93\x8c"
      "\xf0\x6c\x16\xbf\x63\x98\xef\x3b\x25\xc4\x42\xb0\xf9\xec\x85\x30\xfb\x4b"
      "\xe3\x9c\xb7\xce\x3c\x13\x5d\x68\x92\xb0\x38\xc8\xc2\xde\xb9\x25\x63\x98"
      "\xb4\x1f\x08\xcc\xcb\x6d\x71\x6e\xfa\x60\x4e\x93\x38\x8d\x6a\xe9\xd4\x82"
      "\x0d\xec\x46\xe1\x6f\xd5\xa5\x23\xa8\xf0\x6a\xca\x83\x67\xf7\x3a\x65\xcc"
      "\xc4\xab\x67\x78\x5d\xe4\x30\x65\x8d\x9e\xa9\x7b\x4f\x30\xc3\x0d\x5e\xb8"
      "\xae\x76\x45\x9f\xf2\x3c\x32\x09\xad\x54\xb5\xa4\xd3\xd6\x0f\xd8\x76\x8a"
      "\x68\x3c\x81\xa8\x82\xef\x94\xa9\x48\x88\x21\xc5\xbb\xba\xa7\xb2\x90\x13"
      "\x90\x3b\x71\x61\xb1\x6d\xe1\xa5\x27\x71\x42\xaf\x03\x73\x61\x2f\x64\xf9"
      "\x34\xb0\xbc\xef\x1c\x97\x0b\x13\x29\xb6\x49\x28\x95\x54\xc0\x76\x55\x2e"
      "\x96\xbb\x7c\x21\x4d\x82\x8a\x11\xc0\xb5\xe4\x69\xe8\x28\x6f\x85\xef\x7d"
      "\x74\x95\x40\x77\xb9\x78\x04\x6d\x9c\x17\xc6\x85\x16\x3b\x36\x9f\x44\x66"
      "\x98\xe9\xd2\xdc\x3a\xff\x26\xdd\x47\x56\x8e\x5e\x92\xb4\xcf\xde\xfc\x83"
      "\x3e\xe4\xc4\x74\x7f\xc8\x49\xbe\x27\x33\x9e\x87\x6e\xa7\xd3\xb3\xf6\x8c"
      "\x29\x3f\x86\xcb\x9c\x97\xf8\x42\xbd\x0c\x27\x6e\x95\xa0\x55\xbc\x43\xac"
      "\xcf\x05\x35\x92\xf9\x44\xc0\x64\x73\xa8\x4a\x91\x77\xf3\x10\xef\x75\x2f"
      "\x5f\x34\x44\xe3\xbb\x72\xd8\x29\x21\xf8\xfa\xbb\x20\x9b\x13\x6c\x0b\x65"
      "\xdd\xa4\x8e\x8b\xb0\x31\x17\x2d\x33\x5d\x9f\x3c\xdd\x0e\xff\x6c\xcb\x20"
      "\xb5\x0a\x33\x88\x65\x18\xaa\xdc\x64\x12\xd0\x70\xc4\x88\xae\x2a\xb0\xd9"
      "\xfd\xeb\xae\x5a\x19\x5a\x2d\xd4\xa0\xc6\x91\xc2\x32\x1b\x13\x5d\x66\xeb"
      "\x7f\x2d\x71\x48\x1e\x73\x3f\x87\xbb\xdb\x64\xc0\x5a\xe6\x4f\xc1\x30\xfb"
      "\xc0\xac\xdf\xd4\xd4\x09\x9a\xe2\x1d\x20\xe1\xb4\x85\xfc\x9a\xbb\x8b\x04"
      "\xfb\x40\x55\xa4\x42\x0e\x84\x56\x93\xe2\xf0\x1b\xb1\x9d\x9f\xbd\x4a\x3a"
      "\x3a\x48\xc5\x5a\xe4\x29\x2c\x14\xb8\x21\x47\x4f\x46\xdf\x9e\x1a\x47\xb7"
      "\x25\x2a\x74\x16\x9a\x89\x1b\x49\xcb\x1a\xd1\xf9\x6f\xf4\x9f\xb7\x78\xbc"
      "\x92\x15\x6e\xd2\x32\x23\x51\x27\xe2\xe7\xfe\x67\xac\xa5\xb4\x0d\x88\x61"
      "\xe1\xf5\x1f\x3f\xf5\x7d\x24\x99\x4e\xbb\x07\x69\x8e\x28\xd7\x82\x73\x53"
      "\x19\x01\xc6\x2a\x6d\x2d\xf4\xc5\xfe\xca\x34\xcd\xab\x77\x80\xa5\x0c\x2d"
      "\x65\xc0\x24\x57\x20\xa5\xb1\x5c\x9e\xe7\xc1\xfa\x2d\x20\x45\x81\xa5\x87"
      "\x1c\x7e\xbd\xa7\x9a\xbd\x79\xf3\x9a\xeb\x49\x25\x19\x61\x2c\x9f\xb6\xe7"
      "\x61\xc2\x8b\x69\xf1\x99\x5c\xc4\x9e\x52\x2b\x91\x68\xa9\xdc\x54\x0f\x46"
      "\xa2\x9a\x32\xda\x3e\xd9\xee\x87\x70\xcc\x94\x3b\xa8\x44\x10\x18\xae\xbf"
      "\x65\x8a\x39\x4e\x3a\x28\x74\x1c\x57\x00\x0c\x21\xd5\x2b\xe1\x05\x06\x13"
      "\x30\x7a\x62\x8e\xc4\x40\xfd\x8f\xdc\xcd\xa6\x3e\xe6\xbc\x91\x3d\xde\x00"
      "\xcc\xc6\x1d\x62\x6e\xc6\xe1\x1a\xfd\x8a\xbc\x34\x53\x82\x2e\x49\xdb\x77"
      "\xf6\x55\x27\xa5\xf2\xb3\xf9\x17\x5f\xc4\xb8\xb7\x27\x48\x5c\x12\xb5\x8c"
      "\xd5\x8d\x64\x52\x5c\x17\x9c\x96\xe7\x53\x08\x81\xb9\x95\xd4\x8e\xc9\x66"
      "\x28\xfc\x73\xf5\xa0\xa3\x38\x7b\x9c\xee\x40\x67\x64\xfe\x08\xf7\x7e\x0e"
      "\x93\xf0\x5d\xe3\x39\x30\x24\x68\x91\x23\x4e\x1d\xee\x0b\xfa\xad\x58\xfc"
      "\xfe\x78\x1d\xb3\xc9\x1d\x91\xe9\xba\xde\x57\x29\xd2\x7f\x70\xb5\x94\x92"
      "\xf3\xaa\xc6\x3f\x6a\x24\x76\x06\xf9\x60\xff\x58\x72\x67\xa4\x2e\x4d\x36"
      "\xfc\x1c\x0a\x29\x7e\x41\x04\xb0\x38\xcc\x4c\xde\xce\x98\xa5\x00\x8a\x88"
      "\xf0\x55\xf9\x41\x72\x09\xd9\x71\xa1\x56\xf4\x63\xc3\x69\x7d\x68\x66\x9d"
      "\x3c\x17\x41\x8f\x76\x6e\x80\xb5\xfa\x72\xd2\xf3\x16\x57\xb5\xa9\x41\x93"
      "\x04\x30\x98\xdc\x34\xa2\x10\x82\xe6\xe8\x79\x89\x69\xbe\xba\x5a\xd8\xe6"
      "\x17\xba\x54\xfe\xd9\x51\xef\x07\xd4\x92\x64\xe2\xb8\xc3\x7b\x3b\x86\x16"
      "\x53\x36\x23\xe9\xf1\xc0\x39\xd0\x8d\xbe\x65\x6c\x50\xd3\x20\x6c\xb9\x90"
      "\xe1\xf8\x7e\x8c\xbd\xd8\xd6\xa9\xcf\x47\xcf\x4d\x8c\x35\x61\x5b\xf7\x7d"
      "\x9d\xfe\x55\xee\x87\x8a\xfd\x5a\xe1\x52\x4b\x20\x7a\x76\x44\x1c\x4e\x8b"
      "\x82\x9f\x65\x40\x6e\x68\xf4\xe5\xb9\xf2\x09\x72\xba\x1c\x69\x97\x65\xe9"
      "\xbb\xb4\xa1\x17\x4e\x21\x61\x12\x4f\x0d\x84\x6b\x2a\x95\x5b\xb5\xd3\x0d"
      "\x43\xcc\xba\x08\xeb\x03\x8f\x3a\x26\x9b\x03\xb2\x73\xbd\x8b\xec\x1d\x3a"
      "\xa6\x73\x43\x8d\x0f\x43\x65\x65\x2c\xe6\xa5\x4c\xc8\x3d\x53\x12\x58\x21"
      "\x51\xac\xe3\x34\xb6\xef\xa5\x6b\x4b\x38\xc6\xf7\x0e\xce\x4b\x5f\x54\x19"
      "\x20\x98\x83\xba\x53\x82\x74\x23\x04\xe0\xaa\xea\xda\x18\xd6\xb2\x53\x45"
      "\xbe\x2e\x75\x11\xca\xa8\xf4\xef\x21\x10\xc1\x85\x65\xfa\x99\xc7\x0b\xe7"
      "\x3c\xd1\x8d\x90\xff\xfb\x45\x2f\xde\xa4\x6e\x82\x06\x87\x27\x94\xf2\x89"
      "\x2a\xb6\x9c\xa8\x76\x40\x91\xb9\xe9\x78\x8c\xe8\x0e\x1a\x8d\x37\x7f\x17"
      "\xf1\x82\xe6\x07\x31\x13\x89\xe6\x62\x20\x6d\x72\x2e\x65\x08\x84\x29\xe8"
      "\xcc\x92\xba\xe6\x17\x96\x44\xe1\x47\xc4\x90\x6f\x4a\x5a\x7f\x88\xfd\xb0"
      "\xd7\xfd\x80\x66\x76\x5c\x67\x68\x79\xc6\x8a\x47\xe5\x7e\xe4\x7f\xee\xe9"
      "\x69\x7b\xdb\x51\x01\x57\xb6\x9c\x38\xb9\x76\x9a\xeb\xca\x2c\x75\x2b\x40"
      "\x12\x6b\xec\x7f\xe0\x3f\x87\xea\xf8\x1b\x2b\x75\xcf\xeb\xcb\x4a\xdc\xfc"
      "\x19\x70\x71\x37\xe9\x9f\x13\xa0\xeb\x2a\xf9\x97\x3a\xac\xe2\x05\xdf\x35"
      "\xb5\xaa\x50\x20\xf1\x90\xd1\xd7\x11\xd0\x39\xc9\x38\xac\x0c\xed\xf6\xa7"
      "\x71\x54\x70\x2c\x80\x36\x53\xf6\x66\x71\x2b\xfd\xcc\xea\xf5\x63\xe4\x96"
      "\xdd\x47\x29\x9b\xcd\xc6\x2a\xc0\x2f\x71\x3f\x2c\xaf\x34\x2d\xd6\x4c\x50"
      "\x2d\x1b\xc9\x83\x41\xe9\xcb\xf6\xff\xf7\xa3\x0a\xe6\x72\x13\xe6\xa0\xc2"
      "\xd9\x3a\x3c\x4e\x37\x9f\x68\x0a\x72\xd4\xb4\x27\xaf\xbc\x4d\x36\x74\x3d"
      "\x13\x4d\x31\x80\x5d\x3c\x71\x7b\xca\xd1\x35\xb9\x6d\x7f\x78\x3e\x6b\x33"
      "\xc9\xf0\xdc\xa6\x82\x7d\x92\x84\x3d\xc8\x7d\xea\x77\xea\x81\xd9\xf0\x3a"
      "\x6b\x43\x62\xd9\xc0\xcd\xf8\x64\xfa\x4d\x26\x5d\xb2\x01\x73\x64\x6a\x61"
      "\xc5\x17\xf2\xbc\xda\xeb\xc6\x65\x4c\x8c\x66\x41\x74\x8b\x60\x2c\xcd\x56"
      "\x55\x11\x00\xac\x60\x3d\x31\x04\x92\xfa\x9b\xf6\xb3\x60\x1c\xf5\xa5\x72"
      "\xa9\x9f\xee\xc6\xf3\xb9\x3f\x8a\xfd\xe8\x0f\x95\xfa\x8d\x8c\x54\x83\xfd"
      "\xc9\x02\x60\x0f\xc9\xcc\x45\x45\xf4\x0d\x69\x03\x4f\x7b\x9d\xde\xbf\x57"
      "\x89\xc8\x5b\x0a\xd1\xcf\xb4\xc4\xc1\x34\x05\x9e\x56\xb2\xb1\x2d\x5a\xa3"
      "\xe3\xac\xf5\x0d\xdd\xbf\x72\xf6\x97\x3d\x94\x39\xae\x2f\xa5\x67\xc8\x00"
      "\xec\xec\x7e\x00\x59\xea\xc1\x53\x5d\xce\xfa\xc4\x10\x11\x52\x8e\xaa\xbc"
      "\x57\xcf\x3d\x8a\x3c\xb4\x03\xa9\x53\x4d\x12\x97\xe6\x8d\x00\x5b\x96\xfe"
      "\xae\x2f\x78\xfe\x12\xd5\x99\xd0\x09\x73\x63\x20\x01\x0c\xf6\x4b\x76\xb3"
      "\x3b\xba\x3f\xad\x8f\xf9\xe8\x59\xfb\x8b\x1c\x27\xee\xdd\x2a\x04\x22\xb4"
      "\x60\x4a\xaa\x0e\x6d\x15\xa3\xbb\x60\x0f\x12\x4e\x82\x25\xa9\x4b\xb2\x81"
      "\x4e\x94\xa8\x93\x2c\x46\xc1\xf1\xbb\xd1\xa2\xd8\xbd\x70\xdb\x51\xd4\x9b"
      "\x57\xd5\x50\x62\x5a\xb5\xeb\x87\xd2\xcc\x30\x9e\xde\x79\x85\x27\x88\x64"
      "\x41\xfa\x6d\xf0\x8c\xdf\x58\xf5\x3b\x1e\x71\x5b\x03\x24\x5e\xba\x77\x90"
      "\x1c\x56\xa0\x97\x2a\x07\x26\x88\x0b\x4c\x77\x53\x6f\x78\x0a\x95\x35\x2a"
      "\x54\x0f\xcc\x10\x4f\xb8\xb4\xe9\xba\x11\xc5\xa0\xa5\x87\xd9\xf8\x45\xb4"
      "\xaf\x42\x7a\x59\xf2\xab\x96\x3a\x55\x08\xb6\xe6\x3f\x5a\x24\x28\x72\xe7"
      "\x9d\x9a\x62\xca\xb0\xb0\x4b\x59\xb3\xd9\x51\x09\xcf\x4c\x67\x88\x1d\x8b"
      "\x50\xc8\x2d\xa8\xa6\xcf\x92\xd0\x54\x6d\xd9\xe7\x96\x94\xba\xec\x23\x13"
      "\x1f\x50\x10\x72\x40\xe7\xf3\xe0\xe9\x42\xfc\x41\x4b\xf7\x21\x3d\xba\xe3"
      "\x40\xe3\x8a\x46\xcc\x63\x80\x0b\x25\x7b\x7b\xc0\x26\x61\xcc\x69\x16\xbd"
      "\xfe\x0c\xe1\x34\xb0\x0f\x6f\xa3\x45\x40\xdb\x5a\x7e\xd2\xc1\x91\x78\xc8"
      "\xeb\x12\x25\xd0\x96\xc8\xd2\x22\x32\xe7\x29\x42\x36\x7b\x12\xc1\xdf\x01"
      "\xb3\x4c\x9a\xe6\xe9\xee\x98\xfe\xa0\xc6\x46\x35\xb4\x76\x8b\xee\x8b\xd6"
      "\x8a\xfe\x9d\x34\xd6\x6b\x23\x5e\xe4\xb4\xa4\xd7\x87\x36\x97\x60\x14\x14"
      "\xa3\x36\x55\x4c\x75\xa4\xa6\xa8\xc2\x86\xc1\x3f\x45\xc8\xf8\xd2\x46\x9b"
      "\xdc\x83\x59\x5f\x64\xe1\x5c\x65\xf2\xce\xdf\xb2\x79\x13\x2c\x2e\x9c\x5b"
      "\x87\x27\x92\xbe\x46\x7b\x60\x27\xa0\xe1\xea\xb6\x62\x0e\xe6\x08\x14\x52"
      "\xed\xb3\x25\x71\x6b\xad\x1c\x3b\x13\x86\xcc\x88\x6e\x9e\x77\xcc\xa8\x9f"
      "\xa4\x43\x87\x1b\x4d\x44\xa2\x10\x79\x3a\x6f\xab\x0e\x50\x8e\xab\xc7\x42"
      "\x35\x9e\x34\xc7\xe4\x81\x37\xff\x74\x01\x1f\x2e\x4e\xd8\xee\xd6\x07\x36"
      "\x34\xb7\x30\x79\x13\xb0\x13\x5f\x2b\x0f\x78\xc0\x3c\x80\xd7\x1b\x00\xa6"
      "\xa6\x05\x6b\xdb\x62\xe0\xb5\x28\x9b\xcd\x32\xa4\x13\xbc\x4d\x31\x25\x28"
      "\x55\x16\xef\x4a\x16\x53\x06\x58\xd1\x05\x35\xbe\xce\x9e\xfe\x88\x50\x94"
      "\xd7\xe9\x79\x6b\xdd\x77\xb3\xb5\x72\x54\x0d\xb7\x99\x52\x52\x4b\xa3\x81"
      "\x7b\xec\xe7\xd3\xdd\x26\x3c\x80\xc3\x9d\x01\xca\xed\x24\x60\x14\x28\xc0"
      "\x22\x56\x47\xfc\xf4\xf0\xca\xab\x9c\xfb\xf8\xc8\x3d\xa5\x5c\xdf\xe1\x8b"
      "\x5d\xbe\x0e\xe0\x1f\x8f\xd4\xe5\x43\x6f\x01\xf1\x3e\xb2\x0a\x91\x85\xe4"
      "\x91\x94\xc6\x74\x81\xa0\x85\x40\xa1\x4a\x2b\xfb\x6a\x2a\xe1\xaa\x83\x68"
      "\xad\xfe\xcc\x21\x3b\x32\x6d\x85\x9a\xc8\xc6\xac\xb4\x91\xc3\x06\x36\xf1"
      "\x4b\xd6\x67\x00\x04\x50\x10\x86\xb6\xf8\x37\x6d\x42\x18\x0f\x83\x52\x35"
      "\x86\x4a\x45\x30\xd1\x6b\xf7\x4b\x6f\x5d\xc0\x88\xcc\x8d\xe2\xf1\x12\x3f"
      "\x04\x36\x2c\x91\x9b\xf6\xde\x48\x88\x56\x72\x16\x94\x26\x71\xa2\xbc\x76"
      "\x01\xfc\xac\xe9\x3f\x41\x98\x5a\x8a\x47\x40\x36\x3b\x2d\xd3\x18\xad\xe5"
      "\xe1\x4b\x5b\x04\x53\x99\x6a\xcf\x69\x4c\x5c\x2b\xbc\xbd\x40\xb6\xe3\xbb"
      "\xf1\x88\x33\xf1\x70\xd7\x9f\xa2\xf2\x13\x50\x48\x9d\x77\x03\x9e\x3b\x48"
      "\x8c\xf3\xbd\x06\x83\x60\x18\xf2\x29\x99\x87\xb3\x73\xba\xbb\xa9\x70\x63"
      "\xfb\x59\x9c\xe2\x23\xdd\x37\x66\x05\x13\xe2\x12\x5e\x4e\xfa\xb4\x54\x77"
      "\x38\x4c\xb1\x60\x62\x66\x9e\x85\xcc\x10\xee\x06\x2f\x8a\xce\x9a\xaf\x4e"
      "\x40\x04\x7d\x91\xfb\x3e\x0b\x82\xfe\x8d\xad\xb8\x09\xbc\xf9\x13\xac\x44"
      "\xf7\x39\xbc\xd1\xf4\x9e\xba\x1d\x80\x61\xa8\x36\x84\x9e\x64\x50\xef\x10"
      "\xc5\x74\x19\xd6\x2f\x99\x05\xc4\x3c\x31\x33\xb9\x86\x49\x91\x6a\x4d\x02"
      "\xae\x74\x5c\xb2\x2b\xe7\xc7\xb6\x23\x8e\xd2\x67\x83\x20\x42\x4f\x24\x4b"
      "\x79\x79\xc5\x7a\xd6\xc3\xb6\xcc\x97\xa6\x7e\x5c\x2d\x6c\xde\xf4\x70\xae"
      "\x0d\x03\x74\xd2\x79\x47\xe2\x61\x93\x3a\xee\xb1\x86\xc4\xb9\x95\xc5\x74"
      "\x16\xa5\x95\x90\x16\x43\x5b\x83\x22\xd2\x17\x2e\xc1\x22\x7f\x68\xe9\xa5"
      "\x4b\x24\x58\xb8\x31\x6e\x72\x07\xe7\x0a\x0c\x4e\x5e\x74\xd5\x66\x73\xcc"
      "\xe0\xab\x3d\xa5\xfc\x72\xc6\x4f\x6c\x6a\x36\x14\x2c\xfd\x15\x32\x5a\x48"
      "\x0d\xdf\xd5\xe6\xb1\x51\xc0\xc7\x77\x30\xba\x9f\x5c\xe3\x6c\x90\x79\x48"
      "\xbd\x53\x8d\xa3\xd2\x1c\x44\x98\x61\x63\xa1\xb0\xe7\x38\xaf\x15\x1d\xa5"
      "\x98\x40\x20\xe4\x56\x12\xa4\xe9\xea\xcc\xd0\x8f\x6e\xd8\x70\x30\x35\x4a"
      "\x1a\x9c\x70\x2c\xd5\xa8\xbd\xe6\x6f\xff\xfa\x3e\xeb\x75\x67\x98\x2c\x26"
      "\x57\x8d\x9f\x0f\xdf\x69\x6a\x91\x7b\xae\x32\xad\xb2\x87\x55\xe5\x6a\x47"
      "\xf8\xf6\x88\xb2\x86\x20\x0c\x70\xb6\x2c\x31\x93\x52\x24\xa5\x64\x51\xb2"
      "\x1c\xe7\x4d\xb5\x06\x9d\xc0\x49\x17\xfa\x58\x06\xc3\xe2\x6f\x39\x36\x0c"
      "\xc4\xbf\xa4\x22\x48\x35\x92\x30\x1f\x91\x39\x81\x08\x4f\x3b\xf0\x79\xc7"
      "\x30\xa4\x39\x60\x41\x4b\x7a\x43\x56\x53\xf5\x62\x59\x89\xcf\x75\x94\xa8"
      "\xbe\x53\x5b\x7f\x7a\x91\x70\xf9\x86\xc5\x3f\x73\x23\xaa\x51\xfc\x8b\x1f"
      "\xc6\xd8\x00\xeb\xcd\xd2\x32\x70\x15\x08\x18\x3a\x28\xf9\x48\x15\x3f\xbc"
      "\x1a\xac\x2e\xd1\xa0\x75\x9d\x67\x6c\x42\x76\xbb\xfa\x10\x07\xce\xc0\xad"
      "\x86\x8f\x20\xb2\xa0\x8d\x59\x53\xe8\xb8",
      4096);
  syscall(__NR_write, /*fd=*/r[0], /*data=*/0x20001e00ul, /*size=*/0x1000ul);
  {
    int i;
    for (i = 0; i < 64; i++) {
      syscall(__NR_write, /*fd=*/r[0], /*data=*/0x20001e00ul,
              /*size=*/0x1000ul);
    }
  }
}
int main(void)
{
  syscall(__NR_mmap, /*addr=*/0x1ffff000ul, /*len=*/0x1000ul, /*prot=*/0ul,
          /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul);
  syscall(__NR_mmap, /*addr=*/0x20000000ul, /*len=*/0x1000000ul, /*prot=*/7ul,
          /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul);
  syscall(__NR_mmap, /*addr=*/0x21000000ul, /*len=*/0x1000ul, /*prot=*/0ul,
          /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul);
  setup_sysctl();
  setup_binfmt_misc();
  setup_802154();
  do_sandbox_none();
  return 0;
}