	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_set_vf_mac_addr
_igb_set_vf_mac_addr:                   ## @igb_set_vf_mac_addr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movq	_E1000_VT_MSGINFO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	4(%rsi), %r15
	andl	(%rsi), %edx
	je	LBB0_1
## %bb.8:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r15, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_igb_set_vf_mac_filter          ## TAILCALL
LBB0_1:
	movq	(%rbx), %rax
	movq	8(%rbx), %r12
	movslq	%r14d, %rcx
	movq	_IGB_VF_FLAG_PF_SET_MAC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,8)
	je	LBB0_5
## %bb.2:
	cmpl	$0, 4(%rax,%rcx,8)
	je	LBB0_3
LBB0_5:
	movq	%r15, %rdi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_igb_set_vf_mac                 ## TAILCALL
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rsi
LBB0_4:
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_dev_warn
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_VT_MSGINFO_MASK,4,2      ## @E1000_VT_MSGINFO_MASK
	.comm	_IGB_VF_FLAG_PF_SET_MAC,4,2     ## @IGB_VF_FLAG_PF_SET_MAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VF %d attempted to override administratively set MAC address\nReload the VF driver to resume operations\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"VF %d attempted to set invalid MAC\n"

	.no_dead_strip	_igb_set_vf_mac_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_set_vf_mac_addr
_igb_set_vf_mac_addr:                   ; @igb_set_vf_mac_addr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x20], #4
Lloh0:
	adrp	x9, _E1000_VT_MSGINFO_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _E1000_VT_MSGINFO_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ands	w2, w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	mov	x3, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_igb_set_vf_mac_filter
LBB0_2:
	ldp	x8, x22, [x21]
	sxtw	x9, w19
	lsl	x10, x9, #3
	ldr	w10, [x8, x10]
Lloh3:
	adrp	x11, _IGB_VF_FLAG_PF_SET_MAC@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IGB_VF_FLAG_PF_SET_MAC@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_4
; %bb.3:
	add	x8, x8, x9, lsl #3
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_is_valid_ether_addr
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_igb_set_vf_mac
LBB0_6:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_8:
	mov	x0, x22
	mov	x2, x19
	bl	_dev_warn
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_VT_MSGINFO_MASK,4,2      ; @E1000_VT_MSGINFO_MASK
	.comm	_IGB_VF_FLAG_PF_SET_MAC,4,2     ; @IGB_VF_FLAG_PF_SET_MAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VF %d attempted to override administratively set MAC address\nReload the VF driver to resume operations\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"VF %d attempted to set invalid MAC\n"

	.no_dead_strip	_igb_set_vf_mac_addr
.subsections_via_symbols
