	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function SSL_clear
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SSL_clear
	.p2align	4, 0x90
_SSL_clear:                             ## @SSL_clear
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	callq	_ssl_clear_bad_session
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	192(%rbx), %rdi
	callq	_SSL_SESSION_free
	movq	$0, 192(%rbx)
LBB0_5:
	movq	184(%rbx), %rdi
	callq	_SSL_SESSION_free
	movq	$0, 184(%rbx)
	movq	176(%rbx), %rdi
	callq	_OPENSSL_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 128(%rbx)
	movups	%xmm0, 144(%rbx)
	movups	%xmm0, 160(%rbx)
	movq	$0, 176(%rbx)
	cmpq	$0, 120(%rbx)
	je	LBB0_7
## %bb.6:
	movq	_SSL_F_SSL_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_SSL_F_SSL_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_NO_METHOD_SPECIFIED@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_SSLerr
	xorl	%r14d, %r14d
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	callq	_ossl_statem_clear
	movq	8(%rbx), %rax
	movq	96(%rbx), %rdi
	movl	24(%rax), %eax
	movl	%eax, 108(%rbx)
	movl	%eax, 112(%rbx)
	movq	_SSL_NOTHING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rbx)
	callq	_BUF_MEM_free
	movq	$0, 96(%rbx)
	movq	%rbx, %rdi
	callq	_clear_ciphers
	movq	$0, 88(%rbx)
	movq	_SSL_KEY_UPDATE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movq	72(%rbx), %rdi
	callq	_EVP_MD_CTX_free
	movq	$0, 72(%rbx)
	movq	$-1, 48(%rbx)
	movq	64(%rbx), %rdi
	callq	_X509_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movl	40(%rbx), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_X509_VERIFY_PARAM_move_peername
	movq	32(%rbx), %rdi
	callq	_OPENSSL_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	*16(%rax)
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	*8(%rax)
	testl	%eax, %eax
	jne	LBB0_11
	jmp	LBB0_12
LBB0_9:
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_12
LBB0_11:
	movq	%rbx, %rdi
	callq	_RECORD_LAYER_clear
	movl	$1, %r14d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_SSL_CLEAR,4,2            ## @SSL_F_SSL_CLEAR
	.comm	_SSL_R_NO_METHOD_SPECIFIED,4,2  ## @SSL_R_NO_METHOD_SPECIFIED
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_SSL_NOTHING,4,2                ## @SSL_NOTHING
	.comm	_SSL_KEY_UPDATE_NONE,4,2        ## @SSL_KEY_UPDATE_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_clear                      ; -- Begin function SSL_clear
	.p2align	2
_SSL_clear:                             ; @SSL_clear
	.cfi_startproc
; %bb.0:
	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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_ssl_clear_bad_session
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x19, #192]
	bl	_SSL_SESSION_free
	str	xzr, [x19, #192]
LBB0_3:
	ldr	x0, [x19, #184]
	bl	_SSL_SESSION_free
	str	xzr, [x19, #184]
	ldr	x0, [x19, #176]
	bl	_OPENSSL_free
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #128]
	str	q0, [x19, #160]
	str	xzr, [x19, #176]
	ldr	x8, [x19, #120]
	cbz	x8, LBB0_8
; %bb.4:
Lloh0:
	adrp	x8, _SSL_F_SSL_CLEAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_F_SSL_CLEAR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _SSL_F_SSL_CLEAR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSL_F_SSL_CLEAR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _SSL_R_NO_METHOD_SPECIFIED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSL_R_NO_METHOD_SPECIFIED@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x19
	bl	_ossl_statem_clear
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #24]
	str	w8, [x19, #112]
Lloh10:
	adrp	x9, _SSL_NOTHING@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SSL_NOTHING@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #104]
	ldr	x0, [x19, #96]
	bl	_BUF_MEM_free
	str	xzr, [x19, #96]
	mov	x0, x19
	bl	_clear_ciphers
	str	xzr, [x19, #88]
Lloh13:
	adrp	x8, _SSL_KEY_UPDATE_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSL_KEY_UPDATE_NONE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #80]
	ldr	x0, [x19, #72]
	bl	_EVP_MD_CTX_free
	str	xzr, [x19, #72]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x19, #48]
	ldr	x0, [x19, #64]
	bl	_X509_free
	stp	xzr, xzr, [x19, #56]
	ldr	w0, [x19, #40]
	mov	x1, #0
	bl	_X509_VERIFY_PARAM_move_peername
	ldr	x0, [x19, #32]
	bl	_OPENSSL_free
	stp	xzr, xzr, [x19, #24]
	ldp	x8, x9, [x19, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:
	ldr	x8, [x8, #16]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	x8, [x8, #8]
	b	LBB0_11
LBB0_10:
	ldr	x8, [x8]
LBB0_11:
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_7
; %bb.12:
	mov	x0, x19
	bl	_RECORD_LAYER_clear
	mov	w0, #1
	b	LBB0_7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_SSL_CLEAR,4,2            ; @SSL_F_SSL_CLEAR
	.comm	_SSL_R_NO_METHOD_SPECIFIED,4,2  ; @SSL_R_NO_METHOD_SPECIFIED
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_SSL_NOTHING,4,2                ; @SSL_NOTHING
	.comm	_SSL_KEY_UPDATE_NONE,4,2        ; @SSL_KEY_UPDATE_NONE
.subsections_via_symbols
