	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_set_vf_vlan
_igb_set_vf_vlan:                       ## @igb_set_vf_vlan
	.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	%edx, %r15d
	movq	%rdi, %r14
	movq	_E1000_VT_MSGINFO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%rsi), %ebx
	movq	_E1000_VT_MSGINFO_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movq	_E1000_VLVF_VLANID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	4(%rsi), %r12d
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	movq	8(%r14), %rax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	movl	(%r14), %ecx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_igb_vlvf_set
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_5
LBB0_3:
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_igb_vlvf_set                   ## TAILCALL
LBB0_4:
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_igb_vlvf_set
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.6:
	movq	8(%r14), %rax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_11
## %bb.7:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_igb_find_vlvf_entry
	testl	%eax, %eax
	js	LBB0_11
## %bb.8:
	movl	%eax, %edi
	callq	_E1000_VLVF
	movl	%eax, %edi
	callq	_rd32
	movq	_VLAN_VID_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	cmpl	%r12d, %ecx
	jne	LBB0_11
## %bb.9:
	movl	(%r14), %ebx
	movq	_E1000_VLVF_POOLSEL_SHIFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ebx, %ecx
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	andl	%eax, %edx
	orl	4(%r14), %edx
	movl	$0, %r13d
	jne	LBB0_5
## %bb.10:
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_igb_vlvf_set
	jmp	LBB0_5
LBB0_11:
	xorl	%r13d, %r13d
LBB0_5:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_VT_MSGINFO_MASK,4,2      ## @E1000_VT_MSGINFO_MASK
	.comm	_E1000_VT_MSGINFO_SHIFT,4,2     ## @E1000_VT_MSGINFO_SHIFT
	.comm	_E1000_VLVF_VLANID_MASK,4,2     ## @E1000_VLVF_VLANID_MASK
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_E1000_VLVF_POOLSEL_SHIFT,4,2   ## @E1000_VLVF_POOLSEL_SHIFT
	.comm	_VLAN_VID_MASK,4,2              ## @VLAN_VID_MASK
	.no_dead_strip	_igb_set_vf_vlan
.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_vlan
_igb_set_vf_vlan:                       ; @igb_set_vf_vlan
	.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	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _E1000_VT_MSGINFO_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_VT_MSGINFO_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x1]
	and	w8, w8, w9
Lloh3:
	adrp	x9, _E1000_VT_MSGINFO_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _E1000_VT_MSGINFO_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w22, w8, w9
Lloh6:
	adrp	x8, _E1000_VLVF_VLANID_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E1000_VLVF_VLANID_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w20, w8, w10
	cbz	w22, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w3, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_igb_vlvf_set
	cbnz	w0, LBB0_11
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	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_vlvf_set
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	x3, x21
	bl	_igb_vlvf_set
	cbnz	w0, LBB0_11
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_igb_find_vlvf_entry
	tbnz	w0, #31, LBB0_10
; %bb.7:
	bl	_E1000_VLVF
	bl	_rd32
Lloh15:
	adrp	x8, _VLAN_VID_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VLAN_VID_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	and	w8, w8, w0
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.8:
Lloh18:
	adrp	x8, _E1000_VLVF_POOLSEL_SHIFT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _E1000_VLVF_POOLSEL_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldp	w3, w9, [x19]
	add	w8, w8, w3
	mov	w10, #1
	lsl	w8, w10, w8
	and	w8, w8, w0
	orr	w8, w9, w8
	cbnz	w8, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_igb_vlvf_set
LBB0_10:
	mov	w0, #0
LBB0_11:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_VT_MSGINFO_MASK,4,2      ; @E1000_VT_MSGINFO_MASK
	.comm	_E1000_VT_MSGINFO_SHIFT,4,2     ; @E1000_VT_MSGINFO_SHIFT
	.comm	_E1000_VLVF_VLANID_MASK,4,2     ; @E1000_VLVF_VLANID_MASK
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_E1000_VLVF_POOLSEL_SHIFT,4,2   ; @E1000_VLVF_POOLSEL_SHIFT
	.comm	_VLAN_VID_MASK,4,2              ; @VLAN_VID_MASK
	.no_dead_strip	_igb_set_vf_vlan
.subsections_via_symbols
