	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdio_write
_mdio_write:                            ## @mdio_write
	.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	%ecx, %r14d
	movl	%edx, %ebx
	callq	_netdev_priv
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$7, %ebx
	jg	LBB0_3
## %bb.2:
	movq	_mii_2_8139_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.5:
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cpw16                          ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_Cfg9346@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_Cfg9346_Unlock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cpw8
	movq	_BasicModeCtrl@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%r14d, %esi
	callq	_cpw16
	movl	(%rbx), %edi
	movq	_Cfg9346_Lock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cpw8                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Cfg9346,4,2                    ## @Cfg9346
	.comm	_Cfg9346_Unlock,4,2             ## @Cfg9346_Unlock
	.comm	_BasicModeCtrl,8,3              ## @BasicModeCtrl
	.comm	_Cfg9346_Lock,4,2               ## @Cfg9346_Lock
	.comm	_mii_2_8139_map,8,3             ## @mii_2_8139_map
	.no_dead_strip	_mdio_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdio_write
_mdio_write:                            ; @mdio_write
	.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, x3
	mov	x20, x2
	bl	_netdev_priv
	cbz	w20, LBB0_5
; %bb.1:
	cmp	w20, #7
	b.gt	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _mii_2_8139_map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mii_2_8139_map@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x8, w20, sxtw #3]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cpw16
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh3:
	adrp	x20, _Cfg9346@GOTPAGE
Lloh4:
	ldr	x20, [x20, _Cfg9346@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh5:
	adrp	x8, _Cfg9346_Unlock@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Cfg9346_Unlock@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_cpw8
Lloh8:
	adrp	x8, _BasicModeCtrl@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BasicModeCtrl@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_cpw16
	ldr	w0, [x20]
Lloh11:
	adrp	x8, _Cfg9346_Lock@GOTPAGE
Lloh12:
	ldr	x8, [x8, _Cfg9346_Lock@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cpw8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_Cfg9346,4,2                    ; @Cfg9346
	.comm	_Cfg9346_Unlock,4,2             ; @Cfg9346_Unlock
	.comm	_BasicModeCtrl,8,3              ; @BasicModeCtrl
	.comm	_Cfg9346_Lock,4,2               ; @Cfg9346_Lock
	.comm	_mii_2_8139_map,8,3             ; @mii_2_8139_map
	.no_dead_strip	_mdio_write
.subsections_via_symbols
