	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls_get_message               ## -- Begin function dtls_get_message
	.p2align	4, 0x90
_dtls_get_message:                      ## @dtls_get_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	32(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rax), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	-60(%rbp), %r13
	leaq	-88(%rbp), %rbx
	movq	_DTLS1_HM_BAD_FRAGMENT@GOTPCREL(%rip), %r15
	movq	_DTLS1_HM_FRAGMENT_RETRY@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_dtls_get_reassembled_message
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-60(%rbp), %eax
	cmpl	(%r15), %eax
	je	LBB0_1
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	(%r12), %eax
	je	LBB0_1
## %bb.4:
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_5:
	movl	56(%r14), %eax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, (%rdi)
	movq	(%r14), %rsi
	movq	16(%r14), %rdx
	movq	(%rdx), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rsi, (%rdx)
	movq	_SSL3_MT_CHANGE_CIPHER_SPEC@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_8
## %bb.6:
	movq	48(%r14), %rbx
	movl	$1, %r15d
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.7:
	movq	8(%r14), %rsi
	movq	_SSL3_RT_CHANGE_CIPHER_SPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	40(%r14), %eax
	movl	%eax, (%rsp)
	movl	$1, %r8d
	xorl	%edi, %edi
	movq	%r14, %r9
	callq	*%rbx
	jmp	LBB0_14
LBB0_8:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %r12
	movb	20(%rbx), %al
	leaq	1(%rcx), %r13
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movb	%al, (%rcx)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_l2n3
	movl	16(%rbx), %edi
	movq	%r13, %rsi
	callq	_s2n
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movq	%r13, %rsi
	callq	_l2n3
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_l2n3
	movq	8(%r14), %rax
	movq	_DTLS1_BAD_VER@GOTPCREL(%rip), %rcx
	movq	_DTLS1_HM_HEADER_LENGTH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r13
	movq	%r13, %rbx
	negq	%rbx
	cmpq	(%rcx), %rax
	cmoveq	%r15, %rbx
	cmoveq	%r15, %r13
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	_SSL3_MT_FINISHED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_ssl3_take_mac
	testl	%eax, %eax
	je	LBB0_14
LBB0_10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %r12
	incq	%r12
	addq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_ssl3_finish_mac
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	movq	48(%r14), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	8(%r14), %rsi
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	40(%r14), %ecx
	movl	%ecx, (%rsp)
	xorl	%edi, %edi
	movq	%r12, %rcx
	movq	%r13, %r8
	movq	%r14, %r9
	callq	*%rax
LBB0_13:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	32(%r14), %rax
	incl	(%rax)
	movq	16(%r14), %rax
	movq	_DTLS1_HM_HEADER_LENGTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	%rcx, 24(%r14)
	movl	$1, %r15d
LBB0_14:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DTLS1_HM_BAD_FRAGMENT,4,2      ## @DTLS1_HM_BAD_FRAGMENT
	.comm	_DTLS1_HM_FRAGMENT_RETRY,4,2    ## @DTLS1_HM_FRAGMENT_RETRY
	.comm	_SSL3_MT_CHANGE_CIPHER_SPEC,4,2 ## @SSL3_MT_CHANGE_CIPHER_SPEC
	.comm	_SSL3_RT_CHANGE_CIPHER_SPEC,4,2 ## @SSL3_RT_CHANGE_CIPHER_SPEC
	.comm	_DTLS1_BAD_VER,8,3              ## @DTLS1_BAD_VER
	.comm	_DTLS1_HM_HEADER_LENGTH,8,3     ## @DTLS1_HM_HEADER_LENGTH
	.comm	_SSL3_MT_FINISHED,4,2           ## @SSL3_MT_FINISHED
	.comm	_SSL3_RT_HANDSHAKE,4,2          ## @SSL3_RT_HANDSHAKE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls_get_message               ; -- Begin function dtls_get_message
	.p2align	2
