#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 */
typedef struct TYPE_3__ TYPE_1__;

/* Type definitions */
struct TYPE_3__ {
  scalar_t__ type;
  int length;
  scalar_t__ data;
};
typedef int /*<<< orphan*/ BIO;
typedef TYPE_1__ ASN1_STRING;
typedef int /*<<< orphan*/ ASN1_OBJECT;

/* Variables and functions */
int /*<<< orphan*/ BIO_printf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ BIO_puts(int /*<<< orphan*/ *, char *);
scalar_t__ V_ASN1_IA5STRING;
scalar_t__ V_ASN1_PRINTABLESTRING;
scalar_t__ V_ASN1_T61STRING;
scalar_t__ V_ASN1_UNIVERSALSTRING;
int i2a_ASN1_OBJECT(int /*<<< orphan*/ *, int /*<<< orphan*/ *);
int old_entry_print(BIO *bp, ASN1_OBJECT *obj, ASN1_STRING *str) {
  char buf[25], *pbuf, *p;
  int j;
  j = i2a_ASN1_OBJECT(bp, obj);
  pbuf = buf;
  for (j = 22 - j; j > 0; j--)
    *(pbuf++) = ' ';
  *(pbuf++) = ':';
  *(pbuf++) = '\0';
  BIO_puts(bp, buf);
  if (str->type == V_ASN1_PRINTABLESTRING)
    BIO_printf(bp, "PRINTABLE:'");
  else if (str->type == V_ASN1_T61STRING)
    BIO_printf(bp, "T61STRING:'");
  else if (str->type == V_ASN1_IA5STRING)
    BIO_printf(bp, "IA5STRING:'");
  else if (str->type == V_ASN1_UNIVERSALSTRING)
    BIO_printf(bp, "UNIVERSALSTRING:'");
  else
    BIO_printf(bp, "ASN.1 %2d:'", str->type);
  p = (char *)str->data;
  for (j = str->length; j > 0; j--) {
    if ((*p >= ' ') && (*p <= '~'))
      BIO_printf(bp, "%c", *p);
    else if (*p & 0x80)
      BIO_printf(bp, "\\0x%02X", *p);
    else if ((unsigned char)*p == 0xf7)
      BIO_printf(bp, "^?");
    else
      BIO_printf(bp, "^%c", *p + '@');
    p++;
  }
  BIO_printf(bp, "'\n");
  return 1;
}


