	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _stage_offset
__stage_offset:                         ## @_stage_offset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movq	_DPU_STAGE_BASE@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_3
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	cmpl	%esi, (%rax)
	jae	LBB0_2
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rax), %rax
	movq	_DPU_STAGE_0@GOTPCREL(%rip), %rcx
	subl	(%rcx), %esi
	movl	(%rax,%rsi,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPU_STAGE_BASE,4,2             ## @DPU_STAGE_BASE
	.comm	_DPU_STAGE_0,4,2                ## @DPU_STAGE_0
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	__stage_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _stage_offset
__stage_offset:                         ; @_stage_offset
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DPU_STAGE_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPU_STAGE_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, w1
	b.hs	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_3:
	ldr	x8, [x8, #8]
Lloh6:
	adrp	x9, _DPU_STAGE_0@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DPU_STAGE_0@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sub	w9, w1, w9
	ldr	w0, [x8, w9, uxtw #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DPU_STAGE_BASE,4,2             ; @DPU_STAGE_BASE
	.comm	_DPU_STAGE_0,4,2                ; @DPU_STAGE_0
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	__stage_offset
.subsections_via_symbols
