	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __qlcnic_sriov_process_flr
___qlcnic_sriov_process_flr:            ## @__qlcnic_sriov_process_flr
	.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	%rdi, %rbx
	movq	32(%rdi), %r14
	addq	$24, %rdi
	callq	_qlcnic_sriov_cleanup_list
	leaq	20(%rbx), %rdi
	callq	_cancel_work_sync
	leaq	16(%rbx), %rdi
	callq	_qlcnic_sriov_cleanup_list
	movq	_QLC_BC_VF_SOFT_FLR@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	8(%rbx), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qlcnic_sriov_del_tx_ctx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qlcnic_sriov_del_rx_ctx
LBB0_2:
	movl	12(%rbx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_qlcnic_sriov_pf_config_vport
	movq	_QLC_BC_VF_FLR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	movq	%rbx, %rsi
	callq	_qlcnic_sriov_add_act_list_irqsave
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	$0, (%rbx)
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_BC_VF_SOFT_FLR,4,2         ## @QLC_BC_VF_SOFT_FLR
	.comm	_QLC_BC_VF_FLR,4,2              ## @QLC_BC_VF_FLR
	.no_dead_strip	___qlcnic_sriov_process_flr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __qlcnic_sriov_process_flr
___qlcnic_sriov_process_flr:            ; @__qlcnic_sriov_process_flr
	.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
	mov	x19, x0
	ldr	x20, [x0, #32]
	add	x0, x0, #24
	bl	_qlcnic_sriov_cleanup_list
	add	x0, x19, #20
	bl	_cancel_work_sync
	add	x0, x19, #16
	bl	_qlcnic_sriov_cleanup_list
Lloh0:
	adrp	x22, _QLC_BC_VF_SOFT_FLR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _QLC_BC_VF_SOFT_FLR@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x21, x19, #8
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_qlcnic_sriov_del_tx_ctx
	mov	x0, x20
	mov	x1, x19
	bl	_qlcnic_sriov_del_rx_ctx
LBB0_2:
	ldr	w2, [x19, #12]
	mov	x0, x20
	mov	w1, #0
	bl	_qlcnic_sriov_pf_config_vport
Lloh2:
	adrp	x8, _QLC_BC_VF_FLR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QLC_BC_VF_FLR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
	ldr	w0, [x22]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	x2, [x19]
	mov	x1, x19
	bl	_qlcnic_sriov_add_act_list_irqsave
	ldr	w0, [x22]
	mov	x1, x21
	bl	_clear_bit
	str	xzr, [x19]
LBB0_4:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_BC_VF_SOFT_FLR,4,2         ; @QLC_BC_VF_SOFT_FLR
	.comm	_QLC_BC_VF_FLR,4,2              ; @QLC_BC_VF_FLR
	.no_dead_strip	___qlcnic_sriov_process_flr
.subsections_via_symbols
