	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DTLS_get_data_mtu              ## -- Begin function DTLS_get_data_mtu
	.p2align	4, 0x90
_DTLS_get_data_mtu:                     ## @DTLS_get_data_mtu
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_SSL_get_current_cipher
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rcx
	movq	(%rcx), %r14
	leaq	-48(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	leaq	-24(%rbp), %r8
	movq	%rax, %rdi
	callq	_ssl_cipher_get_overhead
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_SSL_READ_ETM
	movq	-48(%rbp), %rcx
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	addq	-24(%rbp), %rcx
	jmp	LBB0_7
LBB0_6:
	addq	%rcx, -32(%rbp)
	movq	-24(%rbp), %rcx
LBB0_7:
	movq	_DTLS1_RT_HEADER_LENGTH@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	subq	%rcx, %r14
	jbe	LBB0_4
## %bb.8:
	movq	-40(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.9:
	movq	%r14, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_12
## %bb.10:
	movq	%r14, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_13
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_12:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_13:
	subq	%rdx, %r14
LBB0_14:
	xorl	%eax, %eax
	subq	-32(%rbp), %r14
	cmovaeq	%r14, %rax
LBB0_15:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DTLS1_RT_HEADER_LENGTH,8,3     ## @DTLS1_RT_HEADER_LENGTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DTLS_get_data_mtu              ; -- Begin function DTLS_get_data_mtu
	.p2align	2
_DTLS_get_data_mtu:                     ; @DTLS_get_data_mtu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_SSL_get_current_cipher
	cbz	x0, LBB0_10
; %bb.1:
	ldr	x8, [x19]
	ldr	x20, [x8]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x4, sp
	bl	_ssl_cipher_get_overhead
	cbz	w0, LBB0_9
; %bb.2:
	mov	x0, x19
	bl	_SSL_READ_ETM
	ldr	x8, [sp, #24]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x9, [sp]
	add	x8, x9, x8
	b	LBB0_5
LBB0_4:
	ldr	x9, [sp, #16]
	add	x8, x9, x8
	str	x8, [sp, #16]
	ldr	x8, [sp]
LBB0_5:
Lloh0:
	adrp	x9, _DTLS1_RT_HEADER_LENGTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DTLS1_RT_HEADER_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x8, x9, x8
	subs	x8, x20, x8
	b.ls	LBB0_9
; %bb.6:
	ldr	x9, [sp, #8]
	cbz	x9, LBB0_8
; %bb.7:
	udiv	x8, x8, x9
	mul	x8, x8, x9
LBB0_8:
	ldr	x9, [sp, #16]
	subs	x8, x8, x9
	csel	x0, xzr, x8, lo
	b	LBB0_10
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DTLS1_RT_HEADER_LENGTH,8,3     ; @DTLS1_RT_HEADER_LENGTH
.subsections_via_symbols
