#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_4__ TYPE_1__;

/* Type definitions */
typedef scalar_t__ time_t;
struct tm {
  int dummy;
};
struct TYPE_4__ {
  int /*<<< orphan*/ length;
  int /*<<< orphan*/ data;
};
typedef TYPE_1__ ASN1_GENERALIZEDTIME;

/* Variables and functions */
scalar_t__ ASN1_time_parse(int /*<<< orphan*/, int /*<<< orphan*/, struct tm *,
                           scalar_t__);
scalar_t__ ASN1_time_tm_cmp(struct tm *, struct tm *);
int /*<<< orphan*/ OCSP_R_ERROR_IN_NEXTUPDATE_FIELD;
int /*<<< orphan*/ OCSP_R_ERROR_IN_THISUPDATE_FIELD;
int /*<<< orphan*/ OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE;
int /*<<< orphan*/ OCSP_R_STATUS_EXPIRED;
int /*<<< orphan*/ OCSP_R_STATUS_NOT_YET_VALID;
int /*<<< orphan*/ OCSP_R_STATUS_TOO_OLD;
int /*<<< orphan*/ OCSPerror(int /*<<< orphan*/);
scalar_t__ V_ASN1_GENERALIZEDTIME;
int /*<<< orphan*/ *gmtime_r(scalar_t__ *, struct tm *);
int /*<<< orphan*/ time(scalar_t__ *);
int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd,
                        ASN1_GENERALIZEDTIME *nextupd, long nsec, long maxsec) {
  time_t t_now, t_tmp;
  struct tm tm_this, tm_next, tm_tmp;
  time(&t_now);
  if (ASN1_time_parse(thisupd->data, thisupd->length, &tm_this,
                      V_ASN1_GENERALIZEDTIME) != V_ASN1_GENERALIZEDTIME) {
    OCSPerror(OCSP_R_ERROR_IN_THISUPDATE_FIELD);
    return 0;
  } else {
    t_tmp = t_now + nsec;
    if (gmtime_r(&t_tmp, &tm_tmp) == NULL)
      return 0;
    if (ASN1_time_tm_cmp(&tm_this, &tm_tmp) > 0) {
      OCSPerror(OCSP_R_STATUS_NOT_YET_VALID);
      return 0;
    }
    if (maxsec >= 0) {
      t_tmp = t_now - maxsec;
      if (gmtime_r(&t_tmp, &tm_tmp) == NULL)
        return 0;
      if (ASN1_time_tm_cmp(&tm_this, &tm_tmp) < 0) {
        OCSPerror(OCSP_R_STATUS_TOO_OLD);
        return 0;
      }
    }
  }
  if (!nextupd)
    return 1;
  if (ASN1_time_parse(nextupd->data, nextupd->length, &tm_next,
                      V_ASN1_GENERALIZEDTIME) != V_ASN1_GENERALIZEDTIME) {
    OCSPerror(OCSP_R_ERROR_IN_NEXTUPDATE_FIELD);
    return 0;
  } else {
    t_tmp = t_now - nsec;
    if (gmtime_r(&t_tmp, &tm_tmp) == NULL)
      return 0;
    if (ASN1_time_tm_cmp(&tm_next, &tm_tmp) < 0) {
      OCSPerror(OCSP_R_STATUS_EXPIRED);
      return 0;
    }
  }
  if (ASN1_time_tm_cmp(&tm_next, &tm_this) < 0) {
    OCSPerror(OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE);
    return 0;
  }
  return 1;
}


