	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_config_fc_after_link_up    ## -- Begin function igb_config_fc_after_link_up
	.p2align	4, 0x90
_igb_config_fc_after_link_up:           ## @igb_config_fc_after_link_up
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpq	$0, 56(%rdi)
	movq	24(%rdi), %rax
	je	LBB0_2
## %bb.1:
	movq	_e1000_media_type_internal_serdes@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
	jmp	LBB0_7
LBB0_2:
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_3:
	movq	%r14, %rdi
	callq	_igb_force_mac_fc
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
LBB0_5:
	callq	_hw_dbg
	jmp	LBB0_59
LBB0_6:
	movq	24(%r14), %rax
LBB0_7:
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_36
## %bb.8:
	cmpq	$0, 40(%r14)
	je	LBB0_36
## %bb.9:
	movq	_PHY_STATUS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	callq	*32(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_59
## %bb.10:
	movl	(%r15), %esi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	callq	*32(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_59
## %bb.11:
	movq	_MII_SR_AUTONEG_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, -40(%rbp)
	je	LBB0_18
## %bb.12:
	movq	_PHY_AUTONEG_ADV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	*32(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_59
## %bb.13:
	movq	_PHY_LP_ABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	*32(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_59
## %bb.14:
	movq	-56(%rbp), %rax
	movq	_NWAY_AR_PAUSE@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	je	LBB0_19
## %bb.15:
	movq	-32(%rbp), %rcx
	movq	_NWAY_LPAR_PAUSE@GOTPCREL(%rip), %rdx
	testq	%rcx, (%rdx)
	je	LBB0_23
## %bb.16:
	movq	(%r14), %rax
	movq	_e1000_fc_full@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.17:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_30
LBB0_18:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_46
LBB0_19:
	movq	_NWAY_AR_ASM_DIR@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	je	LBB0_25
## %bb.20:
	movq	-32(%rbp), %rax
	movq	_NWAY_LPAR_PAUSE@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	je	LBB0_25
## %bb.21:
	movq	_NWAY_LPAR_ASM_DIR@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	je	LBB0_25
## %bb.22:
	movq	_e1000_fc_tx_pause@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_30
LBB0_23:
	movq	_NWAY_AR_ASM_DIR@GOTPCREL(%rip), %rdx
	testq	%rax, (%rdx)
	je	LBB0_25
## %bb.24:
	movq	_NWAY_LPAR_ASM_DIR@GOTPCREL(%rip), %rax
	testq	%rcx, (%rax)
	jne	LBB0_29
LBB0_25:
	movq	(%r14), %rcx
	movq	_e1000_fc_none@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rcx
	je	LBB0_28
## %bb.26:
	movq	_e1000_fc_tx_pause@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_28
## %bb.27:
	cmpq	$0, 16(%r14)
	je	LBB0_29
LBB0_28:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_30
LBB0_29:
	movq	_e1000_fc_rx_pause@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	L_.str.3(%rip), %rdi
LBB0_30:
	movq	%rax, 8(%r14)
	callq	_hw_dbg
	leaq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	*48(%r14)
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	%rax, %rbx
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_5
LBB0_32:
	movq	-48(%rbp), %rax
	movq	_HALF_DUPLEX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_34
## %bb.33:
	movq	_e1000_fc_none@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
LBB0_34:
	movq	%r14, %rdi
	callq	_igb_force_mac_fc
	testq	%rax, %rax
	jne	LBB0_4
## %bb.35:
	movq	24(%r14), %rax
LBB0_36:
	movq	_e1000_media_type_internal_serdes@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_58
## %bb.37:
	cmpq	$0, 40(%r14)
	je	LBB0_58
## %bb.38:
	movq	_E1000_PCS_LSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movq	_E1000_PCS_LSTS_AN_COMPLETE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_45
## %bb.39:
	movq	_E1000_PCS_ANADV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movl	%eax, %ebx
	movq	_E1000_PCS_LPAB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movq	_E1000_TXCW_PAUSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	andl	%eax, %ecx
	testl	%ebx, %esi
	je	LBB0_47
## %bb.40:
	testl	%ecx, %ecx
	je	LBB0_47
## %bb.41:
	movq	(%r14), %rax
	movq	_e1000_fc_full@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_51
## %bb.42:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_57
LBB0_45:
	leaq	L_.str.7(%rip), %rdi
LBB0_46:
	callq	_hw_dbg
	jmp	LBB0_58
LBB0_47:
	movq	_E1000_TXCW_ASM_DIR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ebx, %esi
	je	LBB0_52
## %bb.48:
	testl	%ebx, %edx
	je	LBB0_56
## %bb.49:
	testl	%ecx, %ecx
	jne	LBB0_56
## %bb.50:
	andl	%eax, %edx
	je	LBB0_56
LBB0_51:
	movq	_e1000_fc_rx_pause@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_57
LBB0_52:
	testl	%ebx, %edx
	je	LBB0_56
## %bb.53:
	testl	%ecx, %ecx
	je	LBB0_56
## %bb.54:
	andl	%eax, %edx
	je	LBB0_56
## %bb.55:
	movq	_e1000_fc_tx_pause@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_57
LBB0_56:
	movq	_e1000_fc_none@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	L_.str.5(%rip), %rdi
LBB0_57:
	movq	%rax, 8(%r14)
	callq	_hw_dbg
	movq	_E1000_PCS_LCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movq	_E1000_PCS_LCTL_FORCE_FCTRL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_wr32
	movq	%r14, %rdi
	callq	_igb_force_mac_fc
	testq	%rax, %rax
	jne	LBB0_4
LBB0_58:
	xorl	%ebx, %ebx
LBB0_59:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_media_type_internal_serdes,8,3 ## @e1000_media_type_internal_serdes
	.comm	_e1000_media_type_copper,8,3    ## @e1000_media_type_copper
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error forcing flow control settings\n"

	.comm	_PHY_STATUS,4,2                 ## @PHY_STATUS
	.comm	_MII_SR_AUTONEG_COMPLETE,8,3    ## @MII_SR_AUTONEG_COMPLETE
L_.str.1:                               ## @.str.1
	.asciz	"Copper PHY and Auto Neg has not completed.\n"

	.comm	_PHY_AUTONEG_ADV,4,2            ## @PHY_AUTONEG_ADV
	.comm	_PHY_LP_ABILITY,4,2             ## @PHY_LP_ABILITY
	.comm	_NWAY_AR_PAUSE,8,3              ## @NWAY_AR_PAUSE
	.comm	_NWAY_LPAR_PAUSE,8,3            ## @NWAY_LPAR_PAUSE
	.comm	_e1000_fc_full,8,3              ## @e1000_fc_full
L_.str.2:                               ## @.str.2
	.asciz	"Flow Control = FULL.\n"

	.comm	_e1000_fc_rx_pause,8,3          ## @e1000_fc_rx_pause
L_.str.3:                               ## @.str.3
	.asciz	"Flow Control = RX PAUSE frames only.\n"

	.comm	_NWAY_AR_ASM_DIR,8,3            ## @NWAY_AR_ASM_DIR
	.comm	_NWAY_LPAR_ASM_DIR,8,3          ## @NWAY_LPAR_ASM_DIR
	.comm	_e1000_fc_tx_pause,8,3          ## @e1000_fc_tx_pause
L_.str.4:                               ## @.str.4
	.asciz	"Flow Control = TX PAUSE frames only.\n"

	.comm	_e1000_fc_none,8,3              ## @e1000_fc_none
L_.str.5:                               ## @.str.5
	.asciz	"Flow Control = NONE.\n"

L_.str.6:                               ## @.str.6
	.asciz	"Error getting link speed and duplex\n"

	.comm	_HALF_DUPLEX,8,3                ## @HALF_DUPLEX
	.comm	_E1000_PCS_LSTAT,4,2            ## @E1000_PCS_LSTAT
	.comm	_E1000_PCS_LSTS_AN_COMPLETE,4,2 ## @E1000_PCS_LSTS_AN_COMPLETE
L_.str.7:                               ## @.str.7
	.asciz	"PCS Auto Neg has not completed.\n"

	.comm	_E1000_PCS_ANADV,4,2            ## @E1000_PCS_ANADV
	.comm	_E1000_PCS_LPAB,4,2             ## @E1000_PCS_LPAB
	.comm	_E1000_TXCW_PAUSE,4,2           ## @E1000_TXCW_PAUSE
L_.str.8:                               ## @.str.8
	.asciz	"Flow Control = Rx PAUSE frames only.\n"

	.comm	_E1000_TXCW_ASM_DIR,4,2         ## @E1000_TXCW_ASM_DIR
L_.str.9:                               ## @.str.9
	.asciz	"Flow Control = Tx PAUSE frames only.\n"

	.comm	_E1000_PCS_LCTL,4,2             ## @E1000_PCS_LCTL
	.comm	_E1000_PCS_LCTL_FORCE_FCTRL,4,2 ## @E1000_PCS_LCTL_FORCE_FCTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_config_fc_after_link_up    ; -- Begin function igb_config_fc_after_link_up
	.p2align	2
_igb_config_fc_after_link_up:           ; @igb_config_fc_after_link_up
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x9, [x0, #56]
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x21, _e1000_media_type_internal_serdes@GOTPAGE
Lloh1:
	ldr	x21, [x21, _e1000_media_type_internal_serdes@GOTPAGEOFF]
Lloh2:
	adrp	x22, _e1000_media_type_copper@GOTPAGE
Lloh3:
	ldr	x22, [x22, _e1000_media_type_copper@GOTPAGEOFF]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_3
	b	LBB0_8
LBB0_2:
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_3:
	mov	x0, x19
	bl	_igb_force_mac_fc
	cbz	x0, LBB0_7
LBB0_4:
	mov	x20, x0
LBB0_5:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	bl	_hw_dbg
	b	LBB0_46
LBB0_7:
	ldr	x8, [x19, #24]
LBB0_8:
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.9:
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_37
; %bb.10:
	ldr	x8, [x19, #32]
Lloh6:
	adrp	x22, _PHY_STATUS@GOTPAGE
Lloh7:
	ldr	x22, [x22, _PHY_STATUS@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #40
	mov	x0, x19
	blr	x8
	mov	x20, x0
	cbnz	x0, LBB0_46
; %bb.11:
	ldr	x8, [x19, #32]
	ldr	w1, [x22]
	add	x2, sp, #40
	mov	x0, x19
	blr	x8
	mov	x20, x0
	cbnz	x0, LBB0_46
; %bb.12:
	ldr	x8, [sp, #40]
Lloh8:
	adrp	x9, _MII_SR_AUTONEG_COMPLETE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MII_SR_AUTONEG_COMPLETE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	tst	x9, x8
	b.eq	LBB0_19
; %bb.13:
	ldr	x8, [x19, #32]
Lloh11:
	adrp	x9, _PHY_AUTONEG_ADV@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PHY_AUTONEG_ADV@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x9]
	add	x2, sp, #32
	mov	x0, x19
	blr	x8
	mov	x20, x0
	cbnz	x0, LBB0_46
; %bb.14:
	ldr	x8, [x19, #32]
Lloh14:
	adrp	x9, _PHY_LP_ABILITY@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PHY_LP_ABILITY@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x9]
	add	x2, sp, #24
	mov	x0, x19
	blr	x8
	mov	x20, x0
	cbnz	x0, LBB0_46
; %bb.15:
	ldr	x8, [sp, #32]
Lloh17:
	adrp	x9, _NWAY_AR_PAUSE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NWAY_AR_PAUSE@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	tst	x9, x8
	b.eq	LBB0_20
; %bb.16:
	ldr	x9, [sp, #24]
Lloh20:
	adrp	x10, _NWAY_LPAR_PAUSE@GOTPAGE
Lloh21:
	ldr	x10, [x10, _NWAY_LPAR_PAUSE@GOTPAGEOFF]
Lloh22:
	ldr	x10, [x10]
	tst	x10, x9
	b.eq	LBB0_24
; %bb.17:
	ldr	x8, [x19]
Lloh23:
	adrp	x9, _e1000_fc_full@GOTPAGE
Lloh24:
	ldr	x9, [x9, _e1000_fc_full@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.18:
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_31
LBB0_19:
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_48
LBB0_20:
Lloh30:
	adrp	x9, _NWAY_AR_ASM_DIR@GOTPAGE
Lloh31:
	ldr	x9, [x9, _NWAY_AR_ASM_DIR@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	tst	x9, x8
	b.eq	LBB0_26
; %bb.21:
	ldr	x8, [sp, #24]
Lloh33:
	adrp	x9, _NWAY_LPAR_PAUSE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _NWAY_LPAR_PAUSE@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	tst	x9, x8
	b.eq	LBB0_26
; %bb.22:
Lloh36:
	adrp	x9, _NWAY_LPAR_ASM_DIR@GOTPAGE
Lloh37:
	ldr	x9, [x9, _NWAY_LPAR_ASM_DIR@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	tst	x9, x8
	b.eq	LBB0_26
; %bb.23:
Lloh39:
	adrp	x8, _e1000_fc_tx_pause@GOTPAGE
Lloh40:
	ldr	x8, [x8, _e1000_fc_tx_pause@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x0, l_.str.4@PAGE
Lloh43:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_31
LBB0_24:
Lloh44:
	adrp	x10, _NWAY_AR_ASM_DIR@GOTPAGE
Lloh45:
	ldr	x10, [x10, _NWAY_AR_ASM_DIR@GOTPAGEOFF]
Lloh46:
	ldr	x10, [x10]
	tst	x10, x8
	b.eq	LBB0_26
; %bb.25:
Lloh47:
	adrp	x8, _NWAY_LPAR_ASM_DIR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _NWAY_LPAR_ASM_DIR@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	tst	x8, x9
	b.ne	LBB0_30
LBB0_26:
	ldr	x9, [x19]
Lloh50:
	adrp	x8, _e1000_fc_none@GOTPAGE
Lloh51:
	ldr	x8, [x8, _e1000_fc_none@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_29
; %bb.27:
Lloh53:
	adrp	x10, _e1000_fc_tx_pause@GOTPAGE
Lloh54:
	ldr	x10, [x10, _e1000_fc_tx_pause@GOTPAGEOFF]
Lloh55:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_29
; %bb.28:
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_30
LBB0_29:
Lloh56:
	adrp	x0, l_.str.5@PAGE
Lloh57:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_31
LBB0_30:
Lloh58:
	adrp	x8, _e1000_fc_rx_pause@GOTPAGE
Lloh59:
	ldr	x8, [x8, _e1000_fc_rx_pause@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
Lloh61:
	adrp	x0, l_.str.3@PAGE
Lloh62:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_31:
	str	x8, [x19, #8]
	bl	_hw_dbg
	ldr	x8, [x19, #48]
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_33
; %bb.32:
	mov	x20, x0
Lloh63:
	adrp	x0, l_.str.6@PAGE
Lloh64:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_6
LBB0_33:
	ldr	x8, [sp, #8]
Lloh65:
	adrp	x9, _HALF_DUPLEX@GOTPAGE
Lloh66:
	ldr	x9, [x9, _HALF_DUPLEX@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_35
; %bb.34:
Lloh68:
	adrp	x8, _e1000_fc_none@GOTPAGE
Lloh69:
	ldr	x8, [x8, _e1000_fc_none@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_35:
	mov	x0, x19
	bl	_igb_force_mac_fc
	cbnz	x0, LBB0_4
; %bb.36:
	ldr	x8, [x19, #24]
LBB0_37:
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_45
; %bb.38:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_45
; %bb.39:
Lloh71:
	adrp	x8, _E1000_PCS_LSTAT@GOTPAGE
Lloh72:
	ldr	x8, [x8, _E1000_PCS_LSTAT@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
	bl	_rd32
Lloh74:
	adrp	x8, _E1000_PCS_LSTS_AN_COMPLETE@GOTPAGE
Lloh75:
	ldr	x8, [x8, _E1000_PCS_LSTS_AN_COMPLETE@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_47
; %bb.40:
Lloh77:
	adrp	x8, _E1000_PCS_ANADV@GOTPAGE
Lloh78:
	ldr	x8, [x8, _E1000_PCS_ANADV@GOTPAGEOFF]
Lloh79:
	ldr	w0, [x8]
	bl	_rd32
	mov	x20, x0
Lloh80:
	adrp	x8, _E1000_PCS_LPAB@GOTPAGE
Lloh81:
	ldr	x8, [x8, _E1000_PCS_LPAB@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	bl	_rd32
Lloh83:
	adrp	x8, _E1000_TXCW_PAUSE@GOTPAGE
Lloh84:
	ldr	x8, [x8, _E1000_TXCW_PAUSE@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	and	w10, w8, w20
	and	w8, w8, w0
	cmp	w10, #0
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_49
; %bb.41:
Lloh86:
	adrp	x9, _E1000_TXCW_ASM_DIR@GOTPAGE
Lloh87:
	ldr	x9, [x9, _E1000_TXCW_ASM_DIR@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	and	w11, w9, w20
	cbz	w10, LBB0_52
; %bb.42:
	cbz	w11, LBB0_56
; %bb.43:
	cbnz	w8, LBB0_56
; %bb.44:
	and	w8, w9, w0
	cbnz	w8, LBB0_51
	b	LBB0_56
LBB0_45:
	mov	x20, #0
LBB0_46:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_47:
Lloh89:
	adrp	x0, l_.str.7@PAGE
Lloh90:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_48:
	bl	_hw_dbg
	mov	x20, #0
	b	LBB0_46
LBB0_49:
	ldr	x8, [x19]
Lloh91:
	adrp	x9, _e1000_fc_full@GOTPAGE
Lloh92:
	ldr	x9, [x9, _e1000_fc_full@GOTPAGEOFF]
Lloh93:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_51
; %bb.50:
Lloh94:
	adrp	x0, l_.str.2@PAGE
Lloh95:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_57
LBB0_51:
Lloh96:
	adrp	x8, _e1000_fc_rx_pause@GOTPAGE
Lloh97:
	ldr	x8, [x8, _e1000_fc_rx_pause@GOTPAGEOFF]
Lloh98:
	ldr	x8, [x8]
Lloh99:
	adrp	x0, l_.str.8@PAGE
Lloh100:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_57
LBB0_52:
	cbz	w11, LBB0_56
; %bb.53:
	cbz	w8, LBB0_56
; %bb.54:
	and	w8, w9, w0
	cbz	w8, LBB0_56
; %bb.55:
Lloh101:
	adrp	x8, _e1000_fc_tx_pause@GOTPAGE
Lloh102:
	ldr	x8, [x8, _e1000_fc_tx_pause@GOTPAGEOFF]
Lloh103:
	ldr	x8, [x8]
Lloh104:
	adrp	x0, l_.str.9@PAGE
Lloh105:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_57
LBB0_56:
Lloh106:
	adrp	x8, _e1000_fc_none@GOTPAGE
Lloh107:
	ldr	x8, [x8, _e1000_fc_none@GOTPAGEOFF]
Lloh108:
	ldr	x8, [x8]
Lloh109:
	adrp	x0, l_.str.5@PAGE
Lloh110:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_57:
	str	x8, [x19, #8]
	bl	_hw_dbg
Lloh111:
	adrp	x20, _E1000_PCS_LCTL@GOTPAGE
Lloh112:
	ldr	x20, [x20, _E1000_PCS_LCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rd32
Lloh113:
	adrp	x8, _E1000_PCS_LCTL_FORCE_FCTRL@GOTPAGE
Lloh114:
	ldr	x8, [x8, _E1000_PCS_LCTL_FORCE_FCTRL@GOTPAGEOFF]
Lloh115:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x20]
	bl	_wr32
	mov	x0, x19
	bl	_igb_force_mac_fc
	mov	x20, x0
	cbnz	x0, LBB0_5
	b	LBB0_46
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGot	Lloh111, Lloh112
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_media_type_internal_serdes,8,3 ; @e1000_media_type_internal_serdes
	.comm	_e1000_media_type_copper,8,3    ; @e1000_media_type_copper
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error forcing flow control settings\n"

	.comm	_PHY_STATUS,4,2                 ; @PHY_STATUS
	.comm	_MII_SR_AUTONEG_COMPLETE,8,3    ; @MII_SR_AUTONEG_COMPLETE
l_.str.1:                               ; @.str.1
	.asciz	"Copper PHY and Auto Neg has not completed.\n"

	.comm	_PHY_AUTONEG_ADV,4,2            ; @PHY_AUTONEG_ADV
	.comm	_PHY_LP_ABILITY,4,2             ; @PHY_LP_ABILITY
	.comm	_NWAY_AR_PAUSE,8,3              ; @NWAY_AR_PAUSE
	.comm	_NWAY_LPAR_PAUSE,8,3            ; @NWAY_LPAR_PAUSE
	.comm	_e1000_fc_full,8,3              ; @e1000_fc_full
l_.str.2:                               ; @.str.2
	.asciz	"Flow Control = FULL.\n"

	.comm	_e1000_fc_rx_pause,8,3          ; @e1000_fc_rx_pause
l_.str.3:                               ; @.str.3
	.asciz	"Flow Control = RX PAUSE frames only.\n"

	.comm	_NWAY_AR_ASM_DIR,8,3            ; @NWAY_AR_ASM_DIR
	.comm	_NWAY_LPAR_ASM_DIR,8,3          ; @NWAY_LPAR_ASM_DIR
	.comm	_e1000_fc_tx_pause,8,3          ; @e1000_fc_tx_pause
l_.str.4:                               ; @.str.4
	.asciz	"Flow Control = TX PAUSE frames only.\n"

	.comm	_e1000_fc_none,8,3              ; @e1000_fc_none
l_.str.5:                               ; @.str.5
	.asciz	"Flow Control = NONE.\n"

l_.str.6:                               ; @.str.6
	.asciz	"Error getting link speed and duplex\n"

	.comm	_HALF_DUPLEX,8,3                ; @HALF_DUPLEX
	.comm	_E1000_PCS_LSTAT,4,2            ; @E1000_PCS_LSTAT
	.comm	_E1000_PCS_LSTS_AN_COMPLETE,4,2 ; @E1000_PCS_LSTS_AN_COMPLETE
l_.str.7:                               ; @.str.7
	.asciz	"PCS Auto Neg has not completed.\n"

	.comm	_E1000_PCS_ANADV,4,2            ; @E1000_PCS_ANADV
	.comm	_E1000_PCS_LPAB,4,2             ; @E1000_PCS_LPAB
	.comm	_E1000_TXCW_PAUSE,4,2           ; @E1000_TXCW_PAUSE
l_.str.8:                               ; @.str.8
	.asciz	"Flow Control = Rx PAUSE frames only.\n"

	.comm	_E1000_TXCW_ASM_DIR,4,2         ; @E1000_TXCW_ASM_DIR
l_.str.9:                               ; @.str.9
	.asciz	"Flow Control = Tx PAUSE frames only.\n"

	.comm	_E1000_PCS_LCTL,4,2             ; @E1000_PCS_LCTL
	.comm	_E1000_PCS_LCTL_FORCE_FCTRL,4,2 ; @E1000_PCS_LCTL_FORCE_FCTRL
.subsections_via_symbols
