	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phyAgereSpecificInit
_phyAgereSpecificInit:                  ## @phyAgereSpecificInit
	.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	%esi, %r14d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_info
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$6464, %edx                     ## imm = 0x1940
	movl	%r14d, %ecx
	callq	_ql_mii_write_reg_ex
	movq	%rbx, %rdi
	movl	$18, %esi
	movl	$33806, %edx                    ## imm = 0x840E
	movl	%r14d, %ecx
	callq	_ql_mii_write_reg_ex
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$34821, %edx                    ## imm = 0x8805
	movl	%r14d, %ecx
	callq	_ql_mii_write_reg_ex
	movq	%rbx, %rdi
	movl	$17, %esi
	movl	$61502, %edx                    ## imm = 0xF03E
	movl	%r14d, %ecx
	callq	_ql_mii_write_reg_ex
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$34822, %edx                    ## imm = 0x8806
	movl	%r14d, %ecx
	callq	_ql_mii_write_reg_ex
	movq	%rbx, %rdi
	movl	$17, %esi
	movl	$62, %edx
	movl	%r14d, %ecx
	callq	_ql_mii_write_reg_ex
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$34823, %edx                    ## imm = 0x8807
	movl	%r14d, %ecx
	callq	_ql_mii_write_reg_ex
	movq	%rbx, %rdi
	movl	$17, %esi
	movl	$7936, %edx                     ## imm = 0x1F00
	movl	%r14d, %ecx
	callq	_ql_mii_write_reg_ex
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$10246, %edx                    ## imm = 0x2806
	movl	%r14d, %ecx
	callq	_ql_mii_write_reg_ex
	movq	_PHYAddr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edx
	sarl	$8, %edx
	orl	$32, %edx
	movq	%rbx, %rdi
	movl	$17, %esi
	movl	%r14d, %ecx
	callq	_ql_mii_write_reg_ex
	movq	%rbx, %rdi
	movl	$18, %esi
	movl	$33802, %edx                    ## imm = 0x840A
	callq	_ql_mii_write_reg
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4416, %edx                     ## imm = 0x1140
	callq	_ql_mii_write_reg
	movq	%rbx, %rdi
	movl	$28, %esi
	movl	$64240, %edx                    ## imm = 0xFAF0
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ql_mii_write_reg               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enabling Agere specific PHY\n"

	.comm	_PHYAddr,8,3                    ## @PHYAddr
	.no_dead_strip	_phyAgereSpecificInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phyAgereSpecificInit
_phyAgereSpecificInit:                  ; @phyAgereSpecificInit
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_info
	mov	x0, x19
	mov	w1, #0
	mov	w2, #6464
	mov	x3, x20
	bl	_ql_mii_write_reg_ex
	mov	x0, x19
	mov	w1, #18
	mov	w2, #33806
	mov	x3, x20
	bl	_ql_mii_write_reg_ex
	mov	x0, x19
	mov	w1, #16
	mov	w2, #34821
	mov	x3, x20
	bl	_ql_mii_write_reg_ex
	mov	x0, x19
	mov	w1, #17
	mov	w2, #61502
	mov	x3, x20
	bl	_ql_mii_write_reg_ex
	mov	x0, x19
	mov	w1, #16
	mov	w2, #34822
	mov	x3, x20
	bl	_ql_mii_write_reg_ex
	mov	x0, x19
	mov	w1, #17
	mov	w2, #62
	mov	x3, x20
	bl	_ql_mii_write_reg_ex
	mov	x0, x19
	mov	w1, #16
	mov	w2, #34823
	mov	x3, x20
	bl	_ql_mii_write_reg_ex
	mov	x0, x19
	mov	w1, #17
	mov	w2, #7936
	mov	x3, x20
	bl	_ql_mii_write_reg_ex
	mov	x0, x19
	mov	w1, #16
	mov	w2, #10246
	mov	x3, x20
	bl	_ql_mii_write_reg_ex
Lloh2:
	adrp	x8, _PHYAddr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PHYAddr@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w8, [x8, x9, lsl #2]
	asr	w8, w8, #8
	orr	w2, w8, #0x20
	mov	x0, x19
	mov	w1, #17
	mov	x3, x20
	bl	_ql_mii_write_reg_ex
	mov	x0, x19
	mov	w1, #18
	mov	w2, #33802
	bl	_ql_mii_write_reg
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4416
	bl	_ql_mii_write_reg
	mov	x0, x19
	mov	w1, #28
	mov	w2, #64240
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ql_mii_write_reg
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enabling Agere specific PHY\n"

	.comm	_PHYAddr,8,3                    ; @PHYAddr
	.no_dead_strip	_phyAgereSpecificInit
.subsections_via_symbols
