	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bdx_range_check
_bdx_range_check:                       ## @bdx_range_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BDX_REGS_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rdi), %rcx
	cltd
	idivl	(%rcx)
	movslq	%eax, %rcx
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	subl	(%rdx), %eax
	xorl	%edx, %edx
	cmpq	%rsi, %rcx
	cmovgel	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BDX_REGS_SIZE,4,2              ## @BDX_REGS_SIZE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_bdx_range_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bdx_range_check
_bdx_range_check:                       ; @bdx_range_check
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _BDX_REGS_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BDX_REGS_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0]
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	sxtw	x8, w8
Lloh3:
	adrp	x9, _EINVAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, x1
	csneg	w0, wzr, w9, ge
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BDX_REGS_SIZE,4,2              ; @BDX_REGS_SIZE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_bdx_range_check
.subsections_via_symbols
