	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_init_phy_params_80003es2lan
_e1000_init_phy_params_80003es2lan:     ## @e1000_init_phy_params_80003es2lan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_e1000_power_up_phy_copper@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_e1000_power_down_phy_copper_80003es2lan@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	$1, 8(%rbx)
	movq	_AUTONEG_ADVERTISE_SPEED_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	$100, 12(%rbx)
	movq	_e1000_phy_gg82563@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_e1000e_get_phy_id
	movq	16(%rbx), %rcx
	movq	_GG82563_E_PHY_ID@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.3:
	movq	_E1000_ERR_PHY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_1:
	movq	_e1000_phy_none@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_media_type_copper,8,3    ## @e1000_media_type_copper
	.comm	_e1000_phy_none,4,2             ## @e1000_phy_none
	.comm	_e1000_power_up_phy_copper,4,2  ## @e1000_power_up_phy_copper
	.comm	_e1000_power_down_phy_copper_80003es2lan,4,2 ## @e1000_power_down_phy_copper_80003es2lan
	.comm	_AUTONEG_ADVERTISE_SPEED_DEFAULT,4,2 ## @AUTONEG_ADVERTISE_SPEED_DEFAULT
	.comm	_e1000_phy_gg82563,4,2          ## @e1000_phy_gg82563
	.comm	_GG82563_E_PHY_ID,8,3           ## @GG82563_E_PHY_ID
	.comm	_E1000_ERR_PHY,4,2              ## @E1000_ERR_PHY
	.no_dead_strip	_e1000_init_phy_params_80003es2lan
.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_80003es2lan
lCPI0_0:
	.long	1                               ; 0x1
	.long	100                             ; 0x64
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_e1000_init_phy_params_80003es2lan:     ; @e1000_init_phy_params_80003es2lan
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _e1000_media_type_copper@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_media_type_copper@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _e1000_power_up_phy_copper@GOTPAGE
Lloh4:
	ldr	x8, [x8, _e1000_power_up_phy_copper@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _e1000_power_down_phy_copper_80003es2lan@GOTPAGE
Lloh7:
	ldr	x9, [x9, _e1000_power_down_phy_copper_80003es2lan@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
Lloh9:
	adrp	x8, _AUTONEG_ADVERTISE_SPEED_DEFAULT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AUTONEG_ADVERTISE_SPEED_DEFAULT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x19, #8]
Lloh14:
	adrp	x9, _e1000_phy_gg82563@GOTPAGE
Lloh15:
	ldr	x9, [x9, _e1000_phy_gg82563@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	mov	x0, x19
	bl	_e1000e_get_phy_id
	ldr	x8, [x19, #16]
Lloh17:
	adrp	x9, _GG82563_E_PHY_ID@GOTPAGE
Lloh18:
	ldr	x9, [x9, _GG82563_E_PHY_ID@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.2:
Lloh20:
	adrp	x8, _E1000_ERR_PHY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _E1000_ERR_PHY@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	mov	w0, #0
Lloh23:
	adrp	x8, _e1000_phy_none@GOTPAGE
Lloh24:
	ldr	x8, [x8, _e1000_phy_none@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [x19, #24]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_media_type_copper,8,3    ; @e1000_media_type_copper
	.comm	_e1000_phy_none,4,2             ; @e1000_phy_none
	.comm	_e1000_power_up_phy_copper,4,2  ; @e1000_power_up_phy_copper
	.comm	_e1000_power_down_phy_copper_80003es2lan,4,2 ; @e1000_power_down_phy_copper_80003es2lan
	.comm	_AUTONEG_ADVERTISE_SPEED_DEFAULT,4,2 ; @AUTONEG_ADVERTISE_SPEED_DEFAULT
	.comm	_e1000_phy_gg82563,4,2          ; @e1000_phy_gg82563
	.comm	_GG82563_E_PHY_ID,8,3           ; @GG82563_E_PHY_ID
	.comm	_E1000_ERR_PHY,4,2              ; @E1000_ERR_PHY
	.no_dead_strip	_e1000_init_phy_params_80003es2lan
.subsections_via_symbols
