	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_CTX_free                   ## -- Begin function SSL_CTX_free
	.p2align	4, 0x90
_SSL_CTX_free:                          ## @SSL_CTX_free
	.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
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	addq	$116, %rdi
	movl	(%rbx), %edx
	leaq	-20(%rbp), %rsi
	callq	_CRYPTO_DOWN_REF
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_REF_PRINT_COUNT
	cmpl	$0, -20(%rbp)
	jg	LBB0_5
## %bb.2:
	setne	%al
	movzbl	%al, %edi
	callq	_REF_ASSERT_ISNT
	movl	112(%rbx), %edi
	callq	_X509_VERIFY_PARAM_free
	leaq	108(%rbx), %rdi
	callq	_dane_ctx_final
	cmpq	$0, 96(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_SSL_CTX_flush_sessions
LBB0_4:
	movq	_CRYPTO_EX_INDEX_SSL_CTX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	104(%rbx), %rdx
	movq	%rbx, %rsi
	callq	_CRYPTO_free_ex_data
	movq	96(%rbx), %rdi
	callq	_lh_SSL_SESSION_free
	movl	88(%rbx), %edi
	callq	_X509_STORE_free
	movl	84(%rbx), %edi
	callq	_CTLOG_STORE_free
	movl	80(%rbx), %edi
	callq	_sk_SSL_CIPHER_free
	movl	76(%rbx), %edi
	callq	_sk_SSL_CIPHER_free
	movl	72(%rbx), %edi
	callq	_sk_SSL_CIPHER_free
	movl	68(%rbx), %edi
	callq	_ssl_cert_free
	movl	64(%rbx), %edi
	movq	_X509_NAME_free@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_sk_X509_NAME_pop_free
	movl	60(%rbx), %edi
	movl	(%r14), %esi
	callq	_sk_X509_NAME_pop_free
	movl	56(%rbx), %edi
	movq	_X509_free@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sk_X509_pop_free
	movq	$0, 48(%rbx)
	movl	44(%rbx), %edi
	callq	_sk_SRTP_PROTECTION_PROFILE_free
	movq	%rbx, %rdi
	callq	_SSL_CTX_SRP_CTX_free
	movl	40(%rbx), %edi
	callq	_ENGINE_finish
	movq	32(%rbx), %rdi
	callq	_OPENSSL_free
	movq	24(%rbx), %rdi
	callq	_OPENSSL_free
	movq	16(%rbx), %rdi
	callq	_OPENSSL_free
	movl	8(%rbx), %edi
	callq	_OPENSSL_secure_free
	movl	(%rbx), %edi
	callq	_CRYPTO_THREAD_lock_free
	movq	%rbx, %rdi
	callq	_OPENSSL_free
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSL_CTX"

	.comm	_CRYPTO_EX_INDEX_SSL_CTX,4,2    ## @CRYPTO_EX_INDEX_SSL_CTX
	.comm	_X509_NAME_free,4,2             ## @X509_NAME_free
	.comm	_X509_free,4,2                  ## @X509_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_CTX_free                   ; -- Begin function SSL_CTX_free
	.p2align	2
_SSL_CTX_free:                          ; @SSL_CTX_free
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w2, [x0], #116
	add	x1, sp, #12
	bl	_CRYPTO_DOWN_REF
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_REF_PRINT_COUNT
	ldr	w8, [sp, #12]
	cmp	w8, #0
	b.gt	LBB0_5
; %bb.2:
	cset	w0, ne
	bl	_REF_ASSERT_ISNT
	ldr	w0, [x19, #112]
	bl	_X509_VERIFY_PARAM_free
	add	x0, x19, #108
	bl	_dane_ctx_final
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	bl	_SSL_CTX_flush_sessions
LBB0_4:
Lloh2:
	adrp	x8, _CRYPTO_EX_INDEX_SSL_CTX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CRYPTO_EX_INDEX_SSL_CTX@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x2, x19, #104
	mov	x1, x19
	bl	_CRYPTO_free_ex_data
	ldr	x0, [x19, #96]
	bl	_lh_SSL_SESSION_free
	ldr	w0, [x19, #88]
	bl	_X509_STORE_free
	ldr	w0, [x19, #84]
	bl	_CTLOG_STORE_free
	ldr	w0, [x19, #80]
	bl	_sk_SSL_CIPHER_free
	ldr	w0, [x19, #76]
	bl	_sk_SSL_CIPHER_free
	ldr	w0, [x19, #72]
	bl	_sk_SSL_CIPHER_free
	ldr	w0, [x19, #68]
	bl	_ssl_cert_free
	ldr	w0, [x19, #64]
Lloh5:
	adrp	x20, _X509_NAME_free@GOTPAGE
Lloh6:
	ldr	x20, [x20, _X509_NAME_free@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_sk_X509_NAME_pop_free
	ldr	w0, [x19, #60]
	ldr	w1, [x20]
	bl	_sk_X509_NAME_pop_free
	ldr	w0, [x19, #56]
Lloh7:
	adrp	x8, _X509_free@GOTPAGE
Lloh8:
	ldr	x8, [x8, _X509_free@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_sk_X509_pop_free
	str	xzr, [x19, #48]
	ldr	w0, [x19, #44]
	bl	_sk_SRTP_PROTECTION_PROFILE_free
	mov	x0, x19
	bl	_SSL_CTX_SRP_CTX_free
	ldr	w0, [x19, #40]
	bl	_ENGINE_finish
	ldr	x0, [x19, #32]
	bl	_OPENSSL_free
	ldr	x0, [x19, #24]
	bl	_OPENSSL_free
	ldr	x0, [x19, #16]
	bl	_OPENSSL_free
	ldr	w0, [x19, #8]
	bl	_OPENSSL_secure_free
	ldr	w0, [x19]
	bl	_CRYPTO_THREAD_lock_free
	mov	x0, x19
	bl	_OPENSSL_free
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSL_CTX"

	.comm	_CRYPTO_EX_INDEX_SSL_CTX,4,2    ; @CRYPTO_EX_INDEX_SSL_CTX
	.comm	_X509_NAME_free,4,2             ; @X509_NAME_free
	.comm	_X509_free,4,2                  ; @X509_free
.subsections_via_symbols
