	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls1_do_write                 ## -- Begin function dtls1_do_write
	.p2align	4, 0x90
_dtls1_do_write:                        ## @dtls1_do_write
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	callq	_dtls1_query_mtu
	testl	%eax, %eax
	je	LBB0_62
## %bb.1:
	movq	56(%r13), %rax
	movq	(%rax), %rbx
	movq	%r13, %rdi
	callq	_dtls1_min_mtu
	cmpq	%rax, %rbx
	jae	LBB0_4
LBB0_62:
	movl	$-1, %ebx
LBB0_63:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpq	$0, (%r13)
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %r12
	jne	LBB0_7
## %bb.5:
	cmpl	%r14d, (%r12)
	jne	LBB0_7
## %bb.6:
	movq	56(%r13), %rax
	movq	_DTLS1_HM_HEADER_LENGTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	8(%rax), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, 8(%r13)
	sete	%dil
	callq	_ossl_assert
	testl	%eax, %eax
	je	LBB0_62
LBB0_7:
	movq	80(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.8:
	movq	72(%r13), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	%rax, %rdi
	callq	_EVP_CIPHER_CTX_cipher
	movl	%eax, %edi
	callq	_EVP_CIPHER_flags
	movq	_EVP_CIPH_FLAG_AEAD_CIPHER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
LBB0_11:
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_13:
	movq	80(%r13), %rdi
LBB0_14:
	callq	_EVP_MD_CTX_size
	movq	%rax, %r15
LBB0_15:
	movq	72(%r13), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.16:
	callq	_EVP_CIPHER_CTX_mode
	movq	_EVP_CIPH_CBC_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.17:
	movq	72(%r13), %rdi
	callq	_EVP_CIPHER_CTX_block_size
	addl	%eax, %eax
	cltq
	jmp	LBB0_19
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_SSL_NOTHING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r13)
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_63
## %bb.20:
	addq	%r15, -56(%rbp)                 ## 8-byte Folded Spill
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_DTLS1_HM_HEADER_LENGTH@GOTPCREL(%rip), %r15
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%r13), %rax
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_63
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r14d, (%r12)
	jne	LBB0_28
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_28
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	subq	(%r15), %rcx
	jbe	LBB0_62
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rcx, (%r13)
	addq	(%r15), %rax
	movq	%rax, 8(%r13)
	jmp	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	56(%r13), %rax
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	68(%r13), %edi
	callq	_BIO_wpending
	addq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	movq	_DTLS1_RT_HEADER_LENGTH@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	56(%r13), %rcx
	movq	(%rcx), %rcx
	subq	%rax, %rcx
	movl	$0, %edx
	cmovaeq	%rcx, %rdx
	movq	(%r15), %rax
	cmpq	%rax, %rdx
	ja	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	68(%r13), %edi
	callq	_BIO_flush
	testl	%eax, %eax
	jle	LBB0_54
## %bb.30:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	_DTLS1_RT_HEADER_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	-56(%rbp), %rdx                 ## 8-byte Folded Reload
	movq	56(%r13), %rax
	movq	(%rax), %rcx
	movq	(%r15), %rax
	leaq	(%rax,%rdx), %rsi
	cmpq	%rsi, %rcx
	jbe	LBB0_62
## %bb.31:                              ##   in Loop: Header=BB0_22 Depth=1
	subq	%rdx, %rcx
LBB0_32:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%r13), %rbx
	movq	16(%r13), %rdx
	movl	%ebx, %esi
	cmpq	%rcx, %rsi
	cmovaq	%rcx, %rbx
	cmpq	%rdx, %rbx
	cmovaeq	%rdx, %rbx
	cmpl	%r14d, (%r12)
	jne	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rdx
	subq	%rax, %rdx
	jb	LBB0_62
## %bb.34:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_dtls1_fix_message_header
	movq	(%r13), %rsi
	movq	40(%r13), %rax
	shlq	$2, %rsi
	addq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_dtls1_write_message_header
LBB0_35:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	(%r13), %rdx
	movq	40(%r13), %rax
	shlq	$2, %rdx
	addq	(%rax), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rcx
	leaq	-64(%rbp), %r8
	callq	_dtls1_write_bytes
	testl	%eax, %eax
	js	LBB0_45
## %bb.36:                              ##   in Loop: Header=BB0_22 Depth=1
	xorl	%edi, %edi
	cmpq	-64(%rbp), %rbx
	sete	%dil
	callq	_ossl_assert
	testl	%eax, %eax
	je	LBB0_62
