	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_cert_crl_http
_load_cert_crl_http:                    ## @load_cert_crl_http
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	leaq	-48(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-76(%rbp), %r8
	callq	_OCSP_parse_url
	testl	%eax, %eax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.1:
	cmpl	$0, -76(%rbp)
	je	LBB0_3
## %bb.2:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_puts
LBB0_11:
	xorl	%r12d, %r12d
LBB0_12:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
LBB0_13:
	movq	-48(%rbp), %rdi
	callq	_OPENSSL_free
	movq	-64(%rbp), %rdi
	callq	_OPENSSL_free
	movq	-72(%rbp), %rdi
	callq	_OPENSSL_free
	movq	%r12, %rdi
	callq	_BIO_free_all
	movq	%r13, %rdi
	callq	_OCSP_REQ_CTX_free
	cmpl	$1, %ebx
	je	LBB0_15
## %bb.14:
	movq	_bio_err@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rcx
	callq	_BIO_printf
	movl	(%r14), %edi
	callq	_ERR_print_errors
LBB0_15:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-48(%rbp), %rdi
	callq	_BIO_new_connect
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %r12
	movq	-72(%rbp), %rsi
	movq	%rax, %rdi
	callq	_BIO_set_conn_port
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	movq	%r12, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_OCSP_REQ_CTX_new
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_18
## %bb.6:
	movq	%rax, %r13
	movq	-64(%rbp), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_OCSP_REQ_CTX_http
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:
	movq	-48(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_OCSP_REQ_CTX_add1_header
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_16
## %bb.9:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_X509_http_nbio
	cmpl	$-1, %eax
	je	LBB0_10
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_X509_CRL_http_nbio
	cmpl	$-1, %eax
	je	LBB0_16
LBB0_17:
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_18:
	xorl	%r13d, %r13d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"https not supported\n"

L_.str.1:                               ## @.str.1
	.asciz	"GET"

L_.str.2:                               ## @.str.2
	.asciz	"Host"

L_.str.3:                               ## @.str.3
	.asciz	"Error loading %s from %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"certificate"

L_.str.5:                               ## @.str.5
	.asciz	"CRL"

	.no_dead_strip	_load_cert_crl_http
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_cert_crl_http
_load_cert_crl_http:                    ; @load_cert_crl_http
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	add	x4, sp, #4
	bl	_OCSP_parse_url
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_9
; %bb.2:
Lloh0:
	adrp	x8, _bio_err@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_puts
LBB0_3:
	mov	x21, #0
LBB0_4:
	mov	x22, #0
LBB0_5:
	mov	w24, #0
LBB0_6:
	ldr	x0, [sp, #24]
	bl	_OPENSSL_free
	ldr	x0, [sp, #8]
	bl	_OPENSSL_free
	ldr	x0, [sp, #16]
	bl	_OPENSSL_free
	mov	x0, x21
	bl	_BIO_free_all
	mov	x0, x22
	bl	_OCSP_REQ_CTX_free
	cmp	w24, #1
	b.eq	LBB0_8
; %bb.7:
Lloh5:
	adrp	x21, _bio_err@GOTPAGE
Lloh6:
	ldr	x21, [x21, _bio_err@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh7:
	adrp	x8, l_.str.4@PAGE
Lloh8:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh9:
	adrp	x9, l_.str.5@PAGE
Lloh10:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	x20, #0
	csel	x2, x9, x8, eq
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x3, x19
	bl	_BIO_printf
	ldr	w0, [x21]
	bl	_ERR_print_errors
LBB0_8:
	mov	x0, x24
	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
	add	sp, sp, #96
	ret
LBB0_9:
	ldr	x0, [sp, #24]
	bl	_BIO_new_connect
	mov	x21, x0
	cbz	x0, LBB0_4
; %bb.10:
	ldr	x1, [sp, #16]
	mov	x0, x21
	bl	_BIO_set_conn_port
	cbz	w0, LBB0_4
; %bb.11:
	mov	x0, x21
	mov	w1, #1024
	bl	_OCSP_REQ_CTX_new
	mov	x22, x0
	cbz	x0, LBB0_5
; %bb.12:
	ldr	x2, [sp, #8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_OCSP_REQ_CTX_http
	cbz	w0, LBB0_5
; %bb.13:
	ldr	x2, [sp, #24]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_OCSP_REQ_CTX_add1_header
	cbz	w0, LBB0_5
; %bb.14:
	cbz	x20, LBB0_16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_X509_http_nbio
	cmn	w0, #1
	b.eq	LBB0_15
	b	LBB0_17
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_X509_CRL_http_nbio
	cmn	w0, #1
	b.eq	LBB0_16
LBB0_17:
	mov	x24, x0
	b	LBB0_6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"https not supported\n"

l_.str.1:                               ; @.str.1
	.asciz	"GET"

l_.str.2:                               ; @.str.2
	.asciz	"Host"

l_.str.3:                               ; @.str.3
	.asciz	"Error loading %s from %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"certificate"

l_.str.5:                               ; @.str.5
	.asciz	"CRL"

	.no_dead_strip	_load_cert_crl_http
.subsections_via_symbols
