	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcaspi_get_regs
_qcaspi_get_regs:                       ## @qcaspi_get_regs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_netdev_priv
	movq	%rax, %r12
	movl	$1, (%r15)
	movq	_QCASPI_MAX_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$3, %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_qcaspi_spi_regs@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_qcaspi_read_register
	movq	(%r13), %rdi
	movl	(%rdi,%rbx,4), %eax
	sarl	$8, %eax
	cltq
	movq	-48(%rbp), %rcx
	movq	%rcx, (%r14,%rax,8)
	incq	%rbx
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QCASPI_MAX_REGS,4,2            ## @QCASPI_MAX_REGS
	.comm	_qcaspi_spi_regs,8,3            ## @qcaspi_spi_regs
	.no_dead_strip	_qcaspi_get_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcaspi_get_regs
_qcaspi_get_regs:                       ; @qcaspi_get_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x20, x0
	mov	w8, #1
	str	w8, [x21]
Lloh0:
	adrp	x8, _QCASPI_MAX_REGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QCASPI_MAX_REGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w2, w8, #3
	mov	x0, x19
	mov	w1, #0
	bl	_memset
Lloh3:
	adrp	x21, _qcaspi_spi_regs@GOTPAGE
Lloh4:
	ldr	x21, [x21, _qcaspi_spi_regs@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_3
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	lsl	x23, x22, #2
	ldr	w1, [x8, x23]
	add	x2, sp, #8
	mov	x0, x20
	bl	_qcaspi_read_register
	ldr	x0, [x21]
	ldr	w8, [x0, x23]
	asr	w8, w8, #8
	ldr	x9, [sp, #8]
	str	x9, [x19, w8, sxtw #3]
	add	x22, x22, #1
	bl	_ARRAY_SIZE
	cmp	x22, w0, uxtw
	b.lo	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QCASPI_MAX_REGS,4,2            ; @QCASPI_MAX_REGS
	.comm	_qcaspi_spi_regs,8,3            ; @qcaspi_spi_regs
	.no_dead_strip	_qcaspi_get_regs
.subsections_via_symbols