## %bb.37:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpl	%r14d, (%r12)
	jne	LBB0_43
## %bb.38:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	56(%r13), %r12
	cmpl	$0, 32(%r12)
	jne	LBB0_43
## %bb.39:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	(%r13), %rbx
	movq	40(%r13), %rax
	shlq	$2, %rbx
	addq	(%rax), %rbx
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	24(%r13), %rax
	movq	_DTLS1_BAD_VER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_49
LBB0_41:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	(%r15), %rax
	addq	%rax, %rbx
	movq	-64(%rbp), %rdx
	subq	%rax, %rdx
LBB0_42:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ssl3_finish_mac
	testl	%eax, %eax
	je	LBB0_62
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	-64(%rbp), %r8
	movq	8(%r13), %rax
	subq	%r8, %rax
	je	LBB0_51
## %bb.44:                              ##   in Loop: Header=BB0_22 Depth=1
	addq	%r8, (%r13)
	movq	%rax, 8(%r13)
	subq	(%r15), %r8
	movq	%r8, -64(%rbp)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	%r8, %rsi
	movq	%r13, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	callq	_dtls1_fix_message_header
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %r12
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_22 Depth=1
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_62
## %bb.46:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r13, %rdi
	callq	_SSL_get_wbio
	movq	_BIO_CTRL_DGRAM_MTU_EXCEEDED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_BIO_ctrl
	testq	%rax, %rax
	jle	LBB0_62
## %bb.47:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r13, %rdi
	callq	_SSL_get_options
	movq	_SSL_OP_NO_QUERY_MTU@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_62
## %bb.48:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r13, %rdi
	callq	_dtls1_query_mtu
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	testl	%eax, %eax
	jne	LBB0_21
	jmp	LBB0_62
LBB0_49:                                ##   in Loop: Header=BB0_22 Depth=1
	movzbl	28(%r12), %eax
	movb	%al, (%rbx)
	incq	%rbx
	movq	8(%r12), %rdi
	movq	%rbx, %rsi
	callq	_l2n3
	movl	24(%r12), %edi
	movq	%rbx, %rsi
	callq	_s2n
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_l2n3
	movq	8(%r12), %rdi
	movq	%rbx, %rsi
	callq	_l2n3
	subq	(%r15), %rbx
	movq	-64(%rbp), %rdx
	jmp	LBB0_42
LBB0_51:
	movq	48(%r13), %rax
	testq	%rax, %rax
	je	LBB0_53
## %bb.52:
	movq	24(%r13), %rsi
	movq	40(%r13), %rcx
	movq	(%rcx), %rcx
	addq	(%r13), %r8
	movl	32(%r13), %edx
	movl	%edx, (%rsp)
	movl	$1, %edi
	movl	%r14d, %edx
	movq	%r13, %r9
	callq	*%rax
LBB0_53:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
	movl	$1, %ebx
	jmp	LBB0_63
LBB0_54:
	movl	%eax, %ebx
	movq	_SSL_WRITING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r13)
	jmp	LBB0_63
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL3_RT_HANDSHAKE,4,2          ## @SSL3_RT_HANDSHAKE
	.comm	_DTLS1_HM_HEADER_LENGTH,8,3     ## @DTLS1_HM_HEADER_LENGTH
	.comm	_EVP_CIPH_FLAG_AEAD_CIPHER,4,2  ## @EVP_CIPH_FLAG_AEAD_CIPHER
	.comm	_EVP_CIPH_CBC_MODE,8,3          ## @EVP_CIPH_CBC_MODE
	.comm	_SSL_NOTHING,4,2                ## @SSL_NOTHING
	.comm	_DTLS1_RT_HEADER_LENGTH,8,3     ## @DTLS1_RT_HEADER_LENGTH
	.comm	_SSL_WRITING,4,2                ## @SSL_WRITING
	.comm	_BIO_CTRL_DGRAM_MTU_EXCEEDED,4,2 ## @BIO_CTRL_DGRAM_MTU_EXCEEDED
	.comm	_SSL_OP_NO_QUERY_MTU,4,2        ## @SSL_OP_NO_QUERY_MTU
	.comm	_DTLS1_BAD_VER,8,3              ## @DTLS1_BAD_VER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls1_do_write                 ; -- Begin function dtls1_do_write
	.p2align	2
_dtls1_do_write:                        ; @dtls1_do_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	bl	_dtls1_query_mtu
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #56]
	ldr	x21, [x8]
	mov	x0, x19
	bl	_dtls1_min_mtu
	cmp	x21, x0
	b.hs	LBB0_4
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	ldr	x8, [x19]
Lloh0:
	adrp	x23, _SSL3_RT_HANDSHAKE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SSL3_RT_HANDSHAKE@GOTPAGEOFF]