_dtls_get_message:                      ; @dtls_get_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x24, [x0, #32]
	add	x20, x24, #8
	mov	x0, x20
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x22, _DTLS1_HM_BAD_FRAGMENT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DTLS1_HM_BAD_FRAGMENT@GOTPAGEOFF]
Lloh2:
	adrp	x25, _DTLS1_HM_FRAGMENT_RETRY@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DTLS1_HM_FRAGMENT_RETRY@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #4
	add	x2, sp, #8
	mov	x0, x19
	bl	_dtls_get_reassembled_message
	cbnz	w0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #4]
	ldr	w9, [x22]
	ldr	w10, [x25]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.eq	LBB0_1
LBB0_3:
	mov	w20, #0
	b	LBB0_14
LBB0_4:
	ldr	w8, [x19, #56]
	str	w8, [x21]
	ldr	x9, [x19, #16]
	ldr	x22, [x9]
	ldr	x9, [x19]
	str	x9, [x23]
Lloh4:
	adrp	x9, _SSL3_MT_CHANGE_CIPHER_SPEC@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SSL3_MT_CHANGE_CIPHER_SPEC@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_13
; %bb.6:
	ldr	x1, [x19, #8]
Lloh7:
	adrp	x9, _SSL3_RT_CHANGE_CIPHER_SPEC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SSL3_RT_CHANGE_CIPHER_SPEC@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x9]
	ldr	w6, [x19, #40]
	mov	w20, #1
	mov	w0, #0
	mov	x3, x22
	mov	w4, #1
	mov	x5, x19
	blr	x8
	b	LBB0_14
LBB0_7:
	ldr	x23, [x24, #8]
	ldr	w8, [x24, #20]
	strb	w8, [x22], #1
	mov	x0, x23
	mov	x1, x22
	bl	_l2n3
	ldr	w0, [x24, #16]
	mov	x1, x22
	bl	_s2n
	mov	x0, #0
	mov	x1, x22
	bl	_l2n3
	mov	x0, x23
	mov	x1, x22
	bl	_l2n3
	ldr	x8, [x19, #8]
Lloh10:
	adrp	x9, _DTLS1_BAD_VER@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DTLS1_BAD_VER@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x24, _DTLS1_HM_HEADER_LENGTH@GOTPAGE
Lloh14:
	ldr	x24, [x24, _DTLS1_HM_HEADER_LENGTH@GOTPAGEOFF]
	ldr	x10, [x24]
	cmp	x8, x9
	csel	x25, xzr, x10, eq
	csneg	x26, xzr, x10, eq
	ldr	w8, [x21]
Lloh15:
	adrp	x9, _SSL3_MT_FINISHED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SSL3_MT_FINISHED@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_ssl3_take_mac
	cbz	w0, LBB0_3
LBB0_9:
	add	x21, x22, x26
	add	x22, x25, x23
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_ssl3_finish_mac
	cbz	w0, LBB0_3
; %bb.10:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	x1, [x19, #8]
Lloh18:
	adrp	x9, _SSL3_RT_HANDSHAKE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SSL3_RT_HANDSHAKE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x9]
	ldr	w6, [x19, #40]
	mov	w0, #0
	mov	x3, x21
	mov	x4, x22
	mov	x5, x19
	blr	x8
LBB0_12:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x19, #32]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x9, [x24]
	add	x8, x9, x8
	str	x8, [x19, #24]
LBB0_13:
	mov	w20, #1
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DTLS1_HM_BAD_FRAGMENT,4,2      ; @DTLS1_HM_BAD_FRAGMENT
	.comm	_DTLS1_HM_FRAGMENT_RETRY,4,2    ; @DTLS1_HM_FRAGMENT_RETRY
	.comm	_SSL3_MT_CHANGE_CIPHER_SPEC,4,2 ; @SSL3_MT_CHANGE_CIPHER_SPEC
	.comm	_SSL3_RT_CHANGE_CIPHER_SPEC,4,2 ; @SSL3_RT_CHANGE_CIPHER_SPEC
	.comm	_DTLS1_BAD_VER,8,3              ; @DTLS1_BAD_VER
	.comm	_DTLS1_HM_HEADER_LENGTH,8,3     ; @DTLS1_HM_HEADER_LENGTH
	.comm	_SSL3_MT_FINISHED,4,2           ; @SSL3_MT_FINISHED
	.comm	_SSL3_RT_HANDSHAKE,4,2          ; @SSL3_RT_HANDSHAKE
.subsections_via_symbols
