	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_reset_hw_vf
_ixgbevf_reset_hw_vf:                   ## @ixgbevf_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_IXGBE_VF_INIT_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_IXGBE_VF_PERMADDR_MSG_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r12, %rdi
	callq	*8(%r12)
	movq	_ixgbe_mbox_api_10@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_IXGBE_VFCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IXGBE_CTRL_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_IXGBE_WRITE_REG
	movq	%r12, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movq	%r12, %rdi
	callq	*40(%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	*40(%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_9
## %bb.6:
	movq	_IXGBE_VF_MBX_INIT_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movq	_IXGBE_VF_RESET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	*32(%r12)
	movl	$10, %edi
	callq	_mdelay
	movl	(%r15), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	*24(%r12)
	testq	%rax, %rax
	jne	LBB0_14
## %bb.7:
	movl	(%r14), %eax
	movl	(%rbx), %ecx
	movq	_IXGBE_VT_MSGTYPE_ACK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	cmpl	%edx, %eax
	jne	LBB0_10
## %bb.8:
	movq	%r14, %rsi
	addq	$4, %rsi
	movl	4(%r12), %edi
	callq	_ether_addr_copy
	jmp	LBB0_11
LBB0_9:
	movq	_IXGBE_ERR_RESET_FAILED@GOTPCREL(%rip), %rax
LBB0_13:
	movq	(%rax), %rax
	jmp	LBB0_14
LBB0_10:
	movq	_IXGBE_VT_MSGTYPE_NACK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_12
LBB0_11:
	movq	_IXGBE_VF_MC_TYPE_WORD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, (%r12)
	xorl	%eax, %eax
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_IXGBE_ERR_INVALID_MAC_ADDR@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_VF_INIT_TIMEOUT,4,2      ## @IXGBE_VF_INIT_TIMEOUT
	.comm	_IXGBE_ERR_INVALID_MAC_ADDR,8,3 ## @IXGBE_ERR_INVALID_MAC_ADDR
	.comm	_IXGBE_VF_PERMADDR_MSG_LEN,4,2  ## @IXGBE_VF_PERMADDR_MSG_LEN
	.comm	_ixgbe_mbox_api_10,4,2          ## @ixgbe_mbox_api_10
	.comm	_IXGBE_VFCTRL,4,2               ## @IXGBE_VFCTRL
	.comm	_IXGBE_CTRL_RST,4,2             ## @IXGBE_CTRL_RST
	.comm	_IXGBE_ERR_RESET_FAILED,8,3     ## @IXGBE_ERR_RESET_FAILED
	.comm	_IXGBE_VF_MBX_INIT_TIMEOUT,4,2  ## @IXGBE_VF_MBX_INIT_TIMEOUT
	.comm	_IXGBE_VF_RESET,4,2             ## @IXGBE_VF_RESET
	.comm	_IXGBE_VT_MSGTYPE_ACK,4,2       ## @IXGBE_VT_MSGTYPE_ACK
	.comm	_IXGBE_VT_MSGTYPE_NACK,4,2      ## @IXGBE_VT_MSGTYPE_NACK
	.comm	_IXGBE_VF_MC_TYPE_WORD,8,3      ## @IXGBE_VF_MC_TYPE_WORD
	.no_dead_strip	_ixgbevf_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 ixgbevf_reset_hw_vf
_ixgbevf_reset_hw_vf:                   ; @ixgbevf_reset_hw_vf
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _IXGBE_VF_INIT_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_VF_INIT_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x21, _IXGBE_VF_PERMADDR_MSG_LEN@GOTPAGE
Lloh7:
	ldr	x21, [x21, _IXGBE_VF_PERMADDR_MSG_LEN@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	x8, [x0, #8]
	blr	x8
Lloh10:
	adrp	x8, _ixgbe_mbox_api_10@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ixgbe_mbox_api_10@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh13:
	adrp	x8, _IXGBE_VFCTRL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IXGBE_VFCTRL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _IXGBE_CTRL_RST@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IXGBE_CTRL_RST@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
	ldr	x8, [x19, #40]
	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, #40]
	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:
	tbz	w8, #0, LBB0_9
; %bb.6:
Lloh19:
	adrp	x8, _IXGBE_VF_MBX_INIT_TIMEOUT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IXGBE_VF_MBX_INIT_TIMEOUT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x19, #48]
Lloh22:
	adrp	x22, _IXGBE_VF_RESET@GOTPAGE
Lloh23:
	ldr	x22, [x22, _IXGBE_VF_RESET@GOTPAGEOFF]
	ldr	w8, [x22]
	str	w8, [x20]
	ldr	x8, [x19, #32]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	blr	x8
	mov	w0, #10
	bl	_mdelay
	ldr	x8, [x19, #24]
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	cbnz	x0, LBB0_13
; %bb.7:
	ldr	w8, [x20]
	ldr	w9, [x22]
Lloh24:
	adrp	x10, _IXGBE_VT_MSGTYPE_ACK@GOTPAGE
Lloh25:
	ldr	x10, [x10, _IXGBE_VT_MSGTYPE_ACK@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	orr	w10, w10, w9
	cmp	w8, w10
	b.ne	LBB0_11
; %bb.8:
	add	x1, x20, #4
	ldr	w0, [x19, #4]
	bl	_ether_addr_copy
	b	LBB0_12
LBB0_9:
Lloh27:
	adrp	x8, _IXGBE_ERR_RESET_FAILED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IXGBE_ERR_RESET_FAILED@GOTPAGEOFF]
LBB0_10:
	ldr	x0, [x8]
	b	LBB0_13
LBB0_11:
Lloh29:
	adrp	x10, _IXGBE_VT_MSGTYPE_NACK@GOTPAGE
Lloh30:
	ldr	x10, [x10, _IXGBE_VT_MSGTYPE_NACK@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	orr	w9, w10, w9
	cmp	w8, w9
	b.ne	LBB0_15
LBB0_12:
	mov	x0, #0
Lloh32:
	adrp	x8, _IXGBE_VF_MC_TYPE_WORD@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IXGBE_VF_MC_TYPE_WORD@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19]
LBB0_13:
	ldur	x8, [x29, #-40]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.14:
	sub	sp, x29, #32
	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
LBB0_15:
Lloh38:
	adrp	x8, _IXGBE_ERR_INVALID_MAC_ADDR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _IXGBE_ERR_INVALID_MAC_ADDR@GOTPAGEOFF]
	b	LBB0_10
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_VF_INIT_TIMEOUT,4,2      ; @IXGBE_VF_INIT_TIMEOUT
	.comm	_IXGBE_ERR_INVALID_MAC_ADDR,8,3 ; @IXGBE_ERR_INVALID_MAC_ADDR
	.comm	_IXGBE_VF_PERMADDR_MSG_LEN,4,2  ; @IXGBE_VF_PERMADDR_MSG_LEN
	.comm	_ixgbe_mbox_api_10,4,2          ; @ixgbe_mbox_api_10
	.comm	_IXGBE_VFCTRL,4,2               ; @IXGBE_VFCTRL
	.comm	_IXGBE_CTRL_RST,4,2             ; @IXGBE_CTRL_RST
	.comm	_IXGBE_ERR_RESET_FAILED,8,3     ; @IXGBE_ERR_RESET_FAILED
	.comm	_IXGBE_VF_MBX_INIT_TIMEOUT,4,2  ; @IXGBE_VF_MBX_INIT_TIMEOUT
	.comm	_IXGBE_VF_RESET,4,2             ; @IXGBE_VF_RESET
	.comm	_IXGBE_VT_MSGTYPE_ACK,4,2       ; @IXGBE_VT_MSGTYPE_ACK
	.comm	_IXGBE_VT_MSGTYPE_NACK,4,2      ; @IXGBE_VT_MSGTYPE_NACK
	.comm	_IXGBE_VF_MC_TYPE_WORD,8,3      ; @IXGBE_VF_MC_TYPE_WORD
	.no_dead_strip	_ixgbevf_reset_hw_vf
.subsections_via_symbols
