	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_vmdq_set_anti_spoofing_pf  ## -- Begin function igb_vmdq_set_anti_spoofing_pf
	.p2align	4, 0x90
_igb_vmdq_set_anti_spoofing_pf:         ## @igb_vmdq_set_anti_spoofing_pf
	.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	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_5
## %bb.1:
	movl	%edx, %r12d
	movl	%esi, %r15d
	cltq
	leaq	l_switch.table.igb_vmdq_set_anti_spoofing_pf(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_rd32
	movq	_E1000_DTXSWC_MAC_SPOOF_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_E1000_DTXSWC_VLAN_SPOOF_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.2:
	orl	%eax, %ebx
	orl	%ecx, %ebx
	movl	%r12d, %edi
	callq	_BIT
	movl	%eax, %r15d
	movq	_MAX_NUM_VFS@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_BIT
	orl	%r15d, %eax
	xorl	%ebx, %eax
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	orl	%ebx, %ecx
	notl	%ecx
	andl	%ecx, %eax
LBB0_4:
	movl	%r14d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wr32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_DTXSWC,4,2               ## @E1000_DTXSWC
	.comm	_E1000_TXSWC,4,2                ## @E1000_TXSWC
	.comm	_E1000_DTXSWC_MAC_SPOOF_MASK,4,2 ## @E1000_DTXSWC_MAC_SPOOF_MASK
	.comm	_E1000_DTXSWC_VLAN_SPOOF_MASK,4,2 ## @E1000_DTXSWC_VLAN_SPOOF_MASK
	.comm	_MAX_NUM_VFS,4,2                ## @MAX_NUM_VFS
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.igb_vmdq_set_anti_spoofing_pf
l_switch.table.igb_vmdq_set_anti_spoofing_pf:
	.quad	_E1000_TXSWC
	.quad	_E1000_TXSWC
	.quad	_E1000_DTXSWC

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_vmdq_set_anti_spoofing_pf  ; -- Begin function igb_vmdq_set_anti_spoofing_pf
	.p2align	2
_igb_vmdq_set_anti_spoofing_pf:         ; @igb_vmdq_set_anti_spoofing_pf
	.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
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x9, l_switch.table.igb_vmdq_set_anti_spoofing_pf@PAGE
Lloh1:
	add	x9, x9, l_switch.table.igb_vmdq_set_anti_spoofing_pf@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w19, [x8]
	mov	x0, x19
	bl	_rd32
Lloh2:
	adrp	x8, _E1000_DTXSWC_MAC_SPOOF_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E1000_DTXSWC_MAC_SPOOF_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _E1000_DTXSWC_VLAN_SPOOF_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _E1000_DTXSWC_VLAN_SPOOF_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cbz	w21, LBB0_4
; %bb.2:
	orr	w8, w8, w0
	orr	w22, w8, w9
	mov	x0, x20
	bl	_BIT
	mov	x21, x0
Lloh8:
	adrp	x8, _MAX_NUM_VFS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_NUM_VFS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	w0, w8, w20
	bl	_BIT
	orr	w8, w0, w21
	eor	w1, w8, w22
	b	LBB0_5
LBB0_3:
	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
LBB0_4:
	orr	w8, w9, w8
	bic	w1, w0, w8
LBB0_5:
	mov	x0, x19
	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	_wr32
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_DTXSWC,4,2               ; @E1000_DTXSWC
	.comm	_E1000_TXSWC,4,2                ; @E1000_TXSWC
	.comm	_E1000_DTXSWC_MAC_SPOOF_MASK,4,2 ; @E1000_DTXSWC_MAC_SPOOF_MASK
	.comm	_E1000_DTXSWC_VLAN_SPOOF_MASK,4,2 ; @E1000_DTXSWC_VLAN_SPOOF_MASK
	.comm	_MAX_NUM_VFS,4,2                ; @MAX_NUM_VFS
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.igb_vmdq_set_anti_spoofing_pf
l_switch.table.igb_vmdq_set_anti_spoofing_pf:
	.quad	_E1000_TXSWC
	.quad	_E1000_TXSWC
	.quad	_E1000_DTXSWC

.subsections_via_symbols
