	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dtls1_process_out_of_seq_message
_dtls1_process_out_of_seq_message:      ## @dtls1_process_out_of_seq_message
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rsi), %rbx
	movq	8(%rsi), %rax
	addq	%rbx, %rax
	xorl	%r12d, %r12d
	cmpq	16(%rsi), %rax
	jbe	LBB0_2
LBB0_1:
	movq	%r12, %rdi
	callq	_dtls1_hm_fragment_free
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_2:
	movq	%rsi, %r13
	movq	%rdi, %r14
	leaq	-56(%rbp), %r12
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movzwl	24(%r13), %eax
	rolw	$8, %ax
	movw	%ax, -50(%rbp)
	movq	(%r14), %rax
	movl	4(%rax), %edi
	movq	%r12, %rsi
	callq	_pqueue_find
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%r15d, %r15d
	cmpq	16(%r13), %rbx
	cmoveq	%rax, %r15
LBB0_4:
	movl	24(%r13), %ecx
	movq	(%r14), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jle	LBB0_9
## %bb.5:
	leal	10(%rax), %edx
	cmpl	%edx, %ecx
	jg	LBB0_9
## %bb.6:
	testq	%r15, %r15
	jne	LBB0_9
## %bb.7:
	testl	%eax, %eax
	jne	LBB0_16
## %bb.8:
	movq	32(%r13), %rax
	movq	_SSL3_MT_FINISHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
LBB0_9:
	movq	%r15, -336(%rbp)                ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.10:
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %r13
	leaq	-328(%rbp), %r15
	leaq	-320(%rbp), %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	(%r13), %esi
	cmpq	$256, %rbx                      ## imm = 0x100
	movl	$256, %r8d                      ## imm = 0x100
	cmovbq	%rbx, %r8
	movq	%r15, (%rsp)
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%r12, %rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%r9d, %r9d
	callq	*(%rax)
	testl	%eax, %eax
	jle	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	subq	-328(%rbp), %rbx
	jne	LBB0_11
LBB0_13:
	movq	_DTLS1_HM_FRAGMENT_RETRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
LBB0_14:
	xorl	%r12d, %r12d
	movq	-336(%rbp), %rbx                ## 8-byte Reload
LBB0_15:
	xorl	%eax, %eax
	testq	%rbx, %rbx
	jne	LBB0_20
	jmp	LBB0_1
LBB0_16:
	cmpq	16(%r13), %rbx
	jne	LBB0_19
## %bb.17:
	movq	%r14, %rdi
	callq	_dtls1_max_handshake_message_len
	cmpq	%rax, %rbx
	ja	LBB0_18
## %bb.22:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_dtls1_hm_fragment_new
	testq	%rax, %rax
	je	LBB0_18
## %bb.23:
	movq	%rax, %r12
	movq	%rax, %rdi
	addq	$8, %rdi
	movq	%r13, %rsi
	movl	$40, %edx
	callq	_memcpy
	testq	%rbx, %rbx
	je	LBB0_26
## %bb.24:
	movq	8(%r14), %rax
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	(%r12), %rcx
	leaq	-328(%rbp), %rdx
	movq	%rdx, (%rsp)
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	*(%rax)
	testl	%eax, %eax
	jle	LBB0_1
## %bb.25:
	cmpq	%rbx, -328(%rbp)
	jne	LBB0_1
LBB0_26:
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_pitem_new
	testq	%rax, %rax
	je	LBB0_1
## %bb.27:
	movq	(%r14), %rcx
	movl	4(%rcx), %edi
	movq	%rax, %rsi
	callq	_pqueue_insert
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_ossl_assert
	testl	%eax, %eax
	jne	LBB0_13
	jmp	LBB0_15
LBB0_19:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_dtls1_reassemble_fragment
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_29
## %bb.21:
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	xorl	%r12d, %r12d
	jmp	LBB0_1
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL3_MT_FINISHED,8,3           ## @SSL3_MT_FINISHED
	.comm	_SSL3_RT_HANDSHAKE,4,2          ## @SSL3_RT_HANDSHAKE
	.comm	_DTLS1_HM_FRAGMENT_RETRY,4,2    ## @DTLS1_HM_FRAGMENT_RETRY
	.no_dead_strip	_dtls1_process_out_of_seq_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dtls1_process_out_of_seq_message
