	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_aq_alloc_free_vsi_list
_ice_aq_alloc_free_vsi_list:            ## @ice_aq_alloc_free_vsi_list
	.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
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_ice_hw_to_dev
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movl	$1, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r13)
	movq	_ICE_SW_LKUP_MAC@GOTPCREL(%rip), %rcx
	movq	_ICE_AQC_RES_TYPE_VSI_LIST_REP@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rcx)
	je	LBB0_10
## %bb.3:
	movq	_ICE_SW_LKUP_MAC_VLAN@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	je	LBB0_10
## %bb.4:
	movq	_ICE_SW_LKUP_ETHERTYPE@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	je	LBB0_10
## %bb.5:
	movq	_ICE_SW_LKUP_ETHERTYPE_MAC@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	je	LBB0_10
## %bb.6:
	movq	_ICE_SW_LKUP_PROMISC@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	je	LBB0_10
## %bb.7:
	movq	_ICE_SW_LKUP_PROMISC_VLAN@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	je	LBB0_10
## %bb.8:
	movq	_ICE_SW_LKUP_VLAN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_18
## %bb.9:
	movq	_ICE_AQC_RES_TYPE_VSI_LIST_PRUNE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r13)
	movq	_ice_aqc_opc_free_res@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_12
## %bb.11:
	movl	(%r15), %edi
	callq	_cpu_to_le16
	movq	(%r13), %rcx
	movq	%rax, (%rcx)
LBB0_12:
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	movl	$24, %ecx
	movl	%r12d, %r8d
	xorl	%r9d, %r9d
	callq	_ice_aq_alloc_free_res
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.13:
	movq	_ice_aqc_opc_alloc_res@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_15
## %bb.14:
	movq	(%r13), %rax
	movq	(%rax), %rdi
	callq	_le16_to_cpu
	movl	%eax, (%r15)
LBB0_15:
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_1:
	movq	_ICE_ERR_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_17
LBB0_18:
	movq	_ICE_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_16:
	movq	%r14, %rdi
	callq	_ice_hw_to_dev
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_devm_kfree
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ICE_ERR_NO_MEMORY,4,2          ## @ICE_ERR_NO_MEMORY
	.comm	_ICE_SW_LKUP_MAC,4,2            ## @ICE_SW_LKUP_MAC
	.comm	_ICE_SW_LKUP_MAC_VLAN,4,2       ## @ICE_SW_LKUP_MAC_VLAN
	.comm	_ICE_SW_LKUP_ETHERTYPE,4,2      ## @ICE_SW_LKUP_ETHERTYPE
	.comm	_ICE_SW_LKUP_ETHERTYPE_MAC,4,2  ## @ICE_SW_LKUP_ETHERTYPE_MAC
	.comm	_ICE_SW_LKUP_PROMISC,4,2        ## @ICE_SW_LKUP_PROMISC
	.comm	_ICE_SW_LKUP_PROMISC_VLAN,4,2   ## @ICE_SW_LKUP_PROMISC_VLAN
	.comm	_ICE_AQC_RES_TYPE_VSI_LIST_REP,4,2 ## @ICE_AQC_RES_TYPE_VSI_LIST_REP
	.comm	_ICE_SW_LKUP_VLAN,4,2           ## @ICE_SW_LKUP_VLAN
	.comm	_ICE_AQC_RES_TYPE_VSI_LIST_PRUNE,4,2 ## @ICE_AQC_RES_TYPE_VSI_LIST_PRUNE
	.comm	_ICE_ERR_PARAM,4,2              ## @ICE_ERR_PARAM
	.comm	_ice_aqc_opc_free_res,4,2       ## @ice_aqc_opc_free_res
	.comm	_ice_aqc_opc_alloc_res,4,2      ## @ice_aqc_opc_alloc_res
	.no_dead_strip	_ice_aq_alloc_free_vsi_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_aq_alloc_free_vsi_list
