#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 */

/* Variables and functions */
char const *PEM_STRING_DSA;
char const *PEM_STRING_ECPRIVATEKEY;
char const *PEM_STRING_EVP_PKEY;
char const *PEM_STRING_PKCS7;
char const *PEM_STRING_PKCS7_SIGNED;
char const *PEM_STRING_PKCS8;
char const *PEM_STRING_PKCS8INF;
char const *PEM_STRING_RSA;
char const *PEM_STRING_X509;
char const *PEM_STRING_X509_OLD;
char const *PEM_STRING_X509_REQ;
char const *PEM_STRING_X509_REQ_OLD;
char const *PEM_STRING_X509_TRUSTED;
int /*<<< orphan*/ strcmp(char const *, char const *);
int check_pem(const char *nm, const char *name) {
  if (!strcmp(nm, name))
    return 1;
  if (!strcmp(nm, PEM_STRING_PKCS8) && !strcmp(name, PEM_STRING_EVP_PKEY))
    return 1;
  if (!strcmp(nm, PEM_STRING_PKCS8INF) && !strcmp(name, PEM_STRING_EVP_PKEY))
    return 1;
  if (!strcmp(nm, PEM_STRING_RSA) && !strcmp(name, PEM_STRING_EVP_PKEY))
    return 1;
  if (!strcmp(nm, PEM_STRING_DSA) && !strcmp(name, PEM_STRING_EVP_PKEY))
    return 1;
  if (!strcmp(nm, PEM_STRING_ECPRIVATEKEY) &&
      !strcmp(name, PEM_STRING_EVP_PKEY))
    return 1;
  if (!strcmp(nm, PEM_STRING_X509_OLD) && !strcmp(name, PEM_STRING_X509))
    return 1;
  if (!strcmp(nm, PEM_STRING_X509_REQ_OLD) &&
      !strcmp(name, PEM_STRING_X509_REQ))
    return 1;
  if (!strcmp(nm, PEM_STRING_X509) && !strcmp(name, PEM_STRING_X509_TRUSTED))
    return 1;
  if (!strcmp(nm, PEM_STRING_X509_OLD) &&
      !strcmp(name, PEM_STRING_X509_TRUSTED))
    return 1;
  if (!strcmp(nm, PEM_STRING_X509) && !strcmp(name, PEM_STRING_PKCS7))
    return 1;
  if (!strcmp(nm, PEM_STRING_PKCS7_SIGNED) && !strcmp(name, PEM_STRING_PKCS7))
    return 1;
  return 0;
}


