	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ossl_statem_server_pre_work    ## -- Begin function ossl_statem_server_pre_work
	.p2align	4, 0x90
_ossl_statem_server_pre_work:           ## @ossl_statem_server_pre_work
	.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
	movl	40(%rdi), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_17
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	%rbx, %rdi
	callq	_SSL_IS_DTLS
	testl	%eax, %eax
	je	LBB0_17
## %bb.7:
	movl	$1, 44(%rbx)
	jmp	LBB0_17
LBB0_8:
	movq	%rbx, %rdi
	callq	_SSL_IS_DTLS
	testl	%eax, %eax
	je	LBB0_17
## %bb.9:
	movq	%rbx, %rdi
	callq	_SSL_get_wbio
	movl	%eax, %edi
	callq	_BIO_dgram_is_sctp
	testl	%eax, %eax
	je	LBB0_17
## %bb.10:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dtls_wait_for_dry              ## TAILCALL
LBB0_11:
	movq	%rbx, %rdi
	callq	_SSL_IS_TLS13
	testl	%eax, %eax
	je	LBB0_15
## %bb.12:
	cmpl	$0, 32(%rbx)
	jne	LBB0_15
## %bb.13:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_14
LBB0_2:
	movl	$0, 36(%rbx)
	movq	%rbx, %rdi
	callq	_SSL_IS_DTLS
	testl	%eax, %eax
	je	LBB0_17
## %bb.3:
	movq	%rbx, %rdi
	callq	_dtls1_clear_sent_buffer
	jmp	LBB0_17
LBB0_19:
	movq	%rbx, %rdi
	callq	_SSL_IS_TLS13
	testl	%eax, %eax
	jne	LBB0_17
## %bb.20:
	movl	4(%rbx), %eax
	movq	24(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_21
LBB0_15:
	movq	%rbx, %rdi
	callq	_SSL_IS_DTLS
	testl	%eax, %eax
	jne	LBB0_16
	jmp	LBB0_17
LBB0_22:
	movl	8(%rbx), %eax
	movq	_SSL_EARLY_DATA_ACCEPTING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_24
## %bb.23:
	movq	_TLS1_FLAGS_STATELESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_17
LBB0_24:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	movl	$1, %ecx
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tls_finish_handshake           ## TAILCALL
LBB0_4:
	movl	$0, 36(%rbx)
	movq	%rbx, %rdi
	callq	_SSL_IS_DTLS
	testl	%eax, %eax
	je	LBB0_17
## %bb.5:
	movq	%rbx, %rdi
	callq	_dtls1_clear_sent_buffer
LBB0_16:
	movl	$0, 44(%rbx)
LBB0_17:
	movq	_WORK_FINISHED_CONTINUE@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_21:
	movq	_WORK_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_2
	.long	L0_0_set_19
	.long	L0_0_set_24
	.long	L0_0_set_22
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_WORK_FINISHED_CONTINUE,4,2     ## @WORK_FINISHED_CONTINUE
	.comm	_WORK_ERROR,4,2                 ## @WORK_ERROR
	.comm	_SSL_EARLY_DATA_ACCEPTING,4,2   ## @SSL_EARLY_DATA_ACCEPTING
	.comm	_TLS1_FLAGS_STATELESS,4,2       ## @TLS1_FLAGS_STATELESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ossl_statem_server_pre_work    ; -- Begin function ossl_statem_server_pre_work
	.p2align	2
_ossl_statem_server_pre_work:           ; @ossl_statem_server_pre_work
	.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	w8, [x0, #40]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_22
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_SSL_IS_DTLS
	cbz	w0, LBB0_22
; %bb.3:
	mov	w8, #1
	str	w8, [x19, #44]
	b	LBB0_22
LBB0_4:
	mov	x0, x19
	bl	_SSL_IS_DTLS
	cbz	w0, LBB0_22
; %bb.5:
	mov	x0, x19
	bl	_SSL_get_wbio
	bl	_BIO_dgram_is_sctp
	cbz	w0, LBB0_22
; %bb.6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dtls_wait_for_dry
LBB0_7:
	mov	x0, x19
	bl	_SSL_IS_TLS13
	cbz	w0, LBB0_14
; %bb.8:
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_14
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	b	LBB0_18
LBB0_10:
	str	wzr, [x19, #36]
	mov	x0, x19
	bl	_SSL_IS_DTLS
	cbz	w0, LBB0_22
; %bb.11:
	mov	x0, x19
	bl	_dtls1_clear_sent_buffer
	b	LBB0_22
LBB0_12:
	mov	x0, x19
	bl	_SSL_IS_TLS13
	cbnz	w0, LBB0_22
; %bb.13:
	ldr	w8, [x19, #4]
	ldp	x10, x9, [x19, #16]
	str	w8, [x9]
	ldr	x8, [x10]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_24
LBB0_14:
	mov	x0, x19
	bl	_SSL_IS_DTLS
	cbnz	w0, LBB0_21
	b	LBB0_22
LBB0_15:
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x9, _SSL_EARLY_DATA_ACCEPTING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SSL_EARLY_DATA_ACCEPTING@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_17
; %bb.16:
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _TLS1_FLAGS_STATELESS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TLS1_FLAGS_STATELESS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
LBB0_17:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	mov	w3, #1
LBB0_18:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tls_finish_handshake
LBB0_19:
	str	wzr, [x19, #36]
	mov	x0, x19
	bl	_SSL_IS_DTLS
	cbz	w0, LBB0_22
; %bb.20:
	mov	x0, x19
	bl	_dtls1_clear_sent_buffer
LBB0_21:
	str	wzr, [x19, #44]
LBB0_22:
Lloh8:
	adrp	x8, _WORK_FINISHED_CONTINUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WORK_FINISHED_CONTINUE@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_24:
Lloh10:
	adrp	x8, _WORK_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WORK_ERROR@GOTPAGEOFF]
	b	LBB0_23
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
                                        ; -- End function
	.comm	_WORK_FINISHED_CONTINUE,4,2     ; @WORK_FINISHED_CONTINUE
	.comm	_WORK_ERROR,4,2                 ; @WORK_ERROR
	.comm	_SSL_EARLY_DATA_ACCEPTING,4,2   ; @SSL_EARLY_DATA_ACCEPTING
	.comm	_TLS1_FLAGS_STATELESS,4,2       ; @TLS1_FLAGS_STATELESS
.subsections_via_symbols
