#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ SSL;
typedef int /*<<< orphan*/ BIO;

/* Variables and functions */
int /*<<< orphan*/ BIO_flush(int /*<<< orphan*/ *);
int /*<<< orphan*/ BIO_printf(int /*<<< orphan*/ *, char *, ...);
#define DTLS1_BAD_VER 134
#define DTLS1_VERSION 133
#define SSL2_VERSION 132
#define SSL3_VERSION 131
#define TLS1_1_VERSION 130
#define TLS1_2_VERSION 129
#define TLS1_VERSION 128
void msg_cb(int write_p, int version, int content_type, const void *buf,
            size_t len, SSL *ssl, void *arg) {
  BIO *bio = arg;
  const char *str_write_p, *str_version, *str_content_type = "",
                                         *str_details1 = "", *str_details2 = "";
  str_write_p = write_p ? ">>>" : "<<<";
  switch (version) {
  case SSL2_VERSION:
    str_version = "SSL 2.0";
    break;
  case SSL3_VERSION:
    str_version = "SSL 3.0 ";
    break;
  case TLS1_VERSION:
    str_version = "TLS 1.0 ";
    break;
  case TLS1_1_VERSION:
    str_version = "TLS 1.1 ";
    break;
  case TLS1_2_VERSION:
    str_version = "TLS 1.2 ";
    break;
  case DTLS1_VERSION:
    str_version = "DTLS 1.0 ";
    break;
  case DTLS1_BAD_VER:
    str_version = "DTLS 1.0 (bad) ";
    break;
  default:
    str_version = "???";
  }
  if (version == SSL2_VERSION) {
    str_details1 = "???";
    if (len > 0) {
      switch (((const unsigned char *)buf)[0]) {
      case 0:
        str_details1 = ", ERROR:";
        str_details2 = " ???";
        if (len >= 3) {
          unsigned err = (((const unsigned char *)buf)[1] << 8) +
                         ((const unsigned char *)buf)[2];
          switch (err) {
          case 0x0001:
            str_details2 = " NO-CIPHER-ERROR";
            break;
          case 0x0002:
            str_details2 = " NO-CERTIFICATE-ERROR";
            break;
          case 0x0004:
            str_details2 = " BAD-CERTIFICATE-ERROR";
            break;
          case 0x0006:
            str_details2 = " UNSUPPORTED-CERTIFICATE-TYPE-ERROR";
            break;
          }
        }
        break;
      case 1:
        str_details1 = ", CLIENT-HELLO";
        break;
      case 2:
        str_details1 = ", CLIENT-MASTER-KEY";
        break;
      case 3:
        str_details1 = ", CLIENT-FINISHED";
        break;
      case 4:
        str_details1 = ", SERVER-HELLO";
        break;
      case 5:
        str_details1 = ", SERVER-VERIFY";
        break;
      case 6:
        str_details1 = ", SERVER-FINISHED";
        break;
      case 7:
        str_details1 = ", REQUEST-CERTIFICATE";
        break;
      case 8:
        str_details1 = ", CLIENT-CERTIFICATE";
        break;
      }
    }
  }
  if (version == SSL3_VERSION || version == TLS1_VERSION ||
      version == TLS1_1_VERSION || version == TLS1_2_VERSION ||
      version == DTLS1_VERSION || version == DTLS1_BAD_VER) {
    switch (content_type) {
    case 20:
      str_content_type = "ChangeCipherSpec";
      break;
    case 21:
      str_content_type = "Alert";
      break;
    case 22:
      str_content_type = "Handshake";
      break;
    }
    if (content_type == 21) {
      str_details1 = ", ???";
      if (len == 2) {
        switch (((const unsigned char *)buf)[0]) {
        case 1:
          str_details1 = ", warning";
          break;
        case 2:
          str_details1 = ", fatal";
          break;
        }
        str_details2 = " ???";
        switch (((const unsigned char *)buf)[1]) {
        case 0:
          str_details2 = " close_notify";
          break;
        case 10:
          str_details2 = " unexpected_message";
          break;
        case 20:
          str_details2 = " bad_record_mac";
          break;
        case 21:
          str_details2 = " decryption_failed";
          break;
        case 22:
          str_details2 = " record_overflow";
          break;
        case 30:
          str_details2 = " decompression_failure";
          break;
        case 40:
          str_details2 = " handshake_failure";
          break;
        case 42:
          str_details2 = " bad_certificate";
          break;
        case 43:
          str_details2 = " unsupported_certificate";
          break;
        case 44:
          str_details2 = " certificate_revoked";
          break;
        case 45:
          str_details2 = " certificate_expired";
          break;
        case 46:
          str_details2 = " certificate_unknown";
          break;
        case 47:
          str_details2 = " illegal_parameter";
          break;
        case 48:
          str_details2 = " unknown_ca";
          break;
        case 49:
          str_details2 = " access_denied";
          break;
        case 50:
          str_details2 = " decode_error";
          break;
        case 51:
          str_details2 = " decrypt_error";
          break;
        case 60:
          str_details2 = " export_restriction";
          break;
        case 70:
          str_details2 = " protocol_version";
          break;
        case 71:
          str_details2 = " insufficient_security";
          break;
        case 80:
          str_details2 = " internal_error";
          break;
        case 90:
          str_details2 = " user_canceled";
          break;
        case 100:
          str_details2 = " no_renegotiation";
          break;
        case 110:
          str_details2 = " unsupported_extension";
          break;
        case 111:
          str_details2 = " certificate_unobtainable";
          break;
        case 112:
          str_details2 = " unrecognized_name";
          break;
        case 113:
          str_details2 = " bad_certificate_status_response";
          break;
        case 114:
          str_details2 = " bad_certificate_hash_value";
          break;
        case 115:
          str_details2 = " unknown_psk_identity";
          break;
        }
      }
    }
    if (content_type == 22) {
      str_details1 = "???";
      if (len > 0) {
        switch (((const unsigned char *)buf)[0]) {
        case 0:
          str_details1 = ", HelloRequest";
          break;
        case 1:
          str_details1 = ", ClientHello";
          break;
        case 2:
          str_details1 = ", ServerHello";
          break;
        case 3:
          str_details1 = ", HelloVerifyRequest";
          break;
        case 11:
          str_details1 = ", Certificate";
          break;
        case 12:
          str_details1 = ", ServerKeyExchange";
          break;
        case 13:
          str_details1 = ", CertificateRequest";
          break;
        case 14:
          str_details1 = ", ServerHelloDone";
          break;
        case 15:
          str_details1 = ", CertificateVerify";
          break;
        case 16:
          str_details1 = ", ClientKeyExchange";
          break;
        case 20:
          str_details1 = ", Finished";
          break;
        }
      }
    }
    if (content_type == 24) {
      str_details1 = ", Heartbeat";
      if (len > 0) {
        switch (((const unsigned char *)buf)[0]) {
        case 1:
          str_details1 = ", HeartbeatRequest";
          break;
        case 2:
          str_details1 = ", HeartbeatResponse";
          break;
        }
      }
    }
  }
  BIO_printf(bio, "%s %s%s [length %04lx]%s%s\n", str_write_p, str_version,
             str_content_type, (unsigned long)len, str_details1, str_details2);
  if (len > 0) {
    size_t num, i;
    BIO_printf(bio, "   ");
    num = len;
    for (i = 0; i < num; i++) {
      if (i % 16 == 0 && i > 0)
        BIO_printf(bio, "\n   ");
      BIO_printf(bio, " %02x", ((const unsigned char *)buf)[i]);
    }
    if (i < len)
      BIO_printf(bio, " ...");
    BIO_printf(bio, "\n");
  }
  (void)BIO_flush(bio);
}


