	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vc_add_mac_addr_msg
_i40e_vc_add_mac_addr_msg:              ## @i40e_vc_add_mac_addr_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, %r13
	movq	%rdi, %r14
	movq	24(%rdi), %rbx
	movq	_I40E_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	20(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	16(%r13), %esi
	movq	%r14, %rdi
	callq	_i40e_vc_isvalid_vsi_id
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	8(%rbx), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_i40e_check_vf_permission
	testq	%rax, %rax
	je	LBB0_4
## %bb.12:
	movq	%rax, %r12
LBB0_13:
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_16
LBB0_2:
	movq	_I40E_ERR_PARAM@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_16:
	movq	_VIRTCHNL_OP_ADD_ETH_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_vc_send_resp_to_vf        ## TAILCALL
LBB0_4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r13)
	jle	LBB0_10
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_i40e_find_mac
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_i40e_add_mac_filter
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	16(%r14)
	jmp	LBB0_9
LBB0_10:
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	%r15, %rdi
	callq	_i40e_sync_vsi_filters
	testq	%rax, %rax
	je	LBB0_11
## %bb.15:
	movq	%rax, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	8(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rcx
	callq	_dev_err
	jmp	LBB0_16
LBB0_11:
	xorl	%r12d, %r12d
	jmp	LBB0_16
LBB0_14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	8(%r14), %rcx
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_I40E_ERR_PARAM@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ## @I40E_VF_STATE_ACTIVE
	.comm	_I40E_ERR_PARAM,8,3             ## @I40E_ERR_PARAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to add MAC filter %pM for VF %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to program VF %d MAC filters, error %d\n"

	.comm	_VIRTCHNL_OP_ADD_ETH_ADDR,4,2   ## @VIRTCHNL_OP_ADD_ETH_ADDR
	.no_dead_strip	_i40e_vc_add_mac_addr_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_add_mac_addr_msg
_i40e_vc_add_mac_addr_msg:              ; @i40e_vc_add_mac_addr_msg
	.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	x20, x1
	mov	x19, x0
	ldr	x23, [x0, #24]
Lloh0:
	adrp	x8, _I40E_VF_STATE_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #20
	bl	_test_bit
	cbz	w0, LBB0_5
; %bb.1:
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_i40e_vc_isvalid_vsi_id
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x23, #8]
	ldr	x9, [x19]
	ldr	x21, [x8, x9, lsl #3]
	mov	x0, x21
	bl	_spin_lock_bh
	mov	x0, x19
	mov	x1, x20
	bl	_i40e_check_vf_permission
	cbz	x0, LBB0_7
; %bb.3:
	mov	x22, x0
LBB0_4:
	mov	x0, x21
	bl	_spin_unlock_bh
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _I40E_ERR_PARAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_ERR_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
LBB0_6:
Lloh6:
	adrp	x8, _VIRTCHNL_OP_ADD_ETH_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VIRTCHNL_OP_ADD_ETH_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	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
	b	_i40e_vc_send_resp_to_vf
LBB0_7:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.8:
	mov	x22, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.ge	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x1, [x8, x22, lsl #3]
	mov	x0, x21
	bl	_i40e_find_mac
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20, #8]
	ldr	x1, [x8, x22, lsl #3]
	mov	x0, x21
	bl	_i40e_add_mac_filter
	cbz	x0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	b	LBB0_9
LBB0_13:
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	x0, x21
	bl	_i40e_sync_vsi_filters
	mov	x22, x0
	cbz	x0, LBB0_6
; %bb.14:
	ldr	x0, [x23]
	ldr	x2, [x19, #8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x22
	bl	_dev_err
	b	LBB0_6
LBB0_15:
	ldr	x0, [x23]
	ldr	x8, [x20, #8]
	ldr	x2, [x8, x22, lsl #3]
	ldr	x3, [x19, #8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh13:
	adrp	x8, _I40E_ERR_PARAM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _I40E_ERR_PARAM@GOTPAGEOFF]
Lloh15:
	ldr	x22, [x8]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ; @I40E_VF_STATE_ACTIVE
	.comm	_I40E_ERR_PARAM,8,3             ; @I40E_ERR_PARAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to add MAC filter %pM for VF %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to program VF %d MAC filters, error %d\n"

	.comm	_VIRTCHNL_OP_ADD_ETH_ADDR,4,2   ; @VIRTCHNL_OP_ADD_ETH_ADDR
	.no_dead_strip	_i40e_vc_add_mac_addr_msg
.subsections_via_symbols