x86 assembly (clang, -O0):
<check_pem>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1142 <check_pem+0x32>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
mov    -0x10(%rbp),%rdi
mov    0x2e3b(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1186 <check_pem+0x76>
mov    -0x18(%rbp),%rdi
mov    0x2e17(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1186 <check_pem+0x76>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
mov    -0x10(%rbp),%rdi
mov    0x2e0f(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    11ca <check_pem+0xba>
mov    -0x18(%rbp),%rdi
mov    0x2dd3(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    11ca <check_pem+0xba>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
mov    -0x10(%rbp),%rdi
mov    0x2e1b(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    120e <check_pem+0xfe>
mov    -0x18(%rbp),%rdi
mov    0x2d8f(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    120e <check_pem+0xfe>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
mov    -0x10(%rbp),%rdi
mov    0x2d77(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1252 <check_pem+0x142>
mov    -0x18(%rbp),%rdi
mov    0x2d4b(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1252 <check_pem+0x142>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
mov    -0x10(%rbp),%rdi
mov    0x2d7b(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1296 <check_pem+0x186>
mov    -0x18(%rbp),%rdi
mov    0x2d07(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1296 <check_pem+0x186>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
mov    -0x10(%rbp),%rdi
mov    0x2cf7(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    12da <check_pem+0x1ca>
mov    -0x18(%rbp),%rdi
mov    0x2d13(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    12da <check_pem+0x1ca>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
mov    -0x10(%rbp),%rdi
mov    0x2cdb(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    131e <check_pem+0x20e>
mov    -0x18(%rbp),%rdi
mov    0x2cb7(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    131e <check_pem+0x20e>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
mov    -0x10(%rbp),%rdi
mov    0x2ca7(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1362 <check_pem+0x252>
mov    -0x18(%rbp),%rdi
mov    0x2c9b(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1362 <check_pem+0x252>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
mov    -0x10(%rbp),%rdi
mov    0x2c2b(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    13a6 <check_pem+0x296>
mov    -0x18(%rbp),%rdi
mov    0x2c57(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    13a6 <check_pem+0x296>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
mov    -0x10(%rbp),%rdi
mov    0x2c1f(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    13ea <check_pem+0x2da>
mov    -0x18(%rbp),%rdi
mov    0x2bfb(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    13ea <check_pem+0x2da>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
mov    -0x10(%rbp),%rdi
mov    0x2bbb(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    142e <check_pem+0x31e>
mov    -0x18(%rbp),%rdi
mov    0x2bb7(%rip),%rax
mov    (%rax),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    142e <check_pem+0x31e>
movl   $0x1,-0x4(%rbp)
jmp    1435 <check_pem+0x325>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<check_pem>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %rsi,%rbx
mov    %rdi,%rbp
call   1030 <strcmp@plt>
mov    $0x1,%r14d
test   %eax,%eax
je     1318 <check_pem+0x208>
mov    0x2e50(%rip),%rax
mov    (%rax),%rsi
mov    %rbp,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
jne    1161 <check_pem+0x51>
mov    0x2e32(%rip),%rax
mov    (%rax),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1318 <check_pem+0x208>
mov    0x2e38(%rip),%rax
mov    (%rax),%rsi
mov    %rbp,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
jne    1191 <check_pem+0x81>
mov    0x2e02(%rip),%rax
mov    (%rax),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1318 <check_pem+0x208>
mov    0x2e58(%rip),%rax
mov    (%rax),%rsi
mov    %rbp,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
jne    11c1 <check_pem+0xb1>
mov    0x2dd2(%rip),%rax
mov    (%rax),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1318 <check_pem+0x208>
mov    0x2dc8(%rip),%rax
mov    (%rax),%rsi
mov    %rbp,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
jne    11f1 <check_pem+0xe1>
mov    0x2da2(%rip),%rax
mov    (%rax),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1318 <check_pem+0x208>
mov    0x2de0(%rip),%rax
mov    (%rax),%rsi
mov    %rbp,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
jne    1221 <check_pem+0x111>
mov    0x2d72(%rip),%rax
mov    (%rax),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1318 <check_pem+0x208>
mov    0x2d70(%rip),%rax
mov    (%rax),%rsi
mov    %rbp,%rdi
call   1030 <strcmp@plt>
mov    %eax,%r15d
test   %eax,%eax
jne    1254 <check_pem+0x144>
mov    0x2d8f(%rip),%rax
mov    (%rax),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1318 <check_pem+0x208>
mov    0x2d65(%rip),%rax
mov    (%rax),%rsi
mov    %rbp,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
jne    1284 <check_pem+0x174>
mov    0x2d47(%rip),%rax
mov    (%rax),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1318 <check_pem+0x208>
mov    0x2d45(%rip),%rax
mov    (%rax),%rsi
mov    %rbp,%rdi
call   1030 <strcmp@plt>
mov    %eax,%r12d
test   %eax,%eax
jne    12b3 <check_pem+0x1a3>
mov    0x2d3c(%rip),%rax
mov    (%rax),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1318 <check_pem+0x208>
test   %r15d,%r15d
jne    12ce <check_pem+0x1be>
mov    0x2d21(%rip),%rax
mov    (%rax),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1318 <check_pem+0x208>
test   %r12d,%r12d
jne    12e9 <check_pem+0x1d9>
mov    0x2cee(%rip),%rax
mov    (%rax),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1318 <check_pem+0x208>
mov    0x2cc0(%rip),%rax
mov    (%rax),%rsi
mov    %rbp,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
jne    1315 <check_pem+0x205>
mov    0x2cc2(%rip),%rax
mov    (%rax),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1318 <check_pem+0x208>
xor    %r14d,%r14d
mov    %r14d,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@PEM_STRING_PKCS8 = global i8* null
@PEM_STRING_EVP_PKEY = global i8* null
@PEM_STRING_PKCS8INF = global i8* null
@PEM_STRING_RSA = global i8* null
@PEM_STRING_DSA = global i8* null
@PEM_STRING_ECPRIVATEKEY = global i8* null
@PEM_STRING_X509_OLD = global i8* null
@PEM_STRING_X509 = global i8* null
@PEM_STRING_X509_REQ_OLD = global i8* null
@PEM_STRING_X509_REQ = global i8* null
@PEM_STRING_X509_TRUSTED = global i8* null
@PEM_STRING_PKCS7 = global i8* null
@PEM_STRING_PKCS7_SIGNED = global i8* null
define i32 @check_pem(i8* %0, i8* %1) {
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i8*
store i8* %0, i8** %4
store i8* %1, i8** %5
%6 = load i8*, i8** %4
%7 = load i8*, i8** %5
%8 = call i32 @strcmp(i8* %6, i8* %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %11, label %10
10: ; preds = %2
store i32 1, i32* %3
br label %133
11: ; preds = %2
%12 = load i8*, i8** %4
%13 = load i8*, i8** @PEM_STRING_PKCS8
%14 = call i32 @strcmp(i8* %12, i8* %13)
%15 = icmp ne i32 %14, 0
br i1 %15, label %22, label %16
16: ; preds = %11
%17 = load i8*, i8** %5
%18 = load i8*, i8** @PEM_STRING_EVP_PKEY
%19 = call i32 @strcmp(i8* %17, i8* %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %22, label %21
21: ; preds = %16
store i32 1, i32* %3
br label %133
22: ; preds = %16, %11
%23 = load i8*, i8** %4
%24 = load i8*, i8** @PEM_STRING_PKCS8INF
%25 = call i32 @strcmp(i8* %23, i8* %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %33, label %27
27: ; preds = %22
%28 = load i8*, i8** %5
%29 = load i8*, i8** @PEM_STRING_EVP_PKEY
%30 = call i32 @strcmp(i8* %28, i8* %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %33, label %32
32: ; preds = %27
store i32 1, i32* %3
br label %133
33: ; preds = %27, %22
%34 = load i8*, i8** %4
%35 = load i8*, i8** @PEM_STRING_RSA
%36 = call i32 @strcmp(i8* %34, i8* %35)
%37 = icmp ne i32 %36, 0
br i1 %37, label %44, label %38
38: ; preds = %33
%39 = load i8*, i8** %5
%40 = load i8*, i8** @PEM_STRING_EVP_PKEY
%41 = call i32 @strcmp(i8* %39, i8* %40)
%42 = icmp ne i32 %41, 0
br i1 %42, label %44, label %43
43: ; preds = %38
store i32 1, i32* %3
br label %133
44: ; preds = %38, %33
%45 = load i8*, i8** %4
%46 = load i8*, i8** @PEM_STRING_DSA
%47 = call i32 @strcmp(i8* %45, i8* %46)
%48 = icmp ne i32 %47, 0
br i1 %48, label %55, label %49
49: ; preds = %44
%50 = load i8*, i8** %5
%51 = load i8*, i8** @PEM_STRING_EVP_PKEY
%52 = call i32 @strcmp(i8* %50, i8* %51)
%53 = icmp ne i32 %52, 0
br i1 %53, label %55, label %54
54: ; preds = %49
store i32 1, i32* %3
br label %133
55: ; preds = %49, %44
%56 = load i8*, i8** %4
%57 = load i8*, i8** @PEM_STRING_ECPRIVATEKEY
%58 = call i32 @strcmp(i8* %56, i8* %57)
%59 = icmp ne i32 %58, 0
br i1 %59, label %66, label %60
60: ; preds = %55
%61 = load i8*, i8** %5
%62 = load i8*, i8** @PEM_STRING_EVP_PKEY
%63 = call i32 @strcmp(i8* %61, i8* %62)
%64 = icmp ne i32 %63, 0
br i1 %64, label %66, label %65
65: ; preds = %60
store i32 1, i32* %3
br label %133
66: ; preds = %60, %55
%67 = load i8*, i8** %4
%68 = load i8*, i8** @PEM_STRING_X509_OLD
%69 = call i32 @strcmp(i8* %67, i8* %68)
%70 = icmp ne i32 %69, 0
br i1 %70, label %77, label %71
71: ; preds = %66
%72 = load i8*, i8** %5
%73 = load i8*, i8** @PEM_STRING_X509
%74 = call i32 @strcmp(i8* %72, i8* %73)
%75 = icmp ne i32 %74, 0
br i1 %75, label %77, label %76
76: ; preds = %71
store i32 1, i32* %3
br label %133
77: ; preds = %71, %66
%78 = load i8*, i8** %4
%79 = load i8*, i8** @PEM_STRING_X509_REQ_OLD
%80 = call i32 @strcmp(i8* %78, i8* %79)
%81 = icmp ne i32 %80, 0
br i1 %81, label %88, label %82
82: ; preds = %77
%83 = load i8*, i8** %5
%84 = load i8*, i8** @PEM_STRING_X509_REQ
%85 = call i32 @strcmp(i8* %83, i8* %84)
%86 = icmp ne i32 %85, 0
br i1 %86, label %88, label %87
87: ; preds = %82
store i32 1, i32* %3
br label %133
88: ; preds = %82, %77
%89 = load i8*, i8** %4
%90 = load i8*, i8** @PEM_STRING_X509
%91 = call i32 @strcmp(i8* %89, i8* %90)
%92 = icmp ne i32 %91, 0
br i1 %92, label %99, label %93
93: ; preds = %88
%94 = load i8*, i8** %5
%95 = load i8*, i8** @PEM_STRING_X509_TRUSTED
%96 = call i32 @strcmp(i8* %94, i8* %95)
%97 = icmp ne i32 %96, 0
br i1 %97, label %99, label %98
98: ; preds = %93
store i32 1, i32* %3
br label %133
99: ; preds = %93, %88
%100 = load i8*, i8** %4
%101 = load i8*, i8** @PEM_STRING_X509_OLD
%102 = call i32 @strcmp(i8* %100, i8* %101)
%103 = icmp ne i32 %102, 0
br i1 %103, label %110, label %104
104: ; preds = %99
%105 = load i8*, i8** %5
%106 = load i8*, i8** @PEM_STRING_X509_TRUSTED
%107 = call i32 @strcmp(i8* %105, i8* %106)
%108 = icmp ne i32 %107, 0
br i1 %108, label %110, label %109
109: ; preds = %104
store i32 1, i32* %3
br label %133
110: ; preds = %104, %99
%111 = load i8*, i8** %4
%112 = load i8*, i8** @PEM_STRING_X509
%113 = call i32 @strcmp(i8* %111, i8* %112)
%114 = icmp ne i32 %113, 0
br i1 %114, label %121, label %115
115: ; preds = %110
%116 = load i8*, i8** %5
%117 = load i8*, i8** @PEM_STRING_PKCS7
%118 = call i32 @strcmp(i8* %116, i8* %117)
%119 = icmp ne i32 %118, 0
br i1 %119, label %121, label %120
120: ; preds = %115
store i32 1, i32* %3
br label %133
121: ; preds = %115, %110
%122 = load i8*, i8** %4
%123 = load i8*, i8** @PEM_STRING_PKCS7_SIGNED
%124 = call i32 @strcmp(i8* %122, i8* %123)
%125 = icmp ne i32 %124, 0
br i1 %125, label %132, label %126
126: ; preds = %121
%127 = load i8*, i8** %5
%128 = load i8*, i8** @PEM_STRING_PKCS7
%129 = call i32 @strcmp(i8* %127, i8* %128)
%130 = icmp ne i32 %129, 0
br i1 %130, label %132, label %131
131: ; preds = %126
store i32 1, i32* %3
br label %133
132: ; preds = %126, %121
store i32 0, i32* %3
br label %133
133: ; preds = %132, %131, %120, %109, %98, %87, %76, %65, %54, %43, %32, %21, %10
%134 = load i32, i32* %3
ret i32 %134
}

LLVM IR (-O2):
@PEM_STRING_PKCS8 = global i8* null
@PEM_STRING_EVP_PKEY = global i8* null
@PEM_STRING_PKCS8INF = global i8* null
@PEM_STRING_RSA = global i8* null
@PEM_STRING_DSA = global i8* null
@PEM_STRING_ECPRIVATEKEY = global i8* null
@PEM_STRING_X509_OLD = global i8* null
@PEM_STRING_X509 = global i8* null
@PEM_STRING_X509_REQ_OLD = global i8* null
@PEM_STRING_X509_REQ = global i8* null
@PEM_STRING_X509_TRUSTED = global i8* null
@PEM_STRING_PKCS7 = global i8* null
@PEM_STRING_PKCS7_SIGNED = global i8* null
define i32 @check_pem(i8* nocapture %0, i8* nocapture %1) {
%3 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(1) %1)
%4 = icmp eq i32 %3, 0
br i1 %4, label %88, label %5
5: ; preds = %2
%6 = load i8*, i8** @PEM_STRING_PKCS8
%7 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(1) %6)
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %5
%10 = load i8*, i8** @PEM_STRING_EVP_PKEY
%11 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(1) %10)
%12 = icmp eq i32 %11, 0
br i1 %12, label %88, label %13
13: ; preds = %9, %5
%14 = load i8*, i8** @PEM_STRING_PKCS8INF
%15 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(1) %14)
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %13
%18 = load i8*, i8** @PEM_STRING_EVP_PKEY
%19 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(1) %18)
%20 = icmp eq i32 %19, 0
br i1 %20, label %88, label %21
21: ; preds = %17, %13
%22 = load i8*, i8** @PEM_STRING_RSA
%23 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(1) %22)
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %21
%26 = load i8*, i8** @PEM_STRING_EVP_PKEY
%27 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(1) %26)
%28 = icmp eq i32 %27, 0
br i1 %28, label %88, label %29
29: ; preds = %25, %21
%30 = load i8*, i8** @PEM_STRING_DSA
%31 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(1) %30)
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %29
%34 = load i8*, i8** @PEM_STRING_EVP_PKEY
%35 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(1) %34)
%36 = icmp eq i32 %35, 0
br i1 %36, label %88, label %37
37: ; preds = %33, %29
%38 = load i8*, i8** @PEM_STRING_ECPRIVATEKEY
%39 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(1) %38)
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %37
%42 = load i8*, i8** @PEM_STRING_EVP_PKEY
%43 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(1) %42)
%44 = icmp eq i32 %43, 0
br i1 %44, label %88, label %45
45: ; preds = %41, %37
%46 = load i8*, i8** @PEM_STRING_X509_OLD
%47 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(1) %46)
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %45
%50 = load i8*, i8** @PEM_STRING_X509
%51 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(1) %50)
%52 = icmp eq i32 %51, 0
br i1 %52, label %88, label %53
53: ; preds = %49, %45
%54 = load i8*, i8** @PEM_STRING_X509_REQ_OLD
%55 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(1) %54)
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %61
57: ; preds = %53
%58 = load i8*, i8** @PEM_STRING_X509_REQ
%59 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(1) %58)
%60 = icmp eq i32 %59, 0
br i1 %60, label %88, label %61
61: ; preds = %57, %53
%62 = load i8*, i8** @PEM_STRING_X509
%63 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(1) %62)
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %69
65: ; preds = %61
%66 = load i8*, i8** @PEM_STRING_X509_TRUSTED
%67 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(1) %66)
%68 = icmp eq i32 %67, 0
br i1 %68, label %88, label %69
69: ; preds = %65, %61
br i1 %48, label %70, label %74
70: ; preds = %69
%71 = load i8*, i8** @PEM_STRING_X509_TRUSTED
%72 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(1) %71)
%73 = icmp eq i32 %72, 0
br i1 %73, label %88, label %74
74: ; preds = %70, %69
br i1 %64, label %75, label %79
75: ; preds = %74
%76 = load i8*, i8** @PEM_STRING_PKCS7
%77 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(1) %76)
%78 = icmp eq i32 %77, 0
br i1 %78, label %88, label %79
79: ; preds = %75, %74
%80 = load i8*, i8** @PEM_STRING_PKCS7_SIGNED
%81 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(1) %80)
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %87
83: ; preds = %79
%84 = load i8*, i8** @PEM_STRING_PKCS7
%85 = tail call i32 @strcmp(i8* dereferenceable(1) %1, i8* dereferenceable(1) %84)
%86 = icmp eq i32 %85, 0
br i1 %86, label %88, label %87
87: ; preds = %83, %79
br label %88
88: ; preds = %83, %75, %70, %65, %57, %49, %41, %33, %25, %17, %9, %2, %87
%89 = phi i32 [ 0, %87 ], [ 1, %2 ], [ 1, %9 ], [ 1, %17 ], [ 1, %25 ], [ 1, %33 ], [ 1, %41 ], [ 1, %49 ], [ 1, %57 ], [ 1, %65 ], [ 1, %70 ], [ 1, %75 ], [ 1, %83 ]
ret i32 %89
}