	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm9601_mdio_read
_dm9601_mdio_read:                      ## @dm9601_mdio_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r15
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_netdev_dbg
	jmp	LBB0_3
LBB0_2:
	leaq	-28(%rbp), %rcx
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%r14d, %edx
	callq	_dm_read_shared_word
	movl	(%r15), %ebx
	movl	-28(%rbp), %edi
	callq	_le16_to_cpu
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_netdev_dbg
	movl	-28(%rbp), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Only internal phy supported\n"

L_.str.1:                               ## @.str.1
	.asciz	"dm9601_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n"

	.no_dead_strip	_dm9601_mdio_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm9601_mdio_read
_dm9601_mdio_read:                      ; @dm9601_mdio_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x20, x0
	cbz	w21, LBB0_2
; %bb.1:
	ldr	w0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	add	x3, sp, #28
	mov	x0, x20
	mov	w1, #1
	mov	x2, x19
	bl	_dm_read_shared_word
	ldr	w20, [x20]
	ldr	w0, [sp, #28]
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp, #8]
	str	xzr, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netdev_dbg
	ldr	w0, [sp, #28]
	bl	_le16_to_cpu
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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Only internal phy supported\n"

l_.str.1:                               ; @.str.1
	.asciz	"dm9601_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n"

	.no_dead_strip	_dm9601_mdio_read
.subsections_via_symbols