x86 assembly (clang, -O0):
<old_entry_print>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1030 <i2a_ASN1_OBJECT@plt>
mov    %eax,-0x54(%rbp)
lea    -0x40(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    $0x16,%eax
sub    -0x54(%rbp),%eax
mov    %eax,-0x54(%rbp)
cmpl   $0x0,-0x54(%rbp)
jle    1191 <old_entry_print+0x61>
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
movb   $0x20,(%rax)
mov    -0x54(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x54(%rbp)
jmp    1167 <old_entry_print+0x37>
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
movb   $0x3a,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
movb   $0x0,(%rax)
mov    -0x8(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1050 <BIO_puts@plt>
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
mov    0x2df8(%rip),%rcx
cmp    (%rcx),%rax
jne    11f0 <old_entry_print+0xc0>
mov    -0x8(%rbp),%rdi
lea    0xe1c(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
jmp    12a2 <old_entry_print+0x172>
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
mov    0x2dda(%rip),%rcx
cmp    (%rcx),%rax
jne    121e <old_entry_print+0xee>
mov    -0x8(%rbp),%rdi
lea    0xdfa(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
jmp    129d <old_entry_print+0x16d>
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
mov    0x2da4(%rip),%rcx
cmp    (%rcx),%rax
jne    124c <old_entry_print+0x11c>
mov    -0x8(%rbp),%rdi
lea    0xdd8(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
jmp    1298 <old_entry_print+0x168>
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
mov    0x2d8e(%rip),%rcx
cmp    (%rcx),%rax
jne    127a <old_entry_print+0x14a>
mov    -0x8(%rbp),%rdi
lea    0xdb6(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
jmp    1293 <old_entry_print+0x163>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    (%rax),%rdx
lea    0xdaa(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
jmp    1298 <old_entry_print+0x168>
jmp    129d <old_entry_print+0x16d>
jmp    12a2 <old_entry_print+0x172>
mov    -0x18(%rbp),%rax
mov    0x10(%rax),%rax
mov    %rax,-0x50(%rbp)
mov    -0x18(%rbp),%rax
mov    0x8(%rax),%eax
mov    %eax,-0x54(%rbp)
cmpl   $0x0,-0x54(%rbp)
jle    139c <old_entry_print+0x26c>
mov    -0x50(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x20,%eax
jl     1300 <old_entry_print+0x1d0>
mov    -0x50(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x7e,%eax
jg     1300 <old_entry_print+0x1d0>
mov    -0x8(%rbp),%rdi
mov    -0x50(%rbp),%rax
movsbl (%rax),%edx
lea    0xd5a(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
jmp    1382 <old_entry_print+0x252>
mov    -0x50(%rbp),%rax
movsbl (%rax),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     1333 <old_entry_print+0x203>
mov    -0x8(%rbp),%rdi
mov    -0x50(%rbp),%rax
movsbl (%rax),%edx
lea    0xd1b(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
jmp    137d <old_entry_print+0x24d>
mov    -0x50(%rbp),%rax
movzbl (%rax),%eax
cmp    $0xf7,%eax
jne    135c <old_entry_print+0x22c>
mov    -0x8(%rbp),%rdi
lea    0xcfa(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
jmp    1378 <old_entry_print+0x248>
mov    -0x8(%rbp),%rdi
mov    -0x50(%rbp),%rax
movsbl (%rax),%edx
add    $0x40,%edx
lea    0xcdc(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
jmp    137d <old_entry_print+0x24d>
jmp    1382 <old_entry_print+0x252>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
mov    -0x54(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x54(%rbp)
jmp    12b8 <old_entry_print+0x188>
mov    -0x8(%rbp),%rdi
lea    0xcaa(%rip),%rsi
mov    $0x0,%al
call   1040 <BIO_printf@plt>
mov    $0x1,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<old_entry_print>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rdx,%r14
mov    %rdi,%rbx
call   1030 <i2a_ASN1_OBJECT@plt>
cmp    $0x15,%eax
jg     118c <old_entry_print+0x4c>
mov    $0x16,%ebp
sub    %eax,%ebp
test   %ebp,%ebp
mov    $0x1,%eax
cmovle %ebp,%eax
sub    %eax,%ebp
lea    0x1(%rbp),%rdx
mov    %rsp,%rdi
mov    $0x20,%esi
call   1050 <memset@plt>
lea    (%rsp,%rbp,1),%rax
add    $0x1,%rax
jmp    118f <old_entry_print+0x4f>
mov    %rsp,%rax
movw   $0x3a,(%rax)
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1060 <BIO_puts@plt>
mov    (%r14),%rdx
mov    0x2e1f(%rip),%rax
cmp    (%rax),%rdx
jne    11b7 <old_entry_print+0x77>
lea    0xe4b(%rip),%rsi
jmp    11f8 <old_entry_print+0xb8>
mov    0x2e1a(%rip),%rax
cmp    (%rax),%rdx
jne    11cc <old_entry_print+0x8c>
lea    0xe42(%rip),%rsi
jmp    11f8 <old_entry_print+0xb8>
mov    0x2dfd(%rip),%rax
cmp    (%rax),%rdx
jne    11e1 <old_entry_print+0xa1>
lea    0xe39(%rip),%rsi
jmp    11f8 <old_entry_print+0xb8>
mov    0x2e00(%rip),%rax
cmp    (%rax),%rdx
jne    12b8 <old_entry_print+0x178>
lea    0xe2c(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <BIO_printf@plt>
mov    0x8(%r14),%ebp
test   %ebp,%ebp
jle    1293 <old_entry_print+0x153>
mov    0x10(%r14),%r14
add    $0x1,%ebp
lea    0xe31(%rip),%r15
lea    0xe1f(%rip),%r12
lea    0xe24(%rip),%r13
jmp    1249 <old_entry_print+0x109>
nopl   0x0(%rax)
mov    %rbx,%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   1040 <BIO_printf@plt>
add    $0x1,%r14
add    $0xffffffff,%ebp
cmp    $0x1,%ebp
jle    1293 <old_entry_print+0x153>
movsbl (%r14),%edx
lea    -0x7f(%rdx),%eax
cmp    $0xa1,%al
jae    1230 <old_entry_print+0xf0>
test   $0x80,%dl
jne    1280 <old_entry_print+0x140>
cmp    $0xf7,%dl
jne    1288 <old_entry_print+0x148>
mov    %rbx,%rdi
lea    0xde2(%rip),%rsi
xor    %eax,%eax
call   1040 <BIO_printf@plt>
jmp    123d <old_entry_print+0xfd>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %rbx,%rdi
mov    %r12,%rsi
jmp    1236 <old_entry_print+0xf6>
add    $0x40,%edx
mov    %rbx,%rdi
mov    %r15,%rsi
jmp    1236 <old_entry_print+0xf6>
lea    0xdb7(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <BIO_printf@plt>
mov    $0x1,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xd77(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <BIO_printf@plt>
jmp    1202 <old_entry_print+0xc2>

LLVM IR (-O0):
%struct.TYPE_3__ = type { i64, i32, i64 }
@V_ASN1_PRINTABLESTRING = global i64 0
@.str = [12 x i8] c"PRINTABLE:'\00"
@V_ASN1_T61STRING = global i64 0
@.str.1 = [12 x i8] c"T61STRING:'\00"
@V_ASN1_IA5STRING = global i64 0
@.str.2 = [12 x i8] c"IA5STRING:'\00"
@V_ASN1_UNIVERSALSTRING = global i64 0
@.str.3 = [18 x i8] c"UNIVERSALSTRING:'\00"
@.str.4 = [12 x i8] c"ASN.1 %2d:'\00"
@.str.5 = [3 x i8] c"%c\00"
@.str.6 = [8 x i8] c"\\0x%02X\00"
@.str.7 = [3 x i8] c"^?\00"
@.str.8 = [4 x i8] c"^%c\00"
@.str.9 = [3 x i8] c"'\0A\00"
define i32 @old_entry_print(i32* %0, i32* %1, %struct.TYPE_3__* %2) {
%4 = alloca i32*
%5 = alloca i32*
%6 = alloca %struct.TYPE_3__*
%7 = alloca [25 x i8]
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i32
store i32* %0, i32** %4
store i32* %1, i32** %5
store %struct.TYPE_3__* %2, %struct.TYPE_3__** %6
%11 = load i32*, i32** %4
%12 = load i32*, i32** %5
%13 = call i32 @i2a_ASN1_OBJECT(i32* %11, i32* %12)
store i32 %13, i32* %10
%14 = getelementptr inbounds [25 x i8], [25 x i8]* %7, i64 0, i64 0
store i8* %14, i8** %8
%15 = load i32, i32* %10
%16 = sub nsw i32 22, %15
store i32 %16, i32* %10
br label %17
17: ; preds = %23, %3
%18 = load i32, i32* %10
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %17
%21 = load i8*, i8** %8
%22 = getelementptr inbounds i8, i8* %21, i32 1
store i8* %22, i8** %8
store i8 32, i8* %21
br label %23
23: ; preds = %20
%24 = load i32, i32* %10
%25 = add nsw i32 %24, -1
store i32 %25, i32* %10
br label %17
26: ; preds = %17
%27 = load i8*, i8** %8
%28 = getelementptr inbounds i8, i8* %27, i32 1
store i8* %28, i8** %8
store i8 58, i8* %27
%29 = load i8*, i8** %8
%30 = getelementptr inbounds i8, i8* %29, i32 1
store i8* %30, i8** %8
store i8 0, i8* %29
%31 = load i32*, i32** %4
%32 = getelementptr inbounds [25 x i8], [25 x i8]* %7, i64 0, i64 0
%33 = call i32 @BIO_puts(i32* %31, i8* %32)
%34 = load %struct.TYPE_3__*, %struct.TYPE_3__** %6
%35 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %34, i32 0, i32 0
%36 = load i64, i64* %35
%37 = load i64, i64* @V_ASN1_PRINTABLESTRING
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %26
%40 = load i32*, i32** %4
%41 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %40, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
br label %78
42: ; preds = %26
%43 = load %struct.TYPE_3__*, %struct.TYPE_3__** %6
%44 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %43, i32 0, i32 0
%45 = load i64, i64* %44
%46 = load i64, i64* @V_ASN1_T61STRING
%47 = icmp eq i64 %45, %46
br i1 %47, label %48, label %51
48: ; preds = %42
%49 = load i32*, i32** %4
%50 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %49, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
br label %77
51: ; preds = %42
%52 = load %struct.TYPE_3__*, %struct.TYPE_3__** %6
%53 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %52, i32 0, i32 0
%54 = load i64, i64* %53
%55 = load i64, i64* @V_ASN1_IA5STRING
%56 = icmp eq i64 %54, %55
br i1 %56, label %57, label %60
57: ; preds = %51
%58 = load i32*, i32** %4
%59 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %58, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
br label %76
60: ; preds = %51
%61 = load %struct.TYPE_3__*, %struct.TYPE_3__** %6
%62 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %61, i32 0, i32 0
%63 = load i64, i64* %62
%64 = load i64, i64* @V_ASN1_UNIVERSALSTRING
%65 = icmp eq i64 %63, %64
br i1 %65, label %66, label %69
66: ; preds = %60
%67 = load i32*, i32** %4
%68 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %67, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
br label %75
69: ; preds = %60
%70 = load i32*, i32** %4
%71 = load %struct.TYPE_3__*, %struct.TYPE_3__** %6
%72 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %71, i32 0, i32 0
%73 = load i64, i64* %72
%74 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %70, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i64 %73)
br label %75
75: ; preds = %69, %66
br label %76
76: ; preds = %75, %57
br label %77
77: ; preds = %76, %48
br label %78
78: ; preds = %77, %39
%79 = load %struct.TYPE_3__*, %struct.TYPE_3__** %6
%80 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %79, i32 0, i32 2
%81 = load i64, i64* %80
%82 = inttoptr i64 %81 to i8*
store i8* %82, i8** %9
%83 = load %struct.TYPE_3__*, %struct.TYPE_3__** %6
%84 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %83, i32 0, i32 1
%85 = load i32, i32* %84
store i32 %85, i32* %10
br label %86
86: ; preds = %137, %78
%87 = load i32, i32* %10
%88 = icmp sgt i32 %87, 0
br i1 %88, label %89, label %140
89: ; preds = %86
%90 = load i8*, i8** %9
%91 = load i8, i8* %90
%92 = sext i8 %91 to i32
%93 = icmp sge i32 %92, 32
br i1 %93, label %94, label %105
94: ; preds = %89
%95 = load i8*, i8** %9
%96 = load i8, i8* %95
%97 = sext i8 %96 to i32
%98 = icmp sle i32 %97, 126
br i1 %98, label %99, label %105
99: ; preds = %94
%100 = load i32*, i32** %4
%101 = load i8*, i8** %9
%102 = load i8, i8* %101
%103 = sext i8 %102 to i32
%104 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %100, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32 %103)
br label %134
105: ; preds = %94, %89
%106 = load i8*, i8** %9
%107 = load i8, i8* %106
%108 = sext i8 %107 to i32
%109 = and i32 %108, 128
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %117
111: ; preds = %105
%112 = load i32*, i32** %4
%113 = load i8*, i8** %9
%114 = load i8, i8* %113
%115 = sext i8 %114 to i32
%116 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %112, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i32 %115)
br label %133
117: ; preds = %105
%118 = load i8*, i8** %9
%119 = load i8, i8* %118
%120 = zext i8 %119 to i32
%121 = icmp eq i32 %120, 247
br i1 %121, label %122, label %125
122: ; preds = %117
%123 = load i32*, i32** %4
%124 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %123, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %132
125: ; preds = %117
%126 = load i32*, i32** %4
%127 = load i8*, i8** %9
%128 = load i8, i8* %127
%129 = sext i8 %128 to i32
%130 = add nsw i32 %129, 64
%131 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %126, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 %130)
br label %132
132: ; preds = %125, %122
br label %133
133: ; preds = %132, %111
br label %134
134: ; preds = %133, %99
%135 = load i8*, i8** %9
%136 = getelementptr inbounds i8, i8* %135, i32 1
store i8* %136, i8** %9
br label %137
137: ; preds = %134
%138 = load i32, i32* %10
%139 = add nsw i32 %138, -1
store i32 %139, i32* %10
br label %86
140: ; preds = %86
%141 = load i32*, i32** %4
%142 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %141, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
ret i32 1
}

LLVM IR (-O2):
%struct.TYPE_3__ = type { i64, i32, i64 }
@V_ASN1_PRINTABLESTRING = global i64 0
@.str = [12 x i8] c"PRINTABLE:'\00"
@V_ASN1_T61STRING = global i64 0
@.str.1 = [12 x i8] c"T61STRING:'\00"
@V_ASN1_IA5STRING = global i64 0
@.str.2 = [12 x i8] c"IA5STRING:'\00"
@V_ASN1_UNIVERSALSTRING = global i64 0
@.str.3 = [18 x i8] c"UNIVERSALSTRING:'\00"
@.str.4 = [12 x i8] c"ASN.1 %2d:'\00"
@.str.5 = [3 x i8] c"%c\00"
@.str.6 = [8 x i8] c"\\0x%02X\00"
@.str.7 = [3 x i8] c"^?\00"
@.str.8 = [4 x i8] c"^%c\00"
@.str.9 = [3 x i8] c"'\0A\00"
define i32 @old_entry_print(i32* %0, i32* %1, %struct.TYPE_3__* nocapture %2) {
%4 = alloca [25 x i8]
%5 = getelementptr inbounds [25 x i8], [25 x i8]* %4, i64 0, i64 0
%6 = tail call i32 @i2a_ASN1_OBJECT(i32* %0, i32* %1)
%7 = sub i32 22, %6
%8 = icmp slt i32 %6, 22
br i1 %8, label %9, label %16
9: ; preds = %3
%10 = getelementptr inbounds [25 x i8], [25 x i8]* %4, i64 0, i64 0
%11 = call i32 @llvm.smin.i32(i32 %7, i32 1)
%12 = sub i32 %7, %11
%13 = zext i32 %12 to i64
%14 = add nuw nsw i64 %13, 1
%15 = getelementptr [25 x i8], [25 x i8]* %4, i64 0, i64 %14
br label %16
16: ; preds = %9, %3
%17 = phi i8* [ %5, %3 ], [ %15, %9 ]
%18 = getelementptr inbounds i8, i8* %17, i64 1
store i8 58, i8* %17
store i8 0, i8* %18
%19 = call i32 @BIO_puts(i32* %0, i8* %5)
%20 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %2, i64 0, i32 0
%21 = load i64, i64* %20
%22 = load i64, i64* @V_ASN1_PRINTABLESTRING
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %16
%25 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
br label %43
26: ; preds = %16
%27 = load i64, i64* @V_ASN1_T61STRING
%28 = icmp eq i64 %21, %27
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
br label %43
31: ; preds = %26
%32 = load i64, i64* @V_ASN1_IA5STRING
%33 = icmp eq i64 %21, %32
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
br label %43
36: ; preds = %31
%37 = load i64, i64* @V_ASN1_UNIVERSALSTRING
%38 = icmp eq i64 %21, %37
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
br label %43
41: ; preds = %36
%42 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i64 %21)
br label %43
43: ; preds = %29, %39, %41, %34, %24
%44 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %2, i64 0, i32 1
%45 = load i32, i32* %44
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %76
47: ; preds = %43
%48 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %2, i64 0, i32 2
%49 = load i64, i64* %48
%50 = inttoptr i64 %49 to i8*
br label %51
51: ; preds = %47, %72
%52 = phi i32 [ %74, %72 ], [ %45, %47 ]
%53 = phi i8* [ %73, %72 ], [ %50, %47 ]
%54 = load i8, i8* %53
%55 = sext i8 %54 to i32
%56 = add i8 %54, -127
%57 = icmp ult i8 %56, -95
br i1 %57, label %60, label %58
58: ; preds = %51
%59 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32 %55)
br label %72
60: ; preds = %51
%61 = and i32 %55, 128
%62 = icmp eq i32 %61, 0
br i1 %62, label %65, label %63
63: ; preds = %60
%64 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i32 %55)
br label %72
65: ; preds = %60
%66 = icmp eq i8 %54, -9
br i1 %66, label %67, label %69
67: ; preds = %65
%68 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %72
69: ; preds = %65
%70 = add nuw nsw i32 %55, 64
%71 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 %70)
br label %72
72: ; preds = %63, %69, %67, %58
%73 = getelementptr inbounds i8, i8* %53, i64 1
%74 = add nsw i32 %52, -1
%75 = icmp sgt i32 %52, 1
br i1 %75, label %51, label %76
76: ; preds = %72, %43
%77 = call i32 (i32*, i8*, ...) @BIO_printf(i32* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
ret i32 1
}