Lloh2:
	adrp	x24, _DTLS1_HM_HEADER_LENGTH@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DTLS1_HM_HEADER_LENGTH@GOTPAGEOFF]
	cbnz	x8, LBB0_7
; %bb.5:
	ldr	w8, [x23]
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #56]
	ldr	x9, [x9, #8]
	ldr	x10, [x24]
	add	x9, x10, x9
	cmp	x8, x9
	cset	w0, eq
	bl	_ossl_assert
	cbz	w0, LBB0_2
LBB0_7:
	ldr	x0, [x19, #80]
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_12
; %bb.9:
	mov	x0, x8
	bl	_EVP_CIPHER_CTX_cipher
	bl	_EVP_CIPHER_flags
Lloh4:
	adrp	x8, _EVP_CIPH_FLAG_AEAD_CIPHER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EVP_CIPH_FLAG_AEAD_CIPHER@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_11
LBB0_10:
	mov	x22, #0
	ldr	x0, [x19, #72]
	cbnz	x0, LBB0_13
	b	LBB0_15
LBB0_11:
	ldr	x0, [x19, #80]
LBB0_12:
	bl	_EVP_MD_CTX_size
	mov	x22, x0
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_15
LBB0_13:
	bl	_EVP_CIPHER_CTX_mode
Lloh7:
	adrp	x8, _EVP_CIPH_CBC_MODE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EVP_CIPH_CBC_MODE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.14:
	ldr	x0, [x19, #72]
	bl	_EVP_CIPHER_CTX_block_size
	lsl	w8, w0, #1
	sxtw	x9, w8
	b	LBB0_16
LBB0_15:
	mov	x9, #0
LBB0_16:
Lloh10:
	adrp	x8, _SSL_NOTHING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SSL_NOTHING@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #64]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_48
; %bb.17:
	mov	x21, #0
	add	x25, x9, x22
	mov	w28, #1
Lloh13:
	adrp	x26, _DTLS1_RT_HEADER_LENGTH@GOTPAGE
Lloh14:
	ldr	x26, [x26, _DTLS1_RT_HEADER_LENGTH@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w0, #0
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x23]
	cmp	w9, w20
	b.ne	LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x9, [x19]
	cbz	x9, LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	cbz	x21, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x10, [x24]
	subs	x9, x9, x10
	b.ls	LBB0_2
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	str	x9, [x19]
	ldr	x9, [x24]
	add	x8, x9, x8
	str	x8, [x19, #8]
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x19, #56]
	ldr	x21, [x8, #16]
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w0, [x19, #68]
	bl	_BIO_wpending
	ldr	x8, [x26]
	add	x9, x25, x0
	add	x8, x9, x8
	ldr	x9, [x19, #56]
	ldr	x9, [x9]
	subs	x9, x9, x8
	csel	x10, xzr, x9, lo
	ldr	x8, [x24]
	cmp	x10, x8
	b.hi	LBB0_29
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w0, [x19, #68]
	bl	_BIO_flush
	cmp	w0, #0
	b.le	LBB0_52
; %bb.27:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x10, [x26]
	ldr	x8, [x19, #56]
	ldr	x9, [x8]
	ldr	x8, [x24]
	add	x10, x25, x10
	add	x11, x8, x10
	cmp	x9, x11
	b.ls	LBB0_2
; %bb.28:                               ;   in Loop: Header=BB0_19 Depth=1
	sub	x9, x9, x10
LBB0_29:                                ;   in Loop: Header=BB0_19 Depth=1
	ldp	x10, x11, [x19, #8]
	cmp	x9, w10, uxtw
	csel	x9, x9, x10, lo
	cmp	x9, x11
	csel	x22, x9, x11, lo
	ldr	w9, [x23]
	cmp	w9, w20
	b.ne	LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_19 Depth=1
	subs	x2, x22, x8
	b.lo	LBB0_2
; %bb.31:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_dtls1_fix_message_header
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	ldr	x9, [x19]
	add	x1, x8, x9, lsl #2
	mov	x0, x19
	bl	_dtls1_write_message_header
LBB0_32:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	ldr	x9, [x19]
	add	x2, x8, x9, lsl #2
	add	x4, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	bl	_dtls1_write_bytes
	tbnz	w0, #31, LBB0_42
; %bb.33:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [sp, #8]
	cmp	x22, x8
	cset	w0, eq
	bl	_ossl_assert
	cbz	w0, LBB0_2
; %bb.34:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x23]
	cmp	w8, w20
	b.ne	LBB0_40
; %bb.35:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x27, [x19, #56]
	ldr	w8, [x27, #32]
	cbnz	w8, LBB0_40
; %bb.36:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	ldr	x9, [x19]
	add	x22, x8, x9, lsl #2
	cbnz	x21, LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x19, #24]
Lloh15:
	adrp	x9, _DTLS1_BAD_VER@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DTLS1_BAD_VER@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_47
LBB0_38:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x24]
	add	x1, x22, x8
	ldr	x9, [sp, #8]
	sub	x2, x9, x8
LBB0_39:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x19
	bl	_ssl3_finish_mac
	cbz	w0, LBB0_2
LBB0_40:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #8]
	subs	x9, x9, x8
	b.eq	LBB0_49
; %bb.41:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x10, [x19]
	add	x10, x10, x8
	stp	x10, x9, [x19]
	ldr	x9, [x24]
	sub	x8, x8, x9
	add	x21, x8, x21
	str	x8, [sp, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	bl	_dtls1_fix_message_header
	b	LBB0_18
LBB0_42:                                ;   in Loop: Header=BB0_19 Depth=1
	cbz	w28, LBB0_2
; %bb.43:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x19
	bl	_SSL_get_wbio
Lloh18:
	adrp	x8, _BIO_CTRL_DGRAM_MTU_EXCEEDED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BIO_CTRL_DGRAM_MTU_EXCEEDED@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	w2, #0
	mov	x3, #0
	bl	_BIO_ctrl
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.44:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x19
	bl	_SSL_get_options
Lloh21:
	adrp	x8, _SSL_OP_NO_QUERY_MTU@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SSL_OP_NO_QUERY_MTU@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_2
; %bb.45:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x19
	bl	_dtls1_query_mtu
	cbz	w0, LBB0_2
; %bb.46:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w28, #0
	b	LBB0_18
LBB0_47:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x27, #28]
	strb	w8, [x22], #1
	ldr	x0, [x27, #8]
	mov	x1, x22
	bl	_l2n3
	ldr	w0, [x27, #24]
	mov	x1, x22
	bl	_s2n
	mov	x0, #0
	mov	x1, x22
	bl	_l2n3
	ldr	x0, [x27, #8]
	mov	x1, x22
	bl	_l2n3
	ldr	x8, [x24]
	sub	x1, x22, x8
	ldr	x2, [sp, #8]
	b	LBB0_39
LBB0_48:
	mov	w0, #0
	b	LBB0_3
LBB0_49:
	ldr	x9, [x19, #48]
	cbz	x9, LBB0_51
; %bb.50:
	ldr	x1, [x19, #24]
	ldr	x10, [x19, #40]
	ldr	x3, [x10]
	ldr	x10, [x19]
	add	x4, x10, x8
	ldr	w6, [x19, #32]
	mov	w0, #1
	mov	x2, x20
	mov	x5, x19
	blr	x9
LBB0_51:
	stp	xzr, xzr, [x19]
	mov	w0, #1
	b	LBB0_3
LBB0_52:
Lloh24:
	adrp	x8, _SSL_WRITING@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SSL_WRITING@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19, #64]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL3_RT_HANDSHAKE,4,2          ; @SSL3_RT_HANDSHAKE
	.comm	_DTLS1_HM_HEADER_LENGTH,8,3     ; @DTLS1_HM_HEADER_LENGTH
	.comm	_EVP_CIPH_FLAG_AEAD_CIPHER,4,2  ; @EVP_CIPH_FLAG_AEAD_CIPHER
	.comm	_EVP_CIPH_CBC_MODE,8,3          ; @EVP_CIPH_CBC_MODE
	.comm	_SSL_NOTHING,4,2                ; @SSL_NOTHING
	.comm	_DTLS1_RT_HEADER_LENGTH,8,3     ; @DTLS1_RT_HEADER_LENGTH
	.comm	_SSL_WRITING,4,2                ; @SSL_WRITING
	.comm	_BIO_CTRL_DGRAM_MTU_EXCEEDED,4,2 ; @BIO_CTRL_DGRAM_MTU_EXCEEDED
	.comm	_SSL_OP_NO_QUERY_MTU,4,2        ; @SSL_OP_NO_QUERY_MTU
	.comm	_DTLS1_BAD_VER,8,3              ; @DTLS1_BAD_VER
.subsections_via_symbols
