	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_ndo_fdb_add
_i40e_ndo_fdb_add:                      ## @i40e_ndo_fdb_add
	.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	%r9d, %r14d
	movl	%r8d, %ebx
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_I40E_FLAG_SRIOV_ENABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.3:
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.4:
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%r12), %eax
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movq	_NUD_PERMANENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
LBB0_9:
	movq	%r15, %rdi
	callq	_is_unicast_ether_addr
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_is_link_local_ether_addr
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_dev_uc_add_excl
LBB0_15:
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	jne	LBB0_17
## %bb.16:
	movq	_NLM_F_EXCL@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r14d
	cmovel	%r14d, %eax
	jmp	LBB0_17
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_netdev_info
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_12:
	movq	%r15, %rdi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_dev_mc_add_excl
	jmp	LBB0_15
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_FLAG_SRIOV_ENABLED,4,2    ## @I40E_FLAG_SRIOV_ENABLED
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: vlans aren't supported yet for dev_uc|mc_add()\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NUD_PERMANENT,4,2              ## @NUD_PERMANENT
L_.str.1:                               ## @.str.1
	.asciz	"FDB only supports static addresses\n"

	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_NLM_F_EXCL,4,2                 ## @NLM_F_EXCL
	.no_dead_strip	_i40e_ndo_fdb_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_ndo_fdb_add
_i40e_ndo_fdb_add:                      ; @i40e_ndo_fdb_add
	.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, x5
	mov	x23, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x0
	mov	x0, x2
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _I40E_FLAG_SRIOV_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40E_FLAG_SRIOV_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	cbz	w23, LBB0_7
; %bb.2:
	ldr	w1, [x20]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
LBB0_3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
LBB0_7:
	ldr	w8, [x22]
	cbz	w8, LBB0_9
; %bb.8:
Lloh9:
	adrp	x9, _NUD_PERMANENT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NUD_PERMANENT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
LBB0_9:
	mov	x0, x21
	bl	_is_unicast_ether_addr
	cbnz	x0, LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_is_link_local_ether_addr
	cbz	x0, LBB0_15
LBB0_11:
	mov	x0, x20
	mov	x1, x21
	bl	_dev_uc_add_excl
LBB0_12:
Lloh12:
	adrp	x8, _EEXIST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_6
; %bb.13:
Lloh15:
	adrp	x8, _NLM_F_EXCL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NLM_F_EXCL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w19
	csel	w0, wzr, w0, eq
	b	LBB0_6
LBB0_14:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netdev_info
	b	LBB0_3
LBB0_15:
	mov	x0, x21
	bl	_is_multicast_ether_addr
	cbz	x0, LBB0_17
; %bb.16:
	mov	x0, x20
	mov	x1, x21
	bl	_dev_mc_add_excl
	b	LBB0_12
LBB0_17:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_FLAG_SRIOV_ENABLED,4,2    ; @I40E_FLAG_SRIOV_ENABLED
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: vlans aren't supported yet for dev_uc|mc_add()\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NUD_PERMANENT,4,2              ; @NUD_PERMANENT
l_.str.1:                               ; @.str.1
	.asciz	"FDB only supports static addresses\n"

	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_NLM_F_EXCL,4,2                 ; @NLM_F_EXCL
	.no_dead_strip	_i40e_ndo_fdb_add
.subsections_via_symbols
