	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dtls1_preprocess_fragment
_dtls1_preprocess_fragment:             ## @dtls1_preprocess_fragment
	.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
	movq	%rdi, %r14
	movq	(%rsi), %r15
	movq	16(%rsi), %rax
	addq	8(%rsi), %rax
	cmpq	%r15, %rax
	ja	LBB0_7
## %bb.1:
	movq	%rsi, %rbx
	movq	%r14, %rdi
	callq	_dtls1_max_handshake_message_len
	cmpq	%rax, %r15
	ja	LBB0_7
## %bb.2:
	movq	(%r14), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.6:
	movl	$1, %eax
	cmpq	8(%rcx), %r15
	je	LBB0_9
LBB0_7:
	movq	_SSL_AD_ILLEGAL_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_DTLS1_PREPROCESS_FRAGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_EXCESSIVE_MESSAGE_SIZE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	24(%r14), %edi
	movq	_DTLS1_HM_HEADER_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	callq	_BUF_MEM_grow_clean
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r15, 8(%r14)
	movq	(%r14), %rax
	movq	%r15, 8(%rax)
	movl	28(%rbx), %ecx
	movl	%ecx, 16(%r14)
	movl	%ecx, 20(%rax)
	movl	24(%rbx), %ecx
	movl	%ecx, 16(%rax)
	movl	$1, %eax
	jmp	LBB0_9
LBB0_4:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_DTLS1_PREPROCESS_FRAGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_BUF_LIB@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_ILLEGAL_PARAMETER,4,2   ## @SSL_AD_ILLEGAL_PARAMETER
	.comm	_SSL_F_DTLS1_PREPROCESS_FRAGMENT,4,2 ## @SSL_F_DTLS1_PREPROCESS_FRAGMENT
	.comm	_SSL_R_EXCESSIVE_MESSAGE_SIZE,4,2 ## @SSL_R_EXCESSIVE_MESSAGE_SIZE
	.comm	_DTLS1_HM_HEADER_LENGTH,8,3     ## @DTLS1_HM_HEADER_LENGTH
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_ERR_R_BUF_LIB,4,2              ## @ERR_R_BUF_LIB
	.no_dead_strip	_dtls1_preprocess_fragment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dtls1_preprocess_fragment
_dtls1_preprocess_fragment:             ; @dtls1_preprocess_fragment
	.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	x19, x0
	ldp	x21, x8, [x1]
	ldr	x9, [x1, #16]
	add	x8, x9, x8
	cmp	x8, x21
	b.hi	LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x0, x19
	bl	_dtls1_max_handshake_message_len
	cmp	x21, x0
	b.hi	LBB0_5
; %bb.2:
	ldr	x8, [x19]
	ldr	x9, [x8]
	cbz	x9, LBB0_8
; %bb.3:
	ldr	x8, [x8, #8]
	cmp	x21, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #1
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _SSL_AD_ILLEGAL_PARAMETER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_AD_ILLEGAL_PARAMETER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SSL_F_DTLS1_PREPROCESS_FRAGMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_DTLS1_PREPROCESS_FRAGMENT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _SSL_R_EXCESSIVE_MESSAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_R_EXCESSIVE_MESSAGE_SIZE@GOTPAGEOFF]
LBB0_6:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #0
LBB0_7:
	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_8:
	ldr	w0, [x19, #24]
Lloh8:
	adrp	x8, _DTLS1_HM_HEADER_LENGTH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DTLS1_HM_HEADER_LENGTH@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x1, x8, x21
	bl	_BUF_MEM_grow_clean
	cbz	w0, LBB0_10
; %bb.9:
	str	x21, [x19, #8]
	ldr	x8, [x19]
	str	x21, [x8, #8]
	ldp	w10, w9, [x20, #24]
	str	w9, [x19, #16]
	stp	w10, w9, [x8, #16]
	mov	w0, #1
	b	LBB0_7
LBB0_10:
Lloh11:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _SSL_F_DTLS1_PREPROCESS_FRAGMENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SSL_F_DTLS1_PREPROCESS_FRAGMENT@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x8, _ERR_R_BUF_LIB@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_R_BUF_LIB@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_ILLEGAL_PARAMETER,4,2   ; @SSL_AD_ILLEGAL_PARAMETER
	.comm	_SSL_F_DTLS1_PREPROCESS_FRAGMENT,4,2 ; @SSL_F_DTLS1_PREPROCESS_FRAGMENT
	.comm	_SSL_R_EXCESSIVE_MESSAGE_SIZE,4,2 ; @SSL_R_EXCESSIVE_MESSAGE_SIZE
	.comm	_DTLS1_HM_HEADER_LENGTH,8,3     ; @DTLS1_HM_HEADER_LENGTH
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_ERR_R_BUF_LIB,4,2              ; @ERR_R_BUF_LIB
	.no_dead_strip	_dtls1_preprocess_fragment
.subsections_via_symbols
