	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adin_read_mmd_stat_regs
_adin_read_mmd_stat_regs:               ## @adin_read_mmd_stat_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, %r12
	movq	%rdi, %r15
	movq	_MDIO_MMD_VEND1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	(%r12), %rdx
	callq	_phy_read_mmd
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movzwl	%bx, %eax
	movl	%eax, (%r14)
	movq	8(%r12), %rdx
	xorl	%ebx, %ebx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.2:
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_phy_read_mmd
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	(%r14), %ecx
	shll	$16, %ecx
	movzwl	%ax, %eax
	orl	%ecx, %eax
	movl	%eax, (%r14)
	jmp	LBB0_5
LBB0_3:
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_MMD_VEND1,4,2             ## @MDIO_MMD_VEND1
	.no_dead_strip	_adin_read_mmd_stat_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adin_read_mmd_stat_regs
_adin_read_mmd_stat_regs:               ; @adin_read_mmd_stat_regs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _MDIO_MMD_VEND1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MDIO_MMD_VEND1@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	x2, [x21]
	bl	_phy_read_mmd
	tbnz	w0, #31, LBB0_5
; %bb.1:
	and	w8, w0, #0xffff
	str	w8, [x19]
	ldr	x2, [x21, #8]
	cbz	x2, LBB0_4
; %bb.2:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_phy_read_mmd
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	w8, [x19]
	bfi	w0, w8, #16, #16
	str	w0, [x19]
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_MMD_VEND1,4,2             ; @MDIO_MMD_VEND1
	.no_dead_strip	_adin_read_mmd_stat_regs
.subsections_via_symbols
