	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_crl                       ## -- Begin function load_crl
	.p2align	4, 0x90
_load_crl:                              ## @load_crl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	$0, -24(%rbp)
	movq	_FORMAT_HTTP@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	-24(%rbp), %rdx
	xorl	%esi, %esi
	callq	_load_cert_crl_http
	movq	-24(%rbp), %rbx
	jmp	LBB0_11
LBB0_2:
	movl	%esi, %ebx
	movl	$114, %esi
	movl	%ebx, %edx
	callq	_bio_open_default
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	_FORMAT_ASN1@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_d2i_X509_CRL_bio
	jmp	LBB0_7
LBB0_5:
	movq	_FORMAT_PEM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_12
## %bb.6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PEM_read_bio_X509_CRL
LBB0_7:
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_BIO_printf
	movl	(%rbx), %edi
	callq	_ERR_print_errors
	jmp	LBB0_9
LBB0_12:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_printf
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%r14, %rdi
	callq	_BIO_free
LBB0_11:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FORMAT_HTTP,4,2                ## @FORMAT_HTTP
	.comm	_FORMAT_ASN1,4,2                ## @FORMAT_ASN1
	.comm	_FORMAT_PEM,4,2                 ## @FORMAT_PEM
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad input format specified for input crl\n"

L_.str.1:                               ## @.str.1
	.asciz	"unable to load CRL\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_crl                       ; -- Begin function load_crl
	.p2align	2
_load_crl:                              ; @load_crl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _FORMAT_HTTP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FORMAT_HTTP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	add	x2, sp, #8
	mov	x1, #0
	bl	_load_cert_crl_http
	ldr	x20, [sp, #8]
	b	LBB0_11
LBB0_2:
	mov	x20, x1
	mov	w1, #114
	mov	x2, x20
	bl	_bio_open_default
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.3:
Lloh3:
	adrp	x8, _FORMAT_ASN1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FORMAT_ASN1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, #0
	bl	_d2i_X509_CRL_bio
	mov	x20, x0
	cbnz	x0, LBB0_10
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _FORMAT_PEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FORMAT_PEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_PEM_read_bio_X509_CRL
	mov	x20, x0
	cbnz	x0, LBB0_10
LBB0_7:
Lloh9:
	adrp	x20, _bio_err@GOTPAGE
Lloh10:
	ldr	x20, [x20, _bio_err@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x20]
	bl	_ERR_print_errors
	b	LBB0_9
LBB0_8:
Lloh13:
	adrp	x8, _bio_err@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x0, x19
	bl	_BIO_free
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_FORMAT_HTTP,4,2                ; @FORMAT_HTTP
	.comm	_FORMAT_ASN1,4,2                ; @FORMAT_ASN1
	.comm	_FORMAT_PEM,4,2                 ; @FORMAT_PEM
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad input format specified for input crl\n"

l_.str.1:                               ; @.str.1
	.asciz	"unable to load CRL\n"

.subsections_via_symbols
