	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dhm_check_range
_dhm_check_range:                       ## @dhm_check_range
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_MBEDTLS_ERR_DHM_BAD_INPUT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_mbedtls_mpi_init
	leaq	-44(%rbp), %r13
	movq	%r13, %rdi
	callq	_mbedtls_mpi_init
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_mbedtls_mpi_lset
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_mbedtls_mpi_sub_int
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_mbedtls_mpi_cmp_mpi
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mbedtls_mpi_cmp_mpi
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovlel	%ecx, %r14d
LBB0_2:
	leaq	-48(%rbp), %rdi
	callq	_mbedtls_mpi_free
	leaq	-44(%rbp), %rdi
	callq	_mbedtls_mpi_free
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_DHM_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_DHM_BAD_INPUT_DATA
	.no_dead_strip	_dhm_check_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dhm_check_range
_dhm_check_range:                       ; @dhm_check_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MBEDTLS_ERR_DHM_BAD_INPUT_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_DHM_BAD_INPUT_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	add	x0, sp, #12
	bl	_mbedtls_mpi_init
	add	x0, sp, #8
	bl	_mbedtls_mpi_init
	add	x0, sp, #12
	mov	w1, #2
	bl	_mbedtls_mpi_lset
	bl	_MBEDTLS_MPI_CHK
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #2
	bl	_mbedtls_mpi_sub_int
	bl	_MBEDTLS_MPI_CHK
	add	x1, sp, #12
	mov	x0, x20
	bl	_mbedtls_mpi_cmp_mpi
	tbnz	x0, #63, LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x20
	bl	_mbedtls_mpi_cmp_mpi
	cmp	x0, #1
	csel	w19, wzr, w19, lt
LBB0_2:
	add	x0, sp, #12
	bl	_mbedtls_mpi_free
	add	x0, sp, #8
	bl	_mbedtls_mpi_free
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_DHM_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_DHM_BAD_INPUT_DATA
	.no_dead_strip	_dhm_check_range
.subsections_via_symbols
