	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_check_reset_block_ich8lan
_e1000_check_reset_block_ich8lan:       ## @e1000_check_reset_block_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_FWSM@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_er32
	movl	%eax, %ecx
	movq	_E1000_ICH_FWSM_RSPCIPHY@GOTPCREL(%rip), %r15
	xorl	%eax, %eax
	testl	%ecx, (%r15)
	jne	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$11000, %esi                    ## imm = 0x2AF8
	callq	_usleep_range
	movl	(%r14), %edi
	callq	_er32
	movl	%eax, %ecx
	andl	(%r15), %ecx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %eax
	cmpl	$29, %ebx
	movl	%eax, %ebx
	jb	LBB0_2
LBB0_4:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.5:
	movq	_E1000_BLK_PHY_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FWSM,4,2                       ## @FWSM
	.comm	_E1000_ICH_FWSM_RSPCIPHY,4,2    ## @E1000_ICH_FWSM_RSPCIPHY
	.comm	_E1000_BLK_PHY_RESET,4,2        ## @E1000_BLK_PHY_RESET
	.no_dead_strip	_e1000_check_reset_block_ich8lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_check_reset_block_ich8lan
_e1000_check_reset_block_ich8lan:       ; @e1000_check_reset_block_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	x19, _FWSM@GOTPAGE
Lloh1:
	ldr	x19, [x19, _FWSM@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_er32
Lloh2:
	adrp	x20, _E1000_ICH_FWSM_RSPCIPHY@GOTPAGE
Lloh3:
	ldr	x20, [x20, _E1000_ICH_FWSM_RSPCIPHY@GOTPAGEOFF]
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	mov	w21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w22, w21, #1
	mov	w0, #10000
	mov	w1, #11000
	bl	_usleep_range
	ldr	w0, [x19]
	bl	_er32
	ldr	w8, [x20]
	and	w8, w8, w0
	cmp	w8, #0
	ccmp	w21, #29, #2, eq
	mov	x21, x22
	b.lo	LBB0_3
; %bb.4:
Lloh4:
	adrp	x9, _E1000_BLK_PHY_RESET@GOTPAGE
Lloh5:
	ldr	x9, [x9, _E1000_BLK_PHY_RESET@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, w9, wzr, eq
LBB0_5:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FWSM,4,2                       ; @FWSM
	.comm	_E1000_ICH_FWSM_RSPCIPHY,4,2    ; @E1000_ICH_FWSM_RSPCIPHY
	.comm	_E1000_BLK_PHY_RESET,4,2        ; @E1000_BLK_PHY_RESET
	.no_dead_strip	_e1000_check_reset_block_ich8lan
.subsections_via_symbols
