	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_init_phy_params_pchlan
_e1000_init_phy_params_pchlan:          ## @e1000_init_phy_params_pchlan
	.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
	movq	%rdi, %rbx
	movabsq	$429496729601, %rax             ## imm = 0x6400000001
	movq	%rax, 8(%rdi)
	movq	_e1000_set_page_igp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%rdi)
	movq	_e1000_read_phy_reg_hv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rdi)
	movq	_e1000_read_phy_reg_hv_locked@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%rdi)
	movq	_e1000_read_phy_reg_page_hv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rdi)
	movq	_e1000_set_lplu_state_pchlan@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%rdi)
	movq	%rax, 72(%rdi)
	movq	_e1000_write_phy_reg_hv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rdi)
	movq	_e1000_write_phy_reg_hv_locked@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rdi)
	movq	_e1000_write_phy_reg_page_hv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rdi)
	movq	_e1000_power_up_phy_copper@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rdi)
	movq	_e1000_power_down_phy_copper_ich8lan@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rdi)
	movq	_AUTONEG_ADVERTISE_SPEED_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rdi)
	movq	_e1000_phy_unknown@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, 16(%rdi)
	callq	_e1000_init_phy_workarounds_pchlan
	testq	%rax, %rax
	je	LBB0_1
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	16(%rbx), %rdi
	cmpq	(%r14), %rdi
	jne	LBB0_9
## %bb.2:
	movl	(%rbx), %eax
	andl	$-4, %eax
	cmpl	$132, %eax
	jne	LBB0_3
LBB0_6:
	movq	%rbx, %rdi
	callq	_e1000_set_mdio_slow_mode_hv
	testq	%rax, %rax
	jne	LBB0_15
## %bb.7:
	movq	%rbx, %rdi
	callq	_e1000e_get_phy_id
	testq	%rax, %rax
	jne	LBB0_15
## %bb.8:
	movq	16(%rbx), %rdi
	jmp	LBB0_9
LBB0_3:
	movq	%rbx, %rdi
	callq	_e1000e_get_phy_id
	testq	%rax, %rax
	jne	LBB0_15
## %bb.4:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movq	_PHY_REVISION_MASK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_6
LBB0_9:
	callq	_e1000e_get_phy_type_from_id
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, 24(%rbx)
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_12
## %bb.10:
	cmpl	$130, %eax
	je	LBB0_13
## %bb.11:
	cmpl	$131, %eax
	jne	LBB0_14
LBB0_12:
	movq	_e1000_check_polarity_82577@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_e1000_phy_force_speed_duplex_82577@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_e1000_get_cable_length_82577@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_e1000_get_phy_info_82577@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_e1000e_phy_sw_reset@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_13:
	movq	_e1000_check_polarity_m88@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_e1000e_phy_force_speed_duplex_m88@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_e1000e_get_cable_length_m88@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_e1000e_get_phy_info_m88@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_14:
	movq	_E1000_ERR_PHY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subq	(%rcx), %rax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_set_page_igp,4,2         ## @e1000_set_page_igp
	.comm	_e1000_read_phy_reg_hv,4,2      ## @e1000_read_phy_reg_hv
	.comm	_e1000_read_phy_reg_hv_locked,4,2 ## @e1000_read_phy_reg_hv_locked
	.comm	_e1000_read_phy_reg_page_hv,4,2 ## @e1000_read_phy_reg_page_hv
	.comm	_e1000_set_lplu_state_pchlan,8,3 ## @e1000_set_lplu_state_pchlan
	.comm	_e1000_write_phy_reg_hv,4,2     ## @e1000_write_phy_reg_hv
	.comm	_e1000_write_phy_reg_hv_locked,4,2 ## @e1000_write_phy_reg_hv_locked
	.comm	_e1000_write_phy_reg_page_hv,4,2 ## @e1000_write_phy_reg_page_hv
	.comm	_e1000_power_up_phy_copper,4,2  ## @e1000_power_up_phy_copper
	.comm	_e1000_power_down_phy_copper_ich8lan,4,2 ## @e1000_power_down_phy_copper_ich8lan
	.comm	_AUTONEG_ADVERTISE_SPEED_DEFAULT,4,2 ## @AUTONEG_ADVERTISE_SPEED_DEFAULT
	.comm	_e1000_phy_unknown,8,3          ## @e1000_phy_unknown
	.comm	_PHY_REVISION_MASK,8,3          ## @PHY_REVISION_MASK
	.comm	_e1000_check_polarity_82577,4,2 ## @e1000_check_polarity_82577
	.comm	_e1000_phy_force_speed_duplex_82577,4,2 ## @e1000_phy_force_speed_duplex_82577
	.comm	_e1000_get_cable_length_82577,4,2 ## @e1000_get_cable_length_82577
	.comm	_e1000_get_phy_info_82577,4,2   ## @e1000_get_phy_info_82577
	.comm	_e1000e_phy_sw_reset,4,2        ## @e1000e_phy_sw_reset
	.comm	_e1000_check_polarity_m88,4,2   ## @e1000_check_polarity_m88
	.comm	_e1000e_phy_force_speed_duplex_m88,4,2 ## @e1000e_phy_force_speed_duplex_m88
	.comm	_e1000e_get_cable_length_m88,4,2 ## @e1000e_get_cable_length_m88
	.comm	_e1000e_get_phy_info_m88,4,2    ## @e1000e_get_phy_info_m88
	.comm	_E1000_ERR_PHY,8,3              ## @E1000_ERR_PHY
	.no_dead_strip	_e1000_init_phy_params_pchlan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function e1000_init_phy_params_pchlan
