	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8211cl_phy_init
_rtl8211cl_phy_init:                    ## @rtl8211cl_phy_init
	.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
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_dbg
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movl	$31, %edx
	movl	$5, %ecx
	callq	_asix_mdio_write
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movl	$12, %edx
	xorl	%ecx, %ecx
	callq	_asix_mdio_write
	movl	(%rbx), %r14d
	movl	4(%rbx), %r15d
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_asix_mdio_read
	orl	$128, %eax
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_asix_mdio_write
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movl	$31, %edx
	xorl	%ecx, %ecx
	callq	_asix_mdio_write
	cmpl	$12, 8(%rbx)
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movl	$31, %edx
	movl	$2, %ecx
	callq	_asix_mdio_write
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movl	$26, %edx
	movl	$203, %ecx
	callq	_asix_mdio_write
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movl	$31, %edx
	xorl	%ecx, %ecx
	callq	_asix_mdio_write
LBB0_2:
	xorl	%eax, %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	"rtl8211cl_phy_init()\n"

	.no_dead_strip	_rtl8211cl_phy_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8211cl_phy_init
_rtl8211cl_phy_init:                    ; @rtl8211cl_phy_init
	.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, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	ldp	w1, w0, [x19]
	mov	w2, #31
	mov	w3, #5
	bl	_asix_mdio_write
	ldp	w1, w0, [x19]
	mov	w2, #12
	mov	w3, #0
	bl	_asix_mdio_write
	ldp	w21, w20, [x19]
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_asix_mdio_read
	orr	w3, w0, #0x80
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_asix_mdio_write
	ldp	w1, w0, [x19]
	mov	w2, #31
	mov	w3, #0
	bl	_asix_mdio_write
	ldr	w8, [x19, #8]
	cmp	w8, #12
	b.ne	LBB0_2
; %bb.1:
	ldp	w1, w0, [x19]
	mov	w2, #31
	mov	w3, #2
	bl	_asix_mdio_write
	ldp	w1, w0, [x19]
	mov	w2, #26
	mov	w3, #203
	bl	_asix_mdio_write
	ldp	w1, w0, [x19]
	mov	w2, #31
	mov	w3, #0
	bl	_asix_mdio_write
LBB0_2:
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtl8211cl_phy_init()\n"

	.no_dead_strip	_rtl8211cl_phy_init
.subsections_via_symbols
