	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls1_dispatch_alert           ## -- Begin function dtls1_dispatch_alert
	.p2align	4, 0x90
_dtls1_dispatch_alert:                  ## @dtls1_dispatch_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_DTLS1_AL_HEADER_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	8(%r15), %rax
	movl	$0, (%rax)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movq	8(%r15), %rax
	movq	8(%rax), %rax
	movb	(%rax), %cl
	movb	%cl, (%rbx)
	movb	4(%rax), %al
	movb	%al, 1(%rbx)
	movq	_SSL3_RT_ALERT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-48(%rbp), %r9
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	callq	_do_dtls1_write
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	40(%r15), %edi
	callq	_BIO_flush
	movq	32(%r15), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	28(%r15), %esi
	movl	(%r12), %edx
	movq	8(%r15), %rcx
	movq	8(%rcx), %rcx
	movl	24(%r15), %ebx
	subq	$8, %rsp
	movl	$1, %edi
	movl	$2, %r8d
	movq	%r15, %r9
	pushq	%rbx
	callq	*%rax
	addq	$16, %rsp
LBB0_4:
	movq	(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	8(%r15), %rcx
	movq	8(%rcx), %rcx
	movl	(%rcx), %edx
	shll	$8, %edx
	orl	4(%rcx), %edx
	movq	_SSL_CB_WRITE_ALERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	callq	*%rax
	jmp	LBB0_7
LBB0_1:
	movq	8(%r15), %rax
	movl	$1, (%rax)
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%r14d, %eax
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DTLS1_AL_HEADER_LENGTH,4,2     ## @DTLS1_AL_HEADER_LENGTH
	.comm	_SSL3_RT_ALERT,4,2              ## @SSL3_RT_ALERT
	.comm	_SSL_CB_WRITE_ALERT,4,2         ## @SSL_CB_WRITE_ALERT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls1_dispatch_alert           ; -- Begin function dtls1_dispatch_alert
	.p2align	2
_dtls1_dispatch_alert:                  ; @dtls1_dispatch_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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _DTLS1_AL_HEADER_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DTLS1_AL_HEADER_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	ldr	x8, [x0, #8]
	str	wzr, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x2, x20
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldp	w9, w8, [x8]
	strb	w9, [x21]
	strb	w8, [x21, #1]
Lloh8:
	adrp	x22, _SSL3_RT_ALERT@GOTPAGE
Lloh9:
	ldr	x22, [x22, _SSL3_RT_ALERT@GOTPAGEOFF]
	ldr	w1, [x22]
	sub	x5, x29, #48
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	bl	_do_dtls1_write
	mov	x20, x0
	cmp	w0, #0
	b.le	LBB0_6
; %bb.1:
	ldr	w0, [x19, #40]
	bl	_BIO_flush
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w2, [x22]
	ldr	x9, [x19, #8]
	ldr	x3, [x9, #8]
	ldp	w6, w1, [x19, #24]
	mov	w0, #1
	mov	w4, #2
	mov	x5, x19
	blr	x8
LBB0_3:
	ldr	x8, [x19]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
LBB0_5:
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #8]
	ldp	w10, w9, [x9]
	orr	w2, w9, w10, lsl #8
Lloh10:
	adrp	x9, _SSL_CB_WRITE_ALERT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SSL_CB_WRITE_ALERT@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	b	LBB0_7
LBB0_6:
	ldr	x8, [x19, #8]
	mov	w9, #1
	str	w9, [x8]
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	sub	sp, x29, #32
	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:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_DTLS1_AL_HEADER_LENGTH,4,2     ; @DTLS1_AL_HEADER_LENGTH
	.comm	_SSL3_RT_ALERT,4,2              ; @SSL3_RT_ALERT
	.comm	_SSL_CB_WRITE_ALERT,4,2         ; @SSL_CB_WRITE_ALERT
.subsections_via_symbols