x86 assembly (clang, -O0):
<msg_cb>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
mov    0x10(%rbp),%rax
mov    %rax,-0x30(%rbp)
lea    0x15e6(%rip),%rax
mov    %rax,-0x48(%rbp)
mov    %rax,-0x50(%rbp)
mov    %rax,-0x58(%rbp)
mov    -0x4(%rbp),%eax
test   %eax,%eax
lea    0x1111(%rip),%rcx
lea    0x110e(%rip),%rax
cmovne %rcx,%rax
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%eax
add    $0xffffff80,%eax
mov    %eax,%ecx
mov    %rcx,-0x78(%rbp)
sub    $0x6,%eax
ja     1213 <msg_cb+0xf3>
mov    -0x78(%rbp),%rax
lea    0xe66(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x10da(%rip),%rax
mov    %rax,-0x40(%rbp)
jmp    121e <msg_cb+0xfe>
lea    0x10d2(%rip),%rax
mov    %rax,-0x40(%rbp)
jmp    121e <msg_cb+0xfe>
lea    0x10de(%rip),%rax
mov    %rax,-0x40(%rbp)
jmp    121e <msg_cb+0xfe>
lea    0x10bb(%rip),%rax
mov    %rax,-0x40(%rbp)
jmp    121e <msg_cb+0xfe>
lea    0x10b4(%rip),%rax
mov    %rax,-0x40(%rbp)
jmp    121e <msg_cb+0xfe>
lea    0x10ad(%rip),%rax
mov    %rax,-0x40(%rbp)
jmp    121e <msg_cb+0xfe>
lea    0x10a7(%rip),%rax
mov    %rax,-0x40(%rbp)
jmp    121e <msg_cb+0xfe>
lea    0x11c6(%rip),%rax
mov    %rax,-0x40(%rbp)
cmpl   $0x84,-0x8(%rbp)
jne    1394 <msg_cb+0x274>
lea    0x11ae(%rip),%rax
mov    %rax,-0x50(%rbp)
cmpq   $0x0,-0x20(%rbp)
jbe    138f <msg_cb+0x26f>
mov    -0x18(%rbp),%rax
movzbl (%rax),%eax
mov    %rax,-0x80(%rbp)
sub    $0x8,%rax
ja     138a <msg_cb+0x26a>
mov    -0x80(%rbp),%rax
lea    0xdbb(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x1050(%rip),%rax
mov    %rax,-0x50(%rbp)
lea    0x1163(%rip),%rax
mov    %rax,-0x58(%rbp)
cmpq   $0x3,-0x20(%rbp)
jb     130a <msg_cb+0x1ea>
mov    -0x18(%rbp),%rax
movzwl 0x1(%rax),%eax
shl    $0x10,%eax
bswap  %eax
mov    %eax,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x88(%rbp)
sub    $0x5,%eax
ja     1305 <msg_cb+0x1e5>
mov    -0x88(%rbp),%rax
lea    0xd7f(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xff9(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    1305 <msg_cb+0x1e5>
lea    0xffa(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    1305 <msg_cb+0x1e5>
lea    0x1000(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    1305 <msg_cb+0x1e5>
lea    0x1007(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    130a <msg_cb+0x1ea>
jmp    138a <msg_cb+0x26a>
lea    0x1016(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    138a <msg_cb+0x26a>
lea    0x1015(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    138a <msg_cb+0x26a>
lea    0x1019(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    138a <msg_cb+0x26a>
lea    0x101b(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    138a <msg_cb+0x26a>
lea    0x101a(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    138a <msg_cb+0x26a>
lea    0x101a(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    138a <msg_cb+0x26a>
lea    0x101c(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    138a <msg_cb+0x26a>
lea    0x1022(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    138f <msg_cb+0x26f>
jmp    1394 <msg_cb+0x274>
cmpl   $0x83,-0x8(%rbp)
je     13e2 <msg_cb+0x2c2>
cmpl   $0x80,-0x8(%rbp)
je     13e2 <msg_cb+0x2c2>
cmpl   $0x82,-0x8(%rbp)
je     13e2 <msg_cb+0x2c2>
cmpl   $0x81,-0x8(%rbp)
je     13e2 <msg_cb+0x2c2>
cmpl   $0x85,-0x8(%rbp)
je     13e2 <msg_cb+0x2c2>
cmpl   $0x86,-0x8(%rbp)
jne    1843 <msg_cb+0x723>
mov    -0xc(%rbp),%eax
mov    %eax,-0x8c(%rbp)
sub    $0x14,%eax
je     1421 <msg_cb+0x301>
jmp    13f9 <msg_cb+0x2d9>
mov    -0x8c(%rbp),%eax
sub    $0x15,%eax
je     1431 <msg_cb+0x311>
jmp    140d <msg_cb+0x2ed>
mov    -0x8c(%rbp),%eax
sub    $0x16,%eax
je     1441 <msg_cb+0x321>
jmp    144c <msg_cb+0x32c>
lea    0xf95(%rip),%rax
mov    %rax,-0x48(%rbp)
jmp    144c <msg_cb+0x32c>
lea    0xf96(%rip),%rax
mov    %rax,-0x48(%rbp)
jmp    144c <msg_cb+0x32c>
lea    0xf8c(%rip),%rax
mov    %rax,-0x48(%rbp)
cmpl   $0x15,-0xc(%rbp)
jne    16c6 <msg_cb+0x5a6>
lea    0xf81(%rip),%rax
mov    %rax,-0x50(%rbp)
cmpq   $0x2,-0x20(%rbp)
jne    16c1 <msg_cb+0x5a1>
mov    -0x18(%rbp),%rax
movzbl (%rax),%eax
mov    %eax,-0x90(%rbp)
sub    $0x1,%eax
je     149b <msg_cb+0x37b>
jmp    1487 <msg_cb+0x367>
mov    -0x90(%rbp),%eax
sub    $0x2,%eax
je     14ab <msg_cb+0x38b>
jmp    14b6 <msg_cb+0x396>
lea    0xf42(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    14b6 <msg_cb+0x396>
lea    0xf3c(%rip),%rax
mov    %rax,-0x50(%rbp)
lea    0xf22(%rip),%rax
mov    %rax,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movzbl 0x1(%rax),%eax
mov    %rax,-0x98(%rbp)
sub    $0x73,%rax
ja     16bc <msg_cb+0x59c>
mov    -0x98(%rbp),%rax
lea    0xb70(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xefe(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xefc(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf00(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf00(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf03(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf04(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf0b(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf0e(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf0f(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf18(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf1d(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf22(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf27(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf2a(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf26(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf25(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf23(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf22(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf26(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf28(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf2f(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf2f(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf2e(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf30(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf37(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf41(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf44(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf55(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16bc <msg_cb+0x59c>
lea    0xf61(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    16c1 <msg_cb+0x5a1>
jmp    16c6 <msg_cb+0x5a6>
cmpl   $0x16,-0xc(%rbp)
jne    17ca <msg_cb+0x6aa>
lea    0xd09(%rip),%rax
mov    %rax,-0x50(%rbp)
cmpq   $0x0,-0x20(%rbp)
jbe    17c5 <msg_cb+0x6a5>
mov    -0x18(%rbp),%rax
movzbl (%rax),%eax
mov    %rax,-0xa0(%rbp)
sub    $0x14,%rax
ja     17c0 <msg_cb+0x6a0>
mov    -0xa0(%rbp),%rax
lea    0xb1c(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf13(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    17c0 <msg_cb+0x6a0>
lea    0xf12(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    17c0 <msg_cb+0x6a0>
lea    0xf10(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    17c0 <msg_cb+0x6a0>
lea    0xf0e(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    17c0 <msg_cb+0x6a0>
lea    0xf13(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    17c0 <msg_cb+0x6a0>
lea    0xf11(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    17c0 <msg_cb+0x6a0>
lea    0xf15(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    17c0 <msg_cb+0x6a0>
lea    0xf1a(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    17c0 <msg_cb+0x6a0>
lea    0xf1c(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    17c0 <msg_cb+0x6a0>
lea    0xf20(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    17c0 <msg_cb+0x6a0>
lea    0xf24(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    17c5 <msg_cb+0x6a5>
jmp    17ca <msg_cb+0x6aa>
cmpl   $0x18,-0xc(%rbp)
jne    183e <msg_cb+0x71e>
lea    0xf10(%rip),%rax
mov    %rax,-0x50(%rbp)
cmpq   $0x0,-0x20(%rbp)
jbe    1839 <msg_cb+0x719>
mov    -0x18(%rbp),%rax
movzbl (%rax),%eax
mov    %eax,-0xa4(%rbp)
sub    $0x1,%eax
je     1819 <msg_cb+0x6f9>
jmp    1805 <msg_cb+0x6e5>
mov    -0xa4(%rbp),%eax
sub    $0x2,%eax
je     1829 <msg_cb+0x709>
jmp    1834 <msg_cb+0x714>
lea    0xed7(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    1834 <msg_cb+0x714>
lea    0xeda(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    1839 <msg_cb+0x719>
jmp    183e <msg_cb+0x71e>
jmp    1843 <msg_cb+0x723>
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rdx
mov    -0x40(%rbp),%rcx
mov    -0x48(%rbp),%r8
mov    -0x20(%rbp),%r9
mov    -0x50(%rbp),%r10
mov    -0x58(%rbp),%rax
lea    0xeb8(%rip),%rsi
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1030 <BIO_printf@plt>
cmpq   $0x0,-0x20(%rbp)
jbe    1941 <msg_cb+0x821>
mov    -0x30(%rbp),%rdi
lea    0xeaf(%rip),%rsi
mov    $0x0,%al
call   1030 <BIO_printf@plt>
mov    -0x20(%rbp),%rax
mov    %rax,-0x68(%rbp)
movq   $0x0,-0x70(%rbp)
mov    -0x70(%rbp),%rax
cmp    -0x68(%rbp),%rax
jae    190f <msg_cb+0x7ef>
mov    -0x70(%rbp),%rax
and    $0xf,%rax
cmp    $0x0,%rax
jne    18e0 <msg_cb+0x7c0>
cmpq   $0x0,-0x70(%rbp)
jbe    18e0 <msg_cb+0x7c0>
mov    -0x30(%rbp),%rdi
lea    0xe61(%rip),%rsi
mov    $0x0,%al
call   1030 <BIO_printf@plt>
mov    -0x30(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    -0x70(%rbp),%rcx
movzbl (%rax,%rcx,1),%edx
lea    0xe48(%rip),%rsi
mov    $0x0,%al
call   1030 <BIO_printf@plt>
mov    -0x70(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x70(%rbp)
jmp    18a3 <msg_cb+0x783>
mov    -0x70(%rbp),%rax
cmp    -0x20(%rbp),%rax
jae    192f <msg_cb+0x80f>
mov    -0x30(%rbp),%rdi
lea    0xe1d(%rip),%rsi
mov    $0x0,%al
call   1030 <BIO_printf@plt>
mov    -0x30(%rbp),%rdi
lea    0xdfe(%rip),%rsi
mov    $0x0,%al
call   1030 <BIO_printf@plt>
mov    -0x30(%rbp),%rdi
call   1040 <BIO_flush@plt>
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<msg_cb>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %r8,%r14
mov    %rcx,%r15
mov    %edx,%eax
test   %edi,%edi
lea    0x1158(%rip),%rcx
lea    0x114d(%rip),%rdx
cmove  %rcx,%rdx
mov    0x40(%rsp),%r12
lea    0x15fa(%rip),%rbp
add    $0xffffff80,%esi
cmp    $0x6,%esi
ja     117e <msg_cb+0x5e>
lea    0x113e(%rip),%rcx
lea    0xe97(%rip),%rdi
movslq (%rdi,%rsi,4),%rsi
add    %rdi,%rsi
jmp    *%rsi
lea    0x1143(%rip),%rcx
jmp    122c <msg_cb+0x10c>
lea    0x126f(%rip),%rcx
jmp    12b9 <msg_cb+0x199>
lea    0x1121(%rip),%rcx
jmp    122c <msg_cb+0x10c>
lea    0x110c(%rip),%rcx
jmp    122c <msg_cb+0x10c>
test   %r14,%r14
je     13b8 <msg_cb+0x298>
movzbl (%r15),%eax
lea    0x1597(%rip),%r8
lea    0x10db(%rip),%rcx
cmp    $0x8,%rax
ja     149e <msg_cb+0x37e>
lea    0x1086(%rip),%rsi
movslq (%rsi,%rax,4),%rax
add    %rsi,%rax
jmp    *%rax
lea    0x1215(%rip),%r10
lea    0x10f0(%rip),%rbx
cmp    $0x3,%r14
jb     1613 <msg_cb+0x4f3>
movzwl 0x1(%r15),%eax
rol    $0x8,%ax
add    $0xffffffff,%eax
cmp    $0x6,%ax
jae    1613 <msg_cb+0x4f3>
movswq %ax,%rax
lea    0x1068(%rip),%rsi
movslq (%rsi,%rax,4),%r10
add    %rsi,%r10
jmp    1613 <msg_cb+0x4f3>
lea    0x1098(%rip),%rcx
jmp    122c <msg_cb+0x10c>
lea    0x1099(%rip),%rcx
add    $0xffffffec,%eax
cmp    $0x4,%eax
ja     12b9 <msg_cb+0x199>
lea    0x1192(%rip),%r8
lea    0xdd6(%rip),%rsi
movslq (%rsi,%rax,4),%rax
add    %rsi,%rax
mov    %rbp,%rbx
jmp    *%rax
cmp    $0x2,%r14
jne    1357 <msg_cb+0x237>
mov    (%r15),%al
cmp    $0x2,%al
lea    0x119a(%rip),%rsi
lea    0x1183(%rip),%rdi
cmove  %rsi,%rdi
cmp    $0x1,%al
lea    0x117c(%rip),%rbx
cmovne %rdi,%rbx
movzbl 0x1(%r15),%eax
lea    0x1156(%rip),%r8
lea    0x1160(%rip),%r10
cmp    $0x73,%rax
ja     1613 <msg_cb+0x4f3>
lea    0xde0(%rip),%rsi
movslq (%rsi,%rax,4),%rax
add    %rsi,%rax
jmp    *%rax
lea    0x1156(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
mov    %rbp,%rbx
mov    %rbp,%r8
jmp    1365 <msg_cb+0x245>
test   %r14,%r14
je     138d <msg_cb+0x26d>
movzbl (%r15),%eax
lea    0x1110(%rip),%r8
lea    0x146e(%rip),%r10
lea    0x110e(%rip),%rbx
cmp    $0x14,%rax
ja     1613 <msg_cb+0x4f3>
lea    0xd39(%rip),%rsi
movslq (%rsi,%rax,4),%rax
add    %rsi,%rax
jmp    *%rax
lea    0x133c(%rip),%rbx
jmp    1613 <msg_cb+0x4f3>
test   %r14,%r14
je     1396 <msg_cb+0x276>
mov    (%r15),%al
cmp    $0x2,%al
lea    0x13fd(%rip),%rsi
lea    0x13d7(%rip),%rdi
cmove  %rsi,%rdi
cmp    $0x1,%al
lea    0x13d6(%rip),%rbp
cmovne %rdi,%rbp
lea    0x140d(%rip),%r8
lea    0x13eb(%rip),%rsi
mov    %r12,%rdi
mov    %r14,%r9
xor    %eax,%eax
push   %r8
push   %rbp
jmp    1625 <msg_cb+0x505>
lea    0x1084(%rip),%r8
lea    0x108d(%rip),%rbx
lea    0x13c6(%rip),%rsi
mov    %r12,%rdi
mov    %r14,%r9
xor    %eax,%eax
push   %rbp
push   %rbx
call   1030 <BIO_printf@plt>
add    $0x10,%rsp
test   %r14,%r14
jne    162e <msg_cb+0x50e>
jmp    16aa <msg_cb+0x58a>
lea    0x1054(%rip),%r8
jmp    13c6 <msg_cb+0x2a6>
lea    0x13b0(%rip),%r8
lea    0x135b(%rip),%rbp
lea    0x1387(%rip),%rsi
mov    %r12,%rdi
xor    %r9d,%r9d
xor    %eax,%eax
push   %r8
push   %rbp
jmp    13e5 <msg_cb+0x2c5>
lea    0x138e(%rip),%r8
lea    0xed2(%rip),%rcx
lea    0x1380(%rip),%rbp
lea    0x1020(%rip),%rbx
lea    0x1357(%rip),%rsi
mov    %r12,%rdi
mov    %r14,%r9
xor    %eax,%eax
push   %rbp
push   %rbx
call   1030 <BIO_printf@plt>
add    $0x10,%rsp
jmp    16aa <msg_cb+0x58a>
lea    0xf46(%rip),%rbx
mov    %r8,%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf46(%rip),%rbx
mov    %r8,%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf4b(%rip),%rbx
mov    %r8,%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf4e(%rip),%rbx
mov    %r8,%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf70(%rip),%rbx
mov    %r8,%r10
jmp    1613 <msg_cb+0x4f3>
lea    0x120d(%rip),%rbx
jmp    1613 <msg_cb+0x4f3>
lea    0x120f(%rip),%rbx
jmp    1613 <msg_cb+0x4f3>
lea    0x1211(%rip),%rbx
jmp    1613 <msg_cb+0x4f3>
lea    0x121a(%rip),%rbx
jmp    1613 <msg_cb+0x4f3>
lea    0x121c(%rip),%rbx
jmp    1613 <msg_cb+0x4f3>
lea    0x1224(%rip),%rbx
jmp    1613 <msg_cb+0x4f3>
lea    0x122d(%rip),%rbx
jmp    1613 <msg_cb+0x4f3>
lea    0x125b(%rip),%rbx
jmp    1613 <msg_cb+0x4f3>
lea    0xf4f(%rip),%rbx
mov    %r8,%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xed0(%rip),%rbx
mov    %r8,%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xed1(%rip),%rbx
mov    %r8,%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xeea(%rip),%rbx
mov    %r8,%r10
jmp    1613 <msg_cb+0x4f3>
lea    0x11eb(%rip),%rbx
jmp    1613 <msg_cb+0x4f3>
lea    0x11f3(%rip),%rbx
jmp    1613 <msg_cb+0x4f3>
lea    0xf1f(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf27(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf2b(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf32(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf37(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf42(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf49(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf4e(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf5b(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf64(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf6d(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf76(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf7d(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf7d(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf83(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf88(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf8e(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xf99(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xfa2(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xfb0(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xfb7(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xfbd(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xfc6(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xfd4(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xfe5(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0xfef(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0x1007(%rip),%r10
jmp    1613 <msg_cb+0x4f3>
lea    0x101a(%rip),%r10
lea    0x1118(%rip),%rsi
mov    %r12,%rdi
mov    %r14,%r9
xor    %eax,%eax
push   %r10
push   %rbx
call   1030 <BIO_printf@plt>
add    $0x10,%rsp
lea    0x111a(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <BIO_printf@plt>
lea    0x1108(%rip),%r13
lea    0x1106(%rip),%rbx
xor    %ebp,%ebp
jmp    167b <msg_cb+0x55b>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movzbl (%r15,%rbp,1),%edx
mov    %r12,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <BIO_printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r14
je     1699 <msg_cb+0x579>
test   %rbp,%rbp
je     1660 <msg_cb+0x540>
mov    %ebp,%eax
and    $0xf,%eax
test   %rax,%rax
jne    1660 <msg_cb+0x540>
mov    %r12,%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   1030 <BIO_printf@plt>
jmp    1660 <msg_cb+0x540>
lea    0x10ac(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <BIO_printf@plt>
mov    %r12,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <BIO_flush@plt>

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [4 x i8] c">>>\00"
@.str.2 = [4 x i8] c"<<<\00"
@.str.3 = [8 x i8] c"SSL 2.0\00"
@.str.4 = [9 x i8] c"SSL 3.0 \00"
@.str.5 = [9 x i8] c"TLS 1.0 \00"
@.str.6 = [9 x i8] c"TLS 1.1 \00"
@.str.7 = [9 x i8] c"TLS 1.2 \00"
@.str.8 = [10 x i8] c"DTLS 1.0 \00"
@.str.9 = [16 x i8] c"DTLS 1.0 (bad) \00"
@.str.10 = [4 x i8] c"???\00"
@.str.11 = [9 x i8] c", ERROR:\00"
@.str.12 = [5 x i8] c" ???\00"
@.str.13 = [17 x i8] c" NO-CIPHER-ERROR\00"
@.str.14 = [22 x i8] c" NO-CERTIFICATE-ERROR\00"
@.str.15 = [23 x i8] c" BAD-CERTIFICATE-ERROR\00"
@.str.16 = [36 x i8] c" UNSUPPORTED-CERTIFICATE-TYPE-ERROR\00"
@.str.17 = [15 x i8] c", CLIENT-HELLO\00"
@.str.18 = [20 x i8] c", CLIENT-MASTER-KEY\00"
@.str.19 = [18 x i8] c", CLIENT-FINISHED\00"
@.str.20 = [15 x i8] c", SERVER-HELLO\00"
@.str.21 = [16 x i8] c", SERVER-VERIFY\00"
@.str.22 = [18 x i8] c", SERVER-FINISHED\00"
@.str.23 = [22 x i8] c", REQUEST-CERTIFICATE\00"
@.str.24 = [21 x i8] c", CLIENT-CERTIFICATE\00"
@.str.25 = [17 x i8] c"ChangeCipherSpec\00"
@.str.26 = [6 x i8] c"Alert\00"
@.str.27 = [10 x i8] c"Handshake\00"
@.str.28 = [6 x i8] c", ???\00"
@.str.29 = [10 x i8] c", warning\00"
@.str.30 = [8 x i8] c", fatal\00"
@.str.31 = [14 x i8] c" close_notify\00"
@.str.32 = [20 x i8] c" unexpected_message\00"
@.str.33 = [16 x i8] c" bad_record_mac\00"
@.str.34 = [19 x i8] c" decryption_failed\00"
@.str.35 = [17 x i8] c" record_overflow\00"
@.str.36 = [23 x i8] c" decompression_failure\00"
@.str.37 = [19 x i8] c" handshake_failure\00"
@.str.38 = [17 x i8] c" bad_certificate\00"
@.str.39 = [25 x i8] c" unsupported_certificate\00"
@.str.40 = [21 x i8] c" certificate_revoked\00"
@.str.41 = [21 x i8] c" certificate_expired\00"
@.str.42 = [21 x i8] c" certificate_unknown\00"
@.str.43 = [19 x i8] c" illegal_parameter\00"
@.str.44 = [12 x i8] c" unknown_ca\00"
@.str.45 = [15 x i8] c" access_denied\00"
@.str.46 = [14 x i8] c" decode_error\00"
@.str.47 = [15 x i8] c" decrypt_error\00"
@.str.48 = [20 x i8] c" export_restriction\00"
@.str.49 = [18 x i8] c" protocol_version\00"
@.str.50 = [23 x i8] c" insufficient_security\00"
@.str.51 = [16 x i8] c" internal_error\00"
@.str.52 = [15 x i8] c" user_canceled\00"
@.str.53 = [18 x i8] c" no_renegotiation\00"
@.str.54 = [23 x i8] c" unsupported_extension\00"
@.str.55 = [26 x i8] c" certificate_unobtainable\00"
@.str.56 = [19 x i8] c" unrecognized_name\00"
@.str.57 = [33 x i8] c" bad_certificate_status_response\00"
@.str.58 = [28 x i8] c" bad_certificate_hash_value\00"
@.str.59 = [22 x i8] c" unknown_psk_identity\00"
@.str.60 = [15 x i8] c", HelloRequest\00"
@.str.61 = [14 x i8] c", ClientHello\00"
@.str.62 = [14 x i8] c", ServerHello\00"
@.str.63 = [21 x i8] c", HelloVerifyRequest\00"
@.str.64 = [14 x i8] c", Certificate\00"
@.str.65 = [20 x i8] c", ServerKeyExchange\00"
@.str.66 = [21 x i8] c", CertificateRequest\00"
@.str.67 = [18 x i8] c", ServerHelloDone\00"
@.str.68 = [20 x i8] c", CertificateVerify\00"
@.str.69 = [20 x i8] c", ClientKeyExchange\00"
@.str.70 = [11 x i8] c", Finished\00"
@.str.71 = [12 x i8] c", Heartbeat\00"
@.str.72 = [19 x i8] c", HeartbeatRequest\00"
@.str.73 = [20 x i8] c", HeartbeatResponse\00"
@.str.74 = [28 x i8] c"%s %s%s [length %04lx]%s%s\0A\00"
@.str.75 = [4 x i8] c" \00"
@.str.76 = [5 x i8] c"\0A \00"
@.str.77 = [6 x i8] c" %02x\00"
@.str.78 = [5 x i8] c" ...\00"
@.str.79 = [2 x i8] c"\0A\00"
define void @msg_cb(i32 %0, i32 %1, i32 %2, i8* %3, i64 %4, i32* %5, i8* %6) {
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i8*
%12 = alloca i64
%13 = alloca i32*
%14 = alloca i8*
%15 = alloca i32*
%16 = alloca i8*
%17 = alloca i8*
%18 = alloca i8*
%19 = alloca i8*
%20 = alloca i8*
%21 = alloca i32
%22 = alloca i64
%23 = alloca i64
store i32 %0, i32* %8
store i32 %1, i32* %9
store i32 %2, i32* %10
store i8* %3, i8** %11
store i64 %4, i64* %12
store i32* %5, i32** %13
store i8* %6, i8** %14
%24 = load i8*, i8** %14
%25 = bitcast i8* %24 to i32*
store i32* %25, i32** %15
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8** %18
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8** %19
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8** %20
%26 = load i32, i32* %8
%27 = icmp ne i32 %26, 0
%28 = zext i1 %27 to i64
%29 = select i1 %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0)
store i8* %29, i8** %16
%30 = load i32, i32* %9
switch i32 %30, label %38 [
i32 132, label %31
i32 131, label %32
i32 128, label %33
i32 130, label %34
i32 129, label %35
i32 133, label %36
i32 134, label %37
]
31: ; preds = %7
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8** %17
br label %39
32: ; preds = %7
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8** %17
br label %39
33: ; preds = %7
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8** %17
br label %39
34: ; preds = %7
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8** %17
br label %39
35: ; preds = %7
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8** %17
br label %39
36: ; preds = %7
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0), i8** %17
br label %39
37: ; preds = %7
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), i8** %17
br label %39
38: ; preds = %7
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8** %17
br label %39
39: ; preds = %38, %37, %36, %35, %34, %33, %32, %31
%40 = load i32, i32* %9
%41 = icmp eq i32 %40, 132
br i1 %41, label %42, label %81
42: ; preds = %39
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8** %19
%43 = load i64, i64* %12
%44 = icmp ugt i64 %43, 0
br i1 %44, label %45, label %80
45: ; preds = %42
%46 = load i8*, i8** %11
%47 = getelementptr inbounds i8, i8* %46, i64 0
%48 = load i8, i8* %47
%49 = zext i8 %48 to i32
switch i32 %49, label %79 [
i32 0, label %50
i32 1, label %71
i32 2, label %72
i32 3, label %73
i32 4, label %74
i32 5, label %75
i32 6, label %76
i32 7, label %77
i32 8, label %78
]
50: ; preds = %45
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8** %19
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i8** %20
%51 = load i64, i64* %12
%52 = icmp uge i64 %51, 3
br i1 %52, label %53, label %70
53: ; preds = %50
%54 = load i8*, i8** %11
%55 = getelementptr inbounds i8, i8* %54, i64 1
%56 = load i8, i8* %55
%57 = zext i8 %56 to i32
%58 = shl i32 %57, 8
%59 = load i8*, i8** %11
%60 = getelementptr inbounds i8, i8* %59, i64 2
%61 = load i8, i8* %60
%62 = zext i8 %61 to i32
%63 = add nsw i32 %58, %62
store i32 %63, i32* %21
%64 = load i32, i32* %21
switch i32 %64, label %69 [
i32 1, label %65
i32 2, label %66
i32 4, label %67
i32 6, label %68
]
65: ; preds = %53
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.13, i64 0, i64 0), i8** %20
br label %69
66: ; preds = %53
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0), i8** %20
br label %69
67: ; preds = %53
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.15, i64 0, i64 0), i8** %20
br label %69
68: ; preds = %53
store i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.16, i64 0, i64 0), i8** %20
br label %69
69: ; preds = %53, %68, %67, %66, %65
br label %70
70: ; preds = %69, %50
br label %79
71: ; preds = %45
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0), i8** %19
br label %79
72: ; preds = %45
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0), i8** %19
br label %79
73: ; preds = %45
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8** %19
br label %79
74: ; preds = %45
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.20, i64 0, i64 0), i8** %19
br label %79
75: ; preds = %45
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.21, i64 0, i64 0), i8** %19
br label %79
76: ; preds = %45
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.22, i64 0, i64 0), i8** %19
br label %79
77: ; preds = %45
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.23, i64 0, i64 0), i8** %19
br label %79
78: ; preds = %45
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.24, i64 0, i64 0), i8** %19
br label %79
79: ; preds = %45, %78, %77, %76, %75, %74, %73, %72, %71, %70
br label %80
80: ; preds = %79, %42
br label %81
81: ; preds = %80, %39
%82 = load i32, i32* %9
%83 = icmp eq i32 %82, 131
br i1 %83, label %99, label %84
84: ; preds = %81
%85 = load i32, i32* %9
%86 = icmp eq i32 %85, 128
br i1 %86, label %99, label %87
87: ; preds = %84
%88 = load i32, i32* %9
%89 = icmp eq i32 %88, 130
br i1 %89, label %99, label %90
90: ; preds = %87
%91 = load i32, i32* %9
%92 = icmp eq i32 %91, 129
br i1 %92, label %99, label %93
93: ; preds = %90
%94 = load i32, i32* %9
%95 = icmp eq i32 %94, 133
br i1 %95, label %99, label %96
96: ; preds = %93
%97 = load i32, i32* %9
%98 = icmp eq i32 %97, 134
br i1 %98, label %99, label %193
99: ; preds = %96, %93, %90, %87, %84, %81
%100 = load i32, i32* %10
switch i32 %100, label %104 [
i32 20, label %101
i32 21, label %102
i32 22, label %103
]
101: ; preds = %99
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.25, i64 0, i64 0), i8** %18
br label %104
102: ; preds = %99
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), i8** %18
br label %104
103: ; preds = %99
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), i8** %18
br label %104
104: ; preds = %99, %103, %102, %101
%105 = load i32, i32* %10
%106 = icmp eq i32 %105, 21
br i1 %106, label %107, label %153
107: ; preds = %104
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0), i8** %19
%108 = load i64, i64* %12
%109 = icmp eq i64 %108, 2
br i1 %109, label %110, label %152
110: ; preds = %107
%111 = load i8*, i8** %11
%112 = getelementptr inbounds i8, i8* %111, i64 0
%113 = load i8, i8* %112
%114 = zext i8 %113 to i32
switch i32 %114, label %117 [
i32 1, label %115
i32 2, label %116
]
115: ; preds = %110
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0), i8** %19
br label %117
116: ; preds = %110
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8** %19
br label %117
117: ; preds = %110, %116, %115
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i8** %20
%118 = load i8*, i8** %11
%119 = getelementptr inbounds i8, i8* %118, i64 1
%120 = load i8, i8* %119
%121 = zext i8 %120 to i32
switch i32 %121, label %151 [
i32 0, label %122
i32 10, label %123
i32 20, label %124
i32 21, label %125
i32 22, label %126
i32 30, label %127
i32 40, label %128
i32 42, label %129
i32 43, label %130
i32 44, label %131
i32 45, label %132
i32 46, label %133
i32 47, label %134
i32 48, label %135
i32 49, label %136
i32 50, label %137
i32 51, label %138
i32 60, label %139
i32 70, label %140
i32 71, label %141
i32 80, label %142
i32 90, label %143
i32 100, label %144
i32 110, label %145
i32 111, label %146
i32 112, label %147
i32 113, label %148
i32 114, label %149
i32 115, label %150
]
122: ; preds = %117
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.31, i64 0, i64 0), i8** %20
br label %151
123: ; preds = %117
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.32, i64 0, i64 0), i8** %20
br label %151
124: ; preds = %117
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.33, i64 0, i64 0), i8** %20
br label %151
125: ; preds = %117
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.34, i64 0, i64 0), i8** %20
br label %151
126: ; preds = %117
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.35, i64 0, i64 0), i8** %20
br label %151
127: ; preds = %117
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.36, i64 0, i64 0), i8** %20
br label %151
128: ; preds = %117
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.37, i64 0, i64 0), i8** %20
br label %151
129: ; preds = %117
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.38, i64 0, i64 0), i8** %20
br label %151
130: ; preds = %117
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.39, i64 0, i64 0), i8** %20
br label %151
131: ; preds = %117
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.40, i64 0, i64 0), i8** %20
br label %151
132: ; preds = %117
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.41, i64 0, i64 0), i8** %20
br label %151
133: ; preds = %117
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.42, i64 0, i64 0), i8** %20
br label %151
134: ; preds = %117
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.43, i64 0, i64 0), i8** %20
br label %151
135: ; preds = %117
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.44, i64 0, i64 0), i8** %20
br label %151
136: ; preds = %117
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.45, i64 0, i64 0), i8** %20
br label %151
137: ; preds = %117
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.46, i64 0, i64 0), i8** %20
br label %151
138: ; preds = %117
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.47, i64 0, i64 0), i8** %20
br label %151
139: ; preds = %117
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.48, i64 0, i64 0), i8** %20
br label %151
140: ; preds = %117
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.49, i64 0, i64 0), i8** %20
br label %151
141: ; preds = %117
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.50, i64 0, i64 0), i8** %20
br label %151
142: ; preds = %117
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.51, i64 0, i64 0), i8** %20
br label %151
143: ; preds = %117
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.52, i64 0, i64 0), i8** %20
br label %151
144: ; preds = %117
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.53, i64 0, i64 0), i8** %20
br label %151
145: ; preds = %117
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.54, i64 0, i64 0), i8** %20
br label %151
146: ; preds = %117
store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.55, i64 0, i64 0), i8** %20
br label %151
147: ; preds = %117
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.56, i64 0, i64 0), i8** %20
br label %151
148: ; preds = %117
store i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.57, i64 0, i64 0), i8** %20
br label %151
149: ; preds = %117
store i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.58, i64 0, i64 0), i8** %20
br label %151
150: ; preds = %117
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.59, i64 0, i64 0), i8** %20
br label %151
151: ; preds = %117, %150, %149, %148, %147, %146, %145, %144, %143, %142, %141, %140, %139, %138, %137, %136, %135, %134, %133, %132, %131, %130, %129, %128, %127, %126, %125, %124, %123, %122
br label %152
152: ; preds = %151, %107
br label %153
153: ; preds = %152, %104
%154 = load i32, i32* %10
%155 = icmp eq i32 %154, 22
br i1 %155, label %156, label %177
156: ; preds = %153
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8** %19
%157 = load i64, i64* %12
%158 = icmp ugt i64 %157, 0
br i1 %158, label %159, label %176
159: ; preds = %156
%160 = load i8*, i8** %11
%161 = getelementptr inbounds i8, i8* %160, i64 0
%162 = load i8, i8* %161
%163 = zext i8 %162 to i32
switch i32 %163, label %175 [
i32 0, label %164
i32 1, label %165
i32 2, label %166
i32 3, label %167
i32 11, label %168
i32 12, label %169
i32 13, label %170
i32 14, label %171
i32 15, label %172
i32 16, label %173
i32 20, label %174
]
164: ; preds = %159
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.60, i64 0, i64 0), i8** %19
br label %175
165: ; preds = %159
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.61, i64 0, i64 0), i8** %19
br label %175
166: ; preds = %159
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.62, i64 0, i64 0), i8** %19
br label %175
167: ; preds = %159
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.63, i64 0, i64 0), i8** %19
br label %175
168: ; preds = %159
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.64, i64 0, i64 0), i8** %19
br label %175
169: ; preds = %159
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.65, i64 0, i64 0), i8** %19
br label %175
170: ; preds = %159
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.66, i64 0, i64 0), i8** %19
br label %175
171: ; preds = %159
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.67, i64 0, i64 0), i8** %19
br label %175
172: ; preds = %159
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.68, i64 0, i64 0), i8** %19
br label %175
173: ; preds = %159
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.69, i64 0, i64 0), i8** %19
br label %175
174: ; preds = %159
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.70, i64 0, i64 0), i8** %19
br label %175
175: ; preds = %159, %174, %173, %172, %171, %170, %169, %168, %167, %166, %165, %164
br label %176
176: ; preds = %175, %156
br label %177
177: ; preds = %176, %153
%178 = load i32, i32* %10
%179 = icmp eq i32 %178, 24
br i1 %179, label %180, label %192
180: ; preds = %177
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.71, i64 0, i64 0), i8** %19
%181 = load i64, i64* %12
%182 = icmp ugt i64 %181, 0
br i1 %182, label %183, label %191
183: ; preds = %180
%184 = load i8*, i8** %11
%185 = getelementptr inbounds i8, i8* %184, i64 0
%186 = load i8, i8* %185
%187 = zext i8 %186 to i32
switch i32 %187, label %190 [
i32 1, label %188
i32 2, label %189
]
188: ; preds = %183
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.72, i64 0, i64 0), i8** %19
br label %190
189: ; preds = %183
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.73, i64 0, i64 0), i8** %19
br label %190
190: ; preds = %183, %189, %188
br label %191
191: ; preds = %190, %180
br label %192
192: ; preds = %191, %177
br label %193
193: ; preds = %192, %96
%194 = load i32*, i32** %15
%195 = load i8*, i8** %16
%196 = load i8*, i8** %17
%197 = load i8*, i8** %18
%198 = load i64, i64* %12
%199 = load i8*, i8** %19
%200 = load i8*, i8** %20
%201 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %194, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.74, i64 0, i64 0), i8* %195, i8* %196, i8* %197, i64 %198, i8* %199, i8* %200)
%202 = load i64, i64* %12
%203 = icmp ugt i64 %202, 0
br i1 %203, label %204, label %243
204: ; preds = %193
%205 = load i32*, i32** %15
%206 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %205, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.75, i64 0, i64 0))
%207 = load i64, i64* %12
store i64 %207, i64* %22
store i64 0, i64* %23
br label %208
208: ; preds = %230, %204
%209 = load i64, i64* %23
%210 = load i64, i64* %22
%211 = icmp ult i64 %209, %210
br i1 %211, label %212, label %233
212: ; preds = %208
%213 = load i64, i64* %23
%214 = urem i64 %213, 16
%215 = icmp eq i64 %214, 0
br i1 %215, label %216, label %222
216: ; preds = %212
%217 = load i64, i64* %23
%218 = icmp ugt i64 %217, 0
br i1 %218, label %219, label %222
219: ; preds = %216
%220 = load i32*, i32** %15
%221 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %220, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.76, i64 0, i64 0))
br label %222
222: ; preds = %219, %216, %212
%223 = load i32*, i32** %15
%224 = load i8*, i8** %11
%225 = load i64, i64* %23
%226 = getelementptr inbounds i8, i8* %224, i64 %225
%227 = load i8, i8* %226
%228 = zext i8 %227 to i32
%229 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %223, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.77, i64 0, i64 0), i32 %228)
br label %230
230: ; preds = %222
%231 = load i64, i64* %23
%232 = add i64 %231, 1
store i64 %232, i64* %23
br label %208
233: ; preds = %208
%234 = load i64, i64* %23
%235 = load i64, i64* %12
%236 = icmp ult i64 %234, %235
br i1 %236, label %237, label %240
237: ; preds = %233
%238 = load i32*, i32** %15
%239 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %238, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.78, i64 0, i64 0))
br label %240
240: ; preds = %237, %233
%241 = load i32*, i32** %15
%242 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %241, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.79, i64 0, i64 0))
br label %243
243: ; preds = %240, %193
%244 = load i32*, i32** %15
%245 = call i32 @BIO_flush(i32* %244)
ret void
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [4 x i8] c">>>\00"
@.str.2 = [4 x i8] c"<<<\00"
@.str.3 = [8 x i8] c"SSL 2.0\00"
@.str.4 = [9 x i8] c"SSL 3.0 \00"
@.str.5 = [9 x i8] c"TLS 1.0 \00"
@.str.6 = [9 x i8] c"TLS 1.1 \00"
@.str.7 = [9 x i8] c"TLS 1.2 \00"
@.str.8 = [10 x i8] c"DTLS 1.0 \00"
@.str.9 = [16 x i8] c"DTLS 1.0 (bad) \00"
@.str.10 = [4 x i8] c"???\00"
@.str.11 = [9 x i8] c", ERROR:\00"
@.str.12 = [5 x i8] c" ???\00"
@.str.13 = [17 x i8] c" NO-CIPHER-ERROR\00"
@.str.14 = [22 x i8] c" NO-CERTIFICATE-ERROR\00"
@.str.15 = [23 x i8] c" BAD-CERTIFICATE-ERROR\00"
@.str.16 = [36 x i8] c" UNSUPPORTED-CERTIFICATE-TYPE-ERROR\00"
@.str.17 = [15 x i8] c", CLIENT-HELLO\00"
@.str.18 = [20 x i8] c", CLIENT-MASTER-KEY\00"
@.str.19 = [18 x i8] c", CLIENT-FINISHED\00"
@.str.20 = [15 x i8] c", SERVER-HELLO\00"
@.str.21 = [16 x i8] c", SERVER-VERIFY\00"
@.str.22 = [18 x i8] c", SERVER-FINISHED\00"
@.str.23 = [22 x i8] c", REQUEST-CERTIFICATE\00"
@.str.24 = [21 x i8] c", CLIENT-CERTIFICATE\00"
@.str.25 = [17 x i8] c"ChangeCipherSpec\00"
@.str.26 = [6 x i8] c"Alert\00"
@.str.27 = [10 x i8] c"Handshake\00"
@.str.28 = [6 x i8] c", ???\00"
@.str.29 = [10 x i8] c", warning\00"
@.str.30 = [8 x i8] c", fatal\00"
@.str.31 = [14 x i8] c" close_notify\00"
@.str.32 = [20 x i8] c" unexpected_message\00"
@.str.33 = [16 x i8] c" bad_record_mac\00"
@.str.34 = [19 x i8] c" decryption_failed\00"
@.str.35 = [17 x i8] c" record_overflow\00"
@.str.36 = [23 x i8] c" decompression_failure\00"
@.str.37 = [19 x i8] c" handshake_failure\00"
@.str.38 = [17 x i8] c" bad_certificate\00"
@.str.39 = [25 x i8] c" unsupported_certificate\00"
@.str.40 = [21 x i8] c" certificate_revoked\00"
@.str.41 = [21 x i8] c" certificate_expired\00"
@.str.42 = [21 x i8] c" certificate_unknown\00"
@.str.43 = [19 x i8] c" illegal_parameter\00"
@.str.44 = [12 x i8] c" unknown_ca\00"
@.str.45 = [15 x i8] c" access_denied\00"
@.str.46 = [14 x i8] c" decode_error\00"
@.str.47 = [15 x i8] c" decrypt_error\00"
@.str.48 = [20 x i8] c" export_restriction\00"
@.str.49 = [18 x i8] c" protocol_version\00"
@.str.50 = [23 x i8] c" insufficient_security\00"
@.str.51 = [16 x i8] c" internal_error\00"
@.str.52 = [15 x i8] c" user_canceled\00"
@.str.53 = [18 x i8] c" no_renegotiation\00"
@.str.54 = [23 x i8] c" unsupported_extension\00"
@.str.55 = [26 x i8] c" certificate_unobtainable\00"
@.str.56 = [19 x i8] c" unrecognized_name\00"
@.str.57 = [33 x i8] c" bad_certificate_status_response\00"
@.str.58 = [28 x i8] c" bad_certificate_hash_value\00"
@.str.59 = [22 x i8] c" unknown_psk_identity\00"
@.str.60 = [15 x i8] c", HelloRequest\00"
@.str.61 = [14 x i8] c", ClientHello\00"
@.str.62 = [14 x i8] c", ServerHello\00"
@.str.63 = [21 x i8] c", HelloVerifyRequest\00"
@.str.64 = [14 x i8] c", Certificate\00"
@.str.65 = [20 x i8] c", ServerKeyExchange\00"
@.str.66 = [21 x i8] c", CertificateRequest\00"
@.str.67 = [18 x i8] c", ServerHelloDone\00"
@.str.68 = [20 x i8] c", CertificateVerify\00"
@.str.69 = [20 x i8] c", ClientKeyExchange\00"
@.str.70 = [11 x i8] c", Finished\00"
@.str.71 = [12 x i8] c", Heartbeat\00"
@.str.72 = [19 x i8] c", HeartbeatRequest\00"
@.str.73 = [20 x i8] c", HeartbeatResponse\00"
@.str.74 = [28 x i8] c"%s %s%s [length %04lx]%s%s\0A\00"
@.str.75 = [4 x i8] c" \00"
@.str.76 = [5 x i8] c"\0A \00"
@.str.77 = [6 x i8] c" %02x\00"
@.str.79 = [2 x i8] c"\0A\00"
@reltable.msg_cb = [6 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.13 to i64), i64 ptrtoint ([6 x i32]* @reltable.msg_cb to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([22 x i8]* @.str.14 to i64), i64 ptrtoint ([6 x i32]* @reltable.msg_cb to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.12 to i64), i64 ptrtoint ([6 x i32]* @reltable.msg_cb to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([23 x i8]* @.str.15 to i64), i64 ptrtoint ([6 x i32]* @reltable.msg_cb to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.12 to i64), i64 ptrtoint ([6 x i32]* @reltable.msg_cb to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([36 x i8]* @.str.16 to i64), i64 ptrtoint ([6 x i32]* @reltable.msg_cb to i64)) to i32)]
define void @msg_cb(i32 %0, i32 %1, i32 %2, i8* nocapture %3, i64 %4, i32* nocapture readnone %5, i8* %6) {
%8 = bitcast i8* %6 to i32*
%9 = icmp eq i32 %0, 0
%10 = select i1 %9, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0)
switch i32 %1, label %123 [
i32 132, label %16
i32 131, label %41
i32 128, label %11
i32 130, label %12
i32 129, label %13
i32 133, label %14
i32 134, label %15
]
11: ; preds = %7
br label %41
12: ; preds = %7
br label %41
13: ; preds = %7
br label %41
14: ; preds = %7
br label %41
15: ; preds = %7
br label %41
16: ; preds = %7
%17 = icmp eq i64 %4, 0
br i1 %17, label %118, label %18
18: ; preds = %16
%19 = load i8, i8* %3
switch i8 %19, label %112 [
i8 0, label %20
i8 1, label %33
i8 2, label %34
i8 3, label %35
i8 4, label %36
i8 5, label %37
i8 6, label %38
i8 7, label %39
i8 8, label %40
]
20: ; preds = %18
%21 = icmp ugt i64 %4, 2
br i1 %21, label %22, label %112
22: ; preds = %20
%23 = getelementptr inbounds i8, i8* %3, i64 1
%24 = load i8, i8* %23
%25 = zext i8 %24 to i16
%26 = shl nuw i16 %25, 8
%27 = getelementptr inbounds i8, i8* %3, i64 2
%28 = load i8, i8* %27
%29 = zext i8 %28 to i16
%30 = or i16 %26, %29
%31 = add i16 %30, -1
%32 = icmp ult i16 %31, 6
br i1 %32, label %108, label %112
33: ; preds = %18
br label %112
34: ; preds = %18
br label %112
35: ; preds = %18
br label %112
36: ; preds = %18
br label %112
37: ; preds = %18
br label %112
38: ; preds = %18
br label %112
39: ; preds = %18
br label %112
40: ; preds = %18
br label %112
41: ; preds = %7, %11, %12, %13, %14, %15
%42 = phi i8* [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), %15 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0), %14 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), %13 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), %12 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), %11 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), %7 ]
switch i32 %2, label %122 [
i32 20, label %123
i32 21, label %43
i32 22, label %82
i32 24, label %97
]
43: ; preds = %41
%44 = icmp eq i64 %4, 2
br i1 %44, label %45, label %123
45: ; preds = %43
%46 = load i8, i8* %3
%47 = icmp eq i8 %46, 2
%48 = select i1 %47, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0)
%49 = icmp eq i8 %46, 1
%50 = select i1 %49, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0), i8* %48
%51 = getelementptr inbounds i8, i8* %3, i64 1
%52 = load i8, i8* %51
switch i8 %52, label %112 [
i8 0, label %53
i8 10, label %54
i8 20, label %55
i8 21, label %56
i8 22, label %57
i8 30, label %58
i8 40, label %59
i8 42, label %60
i8 43, label %61
i8 44, label %62
i8 45, label %63
i8 46, label %64
i8 47, label %65
i8 48, label %66
i8 49, label %67
i8 50, label %68
i8 51, label %69
i8 60, label %70
i8 70, label %71
i8 71, label %72
i8 80, label %73
i8 90, label %74
i8 100, label %75
i8 110, label %76
i8 111, label %77
i8 112, label %78
i8 113, label %79
i8 114, label %80
i8 115, label %81
]
53: ; preds = %45
br label %112
54: ; preds = %45
br label %112
55: ; preds = %45
br label %112
56: ; preds = %45
br label %112
57: ; preds = %45
br label %112
58: ; preds = %45
br label %112
59: ; preds = %45
br label %112
60: ; preds = %45
br label %112
61: ; preds = %45
br label %112
62: ; preds = %45
br label %112
63: ; preds = %45
br label %112
64: ; preds = %45
br label %112
65: ; preds = %45
br label %112
66: ; preds = %45
br label %112
67: ; preds = %45
br label %112
68: ; preds = %45
br label %112
69: ; preds = %45
br label %112
70: ; preds = %45
br label %112
71: ; preds = %45
br label %112
72: ; preds = %45
br label %112
73: ; preds = %45
br label %112
74: ; preds = %45
br label %112
75: ; preds = %45
br label %112
76: ; preds = %45
br label %112
77: ; preds = %45
br label %112
78: ; preds = %45
br label %112
79: ; preds = %45
br label %112
80: ; preds = %45
br label %112
81: ; preds = %45
br label %112
82: ; preds = %41
%83 = icmp eq i64 %4, 0
br i1 %83, label %118, label %84
84: ; preds = %82
%85 = load i8, i8* %3
switch i8 %85, label %112 [
i8 0, label %86
i8 1, label %87
i8 2, label %88
i8 3, label %89
i8 11, label %90
i8 12, label %91
i8 13, label %92
i8 14, label %93
i8 15, label %94
i8 16, label %95
i8 20, label %96
]
86: ; preds = %84
br label %112
87: ; preds = %84
br label %112
88: ; preds = %84
br label %112
89: ; preds = %84
br label %112
90: ; preds = %84
br label %112
91: ; preds = %84
br label %112
92: ; preds = %84
br label %112
93: ; preds = %84
br label %112
94: ; preds = %84
br label %112
95: ; preds = %84
br label %112
96: ; preds = %84
br label %112
97: ; preds = %41
%98 = icmp eq i64 %4, 0
br i1 %98, label %99, label %101
99: ; preds = %97
%100 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %8, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.74, i64 0, i64 0), i8* %10, i8* %42, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.71, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
br label %148
101: ; preds = %97
%102 = load i8, i8* %3
%103 = icmp eq i8 %102, 2
%104 = select i1 %103, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.73, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.71, i64 0, i64 0)
%105 = icmp eq i8 %102, 1
%106 = select i1 %105, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.72, i64 0, i64 0), i8* %104
%107 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %8, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.74, i64 0, i64 0), i8* %10, i8* %42, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i64 %4, i8* %106, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
br label %129
108: ; preds = %22
%109 = sext i16 %31 to i64
%110 = shl i64 %109, 2
%111 = call i8* @llvm.load.relative.i64(i8* bitcast ([6 x i32]* @reltable.msg_cb to i8*), i64 %110)
br label %112
112: ; preds = %108, %22, %53, %54, %55, %56, %57, %58, %59, %60, %61, %62, %63, %64, %65, %66, %67, %68, %69, %70, %71, %72, %73, %74, %75, %76, %77, %78, %79, %80, %81, %45, %86, %87, %88, %89, %90, %91, %92, %93, %94, %95, %96, %84, %33, %34, %35, %36, %37, %38, %39, %40, %18, %20
%113 = phi i8* [ %42, %53 ], [ %42, %54 ], [ %42, %55 ], [ %42, %56 ], [ %42, %57 ], [ %42, %58 ], [ %42, %59 ], [ %42, %60 ], [ %42, %61 ], [ %42, %62 ], [ %42, %63 ], [ %42, %64 ], [ %42, %65 ], [ %42, %66 ], [ %42, %67 ], [ %42, %68 ], [ %42, %69 ], [ %42, %70 ], [ %42, %71 ], [ %42, %72 ], [ %42, %73 ], [ %42, %74 ], [ %42, %75 ], [ %42, %76 ], [ %42, %77 ], [ %42, %78 ], [ %42, %79 ], [ %42, %80 ], [ %42, %81 ], [ %42, %45 ], [ %42, %86 ], [ %42, %87 ], [ %42, %88 ], [ %42, %89 ], [ %42, %90 ], [ %42, %91 ], [ %42, %92 ], [ %42, %93 ], [ %42, %94 ], [ %42, %95 ], [ %42, %96 ], [ %42, %84 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %33 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %34 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %35 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %36 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %37 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %38 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %39 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %40 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %18 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %20 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %22 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %108 ]
%114 = phi i8* [ %50, %53 ], [ %50, %54 ], [ %50, %55 ], [ %50, %56 ], [ %50, %57 ], [ %50, %58 ], [ %50, %59 ], [ %50, %60 ], [ %50, %61 ], [ %50, %62 ], [ %50, %63 ], [ %50, %64 ], [ %50, %65 ], [ %50, %66 ], [ %50, %67 ], [ %50, %68 ], [ %50, %69 ], [ %50, %70 ], [ %50, %71 ], [ %50, %72 ], [ %50, %73 ], [ %50, %74 ], [ %50, %75 ], [ %50, %76 ], [ %50, %77 ], [ %50, %78 ], [ %50, %79 ], [ %50, %80 ], [ %50, %81 ], [ %50, %45 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.60, i64 0, i64 0), %86 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.61, i64 0, i64 0), %87 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.62, i64 0, i64 0), %88 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.63, i64 0, i64 0), %89 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.64, i64 0, i64 0), %90 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.65, i64 0, i64 0), %91 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.66, i64 0, i64 0), %92 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.67, i64 0, i64 0), %93 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.68, i64 0, i64 0), %94 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.69, i64 0, i64 0), %95 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.70, i64 0, i64 0), %96 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), %84 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0), %33 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0), %34 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), %35 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.20, i64 0, i64 0), %36 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.21, i64 0, i64 0), %37 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.22, i64 0, i64 0), %38 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.23, i64 0, i64 0), %39 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.24, i64 0, i64 0), %40 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), %18 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), %20 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), %22 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), %108 ]
%115 = phi i8* [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.31, i64 0, i64 0), %53 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.32, i64 0, i64 0), %54 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.33, i64 0, i64 0), %55 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.34, i64 0, i64 0), %56 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.35, i64 0, i64 0), %57 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.36, i64 0, i64 0), %58 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.37, i64 0, i64 0), %59 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.38, i64 0, i64 0), %60 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.39, i64 0, i64 0), %61 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.40, i64 0, i64 0), %62 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.41, i64 0, i64 0), %63 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.42, i64 0, i64 0), %64 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.43, i64 0, i64 0), %65 ], [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str.44, i64 0, i64 0), %66 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.45, i64 0, i64 0), %67 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.46, i64 0, i64 0), %68 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.47, i64 0, i64 0), %69 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.48, i64 0, i64 0), %70 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.49, i64 0, i64 0), %71 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.50, i64 0, i64 0), %72 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.51, i64 0, i64 0), %73 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.52, i64 0, i64 0), %74 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.53, i64 0, i64 0), %75 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.54, i64 0, i64 0), %76 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @.str.55, i64 0, i64 0), %77 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.56, i64 0, i64 0), %78 ], [ getelementptr inbounds ([33 x i8], [33 x i8]* @.str.57, i64 0, i64 0), %79 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @.str.58, i64 0, i64 0), %80 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.59, i64 0, i64 0), %81 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), %45 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %86 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %87 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %88 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %89 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %90 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %91 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %92 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %93 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %94 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %95 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %96 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %84 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %33 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %34 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %35 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %36 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %37 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %38 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %39 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %40 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %18 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), %20 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), %22 ], [ %111, %108 ]
%116 = phi i8* [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %53 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %54 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %55 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %56 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %57 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %58 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %59 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %60 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %61 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %62 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %63 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %64 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %65 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %66 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %67 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %68 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %69 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %70 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %71 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %72 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %73 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %74 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %75 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %76 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %77 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %78 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %79 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %80 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %81 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %45 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %86 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %87 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %88 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %89 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %90 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %91 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %92 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %93 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %94 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %95 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %96 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %84 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %33 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %34 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %35 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %36 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %37 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %38 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %39 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %40 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %18 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %20 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %22 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %108 ]
%117 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %8, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.74, i64 0, i64 0), i8* %10, i8* %113, i8* %116, i64 %4, i8* %114, i8* %115)
br label %129
118: ; preds = %82, %16
%119 = phi i8* [ %42, %82 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), %16 ]
%120 = phi i8* [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %82 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %16 ]
%121 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %8, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.74, i64 0, i64 0), i8* %10, i8* %119, i8* %120, i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
br label %148
122: ; preds = %41
br label %123
123: ; preds = %41, %122, %7, %43
%124 = phi i8* [ %42, %41 ], [ %42, %43 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), %7 ], [ %42, %122 ]
%125 = phi i8* [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %41 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0), %43 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %7 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %122 ]
%126 = phi i8* [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.25, i64 0, i64 0), %41 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), %43 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %7 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %122 ]
%127 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %8, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.74, i64 0, i64 0), i8* %10, i8* %124, i8* %126, i64 %4, i8* %125, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%128 = icmp eq i64 %4, 0
br i1 %128, label %148, label %129
129: ; preds = %123, %101, %112
%130 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.75, i64 0, i64 0))
br label %131
131: ; preds = %129, %139
%132 = phi i64 [ %144, %139 ], [ 0, %129 ]
%133 = and i64 %132, 15
%134 = icmp eq i64 %133, 0
%135 = icmp ne i64 %132, 0
%136 = and i1 %135, %134
br i1 %136, label %137, label %139
137: ; preds = %131
%138 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.76, i64 0, i64 0))
br label %139
139: ; preds = %137, %131
%140 = getelementptr inbounds i8, i8* %3, i64 %132
%141 = load i8, i8* %140
%142 = zext i8 %141 to i32
%143 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.77, i64 0, i64 0), i32 %142)
%144 = add nuw i64 %132, 1
%145 = icmp eq i64 %144, %4
br i1 %145, label %146, label %131
146: ; preds = %139
%147 = tail call i32 (i32*, i8*, ...) @BIO_printf(i32* %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.79, i64 0, i64 0))
br label %148
148: ; preds = %118, %99, %146, %123
%149 = tail call i32 @BIO_flush(i32* %8)
ret void
}