	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_set_vf_mac                 ## -- Begin function ice_set_vf_mac
	.p2align	4, 0x90
_ice_set_vf_mac:                        ## @ice_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, %ebx
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_1
## %bb.4:
	movq	8(%rax), %r13
	movslq	%ebx, %rax
	leaq	(%rax,%rax,2), %r12
	movq	_ICE_VF_STATE_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r13,%r12,4), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	callq	_is_zero_ether_addr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
LBB0_2:
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_netdev_err
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	(,%r12,4), %rax
	addq	%r13, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%r13,%r12,4), %edi
	movq	%r14, %rsi
	callq	_ether_addr_copy
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	$1, (%r12)
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_netdev_info
	movq	%r12, %rdi
	callq	_ice_vc_dis_vf
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid VF id: %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ICE_VF_STATE_INIT,4,2          ## @ICE_VF_STATE_INIT
L_.str.1:                               ## @.str.1
	.asciz	"VF %d in reset. Try again.\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.2:                               ## @.str.2
	.asciz	"%pM not a valid unicast address\n"

L_.str.3:                               ## @.str.3
	.asciz	"MAC on VF %d set to %pM. VF driver will be reinitialized\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_set_vf_mac                 ; -- Begin function ice_set_vf_mac
	.p2align	2
_ice_set_vf_mac:                        ; @ice_set_vf_mac
	.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, x2
	mov	x19, x1
	mov	x21, x0
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, w19
	b.le	LBB0_5
; %bb.1:
	ldr	x23, [x8, #8]
	mov	w8, #12
	smaddl	x22, w19, w8, x23
Lloh0:
	adrp	x8, _ICE_VF_STATE_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_VF_STATE_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	_test_bit
	cbz	w0, LBB0_7
; %bb.2:
	mov	x0, x20
	bl	_is_zero_ether_addr
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_is_multicast_ether_addr
	cbz	x0, LBB0_10
LBB0_4:
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x19
LBB0_6:
	bl	_netdev_err
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_netdev_err
Lloh11:
	adrp	x8, _EBUSY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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_10:
	sxtw	x8, w19
	mov	w9, #12
	madd	x8, x8, x9, x23
	ldr	w0, [x8, #4]
	mov	x1, x20
	bl	_ether_addr_copy
	mov	w8, #1
	str	w8, [x22]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	mov	x3, x20
	bl	_netdev_info
	mov	x0, x22
	bl	_ice_vc_dis_vf
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid VF id: %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ICE_VF_STATE_INIT,4,2          ; @ICE_VF_STATE_INIT
l_.str.1:                               ; @.str.1
	.asciz	"VF %d in reset. Try again.\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.2:                               ; @.str.2
	.asciz	"%pM not a valid unicast address\n"

l_.str.3:                               ; @.str.3
	.asciz	"MAC on VF %d set to %pM. VF driver will be reinitialized\n"

.subsections_via_symbols
