	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_pf_cleanup        ## -- Begin function qlcnic_sriov_pf_cleanup
	.p2align	4, 0x90
_qlcnic_sriov_pf_cleanup:               ## @qlcnic_sriov_pf_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	4(%rax), %r14d
	callq	_qlcnic_sriov_enable_check
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_qlcnic_sriov_pf_del_flr_queue
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_qlcnic_sriov_cfg_bc_intr
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_qlcnic_sriov_pf_config_vport
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_qlcnic_sriov_pf_cfg_eswitch
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_qlcnic_sriov_pf_cfg_vlan_filtering
	movq	%rbx, %rdi
	callq	___qlcnic_sriov_cleanup
	movq	_QLCNIC_MGMT_FUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	___QLCNIC_SRIOV_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_MGMT_FUNC,4,2           ## @QLCNIC_MGMT_FUNC
	.comm	___QLCNIC_SRIOV_ENABLE,4,2      ## @__QLCNIC_SRIOV_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_pf_cleanup        ; -- Begin function qlcnic_sriov_pf_cleanup
	.p2align	2
_qlcnic_sriov_pf_cleanup:               ; @qlcnic_sriov_pf_cleanup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w20, [x8, #4]
	bl	_qlcnic_sriov_enable_check
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_qlcnic_sriov_pf_del_flr_queue
	mov	x0, x19
	mov	w1, #0
	bl	_qlcnic_sriov_cfg_bc_intr
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_qlcnic_sriov_pf_config_vport
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_qlcnic_sriov_pf_cfg_eswitch
	mov	x0, x19
	mov	w1, #0
	bl	_qlcnic_sriov_pf_cfg_vlan_filtering
	mov	x0, x19
	bl	___qlcnic_sriov_cleanup
Lloh0:
	adrp	x8, _QLCNIC_MGMT_FUNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_MGMT_FUNC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	str	w8, [x9]
Lloh3:
	adrp	x8, ___QLCNIC_SRIOV_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___QLCNIC_SRIOV_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clear_bit
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_MGMT_FUNC,4,2           ; @QLCNIC_MGMT_FUNC
	.comm	___QLCNIC_SRIOV_ENABLE,4,2      ; @__QLCNIC_SRIOV_ENABLE
.subsections_via_symbols
