	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_free
_ssl_free:                              ## @ssl_free
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_BIO_get_data
	movq	%rax, %r14
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_SSL_shutdown
LBB0_4:
	movq	%rbx, %rdi
	callq	_BIO_get_shutdown
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_BIO_get_init
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%r14), %rdi
	callq	_SSL_free
LBB0_7:
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_BIO_clear_flags
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_BIO_set_init
LBB0_8:
	movq	%r14, %rdi
	callq	_OPENSSL_free
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ssl_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_free
_ssl_free:                              ; @ssl_free
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_8
; %bb.1:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_BIO_get_data
	mov	x20, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_SSL_shutdown
LBB0_3:
	mov	x0, x19
	bl	_BIO_get_shutdown
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_BIO_get_init
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x0, [x20]
	bl	_SSL_free
LBB0_6:
	mov	x0, x19
	mov	w1, #-1
	bl	_BIO_clear_flags
	mov	x0, x19
	mov	w1, #0
	bl	_BIO_set_init
LBB0_7:
	mov	x0, x20
	bl	_OPENSSL_free
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
LBB0_8:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ssl_free
.subsections_via_symbols
