	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_vlan_promisc_enable
_ixgbe_vlan_promisc_enable:             ## @ixgbe_vlan_promisc_enable
	.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	%rdi, %rbx
	leaq	8(%rdi), %r15
	movq	_IXGBE_VLNCTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_FLAG_VMDQ_ENABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IXGBE_VLNCTRL_VFE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, (%rbx)
	je	LBB0_10
## %bb.1:
	orl	%eax, %edx
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_REG
	movq	(%r15), %rax
	movq	_ixgbe_mac_82598EB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.2:
	movl	4(%rbx), %eax
	movq	_IXGBE_FLAG2_VLAN_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_9
## %bb.3:
	orl	%eax, %ecx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%ecx, 4(%rbx)
	movq	_IXGBE_VLVF_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %r13d
	decl	%r13d
	je	LBB0_6
## %bb.4:
	leal	(%rax,%rax), %r14d
	addl	$-2, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	callq	_VMDQ_P
                                        ## kill: def $eax killed $eax def $rax
	leal	31(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$5, %edi
	addl	%r14d, %edi
	callq	_IXGBE_VLVFB
	movl	%eax, %r12d
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_VMDQ_P
                                        ## kill: def $eax killed $eax def $rax
	leal	31(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	andl	$-32, %ecx
	subl	%ecx, %eax
	movl	%eax, %edi
	callq	_BIT
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	addl	$-2, %r14d
	decl	%r13d
	jne	LBB0_5
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.7:
	decl	%ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_IXGBE_VFTA
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_IXGBE_WRITE_REG
	addl	$-1, %ebx
	jb	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	notl	%edx
	andl	%edx, %eax
	movl	(%r14), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IXGBE_WRITE_REG                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_VLNCTRL,4,2              ## @IXGBE_VLNCTRL
	.comm	_IXGBE_FLAG_VMDQ_ENABLED,4,2    ## @IXGBE_FLAG_VMDQ_ENABLED
	.comm	_IXGBE_VLNCTRL_VFE,4,2          ## @IXGBE_VLNCTRL_VFE
	.comm	_ixgbe_mac_82598EB,8,3          ## @ixgbe_mac_82598EB
	.comm	_IXGBE_FLAG2_VLAN_PROMISC,4,2   ## @IXGBE_FLAG2_VLAN_PROMISC
	.comm	_IXGBE_VLVF_ENTRIES,4,2         ## @IXGBE_VLVF_ENTRIES
	.no_dead_strip	_ixgbe_vlan_promisc_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_vlan_promisc_enable
_ixgbe_vlan_promisc_enable:             ; @ixgbe_vlan_promisc_enable
	.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, x0
	add	x19, x0, #8
Lloh0:
	adrp	x21, _IXGBE_VLNCTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IXGBE_VLNCTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh2:
	adrp	x8, _IXGBE_FLAG_VMDQ_ENABLED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXGBE_FLAG_VMDQ_ENABLED@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh4:
	ldr	w10, [x8]
Lloh5:
	adrp	x8, _IXGBE_VLNCTRL_VFE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_VLNCTRL_VFE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w10, w9
	b.eq	LBB0_10
; %bb.1:
	orr	w2, w8, w0
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _ixgbe_mac_82598EB@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ixgbe_mac_82598EB@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.2:
	ldr	w8, [x20, #4]
Lloh11:
	adrp	x9, _IXGBE_FLAG2_VLAN_PROMISC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IXGBE_FLAG2_VLAN_PROMISC@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.3:
	orr	w8, w9, w8
	str	w8, [x20, #4]
Lloh14:
	adrp	x8, _IXGBE_VLVF_ENTRIES@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IXGBE_VLVF_ENTRIES@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	subs	w23, w8, #1
	b.eq	LBB0_6
; %bb.4:
	lsl	w8, w8, #1
	sub	w24, w8, #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #0
	bl	_VMDQ_P
	add	w8, w0, #31
	cmp	w0, #0
	csel	w8, w8, w0, lt
	add	w0, w24, w8, asr #5
	bl	_IXGBE_VLVFB
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_IXGBE_READ_REG
	mov	x22, x0
	mov	w0, #0
	bl	_VMDQ_P
	negs	w8, w0
	and	w8, w8, #0x1f
	and	w9, w0, #0x1f
	csneg	w0, w9, w8, mi
	bl	_BIT
	orr	w2, w0, w22
	mov	x0, x19
	mov	x1, x21
	bl	_IXGBE_WRITE_REG
	sub	w24, w24, #2
	sub	w23, w23, #1
	cbnz	w23, LBB0_5
LBB0_6:
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_9
; %bb.7:
	sub	w20, w8, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_IXGBE_VFTA
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
	bl	_IXGBE_WRITE_REG
	sub	w20, w20, #1
	cmn	w20, #1
	b.ne	LBB0_8
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:
	bic	w2, w0, w8
	ldr	w1, [x21]
	mov	x0, x19
	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
	b	_IXGBE_WRITE_REG
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_VLNCTRL,4,2              ; @IXGBE_VLNCTRL
	.comm	_IXGBE_FLAG_VMDQ_ENABLED,4,2    ; @IXGBE_FLAG_VMDQ_ENABLED
	.comm	_IXGBE_VLNCTRL_VFE,4,2          ; @IXGBE_VLNCTRL_VFE
	.comm	_ixgbe_mac_82598EB,8,3          ; @ixgbe_mac_82598EB
	.comm	_IXGBE_FLAG2_VLAN_PROMISC,4,2   ; @IXGBE_FLAG2_VLAN_PROMISC
	.comm	_IXGBE_VLVF_ENTRIES,4,2         ; @IXGBE_VLVF_ENTRIES
	.no_dead_strip	_ixgbe_vlan_promisc_enable
.subsections_via_symbols