x86 assembly (clang, -O0):
<OCSP_check_validity>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
lea    -0x30(%rbp),%rdi
call   1060 <time@plt>
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%esi
mov    0x2e53(%rip),%rax
mov    (%rax),%rcx
lea    -0x40(%rbp),%rdx
call   1050 <ASN1_time_parse@plt>
mov    0x2e40(%rip),%rcx
cmp    (%rcx),%rax
je     11bb <OCSP_check_validity+0x6b>
mov    0x2e18(%rip),%rax
mov    (%rax),%edi
call   1070 <OCSPerror@plt>
movl   $0x0,-0x4(%rbp)
jmp    138e <OCSP_check_validity+0x23e>
mov    -0x30(%rbp),%rax
add    -0x20(%rbp),%rax
mov    %rax,-0x38(%rbp)
lea    -0x38(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1030 <gmtime_r@plt>
cmp    $0x0,%rax
jne    11ea <OCSP_check_validity+0x9a>
movl   $0x0,-0x4(%rbp)
jmp    138e <OCSP_check_validity+0x23e>
lea    -0x40(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1040 <ASN1_time_tm_cmp@plt>
cmp    $0x0,%rax
jle    121b <OCSP_check_validity+0xcb>
mov    0x2de8(%rip),%rax
mov    (%rax),%edi
call   1070 <OCSPerror@plt>
movl   $0x0,-0x4(%rbp)
jmp    138e <OCSP_check_validity+0x23e>
cmpq   $0x0,-0x28(%rbp)
jl     128b <OCSP_check_validity+0x13b>
mov    -0x30(%rbp),%rax
sub    -0x28(%rbp),%rax
mov    %rax,-0x38(%rbp)
lea    -0x38(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1030 <gmtime_r@plt>
cmp    $0x0,%rax
jne    1255 <OCSP_check_validity+0x105>
movl   $0x0,-0x4(%rbp)
jmp    138e <OCSP_check_validity+0x23e>
lea    -0x40(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1040 <ASN1_time_tm_cmp@plt>
cmp    $0x0,%rax
jge    1286 <OCSP_check_validity+0x136>
mov    0x2d3d(%rip),%rax
mov    (%rax),%edi
call   1070 <OCSPerror@plt>
movl   $0x0,-0x4(%rbp)
jmp    138e <OCSP_check_validity+0x23e>
jmp    128b <OCSP_check_validity+0x13b>
jmp    1290 <OCSP_check_validity+0x140>
cmpq   $0x0,-0x18(%rbp)
jne    12a7 <OCSP_check_validity+0x157>
movl   $0x1,-0x4(%rbp)
jmp    138e <OCSP_check_validity+0x23e>
mov    -0x18(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x18(%rbp),%rax
mov    (%rax),%esi
mov    0x2d1d(%rip),%rax
mov    (%rax),%rcx
lea    -0x48(%rbp),%rdx
call   1050 <ASN1_time_parse@plt>
mov    0x2d0a(%rip),%rcx
cmp    (%rcx),%rax
je     12f1 <OCSP_check_validity+0x1a1>
mov    0x2d02(%rip),%rax
mov    (%rax),%edi
call   1070 <OCSPerror@plt>
movl   $0x0,-0x4(%rbp)
jmp    138e <OCSP_check_validity+0x23e>
mov    -0x30(%rbp),%rax
sub    -0x20(%rbp),%rax
mov    %rax,-0x38(%rbp)
lea    -0x38(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1030 <gmtime_r@plt>
cmp    $0x0,%rax
jne    1320 <OCSP_check_validity+0x1d0>
movl   $0x0,-0x4(%rbp)
jmp    138e <OCSP_check_validity+0x23e>
lea    -0x48(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1040 <ASN1_time_tm_cmp@plt>
cmp    $0x0,%rax
jge    1351 <OCSP_check_validity+0x201>
mov    0x2c7a(%rip),%rax
mov    (%rax),%edi
call   1070 <OCSPerror@plt>
movl   $0x0,-0x4(%rbp)
jmp    138e <OCSP_check_validity+0x23e>
jmp    1356 <OCSP_check_validity+0x206>
lea    -0x48(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1040 <ASN1_time_tm_cmp@plt>
cmp    $0x0,%rax
jge    1387 <OCSP_check_validity+0x237>
mov    0x2c54(%rip),%rax
mov    (%rax),%edi
call   1070 <OCSPerror@plt>
movl   $0x0,-0x4(%rbp)
jmp    138e <OCSP_check_validity+0x23e>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<OCSP_check_validity>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x30,%rsp
mov    %rcx,%rbx
mov    %rdx,%r15
mov    %rsi,%r14
mov    %rdi,%rbp
lea    0x28(%rsp),%rdi
call   1060 <time@plt>
mov    0x0(%rbp),%esi
mov    0x4(%rbp),%edi
mov    0x2e59(%rip),%r12
mov    (%r12),%rcx
lea    0x10(%rsp),%rdx
call   1050 <ASN1_time_parse@plt>
cmp    (%r12),%rax
jne    11d3 <OCSP_check_validity+0x83>
mov    0x28(%rsp),%rax
add    %r15,%rax
mov    %rax,0x20(%rsp)
lea    0x20(%rsp),%rdi
lea    0x8(%rsp),%rsi
call   1030 <gmtime_r@plt>
xor    %ebp,%ebp
test   %rax,%rax
je     11e3 <OCSP_check_validity+0x93>
lea    0x10(%rsp),%rdi
lea    0x8(%rsp),%rsi
call   1040 <ASN1_time_tm_cmp@plt>
test   %rax,%rax
jle    11f2 <OCSP_check_validity+0xa2>
mov    0x2e1f(%rip),%rax
jmp    11da <OCSP_check_validity+0x8a>
mov    0x2de6(%rip),%rax
mov    (%rax),%edi
call   1070 <OCSPerror@plt>
xor    %ebp,%ebp
mov    %ebp,%eax
add    $0x30,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
test   %rbx,%rbx
js     1230 <OCSP_check_validity+0xe0>
mov    0x28(%rsp),%rax
sub    %rbx,%rax
mov    %rax,0x20(%rsp)
lea    0x20(%rsp),%rdi
lea    0x8(%rsp),%rsi
call   1030 <gmtime_r@plt>
test   %rax,%rax
je     11e3 <OCSP_check_validity+0x93>
lea    0x10(%rsp),%rdi
lea    0x8(%rsp),%rsi
call   1040 <ASN1_time_tm_cmp@plt>
test   %rax,%rax
js     12c8 <OCSP_check_validity+0x178>
test   %r14,%r14
je     12b2 <OCSP_check_validity+0x162>
mov    (%r14),%esi
mov    0x4(%r14),%edi
mov    (%r12),%rcx
lea    0x18(%rsp),%rdx
call   1050 <ASN1_time_parse@plt>
cmp    (%r12),%rax
jne    12bc <OCSP_check_validity+0x16c>
mov    0x28(%rsp),%rax
sub    %r15,%rax
mov    %rax,0x20(%rsp)
lea    0x20(%rsp),%rdi
lea    0x8(%rsp),%rsi
call   1030 <gmtime_r@plt>
test   %rax,%rax
je     11e3 <OCSP_check_validity+0x93>
lea    0x18(%rsp),%rdi
lea    0x8(%rsp),%rsi
call   1040 <ASN1_time_tm_cmp@plt>
test   %rax,%rax
js     12d4 <OCSP_check_validity+0x184>
lea    0x18(%rsp),%rdi
lea    0x10(%rsp),%rsi
call   1040 <ASN1_time_tm_cmp@plt>
mov    $0x1,%ebp
test   %rax,%rax
jns    11e3 <OCSP_check_validity+0x93>
mov    0x2d1b(%rip),%rax
jmp    11da <OCSP_check_validity+0x8a>
mov    $0x1,%ebp
jmp    11e3 <OCSP_check_validity+0x93>
mov    0x2d1d(%rip),%rax
jmp    11da <OCSP_check_validity+0x8a>
mov    0x2ce1(%rip),%rax
jmp    11da <OCSP_check_validity+0x8a>
mov    0x2cdd(%rip),%rax
jmp    11da <OCSP_check_validity+0x8a>

LLVM IR (-O0):
%struct.TYPE_4__ = type { i32, i32 }
%struct.tm = type { i32 }
@V_ASN1_GENERALIZEDTIME = global i64 0
@OCSP_R_ERROR_IN_THISUPDATE_FIELD = global i32 0
@OCSP_R_STATUS_NOT_YET_VALID = global i32 0
@OCSP_R_STATUS_TOO_OLD = global i32 0
@OCSP_R_ERROR_IN_NEXTUPDATE_FIELD = global i32 0
@OCSP_R_STATUS_EXPIRED = global i32 0
@OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE = global i32 0
define i32 @OCSP_check_validity(%struct.TYPE_4__* %0, %struct.TYPE_4__* %1, i64 %2, i64 %3) {
%5 = alloca i32
%6 = alloca %struct.TYPE_4__*
%7 = alloca %struct.TYPE_4__*
%8 = alloca i64
%9 = alloca i64
%10 = alloca i64
%11 = alloca i64
%12 = alloca %struct.tm
%13 = alloca %struct.tm
%14 = alloca %struct.tm
store %struct.TYPE_4__* %0, %struct.TYPE_4__** %6
store %struct.TYPE_4__* %1, %struct.TYPE_4__** %7
store i64 %2, i64* %8
store i64 %3, i64* %9
%15 = call i32 @time(i64* %10)
%16 = load %struct.TYPE_4__*, %struct.TYPE_4__** %6
%17 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %16, i32 0, i32 1
%18 = load i32, i32* %17
%19 = load %struct.TYPE_4__*, %struct.TYPE_4__** %6
%20 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %19, i32 0, i32 0
%21 = load i32, i32* %20
%22 = load i64, i64* @V_ASN1_GENERALIZEDTIME
%23 = call i64 @ASN1_time_parse(i32 %18, i32 %21, %struct.tm* %12, i64 %22)
%24 = load i64, i64* @V_ASN1_GENERALIZEDTIME
%25 = icmp ne i64 %23, %24
br i1 %25, label %26, label %29
26: ; preds = %4
%27 = load i32, i32* @OCSP_R_ERROR_IN_THISUPDATE_FIELD
%28 = call i32 @OCSPerror(i32 %27)
store i32 0, i32* %5
br label %99
29: ; preds = %4
%30 = load i64, i64* %10
%31 = load i64, i64* %8
%32 = add nsw i64 %30, %31
store i64 %32, i64* %11
%33 = call i32* @gmtime_r(i64* %11, %struct.tm* %14)
%34 = icmp eq i32* %33, null
br i1 %34, label %35, label %36
35: ; preds = %29
store i32 0, i32* %5
br label %99
36: ; preds = %29
%37 = call i64 @ASN1_time_tm_cmp(%struct.tm* %12, %struct.tm* %14)
%38 = icmp sgt i64 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = load i32, i32* @OCSP_R_STATUS_NOT_YET_VALID
%41 = call i32 @OCSPerror(i32 %40)
store i32 0, i32* %5
br label %99
42: ; preds = %36
%43 = load i64, i64* %9
%44 = icmp sge i64 %43, 0
br i1 %44, label %45, label %59
45: ; preds = %42
%46 = load i64, i64* %10
%47 = load i64, i64* %9
%48 = sub nsw i64 %46, %47
store i64 %48, i64* %11
%49 = call i32* @gmtime_r(i64* %11, %struct.tm* %14)
%50 = icmp eq i32* %49, null
br i1 %50, label %51, label %52
51: ; preds = %45
store i32 0, i32* %5
br label %99
52: ; preds = %45
%53 = call i64 @ASN1_time_tm_cmp(%struct.tm* %12, %struct.tm* %14)
%54 = icmp slt i64 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load i32, i32* @OCSP_R_STATUS_TOO_OLD
%57 = call i32 @OCSPerror(i32 %56)
store i32 0, i32* %5
br label %99
58: ; preds = %52
br label %59
59: ; preds = %58, %42
br label %60
60: ; preds = %59
%61 = load %struct.TYPE_4__*, %struct.TYPE_4__** %7
%62 = icmp ne %struct.TYPE_4__* %61, null
br i1 %62, label %64, label %63
63: ; preds = %60
store i32 1, i32* %5
br label %99
64: ; preds = %60
%65 = load %struct.TYPE_4__*, %struct.TYPE_4__** %7
%66 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %65, i32 0, i32 1
%67 = load i32, i32* %66
%68 = load %struct.TYPE_4__*, %struct.TYPE_4__** %7
%69 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %68, i32 0, i32 0
%70 = load i32, i32* %69
%71 = load i64, i64* @V_ASN1_GENERALIZEDTIME
%72 = call i64 @ASN1_time_parse(i32 %67, i32 %70, %struct.tm* %13, i64 %71)
%73 = load i64, i64* @V_ASN1_GENERALIZEDTIME
%74 = icmp ne i64 %72, %73
br i1 %74, label %75, label %78
75: ; preds = %64
%76 = load i32, i32* @OCSP_R_ERROR_IN_NEXTUPDATE_FIELD
%77 = call i32 @OCSPerror(i32 %76)
store i32 0, i32* %5
br label %99
78: ; preds = %64
%79 = load i64, i64* %10
%80 = load i64, i64* %8
%81 = sub nsw i64 %79, %80
store i64 %81, i64* %11
%82 = call i32* @gmtime_r(i64* %11, %struct.tm* %14)
%83 = icmp eq i32* %82, null
br i1 %83, label %84, label %85
84: ; preds = %78
store i32 0, i32* %5
br label %99
85: ; preds = %78
%86 = call i64 @ASN1_time_tm_cmp(%struct.tm* %13, %struct.tm* %14)
%87 = icmp slt i64 %86, 0
br i1 %87, label %88, label %91
88: ; preds = %85
%89 = load i32, i32* @OCSP_R_STATUS_EXPIRED
%90 = call i32 @OCSPerror(i32 %89)
store i32 0, i32* %5
br label %99
91: ; preds = %85
br label %92
92: ; preds = %91
%93 = call i64 @ASN1_time_tm_cmp(%struct.tm* %13, %struct.tm* %12)
%94 = icmp slt i64 %93, 0
br i1 %94, label %95, label %98
95: ; preds = %92
%96 = load i32, i32* @OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE
%97 = call i32 @OCSPerror(i32 %96)
store i32 0, i32* %5
br label %99
98: ; preds = %92
store i32 1, i32* %5
br label %99
99: ; preds = %98, %95, %88, %84, %75, %63, %55, %51, %39, %35, %26
%100 = load i32, i32* %5
ret i32 %100
}

LLVM IR (-O2):
%struct.TYPE_4__ = type { i32, i32 }
%struct.tm = type { i32 }
@V_ASN1_GENERALIZEDTIME = global i64 0
@OCSP_R_ERROR_IN_THISUPDATE_FIELD = global i32 0
@OCSP_R_STATUS_NOT_YET_VALID = global i32 0
@OCSP_R_STATUS_TOO_OLD = global i32 0
@OCSP_R_ERROR_IN_NEXTUPDATE_FIELD = global i32 0
@OCSP_R_STATUS_EXPIRED = global i32 0
@OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE = global i32 0
define i32 @OCSP_check_validity(%struct.TYPE_4__* nocapture %0, %struct.TYPE_4__* %1, i64 %2, i64 %3) {
%5 = alloca i64
%6 = alloca i64
%7 = alloca %struct.tm
%8 = alloca %struct.tm
%9 = alloca %struct.tm
%10 = bitcast i64* %5 to i8*
%11 = bitcast i64* %6 to i8*
%12 = bitcast %struct.tm* %7 to i8*
%13 = bitcast %struct.tm* %8 to i8*
%14 = bitcast %struct.tm* %9 to i8*
%15 = call i32 @time(i64* %5)
%16 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %0, i64 0, i32 1
%17 = load i32, i32* %16
%18 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %0, i64 0, i32 0
%19 = load i32, i32* %18
%20 = load i64, i64* @V_ASN1_GENERALIZEDTIME
%21 = call i64 @ASN1_time_parse(i32 %17, i32 %19, %struct.tm* %7, i64 %20)
%22 = load i64, i64* @V_ASN1_GENERALIZEDTIME
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %64
24: ; preds = %4
%25 = load i64, i64* %5
%26 = add nsw i64 %25, %2
store i64 %26, i64* %6
%27 = call i32* @gmtime_r(i64* %6, %struct.tm* %9)
%28 = icmp eq i32* %27, null
br i1 %28, label %68, label %29
29: ; preds = %24
%30 = call i64 @ASN1_time_tm_cmp(%struct.tm* %7, %struct.tm* %9)
%31 = icmp sgt i64 %30, 0
br i1 %31, label %64, label %32
32: ; preds = %29
%33 = icmp sgt i64 %3, -1
br i1 %33, label %34, label %42
34: ; preds = %32
%35 = load i64, i64* %5
%36 = sub nsw i64 %35, %3
store i64 %36, i64* %6
%37 = call i32* @gmtime_r(i64* %6, %struct.tm* %9)
%38 = icmp eq i32* %37, null
br i1 %38, label %68, label %39
39: ; preds = %34
%40 = call i64 @ASN1_time_tm_cmp(%struct.tm* %7, %struct.tm* %9)
%41 = icmp slt i64 %40, 0
br i1 %41, label %64, label %42
42: ; preds = %32, %39
%43 = icmp eq %struct.TYPE_4__* %1, null
br i1 %43, label %68, label %44
44: ; preds = %42
%45 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %1, i64 0, i32 1
%46 = load i32, i32* %45
%47 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %1, i64 0, i32 0
%48 = load i32, i32* %47
%49 = load i64, i64* @V_ASN1_GENERALIZEDTIME
%50 = call i64 @ASN1_time_parse(i32 %46, i32 %48, %struct.tm* %8, i64 %49)
%51 = load i64, i64* @V_ASN1_GENERALIZEDTIME
%52 = icmp eq i64 %50, %51
br i1 %52, label %53, label %64
53: ; preds = %44
%54 = load i64, i64* %5
%55 = sub nsw i64 %54, %2
store i64 %55, i64* %6
%56 = call i32* @gmtime_r(i64* %6, %struct.tm* %9)
%57 = icmp eq i32* %56, null
br i1 %57, label %68, label %58
58: ; preds = %53
%59 = call i64 @ASN1_time_tm_cmp(%struct.tm* %8, %struct.tm* %9)
%60 = icmp slt i64 %59, 0
br i1 %60, label %64, label %61
61: ; preds = %58
%62 = call i64 @ASN1_time_tm_cmp(%struct.tm* %8, %struct.tm* %7)
%63 = icmp slt i64 %62, 0
br i1 %63, label %64, label %68
64: ; preds = %61, %58, %44, %39, %29, %4
%65 = phi i32* [ @OCSP_R_ERROR_IN_THISUPDATE_FIELD, %4 ], [ @OCSP_R_STATUS_NOT_YET_VALID, %29 ], [ @OCSP_R_STATUS_TOO_OLD, %39 ], [ @OCSP_R_ERROR_IN_NEXTUPDATE_FIELD, %44 ], [ @OCSP_R_STATUS_EXPIRED, %58 ], [ @OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE, %61 ]
%66 = load i32, i32* %65
%67 = call i32 @OCSPerror(i32 %66)
br label %68
68: ; preds = %64, %61, %53, %42, %34, %24
%69 = phi i32 [ 0, %24 ], [ 0, %34 ], [ 1, %42 ], [ 0, %53 ], [ 1, %61 ], [ 0, %64 ]
ret i32 %69
}