	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_lan_init_done_ich8lan
_e1000_lan_init_done_ich8lan:           ## @e1000_lan_init_done_ich8lan
	.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	_E1000_ICH8_LAN_INIT_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_STATUS@GOTPCREL(%rip), %r14
	movq	_E1000_STATUS_LAN_INIT_DONE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_er32
	movq	%rax, %rbx
	andq	(%r15), %rbx
	movl	$100, %edi
	movl	$200, %esi
	callq	_usleep_range
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decq	%r12
	jne	LBB0_1
	jmp	LBB0_4
LBB0_3:
	testq	%r12, %r12
	jne	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
LBB0_5:
	movl	(%r14), %edi
	callq	_er32
	movq	(%r15), %rsi
	notq	%rsi
	andq	%rax, %rsi
	movl	(%r14), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ew32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_ICH8_LAN_INIT_TIMEOUT,8,3 ## @E1000_ICH8_LAN_INIT_TIMEOUT
	.comm	_STATUS,4,2                     ## @STATUS
	.comm	_E1000_STATUS_LAN_INIT_DONE,8,3 ## @E1000_STATUS_LAN_INIT_DONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LAN_INIT_DONE not set, increase timeout\n"

	.no_dead_strip	_e1000_lan_init_done_ich8lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_lan_init_done_ich8lan
_e1000_lan_init_done_ich8lan:           ; @e1000_lan_init_done_ich8lan
	.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, _E1000_ICH8_LAN_INIT_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_ICH8_LAN_INIT_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
Lloh3:
	adrp	x19, _STATUS@GOTPAGE
Lloh4:
	ldr	x19, [x19, _STATUS@GOTPAGEOFF]
Lloh5:
	adrp	x20, _E1000_STATUS_LAN_INIT_DONE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _E1000_STATUS_LAN_INIT_DONE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	bl	_er32
	ldr	x8, [x20]
	and	x22, x8, x0
	mov	w0, #100
	mov	w1, #200
	bl	_usleep_range
	cbnz	x22, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	subs	x21, x21, #1
	b.ne	LBB0_1
	b	LBB0_4
LBB0_3:
	cbnz	x21, LBB0_5
LBB0_4:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
LBB0_5:
	ldr	w0, [x19]
	bl	_er32
	ldr	x8, [x20]
	bic	x1, x0, x8
	ldr	w0, [x19]
	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
	b	_ew32
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_ICH8_LAN_INIT_TIMEOUT,8,3 ; @E1000_ICH8_LAN_INIT_TIMEOUT
	.comm	_STATUS,4,2                     ; @STATUS
	.comm	_E1000_STATUS_LAN_INIT_DONE,8,3 ; @E1000_STATUS_LAN_INIT_DONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LAN_INIT_DONE not set, increase timeout\n"

	.no_dead_strip	_e1000_lan_init_done_ich8lan
.subsections_via_symbols