_dtls1_process_out_of_seq_message:      ; @dtls1_process_out_of_seq_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldp	x20, x8, [x1]
	ldr	x9, [x1, #16]
	add	x8, x8, x20
	cmp	x8, x9
	b.ls	LBB0_4
LBB0_1:
	mov	x22, #0
LBB0_2:
	mov	x0, x22
	bl	_dtls1_hm_fragment_free
LBB0_3:
	mov	w0, #0
	b	LBB0_13
LBB0_4:
	mov	x21, x1
	mov	x19, x0
	sub	x0, x29, #64
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldrh	w8, [x21, #24]
	rev	w8, w8
	lsr	w8, w8, #16
	sturh	w8, [x29, #-58]
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	sub	x1, x29, #64
	bl	_pqueue_find
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x21, #16]
	cmp	x20, x8
	csel	x23, x0, xzr, eq
	b	LBB0_7
LBB0_6:
	mov	x23, #0
LBB0_7:
	ldr	w9, [x21, #24]
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w9, w8
	add	w10, w8, #10
	ccmp	w9, w10, #0, gt
	ccmp	x23, #0, #0, le
	b.eq	LBB0_17
LBB0_8:
	cbz	x20, LBB0_12
; %bb.9:
Lloh3:
	adrp	x21, _SSL3_RT_HANDSHAKE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SSL3_RT_HANDSHAKE@GOTPAGEOFF]
	mov	w22, #256
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x21]
	cmp	x20, #256
	csel	x4, x20, x22, lo
	add	x3, sp, #16
	add	x6, sp, #8
	mov	x0, x19
	mov	x2, #0
                                        ; kill: def $w4 killed $w4 killed $x4
	mov	w5, #0
	blr	x8
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [sp, #8]
	subs	x20, x20, x8
	b.ne	LBB0_10
LBB0_12:
Lloh5:
	adrp	x8, _DTLS1_HM_FRAGMENT_RETRY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DTLS1_HM_FRAGMENT_RETRY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.14:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_15:
	mov	x22, #0
LBB0_16:
	cbnz	x23, LBB0_3
	b	LBB0_2
LBB0_17:
	cbnz	w8, LBB0_19
; %bb.18:
	ldr	x8, [x21, #32]
Lloh11:
	adrp	x9, _SSL3_MT_FINISHED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SSL3_MT_FINISHED@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
LBB0_19:
	ldr	x8, [x21, #16]
	cmp	x20, x8
	b.ne	LBB0_27
; %bb.20:
	mov	x0, x19
	bl	_dtls1_max_handshake_message_len
	cmp	x20, x0
	b.hi	LBB0_1
; %bb.21:
	mov	x0, x20
	mov	w1, #0
	bl	_dtls1_hm_fragment_new
	mov	x22, x0
	cbz	x0, LBB0_2
; %bb.22:
	add	x0, x22, #8
	mov	x1, x21
	mov	w2, #40
	bl	_memcpy
	cbz	x20, LBB0_25
; %bb.23:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _SSL3_RT_HANDSHAKE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SSL3_RT_HANDSHAKE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x9]
	ldr	x3, [x22]
	add	x6, sp, #8
	mov	x0, x19
	mov	x2, #0
	mov	x4, x20
	mov	w5, #0
	blr	x8
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.24:
	ldr	x8, [sp, #8]
	cmp	x8, x20
	b.ne	LBB0_2
LBB0_25:
	sub	x0, x29, #64
	mov	x1, x22
	bl	_pitem_new
	cbz	x0, LBB0_2
; %bb.26:
	mov	x1, x0
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	bl	_pqueue_insert
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_ossl_assert
	cbnz	w0, LBB0_12
	b	LBB0_16
LBB0_27:
	mov	x0, x19
	mov	x1, x21
	bl	_dtls1_reassemble_fragment
	b	LBB0_13
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL3_MT_FINISHED,8,3           ; @SSL3_MT_FINISHED
	.comm	_SSL3_RT_HANDSHAKE,4,2          ; @SSL3_RT_HANDSHAKE
	.comm	_DTLS1_HM_FRAGMENT_RETRY,4,2    ; @DTLS1_HM_FRAGMENT_RETRY
	.no_dead_strip	_dtls1_process_out_of_seq_message
.subsections_via_symbols
