	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_poll_eerd_eewr_done     ## -- Begin function e1000e_poll_eerd_eewr_done
	.p2align	4, 0x90
_e1000e_poll_eerd_eewr_done:            ## @e1000e_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, %r14d
	movl	$100000, %ebx                   ## imm = 0x186A0
	movq	_E1000_NVM_POLL_READ@GOTPCREL(%rip), %r15
	movq	_EEWR@GOTPCREL(%rip), %r12
	movq	_E1000_NVM_RW_REG_DONE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rax
	cmpl	%r14d, (%r15)
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_EERD@GOTPCREL(%rip), %rax
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rax), %edi
	callq	_er32
	testq	%rax, (%r13)
	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	_E1000_ERR_NVM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	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_NVM_POLL_READ,4,2        ## @E1000_NVM_POLL_READ
	.comm	_EERD,4,2                       ## @EERD
	.comm	_EEWR,4,2                       ## @EEWR
	.comm	_E1000_NVM_RW_REG_DONE,8,3      ## @E1000_NVM_RW_REG_DONE
	.comm	_E1000_ERR_NVM,4,2              ## @E1000_ERR_NVM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_poll_eerd_eewr_done     ; -- Begin function e1000e_poll_eerd_eewr_done
	.p2align	2
_e1000e_poll_eerd_eewr_done:            ; @e1000e_poll_eerd_eewr_done
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	w20, #34464
	movk	w20, #1, lsl #16
Lloh0:
	adrp	x21, _E1000_NVM_POLL_READ@GOTPAGE
Lloh1:
	ldr	x21, [x21, _E1000_NVM_POLL_READ@GOTPAGEOFF]
Lloh2:
	adrp	x22, _EERD@GOTPAGE
Lloh3:
	ldr	x22, [x22, _EERD@GOTPAGEOFF]
Lloh4:
	adrp	x23, _EEWR@GOTPAGE
Lloh5:
	ldr	x23, [x23, _EEWR@GOTPAGEOFF]
Lloh6:
	adrp	x24, _E1000_NVM_RW_REG_DONE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _E1000_NVM_RW_REG_DONE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cmp	w8, w19
	csel	x8, x22, x23, eq
	ldr	w0, [x8]
	bl	_er32
	ldr	x8, [x24]
	tst	x8, x0
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #5
	bl	_udelay
	subs	x20, x20, #1
	b.ne	LBB0_1
; %bb.3:
Lloh8:
	adrp	x8, _E1000_ERR_NVM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E1000_ERR_NVM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_NVM_POLL_READ,4,2        ; @E1000_NVM_POLL_READ
	.comm	_EERD,4,2                       ; @EERD
	.comm	_EEWR,4,2                       ; @EEWR
	.comm	_E1000_NVM_RW_REG_DONE,8,3      ; @E1000_NVM_RW_REG_DONE
	.comm	_E1000_ERR_NVM,4,2              ; @E1000_ERR_NVM
.subsections_via_symbols
