	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_set_default_fc_generic
_e1000_set_default_fc_generic:          ## @e1000_set_default_fc_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_NVM_INIT_CONTROL2_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rcx
	movl	$1, %edx
	callq	_e1000_read_nvm
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
	jmp	LBB0_8
LBB0_2:
	movq	_NVM_WORD0F_PAUSE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-20(%rbp), %eax
	je	LBB0_3
## %bb.4:
	movq	_NVM_WORD0F_ASM_DIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.5:
	movq	_e1000_fc_tx_pause@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_e1000_fc_none@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_e1000_fc_full@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_8:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVM_INIT_CONTROL2_REG,4,2      ## @NVM_INIT_CONTROL2_REG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NVM Read Error\n"

	.comm	_NVM_WORD0F_PAUSE_MASK,4,2      ## @NVM_WORD0F_PAUSE_MASK
	.comm	_e1000_fc_none,4,2              ## @e1000_fc_none
	.comm	_NVM_WORD0F_ASM_DIR,4,2         ## @NVM_WORD0F_ASM_DIR
	.comm	_e1000_fc_tx_pause,4,2          ## @e1000_fc_tx_pause
	.comm	_e1000_fc_full,4,2              ## @e1000_fc_full
	.no_dead_strip	_e1000_set_default_fc_generic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_set_default_fc_generic
_e1000_set_default_fc_generic:          ; @e1000_set_default_fc_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	x20, x0
Lloh0:
	adrp	x8, _NVM_INIT_CONTROL2_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVM_INIT_CONTROL2_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x3, sp, #12
	mov	w2, #1
	bl	_e1000_read_nvm
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
	b	LBB0_8
LBB0_2:
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x9, _NVM_WORD0F_PAUSE_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NVM_WORD0F_PAUSE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	ands	w8, w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh8:
	adrp	x9, _NVM_WORD0F_ASM_DIR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NVM_WORD0F_ASM_DIR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _e1000_fc_tx_pause@GOTPAGE
Lloh12:
	ldr	x8, [x8, _e1000_fc_tx_pause@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh13:
	adrp	x8, _e1000_fc_none@GOTPAGE
Lloh14:
	ldr	x8, [x8, _e1000_fc_none@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x8, _e1000_fc_full@GOTPAGE
Lloh16:
	ldr	x8, [x8, _e1000_fc_full@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_8:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NVM_INIT_CONTROL2_REG,4,2      ; @NVM_INIT_CONTROL2_REG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NVM Read Error\n"

	.comm	_NVM_WORD0F_PAUSE_MASK,4,2      ; @NVM_WORD0F_PAUSE_MASK
	.comm	_e1000_fc_none,4,2              ; @e1000_fc_none
	.comm	_NVM_WORD0F_ASM_DIR,4,2         ; @NVM_WORD0F_ASM_DIR
	.comm	_e1000_fc_tx_pause,4,2          ; @e1000_fc_tx_pause
	.comm	_e1000_fc_full,4,2              ; @e1000_fc_full
	.no_dead_strip	_e1000_set_default_fc_generic
.subsections_via_symbols
