	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_poll_eerd_eewr_done
_igb_poll_eerd_eewr_done:               ## @igb_poll_eerd_eewr_done
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	_E1000_ERR_NVM@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movq	(%rax), %rax
	subq	%rax, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	$100000, %ebx                   ## imm = 0x186A0
	movq	_E1000_NVM_POLL_READ@GOTPCREL(%rip), %r12
	movq	_E1000_EEWR@GOTPCREL(%rip), %r13
	movq	_E1000_NVM_RW_REG_DONE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rax
	cmpl	%r15d, (%r12)
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_E1000_EERD@GOTPCREL(%rip), %rax
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rax), %edi
	callq	_rd32
	testq	%rax, (%r14)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$5, %edi
	callq	_udelay
	decq	%rbx
	jne	LBB0_1
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_4:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_ERR_NVM,8,3              ## @E1000_ERR_NVM
	.comm	_E1000_NVM_POLL_READ,4,2        ## @E1000_NVM_POLL_READ
	.comm	_E1000_EERD,4,2                 ## @E1000_EERD
	.comm	_E1000_EEWR,4,2                 ## @E1000_EEWR
	.comm	_E1000_NVM_RW_REG_DONE,8,3      ## @E1000_NVM_RW_REG_DONE
	.no_dead_strip	_igb_poll_eerd_eewr_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_poll_eerd_eewr_done
_igb_poll_eerd_eewr_done:               ; @igb_poll_eerd_eewr_done
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
Lloh0:
	adrp	x8, _E1000_ERR_NVM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_ERR_NVM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x19, x8
	mov	w21, #34464
	movk	w21, #1, lsl #16
Lloh3:
	adrp	x22, _E1000_NVM_POLL_READ@GOTPAGE
Lloh4:
	ldr	x22, [x22, _E1000_NVM_POLL_READ@GOTPAGEOFF]
Lloh5:
	adrp	x23, _E1000_EERD@GOTPAGE
Lloh6:
	ldr	x23, [x23, _E1000_EERD@GOTPAGEOFF]
Lloh7:
	adrp	x24, _E1000_EEWR@GOTPAGE
Lloh8:
	ldr	x24, [x24, _E1000_EEWR@GOTPAGEOFF]
Lloh9:
	adrp	x25, _E1000_NVM_RW_REG_DONE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _E1000_NVM_RW_REG_DONE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w8, w20
	csel	x8, x23, x24, eq
	ldr	w0, [x8]
	bl	_rd32
	ldr	x8, [x25]
	tst	x8, x0
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #5
	bl	_udelay
	subs	x21, x21, #1
	b.ne	LBB0_1
	b	LBB0_4
LBB0_3:
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_ERR_NVM,8,3              ; @E1000_ERR_NVM
	.comm	_E1000_NVM_POLL_READ,4,2        ; @E1000_NVM_POLL_READ
	.comm	_E1000_EERD,4,2                 ; @E1000_EERD
	.comm	_E1000_EEWR,4,2                 ; @E1000_EEWR
	.comm	_E1000_NVM_RW_REG_DONE,8,3      ; @E1000_NVM_RW_REG_DONE
	.no_dead_strip	_igb_poll_eerd_eewr_done
.subsections_via_symbols
