	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qca8k_read
_qca8k_read:                            ## @qca8k_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %eax
	movq	%rdi, %rbx
	leaq	-28(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	movl	%eax, %edi
	callq	_qca8k_split_addr
	movq	(%rbx), %rdi
	movq	_MDIO_MUTEX_NESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mutex_lock_nested
	movq	(%rbx), %rdi
	movl	-20(%rbp), %esi
	callq	_qca8k_set_page
	movq	(%rbx), %rdi
	movl	-24(%rbp), %esi
	orl	$16, %esi
	movl	-28(%rbp), %edx
	callq	_qca8k_mii_read32
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_MUTEX_NESTED,4,2          ## @MDIO_MUTEX_NESTED
	.no_dead_strip	_qca8k_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qca8k_read
_qca8k_read:                            ; @qca8k_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x19, x0
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x8
	bl	_qca8k_split_addr
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _MDIO_MUTEX_NESTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MDIO_MUTEX_NESTED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mutex_lock_nested
	ldr	x0, [x19]
	ldr	w1, [sp, #4]
	bl	_qca8k_set_page
	ldr	x0, [x19]
	ldp	w8, w2, [sp, #8]
	orr	w1, w8, #0x10
	bl	_qca8k_mii_read32
	mov	x20, x0
	ldr	x0, [x19]
	bl	_mutex_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_MUTEX_NESTED,4,2          ; @MDIO_MUTEX_NESTED
	.no_dead_strip	_qca8k_read
.subsections_via_symbols
