	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_vf_update_vlan_shadow
_qed_iov_vf_update_vlan_shadow:         ## @qed_iov_vf_update_vlan_shadow
	.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	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdx), %rax
	movq	_QED_FILTER_REMOVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	_QED_ETH_VF_NUM_VLAN_FILTERS@GOTPCREL(%rip), %r8
	movl	(%r8), %eax
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	8(%r15), %rdi
	leaq	1(%rax), %rcx
	xorl	%esi, %esi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rsi
	addq	$16, %rdi
	cmpq	%rsi, %rcx
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rdi)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rdi), %rdx
	cmpq	8(%r13), %rdx
	jne	LBB0_7
## %bb.6:
	movl	$0, (%rdi)
	movl	(%r8), %eax
	movl	%esi, %ecx
	jmp	LBB0_8
LBB0_10:
	movq	_QED_FILTER_REPLACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%cl
	movq	_QED_FILTER_FLUSH@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	setne	%al
	testb	%al, %cl
	jne	LBB0_14
## %bb.11:
	movq	_QED_ETH_VF_NUM_VLAN_FILTERS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	js	LBB0_14
## %bb.12:
	movq	8(%r15), %rcx
	movq	$-1, %rdx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rcx)
	movslq	(%rax), %rsi
	incq	%rdx
	addq	$16, %rcx
	cmpq	%rsi, %rdx
	jl	LBB0_13
	jmp	LBB0_14
LBB0_2:
	xorl	%ecx, %ecx
LBB0_8:
	incl	%eax
	cmpl	%eax, %ecx
	jne	LBB0_14
## %bb.9:
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	jmp	LBB0_25
LBB0_14:
	movq	16(%r15), %rax
	movl	(%rax), %ebx
	movq	_VLAN_ADDR_FORCED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	xorl	%r12d, %r12d
	testl	%ebx, %eax
	jne	LBB0_26
## %bb.15:
	movq	(%r13), %rax
	movq	_QED_FILTER_ADD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.16:
	movq	_QED_FILTER_REPLACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
LBB0_17:
	movq	_QED_ETH_VF_NUM_VLAN_FILTERS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	xorl	%r12d, %r12d
	testl	%eax, %eax
	js	LBB0_18
## %bb.19:
	movq	8(%r15), %rsi
	leaq	1(%rax), %r8
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rsi)
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	incq	%rdx
	addq	$16, %rsi
	cmpq	%rdx, %r8
	jne	LBB0_20
	jmp	LBB0_23
LBB0_18:
	xorl	%r8d, %r8d
	jmp	LBB0_23
LBB0_21:
	movl	$1, (%rsi)
	movq	8(%r13), %rax
	movq	%rax, 8(%rsi)
	movl	(%rcx), %eax
	movl	%edx, %r8d
LBB0_23:
	incl	%eax
	cmpl	%eax, %r8d
	jne	LBB0_26
## %bb.24:
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	leaq	L_.str.1(%rip), %rdx
	xorl	%r12d, %r12d
	movq	%r14, %rdi
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_DP_VERBOSE
LBB0_25:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
LBB0_26:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_FILTER_REMOVE,8,3          ## @QED_FILTER_REMOVE
	.comm	_QED_ETH_VF_NUM_VLAN_FILTERS,4,2 ## @QED_ETH_VF_NUM_VLAN_FILTERS
	.comm	_QED_MSG_IOV,4,2                ## @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VF [%d] - Tries to remove a non-existing vlan\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QED_FILTER_REPLACE,8,3         ## @QED_FILTER_REPLACE
	.comm	_QED_FILTER_FLUSH,8,3           ## @QED_FILTER_FLUSH
	.comm	_VLAN_ADDR_FORCED,4,2           ## @VLAN_ADDR_FORCED
	.comm	_QED_FILTER_ADD,8,3             ## @QED_FILTER_ADD
L_.str.1:                               ## @.str.1
	.asciz	"VF [%d] - Tries to configure more than %d vlan filters\n"

	.no_dead_strip	_qed_iov_vf_update_vlan_shadow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iov_vf_update_vlan_shadow
_qed_iov_vf_update_vlan_shadow:         ; @qed_iov_vf_update_vlan_shadow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _QED_FILTER_REMOVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QED_FILTER_REMOVE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
Lloh3:
	adrp	x9, _QED_ETH_VF_NUM_VLAN_FILTERS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QED_ETH_VF_NUM_VLAN_FILTERS@GOTPAGEOFF]
	ldr	w8, [x9]
	tbnz	w8, #31, LBB0_11
