void diag_show_bbp(const char *dev) {
  int res, res2;
  printf("\nBaseband proccessor (BBP) Configuration Registers\n\n");
  res = hostap_ioctl_readmif(dev, 0);
  if (res >= 0) {
    int part, version;
    part = res / 16;
    version = res % 16;
    printf("CR0 (Part/Version Code): %d - Part=%d ", res, part);
    switch (part) {
    case 1:
      printf("(HFA3861B series)");
      break;
    case 3:
      printf("(HFA3863 series)");
      break;
    case 7:
      printf("(HFA3871 series?)");
      break;
    default:
      printf("(unknown)");
      break;
    }
    printf(" Version=%d ", version);
    switch (version) {
    case 0:
      printf("(3863 Version)");
      break;
    case 3:
      printf("(3861B Version)");
      break;
    case 4:
      printf("(3871 Version?)");
      break;
    default:
      printf("(unknown)");
      break;
    }
    printf("\n");
  }
  res = hostap_ioctl_readmif(dev, 1);
  if (res >= 0) {
    printf("CR1 (I/O Polarity): %d (normal setting 0)\n", res);
    printf("    Phase of RX carrier rotation sense: %s\n",
           res & (1 << (7)) ? "Inverted rotation (CW), Invert Q in"
                            : "normal rotation (CCW)");
    printf("    Phase of TX carrier rotation sense: %s\n",
           res & (1 << (6)) ? "Inverted rotation (CW), Invert Q out"
                            : "normal rotation (CCW)");
    printf("    Phase of TX output clock (TXCLK) pin: %s\n",
           res & (1 << (5)) ? "Inverted TXCLK" : "NON-Inverted TXCLK");
    printf("    Active level of the Transmit Ready output: %s\n",
           res & (1 << (4)) ? "TX_RDY Active 0" : "TX_RDY Active 1");
    printf("    Active level of the transmit enable input: %s\n",
           res & (1 << (3)) ? "TX_PE Active 0" : "TX_PE Active 1");
    printf("    Active level of the Clear Channel Assessment "
           "output: %s\n",
           res & (1 << (2)) ? "CCA Active 1" : "CCA Active 0");
    printf("    Active level of the MD_RDY output: %s\n",
           res & (1 << (1)) ? "MD_RDY Active 0" : "MD_RDY Active 1");
    printf("    Phase of the RX_CLK output: %s\n",
           res & (1 << (0)) ? "Invert Clk" : "Non-Inverted Clk");
  }
  show_bbp_cr(dev, 2, "I Cover Code", " (nominally 72)");
  show_bbp_cr(dev, 3, "Q Cover Code", " (nominally 72)");
  show_bbp_cr(dev, 4, "TX Preamble Length", " (IEEE 802.11: 128)");
  res = hostap_ioctl_readmif(dev, 5);
  if (res >= 0) {
    printf("CR5 (TX Signal Field): %d\n"
           "    Preamble mode: %s\n"
           "    TX data rate: ",
           res, res & (1 << (3)) ? "Short preamble and header mode" : "Normal");
    switch (res & ((1 << (1)) | (1 << (0)))) {
    case 0:
      printf("00 = DBPSK - 11 chip sequence (1Mbps)\n");
      break;
    case 1:
      printf("01 = DQPSK - 11 chip sequence (2Mbps)\n");
      break;
    case 2:
      printf("10 = CCK - 8 chip sequence (5.5Mbps)\n");
      break;
    case 3:
      printf("11 = CCK - 8 chip sequence (11Mbps)\n");
      break;
    }
  }
  show_bbp_cr(dev, 6, "TX Service Field", "");
  show_bbp_cr(dev, 7, "TX Length Field, High", "");
  show_bbp_cr(dev, 8, "TX Length Field, Low", "");
  res = hostap_ioctl_readmif(dev, 7);
  res2 = hostap_ioctl_readmif(dev, 8);
  if (res >= 0 && res2 >= 0)
    printf("    TX Length Field: %d usec\n", (res << 8) | res2);
  res = hostap_ioctl_readmif(dev, 9);
  if (res >= 0) {
    printf("CR9 (TX Configure): %d\n", res);
    printf("    CCA sample mode time: %s usec\n",
           res & (1 << (7)) ? "15.8" : "19.9");
    printf("    CCA mode: CCA is based ");
    switch ((res & ((1 << (6)) | (1 << (5)))) >> 5) {
    case 0:
      printf("only on ED\n");
      break;
    case 1:
      printf("on (CS1 OR SQ1/CS2)\n");
      break;
    case 2:
      printf("on (ED AND (CS1 OR SQ1/CS2))\n");
      break;
    case 3:
      printf("on (ED OR (CS1 OR SQ1/CS2))\n");
      break;
    }
    printf("    TX test modes: %s\n",
           res & (1 << (4)) ? "all chips set to 1 for CW carrier"
                            : "Alternating bits for carrier suppression test");
    printf("    Enable TX test modes: %s\n",
           res & (1 << (3)) ? "Invoke tests described above"
                            : "normal operation");
    printf("    Antenna choice for TX: Set AntSel %s\n",
           res & (1 << (2)) ? "high" : "low");
    printf("    TX Antenna Mode: set AntSel pin to %s\n",
           res & (1 << (1)) ? "antenna for which last valid header CRC"
                              " occurred"
                            : "value in choice above");
  }
  res = hostap_ioctl_readmif(dev, 10);
  if (res >= 0) {
    printf("CR10 (RX Configure): %d\n", res);
    printf("    Initial CS2 estimate: Use %s\n",
           res & (1 << (7)) ? "SQ1 from Barker correlator peaks"
                            : "dot product result");
    printf("    CIR estimate/Dot product clock control: %s\n",
           res & (1 << (6)) ? "only on after detect" : "on during acquisition");
    printf("    SFD Time-out values: ");
    switch ((res & ((1 << (5)) | (1 << (4)))) > 4) {
    case 0:
      printf("56 usec\n");
      break;
    case 1:
      printf("64 usec\n");
      break;
    case 2:
      printf("128 usec\n");
      break;
    case 3:
      printf("144 usec\n");
      break;
    }
    printf("    MD_RDY control: After %s\n",
           res & (1 << (3)) ? "SFD" : "CRC16");
    printf("    Force Frequency Offset Estimating in all antenna "
           "diversity timelines: %s\n",
           res & (1 << (2)) ? "enabled" : "disabled");
    printf("    Antenna choice for RX when single antenna "
           "acquisition is selected: AntSel pin %s\n",
           res & (1 << (1)) ? "high" : "low");
    printf("    Antenna acquire: %s\n",
           res & (1 << (0)) ? "single antenna"
                            : "dual antenna for diversity acquisition");
  }
  res = hostap_ioctl_readmif(dev, 11);
  if (res >= 0) {
    printf("CR11 (RX/TX Configure): %d\n", res);
    printf("    Continuous internal RX 22 and 44 MHZ clocks: %d\n",
           res & (1 << (7)) ? 1 : 0);
    printf("    A/D input coupling: %s\n",
           res & (1 << (6)) ? "AC (external bias network required)" : "DC");
    printf("    TX filter / CMF weight select: %s\n",
           res & (1 << (5)) ? "Japan" : "US");
    printf("    Ping Pong Differential Encode: %s\n",
           res & (1 << (4)) ? "normal" : "disabled");
    printf("    CCA mode: %s\n",
           res & (1 << (3)) ? "Sampled CCA; CCA will update once per "
                              "slot (20 usec)"
                            : "normal CCA; CCA will immediately "
                              "respond to changes in ED, CS1, and SQ1");
    printf("    Precursor value in CIR estimate: %d\n",
           res & ((1 << (2)) | (1 << (1)) | (1 << (0))));
  }
  res = hostap_ioctl_readmif(dev, 12);
  if (res >= 0) {
    printf("CR12 (A/D Test Modes 1): %d\n", res);
    printf("    All DAC and A/D clock source control: %s\n",
           res & (1 << (7)) ? "clock via SDI pin" : "normal internal clocks");
    printf("    TX DAC clock: %s\n", res & (1 << (6)) ? "disable" : "enable");
    printf("    RX DAC clock: %s\n", res & (1 << (5)) ? "disable" : "enable");
    printf("    I DAC clock: %s\n", res & (1 << (4)) ? "disable" : "enable");
    printf("    Q DAC clock: %s\n", res & (1 << (3)) ? "disable" : "enable");
    printf("    RF A/D clock: %s\n", res & (1 << (2)) ? "disable" : "enable");
    printf("    I A/D clock: %s\n", res & (1 << (1)) ? "disable" : "enable");
    printf("    Q A/D clock: %s\n", res & (1 << (0)) ? "disable" : "enable");
  }
  res = hostap_ioctl_readmif(dev, 13);
  if (res >= 0) {
    printf("CR13 (A/D Test Modes 2): %d\n", res);
    printf("    Standby: %s\n", res & (1 << (7)) ? "enable" : "disable");
    printf("    SLEEP TX: %s\n", res & (1 << (6)) ? "enable" : "disable");
    printf("    SLEEP RX: %s\n", res & (1 << (5)) ? "enable" : "disable");
    printf("    SLEEP IQ: %s\n", res & (1 << (4)) ? "enable" : "disable");
    printf("    Analog TX Shut_down: %s\n",
           res & (1 << (3)) ? "enable" : "disable");
    printf("    Analog RX Shut_down: %s\n",
           res & (1 << (2)) ? "enable" : "disable");
    printf("    Analog Standby: %s\n", res & (1 << (1)) ? "enable" : "disable");
    printf("    Manual control of mixed signal power down "
           "signals (other CR13 bits): %s\n",
           res & (1 << (0)) ? "enable" : "disable");
  }
  res = hostap_ioctl_readmif(dev, 14);
  if (res >= 0) {
    printf("CR14 (A/D Test Modes 3): %d\n", res);
    printf("    DFS - select straight binary output of I/Q and "
           "RF A/D converters: %d\n",
           res & (1 << (7)) ? 1 : 0);
    printf("    I/Q DAC input control: ");
    switch ((res & ((1 << (6)) | (1 << (5)) | (1 << (4)))) >> 4) {
    case 0:
      printf("normal (TX filter)\n");
      break;
    case 1:
      printf("down converter\n");
      break;
    case 2:
      printf("E/L integrator - upper 6 bits (Q) and AGC "
             "error (I)\n");
      break;
    case 3:
      printf("I/Q A/D's\n");
      break;
    case 4:
      printf("Bigger picker output - upper 6 bits of FWT_I "
             "winner and FWT_Q winner\n");
      break;
    case 5:
      printf("CMF weights - upper 6 bits of all 16 CMF "
             "weights circularly shifted with full scale "
             "negative sync pulse interleaved between "
             "them\n");
      break;
    case 6:
      printf("Test Bus pins (5:0) when configured as "
             "inputs\n");
      break;
    case 7:
      printf("Barker Correlator/low rate samples\n");
      break;
    }
    printf("    Enable test bus into RX and TX DAC: %s\n",
           res & (1 << (3)) ? "enable" : "disable");
    printf("    Enable RF A/D into RX DAC: %s\n",
           res & (1 << (2)) ? "enable" : "disable");
    printf("    VRbit1: %d\n", res & (1 << (1)) ? 1 : 0);
    printf("    VRbit0: %d\n", res & (1 << (0)) ? 1 : 0);
  }
  show_bbp_cr(dev, 15, "AGC GainClip", "");
  res = hostap_ioctl_readmif(dev, 16);
  if (res >= 0) {
    printf("CR16 (AGC Sat Cpints): %d\n", res);
    printf("    AGC mid Sat counts: %d\n",
           (res & ((1 << (7)) | (1 << (6)) | (1 << (5)) | (1 << (4)))) >> 4);
    printf("    AGC low Sat counts: %d\n",
           res & ((1 << (3)) | (1 << (2)) | (1 << (1)) | (1 << (0))));
  }
  res = hostap_ioctl_readmif(dev, 17);
  if (res >= 0) {
    printf("CR17 (AGC Update Control): %d\n", res);
    printf("    AGC update during CIR injest: %s\n",
           res & (1 << (7)) ? "enable" : "disable");
    printf("    AGC timer count: %d (must be >31)\n",
           res & ((1 << (5)) | (1 << (4)) | (1 << (3)) | (1 << (2)) |
                  (1 << (1)) | (1 << (0))));
  }
  show_bbp_cr(dev, 18, "AGC HiSat", "");
  show_bbp_cr(dev, 19, "AGC LockinLevel/CW detect threshold", "");
  show_bbp_cr(dev, 20, "AGC LockWindow, pos side", "");
  show_bbp_cr(dev, 21, "AGC Threshold", "");
  show_bbp_cr(dev, 22, "AGC Lookup Table Addr and Control", "");
  show_bbp_cr(dev, 23, "AGC Lookup Table Data", "");
  show_bbp_cr(dev, 24, "AGC LoopGain", "");
  show_bbp_cr(dev, 25, "AGC RX_IF", "");
  show_bbp_cr(dev, 26, "AGC Test Modes", "");
  show_bbp_cr(dev, 27, "AGC RX_RF Threshold", "");
  show_bbp_cr(dev, 28, "AGC Low SatAtten", "");
  show_bbp_cr(dev, 29, "AGC LockWindow, negative side", "");
  show_bbp_cr(dev, 30, "Carrier Sense 2", "");
  show_bbp_cr(dev, 31, "Manual TX Power Control", "");
  show_bbp_cr(dev, 32, "Test Modes 1", "");
  show_bbp_cr(dev, 33, "Test Modes 2", "");
  show_bbp_cr(dev, 34, "Test Bus Address", "");
  show_bbp_cr(dev, 35, "CMF Coefficient Control", "");
  show_bbp_cr(dev, 36, "Scrambler Seed, Long Preamble Option", "");
  show_bbp_cr(dev, 37, "Scrambler Seed, Short Preamble Option", "");
  show_bbp_cr(dev, 38, "ED Threshold", "");
  show_bbp_cr(dev, 39, "CMF Gain Threshold", "");
  show_bbp_cr(dev, 40, "Threshold for antenna decision", "");
  show_bbp_cr(dev, 41, "Preamble tracking loop lead coefficient", "");
  show_bbp_cr(dev, 42, "Preamble tracking loop lag coefficient", "");
  show_bbp_cr(dev, 43, "Header tracking loop lead coefficient", "");
  show_bbp_cr(dev, 44, "Header tracking loop lag coefficient", "");
  show_bbp_cr(dev, 45, "Data tracking loop lead coefficient", "");
  show_bbp_cr(dev, 46, "Data tracking loop lag coefficient", "");
  show_bbp_cr(dev, 47, "RF attenuator value", "");
  show_bbp_cr(dev, 48, "ED and SQ1 control and SQ1 scale factor", "");
  res = hostap_ioctl_readmif(dev, 49);
  if (res >= 0) {
    printf("CR49 (Read only register mux control for registers 50 "
           "to 63): %d\n",
           res);
    printf("    CW RSSI threshold: %d\n", res & 127);
    if (res & 128)
      show_a_values(dev);
    else
      show_b_values(dev);
  }
  show_bbp_cr(dev, 60, "RX_IF AGC", "");
  res = hostap_ioctl_readmif(dev, 61);
  if (res >= 0) {
    printf("CR61 (RX Status Reg): %d\n", res);
    if (res & (1 << (4)))
      printf("    ED, energy detect past threshold\n");
    if (res & (1 << (3)))
      printf("    TX PWR det Register semaphore (CR58 "
             "updated since last read)\n");
    if (res & (1 << (2)))
      printf("    AGC_lock (AGC is within limits of lock "
             "window CR20)\n");
    if (res & (1 << (1)))
      printf("    hwStopBHit (rails hit, AGC updates "
             "stopped)\n");
    if (res & (1 << (0)))
      printf("    RX_RF_AGC - status of AGC output to RF "
             "chip\n");
  }
  show_bbp_cr(dev, 62, "RSSI", "");
  res = hostap_ioctl_readmif(dev, 63);
  if (res >= 0) {
    int val;
    printf("CR63 (RX Status Reg): %d\n", res);
    val = (res & ((1 << (7)) | (1 << (6)))) >> 6;
    printf("    Signal field value: ");
    switch (val) {
    case 0:
      printf("1 M\n");
      break;
    case 1:
      printf("2 M\n");
      break;
    case 2:
      printf("5.5 M\n");
      break;
    case 3:
      printf("11 M\n");
      break;
    }
    if (res & (1 << (5)))
      printf("    SFD found\n");
    if (res & (1 << (4)))
      printf("    Short preamble detected\n");
    if (res & (1 << (3)))
      printf("    Valid signal field found\n");
    if (res & (1 << (2)))
      printf("    Valid CRC 16\n");
    if (res & (1 << (1)))
      printf("    Antenna selected by received when last "
             "valid header CRC occurred\n");
    if (res & (1 << (0)))
      printf("    not used\n");
  }
}


