	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ch9200_mdio_read
_ch9200_mdio_read:                      ## @ch9200_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	callq	_netdev_dbg
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_REQUEST_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r15d, %r15d
	movq	_CONTROL_TIMEOUT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-34(%rbp), %r8
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	movl	$2, %r9d
	callq	_control_read
	movzwl	-34(%rbp), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ch9200_mdio_read phy_id:%02x loc:%02x\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_REQUEST_READ,4,2               ## @REQUEST_READ
	.comm	_CONTROL_TIMEOUT_MS,4,2         ## @CONTROL_TIMEOUT_MS
	.no_dead_strip	_ch9200_mdio_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ch9200_mdio_read
_ch9200_mdio_read:                      ; @ch9200_mdio_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	bl	_netdev_dbg
	cbz	w21, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _REQUEST_READ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REQUEST_READ@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	lsl	w3, w20, #1
Lloh8:
	adrp	x8, _CONTROL_TIMEOUT_MS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CONTROL_TIMEOUT_MS@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x8]
	add	x4, sp, #14
	mov	x0, x19
	mov	w2, #0
	mov	w5, #2
	bl	_control_read
	ldrh	w0, [sp, #14]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ch9200_mdio_read phy_id:%02x loc:%02x\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_REQUEST_READ,4,2               ; @REQUEST_READ
	.comm	_CONTROL_TIMEOUT_MS,4,2         ; @CONTROL_TIMEOUT_MS
	.no_dead_strip	_ch9200_mdio_read
.subsections_via_symbols
