	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mthca_array_get                ## -- Begin function mthca_array_get
	.p2align	4, 0x90
_mthca_array_get:                       ## @mthca_array_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%esi, %rax
	shlq	$3, %rax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, %rax
	movq	(%rdi), %rcx
	cltq
	movq	(%rcx,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_MTHCA_ARRAY_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_MTHCA_ARRAY_MASK,4,2           ## @MTHCA_ARRAY_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mthca_array_get                ; -- Begin function mthca_array_get
	.p2align	2
_mthca_array_get:                       ; @mthca_array_get
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	sbfiz	x8, x1, #3, #32
Lloh0:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsr	x8, x8, x9
	ldr	x9, [x0]
	sbfiz	x8, x8, #3, #32
	ldr	x8, [x9, x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _MTHCA_ARRAY_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MTHCA_ARRAY_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w1
	ldr	x0, [x8, w9, sxtw #3]
	ret
LBB0_2:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_MTHCA_ARRAY_MASK,4,2           ; @MTHCA_ARRAY_MASK
.subsections_via_symbols