x86 assembly (clang, -O0):
<diag_show_bbp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
lea    0x1efd(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     12da <diag_show_bbp+0x18a>
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
add    $0xf,%ecx
test   %eax,%eax
cmovs  %ecx,%eax
sar    $0x4,%eax
mov    %eax,-0x14(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,%edx
add    $0xf,%edx
test   %eax,%eax
mov    %eax,%ecx
cmovs  %edx,%ecx
and    $0xfffffff0,%ecx
sub    %ecx,%eax
mov    %eax,-0x18(%rbp)
mov    -0xc(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0x1eda(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x20(%rbp)
sub    $0x1,%eax
je     11f8 <diag_show_bbp+0xa8>
jmp    11d6 <diag_show_bbp+0x86>
mov    -0x20(%rbp),%eax
sub    $0x3,%eax
je     120b <diag_show_bbp+0xbb>
jmp    11e7 <diag_show_bbp+0x97>
mov    -0x20(%rbp),%eax
sub    $0x7,%eax
je     121e <diag_show_bbp+0xce>
jmp    1231 <diag_show_bbp+0xe1>
lea    0x1ebd(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    123f <diag_show_bbp+0xef>
lea    0x1ebc(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    123f <diag_show_bbp+0xef>
lea    0x1eba(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    123f <diag_show_bbp+0xef>
lea    0x1eb9(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x18(%rbp),%esi
lea    0x1eb2(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    -0x18(%rbp),%eax
mov    %eax,-0x24(%rbp)
test   %eax,%eax
je     1285 <diag_show_bbp+0x135>
jmp    1263 <diag_show_bbp+0x113>
mov    -0x24(%rbp),%eax
sub    $0x3,%eax
je     1298 <diag_show_bbp+0x148>
jmp    1274 <diag_show_bbp+0x124>
mov    -0x24(%rbp),%eax
sub    $0x4,%eax
je     12ab <diag_show_bbp+0x15b>
jmp    12be <diag_show_bbp+0x16e>
lea    0x1e7c(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    12cc <diag_show_bbp+0x17c>
lea    0x1e78(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    12cc <diag_show_bbp+0x17c>
lea    0x1e75(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    12cc <diag_show_bbp+0x17c>
lea    0x1e2c(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0x1dc0(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     1453 <diag_show_bbp+0x303>
mov    -0xc(%rbp),%esi
lea    0x1e36(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x80,%ecx
lea    0x1e9a(%rip),%rsi
lea    0x1e6f(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1e35(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x40,%ecx
lea    0x1e71(%rip),%rsi
lea    0x1eac(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1e72(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x20,%ecx
lea    0x1edd(%rip),%rsi
lea    0x1eda(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1e9a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x10,%ecx
lea    0x1f0a(%rip),%rsi
lea    0x1ef3(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1eb2(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x8,%ecx
lea    0x1f33(%rip),%rsi
lea    0x1f1d(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1edc(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x4,%ecx
lea    0x1f63(%rip),%rsi
lea    0x1f4f(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1f04(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x2,%ecx
lea    0x1f82(%rip),%rsi
lea    0x1f6b(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1f32(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x1,%ecx
lea    0x1f98(%rip),%rsi
lea    0x1f86(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1f54(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2,%esi
lea    0x1f7d(%rip),%rdx
lea    0x1f83(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3,%esi
lea    0x1f7c(%rip),%rdx
lea    0x1f65(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x4,%esi
lea    0x1f6b(%rip),%rdx
lea    0x1f77(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x5,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     1566 <diag_show_bbp+0x416>
mov    -0xc(%rbp),%esi
mov    %sil,%cl
lea    0x1f9d(%rip),%rax
lea    0x1fb5(%rip),%rdx
test   $0x8,%cl
cmovne %rax,%rdx
lea    0x1f45(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x3,%eax
mov    %rax,-0x30(%rbp)
sub    $0x3,%eax
ja     1561 <diag_show_bbp+0x411>
mov    -0x30(%rbp),%rax
lea    0x1aef(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x1f79(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1561 <diag_show_bbp+0x411>
lea    0x1f8d(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1561 <diag_show_bbp+0x411>
lea    0x1fa1(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1561 <diag_show_bbp+0x411>
lea    0x1fb4(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1566 <diag_show_bbp+0x416>
mov    -0x8(%rbp),%rdi
mov    $0x6,%esi
lea    0x1fbd(%rip),%rdx
lea    0x1b17(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x7,%esi
lea    0x1fb0(%rip),%rdx
lea    0x1af9(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x8,%esi
lea    0x1fa8(%rip),%rdx
lea    0x1adb(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x7,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0x10(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     1611 <diag_show_bbp+0x4c1>
cmpl   $0x0,-0x10(%rbp)
jl     1611 <diag_show_bbp+0x4c1>
mov    -0xc(%rbp),%esi
shl    $0x8,%esi
or     -0x10(%rbp),%esi
lea    0x1f65(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0x9,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     1792 <diag_show_bbp+0x642>
mov    -0xc(%rbp),%esi
lea    0x1f55(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x39(%rbp)
call   1060 <printf@plt>
mov    -0x39(%rbp),%al
movzbl -0xc(%rbp),%ecx
mov    %cl,%dl
lea    0x1f76(%rip),%rcx
lea    0x1f74(%rip),%rsi
test   $0x80,%dl
cmovne %rcx,%rsi
lea    0x1f3e(%rip),%rdi
call   1060 <printf@plt>
mov    -0x39(%rbp),%al
lea    0x1f5c(%rip),%rdi
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x60,%eax
shr    $0x5,%eax
mov    %eax,%ecx
mov    %rcx,-0x38(%rbp)
sub    $0x3,%eax
ja     16ee <diag_show_bbp+0x59e>
mov    -0x38(%rbp),%rax
lea    0x1972(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x1f40(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    16ee <diag_show_bbp+0x59e>
lea    0x1f39(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    16ee <diag_show_bbp+0x59e>
lea    0x1f3b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    16ee <diag_show_bbp+0x59e>
lea    0x1f46(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x10,%ecx
lea    0x1f88(%rip),%rsi
lea    0x1f5f(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1f3a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x8,%ecx
lea    0x1fc8(%rip),%rsi
lea    0x1fa4(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1f78(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x4,%ecx
lea    0x1fdf(%rip),%rsi
lea    0x1fd3(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1f9b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x2,%ecx
lea    0x2016(%rip),%rsi
lea    0x1fde(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1fa5(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     1942 <diag_show_bbp+0x7f2>
mov    -0xc(%rbp),%esi
lea    0x1fe9(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x49(%rbp)
call   1060 <printf@plt>
mov    -0x49(%rbp),%al
movzbl -0xc(%rbp),%ecx
mov    %cl,%dl
lea    0x200a(%rip),%rcx
lea    0x2024(%rip),%rsi
test   $0x80,%dl
cmovne %rcx,%rsi
lea    0x1fd3(%rip),%rdi
call   1060 <printf@plt>
mov    -0x49(%rbp),%al
mov    -0xc(%rbp),%ecx
mov    %cl,%dl
lea    0x2045(%rip),%rcx
lea    0x2053(%rip),%rsi
test   $0x40,%dl
cmovne %rcx,%rsi
lea    0x2000(%rip),%rdi
call   1060 <printf@plt>
mov    -0x49(%rbp),%al
lea    0x204c(%rip),%rdi
call   1060 <printf@plt>
mov    -0x49(%rbp),%al
mov    -0xc(%rbp),%ecx
and    $0x30,%ecx
sub    $0x5,%ecx
setge  %cl
movzbl %cl,%ecx
mov    %rcx,-0x48(%rbp)
test   %al,%al
jne    189e <diag_show_bbp+0x74e>
mov    -0x48(%rbp),%rax
lea    0x17d2(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x2028(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    189e <diag_show_bbp+0x74e>
lea    0x201e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    189e <diag_show_bbp+0x74e>
lea    0x2014(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    189e <diag_show_bbp+0x74e>
lea    0x200b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x8,%ecx
lea    0x2023(%rip),%rsi
lea    0x2018(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1fec(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x4,%ecx
lea    0x2056(%rip),%rsi
lea    0x2047(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x1feb(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x2,%ecx
lea    0x1e2f(%rip),%rsi
lea    0x1e23(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x2021(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x1,%ecx
lea    0x208b(%rip),%rsi
lea    0x2075(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x204e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0xb,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     1a4c <diag_show_bbp+0x8fc>
mov    -0xc(%rbp),%esi
lea    0x206f(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x80,%ecx
xor    %esi,%esi
mov    $0x1,%eax
cmp    $0x0,%ecx
cmovne %eax,%esi
lea    0x2067(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x40,%ecx
lea    0x20c8(%rip),%rsi
lea    0x209d(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x2073(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x20,%ecx
lea    0x20cf(%rip),%rsi
lea    0x20c2(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x208d(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x10,%ecx
lea    0x1f37(%rip),%rsi
lea    0x20c9(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x2094(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x8,%ecx
lea    0x20f5(%rip),%rsi
lea    0x20b9(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x2099(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%esi
and    $0x7,%esi
lea    0x2114(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0xc,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     1bc5 <diag_show_bbp+0xa75>
mov    -0xc(%rbp),%esi
lea    0x210f(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x80,%ecx
lea    0x2155(%rip),%rsi
lea    0x213c(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x2100(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x40,%ecx
lea    0x2161(%rip),%rsi
lea    0x2152(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x212e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x20,%ecx
lea    0x2138(%rip),%rsi
lea    0x2129(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x212a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x10,%ecx
lea    0x210f(%rip),%rsi
lea    0x2100(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x2117(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x8,%ecx
lea    0x20e6(%rip),%rsi
lea    0x20d7(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x2103(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x4,%ecx
lea    0x20bd(%rip),%rsi
lea    0x20ae(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x20ef(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x2,%ecx
lea    0x2094(%rip),%rsi
lea    0x2085(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x20dc(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x1,%ecx
lea    0x206b(%rip),%rsi
lea    0x205c(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x20c8(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0xd,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     1d3e <diag_show_bbp+0xbee>
mov    -0xc(%rbp),%esi
lea    0x20af(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x80,%ecx
lea    0x2009(%rip),%rsi
lea    0x200a(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x20a0(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x40,%ecx
lea    0x1fe0(%rip),%rsi
lea    0x1fe1(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x2088(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x20,%ecx
lea    0x1fb7(%rip),%rsi
lea    0x1fb8(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x2071(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x10,%ecx
lea    0x1f8e(%rip),%rsi
lea    0x1f8f(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x205a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x8,%ecx
lea    0x1f65(%rip),%rsi
lea    0x1f66(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x2043(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x4,%ecx
lea    0x1f3c(%rip),%rsi
lea    0x1f3d(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x2037(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x2,%ecx
lea    0x1f13(%rip),%rsi
lea    0x1f14(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x202b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x1,%ecx
lea    0x1eea(%rip),%rsi
lea    0x1eeb(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x201a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0xe,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     1ee7 <diag_show_bbp+0xd97>
mov    -0xc(%rbp),%esi
lea    0x2039(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x59(%rbp)
call   1060 <printf@plt>
mov    -0x59(%rbp),%al
movzbl -0xc(%rbp),%esi
shr    $0x7,%esi
lea    0x203b(%rip),%rdi
call   1060 <printf@plt>
mov    -0x59(%rbp),%al
lea    0x2076(%rip),%rdi
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x70,%eax
shr    $0x4,%eax
mov    %eax,%ecx
mov    %rcx,-0x58(%rbp)
sub    $0x7,%eax
ja     1e53 <diag_show_bbp+0xd03>
mov    -0x58(%rbp),%rax
lea    0x1279(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x205a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1e53 <diag_show_bbp+0xd03>
lea    0x205b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1e53 <diag_show_bbp+0xd03>
lea    0x2058(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1e53 <diag_show_bbp+0xd03>
lea    0x207a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1e53 <diag_show_bbp+0xd03>
lea    0x2072(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1e53 <diag_show_bbp+0xd03>
lea    0x20a5(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1e53 <diag_show_bbp+0xd03>
lea    0x2114(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1e53 <diag_show_bbp+0xd03>
lea    0x2130(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x8,%ecx
lea    0x1dac(%rip),%rsi
lea    0x1dad(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x212b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x4,%ecx
lea    0x1d83(%rip),%rsi
lea    0x1d84(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x212e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x2,%ecx
xor    %esi,%esi
mov    $0x1,%eax
cmp    $0x0,%ecx
cmovne %eax,%esi
lea    0x2130(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x1,%ecx
xor    %esi,%esi
mov    $0x1,%eax
cmp    $0x0,%ecx
cmovne %eax,%esi
lea    0x211f(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0xf,%esi
lea    0x2118(%rip),%rdx
lea    0x1196(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x10,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     1f61 <diag_show_bbp+0xe11>
mov    -0xc(%rbp),%esi
lea    0x20f0(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%esi
and    $0xf0,%esi
sar    $0x4,%esi
lea    0x20f1(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%esi
and    $0xf,%esi
lea    0x20f9(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0x11,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     1fcf <diag_show_bbp+0xe7f>
mov    -0xc(%rbp),%esi
lea    0x20e7(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%ecx
and    $0x80,%ecx
lea    0x1c6d(%rip),%rsi
lea    0x1c6e(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0x20da(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%esi
and    $0x3f,%esi
lea    0x20ec(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0x12,%esi
lea    0x20fc(%rip),%rdx
lea    0x10ae(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x13,%esi
lea    0x20e8(%rip),%rdx
lea    0x1090(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x14,%esi
lea    0x20ee(%rip),%rdx
lea    0x1072(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x15,%esi
lea    0x20e9(%rip),%rdx
lea    0x1054(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x16,%esi
lea    0x20d9(%rip),%rdx
lea    0x1036(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x17,%esi
lea    0x20dd(%rip),%rdx
lea    0x1018(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x18,%esi
lea    0x20d5(%rip),%rdx
lea    0xffa(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x19,%esi
lea    0x20c4(%rip),%rdx
lea    0xfdc(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1a,%esi
lea    0x20b0(%rip),%rdx
lea    0xfbe(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1b,%esi
lea    0x20a1(%rip),%rdx
lea    0xfa0(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1c,%esi
lea    0x2097(%rip),%rdx
lea    0xf82(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1d,%esi
lea    0x208a(%rip),%rdx
lea    0xf64(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1e,%esi
lea    0x208a(%rip),%rdx
lea    0xf46(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1f,%esi
lea    0x207c(%rip),%rdx
lea    0xf28(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x20,%esi
lea    0x2076(%rip),%rdx
lea    0xf0a(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x21,%esi
lea    0x2065(%rip),%rdx
lea    0xeec(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x22,%esi
lea    0x2054(%rip),%rdx
lea    0xece(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x23,%esi
lea    0x2047(%rip),%rdx
lea    0xeb0(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x24,%esi
lea    0x2041(%rip),%rdx
lea    0xe92(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x25,%esi
lea    0x2048(%rip),%rdx
lea    0xe74(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x26,%esi
lea    0x2050(%rip),%rdx
lea    0xe56(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x27,%esi
lea    0x203f(%rip),%rdx
lea    0xe38(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x28,%esi
lea    0x2034(%rip),%rdx
lea    0xe1a(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x29,%esi
lea    0x2035(%rip),%rdx
lea    0xdfc(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2a,%esi
lea    0x203f(%rip),%rdx
lea    0xdde(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2b,%esi
lea    0x2048(%rip),%rdx
lea    0xdc0(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2c,%esi
lea    0x2050(%rip),%rdx
lea    0xda2(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2d,%esi
lea    0x2057(%rip),%rdx
lea    0xd84(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2e,%esi
lea    0x205d(%rip),%rdx
lea    0xd66(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2f,%esi
lea    0x2062(%rip),%rdx
lea    0xd48(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x30,%esi
lea    0x2058(%rip),%rdx
lea    0xd2a(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x31,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     23e4 <diag_show_bbp+0x1294>
mov    -0xc(%rbp),%esi
lea    0x204b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%esi
and    $0x7f,%esi
lea    0x2079(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     23d4 <diag_show_bbp+0x1284>
mov    -0x8(%rbp),%rdi
mov    $0x0,%al
call   1030 <show_a_values@plt>
jmp    23df <diag_show_bbp+0x128f>
mov    -0x8(%rbp),%rdi
mov    $0x0,%al
call   1050 <show_b_values@plt>
jmp    23e4 <diag_show_bbp+0x1294>
mov    -0x8(%rbp),%rdi
mov    $0x3c,%esi
lea    0x204c(%rip),%rdx
lea    0xc99(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3d,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     24c6 <diag_show_bbp+0x1376>
mov    -0xc(%rbp),%esi
lea    0x2021(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     244d <diag_show_bbp+0x12fd>
lea    0x201e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     246a <diag_show_bbp+0x131a>
lea    0x2027(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     2487 <diag_show_bbp+0x1337>
lea    0x204c(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     24a4 <diag_show_bbp+0x1354>
lea    0x2068(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     24c1 <diag_show_bbp+0x1371>
lea    0x207c(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    24c6 <diag_show_bbp+0x1376>
mov    -0x8(%rbp),%rdi
mov    $0x3e,%esi
lea    0x2091(%rip),%rdx
lea    0xbb7(%rip),%rcx
mov    $0x0,%al
call   1040 <show_bbp_cr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3f,%esi
mov    $0x0,%al
call   1070 <hostap_ioctl_readmif@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jl     264d <diag_show_bbp+0x14fd>
mov    -0xc(%rbp),%esi
lea    0x2061(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x69(%rbp)
call   1060 <printf@plt>
mov    -0x69(%rbp),%al
movzbl -0xc(%rbp),%ecx
shr    $0x6,%ecx
mov    %ecx,-0x1c(%rbp)
lea    0x205d(%rip),%rdi
call   1060 <printf@plt>
mov    -0x1c(%rbp),%eax
mov    %rax,-0x68(%rbp)
sub    $0x3,%rax
ja     259a <diag_show_bbp+0x144a>
mov    -0x68(%rbp),%rax
lea    0xb06(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x2052(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    259a <diag_show_bbp+0x144a>
lea    0x2032(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    259a <diag_show_bbp+0x144a>
lea    0x2024(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    259a <diag_show_bbp+0x144a>
lea    0x2018(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     25b7 <diag_show_bbp+0x1467>
lea    0x2001(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     25d4 <diag_show_bbp+0x1484>
lea    0x1ff3(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     25f1 <diag_show_bbp+0x14a1>
lea    0x1ff3(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     260e <diag_show_bbp+0x14be>
lea    0x1ff4(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     262b <diag_show_bbp+0x14db>
lea    0x1fe9(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0xc(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     2648 <diag_show_bbp+0x14f8>
lea    0x2012(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    264d <diag_show_bbp+0x14fd>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<diag_show_bbp>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rdi,%r14
lea    0x300c(%rip),%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     1215 <diag_show_bbp+0xa5>
mov    %eax,%ebx
mov    %eax,%esi
mov    %eax,%ebp
shr    $0x4,%ebp
and    $0xf,%ebx
lea    0x1e77(%rip),%rdi
mov    %ebp,%edx
xor    %eax,%eax
call   1080 <printf@plt>
add    $0xffffffff,%ebp
lea    0x1ec0(%rip),%r15
mov    %r15,%rdi
cmp    $0x6,%ebp
ja     11d5 <diag_show_bbp+0x65>
movslq %ebp,%rax
lea    0x341e(%rip),%rcx
movslq (%rcx,%rax,4),%rdi
add    %rcx,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x1ea3(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1080 <printf@plt>
cmp    $0x4,%ebx
ja     1201 <diag_show_bbp+0x91>
mov    %ebx,%eax
lea    0x340e(%rip),%rcx
movslq (%rcx,%rax,4),%r15
add    %rcx,%r15
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     1384 <diag_show_bbp+0x214>
mov    %eax,%ebx
lea    0x1e8d(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
movd   %ebx,%xmm0
pshufd $0x0,%xmm0,%xmm0
movdqa 0x1db1(%rip),%xmm1
pand   %xmm0,%xmm1
pand   0x1db5(%rip),%xmm0
pxor   %xmm2,%xmm2
pcmpeqd %xmm2,%xmm0
pcmpeqd %xmm2,%xmm1
packssdw %xmm0,%xmm1
packsswb %xmm1,%xmm1
pmovmskb %xmm1,%ebx
lea    0x1ec3(%rip),%rbp
lea    0x1e98(%rip),%rsi
test   $0x80,%bl
cmovne %rbp,%rsi
lea    0x1e5e(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x1ee2(%rip),%rsi
test   $0x40,%bl
cmovne %rbp,%rsi
lea    0x1ea8(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x1f19(%rip),%rax
lea    0x1f16(%rip),%rsi
test   $0x20,%bl
cmovne %rax,%rsi
lea    0x1ed6(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x1f4c(%rip),%rax
lea    0x1f35(%rip),%rsi
test   $0x10,%bl
cmovne %rax,%rsi
lea    0x1ef4(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x1f7b(%rip),%rax
lea    0x1f65(%rip),%rsi
test   $0x8,%bl
cmovne %rax,%rsi
lea    0x1f24(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x1fb1(%rip),%rax
lea    0x1f9d(%rip),%rsi
test   $0x4,%bl
cmovne %rax,%rsi
lea    0x1f52(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x1fd6(%rip),%rax
lea    0x1fbf(%rip),%rsi
test   $0x2,%bl
cmovne %rax,%rsi
lea    0x1f86(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x1ff2(%rip),%rax
lea    0x1fe0(%rip),%rsi
test   $0x1,%bl
cmovne %rax,%rsi
lea    0x1fae(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x1fe0(%rip),%rdx
lea    0x1fe6(%rip),%rbx
mov    %r14,%rdi
mov    $0x2,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x1fdd(%rip),%rdx
mov    %r14,%rdi
mov    $0x3,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x1fd1(%rip),%rdx
lea    0x1fdd(%rip),%rcx
mov    %r14,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
mov    %r14,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     142a <diag_show_bbp+0x2ba>
mov    %eax,%ebx
test   $0x8,%bl
lea    0x2025(%rip),%rax
lea    0x1fff(%rip),%rdx
cmove  %rax,%rdx
lea    0x1fb1(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1080 <printf@plt>
and    $0x3,%ebx
lea    0x31fe(%rip),%rax
movslq (%rax,%rbx,4),%rdi
add    %rax,%rdi
call   1050 <puts@plt>
lea    0x1ff4(%rip),%rdx
lea    0x1cb4(%rip),%rbx
mov    %r14,%rdi
mov    $0x6,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x1fe5(%rip),%rdx
mov    %r14,%rdi
mov    $0x7,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x1fe2(%rip),%rdx
mov    %r14,%rdi
mov    $0x8,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
mov    %r14,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
mov    %eax,%ebx
mov    %r14,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %ebx,%ebx
js     14b9 <diag_show_bbp+0x349>
test   %eax,%eax
js     14b9 <diag_show_bbp+0x349>
shl    $0x8,%ebx
or     %eax,%ebx
lea    0x1fb1(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r14,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     15ba <diag_show_bbp+0x44a>
mov    %eax,%ebx
lea    0x1fa6(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x80,%bl
lea    0x1fd3(%rip),%rax
lea    0x1fc7(%rip),%rsi
cmove  %rax,%rsi
lea    0x1f99(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x1fb8(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %ebx,%eax
shr    $0x5,%eax
and    $0x3,%eax
lea    0x310a(%rip),%rcx
movslq (%rcx,%rax,4),%rdi
add    %rcx,%rdi
call   1050 <puts@plt>
test   $0x10,%bl
lea    0x1fe1(%rip),%rax
lea    0x1fb8(%rip),%rsi
cmove  %rax,%rsi
lea    0x1f96(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x8,%bl
lea    0x2027(%rip),%rax
lea    0x2003(%rip),%rsi
cmove  %rax,%rsi
lea    0x1fda(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x4,%bl
lea    0x2044(%rip),%rax
lea    0x2038(%rip),%rsi
cmove  %rax,%rsi
lea    0x2003(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x2,%bl
lea    0x2081(%rip),%rax
lea    0x2049(%rip),%rsi
cmove  %rax,%rsi
lea    0x2013(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r14,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     16dd <diag_show_bbp+0x56d>
mov    %eax,%ebx
lea    0x205e(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x80,%bl
lea    0x20a7(%rip),%rax
lea    0x207f(%rip),%rsi
cmove  %rax,%rsi
lea    0x2052(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x40,%bl
lea    0x20dc(%rip),%rax
lea    0x20c0(%rip),%rsi
cmove  %rax,%rsi
lea    0x2085(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x20d2(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x30,%bl
lea    0x2eb6(%rip),%rax
lea    0x2ea7(%rip),%rdi
cmove  %rax,%rdi
call   1050 <puts@plt>
test   $0x8,%bl
lea    0x20e3(%rip),%rax
lea    0x20d8(%rip),%rsi
cmove  %rax,%rsi
lea    0x20af(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x4,%bl
lea    0x211c(%rip),%rax
lea    0x210d(%rip),%rsi
cmove  %rax,%rsi
lea    0x20b4(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x2,%bl
lea    0x1f21(%rip),%rax
lea    0x1f15(%rip),%rsi
cmove  %rax,%rsi
lea    0x20f0(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x1,%bl
lea    0x215d(%rip),%rax
lea    0x2147(%rip),%rsi
cmove  %rax,%rsi
lea    0x2123(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r14,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     17bb <diag_show_bbp+0x64b>
mov    %eax,%ebx
lea    0x214b(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %ebx,%esi
shr    $0x7,%esi
and    $0x1,%esi
lea    0x214f(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x40,%bl
lea    0x21b3(%rip),%rax
lea    0x2188(%rip),%rsi
cmove  %rax,%rsi
lea    0x2161(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x20,%bl
lea    0x21c0(%rip),%rax
lea    0x21b3(%rip),%rsi
cmove  %rax,%rsi
lea    0x2181(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x10,%bl
lea    0x202e(%rip),%rax
lea    0x21c0(%rip),%rsi
cmove  %rax,%rsi
lea    0x218e(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x8,%bl
lea    0x21f2(%rip),%rax
lea    0x21b6(%rip),%rsi
cmove  %rax,%rsi
lea    0x2199(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
and    $0x7,%ebx
lea    0x2217(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r14,%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     18fa <diag_show_bbp+0x78a>
mov    %eax,%ebx
lea    0x2217(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
movd   %ebx,%xmm0
pshufd $0x0,%xmm0,%xmm0
movdqa 0x180b(%rip),%xmm1
pand   %xmm0,%xmm1
pand   0x180f(%rip),%xmm0
pxor   %xmm2,%xmm2
pcmpeqd %xmm2,%xmm0
pcmpeqd %xmm2,%xmm1
packssdw %xmm0,%xmm1
packsswb %xmm1,%xmm1
pmovmskb %xmm1,%ebp
lea    0x222f(%rip),%rax
lea    0x2216(%rip),%rsi
test   $0x80,%bpl
cmovne %rax,%rsi
lea    0x21d9(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x2240(%rip),%r15
lea    0x2231(%rip),%rbx
test   $0x40,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x2209(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x20,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x2215(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x10,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x2212(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x8,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x220e(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x4,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x220a(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x2,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x2207(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x1,%bpl
cmovne %r15,%rbx
lea    0x2206(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r14,%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     1a2e <diag_show_bbp+0x8be>
mov    %eax,%ebx
lea    0x21f1(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
movd   %ebx,%xmm0
pshufd $0x0,%xmm0,%xmm0
movdqa 0x16cc(%rip),%xmm1
pand   %xmm0,%xmm1
pand   0x16d0(%rip),%xmm0
pxor   %xmm2,%xmm2
pcmpeqd %xmm2,%xmm0
pcmpeqd %xmm2,%xmm1
packssdw %xmm0,%xmm1
packsswb %xmm1,%xmm1
pmovmskb %xmm1,%ebp
lea    0x211d(%rip),%r15
lea    0x211e(%rip),%rbx
test   $0x80,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x21b0(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x40,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x21a8(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x20,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x21a1(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x10,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x219a(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x8,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x2193(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x4,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x2197(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x2,%bpl
mov    %rbx,%rsi
cmovne %r15,%rsi
lea    0x219b(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x1,%bpl
cmovne %r15,%rbx
lea    0x219d(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r14,%rdi
mov    $0xe,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     1afc <diag_show_bbp+0x98c>
mov    %eax,%ebx
lea    0x21c0(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %ebx,%esi
shr    $0x7,%esi
and    $0x1,%esi
lea    0x21c5(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x2201(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %ebx,%eax
shr    $0x4,%eax
and    $0x7,%eax
lea    0x2bb2(%rip),%rcx
movslq (%rcx,%rax,4),%rdi
add    %rcx,%rdi
call   1050 <puts@plt>
test   $0x8,%bl
lea    0x1fdc(%rip),%r15
lea    0x1fdd(%rip),%rbp
mov    %rbp,%rsi
cmove  %r15,%rsi
lea    0x21dc(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x4,%bl
cmove  %r15,%rbp
lea    0x21f3(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %ebx,%esi
shr    %esi
and    $0x1,%esi
lea    0x21fe(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
and    $0x1,%ebx
lea    0x21fd(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x21fd(%rip),%rdx
lea    0x15e2(%rip),%rcx
mov    %r14,%rdi
mov    $0xf,%esi
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
mov    %r14,%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     1b67 <diag_show_bbp+0x9f7>
mov    %eax,%ebx
lea    0x21d8(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %ebx,%esi
shr    $0x4,%esi
and    $0xf,%esi
lea    0x21db(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
and    $0xf,%ebx
lea    0x21e6(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r14,%rdi
mov    $0x11,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     1bc2 <diag_show_bbp+0xa52>
mov    %eax,%ebx
lea    0x21dd(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x80,%bl
lea    0x1ee6(%rip),%rax
lea    0x1ee7(%rip),%rsi
cmove  %rax,%rsi
lea    0x21d7(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
and    $0x3f,%ebx
lea    0x21ec(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x2203(%rip),%rdx
lea    0x151c(%rip),%rbx
mov    %r14,%rdi
mov    $0x12,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21ed(%rip),%rdx
mov    %r14,%rdi
mov    $0x13,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21f8(%rip),%rdx
mov    %r14,%rdi
mov    $0x14,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21f8(%rip),%rdx
mov    %r14,%rdi
mov    $0x15,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21ed(%rip),%rdx
mov    %r14,%rdi
mov    $0x16,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21f6(%rip),%rdx
mov    %r14,%rdi
mov    $0x17,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21f3(%rip),%rdx
mov    %r14,%rdi
mov    $0x18,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21e7(%rip),%rdx
mov    %r14,%rdi
mov    $0x19,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21d8(%rip),%rdx
mov    %r14,%rdi
mov    $0x1a,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21ce(%rip),%rdx
mov    %r14,%rdi
mov    $0x1b,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21c9(%rip),%rdx
mov    %r14,%rdi
mov    $0x1c,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21c1(%rip),%rdx
mov    %r14,%rdi
mov    $0x1d,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21c6(%rip),%rdx
mov    %r14,%rdi
mov    $0x1e,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21bd(%rip),%rdx
mov    %r14,%rdi
mov    $0x1f,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21bc(%rip),%rdx
mov    %r14,%rdi
mov    $0x20,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21b0(%rip),%rdx
mov    %r14,%rdi
mov    $0x21,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21a4(%rip),%rdx
mov    %r14,%rdi
mov    $0x22,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x219c(%rip),%rdx
mov    %r14,%rdi
mov    $0x23,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x219b(%rip),%rdx
mov    %r14,%rdi
mov    $0x24,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21a7(%rip),%rdx
mov    %r14,%rdi
mov    $0x25,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21b4(%rip),%rdx
mov    %r14,%rdi
mov    $0x26,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21a8(%rip),%rdx
mov    %r14,%rdi
mov    $0x27,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21a2(%rip),%rdx
mov    %r14,%rdi
mov    $0x28,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21a8(%rip),%rdx
mov    %r14,%rdi
mov    $0x29,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21b7(%rip),%rdx
mov    %r14,%rdi
mov    $0x2a,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21c5(%rip),%rdx
mov    %r14,%rdi
mov    $0x2b,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21d2(%rip),%rdx
mov    %r14,%rdi
mov    $0x2c,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21de(%rip),%rdx
mov    %r14,%rdi
mov    $0x2d,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21e9(%rip),%rdx
mov    %r14,%rdi
mov    $0x2e,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21f3(%rip),%rdx
mov    %r14,%rdi
mov    $0x2f,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
lea    0x21ee(%rip),%rdx
mov    %r14,%rdi
mov    $0x30,%esi
mov    %rbx,%rcx
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
mov    %r14,%rdi
mov    $0x31,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     1f1e <diag_show_bbp+0xdae>
mov    %eax,%ebx
lea    0x21e8(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %ebx,%esi
and    $0x7f,%esi
lea    0x2215(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r14,%rdi
xor    %eax,%eax
test   $0x80,%bl
jne    1f19 <diag_show_bbp+0xda9>
call   1070 <show_b_values@plt>
jmp    1f1e <diag_show_bbp+0xdae>
call   1040 <show_a_values@plt>
lea    0x220c(%rip),%rdx
lea    0x11c0(%rip),%rcx
mov    %r14,%rdi
mov    $0x3c,%esi
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
mov    %r14,%rdi
mov    $0x3d,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     1f95 <diag_show_bbp+0xe25>
mov    %eax,%ebx
lea    0x21e4(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
test   $0x10,%bl
jne    2041 <diag_show_bbp+0xed1>
test   $0x8,%bl
jne    2056 <diag_show_bbp+0xee6>
test   $0x4,%bl
jne    206b <diag_show_bbp+0xefb>
test   $0x2,%bl
jne    2080 <diag_show_bbp+0xf10>
test   $0x1,%bl
je     1f95 <diag_show_bbp+0xe25>
lea    0x22ea(%rip),%rdi
call   1050 <puts@plt>
lea    0x21b9(%rip),%rdx
lea    0x1149(%rip),%rcx
mov    %r14,%rdi
mov    $0x3e,%esi
xor    %eax,%eax
call   1060 <show_bbp_cr@plt>
mov    %r14,%rdi
mov    $0x3f,%esi
xor    %eax,%eax
call   1090 <hostap_ioctl_readmif@plt>
test   %eax,%eax
js     2036 <diag_show_bbp+0xec6>
mov    %eax,%ebx
lea    0x218c(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %ebx,%ebp
shr    $0x6,%ebp
and    $0x3,%ebp
lea    0x218e(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x2668(%rip),%rax
movslq (%rax,%rbp,4),%rdi
add    %rax,%rdi
call   1050 <puts@plt>
test   $0x20,%bl
jne    209a <diag_show_bbp+0xf2a>
test   $0x10,%bl
jne    20af <diag_show_bbp+0xf3f>
test   $0x8,%bl
jne    20c4 <diag_show_bbp+0xf54>
test   $0x4,%bl
jne    20d9 <diag_show_bbp+0xf69>
test   $0x2,%bl
jne    20ee <diag_show_bbp+0xf7e>
test   $0x1,%bl
jne    2103 <diag_show_bbp+0xf93>
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0x230b(%rip),%rdi
call   1050 <puts@plt>
test   $0x8,%bl
je     1f72 <diag_show_bbp+0xe02>
lea    0x22b5(%rip),%rdi
call   1050 <puts@plt>
test   $0x4,%bl
je     1f7b <diag_show_bbp+0xe0b>
lea    0x2268(%rip),%rdi
call   1050 <puts@plt>
test   $0x2,%bl
je     1f84 <diag_show_bbp+0xe14>
lea    0x2223(%rip),%rdi
call   1050 <puts@plt>
test   $0x1,%bl
jne    1f89 <diag_show_bbp+0xe19>
jmp    1f95 <diag_show_bbp+0xe25>
lea    0x21c1(%rip),%rdi
call   1050 <puts@plt>
test   $0x10,%bl
je     2012 <diag_show_bbp+0xea2>
lea    0x2190(%rip),%rdi
call   1050 <puts@plt>
test   $0x8,%bl
je     201b <diag_show_bbp+0xeab>
lea    0x215e(%rip),%rdi
call   1050 <puts@plt>
test   $0x4,%bl
je     2024 <diag_show_bbp+0xeb4>
lea    0x2138(%rip),%rdi
call   1050 <puts@plt>
test   $0x2,%bl
je     202d <diag_show_bbp+0xebd>
lea    0x20de(%rip),%rdi
call   1050 <puts@plt>
test   $0x1,%bl
je     2036 <diag_show_bbp+0xec6>
lea    0x20bc(%rip),%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <puts@plt>

LLVM IR (-O0):
@.str = [53 x i8] c"\0ABaseband proccessor (BBP) Configuration Registers\0A\0A\00"
@.str.1 = [39 x i8] c"CR0 (Part/Version Code): %d - Part=%d \00"
@.str.2 = [18 x i8] c"(HFA3861B series)\00"
@.str.3 = [17 x i8] c"(HFA3863 series)\00"
@.str.4 = [18 x i8] c"(HFA3871 series?)\00"
@.str.5 = [10 x i8] c"(unknown)\00"
@.str.6 = [13 x i8] c" Version=%d \00"
@.str.7 = [15 x i8] c"(3863 Version)\00"
@.str.8 = [16 x i8] c"(3861B Version)\00"
@.str.9 = [16 x i8] c"(3871 Version?)\00"
@.str.10 = [2 x i8] c"\0A\00"
@.str.11 = [43 x i8] c"CR1 (I/O Polarity): %d (normal setting 0)\0A\00"
@.str.12 = [44 x i8] c" Phase of RX carrier rotation sense: %s\0A\00"
@.str.13 = [36 x i8] c"Inverted rotation (CW), Invert Q in\00"
@.str.14 = [22 x i8] c"normal rotation (CCW)\00"
@.str.15 = [44 x i8] c" Phase of TX carrier rotation sense: %s\0A\00"
@.str.16 = [37 x i8] c"Inverted rotation (CW), Invert Q out\00"
@.str.17 = [46 x i8] c" Phase of TX output clock (TXCLK) pin: %s\0A\00"
@.str.18 = [15 x i8] c"Inverted TXCLK\00"
@.str.19 = [19 x i8] c"NON-Inverted TXCLK\00"
@.str.20 = [51 x i8] c" Active level of the Transmit Ready output: %s\0A\00"
@.str.21 = [16 x i8] c"TX_RDY Active 0\00"
@.str.22 = [16 x i8] c"TX_RDY Active 1\00"
@.str.23 = [51 x i8] c" Active level of the transmit enable input: %s\0A\00"
@.str.24 = [15 x i8] c"TX_PE Active 0\00"
@.str.25 = [15 x i8] c"TX_PE Active 1\00"
@.str.26 = [61 x i8] c" Active level of the Clear Channel Assessment output: %s\0A\00"
@.str.27 = [13 x i8] c"CCA Active 1\00"
@.str.28 = [13 x i8] c"CCA Active 0\00"
@.str.29 = [43 x i8] c" Active level of the MD_RDY output: %s\0A\00"
@.str.30 = [16 x i8] c"MD_RDY Active 0\00"
@.str.31 = [16 x i8] c"MD_RDY Active 1\00"
@.str.32 = [36 x i8] c" Phase of the RX_CLK output: %s\0A\00"
@.str.33 = [11 x i8] c"Invert Clk\00"
@.str.34 = [17 x i8] c"Non-Inverted Clk\00"
@.str.35 = [13 x i8] c"I Cover Code\00"
@.str.36 = [16 x i8] c" (nominally 72)\00"
@.str.37 = [13 x i8] c"Q Cover Code\00"
@.str.38 = [19 x i8] c"TX Preamble Length\00"
@.str.39 = [20 x i8] c" (IEEE 802.11: 128)\00"
@.str.40 = [67 x i8] c"CR5 (TX Signal Field): %d\0A Preamble mode: %s\0A TX data rate: \00"
@.str.41 = [31 x i8] c"Short preamble and header mode\00"
@.str.42 = [7 x i8] c"Normal\00"
@.str.43 = [39 x i8] c"00 = DBPSK - 11 chip sequence (1Mbps)\0A\00"
@.str.44 = [39 x i8] c"01 = DQPSK - 11 chip sequence (2Mbps)\0A\00"
@.str.45 = [38 x i8] c"10 = CCK - 8 chip sequence (5.5Mbps)\0A\00"
@.str.46 = [37 x i8] c"11 = CCK - 8 chip sequence (11Mbps)\0A\00"
@.str.47 = [17 x i8] c"TX Service Field\00"
@.str.48 = [1 x i8] zeroinitializer
@.str.49 = [22 x i8] c"TX Length Field, High\00"
@.str.50 = [21 x i8] c"TX Length Field, Low\00"
@.str.51 = [30 x i8] c" TX Length Field: %d usec\0A\00"
@.str.52 = [24 x i8] c"CR9 (TX Configure): %d\0A\00"
@.str.53 = [35 x i8] c" CCA sample mode time: %s usec\0A\00"
@.str.54 = [5 x i8] c"15.8\00"
@.str.55 = [5 x i8] c"19.9\00"
@.str.56 = [28 x i8] c" CCA mode: CCA is based \00"
@.str.57 = [12 x i8] c"only on ED\0A\00"
@.str.58 = [21 x i8] c"on (CS1 OR SQ1/CS2)\0A\00"
@.str.59 = [30 x i8] c"on (ED AND (CS1 OR SQ1/CS2))\0A\00"
@.str.60 = [29 x i8] c"on (ED OR (CS1 OR SQ1/CS2))\0A\00"
@.str.61 = [23 x i8] c" TX test modes: %s\0A\00"
@.str.62 = [34 x i8] c"all chips set to 1 for CW carrier\00"
@.str.63 = [46 x i8] c"Alternating bits for carrier suppression test\00"
@.str.64 = [30 x i8] c" Enable TX test modes: %s\0A\00"
@.str.65 = [29 x i8] c"Invoke tests described above\00"
@.str.66 = [17 x i8] c"normal operation\00"
@.str.67 = [42 x i8] c" Antenna choice for TX: Set AntSel %s\0A\00"
@.str.68 = [5 x i8] c"high\00"
@.str.69 = [4 x i8] c"low\00"
@.str.70 = [43 x i8] c" TX Antenna Mode: set AntSel pin to %s\0A\00"
@.str.71 = [49 x i8] c"antenna for which last valid header CRC occurred\00"
@.str.72 = [22 x i8] c"value in choice above\00"
@.str.73 = [25 x i8] c"CR10 (RX Configure): %d\0A\00"
@.str.74 = [34 x i8] c" Initial CS2 estimate: Use %s\0A\00"
@.str.75 = [33 x i8] c"SQ1 from Barker correlator peaks\00"
@.str.76 = [19 x i8] c"dot product result\00"
@.str.77 = [48 x i8] c" CIR estimate/Dot product clock control: %s\0A\00"
@.str.78 = [21 x i8] c"only on after detect\00"
@.str.79 = [22 x i8] c"on during acquisition\00"
@.str.80 = [26 x i8] c" SFD Time-out values: \00"
@.str.81 = [9 x i8] c"56 usec\0A\00"
@.str.82 = [9 x i8] c"64 usec\0A\00"
@.str.83 = [10 x i8] c"128 usec\0A\00"
@.str.84 = [10 x i8] c"144 usec\0A\00"
@.str.85 = [30 x i8] c" MD_RDY control: After %s\0A\00"
@.str.86 = [4 x i8] c"SFD\00"
@.str.87 = [6 x i8] c"CRC16\00"
@.str.88 = [78 x i8] c" Force Frequency Offset Estimating in all antenna diversity timelines: %s\0A\00"
@.str.89 = [8 x i8] c"enabled\00"
@.str.90 = [9 x i8] c"disabled\00"
@.str.91 = [86 x i8] c" Antenna choice for RX when single antenna acquisition is selected: AntSel pin %s\0A\00"
@.str.92 = [25 x i8] c" Antenna acquire: %s\0A\00"
@.str.93 = [15 x i8] c"single antenna\00"
@.str.94 = [39 x i8] c"dual antenna for diversity acquisition\00"
@.str.95 = [28 x i8] c"CR11 (RX/TX Configure): %d\0A\00"
@.str.96 = [53 x i8] c" Continuous internal RX 22 and 44 MHZ clocks: %d\0A\00"
@.str.97 = [28 x i8] c" A/D input coupling: %s\0A\00"
@.str.98 = [36 x i8] c"AC (external bias network required)\00"
@.str.99 = [3 x i8] c"DC\00"
@.str.100 = [39 x i8] c" TX filter / CMF weight select: %s\0A\00"
@.str.101 = [6 x i8] c"Japan\00"
@.str.102 = [3 x i8] c"US\00"
@.str.103 = [39 x i8] c" Ping Pong Differential Encode: %s\0A\00"
@.str.104 = [7 x i8] c"normal\00"
@.str.105 = [18 x i8] c" CCA mode: %s\0A\00"
@.str.106 = [53 x i8] c"Sampled CCA; CCA will update once per slot (20 usec)\00"
@.str.107 = [72 x i8] c"normal CCA; CCA will immediately respond to changes in ED, CS1, and SQ1\00"
@.str.108 = [41 x i8] c" Precursor value in CIR estimate: %d\0A\00"
@.str.109 = [29 x i8] c"CR12 (A/D Test Modes 1): %d\0A\00"
@.str.110 = [46 x i8] c" All DAC and A/D clock source control: %s\0A\00"
@.str.111 = [18 x i8] c"clock via SDI pin\00"
@.str.112 = [23 x i8] c"normal internal clocks\00"
@.str.113 = [22 x i8] c" TX DAC clock: %s\0A\00"
@.str.114 = [8 x i8] c"disable\00"
@.str.115 = [7 x i8] c"enable\00"
@.str.116 = [22 x i8] c" RX DAC clock: %s\0A\00"
@.str.117 = [21 x i8] c" I DAC clock: %s\0A\00"
@.str.118 = [21 x i8] c" Q DAC clock: %s\0A\00"
@.str.119 = [22 x i8] c" RF A/D clock: %s\0A\00"
@.str.120 = [21 x i8] c" I A/D clock: %s\0A\00"
@.str.121 = [21 x i8] c" Q A/D clock: %s\0A\00"
@.str.122 = [29 x i8] c"CR13 (A/D Test Modes 2): %d\0A\00"
@.str.123 = [17 x i8] c" Standby: %s\0A\00"
@.str.124 = [18 x i8] c" SLEEP TX: %s\0A\00"
@.str.125 = [18 x i8] c" SLEEP RX: %s\0A\00"
@.str.126 = [18 x i8] c" SLEEP IQ: %s\0A\00"
@.str.127 = [29 x i8] c" Analog TX Shut_down: %s\0A\00"
@.str.128 = [29 x i8] c" Analog RX Shut_down: %s\0A\00"
@.str.129 = [24 x i8] c" Analog Standby: %s\0A\00"
@.str.130 = [77 x i8] c" Manual control of mixed signal power down signals (other CR13 bits): %s\0A\00"
@.str.131 = [29 x i8] c"CR14 (A/D Test Modes 3): %d\0A\00"
@.str.132 = [74 x i8] c" DFS - select straight binary output of I/Q and RF A/D converters: %d\0A\00"
@.str.133 = [28 x i8] c" I/Q DAC input control: \00"
@.str.134 = [20 x i8] c"normal (TX filter)\0A\00"
@.str.135 = [16 x i8] c"down converter\0A\00"
@.str.136 = [53 x i8] c"E/L integrator - upper 6 bits (Q) and AGC error (I)\0A\00"
@.str.137 = [11 x i8] c"I/Q A/D's\0A\00"
@.str.138 = [70 x i8] c"Bigger picker output - upper 6 bits of FWT_I winner and FWT_Q winner\0A\00"
@.str.139 = [130 x i8] c"CMF weights - upper 6 bits of all 16 CMF weights circularly shifted with full scale negative sync pulse interleaved between them\0A\00"
@.str.140 = [47 x i8] c"Test Bus pins (5:0) when configured as inputs\0A\00"
@.str.141 = [36 x i8] c"Barker Correlator/low rate samples\0A\00"
@.str.142 = [44 x i8] c" Enable test bus into RX and TX DAC: %s\0A\00"
@.str.143 = [35 x i8] c" Enable RF A/D into RX DAC: %s\0A\00"
@.str.144 = [16 x i8] c" VRbit1: %d\0A\00"
@.str.145 = [16 x i8] c" VRbit0: %d\0A\00"
@.str.146 = [13 x i8] c"AGC GainClip\00"
@.str.147 = [27 x i8] c"CR16 (AGC Sat Cpints): %d\0A\00"
@.str.148 = [28 x i8] c" AGC mid Sat counts: %d\0A\00"
@.str.149 = [28 x i8] c" AGC low Sat counts: %d\0A\00"
@.str.150 = [31 x i8] c"CR17 (AGC Update Control): %d\0A\00"
@.str.151 = [38 x i8] c" AGC update during CIR injest: %s\0A\00"
@.str.152 = [39 x i8] c" AGC timer count: %d (must be >31)\0A\00"
@.str.153 = [10 x i8] c"AGC HiSat\00"
@.str.154 = [36 x i8] c"AGC LockinLevel/CW detect threshold\00"
@.str.155 = [25 x i8] c"AGC LockWindow, pos side\00"
@.str.156 = [14 x i8] c"AGC Threshold\00"
@.str.157 = [34 x i8] c"AGC Lookup Table Addr and Control\00"
@.str.158 = [22 x i8] c"AGC Lookup Table Data\00"
@.str.159 = [13 x i8] c"AGC LoopGain\00"
@.str.160 = [10 x i8] c"AGC RX_IF\00"
@.str.161 = [15 x i8] c"AGC Test Modes\00"
@.str.162 = [20 x i8] c"AGC RX_RF Threshold\00"
@.str.163 = [17 x i8] c"AGC Low SatAtten\00"
@.str.164 = [30 x i8] c"AGC LockWindow, negative side\00"
@.str.165 = [16 x i8] c"Carrier Sense 2\00"
@.str.166 = [24 x i8] c"Manual TX Power Control\00"
@.str.167 = [13 x i8] c"Test Modes 1\00"
@.str.168 = [13 x i8] c"Test Modes 2\00"
@.str.169 = [17 x i8] c"Test Bus Address\00"
@.str.170 = [24 x i8] c"CMF Coefficient Control\00"
@.str.171 = [37 x i8] c"Scrambler Seed, Long Preamble Option\00"
@.str.172 = [38 x i8] c"Scrambler Seed, Short Preamble Option\00"
@.str.173 = [13 x i8] c"ED Threshold\00"
@.str.174 = [19 x i8] c"CMF Gain Threshold\00"
@.str.175 = [31 x i8] c"Threshold for antenna decision\00"
@.str.176 = [40 x i8] c"Preamble tracking loop lead coefficient\00"
@.str.177 = [39 x i8] c"Preamble tracking loop lag coefficient\00"
@.str.178 = [38 x i8] c"Header tracking loop lead coefficient\00"
@.str.179 = [37 x i8] c"Header tracking loop lag coefficient\00"
@.str.180 = [36 x i8] c"Data tracking loop lead coefficient\00"
@.str.181 = [35 x i8] c"Data tracking loop lag coefficient\00"
@.str.182 = [20 x i8] c"RF attenuator value\00"
@.str.183 = [40 x i8] c"ED and SQ1 control and SQ1 scale factor\00"
@.str.184 = [66 x i8] c"CR49 (Read only register mux control for registers 50 to 63): %d\0A\00"
@.str.185 = [27 x i8] c" CW RSSI threshold: %d\0A\00"
@.str.186 = [10 x i8] c"RX_IF AGC\00"
@.str.187 = [26 x i8] c"CR61 (RX Status Reg): %d\0A\00"
@.str.188 = [38 x i8] c" ED, energy detect past threshold\0A\00"
@.str.189 = [66 x i8] c" TX PWR det Register semaphore (CR58 updated since last read)\0A\00"
@.str.190 = [57 x i8] c" AGC_lock (AGC is within limits of lock window CR20)\0A\00"
@.str.191 = [49 x i8] c" hwStopBHit (rails hit, AGC updates stopped)\0A\00"
@.str.192 = [49 x i8] c" RX_RF_AGC - status of AGC output to RF chip\0A\00"
@.str.193 = [5 x i8] c"RSSI\00"
@.str.194 = [26 x i8] c"CR63 (RX Status Reg): %d\0A\00"
@.str.195 = [25 x i8] c" Signal field value: \00"
@.str.196 = [5 x i8] c"1 M\0A\00"
@.str.197 = [5 x i8] c"2 M\0A\00"
@.str.198 = [7 x i8] c"5.5 M\0A\00"
@.str.199 = [6 x i8] c"11 M\0A\00"
@.str.200 = [15 x i8] c" SFD found\0A\00"
@.str.201 = [29 x i8] c" Short preamble detected\0A\00"
@.str.202 = [30 x i8] c" Valid signal field found\0A\00"
@.str.203 = [18 x i8] c" Valid CRC 16\0A\00"
@.str.204 = [70 x i8] c" Antenna selected by received when last valid header CRC occurred\0A\00"
@.str.205 = [14 x i8] c" not used\0A\00"
define void @diag_show_bbp(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i8* %0, i8** %2
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0))
%9 = load i8*, i8** %2
%10 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %9, i32 0)
store i32 %10, i32* %3
%11 = load i32, i32* %3
%12 = icmp sge i32 %11, 0
br i1 %12, label %13, label %44
13: ; preds = %1
%14 = load i32, i32* %3
%15 = sdiv i32 %14, 16
store i32 %15, i32* %5
%16 = load i32, i32* %3
%17 = srem i32 %16, 16
store i32 %17, i32* %6
%18 = load i32, i32* %3
%19 = load i32, i32* %5
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i32 %18, i32 %19)
%21 = load i32, i32* %5
switch i32 %21, label %28 [
i32 1, label %22
i32 3, label %24
i32 7, label %26
]
22: ; preds = %13
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
br label %30
24: ; preds = %13
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
br label %30
26: ; preds = %13
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
br label %30
28: ; preds = %13
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
br label %30
30: ; preds = %28, %26, %24, %22
%31 = load i32, i32* %6
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32 %31)
%33 = load i32, i32* %6
switch i32 %33, label %40 [
i32 0, label %34
i32 3, label %36
i32 4, label %38
]
34: ; preds = %30
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
br label %42
36: ; preds = %30
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0))
br label %42
38: ; preds = %30
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0))
br label %42
40: ; preds = %30
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
br label %42
42: ; preds = %40, %38, %36, %34
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %44
44: ; preds = %42, %1
%45 = load i8*, i8** %2
%46 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %45, i32 1)
store i32 %46, i32* %3
%47 = load i32, i32* %3
%48 = icmp sge i32 %47, 0
br i1 %48, label %49, label %100
49: ; preds = %44
%50 = load i32, i32* %3
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.11, i64 0, i64 0), i32 %50)
%52 = load i32, i32* %3
%53 = and i32 %52, 128
%54 = icmp ne i32 %53, 0
%55 = zext i1 %54 to i64
%56 = select i1 %54, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0)
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.12, i64 0, i64 0), i8* %56)
%58 = load i32, i32* %3
%59 = and i32 %58, 64
%60 = icmp ne i32 %59, 0
%61 = zext i1 %60 to i64
%62 = select i1 %60, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0)
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0), i8* %62)
%64 = load i32, i32* %3
%65 = and i32 %64, 32
%66 = icmp ne i32 %65, 0
%67 = zext i1 %66 to i64
%68 = select i1 %66, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.19, i64 0, i64 0)
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0), i8* %68)
%70 = load i32, i32* %3
%71 = and i32 %70, 16
%72 = icmp ne i32 %71, 0
%73 = zext i1 %72 to i64
%74 = select i1 %72, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.22, i64 0, i64 0)
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.20, i64 0, i64 0), i8* %74)
%76 = load i32, i32* %3
%77 = and i32 %76, 8
%78 = icmp ne i32 %77, 0
%79 = zext i1 %78 to i64
%80 = select i1 %78, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.25, i64 0, i64 0)
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.23, i64 0, i64 0), i8* %80)
%82 = load i32, i32* %3
%83 = and i32 %82, 4
%84 = icmp ne i32 %83, 0
%85 = zext i1 %84 to i64
%86 = select i1 %84, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.28, i64 0, i64 0)
%87 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.26, i64 0, i64 0), i8* %86)
%88 = load i32, i32* %3
%89 = and i32 %88, 2
%90 = icmp ne i32 %89, 0
%91 = zext i1 %90 to i64
%92 = select i1 %90, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.31, i64 0, i64 0)
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.29, i64 0, i64 0), i8* %92)
%94 = load i32, i32* %3
%95 = and i32 %94, 1
%96 = icmp ne i32 %95, 0
%97 = zext i1 %96 to i64
%98 = select i1 %96, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.33, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.34, i64 0, i64 0)
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.32, i64 0, i64 0), i8* %98)
br label %100
100: ; preds = %49, %44
%101 = load i8*, i8** %2
%102 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %101, i32 2, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.36, i64 0, i64 0))
%103 = load i8*, i8** %2
%104 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %103, i32 3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.37, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.36, i64 0, i64 0))
%105 = load i8*, i8** %2
%106 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %105, i32 4, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.38, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.39, i64 0, i64 0))
%107 = load i8*, i8** %2
%108 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %107, i32 5)
store i32 %108, i32* %3
%109 = load i32, i32* %3
%110 = icmp sge i32 %109, 0
br i1 %110, label %111, label %130
111: ; preds = %100
%112 = load i32, i32* %3
%113 = load i32, i32* %3
%114 = and i32 %113, 8
%115 = icmp ne i32 %114, 0
%116 = zext i1 %115 to i64
%117 = select i1 %115, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.41, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.42, i64 0, i64 0)
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.40, i64 0, i64 0), i32 %112, i8* %117)
%119 = load i32, i32* %3
%120 = and i32 %119, 3
switch i32 %120, label %129 [
i32 0, label %121
i32 1, label %123
i32 2, label %125
i32 3, label %127
]
121: ; preds = %111
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.43, i64 0, i64 0))
br label %129
123: ; preds = %111
%124 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.44, i64 0, i64 0))
br label %129
125: ; preds = %111
%126 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.45, i64 0, i64 0))
br label %129
127: ; preds = %111
%128 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.46, i64 0, i64 0))
br label %129
129: ; preds = %111, %127, %125, %123, %121
br label %130
130: ; preds = %129, %100
%131 = load i8*, i8** %2
%132 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %131, i32 6, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.47, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%133 = load i8*, i8** %2
%134 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %133, i32 7, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.49, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%135 = load i8*, i8** %2
%136 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %135, i32 8, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.50, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%137 = load i8*, i8** %2
%138 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %137, i32 7)
store i32 %138, i32* %3
%139 = load i8*, i8** %2
%140 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %139, i32 8)
store i32 %140, i32* %4
%141 = load i32, i32* %3
%142 = icmp sge i32 %141, 0
br i1 %142, label %143, label %152
143: ; preds = %130
%144 = load i32, i32* %4
%145 = icmp sge i32 %144, 0
br i1 %145, label %146, label %152
146: ; preds = %143
%147 = load i32, i32* %3
%148 = shl i32 %147, 8
%149 = load i32, i32* %4
%150 = or i32 %148, %149
%151 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.51, i64 0, i64 0), i32 %150)
br label %152
152: ; preds = %146, %143, %130
%153 = load i8*, i8** %2
%154 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %153, i32 9)
store i32 %154, i32* %3
%155 = load i32, i32* %3
%156 = icmp sge i32 %155, 0
br i1 %156, label %157, label %203
157: ; preds = %152
%158 = load i32, i32* %3
%159 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.52, i64 0, i64 0), i32 %158)
%160 = load i32, i32* %3
%161 = and i32 %160, 128
%162 = icmp ne i32 %161, 0
%163 = zext i1 %162 to i64
%164 = select i1 %162, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.54, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.55, i64 0, i64 0)
%165 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.53, i64 0, i64 0), i8* %164)
%166 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.56, i64 0, i64 0))
%167 = load i32, i32* %3
%168 = and i32 %167, 96
%169 = ashr i32 %168, 5
switch i32 %169, label %178 [
i32 0, label %170
i32 1, label %172
i32 2, label %174
i32 3, label %176
]
170: ; preds = %157
%171 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.57, i64 0, i64 0))
br label %178
172: ; preds = %157
%173 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.58, i64 0, i64 0))
br label %178
174: ; preds = %157
%175 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.59, i64 0, i64 0))
br label %178
176: ; preds = %157
%177 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.60, i64 0, i64 0))
br label %178
178: ; preds = %157, %176, %174, %172, %170
%179 = load i32, i32* %3
%180 = and i32 %179, 16
%181 = icmp ne i32 %180, 0
%182 = zext i1 %181 to i64
%183 = select i1 %181, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.62, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.63, i64 0, i64 0)
%184 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.61, i64 0, i64 0), i8* %183)
%185 = load i32, i32* %3
%186 = and i32 %185, 8
%187 = icmp ne i32 %186, 0
%188 = zext i1 %187 to i64
%189 = select i1 %187, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.65, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.66, i64 0, i64 0)
%190 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.64, i64 0, i64 0), i8* %189)
%191 = load i32, i32* %3
%192 = and i32 %191, 4
%193 = icmp ne i32 %192, 0
%194 = zext i1 %193 to i64
%195 = select i1 %193, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.68, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.69, i64 0, i64 0)
%196 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.67, i64 0, i64 0), i8* %195)
%197 = load i32, i32* %3
%198 = and i32 %197, 2
%199 = icmp ne i32 %198, 0
%200 = zext i1 %199 to i64
%201 = select i1 %199, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.71, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.72, i64 0, i64 0)
%202 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.70, i64 0, i64 0), i8* %201)
br label %203
203: ; preds = %178, %152
%204 = load i8*, i8** %2
%205 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %204, i32 10)
store i32 %205, i32* %3
%206 = load i32, i32* %3
%207 = icmp sge i32 %206, 0
br i1 %207, label %208, label %261
208: ; preds = %203
%209 = load i32, i32* %3
%210 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.73, i64 0, i64 0), i32 %209)
%211 = load i32, i32* %3
%212 = and i32 %211, 128
%213 = icmp ne i32 %212, 0
%214 = zext i1 %213 to i64
%215 = select i1 %213, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.75, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.76, i64 0, i64 0)
%216 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.74, i64 0, i64 0), i8* %215)
%217 = load i32, i32* %3
%218 = and i32 %217, 64
%219 = icmp ne i32 %218, 0
%220 = zext i1 %219 to i64
%221 = select i1 %219, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.78, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.79, i64 0, i64 0)
%222 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.77, i64 0, i64 0), i8* %221)
%223 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.80, i64 0, i64 0))
%224 = load i32, i32* %3
%225 = and i32 %224, 48
%226 = icmp sgt i32 %225, 4
%227 = zext i1 %226 to i32
switch i32 %227, label %236 [
i32 0, label %228
i32 1, label %230
i32 2, label %232
i32 3, label %234
]
228: ; preds = %208
%229 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.81, i64 0, i64 0))
br label %236
230: ; preds = %208
%231 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.82, i64 0, i64 0))
br label %236
232: ; preds = %208
%233 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.83, i64 0, i64 0))
br label %236
234: ; preds = %208
%235 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.84, i64 0, i64 0))
br label %236
236: ; preds = %208, %234, %232, %230, %228
%237 = load i32, i32* %3
%238 = and i32 %237, 8
%239 = icmp ne i32 %238, 0
%240 = zext i1 %239 to i64
%241 = select i1 %239, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.86, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.87, i64 0, i64 0)
%242 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.85, i64 0, i64 0), i8* %241)
%243 = load i32, i32* %3
%244 = and i32 %243, 4
%245 = icmp ne i32 %244, 0
%246 = zext i1 %245 to i64
%247 = select i1 %245, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.89, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.90, i64 0, i64 0)
%248 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.88, i64 0, i64 0), i8* %247)
%249 = load i32, i32* %3
%250 = and i32 %249, 2
%251 = icmp ne i32 %250, 0
%252 = zext i1 %251 to i64
%253 = select i1 %251, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.68, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.69, i64 0, i64 0)
%254 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.91, i64 0, i64 0), i8* %253)
%255 = load i32, i32* %3
%256 = and i32 %255, 1
%257 = icmp ne i32 %256, 0
%258 = zext i1 %257 to i64
%259 = select i1 %257, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.93, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.94, i64 0, i64 0)
%260 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.92, i64 0, i64 0), i8* %259)
br label %261
261: ; preds = %236, %203
%262 = load i8*, i8** %2
%263 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %262, i32 11)
store i32 %263, i32* %3
%264 = load i32, i32* %3
%265 = icmp sge i32 %264, 0
br i1 %265, label %266, label %302
266: ; preds = %261
%267 = load i32, i32* %3
%268 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.95, i64 0, i64 0), i32 %267)
%269 = load i32, i32* %3
%270 = and i32 %269, 128
%271 = icmp ne i32 %270, 0
%272 = zext i1 %271 to i64
%273 = select i1 %271, i32 1, i32 0
%274 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.96, i64 0, i64 0), i32 %273)
%275 = load i32, i32* %3
%276 = and i32 %275, 64
%277 = icmp ne i32 %276, 0
%278 = zext i1 %277 to i64
%279 = select i1 %277, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.98, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.99, i64 0, i64 0)
%280 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.97, i64 0, i64 0), i8* %279)
%281 = load i32, i32* %3
%282 = and i32 %281, 32
%283 = icmp ne i32 %282, 0
%284 = zext i1 %283 to i64
%285 = select i1 %283, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.101, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.102, i64 0, i64 0)
%286 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.100, i64 0, i64 0), i8* %285)
%287 = load i32, i32* %3
%288 = and i32 %287, 16
%289 = icmp ne i32 %288, 0
%290 = zext i1 %289 to i64
%291 = select i1 %289, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.104, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.90, i64 0, i64 0)
%292 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.103, i64 0, i64 0), i8* %291)
%293 = load i32, i32* %3
%294 = and i32 %293, 8
%295 = icmp ne i32 %294, 0
%296 = zext i1 %295 to i64
%297 = select i1 %295, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.106, i64 0, i64 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.107, i64 0, i64 0)
%298 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.105, i64 0, i64 0), i8* %297)
%299 = load i32, i32* %3
%300 = and i32 %299, 7
%301 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.108, i64 0, i64 0), i32 %300)
br label %302
302: ; preds = %266, %261
%303 = load i8*, i8** %2
%304 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %303, i32 12)
store i32 %304, i32* %3
%305 = load i32, i32* %3
%306 = icmp sge i32 %305, 0
br i1 %306, label %307, label %358
307: ; preds = %302
%308 = load i32, i32* %3
%309 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.109, i64 0, i64 0), i32 %308)
%310 = load i32, i32* %3
%311 = and i32 %310, 128
%312 = icmp ne i32 %311, 0
%313 = zext i1 %312 to i64
%314 = select i1 %312, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.111, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.112, i64 0, i64 0)
%315 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.110, i64 0, i64 0), i8* %314)
%316 = load i32, i32* %3
%317 = and i32 %316, 64
%318 = icmp ne i32 %317, 0
%319 = zext i1 %318 to i64
%320 = select i1 %318, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%321 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.113, i64 0, i64 0), i8* %320)
%322 = load i32, i32* %3
%323 = and i32 %322, 32
%324 = icmp ne i32 %323, 0
%325 = zext i1 %324 to i64
%326 = select i1 %324, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%327 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.116, i64 0, i64 0), i8* %326)
%328 = load i32, i32* %3
%329 = and i32 %328, 16
%330 = icmp ne i32 %329, 0
%331 = zext i1 %330 to i64
%332 = select i1 %330, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%333 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.117, i64 0, i64 0), i8* %332)
%334 = load i32, i32* %3
%335 = and i32 %334, 8
%336 = icmp ne i32 %335, 0
%337 = zext i1 %336 to i64
%338 = select i1 %336, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%339 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.118, i64 0, i64 0), i8* %338)
%340 = load i32, i32* %3
%341 = and i32 %340, 4
%342 = icmp ne i32 %341, 0
%343 = zext i1 %342 to i64
%344 = select i1 %342, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%345 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.119, i64 0, i64 0), i8* %344)
%346 = load i32, i32* %3
%347 = and i32 %346, 2
%348 = icmp ne i32 %347, 0
%349 = zext i1 %348 to i64
%350 = select i1 %348, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%351 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.120, i64 0, i64 0), i8* %350)
%352 = load i32, i32* %3
%353 = and i32 %352, 1
%354 = icmp ne i32 %353, 0
%355 = zext i1 %354 to i64
%356 = select i1 %354, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%357 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.121, i64 0, i64 0), i8* %356)
br label %358
358: ; preds = %307, %302
%359 = load i8*, i8** %2
%360 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %359, i32 13)
store i32 %360, i32* %3
%361 = load i32, i32* %3
%362 = icmp sge i32 %361, 0
br i1 %362, label %363, label %414
363: ; preds = %358
%364 = load i32, i32* %3
%365 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.122, i64 0, i64 0), i32 %364)
%366 = load i32, i32* %3
%367 = and i32 %366, 128
%368 = icmp ne i32 %367, 0
%369 = zext i1 %368 to i64
%370 = select i1 %368, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%371 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.123, i64 0, i64 0), i8* %370)
%372 = load i32, i32* %3
%373 = and i32 %372, 64
%374 = icmp ne i32 %373, 0
%375 = zext i1 %374 to i64
%376 = select i1 %374, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%377 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.124, i64 0, i64 0), i8* %376)
%378 = load i32, i32* %3
%379 = and i32 %378, 32
%380 = icmp ne i32 %379, 0
%381 = zext i1 %380 to i64
%382 = select i1 %380, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%383 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.125, i64 0, i64 0), i8* %382)
%384 = load i32, i32* %3
%385 = and i32 %384, 16
%386 = icmp ne i32 %385, 0
%387 = zext i1 %386 to i64
%388 = select i1 %386, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%389 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.126, i64 0, i64 0), i8* %388)
%390 = load i32, i32* %3
%391 = and i32 %390, 8
%392 = icmp ne i32 %391, 0
%393 = zext i1 %392 to i64
%394 = select i1 %392, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%395 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.127, i64 0, i64 0), i8* %394)
%396 = load i32, i32* %3
%397 = and i32 %396, 4
%398 = icmp ne i32 %397, 0
%399 = zext i1 %398 to i64
%400 = select i1 %398, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%401 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.128, i64 0, i64 0), i8* %400)
%402 = load i32, i32* %3
%403 = and i32 %402, 2
%404 = icmp ne i32 %403, 0
%405 = zext i1 %404 to i64
%406 = select i1 %404, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%407 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.129, i64 0, i64 0), i8* %406)
%408 = load i32, i32* %3
%409 = and i32 %408, 1
%410 = icmp ne i32 %409, 0
%411 = zext i1 %410 to i64
%412 = select i1 %410, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%413 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.130, i64 0, i64 0), i8* %412)
br label %414
414: ; preds = %363, %358
%415 = load i8*, i8** %2
%416 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %415, i32 14)
store i32 %416, i32* %3
%417 = load i32, i32* %3
%418 = icmp sge i32 %417, 0
br i1 %418, label %419, label %473
419: ; preds = %414
%420 = load i32, i32* %3
%421 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.131, i64 0, i64 0), i32 %420)
%422 = load i32, i32* %3
%423 = and i32 %422, 128
%424 = icmp ne i32 %423, 0
%425 = zext i1 %424 to i64
%426 = select i1 %424, i32 1, i32 0
%427 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.132, i64 0, i64 0), i32 %426)
%428 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.133, i64 0, i64 0))
%429 = load i32, i32* %3
%430 = and i32 %429, 112
%431 = ashr i32 %430, 4
switch i32 %431, label %448 [
i32 0, label %432
i32 1, label %434
i32 2, label %436
i32 3, label %438
i32 4, label %440
i32 5, label %442
i32 6, label %444
i32 7, label %446
]
432: ; preds = %419
%433 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.134, i64 0, i64 0))
br label %448
434: ; preds = %419
%435 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.135, i64 0, i64 0))
br label %448
436: ; preds = %419
%437 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.136, i64 0, i64 0))
br label %448
438: ; preds = %419
%439 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.137, i64 0, i64 0))
br label %448
440: ; preds = %419
%441 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.138, i64 0, i64 0))
br label %448
442: ; preds = %419
%443 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([130 x i8], [130 x i8]* @.str.139, i64 0, i64 0))
br label %448
444: ; preds = %419
%445 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.140, i64 0, i64 0))
br label %448
446: ; preds = %419
%447 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.141, i64 0, i64 0))
br label %448
448: ; preds = %419, %446, %444, %442, %440, %438, %436, %434, %432
%449 = load i32, i32* %3
%450 = and i32 %449, 8
%451 = icmp ne i32 %450, 0
%452 = zext i1 %451 to i64
%453 = select i1 %451, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%454 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.142, i64 0, i64 0), i8* %453)
%455 = load i32, i32* %3
%456 = and i32 %455, 4
%457 = icmp ne i32 %456, 0
%458 = zext i1 %457 to i64
%459 = select i1 %457, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%460 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.143, i64 0, i64 0), i8* %459)
%461 = load i32, i32* %3
%462 = and i32 %461, 2
%463 = icmp ne i32 %462, 0
%464 = zext i1 %463 to i64
%465 = select i1 %463, i32 1, i32 0
%466 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.144, i64 0, i64 0), i32 %465)
%467 = load i32, i32* %3
%468 = and i32 %467, 1
%469 = icmp ne i32 %468, 0
%470 = zext i1 %469 to i64
%471 = select i1 %469, i32 1, i32 0
%472 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.145, i64 0, i64 0), i32 %471)
br label %473
473: ; preds = %448, %414
%474 = load i8*, i8** %2
%475 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %474, i32 15, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.146, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%476 = load i8*, i8** %2
%477 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %476, i32 16)
store i32 %477, i32* %3
%478 = load i32, i32* %3
%479 = icmp sge i32 %478, 0
br i1 %479, label %480, label %490
480: ; preds = %473
%481 = load i32, i32* %3
%482 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.147, i64 0, i64 0), i32 %481)
%483 = load i32, i32* %3
%484 = and i32 %483, 240
%485 = ashr i32 %484, 4
%486 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.148, i64 0, i64 0), i32 %485)
%487 = load i32, i32* %3
%488 = and i32 %487, 15
%489 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.149, i64 0, i64 0), i32 %488)
br label %490
490: ; preds = %480, %473
%491 = load i8*, i8** %2
%492 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %491, i32 17)
store i32 %492, i32* %3
%493 = load i32, i32* %3
%494 = icmp sge i32 %493, 0
br i1 %494, label %495, label %507
495: ; preds = %490
%496 = load i32, i32* %3
%497 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.150, i64 0, i64 0), i32 %496)
%498 = load i32, i32* %3
%499 = and i32 %498, 128
%500 = icmp ne i32 %499, 0
%501 = zext i1 %500 to i64
%502 = select i1 %500, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%503 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.151, i64 0, i64 0), i8* %502)
%504 = load i32, i32* %3
%505 = and i32 %504, 63
%506 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.152, i64 0, i64 0), i32 %505)
br label %507
507: ; preds = %495, %490
%508 = load i8*, i8** %2
%509 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %508, i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.153, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%510 = load i8*, i8** %2
%511 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %510, i32 19, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.154, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%512 = load i8*, i8** %2
%513 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %512, i32 20, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.155, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%514 = load i8*, i8** %2
%515 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %514, i32 21, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.156, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%516 = load i8*, i8** %2
%517 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %516, i32 22, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.157, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%518 = load i8*, i8** %2
%519 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %518, i32 23, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.158, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%520 = load i8*, i8** %2
%521 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %520, i32 24, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.159, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%522 = load i8*, i8** %2
%523 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %522, i32 25, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.160, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%524 = load i8*, i8** %2
%525 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %524, i32 26, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.161, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%526 = load i8*, i8** %2
%527 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %526, i32 27, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.162, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%528 = load i8*, i8** %2
%529 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %528, i32 28, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.163, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%530 = load i8*, i8** %2
%531 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %530, i32 29, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.164, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%532 = load i8*, i8** %2
%533 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %532, i32 30, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.165, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%534 = load i8*, i8** %2
%535 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %534, i32 31, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.166, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%536 = load i8*, i8** %2
%537 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %536, i32 32, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.167, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%538 = load i8*, i8** %2
%539 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %538, i32 33, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.168, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%540 = load i8*, i8** %2
%541 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %540, i32 34, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.169, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%542 = load i8*, i8** %2
%543 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %542, i32 35, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.170, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%544 = load i8*, i8** %2
%545 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %544, i32 36, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.171, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%546 = load i8*, i8** %2
%547 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %546, i32 37, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.172, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%548 = load i8*, i8** %2
%549 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %548, i32 38, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.173, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%550 = load i8*, i8** %2
%551 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %550, i32 39, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.174, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%552 = load i8*, i8** %2
%553 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %552, i32 40, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.175, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%554 = load i8*, i8** %2
%555 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %554, i32 41, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.176, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%556 = load i8*, i8** %2
%557 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %556, i32 42, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.177, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%558 = load i8*, i8** %2
%559 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %558, i32 43, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.178, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%560 = load i8*, i8** %2
%561 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %560, i32 44, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.179, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%562 = load i8*, i8** %2
%563 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %562, i32 45, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.180, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%564 = load i8*, i8** %2
%565 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %564, i32 46, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.181, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%566 = load i8*, i8** %2
%567 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %566, i32 47, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.182, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%568 = load i8*, i8** %2
%569 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %568, i32 48, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.183, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%570 = load i8*, i8** %2
%571 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %570, i32 49)
store i32 %571, i32* %3
%572 = load i32, i32* %3
%573 = icmp sge i32 %572, 0
br i1 %573, label %574, label %590
574: ; preds = %507
%575 = load i32, i32* %3
%576 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.184, i64 0, i64 0), i32 %575)
%577 = load i32, i32* %3
%578 = and i32 %577, 127
%579 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.185, i64 0, i64 0), i32 %578)
%580 = load i32, i32* %3
%581 = and i32 %580, 128
%582 = icmp ne i32 %581, 0
br i1 %582, label %583, label %586
583: ; preds = %574
%584 = load i8*, i8** %2
%585 = call i32 (i8*, ...) bitcast (i32 (...)* @show_a_values to i32 (i8*, ...)*)(i8* %584)
br label %589
586: ; preds = %574
%587 = load i8*, i8** %2
%588 = call i32 (i8*, ...) bitcast (i32 (...)* @show_b_values to i32 (i8*, ...)*)(i8* %587)
br label %589
589: ; preds = %586, %583
br label %590
590: ; preds = %589, %507
%591 = load i8*, i8** %2
%592 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %591, i32 60, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.186, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%593 = load i8*, i8** %2
%594 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %593, i32 61)
store i32 %594, i32* %3
%595 = load i32, i32* %3
%596 = icmp sge i32 %595, 0
br i1 %596, label %597, label %630
597: ; preds = %590
%598 = load i32, i32* %3
%599 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.187, i64 0, i64 0), i32 %598)
%600 = load i32, i32* %3
%601 = and i32 %600, 16
%602 = icmp ne i32 %601, 0
br i1 %602, label %603, label %605
603: ; preds = %597
%604 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.188, i64 0, i64 0))
br label %605
605: ; preds = %603, %597
%606 = load i32, i32* %3
%607 = and i32 %606, 8
%608 = icmp ne i32 %607, 0
br i1 %608, label %609, label %611
609: ; preds = %605
%610 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.189, i64 0, i64 0))
br label %611
611: ; preds = %609, %605
%612 = load i32, i32* %3
%613 = and i32 %612, 4
%614 = icmp ne i32 %613, 0
br i1 %614, label %615, label %617
615: ; preds = %611
%616 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.190, i64 0, i64 0))
br label %617
617: ; preds = %615, %611
%618 = load i32, i32* %3
%619 = and i32 %618, 2
%620 = icmp ne i32 %619, 0
br i1 %620, label %621, label %623
621: ; preds = %617
%622 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.191, i64 0, i64 0))
br label %623
623: ; preds = %621, %617
%624 = load i32, i32* %3
%625 = and i32 %624, 1
%626 = icmp ne i32 %625, 0
br i1 %626, label %627, label %629
627: ; preds = %623
%628 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.192, i64 0, i64 0))
br label %629
629: ; preds = %627, %623
br label %630
630: ; preds = %629, %590
%631 = load i8*, i8** %2
%632 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %631, i32 62, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.193, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%633 = load i8*, i8** %2
%634 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %633, i32 63)
store i32 %634, i32* %3
%635 = load i32, i32* %3
%636 = icmp sge i32 %635, 0
br i1 %636, label %637, label %690
637: ; preds = %630
%638 = load i32, i32* %3
%639 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.194, i64 0, i64 0), i32 %638)
%640 = load i32, i32* %3
%641 = and i32 %640, 192
%642 = ashr i32 %641, 6
store i32 %642, i32* %7
%643 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.195, i64 0, i64 0))
%644 = load i32, i32* %7
switch i32 %644, label %653 [
i32 0, label %645
i32 1, label %647
i32 2, label %649
i32 3, label %651
]
645: ; preds = %637
%646 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.196, i64 0, i64 0))
br label %653
647: ; preds = %637
%648 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.197, i64 0, i64 0))
br label %653
649: ; preds = %637
%650 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.198, i64 0, i64 0))
br label %653
651: ; preds = %637
%652 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.199, i64 0, i64 0))
br label %653
653: ; preds = %637, %651, %649, %647, %645
%654 = load i32, i32* %3
%655 = and i32 %654, 32
%656 = icmp ne i32 %655, 0
br i1 %656, label %657, label %659
657: ; preds = %653
%658 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.200, i64 0, i64 0))
br label %659
659: ; preds = %657, %653
%660 = load i32, i32* %3
%661 = and i32 %660, 16
%662 = icmp ne i32 %661, 0
br i1 %662, label %663, label %665
663: ; preds = %659
%664 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.201, i64 0, i64 0))
br label %665
665: ; preds = %663, %659
%666 = load i32, i32* %3
%667 = and i32 %666, 8
%668 = icmp ne i32 %667, 0
br i1 %668, label %669, label %671
669: ; preds = %665
%670 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.202, i64 0, i64 0))
br label %671
671: ; preds = %669, %665
%672 = load i32, i32* %3
%673 = and i32 %672, 4
%674 = icmp ne i32 %673, 0
br i1 %674, label %675, label %677
675: ; preds = %671
%676 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.203, i64 0, i64 0))
br label %677
677: ; preds = %675, %671
%678 = load i32, i32* %3
%679 = and i32 %678, 2
%680 = icmp ne i32 %679, 0
br i1 %680, label %681, label %683
681: ; preds = %677
%682 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.204, i64 0, i64 0))
br label %683
683: ; preds = %681, %677
%684 = load i32, i32* %3
%685 = and i32 %684, 1
%686 = icmp ne i32 %685, 0
br i1 %686, label %687, label %689
687: ; preds = %683
%688 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.205, i64 0, i64 0))
br label %689
689: ; preds = %687, %683
br label %690
690: ; preds = %689, %630
ret void
}

