	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_setup_link_generic      ## -- Begin function e1000e_setup_link_generic
	.p2align	4, 0x90
_e1000e_setup_link_generic:             ## @e1000e_setup_link_generic
	.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	32(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	movq	(%rbx), %rsi
	movq	_e1000_fc_default@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_e1000_set_default_fc_generic
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movq	(%rbx), %rsi
LBB0_6:
	movq	%rsi, 8(%rbx)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_e_dbg
	movq	%rbx, %rdi
	callq	*24(%rbx)
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_e_dbg
	movq	_FCT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FLOW_CONTROL_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ew32
	movq	_FCAH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FLOW_CONTROL_ADDRESS_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ew32
	movq	_FCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FLOW_CONTROL_ADDRESS_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ew32
	movq	_FCTTV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_ew32
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_e1000e_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	_FCT,4,2                        ## @FCT
	.comm	_FLOW_CONTROL_TYPE,4,2          ## @FLOW_CONTROL_TYPE
	.comm	_FCAH,4,2                       ## @FCAH
	.comm	_FLOW_CONTROL_ADDRESS_HIGH,4,2  ## @FLOW_CONTROL_ADDRESS_HIGH
	.comm	_FCAL,4,2                       ## @FCAL
	.comm	_FLOW_CONTROL_ADDRESS_LOW,4,2   ## @FLOW_CONTROL_ADDRESS_LOW
	.comm	_FCTTV,4,2                      ## @FCTTV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_setup_link_generic      ; -- Begin function e1000e_setup_link_generic
	.p2align	2
_e1000e_setup_link_generic:             ; @e1000e_setup_link_generic
	.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
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, #0
	b	LBB0_7
LBB0_3:
	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_6
; %bb.4:
	mov	x0, x19
	bl	_e1000_set_default_fc_generic
	cbnz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x19]
LBB0_6:
	str	x8, [x19, #8]
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
	ldr	x8, [x19, #24]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_e_dbg
Lloh7:
	adrp	x8, _FCT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _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	_ew32
Lloh13:
	adrp	x8, _FCAH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _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	_ew32
Lloh19:
	adrp	x8, _FCAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _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	_ew32
Lloh25:
	adrp	x8, _FCTTV@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FCTTV@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_ew32
	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	_e1000e_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	_FCT,4,2                        ; @FCT
	.comm	_FLOW_CONTROL_TYPE,4,2          ; @FLOW_CONTROL_TYPE
	.comm	_FCAH,4,2                       ; @FCAH
	.comm	_FLOW_CONTROL_ADDRESS_HIGH,4,2  ; @FLOW_CONTROL_ADDRESS_HIGH
	.comm	_FCAL,4,2                       ; @FCAL
	.comm	_FLOW_CONTROL_ADDRESS_LOW,4,2   ; @FLOW_CONTROL_ADDRESS_LOW
	.comm	_FCTTV,4,2                      ; @FCTTV
.subsections_via_symbols
