	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_setup_link                 ## -- Begin function igb_setup_link
	.p2align	4, 0x90
_igb_setup_link:                        ## @igb_setup_link
	.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
	callq	_igb_check_reset_block
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_2:
	movq	(%rbx), %rsi
	movq	_e1000_fc_default@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_igb_set_default_fc
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	(%rbx), %rsi
LBB0_5:
	movq	%rsi, 8(%rbx)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
	movq	%rbx, %rdi
	callq	*24(%rbx)
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
	movq	_E1000_FCT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FLOW_CONTROL_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wr32
	movq	_E1000_FCAH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FLOW_CONTROL_ADDRESS_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wr32
	movq	_E1000_FCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FLOW_CONTROL_ADDRESS_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wr32
	movq	_E1000_FCTTV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_wr32
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_igb_set_fc_watermarks          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_fc_default,8,3           ## @e1000_fc_default
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"After fix-ups FlowControl is now = %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Initializing the Flow Control address, type and timer regs\n"

	.comm	_E1000_FCT,4,2                  ## @E1000_FCT
	.comm	_FLOW_CONTROL_TYPE,4,2          ## @FLOW_CONTROL_TYPE
	.comm	_E1000_FCAH,4,2                 ## @E1000_FCAH
	.comm	_FLOW_CONTROL_ADDRESS_HIGH,4,2  ## @FLOW_CONTROL_ADDRESS_HIGH
	.comm	_E1000_FCAL,4,2                 ## @E1000_FCAL
	.comm	_FLOW_CONTROL_ADDRESS_LOW,4,2   ## @FLOW_CONTROL_ADDRESS_LOW
	.comm	_E1000_FCTTV,4,2                ## @E1000_FCTTV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_setup_link                 ; -- Begin function igb_setup_link
	.p2align	2
_igb_setup_link:                        ; @igb_setup_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_igb_check_reset_block
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_6
LBB0_2:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _e1000_fc_default@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_fc_default@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_igb_set_default_fc
	cbnz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x19]
LBB0_5:
	str	x8, [x19, #8]
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hw_dbg
	ldr	x8, [x19, #24]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_hw_dbg
Lloh7:
	adrp	x8, _E1000_FCT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E1000_FCT@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _FLOW_CONTROL_TYPE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FLOW_CONTROL_TYPE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_wr32
Lloh13:
	adrp	x8, _E1000_FCAH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E1000_FCAH@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _FLOW_CONTROL_ADDRESS_HIGH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FLOW_CONTROL_ADDRESS_HIGH@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_wr32
Lloh19:
	adrp	x8, _E1000_FCAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _E1000_FCAL@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _FLOW_CONTROL_ADDRESS_LOW@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FLOW_CONTROL_ADDRESS_LOW@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_wr32
Lloh25:
	adrp	x8, _E1000_FCTTV@GOTPAGE
Lloh26:
	ldr	x8, [x8, _E1000_FCTTV@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_wr32
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_igb_set_fc_watermarks
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_fc_default,8,3           ; @e1000_fc_default
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"After fix-ups FlowControl is now = %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Initializing the Flow Control address, type and timer regs\n"

	.comm	_E1000_FCT,4,2                  ; @E1000_FCT
	.comm	_FLOW_CONTROL_TYPE,4,2          ; @FLOW_CONTROL_TYPE
	.comm	_E1000_FCAH,4,2                 ; @E1000_FCAH
	.comm	_FLOW_CONTROL_ADDRESS_HIGH,4,2  ; @FLOW_CONTROL_ADDRESS_HIGH
	.comm	_E1000_FCAL,4,2                 ; @E1000_FCAL
	.comm	_FLOW_CONTROL_ADDRESS_LOW,4,2   ; @FLOW_CONTROL_ADDRESS_LOW
	.comm	_E1000_FCTTV,4,2                ; @E1000_FCTTV
.subsections_via_symbols
