	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cross_bound
_cross_bound:                           ## @cross_bound
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpl	%esi, (%rcx)
	jb	LBB0_4
## %bb.3:
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%esi, %eax
	leaq	(%rdi,%rax), %rdx
	decq	%rdx
	shrq	%cl, %rdi
	shrq	%cl, %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %rdi
	setne	%al
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.no_dead_strip	_cross_bound
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cross_bound
_cross_bound:                           ; @cross_bound
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.hs	LBB0_4
; %bb.2:
	mov	w0, #1
	ret
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
Lloh3:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	lsr	x9, x0, x8
	add	x10, x0, w1, uxtw
	sub	x10, x10, #1
	lsr	x8, x10, x8
	cmp	x9, x8
	cset	w0, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.no_dead_strip	_cross_bound
.subsections_via_symbols
