	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_free_vf_res
_ice_free_vf_res:                       ## @ice_free_vf_res
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	32(%rdi), %r15
	movq	_ICE_VF_STATE_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	_clear_bit
	movslq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r15), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_ice_vsi_release
	movl	$0, (%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r14)
LBB0_2:
	movl	(%r15), %r12d
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.3:
	movl	4(%r14), %ebx
	addl	%ebx, %r12d
	addq	$4, %r15
	movq	_GLINT_DYN_CTL_CLEARPBA_M@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_GLINT_DYN_CTL
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_wr32
	movq	%r15, %rdi
	callq	_ice_flush
	incl	%ebx
	cmpl	%r12d, %ebx
	jl	LBB0_4
LBB0_5:
	movq	_ICE_VF_STATE_MC_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	_clear_bit
	movq	_ICE_VF_STATE_UC_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_VF_STATE_INIT,4,2          ## @ICE_VF_STATE_INIT
	.comm	_GLINT_DYN_CTL_CLEARPBA_M,4,2   ## @GLINT_DYN_CTL_CLEARPBA_M
	.comm	_ICE_VF_STATE_MC_PROMISC,4,2    ## @ICE_VF_STATE_MC_PROMISC
	.comm	_ICE_VF_STATE_UC_PROMISC,4,2    ## @ICE_VF_STATE_UC_PROMISC
	.no_dead_strip	_ice_free_vf_res
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_free_vf_res
_ice_free_vf_res:                       ; @ice_free_vf_res
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x21, [x0, #32]
Lloh0:
	adrp	x8, _ICE_VF_STATE_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_VF_STATE_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	_clear_bit
	ldrsw	x8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x9, [x21, #8]
	ldr	w0, [x9, x8, lsl #2]
	bl	_ice_vsi_release
	str	wzr, [x19]
	stp	xzr, xzr, [x19, #16]
LBB0_2:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	ldr	w20, [x19, #4]
	add	w22, w8, w20
	add	x21, x21, #4
Lloh3:
	adrp	x23, _GLINT_DYN_CTL_CLEARPBA_M@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GLINT_DYN_CTL_CLEARPBA_M@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_GLINT_DYN_CTL
	mov	x1, x0
	ldr	w2, [x23]
	mov	x0, x21
	bl	_wr32
	mov	x0, x21
	bl	_ice_flush
	add	w20, w20, #1
	cmp	w20, w22
	b.lt	LBB0_4
LBB0_5:
Lloh5:
	adrp	x8, _ICE_VF_STATE_MC_PROMISC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ICE_VF_STATE_MC_PROMISC@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	_clear_bit
Lloh8:
	adrp	x8, _ICE_VF_STATE_UC_PROMISC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ICE_VF_STATE_UC_PROMISC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_clear_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_VF_STATE_INIT,4,2          ; @ICE_VF_STATE_INIT
	.comm	_GLINT_DYN_CTL_CLEARPBA_M,4,2   ; @GLINT_DYN_CTL_CLEARPBA_M
	.comm	_ICE_VF_STATE_MC_PROMISC,4,2    ; @ICE_VF_STATE_MC_PROMISC
	.comm	_ICE_VF_STATE_UC_PROMISC,4,2    ; @ICE_VF_STATE_UC_PROMISC
	.no_dead_strip	_ice_free_vf_res
.subsections_via_symbols
