	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_copper_link_postconfig
_e1000_copper_link_postconfig:          ## @e1000_copper_link_postconfig
	.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
	movq	(%rdi), %rax
	movq	_e1000_82544@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_5
## %bb.1:
	movq	_e1000_ce4100@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_e1000_config_collision_dist
	jmp	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	callq	_e1000_config_mac_to_phy
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
	jmp	LBB0_11
LBB0_3:
	movq	%rbx, %rdi
	callq	_e1000_config_fc_after_link_up
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %rdi
	callq	_e_dbg
	jmp	LBB0_11
LBB0_7:
	movq	8(%rbx), %rax
	movq	_e1000_phy_igp@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_e1000_config_dsp_after_link_change
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rax, %r14
	leaq	L_.str.2(%rip), %rdi
	callq	_e_dbg
	jmp	LBB0_11
LBB0_10:
	movq	_E1000_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_11:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_82544,8,3                ## @e1000_82544
	.comm	_e1000_ce4100,8,3               ## @e1000_ce4100
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error configuring MAC to PHY settings\n"

L_.str.1:                               ## @.str.1
	.asciz	"Error Configuring Flow Control\n"

	.comm	_e1000_phy_igp,8,3              ## @e1000_phy_igp
L_.str.2:                               ## @.str.2
	.asciz	"Error Configuring DSP after link up\n"

	.comm	_E1000_SUCCESS,8,3              ## @E1000_SUCCESS
	.no_dead_strip	_e1000_copper_link_postconfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_copper_link_postconfig
_e1000_copper_link_postconfig:          ; @e1000_copper_link_postconfig
	.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_82544@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_82544@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _e1000_ce4100@GOTPAGE
Lloh4:
	ldr	x10, [x10, _e1000_ce4100@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ge
	b.ne	LBB0_3
; %bb.1:
	bl	_e1000_config_mac_to_phy
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
	b	LBB0_10
LBB0_3:
	bl	_e1000_config_collision_dist
LBB0_4:
	mov	x0, x19
	bl	_e1000_config_fc_after_link_up
	cbz	x0, LBB0_6
; %bb.5:
	mov	x20, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_e_dbg
	b	LBB0_10
LBB0_6:
	ldr	x8, [x19, #8]
Lloh10:
	adrp	x9, _e1000_phy_igp@GOTPAGE
Lloh11:
	ldr	x9, [x9, _e1000_phy_igp@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x19
	mov	w1, #1
	bl	_e1000_config_dsp_after_link_change
	cbz	x0, LBB0_9
; %bb.8:
	mov	x20, x0
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_e_dbg
	b	LBB0_10
LBB0_9:
Lloh15:
	adrp	x8, _E1000_SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh17:
	ldr	x20, [x8]
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_82544,8,3                ; @e1000_82544
	.comm	_e1000_ce4100,8,3               ; @e1000_ce4100
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error configuring MAC to PHY settings\n"

l_.str.1:                               ; @.str.1
	.asciz	"Error Configuring Flow Control\n"

	.comm	_e1000_phy_igp,8,3              ; @e1000_phy_igp
l_.str.2:                               ; @.str.2
	.asciz	"Error Configuring DSP after link up\n"

	.comm	_E1000_SUCCESS,8,3              ; @E1000_SUCCESS
	.no_dead_strip	_e1000_copper_link_postconfig
.subsections_via_symbols