_ice_aq_alloc_free_vsi_list:            ; @ice_aq_alloc_free_vsi_list
	.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	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	bl	_ice_hw_to_dev
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	w0, #1
	bl	_cpu_to_le16
	str	x0, [x20, #16]
Lloh3:
	adrp	x8, _ICE_SW_LKUP_MAC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_SW_LKUP_MAC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ICE_SW_LKUP_MAC_VLAN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ICE_SW_LKUP_MAC_VLAN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _ICE_SW_LKUP_ETHERTYPE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ICE_SW_LKUP_ETHERTYPE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _ICE_SW_LKUP_ETHERTYPE_MAC@GOTPAGE
Lloh13:
	ldr	x11, [x11, _ICE_SW_LKUP_ETHERTYPE_MAC@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
Lloh15:
	adrp	x12, _ICE_SW_LKUP_PROMISC@GOTPAGE
Lloh16:
	ldr	x12, [x12, _ICE_SW_LKUP_PROMISC@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
Lloh18:
	adrp	x13, _ICE_SW_LKUP_PROMISC_VLAN@GOTPAGE
Lloh19:
	ldr	x13, [x13, _ICE_SW_LKUP_PROMISC_VLAN@GOTPAGEOFF]
Lloh20:
	ldr	w13, [x13]
	cmp	w8, w23
	ccmp	w9, w23, #4, ne
	ccmp	w10, w23, #4, ne
	ccmp	w11, w23, #4, ne
	ccmp	w12, w23, #4, ne
	ccmp	w13, w23, #4, ne
	b.ne	LBB0_4
; %bb.2:
Lloh21:
	adrp	x8, _ICE_AQC_RES_TYPE_VSI_LIST_REP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ICE_AQC_RES_TYPE_VSI_LIST_REP@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh23:
	adrp	x8, _ICE_ERR_NO_MEMORY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ICE_ERR_NO_MEMORY@GOTPAGEOFF]
Lloh25:
	ldr	w23, [x8]
	b	LBB0_14
LBB0_4:
Lloh26:
	adrp	x8, _ICE_SW_LKUP_VLAN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ICE_SW_LKUP_VLAN@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_11
; %bb.5:
Lloh29:
	adrp	x8, _ICE_AQC_RES_TYPE_VSI_LIST_PRUNE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ICE_AQC_RES_TYPE_VSI_LIST_PRUNE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x20, #8]
Lloh31:
	adrp	x8, _ice_aqc_opc_free_res@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ice_aqc_opc_free_res@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_8
; %bb.7:
	ldr	w0, [x21]
	bl	_cpu_to_le16
	ldr	x8, [x20]
	str	x0, [x8]
LBB0_8:
	mov	x0, x19
	mov	w1, #1
	mov	x2, x20
	mov	w3, #24
	mov	x4, x22
	mov	x5, #0
	bl	_ice_aq_alloc_free_res
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.9:
Lloh34:
	adrp	x8, _ice_aqc_opc_alloc_res@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ice_aqc_opc_alloc_res@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_12
; %bb.10:
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_le16_to_cpu
	mov	w23, #0
	str	w0, [x21]
	b	LBB0_13
LBB0_11:
Lloh37:
	adrp	x8, _ICE_ERR_PARAM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ICE_ERR_PARAM@GOTPAGEOFF]
Lloh39:
	ldr	w23, [x8]
	b	LBB0_13
LBB0_12:
	mov	w23, #0
LBB0_13:
	mov	x0, x19
	bl	_ice_hw_to_dev
	mov	x1, x20
	bl	_devm_kfree
LBB0_14:
	mov	x0, x23
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ICE_ERR_NO_MEMORY,4,2          ; @ICE_ERR_NO_MEMORY
	.comm	_ICE_SW_LKUP_MAC,4,2            ; @ICE_SW_LKUP_MAC
	.comm	_ICE_SW_LKUP_MAC_VLAN,4,2       ; @ICE_SW_LKUP_MAC_VLAN
	.comm	_ICE_SW_LKUP_ETHERTYPE,4,2      ; @ICE_SW_LKUP_ETHERTYPE
	.comm	_ICE_SW_LKUP_ETHERTYPE_MAC,4,2  ; @ICE_SW_LKUP_ETHERTYPE_MAC
	.comm	_ICE_SW_LKUP_PROMISC,4,2        ; @ICE_SW_LKUP_PROMISC
	.comm	_ICE_SW_LKUP_PROMISC_VLAN,4,2   ; @ICE_SW_LKUP_PROMISC_VLAN
	.comm	_ICE_AQC_RES_TYPE_VSI_LIST_REP,4,2 ; @ICE_AQC_RES_TYPE_VSI_LIST_REP
	.comm	_ICE_SW_LKUP_VLAN,4,2           ; @ICE_SW_LKUP_VLAN
	.comm	_ICE_AQC_RES_TYPE_VSI_LIST_PRUNE,4,2 ; @ICE_AQC_RES_TYPE_VSI_LIST_PRUNE
	.comm	_ICE_ERR_PARAM,4,2              ; @ICE_ERR_PARAM
	.comm	_ice_aqc_opc_free_res,4,2       ; @ice_aqc_opc_free_res
	.comm	_ice_aqc_opc_alloc_res,4,2      ; @ice_aqc_opc_alloc_res
	.no_dead_strip	_ice_aq_alloc_free_vsi_list
.subsections_via_symbols
