	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_eq_indices
_read_eq_indices:                       ## @read_eq_indices
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	_SGE_DBQ_CTXT_BADDR_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_t4_read_reg
	shll	$3, %ebx
	leal	(%rbx,%rbx,2), %ecx
	movslq	%ecx, %rcx
	leaq	(%rcx,%rax), %rbx
	addq	$8, %rbx
	movq	%r13, %rdi
	callq	_spin_lock
	movq	_MEM_EDC0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_T4_MEMORY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-44(%rbp), %r9
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	movl	$4, %r8d
	callq	_t4_memory_rw
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_spin_unlock
	testl	%r12d, %r12d
	jne	LBB0_2
## %bb.1:
	movl	-44(%rbp), %edi
	callq	_be64_to_cpu
	sarl	$25, %eax
	movzwl	%ax, %eax
	movl	%eax, (%r15)
	movl	-44(%rbp), %edi
	callq	_be64_to_cpu
	shrl	$9, %eax
	movzwl	%ax, %eax
	movl	%eax, (%r14)
LBB0_2:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SGE_DBQ_CTXT_BADDR_A,4,2       ## @SGE_DBQ_CTXT_BADDR_A
	.comm	_MEM_EDC0,4,2                   ## @MEM_EDC0
	.comm	_T4_MEMORY_READ,4,2             ## @T4_MEMORY_READ
	.no_dead_strip	_read_eq_indices
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_eq_indices
_read_eq_indices:                       ; @read_eq_indices
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _SGE_DBQ_CTXT_BADDR_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SGE_DBQ_CTXT_BADDR_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_t4_read_reg
	add	w8, w21, w21, lsl #1
	lsl	w8, w8, #3
	add	x8, x0, w8, sxtw
	add	x21, x8, #8
	mov	x0, x22
	bl	_spin_lock
Lloh3:
	adrp	x8, _MEM_EDC0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MEM_EDC0@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _T4_MEMORY_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _T4_MEMORY_READ@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	add	x5, sp, #12
	mov	x0, x22
	mov	w1, #0
	mov	x3, x21
	mov	w4, #4
	bl	_t4_memory_rw
	mov	x21, x0
	mov	x0, x22
	bl	_spin_unlock
	cbnz	w21, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_be64_to_cpu
	asr	w8, w0, #25
	and	w8, w8, #0xffff
	str	w8, [x20]
	ldr	w0, [sp, #12]
	bl	_be64_to_cpu
	ubfx	w8, w0, #9, #16
	str	w8, [x19]
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SGE_DBQ_CTXT_BADDR_A,4,2       ; @SGE_DBQ_CTXT_BADDR_A
	.comm	_MEM_EDC0,4,2                   ; @MEM_EDC0
	.comm	_T4_MEMORY_READ,4,2             ; @T4_MEMORY_READ
	.no_dead_strip	_read_eq_indices
.subsections_via_symbols