; %bb.2:
	mov	x11, #0
	ldr	x12, [x20, #8]
	add	x10, x8, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x11, #1
	add	x12, x12, #16
	cmp	x10, x11
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x12]
	cbz	w13, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x12, #8]
	ldr	x14, [x21, #8]
	cmp	x13, x14
	b.ne	LBB0_3
; %bb.6:
	str	wzr, [x12]
	ldr	w8, [x9]
	mov	x10, x11
	b	LBB0_12
LBB0_7:
Lloh5:
	adrp	x9, _QED_FILTER_REPLACE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _QED_FILTER_REPLACE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _QED_FILTER_FLUSH@GOTPAGE
Lloh9:
	ldr	x10, [x10, _QED_FILTER_FLUSH@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_14
; %bb.8:
Lloh11:
	adrp	x8, _QED_ETH_VF_NUM_VLAN_FILTERS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QED_ETH_VF_NUM_VLAN_FILTERS@GOTPAGEOFF]
	ldr	w9, [x8]
	tbnz	w9, #31, LBB0_14
; %bb.9:
	ldr	x9, [x20, #8]
	mov	x10, #-1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x9], #16
	ldrsw	x11, [x8]
	add	x10, x10, #1
	cmp	x10, x11
	b.lt	LBB0_10
	b	LBB0_14
LBB0_11:
	mov	w10, #0
LBB0_12:
	add	w8, w8, #1
	cmp	w10, w8
	b.ne	LBB0_14
; %bb.13:
Lloh13:
	adrp	x8, _QED_MSG_IOV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _QED_MSG_IOV@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w3, [x20]
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_24
LBB0_14:
	ldr	x8, [x20, #16]
	ldr	w22, [x8]
Lloh18:
	adrp	x8, _VLAN_ADDR_FORCED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VLAN_ADDR_FORCED@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_BIT
	tst	w0, w22
	b.ne	LBB0_25
; %bb.15:
	ldr	x8, [x21]
Lloh21:
	adrp	x9, _QED_FILTER_ADD@GOTPAGE
Lloh22:
	ldr	x9, [x9, _QED_FILTER_ADD@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
Lloh24:
	adrp	x10, _QED_FILTER_REPLACE@GOTPAGE
Lloh25:
	ldr	x10, [x10, _QED_FILTER_REPLACE@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_25
; %bb.16:
Lloh27:
	adrp	x10, _QED_ETH_VF_NUM_VLAN_FILTERS@GOTPAGE
Lloh28:
	ldr	x10, [x10, _QED_ETH_VF_NUM_VLAN_FILTERS@GOTPAGEOFF]
	ldr	w8, [x10]
	tbnz	w8, #31, LBB0_20
; %bb.17:
	mov	x11, #0
	ldr	x12, [x20, #8]
	add	x9, x8, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x12]
	cbz	w13, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x11, x11, #1
	add	x12, x12, #16
	cmp	x9, x11
	b.ne	LBB0_18
	b	LBB0_22
LBB0_20:
	mov	w9, #0
	b	LBB0_22
LBB0_21:
	mov	w8, #1
	str	w8, [x12]
	ldr	x8, [x21, #8]
	str	x8, [x12, #8]
	ldr	w8, [x10]
	mov	x9, x11
LBB0_22:
	add	w8, w8, #1
	cmp	w9, w8
	b.ne	LBB0_25
; %bb.23:
Lloh29:
	adrp	x8, _QED_MSG_IOV@GOTPAGE
Lloh30:
	ldr	x8, [x8, _QED_MSG_IOV@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	w3, [x20]
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	str	x9, [sp]
Lloh32:
	adrp	x2, l_.str.1@PAGE
Lloh33:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_24:
	mov	x0, x19
	bl	_DP_VERBOSE
Lloh34:
	adrp	x8, _EINVAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_26
LBB0_25:
	mov	w0, #0
LBB0_26:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_FILTER_REMOVE,8,3          ; @QED_FILTER_REMOVE
	.comm	_QED_ETH_VF_NUM_VLAN_FILTERS,4,2 ; @QED_ETH_VF_NUM_VLAN_FILTERS
	.comm	_QED_MSG_IOV,4,2                ; @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VF [%d] - Tries to remove a non-existing vlan\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QED_FILTER_REPLACE,8,3         ; @QED_FILTER_REPLACE
	.comm	_QED_FILTER_FLUSH,8,3           ; @QED_FILTER_FLUSH
	.comm	_VLAN_ADDR_FORCED,4,2           ; @VLAN_ADDR_FORCED
	.comm	_QED_FILTER_ADD,8,3             ; @QED_FILTER_ADD
l_.str.1:                               ; @.str.1
	.asciz	"VF [%d] - Tries to configure more than %d vlan filters\n"

	.no_dead_strip	_qed_iov_vf_update_vlan_shadow
.subsections_via_symbols
