	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ndo_set_vf_mac           ## -- Begin function ixgbe_ndo_set_vf_mac
	.p2align	4, 0x90
_ixgbe_ndo_set_vf_mac:                  ## @ixgbe_ndo_set_vf_mac
	.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, %r14
	movl	%esi, %r12d
	callq	_netdev_priv
	cmpl	%r12d, (%rax)
	jle	LBB0_11
## %bb.1:
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	8(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_dev_info
	movq	8(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_ixgbe_set_vf_mac
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movq	16(%r15), %rax
	movslq	%r12d, %rcx
	shlq	$4, %rcx
	movl	$1, (%rax,%rcx)
	movq	___IXGBE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	addq	$24, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	8(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_warn
	movq	8(%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_warn
	jmp	LBB0_12
LBB0_6:
	movq	%r14, %rdi
	callq	_is_zero_ether_addr
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	16(%r15), %rax
	movslq	%r12d, %r13
	shlq	$4, %r13
	movq	8(%rax,%r13), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_is_zero_ether_addr
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_12
## %bb.8:
	movq	8(%r15), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_info
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_ixgbe_del_mac_filter
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:
	movq	16(%r15), %rax
	movl	$0, (%rax,%r13)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_memcpy
	jmp	LBB0_12
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	8(%r15), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_dev_warn
	jmp	LBB0_12
LBB0_10:
	movq	8(%r15), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_dev_warn
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting MAC %pM on VF %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Reload the VF driver to make this change effective."

	.comm	___IXGBE_DOWN,4,2               ## @__IXGBE_DOWN
L_.str.2:                               ## @.str.2
	.asciz	"The VF MAC address has been set, but the PF device is not up.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Bring the PF device up before attempting to use the VF device.\n"

L_.str.4:                               ## @.str.4
	.asciz	"The VF MAC address was NOT set due to invalid or duplicate MAC address.\n"

L_.str.5:                               ## @.str.5
	.asciz	"removing MAC on VF %d\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.6:                               ## @.str.6
	.asciz	"Could NOT remove the VF MAC address.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ndo_set_vf_mac           ; -- Begin function ixgbe_ndo_set_vf_mac
	.p2align	2
_ixgbe_ndo_set_vf_mac:                  ; @ixgbe_ndo_set_vf_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	bl	_netdev_priv
	ldr	w8, [x0]
	cmp	w8, w21
	b.le	LBB0_8
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [x19, #8]
	stp	x20, x21, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ixgbe_set_vf_mac
	mov	x22, x0
	tbnz	w0, #31, LBB0_10
; %bb.3:
	ldr	x8, [x19, #16]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sbfiz	x9, x21, #4, #32
	mov	w10, #1
	str	w10, [x8, x9]
Lloh4:
	adrp	x8, ___IXGBE_DOWN@GOTPAGE
Lloh5:
	ldr	x8, [x8, ___IXGBE_DOWN@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.4:
	ldr	x0, [x19, #8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_warn
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_warn
	b	LBB0_9
LBB0_5:
	mov	x0, x20
	bl	_is_zero_ether_addr
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x19, #16]
	add	x8, x8, w21, sxtw #4
	ldr	x23, [x8, #8]
	mov	x0, x23
	bl	_is_zero_ether_addr
	cbz	x0, LBB0_11
; %bb.7:
	mov	w22, #0
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_9:
	mov	x0, x22
	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
	add	sp, sp, #80
	ret
LBB0_10:
	ldr	x0, [x19, #8]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_warn
	b	LBB0_9
LBB0_11:
	ldr	x0, [x19, #8]
	mov	x8, x21
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_info
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_ixgbe_del_mac_filter
	mov	x22, x0
	tbnz	w0, #31, LBB0_13
; %bb.12:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sxtw	x8, w21
	ldr	x9, [x19, #16]
	lsl	x8, x8, #4
	str	wzr, [x9, x8]
Lloh18:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x20
	bl	_memcpy
	b	LBB0_9
LBB0_13:
	ldr	x0, [x19, #8]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_warn
	b	LBB0_9
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting MAC %pM on VF %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Reload the VF driver to make this change effective."

	.comm	___IXGBE_DOWN,4,2               ; @__IXGBE_DOWN
l_.str.2:                               ; @.str.2
	.asciz	"The VF MAC address has been set, but the PF device is not up.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Bring the PF device up before attempting to use the VF device.\n"

l_.str.4:                               ; @.str.4
	.asciz	"The VF MAC address was NOT set due to invalid or duplicate MAC address.\n"

l_.str.5:                               ; @.str.5
	.asciz	"removing MAC on VF %d\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.6:                               ; @.str.6
	.asciz	"Could NOT remove the VF MAC address.\n"

.subsections_via_symbols
