	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mr_cache_max_order
_mr_cache_max_order:                    ## @mr_cache_max_order
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	movq	_umr_extended_translation_offset@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_MLX5_MAX_UMR_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_MR_CACHE_LAST_STD_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$2, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_umr_extended_translation_offset,4,2 ## @umr_extended_translation_offset
	.comm	_MR_CACHE_LAST_STD_ENTRY,4,2    ## @MR_CACHE_LAST_STD_ENTRY
	.comm	_MLX5_MAX_UMR_SHIFT,4,2         ## @MLX5_MAX_UMR_SHIFT
	.no_dead_strip	_mr_cache_max_order
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mr_cache_max_order
_mr_cache_max_order:                    ; @mr_cache_max_order
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _umr_extended_translation_offset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _umr_extended_translation_offset@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
Lloh3:
	adrp	x8, _MR_CACHE_LAST_STD_ENTRY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MR_CACHE_LAST_STD_ENTRY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #2
Lloh6:
	adrp	x9, _MLX5_MAX_UMR_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MLX5_MAX_UMR_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x0, #0
	csel	w0, w9, w8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_umr_extended_translation_offset,4,2 ; @umr_extended_translation_offset
	.comm	_MR_CACHE_LAST_STD_ENTRY,4,2    ; @MR_CACHE_LAST_STD_ENTRY
	.comm	_MLX5_MAX_UMR_SHIFT,4,2         ; @MLX5_MAX_UMR_SHIFT
	.no_dead_strip	_mr_cache_max_order
.subsections_via_symbols
