	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_vsi_kill_vlan              ## -- Begin function ice_vsi_kill_vlan
	.p2align	4, 0x90
_ice_vsi_kill_vlan:                     ## @ice_vsi_kill_vlan
	.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	%esi, %r14d
	movq	%rdi, %r15
	movq	8(%rdi), %r13
	movq	_tmp_add_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LIST_HEAD
	movq	(%r13), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$28, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	_ICE_SW_LKUP_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	4(%r15), %eax
	movl	%eax, 20(%rbx)
	movq	_ICE_FWD_TO_VSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	%r14d, 12(%rbx)
	movq	_ICE_FLTR_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_ICE_SRC_ID_VSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	movq	_tmp_add_list@GOTPCREL(%rip), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_list_add
	leaq	8(%r13), %rdi
	movq	%r12, %rsi
	callq	_ice_remove_vlan
	movq	_ICE_ERR_DOES_NOT_EXIST@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.2:
	movq	(%r13), %rdi
	movl	(%r15), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movl	%eax, %r8d
	callq	_dev_dbg
	jmp	LBB0_6
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_4:
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	(%r13), %rdi
	movl	(%r15), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movl	%eax, %r8d
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	(%r13), %rdi
	movq	_tmp_add_list@GOTPCREL(%rip), %rsi
	callq	_ice_free_fltr_list
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tmp_add_list,4,2               ## @tmp_add_list
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ICE_SW_LKUP_VLAN,4,2           ## @ICE_SW_LKUP_VLAN
	.comm	_ICE_FWD_TO_VSI,4,2             ## @ICE_FWD_TO_VSI
	.comm	_ICE_FLTR_TX,4,2                ## @ICE_FLTR_TX
	.comm	_ICE_SRC_ID_VSI,4,2             ## @ICE_SRC_ID_VSI
	.comm	_ICE_ERR_DOES_NOT_EXIST,4,2     ## @ICE_ERR_DOES_NOT_EXIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to remove VLAN %d on VSI %i, it does not exist, status: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Error removing VLAN %d on vsi %i error: %d\n"

	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_vsi_kill_vlan              ; -- Begin function ice_vsi_kill_vlan
	.p2align	2
_ice_vsi_kill_vlan:                     ; @ice_vsi_kill_vlan
	.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, x1
	mov	x20, x0
	ldr	x23, [x0, #8]
Lloh0:
	adrp	x8, _tmp_add_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tmp_add_list@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LIST_HEAD
	ldr	x0, [x23]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #28
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh6:
	adrp	x8, _ICE_SW_LKUP_VLAN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICE_SW_LKUP_VLAN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
Lloh9:
	adrp	x10, _ICE_FWD_TO_VSI@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ICE_FWD_TO_VSI@GOTPAGEOFF]
	stp	w9, w8, [x0, #20]
Lloh11:
	ldr	w8, [x10]
	stp	w19, w8, [x0, #12]
Lloh12:
	adrp	x8, _ICE_FLTR_TX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ICE_FLTR_TX@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _ICE_SRC_ID_VSI@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ICE_SRC_ID_VSI@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #4]
	bl	_INIT_LIST_HEAD
Lloh18:
	adrp	x22, _tmp_add_list@GOTPAGE
Lloh19:
	ldr	x22, [x22, _tmp_add_list@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x22
	bl	_list_add
	add	x0, x23, #8
	mov	x1, x22
	bl	_ice_remove_vlan
	mov	x4, x0
Lloh20:
	adrp	x8, _ICE_ERR_DOES_NOT_EXIST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ICE_ERR_DOES_NOT_EXIST@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	ldr	x0, [x23]
	ldr	w3, [x20]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
	b	LBB0_6
LBB0_3:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_8
LBB0_4:
	cbz	w4, LBB0_6
; %bb.5:
	ldr	x0, [x23]
	ldr	w3, [x20]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_dev_err
Lloh30:
	adrp	x8, _EIO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_7
LBB0_6:
	mov	w19, #0
LBB0_7:
	ldr	x0, [x23]
Lloh33:
	adrp	x1, _tmp_add_list@GOTPAGE
Lloh34:
	ldr	x1, [x1, _tmp_add_list@GOTPAGEOFF]
	bl	_ice_free_fltr_list
LBB0_8:
	mov	x0, x19
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_tmp_add_list,4,2               ; @tmp_add_list
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ICE_SW_LKUP_VLAN,4,2           ; @ICE_SW_LKUP_VLAN
	.comm	_ICE_FWD_TO_VSI,4,2             ; @ICE_FWD_TO_VSI
	.comm	_ICE_FLTR_TX,4,2                ; @ICE_FLTR_TX
	.comm	_ICE_SRC_ID_VSI,4,2             ; @ICE_SRC_ID_VSI
	.comm	_ICE_ERR_DOES_NOT_EXIST,4,2     ; @ICE_ERR_DOES_NOT_EXIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to remove VLAN %d on VSI %i, it does not exist, status: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Error removing VLAN %d on vsi %i error: %d\n"

	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
