	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7530_mdio_r32                ## -- Begin function mt7530_mdio_r32
	.p2align	4, 0x90
_mt7530_mdio_r32:                       ## @mt7530_mdio_r32
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %ecx
	shrl	$6, %ecx
	andl	$1023, %ecx                     ## imm = 0x3FF
	movl	$31, %esi
	movl	$31, %edx
	callq	__mt7620_mii_write
	shrl	$2, %ebx
	andl	$15, %ebx
	movq	%r14, %rdi
	movl	$31, %esi
	movl	%ebx, %edx
	callq	__mt7620_mii_read
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$31, %esi
	movl	$16, %edx
	callq	__mt7620_mii_read
	shll	$16, %eax
	movzwl	%bx, %ecx
	orl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7530_mdio_r32                ; -- Begin function mt7530_mdio_r32
	.p2align	2
_mt7530_mdio_r32:                       ; @mt7530_mdio_r32
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ubfx	w3, w1, #6, #10
	mov	w1, #31
	mov	w2, #31
	bl	__mt7620_mii_write
	ubfx	w2, w19, #2, #4
	mov	x0, x20
	mov	w1, #31
	bl	__mt7620_mii_read
	mov	x19, x0
	mov	x0, x20
	mov	w1, #31
	mov	w2, #16
	bl	__mt7620_mii_read
	bfi	w19, w0, #16, #16
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
