	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_get_cfg_done_i210          ## -- Begin function igb_get_cfg_done_i210
	.p2align	4, 0x90
_igb_get_cfg_done_i210:                 ## @igb_get_cfg_done_i210
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PHY_CFG_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	_E1000_NVM_CFG_DONE_PORT_0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_E1000_EEMNGCTL_I210@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_rd32
	testl	%r14d, %eax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	decq	%rbx
	jne	LBB0_2
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_hw_dbg
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	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_EEMNGCTL_I210,4,2        ## @E1000_EEMNGCTL_I210
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MNG configuration cycle has not completed.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_get_cfg_done_i210          ; -- Begin function igb_get_cfg_done_i210
	.p2align	2
_igb_get_cfg_done_i210:                 ; @igb_get_cfg_done_i210
	.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
Lloh0:
	adrp	x8, _PHY_CFG_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_CFG_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	cbz	x19, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _E1000_NVM_CFG_DONE_PORT_0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_NVM_CFG_DONE_PORT_0@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x21, _E1000_EEMNGCTL_I210@GOTPAGE
Lloh7:
	ldr	x21, [x21, _E1000_EEMNGCTL_I210@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_rd32
	tst	w0, w20
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	subs	x19, x19, #1
	b.ne	LBB0_2
LBB0_4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hw_dbg
LBB0_5:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.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_EEMNGCTL_I210,4,2        ; @E1000_EEMNGCTL_I210
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MNG configuration cycle has not completed.\n"

.subsections_via_symbols
