	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_aqc_add_filters
_i40e_aqc_add_filters:                  ## @i40e_aqc_add_filters
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	8(%rdi), %r15
	leaq	8(%r15), %r14
	movl	20(%rdi), %esi
	movq	%r14, %rdi
	movl	%r8d, %ecx
	xorl	%r8d, %r8d
	callq	_i40e_aq_add_macvlan
	movl	8(%r15), %r15d
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_i40e_update_filter_state
	cmpl	%ebx, %eax
	jne	LBB0_1
## %bb.8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, %r12
	movq	(%r13), %rbx
	movq	_I40E_VSI_MAIN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_9
## %bb.2:
	movq	_I40E_VSI_SRIOV@GOTPCREL(%rip), %rax
	movl	%r15d, %esi
	movq	(%rax), %r15
	movq	_I40E_VSI_VMDQ1@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_I40E_VSI_VMDQ2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_i40e_aq_str
	cmpq	%r15, %rbx
	je	LBB0_5
## %bb.3:
	cmpq	%r14, %rbx
	je	LBB0_5
## %bb.4:
	cmpq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_5
## %bb.7:
	movq	(%r13), %r8
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_9:
	movq	___I40E_VSI_OVERFLOW_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r13), %esi
	callq	_set_bit
	movq	8(%r13), %rax
	movq	(%rax), %rbx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_i40e_aq_str
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %r8
LBB0_6:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VSI_MAIN,8,3              ## @I40E_VSI_MAIN
	.comm	___I40E_VSI_OVERFLOW_PROMISC,4,2 ## @__I40E_VSI_OVERFLOW_PROMISC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error %s adding RX filters on %s, promiscuous mode forced on\n"

	.comm	_I40E_VSI_SRIOV,8,3             ## @I40E_VSI_SRIOV
	.comm	_I40E_VSI_VMDQ1,8,3             ## @I40E_VSI_VMDQ1
	.comm	_I40E_VSI_VMDQ2,8,3             ## @I40E_VSI_VMDQ2
L_.str.1:                               ## @.str.1
	.asciz	"Error %s adding RX filters on %s, please set promiscuous on manually for %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Error %s adding RX filters on %s, incorrect VSI type: %i.\n"

	.no_dead_strip	_i40e_aqc_add_filters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_aqc_add_filters
_i40e_aqc_add_filters:                  ; @i40e_aqc_add_filters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x22, [x0, #8]
	add	x21, x22, #8
	ldr	w1, [x0, #20]
	mov	x0, x21
	mov	x3, x4
	mov	x4, #0
	bl	_i40e_aq_add_macvlan
	ldr	w22, [x22, #8]
	mov	x0, x23
	mov	x1, x25
	mov	x2, x24
	bl	_i40e_update_filter_state
	cmp	w0, w23
	b.eq	LBB0_7
; %bb.1:
	ldr	x24, [x20]
Lloh0:
	adrp	x8, _I40E_VSI_MAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VSI_MAIN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x24, x8
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _I40E_VSI_SRIOV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_VSI_SRIOV@GOTPAGEOFF]
Lloh5:
	ldr	x25, [x8]
Lloh6:
	adrp	x8, _I40E_VSI_VMDQ1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_VSI_VMDQ1@GOTPAGEOFF]
Lloh8:
	ldr	x26, [x8]
Lloh9:
	adrp	x8, _I40E_VSI_VMDQ2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I40E_VSI_VMDQ2@GOTPAGEOFF]
Lloh11:
	ldr	x27, [x8]
	ldr	x8, [x20, #8]
	ldr	x23, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_i40e_aq_str
	mov	x2, x0
	cmp	x24, x25
	ccmp	x24, x26, #4, ne
	ccmp	x24, x27, #4, ne
	b.ne	LBB0_5
; %bb.3:
	str	x19, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh14:
	adrp	x8, ___I40E_VSI_OVERFLOW_PROMISC@GOTPAGE
Lloh15:
	ldr	x8, [x8, ___I40E_VSI_OVERFLOW_PROMISC@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w1, [x20, #16]
	bl	_set_bit
	ldr	x8, [x20, #8]
	ldr	x20, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_i40e_aq_str
	mov	x2, x0
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_dev_warn
LBB0_5:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x23
	mov	x3, x19
	bl	_dev_warn
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VSI_MAIN,8,3              ; @I40E_VSI_MAIN
	.comm	___I40E_VSI_OVERFLOW_PROMISC,4,2 ; @__I40E_VSI_OVERFLOW_PROMISC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error %s adding RX filters on %s, promiscuous mode forced on\n"

	.comm	_I40E_VSI_SRIOV,8,3             ; @I40E_VSI_SRIOV
	.comm	_I40E_VSI_VMDQ1,8,3             ; @I40E_VSI_VMDQ1
	.comm	_I40E_VSI_VMDQ2,8,3             ; @I40E_VSI_VMDQ2
l_.str.1:                               ; @.str.1
	.asciz	"Error %s adding RX filters on %s, please set promiscuous on manually for %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Error %s adding RX filters on %s, incorrect VSI type: %i.\n"

	.no_dead_strip	_i40e_aqc_add_filters
.subsections_via_symbols
