	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_get_cfg_done_82575
_igb_get_cfg_done_82575:                ## @igb_get_cfg_done_82575
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_PHY_CFG_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	8(%rdi), %eax
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.1:
	movq	_E1000_NVM_CFG_DONE_PORT_1@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_E1000_FUNC_2@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movq	_E1000_NVM_CFG_DONE_PORT_2@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_E1000_FUNC_3@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.6:
	movq	_E1000_NVM_CFG_DONE_PORT_3@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_E1000_NVM_CFG_DONE_PORT_0@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r15d
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.8:
	movq	_E1000_EEMNGCTL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_rd32
	testl	%r15d, %eax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	decq	%rbx
	jne	LBB0_9
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_hw_dbg
LBB0_12:
	movq	_E1000_EECD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movq	_E1000_EECD_PRES@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_15
## %bb.13:
	movq	(%r14), %rax
	movq	_e1000_phy_igp_3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_igb_phy_init_script_igp3
LBB0_15:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_CFG_TIMEOUT,8,3            ## @PHY_CFG_TIMEOUT
	.comm	_E1000_NVM_CFG_DONE_PORT_0,4,2  ## @E1000_NVM_CFG_DONE_PORT_0
	.comm	_E1000_NVM_CFG_DONE_PORT_1,4,2  ## @E1000_NVM_CFG_DONE_PORT_1
	.comm	_E1000_FUNC_2,4,2               ## @E1000_FUNC_2
	.comm	_E1000_NVM_CFG_DONE_PORT_2,4,2  ## @E1000_NVM_CFG_DONE_PORT_2
	.comm	_E1000_FUNC_3,4,2               ## @E1000_FUNC_3
	.comm	_E1000_NVM_CFG_DONE_PORT_3,4,2  ## @E1000_NVM_CFG_DONE_PORT_3
	.comm	_E1000_EEMNGCTL,4,2             ## @E1000_EEMNGCTL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MNG configuration cycle has not completed.\n"

	.comm	_E1000_EECD,4,2                 ## @E1000_EECD
	.comm	_E1000_EECD_PRES,4,2            ## @E1000_EECD_PRES
	.comm	_e1000_phy_igp_3,8,3            ## @e1000_phy_igp_3
	.no_dead_strip	_igb_get_cfg_done_82575
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_get_cfg_done_82575
_igb_get_cfg_done_82575:                ; @igb_get_cfg_done_82575
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _PHY_CFG_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_CFG_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	w8, [x0, #8]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _E1000_NVM_CFG_DONE_PORT_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_NVM_CFG_DONE_PORT_1@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	cbnz	x20, LBB0_5
	b	LBB0_8
LBB0_2:
Lloh6:
	adrp	x9, _E1000_FUNC_2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _E1000_FUNC_2@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _E1000_NVM_CFG_DONE_PORT_2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E1000_NVM_CFG_DONE_PORT_2@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	cbnz	x20, LBB0_5
	b	LBB0_8
LBB0_4:
Lloh12:
	adrp	x9, _E1000_NVM_CFG_DONE_PORT_0@GOTPAGE
Lloh13:
	ldr	x9, [x9, _E1000_NVM_CFG_DONE_PORT_0@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _E1000_FUNC_3@GOTPAGE
Lloh16:
	ldr	x10, [x10, _E1000_FUNC_3@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	adrp	x11, _E1000_NVM_CFG_DONE_PORT_3@GOTPAGE
Lloh19:
	ldr	x11, [x11, _E1000_NVM_CFG_DONE_PORT_3@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	cmp	w8, w10
	csel	w21, w11, w9, eq
	cbz	x20, LBB0_8
LBB0_5:
Lloh21:
	adrp	x22, _E1000_EEMNGCTL@GOTPAGE
Lloh22:
	ldr	x22, [x22, _E1000_EEMNGCTL@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_rd32
	tst	w0, w21
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	subs	x20, x20, #1
	b.ne	LBB0_6
LBB0_8:
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hw_dbg
LBB0_9:
Lloh25:
	adrp	x8, _E1000_EECD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _E1000_EECD@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_rd32
Lloh28:
	adrp	x8, _E1000_EECD_PRES@GOTPAGE
Lloh29:
	ldr	x8, [x8, _E1000_EECD_PRES@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.10:
	ldr	x8, [x19]
Lloh31:
	adrp	x9, _e1000_phy_igp_3@GOTPAGE
Lloh32:
	ldr	x9, [x9, _e1000_phy_igp_3@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_igb_phy_init_script_igp3
LBB0_12:
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_CFG_TIMEOUT,8,3            ; @PHY_CFG_TIMEOUT
	.comm	_E1000_NVM_CFG_DONE_PORT_0,4,2  ; @E1000_NVM_CFG_DONE_PORT_0
	.comm	_E1000_NVM_CFG_DONE_PORT_1,4,2  ; @E1000_NVM_CFG_DONE_PORT_1
	.comm	_E1000_FUNC_2,4,2               ; @E1000_FUNC_2
	.comm	_E1000_NVM_CFG_DONE_PORT_2,4,2  ; @E1000_NVM_CFG_DONE_PORT_2
	.comm	_E1000_FUNC_3,4,2               ; @E1000_FUNC_3
	.comm	_E1000_NVM_CFG_DONE_PORT_3,4,2  ; @E1000_NVM_CFG_DONE_PORT_3
	.comm	_E1000_EEMNGCTL,4,2             ; @E1000_EEMNGCTL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MNG configuration cycle has not completed.\n"

	.comm	_E1000_EECD,4,2                 ; @E1000_EECD
	.comm	_E1000_EECD_PRES,4,2            ; @E1000_EECD_PRES
	.comm	_e1000_phy_igp_3,8,3            ; @e1000_phy_igp_3
	.no_dead_strip	_igb_get_cfg_done_82575
.subsections_via_symbols
