	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function qlcnic_sriov_pf_reset
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_qlcnic_sriov_pf_reset
	.p2align	4, 0x90
_qlcnic_sriov_pf_reset:                 ## @qlcnic_sriov_pf_reset
	.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, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %r13
	xorl	%r14d, %r14d
	movq	_QLC_BC_VF_STATE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	leaq	(%rax,%r14), %rbx
	leaq	(%rax,%r14), %rdi
	addq	$4, %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax,%r14)
	callq	_cancel_work_sync
	movq	%rbx, %rdi
	callq	___qlcnic_sriov_process_flr
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	addq	$24, %r14
	cmpq	%r14, %r13
	jne	LBB0_2
LBB0_3:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_qlcnic_sriov_pf_reset_vport_handle
	movq	_QLCNIC_MBX_INTR_ENBL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	shll	$8, %edx
	addl	$-256, %edx
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_QLCWRX                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_BC_VF_STATE,4,2            ## @QLC_BC_VF_STATE
	.comm	_QLCNIC_MBX_INTR_ENBL,4,2       ## @QLCNIC_MBX_INTR_ENBL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_pf_reset          ; -- Begin function qlcnic_sriov_pf_reset
	.p2align	2
_qlcnic_sriov_pf_reset:                 ; @qlcnic_sriov_pf_reset
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	ldr	x19, [x0]
	ldr	x22, [x19, #8]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	add	x8, x8, x8, lsl #1
	lsl	x24, x8, #3
Lloh0:
	adrp	x25, _QLC_BC_VF_STATE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _QLC_BC_VF_STATE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x21, x8, x23
	add	x0, x21, #4
	stp	xzr, xzr, [x21, #8]
	bl	_cancel_work_sync
	mov	x0, x21
	bl	___qlcnic_sriov_process_flr
	ldr	w0, [x25]
	mov	x1, x21
	bl	_clear_bit
	add	x23, x23, #24
	cmp	x24, x23
	b.ne	LBB0_2
LBB0_3:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_qlcnic_sriov_pf_reset_vport_handle
Lloh2:
	adrp	x8, _QLCNIC_MBX_INTR_ENBL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QLCNIC_MBX_INTR_ENBL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w8, [x19]
	lsl	w8, w8, #8
	sub	w2, w8, #256
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_QLCWRX
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_BC_VF_STATE,4,2            ; @QLC_BC_VF_STATE
	.comm	_QLCNIC_MBX_INTR_ENBL,4,2       ; @QLCNIC_MBX_INTR_ENBL
.subsections_via_symbols
