	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vc_remove_vlan_msg
_i40e_vc_remove_vlan_msg:               ## @i40e_vc_remove_vlan_msg
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rdi), %r15
	movq	_I40E_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %r12
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_i40e_vc_isvalid_vsi_id
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:
	movq	8(%rbx), %rcx
	movq	_I40E_MAX_VLANID@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, (%rcx,%rsi,8)
	jg	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_5
## %bb.7:
	movq	8(%r15), %rcx
	movq	(%r14), %rdx
	movq	(%rcx,%rdx,8), %r13
	cmpq	$0, 8(%r13)
	je	LBB0_11
## %bb.8:
	cmpl	$1, %eax
	jle	LBB0_9
	jmp	LBB0_10
LBB0_6:
	movq	8(%r15), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_17
LBB0_9:
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
LBB0_10:
	movq	_I40E_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_18:
	movq	_VIRTCHNL_OP_DEL_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_vc_send_resp_to_vf        ## TAILCALL
LBB0_11:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r15
	movslq	(%rbx), %rax
	cmpq	%rax, %r15
	jge	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %rsi
	movq	%r13, %rdi
	callq	_i40e_vsi_kill_vlan
	decl	12(%r14)
	movq	_I40E_VF_STATE_UC_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %esi
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_i40e_aq_set_vsi_uc_promisc_on_vlan
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_I40E_VF_STATE_MC_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %esi
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_i40e_aq_set_vsi_mc_promisc_on_vlan
	jmp	LBB0_16
LBB0_17:
	xorl	%edx, %edx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ## @I40E_VF_STATE_ACTIVE
	.comm	_I40E_ERR_PARAM,4,2             ## @I40E_ERR_PARAM
	.comm	_I40E_MAX_VLANID,8,3            ## @I40E_MAX_VLANID
	.comm	_I40E_VF_STATE_UC_PROMISC,4,2   ## @I40E_VF_STATE_UC_PROMISC
	.comm	_I40E_VF_STATE_MC_PROMISC,4,2   ## @I40E_VF_STATE_MC_PROMISC
	.comm	_VIRTCHNL_OP_DEL_VLAN,4,2       ## @VIRTCHNL_OP_DEL_VLAN
	.no_dead_strip	_i40e_vc_remove_vlan_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vc_remove_vlan_msg
_i40e_vc_remove_vlan_msg:               ; @i40e_vc_remove_vlan_msg
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #16]
Lloh0:
	adrp	x8, _I40E_VF_STATE_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x22, x19, #8
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_10
; %bb.1:
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_i40e_vc_isvalid_vsi_id
	cbz	w0, LBB0_10
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	ldr	x9, [x20, #8]
Lloh3:
	adrp	x10, _I40E_MAX_VLANID@GOTPAGE
Lloh4:
	ldr	x10, [x10, _I40E_MAX_VLANID@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	mov	x11, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9]
	cmp	x12, x10
	b.gt	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #8
	subs	x11, x11, #1
	b.ne	LBB0_4
; %bb.6:
	ldr	x9, [x21, #8]
	ldr	x10, [x19]
	ldr	x23, [x9, x10, lsl #3]
	ldr	x9, [x23, #8]
	cbz	x9, LBB0_12
; %bb.7:
	cmp	w8, #1
	b.le	LBB0_9
	b	LBB0_10
LBB0_8:
	ldr	x8, [x21, #8]
	ldr	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_18
LBB0_9:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_18
LBB0_10:
Lloh6:
	adrp	x8, _I40E_ERR_PARAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_ERR_PARAM@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
LBB0_11:
Lloh9:
	adrp	x8, _VIRTCHNL_OP_DEL_VLAN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VIRTCHNL_OP_DEL_VLAN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_i40e_vc_send_resp_to_vf
LBB0_12:
	mov	x24, #0
Lloh12:
	adrp	x25, _I40E_VF_STATE_UC_PROMISC@GOTPAGE
Lloh13:
	ldr	x25, [x25, _I40E_VF_STATE_UC_PROMISC@GOTPAGEOFF]
Lloh14:
	adrp	x26, _I40E_VF_STATE_MC_PROMISC@GOTPAGE
Lloh15:
	ldr	x26, [x26, _I40E_VF_STATE_MC_PROMISC@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x20]
	cmp	x24, x8
	b.ge	LBB0_18
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x1, [x8, x24, lsl #3]
	mov	x0, x23
	bl	_i40e_vsi_kill_vlan
	ldr	w8, [x19, #12]
	sub	w8, w8, #1
	str	w8, [x19, #12]
	ldr	w0, [x25]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w1, [x23]
	ldr	x8, [x20, #8]
	ldr	x3, [x8, x24, lsl #3]
	mov	x0, x21
	mov	w2, #0
	mov	x4, #0
	bl	_i40e_aq_set_vsi_uc_promisc_on_vlan
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x26]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w1, [x23]
	ldr	x8, [x20, #8]
	ldr	x3, [x8, x24, lsl #3]
	mov	x0, x21
	mov	w2, #0
	mov	x4, #0
	bl	_i40e_aq_set_vsi_mc_promisc_on_vlan
	b	LBB0_13
LBB0_18:
	mov	w2, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ; @I40E_VF_STATE_ACTIVE
	.comm	_I40E_ERR_PARAM,4,2             ; @I40E_ERR_PARAM
	.comm	_I40E_MAX_VLANID,8,3            ; @I40E_MAX_VLANID
	.comm	_I40E_VF_STATE_UC_PROMISC,4,2   ; @I40E_VF_STATE_UC_PROMISC
	.comm	_I40E_VF_STATE_MC_PROMISC,4,2   ; @I40E_VF_STATE_MC_PROMISC
	.comm	_VIRTCHNL_OP_DEL_VLAN,4,2       ; @VIRTCHNL_OP_DEL_VLAN
	.no_dead_strip	_i40e_vc_remove_vlan_msg
.subsections_via_symbols
