	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_send_alert                ## -- Begin function ssl3_send_alert
	.p2align	4, 0x90
_ssl3_send_alert:                       ## @ssl3_send_alert
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_SSL_TREAT_AS_TLS13
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_tls13_alert_code
	jmp	LBB0_3
LBB0_2:
	movq	8(%r15), %rax
	movq	8(%rax), %rax
	movl	%ebx, %edi
	callq	*(%rax)
LBB0_3:
	movl	%eax, %ebx
	movq	(%r15), %rax
	movq	_SSL3_VERSION@GOTPCREL(%rip), %rcx
	movq	_SSL_AD_PROTOCOL_VERSION@GOTPCREL(%rip), %rsi
	movl	%ebx, %edx
	cmpl	(%rsi), %ebx
	jne	LBB0_5
## %bb.4:
	movq	_SSL_AD_HANDSHAKE_FAILURE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_5:
	cmpq	(%rcx), %rax
	cmovel	%edx, %ebx
	testl	%ebx, %ebx
	js	LBB0_10
## %bb.6:
	movq	_SSL3_AL_FATAL@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_9
## %bb.7:
	movq	40(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:
	movl	48(%r15), %edi
	callq	_SSL_CTX_remove_session
LBB0_9:
	movl	$1, 24(%r15)
	movq	32(%r15), %rax
	movl	%r14d, (%rax)
	movl	%ebx, 4(%rax)
	leaq	16(%r15), %rdi
	callq	_RECORD_LAYER_write_pending
	testl	%eax, %eax
	je	LBB0_11
LBB0_10:
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	8(%r15), %rax
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL3_VERSION,8,3               ## @SSL3_VERSION
	.comm	_SSL_AD_PROTOCOL_VERSION,4,2    ## @SSL_AD_PROTOCOL_VERSION
	.comm	_SSL_AD_HANDSHAKE_FAILURE,4,2   ## @SSL_AD_HANDSHAKE_FAILURE
	.comm	_SSL3_AL_FATAL,4,2              ## @SSL3_AL_FATAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_send_alert                ; -- Begin function ssl3_send_alert
	.p2align	2
_ssl3_send_alert:                       ; @ssl3_send_alert
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_SSL_TREAT_AS_TLS13
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_tls13_alert_code
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	mov	x0, x21
	blr	x8
LBB0_3:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _SSL3_VERSION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL3_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _SSL_AD_PROTOCOL_VERSION@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SSL_AD_PROTOCOL_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w0, w10
	ccmp	x8, x9, #0, eq
Lloh6:
	adrp	x8, _SSL_AD_HANDSHAKE_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_AD_HANDSHAKE_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	csel	w21, w8, w0, eq
	tbnz	w21, #31, LBB0_8
; %bb.4:
Lloh9:
	adrp	x8, _SSL3_AL_FATAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL3_AL_FATAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.5:
	ldr	x1, [x19, #40]
	cbz	x1, LBB0_7
; %bb.6:
	ldr	w0, [x19, #48]
	bl	_SSL_CTX_remove_session
LBB0_7:
	mov	w8, #1
	str	w8, [x19, #24]
	ldr	x8, [x19, #32]
	stp	w20, w21, [x8]
	add	x0, x19, #16
	bl	_RECORD_LAYER_write_pending
	cbz	w0, LBB0_9
LBB0_8:
	mov	w0, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL3_VERSION,8,3               ; @SSL3_VERSION
	.comm	_SSL_AD_PROTOCOL_VERSION,4,2    ; @SSL_AD_PROTOCOL_VERSION
	.comm	_SSL_AD_HANDSHAKE_FAILURE,4,2   ; @SSL_AD_HANDSHAKE_FAILURE
	.comm	_SSL3_AL_FATAL,4,2              ; @SSL3_AL_FATAL
.subsections_via_symbols
