	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_crl_score
_get_crl_score:                         ## @get_crl_score
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	$0, -44(%rbp)
	movl	(%rcx), %eax
	movq	_IDP_INVALID@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	testl	%eax, (%rcx)
	je	LBB0_1
LBB0_19:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r13
	movl	(%rdx), %edi
	movq	(%r13), %rcx
	movq	_X509_V_FLAG_EXTENDED_CRL_SUPPORT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	testl	%ebx, (%rcx)
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.3:
	movq	_IDP_REASONS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movl	%edi, %eax
	notl	%eax
	testl	%eax, 4(%r15)
	jne	LBB0_6
	jmp	LBB0_19
LBB0_2:
	movq	_IDP_INDIRECT@GOTPCREL(%rip), %rcx
	movq	_IDP_REASONS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	jne	LBB0_19
	jmp	LBB0_6
LBB0_5:
	cmpq	$0, 16(%r15)
	jne	LBB0_19
LBB0_6:
	movq	%r8, %rbx
	movq	%r8, %rdi
	callq	_X509_get_issuer_name
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_X509_CRL_get_issuer
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_X509_NAME_cmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_IDP_INDIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r12d, %r12d
	movl	$0, %r14d
	testl	%eax, (%r15)
	jne	LBB0_9
	jmp	LBB0_19
LBB0_8:
	movq	_CRL_SCORE_ISSUER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, -44(%rbp)
LBB0_9:
	movq	_EXFLAG_CRITICAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	jne	LBB0_11
## %bb.10:
	movq	_CRL_SCORE_NOCRITICAL@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movl	%r12d, -44(%rbp)