lCPI0_0:
	.long	1                               ; 0x1
	.long	100                             ; 0x64
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_e1000_init_phy_params_pchlan:          ; @e1000_init_phy_params_pchlan
	.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, x0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh2:
	adrp	x8, _e1000_set_page_igp@GOTPAGE
Lloh3:
	ldr	x8, [x8, _e1000_set_page_igp@GOTPAGEOFF]
	str	d0, [x0, #8]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _e1000_read_phy_reg_hv@GOTPAGE
Lloh6:
	ldr	x9, [x9, _e1000_read_phy_reg_hv@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #96]
Lloh8:
	adrp	x8, _e1000_read_phy_reg_hv_locked@GOTPAGE
Lloh9:
	ldr	x8, [x8, _e1000_read_phy_reg_hv_locked@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _e1000_read_phy_reg_page_hv@GOTPAGE
Lloh12:
	ldr	x9, [x9, _e1000_read_phy_reg_page_hv@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #88]
Lloh14:
	adrp	x8, _e1000_set_lplu_state_pchlan@GOTPAGE
Lloh15:
	ldr	x8, [x8, _e1000_set_lplu_state_pchlan@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	stp	x8, x8, [x0, #72]
Lloh17:
	adrp	x8, _e1000_write_phy_reg_hv@GOTPAGE
Lloh18:
	ldr	x8, [x8, _e1000_write_phy_reg_hv@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x0, #68]
Lloh20:
	adrp	x8, _e1000_write_phy_reg_hv_locked@GOTPAGE
Lloh21:
	ldr	x8, [x8, _e1000_write_phy_reg_hv_locked@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _e1000_write_phy_reg_page_hv@GOTPAGE
Lloh24:
	ldr	x9, [x9, _e1000_write_phy_reg_page_hv@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #60]
Lloh26:
	adrp	x8, _e1000_power_up_phy_copper@GOTPAGE
Lloh27:
	ldr	x8, [x8, _e1000_power_up_phy_copper@GOTPAGEOFF]
Lloh28:
	adrp	x9, _e1000_power_down_phy_copper_ich8lan@GOTPAGE
Lloh29:
	ldr	x9, [x9, _e1000_power_down_phy_copper_ich8lan@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #52]
Lloh32:
	adrp	x8, _AUTONEG_ADVERTISE_SPEED_DEFAULT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AUTONEG_ADVERTISE_SPEED_DEFAULT@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [x0, #104]
Lloh35:
	adrp	x20, _e1000_phy_unknown@GOTPAGE
Lloh36:
	ldr	x20, [x20, _e1000_phy_unknown@GOTPAGEOFF]
	ldr	x8, [x20]
	str	x8, [x0, #16]
	bl	_e1000_init_phy_workarounds_pchlan
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x0, [x19, #16]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.3:
	ldr	w8, [x19]
	and	w8, w8, #0xfffffffc
	cmp	w8, #132
	b.ne	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_e1000_set_mdio_slow_mode_hv
	cbnz	x0, LBB0_1
; %bb.5:
	mov	x0, x19
	bl	_e1000e_get_phy_id
	cbnz	x0, LBB0_1
; %bb.6:
	ldr	x0, [x19, #16]
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	bl	_e1000e_get_phy_id
	cbnz	x0, LBB0_1
; %bb.8:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.9:
Lloh37:
	adrp	x8, _PHY_REVISION_MASK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PHY_REVISION_MASK@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
LBB0_10:
	bl	_e1000e_get_phy_type_from_id
	str	w0, [x19, #24]
	sub	w8, w0, #128
	cmp	w8, #2
	b.lo	LBB0_13
; %bb.11:
	cmp	w0, #130
	b.eq	LBB0_14
; %bb.12:
	cmp	w0, #131
	b.ne	LBB0_15
LBB0_13:
	mov	x0, #0
Lloh40:
	adrp	x8, _e1000_check_polarity_82577@GOTPAGE
Lloh41:
	ldr	x8, [x8, _e1000_check_polarity_82577@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x9, _e1000_phy_force_speed_duplex_82577@GOTPAGE
Lloh44:
	ldr	x9, [x9, _e1000_phy_force_speed_duplex_82577@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
Lloh46:
	adrp	x8, _e1000_get_cable_length_82577@GOTPAGE
Lloh47:
	ldr	x8, [x8, _e1000_get_cable_length_82577@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
Lloh49:
	adrp	x9, _e1000_get_phy_info_82577@GOTPAGE
Lloh50:
	ldr	x9, [x9, _e1000_get_phy_info_82577@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
Lloh52:
	adrp	x8, _e1000e_phy_sw_reset@GOTPAGE
Lloh53:
	ldr	x8, [x8, _e1000e_phy_sw_reset@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	str	w8, [x19, #48]
	b	LBB0_1
LBB0_14:
	mov	x0, #0
Lloh55:
	adrp	x8, _e1000_check_polarity_m88@GOTPAGE
Lloh56:
	ldr	x8, [x8, _e1000_check_polarity_m88@GOTPAGEOFF]
Lloh57:
	adrp	x9, _e1000e_phy_force_speed_duplex_m88@GOTPAGE
Lloh58:
	ldr	x9, [x9, _e1000e_phy_force_speed_duplex_m88@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
Lloh60:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
Lloh61:
	adrp	x8, _e1000e_get_cable_length_m88@GOTPAGE
Lloh62:
	ldr	x8, [x8, _e1000e_get_cable_length_m88@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	adrp	x9, _e1000e_get_phy_info_m88@GOTPAGE
Lloh65:
	ldr	x9, [x9, _e1000e_get_phy_info_m88@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
	b	LBB0_1
LBB0_15:
Lloh67:
	adrp	x8, _E1000_ERR_PHY@GOTPAGE
Lloh68:
	ldr	x8, [x8, _E1000_ERR_PHY@GOTPAGEOFF]
Lloh69:
	ldr	x8, [x8]
	neg	x0, x8
	b	LBB0_1
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh30
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh59
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_set_page_igp,4,2         ; @e1000_set_page_igp
	.comm	_e1000_read_phy_reg_hv,4,2      ; @e1000_read_phy_reg_hv
	.comm	_e1000_read_phy_reg_hv_locked,4,2 ; @e1000_read_phy_reg_hv_locked
	.comm	_e1000_read_phy_reg_page_hv,4,2 ; @e1000_read_phy_reg_page_hv
	.comm	_e1000_set_lplu_state_pchlan,8,3 ; @e1000_set_lplu_state_pchlan
	.comm	_e1000_write_phy_reg_hv,4,2     ; @e1000_write_phy_reg_hv
	.comm	_e1000_write_phy_reg_hv_locked,4,2 ; @e1000_write_phy_reg_hv_locked
	.comm	_e1000_write_phy_reg_page_hv,4,2 ; @e1000_write_phy_reg_page_hv
	.comm	_e1000_power_up_phy_copper,4,2  ; @e1000_power_up_phy_copper
	.comm	_e1000_power_down_phy_copper_ich8lan,4,2 ; @e1000_power_down_phy_copper_ich8lan
	.comm	_AUTONEG_ADVERTISE_SPEED_DEFAULT,4,2 ; @AUTONEG_ADVERTISE_SPEED_DEFAULT
	.comm	_e1000_phy_unknown,8,3          ; @e1000_phy_unknown
	.comm	_PHY_REVISION_MASK,8,3          ; @PHY_REVISION_MASK
	.comm	_e1000_check_polarity_82577,4,2 ; @e1000_check_polarity_82577
	.comm	_e1000_phy_force_speed_duplex_82577,4,2 ; @e1000_phy_force_speed_duplex_82577
	.comm	_e1000_get_cable_length_82577,4,2 ; @e1000_get_cable_length_82577
	.comm	_e1000_get_phy_info_82577,4,2   ; @e1000_get_phy_info_82577
	.comm	_e1000e_phy_sw_reset,4,2        ; @e1000e_phy_sw_reset
	.comm	_e1000_check_polarity_m88,4,2   ; @e1000_check_polarity_m88
	.comm	_e1000e_phy_force_speed_duplex_m88,4,2 ; @e1000e_phy_force_speed_duplex_m88
	.comm	_e1000e_get_cable_length_m88,4,2 ; @e1000e_get_cable_length_m88
	.comm	_e1000e_get_phy_info_m88,4,2    ; @e1000e_get_phy_info_m88
	.comm	_E1000_ERR_PHY,8,3              ; @E1000_ERR_PHY
	.no_dead_strip	_e1000_init_phy_params_pchlan
.subsections_via_symbols
