	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_aq_free_vsi
_ice_aq_free_vsi:                       ## @ice_aq_free_vsi
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_ice_aqc_opc_free_vsi@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	callq	_ice_fill_dflt_direct_cmd_desc
	movq	_ICE_AQ_VSI_IS_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	(%r15), %edi
	callq	_cpu_to_le16
	movq	%rax, -40(%rbp)
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_ICE_AQ_VSI_KEEP_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, -48(%rbp)
LBB0_2:
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_ice_aq_send_cmd
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	-52(%rbp), %edi
	callq	_le16_to_cpu
	movq	%rax, 16(%r15)
	movl	-56(%rbp), %edi
	callq	_le16_to_cpu
	movq	%rax, 8(%r15)
LBB0_4:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ice_aqc_opc_free_vsi,4,2       ## @ice_aqc_opc_free_vsi
	.comm	_ICE_AQ_VSI_IS_VALID,4,2        ## @ICE_AQ_VSI_IS_VALID
	.comm	_ICE_AQ_VSI_KEEP_ALLOC,4,2      ## @ICE_AQ_VSI_KEEP_ALLOC
	.no_dead_strip	_ice_aq_free_vsi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_aq_free_vsi
_ice_aq_free_vsi:                       ; @ice_aq_free_vsi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ice_aqc_opc_free_vsi@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ice_aqc_opc_free_vsi@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_ice_fill_dflt_direct_cmd_desc
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _ICE_AQ_VSI_IS_VALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ICE_AQ_VSI_IS_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_le16
	str	x0, [sp, #24]
	cbz	w22, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ICE_AQ_VSI_KEEP_ALLOC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICE_AQ_VSI_KEEP_ALLOC@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [sp, #16]
LBB0_2:
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, #0
	mov	w3, #0
	mov	x4, x20
	bl	_ice_aq_send_cmd
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [sp, #12]
	bl	_le16_to_cpu
	str	x0, [x19, #16]
	ldr	w0, [sp, #8]
	bl	_le16_to_cpu
	str	x0, [x19, #8]
LBB0_4:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ice_aqc_opc_free_vsi,4,2       ; @ice_aqc_opc_free_vsi
	.comm	_ICE_AQ_VSI_IS_VALID,4,2        ; @ICE_AQ_VSI_IS_VALID
	.comm	_ICE_AQ_VSI_KEEP_ALLOC,4,2      ; @ICE_AQ_VSI_KEEP_ALLOC
	.no_dead_strip	_ice_aq_free_vsi
.subsections_via_symbols
