	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_reset_hw_vf
_e1000_reset_hw_vf:                     ## @e1000_reset_hw_vf
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_E1000_VF_INIT_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_E1000_ERR_MAC_INIT@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	subl	(%r15), %r14d
	movq	_CTRL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_er32
	movl	(%r13), %edi
	movq	_E1000_CTRL_RST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %esi
	callq	_ew32
	movq	%r12, %rdi
	callq	*24(%r12)
	testl	%ebx, %ebx
	setne	%cl
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.2:
	decl	%ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$5, %edi
	callq	_udelay
	movq	%r12, %rdi
	callq	*24(%r12)
	addl	$-1, %ebx
	setb	%cl
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	%cl, %cl
	jne	LBB0_3
LBB0_5:
	testb	%cl, %cl
	je	LBB0_10
## %bb.6:
	movq	_E1000_VF_MBX_INIT_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	movq	_E1000_VF_RESET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, -60(%rbp)
	leaq	-60(%rbp), %r14
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	*16(%r12)
	movl	$10, %edi
	callq	_mdelay
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	*8(%r12)
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	_E1000_VT_MSGTYPE_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rbx), %eax
	cmpl	%eax, -60(%rbp)
	jne	LBB0_9
## %bb.8:
	leaq	-56(%rbp), %rsi
	movl	(%r12), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_9:
	xorl	%r14d, %r14d
	subl	(%r15), %r14d
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_VF_INIT_TIMEOUT,4,2      ## @E1000_VF_INIT_TIMEOUT
	.comm	_E1000_ERR_MAC_INIT,4,2         ## @E1000_ERR_MAC_INIT
	.comm	_CTRL,4,2                       ## @CTRL
	.comm	_E1000_CTRL_RST,4,2             ## @E1000_CTRL_RST
	.comm	_E1000_VF_MBX_INIT_TIMEOUT,4,2  ## @E1000_VF_MBX_INIT_TIMEOUT
	.comm	_E1000_VF_RESET,4,2             ## @E1000_VF_RESET
	.comm	_E1000_VT_MSGTYPE_ACK,4,2       ## @E1000_VT_MSGTYPE_ACK
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_e1000_reset_hw_vf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_reset_hw_vf
_e1000_reset_hw_vf:                     ; @e1000_reset_hw_vf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _E1000_VF_INIT_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_VF_INIT_TIMEOUT@GOTPAGEOFF]
Lloh5:
	adrp	x21, _E1000_ERR_MAC_INIT@GOTPAGE
Lloh6:
	ldr	x21, [x21, _E1000_ERR_MAC_INIT@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	ldr	w8, [x21]
	neg	w20, w8
Lloh8:
	adrp	x23, _CTRL@GOTPAGE
Lloh9:
	ldr	x23, [x23, _CTRL@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_er32
	ldr	w8, [x23]
Lloh10:
	adrp	x9, _E1000_CTRL_RST@GOTPAGE
Lloh11:
	ldr	x9, [x9, _E1000_CTRL_RST@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w1, w9, w0
	mov	x0, x8
	bl	_ew32
	ldr	x8, [x19, #24]
	mov	x0, x19
	blr	x8
	cmp	w22, #0
	cset	w8, ne
	cbnz	w0, LBB0_5
; %bb.1:
	cbz	w22, LBB0_5
; %bb.2:
	sub	w22, w22, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #5
	bl	_udelay
	ldr	x8, [x19, #24]
	mov	x0, x19
	blr	x8
	subs	w22, w22, #1
	cset	w8, hs
	cbnz	w0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w8, #0, LBB0_3
LBB0_5:
	cbz	w8, LBB0_10
; %bb.6:
Lloh13:
	adrp	x8, _E1000_VF_MBX_INIT_TIMEOUT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E1000_VF_MBX_INIT_TIMEOUT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh16:
	adrp	x22, _E1000_VF_RESET@GOTPAGE
Lloh17:
	ldr	x22, [x22, _E1000_VF_RESET@GOTPAGEOFF]
	ldr	w8, [x22]
	str	w8, [sp, #12]
	ldr	x8, [x19, #16]
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #1
	blr	x8
	mov	w0, #10
	bl	_mdelay
	ldr	x8, [x19, #8]
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #3
	blr	x8
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.7:
	ldr	w8, [sp, #12]
	ldr	w9, [x22]
Lloh18:
	adrp	x10, _E1000_VT_MSGTYPE_ACK@GOTPAGE
Lloh19:
	ldr	x10, [x10, _E1000_VT_MSGTYPE_ACK@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w10, w9
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.8:
	add	x8, sp, #12
	add	x1, x8, #4
	ldr	w0, [x19]
Lloh21:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	bl	_memcpy
	mov	w20, #0
	b	LBB0_10
LBB0_9:
	ldr	w8, [x21]
	neg	w20, w8
LBB0_10:
	ldr	x8, [sp, #24]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_VF_INIT_TIMEOUT,4,2      ; @E1000_VF_INIT_TIMEOUT
	.comm	_E1000_ERR_MAC_INIT,4,2         ; @E1000_ERR_MAC_INIT
	.comm	_CTRL,4,2                       ; @CTRL
	.comm	_E1000_CTRL_RST,4,2             ; @E1000_CTRL_RST
	.comm	_E1000_VF_MBX_INIT_TIMEOUT,4,2  ; @E1000_VF_MBX_INIT_TIMEOUT
	.comm	_E1000_VF_RESET,4,2             ; @E1000_VF_RESET
	.comm	_E1000_VT_MSGTYPE_ACK,4,2       ; @E1000_VT_MSGTYPE_ACK
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_e1000_reset_hw_vf
.subsections_via_symbols