LLVM IR (-O2):
@.str.1 = [39 x i8] c"CR0 (Part/Version Code): %d - Part=%d \00"
@.str.2 = [18 x i8] c"(HFA3861B series)\00"
@.str.3 = [17 x i8] c"(HFA3863 series)\00"
@.str.4 = [18 x i8] c"(HFA3871 series?)\00"
@.str.5 = [10 x i8] c"(unknown)\00"
@.str.6 = [13 x i8] c" Version=%d \00"
@.str.7 = [15 x i8] c"(3863 Version)\00"
@.str.8 = [16 x i8] c"(3861B Version)\00"
@.str.9 = [16 x i8] c"(3871 Version?)\00"
@.str.11 = [43 x i8] c"CR1 (I/O Polarity): %d (normal setting 0)\0A\00"
@.str.12 = [44 x i8] c" Phase of RX carrier rotation sense: %s\0A\00"
@.str.13 = [36 x i8] c"Inverted rotation (CW), Invert Q in\00"
@.str.14 = [22 x i8] c"normal rotation (CCW)\00"
@.str.15 = [44 x i8] c" Phase of TX carrier rotation sense: %s\0A\00"
@.str.16 = [37 x i8] c"Inverted rotation (CW), Invert Q out\00"
@.str.17 = [46 x i8] c" Phase of TX output clock (TXCLK) pin: %s\0A\00"
@.str.18 = [15 x i8] c"Inverted TXCLK\00"
@.str.19 = [19 x i8] c"NON-Inverted TXCLK\00"
@.str.20 = [51 x i8] c" Active level of the Transmit Ready output: %s\0A\00"
@.str.21 = [16 x i8] c"TX_RDY Active 0\00"
@.str.22 = [16 x i8] c"TX_RDY Active 1\00"
@.str.23 = [51 x i8] c" Active level of the transmit enable input: %s\0A\00"
@.str.24 = [15 x i8] c"TX_PE Active 0\00"
@.str.25 = [15 x i8] c"TX_PE Active 1\00"
@.str.26 = [61 x i8] c" Active level of the Clear Channel Assessment output: %s\0A\00"
@.str.27 = [13 x i8] c"CCA Active 1\00"
@.str.28 = [13 x i8] c"CCA Active 0\00"
@.str.29 = [43 x i8] c" Active level of the MD_RDY output: %s\0A\00"
@.str.30 = [16 x i8] c"MD_RDY Active 0\00"
@.str.31 = [16 x i8] c"MD_RDY Active 1\00"
@.str.32 = [36 x i8] c" Phase of the RX_CLK output: %s\0A\00"
@.str.33 = [11 x i8] c"Invert Clk\00"
@.str.34 = [17 x i8] c"Non-Inverted Clk\00"
@.str.35 = [13 x i8] c"I Cover Code\00"
@.str.36 = [16 x i8] c" (nominally 72)\00"
@.str.37 = [13 x i8] c"Q Cover Code\00"
@.str.38 = [19 x i8] c"TX Preamble Length\00"
@.str.39 = [20 x i8] c" (IEEE 802.11: 128)\00"
@.str.40 = [67 x i8] c"CR5 (TX Signal Field): %d\0A Preamble mode: %s\0A TX data rate: \00"
@.str.41 = [31 x i8] c"Short preamble and header mode\00"
@.str.42 = [7 x i8] c"Normal\00"
@.str.47 = [17 x i8] c"TX Service Field\00"
@.str.48 = [1 x i8] zeroinitializer
@.str.49 = [22 x i8] c"TX Length Field, High\00"
@.str.50 = [21 x i8] c"TX Length Field, Low\00"
@.str.51 = [30 x i8] c" TX Length Field: %d usec\0A\00"
@.str.52 = [24 x i8] c"CR9 (TX Configure): %d\0A\00"
@.str.53 = [35 x i8] c" CCA sample mode time: %s usec\0A\00"
@.str.54 = [5 x i8] c"15.8\00"
@.str.55 = [5 x i8] c"19.9\00"
@.str.56 = [28 x i8] c" CCA mode: CCA is based \00"
@.str.61 = [23 x i8] c" TX test modes: %s\0A\00"
@.str.62 = [34 x i8] c"all chips set to 1 for CW carrier\00"
@.str.63 = [46 x i8] c"Alternating bits for carrier suppression test\00"
@.str.64 = [30 x i8] c" Enable TX test modes: %s\0A\00"
@.str.65 = [29 x i8] c"Invoke tests described above\00"
@.str.66 = [17 x i8] c"normal operation\00"
@.str.67 = [42 x i8] c" Antenna choice for TX: Set AntSel %s\0A\00"
@.str.68 = [5 x i8] c"high\00"
@.str.69 = [4 x i8] c"low\00"
@.str.70 = [43 x i8] c" TX Antenna Mode: set AntSel pin to %s\0A\00"
@.str.71 = [49 x i8] c"antenna for which last valid header CRC occurred\00"
@.str.72 = [22 x i8] c"value in choice above\00"
@.str.73 = [25 x i8] c"CR10 (RX Configure): %d\0A\00"
@.str.74 = [34 x i8] c" Initial CS2 estimate: Use %s\0A\00"
@.str.75 = [33 x i8] c"SQ1 from Barker correlator peaks\00"
@.str.76 = [19 x i8] c"dot product result\00"
@.str.77 = [48 x i8] c" CIR estimate/Dot product clock control: %s\0A\00"
@.str.78 = [21 x i8] c"only on after detect\00"
@.str.79 = [22 x i8] c"on during acquisition\00"
@.str.80 = [26 x i8] c" SFD Time-out values: \00"
@.str.85 = [30 x i8] c" MD_RDY control: After %s\0A\00"
@.str.86 = [4 x i8] c"SFD\00"
@.str.87 = [6 x i8] c"CRC16\00"
@.str.88 = [78 x i8] c" Force Frequency Offset Estimating in all antenna diversity timelines: %s\0A\00"
@.str.89 = [8 x i8] c"enabled\00"
@.str.90 = [9 x i8] c"disabled\00"
@.str.91 = [86 x i8] c" Antenna choice for RX when single antenna acquisition is selected: AntSel pin %s\0A\00"
@.str.92 = [25 x i8] c" Antenna acquire: %s\0A\00"
@.str.93 = [15 x i8] c"single antenna\00"
@.str.94 = [39 x i8] c"dual antenna for diversity acquisition\00"
@.str.95 = [28 x i8] c"CR11 (RX/TX Configure): %d\0A\00"
@.str.96 = [53 x i8] c" Continuous internal RX 22 and 44 MHZ clocks: %d\0A\00"
@.str.97 = [28 x i8] c" A/D input coupling: %s\0A\00"
@.str.98 = [36 x i8] c"AC (external bias network required)\00"
@.str.99 = [3 x i8] c"DC\00"
@.str.100 = [39 x i8] c" TX filter / CMF weight select: %s\0A\00"
@.str.101 = [6 x i8] c"Japan\00"
@.str.102 = [3 x i8] c"US\00"
@.str.103 = [39 x i8] c" Ping Pong Differential Encode: %s\0A\00"
@.str.104 = [7 x i8] c"normal\00"
@.str.105 = [18 x i8] c" CCA mode: %s\0A\00"
@.str.106 = [53 x i8] c"Sampled CCA; CCA will update once per slot (20 usec)\00"
@.str.107 = [72 x i8] c"normal CCA; CCA will immediately respond to changes in ED, CS1, and SQ1\00"
@.str.108 = [41 x i8] c" Precursor value in CIR estimate: %d\0A\00"
@.str.109 = [29 x i8] c"CR12 (A/D Test Modes 1): %d\0A\00"
@.str.110 = [46 x i8] c" All DAC and A/D clock source control: %s\0A\00"
@.str.111 = [18 x i8] c"clock via SDI pin\00"
@.str.112 = [23 x i8] c"normal internal clocks\00"
@.str.113 = [22 x i8] c" TX DAC clock: %s\0A\00"
@.str.114 = [8 x i8] c"disable\00"
@.str.115 = [7 x i8] c"enable\00"
@.str.116 = [22 x i8] c" RX DAC clock: %s\0A\00"
@.str.117 = [21 x i8] c" I DAC clock: %s\0A\00"
@.str.118 = [21 x i8] c" Q DAC clock: %s\0A\00"
@.str.119 = [22 x i8] c" RF A/D clock: %s\0A\00"
@.str.120 = [21 x i8] c" I A/D clock: %s\0A\00"
@.str.121 = [21 x i8] c" Q A/D clock: %s\0A\00"
@.str.122 = [29 x i8] c"CR13 (A/D Test Modes 2): %d\0A\00"
@.str.123 = [17 x i8] c" Standby: %s\0A\00"
@.str.124 = [18 x i8] c" SLEEP TX: %s\0A\00"
@.str.125 = [18 x i8] c" SLEEP RX: %s\0A\00"
@.str.126 = [18 x i8] c" SLEEP IQ: %s\0A\00"
@.str.127 = [29 x i8] c" Analog TX Shut_down: %s\0A\00"
@.str.128 = [29 x i8] c" Analog RX Shut_down: %s\0A\00"
@.str.129 = [24 x i8] c" Analog Standby: %s\0A\00"
@.str.130 = [77 x i8] c" Manual control of mixed signal power down signals (other CR13 bits): %s\0A\00"
@.str.131 = [29 x i8] c"CR14 (A/D Test Modes 3): %d\0A\00"
@.str.132 = [74 x i8] c" DFS - select straight binary output of I/Q and RF A/D converters: %d\0A\00"
@.str.133 = [28 x i8] c" I/Q DAC input control: \00"
@.str.142 = [44 x i8] c" Enable test bus into RX and TX DAC: %s\0A\00"
@.str.143 = [35 x i8] c" Enable RF A/D into RX DAC: %s\0A\00"
@.str.144 = [16 x i8] c" VRbit1: %d\0A\00"
@.str.145 = [16 x i8] c" VRbit0: %d\0A\00"
@.str.146 = [13 x i8] c"AGC GainClip\00"
@.str.147 = [27 x i8] c"CR16 (AGC Sat Cpints): %d\0A\00"
@.str.148 = [28 x i8] c" AGC mid Sat counts: %d\0A\00"
@.str.149 = [28 x i8] c" AGC low Sat counts: %d\0A\00"
@.str.150 = [31 x i8] c"CR17 (AGC Update Control): %d\0A\00"
@.str.151 = [38 x i8] c" AGC update during CIR injest: %s\0A\00"
@.str.152 = [39 x i8] c" AGC timer count: %d (must be >31)\0A\00"
@.str.153 = [10 x i8] c"AGC HiSat\00"
@.str.154 = [36 x i8] c"AGC LockinLevel/CW detect threshold\00"
@.str.155 = [25 x i8] c"AGC LockWindow, pos side\00"
@.str.156 = [14 x i8] c"AGC Threshold\00"
@.str.157 = [34 x i8] c"AGC Lookup Table Addr and Control\00"
@.str.158 = [22 x i8] c"AGC Lookup Table Data\00"
@.str.159 = [13 x i8] c"AGC LoopGain\00"
@.str.160 = [10 x i8] c"AGC RX_IF\00"
@.str.161 = [15 x i8] c"AGC Test Modes\00"
@.str.162 = [20 x i8] c"AGC RX_RF Threshold\00"
@.str.163 = [17 x i8] c"AGC Low SatAtten\00"
@.str.164 = [30 x i8] c"AGC LockWindow, negative side\00"
@.str.165 = [16 x i8] c"Carrier Sense 2\00"
@.str.166 = [24 x i8] c"Manual TX Power Control\00"
@.str.167 = [13 x i8] c"Test Modes 1\00"
@.str.168 = [13 x i8] c"Test Modes 2\00"
@.str.169 = [17 x i8] c"Test Bus Address\00"
@.str.170 = [24 x i8] c"CMF Coefficient Control\00"
@.str.171 = [37 x i8] c"Scrambler Seed, Long Preamble Option\00"
@.str.172 = [38 x i8] c"Scrambler Seed, Short Preamble Option\00"
@.str.173 = [13 x i8] c"ED Threshold\00"
@.str.174 = [19 x i8] c"CMF Gain Threshold\00"
@.str.175 = [31 x i8] c"Threshold for antenna decision\00"
@.str.176 = [40 x i8] c"Preamble tracking loop lead coefficient\00"
@.str.177 = [39 x i8] c"Preamble tracking loop lag coefficient\00"
@.str.178 = [38 x i8] c"Header tracking loop lead coefficient\00"
@.str.179 = [37 x i8] c"Header tracking loop lag coefficient\00"
@.str.180 = [36 x i8] c"Data tracking loop lead coefficient\00"
@.str.181 = [35 x i8] c"Data tracking loop lag coefficient\00"
@.str.182 = [20 x i8] c"RF attenuator value\00"
@.str.183 = [40 x i8] c"ED and SQ1 control and SQ1 scale factor\00"
@.str.184 = [66 x i8] c"CR49 (Read only register mux control for registers 50 to 63): %d\0A\00"
@.str.185 = [27 x i8] c" CW RSSI threshold: %d\0A\00"
@.str.186 = [10 x i8] c"RX_IF AGC\00"
@.str.187 = [26 x i8] c"CR61 (RX Status Reg): %d\0A\00"
@.str.193 = [5 x i8] c"RSSI\00"
@.str.194 = [26 x i8] c"CR63 (RX Status Reg): %d\0A\00"
@.str.195 = [25 x i8] c" Signal field value: \00"
@str = [52 x i8] c"\0ABaseband proccessor (BBP) Configuration Registers\0A\00"
@str.206 = [5 x i8] c"11 M\00"
@str.207 = [13 x i8] c" not used\00"
@str.208 = [69 x i8] c" Antenna selected by received when last valid header CRC occurred\00"
@str.209 = [17 x i8] c" Valid CRC 16\00"
@str.210 = [29 x i8] c" Valid signal field found\00"
@str.211 = [28 x i8] c" Short preamble detected\00"
@str.212 = [14 x i8] c" SFD found\00"
@str.213 = [6 x i8] c"5.5 M\00"
@str.214 = [4 x i8] c"2 M\00"
@str.215 = [4 x i8] c"1 M\00"
@str.216 = [48 x i8] c" RX_RF_AGC - status of AGC output to RF chip\00"
@str.217 = [48 x i8] c" hwStopBHit (rails hit, AGC updates stopped)\00"
@str.218 = [56 x i8] c" AGC_lock (AGC is within limits of lock window CR20)\00"
@str.219 = [65 x i8] c" TX PWR det Register semaphore (CR58 updated since last read)\00"
@str.220 = [37 x i8] c" ED, energy detect past threshold\00"
@str.221 = [35 x i8] c"Barker Correlator/low rate samples\00"
@str.222 = [46 x i8] c"Test Bus pins (5:0) when configured as inputs\00"
@str.223 = [129 x i8] c"CMF weights - upper 6 bits of all 16 CMF weights circularly shifted with full scale negative sync pulse interleaved between them\00"
@str.224 = [69 x i8] c"Bigger picker output - upper 6 bits of FWT_I winner and FWT_Q winner\00"
@str.225 = [10 x i8] c"I/Q A/D's\00"
@str.226 = [52 x i8] c"E/L integrator - upper 6 bits (Q) and AGC error (I)\00"
@str.227 = [15 x i8] c"down converter\00"
@str.228 = [19 x i8] c"normal (TX filter)\00"
@str.229 = [8 x i8] c"64 usec\00"
@str.230 = [8 x i8] c"56 usec\00"
@str.231 = [28 x i8] c"on (ED OR (CS1 OR SQ1/CS2))\00"
@str.232 = [29 x i8] c"on (ED AND (CS1 OR SQ1/CS2))\00"
@str.233 = [20 x i8] c"on (CS1 OR SQ1/CS2)\00"
@str.234 = [11 x i8] c"only on ED\00"
@str.235 = [36 x i8] c"11 = CCK - 8 chip sequence (11Mbps)\00"
@str.236 = [37 x i8] c"10 = CCK - 8 chip sequence (5.5Mbps)\00"
@str.237 = [38 x i8] c"01 = DQPSK - 11 chip sequence (2Mbps)\00"
@str.238 = [38 x i8] c"00 = DBPSK - 11 chip sequence (1Mbps)\00"
@reltable.diag_show_bbp = [7 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.2 to i64), i64 ptrtoint ([7 x i32]* @reltable.diag_show_bbp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.5 to i64), i64 ptrtoint ([7 x i32]* @reltable.diag_show_bbp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.3 to i64), i64 ptrtoint ([7 x i32]* @reltable.diag_show_bbp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.5 to i64), i64 ptrtoint ([7 x i32]* @reltable.diag_show_bbp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.5 to i64), i64 ptrtoint ([7 x i32]* @reltable.diag_show_bbp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.5 to i64), i64 ptrtoint ([7 x i32]* @reltable.diag_show_bbp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.4 to i64), i64 ptrtoint ([7 x i32]* @reltable.diag_show_bbp to i64)) to i32)]
@reltable.diag_show_bbp.244 = [5 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.7 to i64), i64 ptrtoint ([5 x i32]* @reltable.diag_show_bbp.244 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.5 to i64), i64 ptrtoint ([5 x i32]* @reltable.diag_show_bbp.244 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.5 to i64), i64 ptrtoint ([5 x i32]* @reltable.diag_show_bbp.244 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.8 to i64), i64 ptrtoint ([5 x i32]* @reltable.diag_show_bbp.244 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.9 to i64), i64 ptrtoint ([5 x i32]* @reltable.diag_show_bbp.244 to i64)) to i32)]
@reltable.diag_show_bbp.245 = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([38 x i8]* @str.238 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.245 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([38 x i8]* @str.237 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.245 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([37 x i8]* @str.236 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.245 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([36 x i8]* @str.235 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.245 to i64)) to i32)]
@reltable.diag_show_bbp.246 = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @str.234 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.246 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @str.233 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.246 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([29 x i8]* @str.232 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.246 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([28 x i8]* @str.231 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.246 to i64)) to i32)]
@reltable.diag_show_bbp.247 = [8 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([19 x i8]* @str.228 to i64), i64 ptrtoint ([8 x i32]* @reltable.diag_show_bbp.247 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @str.227 to i64), i64 ptrtoint ([8 x i32]* @reltable.diag_show_bbp.247 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([52 x i8]* @str.226 to i64), i64 ptrtoint ([8 x i32]* @reltable.diag_show_bbp.247 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @str.225 to i64), i64 ptrtoint ([8 x i32]* @reltable.diag_show_bbp.247 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([69 x i8]* @str.224 to i64), i64 ptrtoint ([8 x i32]* @reltable.diag_show_bbp.247 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([129 x i8]* @str.223 to i64), i64 ptrtoint ([8 x i32]* @reltable.diag_show_bbp.247 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([46 x i8]* @str.222 to i64), i64 ptrtoint ([8 x i32]* @reltable.diag_show_bbp.247 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([35 x i8]* @str.221 to i64), i64 ptrtoint ([8 x i32]* @reltable.diag_show_bbp.247 to i64)) to i32)]
@reltable.diag_show_bbp.248 = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @str.215 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.248 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @str.214 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.248 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @str.213 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.248 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @str.206 to i64), i64 ptrtoint ([4 x i32]* @reltable.diag_show_bbp.248 to i64)) to i32)]
define void @diag_show_bbp(i8* %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 0)
%4 = icmp sgt i32 %3, -1
br i1 %4, label %5, label %28
5: ; preds = %1
%6 = lshr i32 %3, 4
%7 = and i32 %3, 15
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i32 %3, i32 %6)
%9 = add nsw i32 %6, -1
%10 = icmp ult i32 %9, 7
br i1 %10, label %11, label %15
11: ; preds = %5
%12 = sext i32 %9 to i64
%13 = shl i64 %12, 2
%14 = call i8* @llvm.load.relative.i64(i8* bitcast ([7 x i32]* @reltable.diag_show_bbp to i8*), i64 %13)
br label %15
15: ; preds = %5, %11
%16 = phi i8* [ %14, %11 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), %5 ]
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %16)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32 %7)
%19 = icmp ult i32 %7, 5
br i1 %19, label %20, label %24
20: ; preds = %15
%21 = zext i32 %7 to i64
%22 = shl i64 %21, 2
%23 = call i8* @llvm.load.relative.i64(i8* bitcast ([5 x i32]* @reltable.diag_show_bbp.244 to i8*), i64 %22)
br label %24
24: ; preds = %15, %20
%25 = phi i8* [ %23, %20 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), %15 ]
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %25)
%27 = tail call i32 @putchar(i32 10)
br label %28
28: ; preds = %24, %1
%29 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 1)
%30 = icmp sgt i32 %29, -1
br i1 %30, label %31, label %61
31: ; preds = %28
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.11, i64 0, i64 0), i32 %29)
%33 = insertelement <8 x i32> poison, i32 %29, i64 0
%34 = shufflevector <8 x i32> %33, <8 x i32> poison, <8 x i32> zeroinitializer
%35 = and <8 x i32> %34, <i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128>
%36 = icmp eq <8 x i32> %35, zeroinitializer
%37 = extractelement <8 x i1> %36, i64 7
%38 = select i1 %37, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.13, i64 0, i64 0)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.12, i64 0, i64 0), i8* %38)
%40 = extractelement <8 x i1> %36, i64 6
%41 = select i1 %40, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.16, i64 0, i64 0)
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0), i8* %41)
%43 = extractelement <8 x i1> %36, i64 5
%44 = select i1 %43, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.18, i64 0, i64 0)
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0), i8* %44)
%46 = extractelement <8 x i1> %36, i64 4
%47 = select i1 %46, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.21, i64 0, i64 0)
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.20, i64 0, i64 0), i8* %47)
%49 = extractelement <8 x i1> %36, i64 3
%50 = select i1 %49, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.24, i64 0, i64 0)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.23, i64 0, i64 0), i8* %50)
%52 = extractelement <8 x i1> %36, i64 2
%53 = select i1 %52, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.28, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0)
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str.26, i64 0, i64 0), i8* %53)
%55 = extractelement <8 x i1> %36, i64 1
%56 = select i1 %55, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.31, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.30, i64 0, i64 0)
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.29, i64 0, i64 0), i8* %56)
%58 = extractelement <8 x i1> %36, i64 0
%59 = select i1 %58, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.34, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.33, i64 0, i64 0)
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str.32, i64 0, i64 0), i8* %59)
br label %61
61: ; preds = %31, %28
%62 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 2, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.36, i64 0, i64 0))
%63 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.37, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.36, i64 0, i64 0))
%64 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 4, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.38, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.39, i64 0, i64 0))
%65 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 5)
%66 = icmp sgt i32 %65, -1
br i1 %66, label %67, label %77
67: ; preds = %61
%68 = and i32 %65, 8
%69 = icmp eq i32 %68, 0
%70 = select i1 %69, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.42, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.41, i64 0, i64 0)
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @.str.40, i64 0, i64 0), i32 %65, i8* %70)
%72 = and i32 %65, 3
%73 = zext i32 %72 to i64
%74 = shl i64 %73, 2
%75 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.diag_show_bbp.245 to i8*), i64 %74)
%76 = tail call i32 @puts(i8* dereferenceable(1) %75)
br label %77
77: ; preds = %67, %61
%78 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 6, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.47, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%79 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 7, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.49, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%80 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 8, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.50, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%81 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 7)
%82 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 8)
%83 = icmp sgt i32 %81, -1
%84 = icmp sgt i32 %82, -1
%85 = select i1 %83, i1 %84, i1 false
br i1 %85, label %86, label %90
86: ; preds = %77
%87 = shl i32 %81, 8
%88 = or i32 %87, %82
%89 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.51, i64 0, i64 0), i32 %88)
br label %90
90: ; preds = %86, %77
%91 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 9)
%92 = icmp sgt i32 %91, -1
br i1 %92, label %93, label %122
93: ; preds = %90
%94 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.52, i64 0, i64 0), i32 %91)
%95 = and i32 %91, 128
%96 = icmp eq i32 %95, 0
%97 = select i1 %96, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.55, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.54, i64 0, i64 0)
%98 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.53, i64 0, i64 0), i8* %97)
%99 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.56, i64 0, i64 0))
%100 = lshr i32 %91, 5
%101 = and i32 %100, 3
%102 = zext i32 %101 to i64
%103 = shl i64 %102, 2
%104 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.diag_show_bbp.246 to i8*), i64 %103)
%105 = tail call i32 @puts(i8* dereferenceable(1) %104)
%106 = and i32 %91, 16
%107 = icmp eq i32 %106, 0
%108 = select i1 %107, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.63, i64 0, i64 0), i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.62, i64 0, i64 0)
%109 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.61, i64 0, i64 0), i8* %108)
%110 = and i32 %91, 8
%111 = icmp eq i32 %110, 0
%112 = select i1 %111, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.66, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.65, i64 0, i64 0)
%113 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.64, i64 0, i64 0), i8* %112)
%114 = and i32 %91, 4
%115 = icmp eq i32 %114, 0
%116 = select i1 %115, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.69, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.68, i64 0, i64 0)
%117 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.67, i64 0, i64 0), i8* %116)
%118 = and i32 %91, 2
%119 = icmp eq i32 %118, 0
%120 = select i1 %119, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.72, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.71, i64 0, i64 0)
%121 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.70, i64 0, i64 0), i8* %120)
br label %122
122: ; preds = %93, %90
%123 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 10)
%124 = icmp sgt i32 %123, -1
br i1 %124, label %125, label %156
125: ; preds = %122
%126 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.73, i64 0, i64 0), i32 %123)
%127 = and i32 %123, 128
%128 = icmp eq i32 %127, 0
%129 = select i1 %128, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.76, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.75, i64 0, i64 0)
%130 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.74, i64 0, i64 0), i8* %129)
%131 = and i32 %123, 64
%132 = icmp eq i32 %131, 0
%133 = select i1 %132, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.79, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.78, i64 0, i64 0)
%134 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.77, i64 0, i64 0), i8* %133)
%135 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.80, i64 0, i64 0))
%136 = and i32 %123, 48
%137 = icmp eq i32 %136, 0
%138 = select i1 %137, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @str.230, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @str.229, i64 0, i64 0)
%139 = tail call i32 @puts(i8* dereferenceable(1) %138)
%140 = and i32 %123, 8
%141 = icmp eq i32 %140, 0
%142 = select i1 %141, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.87, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.86, i64 0, i64 0)
%143 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.85, i64 0, i64 0), i8* %142)
%144 = and i32 %123, 4
%145 = icmp eq i32 %144, 0
%146 = select i1 %145, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.90, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.89, i64 0, i64 0)
%147 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @.str.88, i64 0, i64 0), i8* %146)
%148 = and i32 %123, 2
%149 = icmp eq i32 %148, 0
%150 = select i1 %149, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.69, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.68, i64 0, i64 0)
%151 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @.str.91, i64 0, i64 0), i8* %150)
%152 = and i32 %123, 1
%153 = icmp eq i32 %152, 0
%154 = select i1 %153, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.94, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.93, i64 0, i64 0)
%155 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.92, i64 0, i64 0), i8* %154)
br label %156
156: ; preds = %125, %122
%157 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 11)
%158 = icmp sgt i32 %157, -1
br i1 %158, label %159, label %182
159: ; preds = %156
%160 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.95, i64 0, i64 0), i32 %157)
%161 = lshr i32 %157, 7
%162 = and i32 %161, 1
%163 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.96, i64 0, i64 0), i32 %162)
%164 = and i32 %157, 64
%165 = icmp eq i32 %164, 0
%166 = select i1 %165, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.99, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.98, i64 0, i64 0)
%167 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.97, i64 0, i64 0), i8* %166)
%168 = and i32 %157, 32
%169 = icmp eq i32 %168, 0
%170 = select i1 %169, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.102, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.101, i64 0, i64 0)
%171 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.100, i64 0, i64 0), i8* %170)
%172 = and i32 %157, 16
%173 = icmp eq i32 %172, 0
%174 = select i1 %173, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.90, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.104, i64 0, i64 0)
%175 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.103, i64 0, i64 0), i8* %174)
%176 = and i32 %157, 8
%177 = icmp eq i32 %176, 0
%178 = select i1 %177, i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.107, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.106, i64 0, i64 0)
%179 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.105, i64 0, i64 0), i8* %178)
%180 = and i32 %157, 7
%181 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.108, i64 0, i64 0), i32 %180)
br label %182
182: ; preds = %159, %156
%183 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 12)
%184 = icmp sgt i32 %183, -1
br i1 %184, label %185, label %215
185: ; preds = %182
%186 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.109, i64 0, i64 0), i32 %183)
%187 = insertelement <8 x i32> poison, i32 %183, i64 0
%188 = shufflevector <8 x i32> %187, <8 x i32> poison, <8 x i32> zeroinitializer
%189 = and <8 x i32> %188, <i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128>
%190 = icmp eq <8 x i32> %189, zeroinitializer
%191 = extractelement <8 x i1> %190, i64 7
%192 = select i1 %191, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.112, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.111, i64 0, i64 0)
%193 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.110, i64 0, i64 0), i8* %192)
%194 = extractelement <8 x i1> %190, i64 6
%195 = select i1 %194, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%196 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.113, i64 0, i64 0), i8* %195)
%197 = extractelement <8 x i1> %190, i64 5
%198 = select i1 %197, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%199 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.116, i64 0, i64 0), i8* %198)
%200 = extractelement <8 x i1> %190, i64 4
%201 = select i1 %200, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%202 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.117, i64 0, i64 0), i8* %201)
%203 = extractelement <8 x i1> %190, i64 3
%204 = select i1 %203, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%205 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.118, i64 0, i64 0), i8* %204)
%206 = extractelement <8 x i1> %190, i64 2
%207 = select i1 %206, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%208 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.119, i64 0, i64 0), i8* %207)
%209 = extractelement <8 x i1> %190, i64 1
%210 = select i1 %209, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%211 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.120, i64 0, i64 0), i8* %210)
%212 = extractelement <8 x i1> %190, i64 0
%213 = select i1 %212, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0)
%214 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.121, i64 0, i64 0), i8* %213)
br label %215
215: ; preds = %185, %182
%216 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 13)
%217 = icmp sgt i32 %216, -1
br i1 %217, label %218, label %248
218: ; preds = %215
%219 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.122, i64 0, i64 0), i32 %216)
%220 = insertelement <8 x i32> poison, i32 %216, i64 0
%221 = shufflevector <8 x i32> %220, <8 x i32> poison, <8 x i32> zeroinitializer
%222 = and <8 x i32> %221, <i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128>
%223 = icmp eq <8 x i32> %222, zeroinitializer
%224 = extractelement <8 x i1> %223, i64 7
%225 = select i1 %224, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%226 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.123, i64 0, i64 0), i8* %225)
%227 = extractelement <8 x i1> %223, i64 6
%228 = select i1 %227, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%229 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.124, i64 0, i64 0), i8* %228)
%230 = extractelement <8 x i1> %223, i64 5
%231 = select i1 %230, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%232 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.125, i64 0, i64 0), i8* %231)
%233 = extractelement <8 x i1> %223, i64 4
%234 = select i1 %233, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%235 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.126, i64 0, i64 0), i8* %234)
%236 = extractelement <8 x i1> %223, i64 3
%237 = select i1 %236, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%238 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.127, i64 0, i64 0), i8* %237)
%239 = extractelement <8 x i1> %223, i64 2
%240 = select i1 %239, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%241 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.128, i64 0, i64 0), i8* %240)
%242 = extractelement <8 x i1> %223, i64 1
%243 = select i1 %242, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%244 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.129, i64 0, i64 0), i8* %243)
%245 = extractelement <8 x i1> %223, i64 0
%246 = select i1 %245, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%247 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @.str.130, i64 0, i64 0), i8* %246)
br label %248
248: ; preds = %218, %215
%249 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 14)
%250 = icmp sgt i32 %249, -1
br i1 %250, label %251, label %276
251: ; preds = %248
%252 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.131, i64 0, i64 0), i32 %249)
%253 = lshr i32 %249, 7
%254 = and i32 %253, 1
%255 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @.str.132, i64 0, i64 0), i32 %254)
%256 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.133, i64 0, i64 0))
%257 = lshr i32 %249, 4
%258 = and i32 %257, 7
%259 = zext i32 %258 to i64
%260 = shl i64 %259, 2
%261 = call i8* @llvm.load.relative.i64(i8* bitcast ([8 x i32]* @reltable.diag_show_bbp.247 to i8*), i64 %260)
%262 = tail call i32 @puts(i8* dereferenceable(1) %261)
%263 = and i32 %249, 8
%264 = icmp eq i32 %263, 0
%265 = select i1 %264, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%266 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.142, i64 0, i64 0), i8* %265)
%267 = and i32 %249, 4
%268 = icmp eq i32 %267, 0
%269 = select i1 %268, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%270 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.143, i64 0, i64 0), i8* %269)
%271 = lshr i32 %249, 1
%272 = and i32 %271, 1
%273 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.144, i64 0, i64 0), i32 %272)
%274 = and i32 %249, 1
%275 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.145, i64 0, i64 0), i32 %274)
br label %276
276: ; preds = %251, %248
%277 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 15, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.146, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%278 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 16)
%279 = icmp sgt i32 %278, -1
br i1 %279, label %280, label %287
280: ; preds = %276
%281 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.147, i64 0, i64 0), i32 %278)
%282 = lshr i32 %278, 4
%283 = and i32 %282, 15
%284 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.148, i64 0, i64 0), i32 %283)
%285 = and i32 %278, 15
%286 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.149, i64 0, i64 0), i32 %285)
br label %287
287: ; preds = %280, %276
%288 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 17)
%289 = icmp sgt i32 %288, -1
br i1 %289, label %290, label %298
290: ; preds = %287
%291 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.150, i64 0, i64 0), i32 %288)
%292 = and i32 %288, 128
%293 = icmp eq i32 %292, 0
%294 = select i1 %293, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.114, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.115, i64 0, i64 0)
%295 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.151, i64 0, i64 0), i8* %294)
%296 = and i32 %288, 63
%297 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.152, i64 0, i64 0), i32 %296)
br label %298
298: ; preds = %290, %287
%299 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.153, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%300 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 19, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.154, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%301 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 20, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.155, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%302 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 21, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.156, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%303 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 22, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.157, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%304 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 23, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.158, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%305 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 24, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.159, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%306 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 25, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.160, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%307 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 26, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.161, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%308 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 27, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.162, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%309 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 28, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.163, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%310 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 29, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.164, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%311 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 30, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.165, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%312 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 31, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.166, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%313 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 32, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.167, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%314 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 33, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.168, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%315 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 34, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.169, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%316 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 35, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.170, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%317 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 36, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.171, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%318 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 37, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.172, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%319 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 38, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.173, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%320 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 39, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.174, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%321 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 40, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.175, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%322 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 41, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.176, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%323 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 42, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.177, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%324 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 43, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.178, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%325 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 44, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.179, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%326 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 45, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.180, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%327 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 46, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.181, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%328 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 47, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.182, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%329 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 48, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.183, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%330 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 49)
%331 = icmp sgt i32 %330, -1
br i1 %331, label %332, label %342
332: ; preds = %298
%333 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.184, i64 0, i64 0), i32 %330)
%334 = and i32 %330, 127
%335 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.185, i64 0, i64 0), i32 %334)
%336 = and i32 %330, 128
%337 = icmp eq i32 %336, 0
br i1 %337, label %340, label %338
338: ; preds = %332
%339 = tail call i32 (i8*, ...) bitcast (i32 (...)* @show_a_values to i32 (i8*, ...)*)(i8* %0)
br label %342
340: ; preds = %332
%341 = tail call i32 (i8*, ...) bitcast (i32 (...)* @show_b_values to i32 (i8*, ...)*)(i8* %0)
br label %342
342: ; preds = %338, %340, %298
%343 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 60, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.186, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%344 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 61)
%345 = icmp sgt i32 %344, -1
br i1 %345, label %346, label %372
346: ; preds = %342
%347 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.187, i64 0, i64 0), i32 %344)
%348 = and i32 %344, 16
%349 = icmp eq i32 %348, 0
br i1 %349, label %352, label %350
350: ; preds = %346
%351 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.220, i64 0, i64 0))
br label %352
352: ; preds = %350, %346
%353 = and i32 %344, 8
%354 = icmp eq i32 %353, 0
br i1 %354, label %357, label %355
355: ; preds = %352
%356 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.219, i64 0, i64 0))
br label %357
357: ; preds = %355, %352
%358 = and i32 %344, 4
%359 = icmp eq i32 %358, 0
br i1 %359, label %362, label %360
360: ; preds = %357
%361 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.218, i64 0, i64 0))
br label %362
362: ; preds = %360, %357
%363 = and i32 %344, 2
%364 = icmp eq i32 %363, 0
br i1 %364, label %367, label %365
365: ; preds = %362
%366 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.217, i64 0, i64 0))
br label %367
367: ; preds = %365, %362
%368 = and i32 %344, 1
%369 = icmp eq i32 %368, 0
br i1 %369, label %372, label %370
370: ; preds = %367
%371 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.216, i64 0, i64 0))
br label %372
372: ; preds = %367, %370, %342
%373 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @show_bbp_cr to i32 (i8*, i32, i8*, i8*, ...)*)(i8* %0, i32 62, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.193, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.48, i64 0, i64 0))
%374 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hostap_ioctl_readmif to i32 (i8*, i32, ...)*)(i8* %0, i32 63)
%375 = icmp sgt i32 %374, -1
br i1 %375, label %376, label %414
376: ; preds = %372
%377 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.194, i64 0, i64 0), i32 %374)
%378 = lshr i32 %374, 6
%379 = and i32 %378, 3
%380 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.195, i64 0, i64 0))
%381 = zext i32 %379 to i64
%382 = shl i64 %381, 2
%383 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.diag_show_bbp.248 to i8*), i64 %382)
%384 = tail call i32 @puts(i8* dereferenceable(1) %383)
%385 = and i32 %374, 32
%386 = icmp eq i32 %385, 0
br i1 %386, label %389, label %387
387: ; preds = %376
%388 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.212, i64 0, i64 0))
br label %389
389: ; preds = %387, %376
%390 = and i32 %374, 16
%391 = icmp eq i32 %390, 0
br i1 %391, label %394, label %392
392: ; preds = %389
%393 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.211, i64 0, i64 0))
br label %394
394: ; preds = %392, %389
%395 = and i32 %374, 8
%396 = icmp eq i32 %395, 0
br i1 %396, label %399, label %397
397: ; preds = %394
%398 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.210, i64 0, i64 0))
br label %399
399: ; preds = %397, %394
%400 = and i32 %374, 4
%401 = icmp eq i32 %400, 0
br i1 %401, label %404, label %402
402: ; preds = %399
%403 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.209, i64 0, i64 0))
br label %404
404: ; preds = %402, %399
%405 = and i32 %374, 2
%406 = icmp eq i32 %405, 0
br i1 %406, label %409, label %407
407: ; preds = %404
%408 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.208, i64 0, i64 0))
br label %409
409: ; preds = %407, %404
%410 = and i32 %374, 1
%411 = icmp eq i32 %410, 0
br i1 %411, label %414, label %412
412: ; preds = %409
%413 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.207, i64 0, i64 0))
br label %414
414: ; preds = %409, %412, %372
ret void
}