LBB0_11:
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_check_crl_time
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_CRL_SCORE_TIME@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movl	%r12d, -44(%rbp)
LBB0_13:
	leaq	-44(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_crl_akid_check
	movl	-44(%rbp), %edx
	movq	_CRL_SCORE_AKID@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_19
## %bb.14:
	leaq	-52(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_crl_crldp_check
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movl	-52(%rbp), %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	notl	%ecx
	testl	%ecx, %eax
	je	LBB0_19
## %bb.17:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	orl	%eax, %ecx
	movq	_CRL_SCORE_SCOPE@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %r14d
	orl	(%rax), %r14d
	jmp	LBB0_18
LBB0_15:
	movl	-44(%rbp), %r14d
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_18:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, (%rax)
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_IDP_INVALID,4,2                ## @IDP_INVALID
	.comm	_X509_V_FLAG_EXTENDED_CRL_SUPPORT,4,2 ## @X509_V_FLAG_EXTENDED_CRL_SUPPORT
	.comm	_IDP_INDIRECT,4,2               ## @IDP_INDIRECT
	.comm	_IDP_REASONS,4,2                ## @IDP_REASONS
	.comm	_CRL_SCORE_ISSUER_NAME,4,2      ## @CRL_SCORE_ISSUER_NAME
	.comm	_EXFLAG_CRITICAL,4,2            ## @EXFLAG_CRITICAL
	.comm	_CRL_SCORE_NOCRITICAL,4,2       ## @CRL_SCORE_NOCRITICAL
	.comm	_CRL_SCORE_TIME,4,2             ## @CRL_SCORE_TIME
	.comm	_CRL_SCORE_AKID,4,2             ## @CRL_SCORE_AKID
	.comm	_CRL_SCORE_SCOPE,4,2            ## @CRL_SCORE_SCOPE
	.no_dead_strip	_get_crl_score
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_crl_score
_get_crl_score:                         ; @get_crl_score
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x0
	mov	w0, #0
	str	wzr, [sp, #12]
	ldr	w8, [x3]
Lloh0:
	adrp	x9, _IDP_INVALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IDP_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_18
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	ldr	w25, [x2]
	ldr	x9, [x23]
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _X509_V_FLAG_EXTENDED_CRL_SUPPORT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _X509_V_FLAG_EXTENDED_CRL_SUPPORT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x9, _IDP_REASONS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IDP_REASONS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x21, #4]
	bics	wzr, w8, w25
	b.ne	LBB0_6
	b	LBB0_17
LBB0_4:
Lloh9:
	adrp	x9, _IDP_INDIRECT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IDP_INDIRECT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _IDP_REASONS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IDP_REASONS@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_17
	b	LBB0_6
LBB0_5:
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_17
LBB0_6:
	mov	x0, x20
	bl	_X509_get_issuer_name
	mov	x24, x0
	mov	x0, x21
	bl	_X509_CRL_get_issuer
	mov	x1, x0
	mov	x0, x24
	bl	_X509_NAME_cmp
	cbz	x0, LBB0_8
; %bb.7:
	mov	w24, #0
	mov	w0, #0
	ldr	w8, [x21]
Lloh15:
	adrp	x9, _IDP_INDIRECT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IDP_INDIRECT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
	b	LBB0_18
LBB0_8:
Lloh18:
	adrp	x8, _CRL_SCORE_ISSUER_NAME@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CRL_SCORE_ISSUER_NAME@GOTPAGEOFF]
Lloh20:
	ldr	w24, [x8]
	str	w24, [sp, #12]
LBB0_9:
	ldr	w8, [x21, #8]
Lloh21:
	adrp	x9, _EXFLAG_CRITICAL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EXFLAG_CRITICAL@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.10:
Lloh24:
	adrp	x8, _CRL_SCORE_NOCRITICAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CRL_SCORE_NOCRITICAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w24, w24, w8
	str	w24, [sp, #12]
LBB0_11:
	mov	x0, x23
	mov	x1, x21
	mov	w2, #0
	bl	_check_crl_time
	cbz	x0, LBB0_13
; %bb.12:
Lloh27:
	adrp	x8, _CRL_SCORE_TIME@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CRL_SCORE_TIME@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w8, w24, w8
	str	w8, [sp, #12]
LBB0_13:
	add	x3, sp, #12
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	bl	_crl_akid_check
	ldr	w2, [sp, #12]
Lloh30:
	adrp	x8, _CRL_SCORE_AKID@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CRL_SCORE_AKID@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_17
; %bb.14:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_crl_crldp_check
	cbz	x0, LBB0_19
; %bb.15:
	ldr	w8, [sp, #8]
	bics	wzr, w8, w25
	b.eq	LBB0_17
; %bb.16:
	orr	w25, w8, w25
Lloh33:
	adrp	x8, _CRL_SCORE_SCOPE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CRL_SCORE_SCOPE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w0, w9, w8
	b	LBB0_20
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_19:
	ldr	w0, [sp, #12]
LBB0_20:
	str	w25, [x19]
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_IDP_INVALID,4,2                ; @IDP_INVALID
	.comm	_X509_V_FLAG_EXTENDED_CRL_SUPPORT,4,2 ; @X509_V_FLAG_EXTENDED_CRL_SUPPORT
	.comm	_IDP_INDIRECT,4,2               ; @IDP_INDIRECT
	.comm	_IDP_REASONS,4,2                ; @IDP_REASONS
	.comm	_CRL_SCORE_ISSUER_NAME,4,2      ; @CRL_SCORE_ISSUER_NAME
	.comm	_EXFLAG_CRITICAL,4,2            ; @EXFLAG_CRITICAL
	.comm	_CRL_SCORE_NOCRITICAL,4,2       ; @CRL_SCORE_NOCRITICAL
	.comm	_CRL_SCORE_TIME,4,2             ; @CRL_SCORE_TIME
	.comm	_CRL_SCORE_AKID,4,2             ; @CRL_SCORE_AKID
	.comm	_CRL_SCORE_SCOPE,4,2            ; @CRL_SCORE_SCOPE
	.no_dead_strip	_get_crl_score
.subsections_via_symbols
