	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_set_vf_promisc
_igb_set_vf_promisc:                    ## @igb_set_vf_promisc
	.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, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_E1000_VMOLR
	movl	%eax, %edi
	callq	_rd32
	movq	(%r12), %rcx
	movq	_IGB_VF_FLAG_UNI_PROMISC@GOTPCREL(%rip), %rdx
	movq	_IGB_VF_FLAG_MULTI_PROMISC@GOTPCREL(%rip), %r8
	movl	(%r8), %edi
	orl	(%rdx), %edi
	notl	%edi
	movq	%r15, %rdx
	shlq	$4, %rdx
	andl	(%rcx,%rdx), %edi
	movl	%edi, (%rcx,%rdx)
	movq	_E1000_VMOLR_ROPE@GOTPCREL(%rip), %rsi
	movq	_E1000_VMOLR_ROMPE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r9
	movq	(%rsi), %r13
	orq	%r9, %r13
	movq	_E1000_VMOLR_MPME@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	orq	%rsi, %r13
	notq	%r13
	andq	%rax, %r13
	movq	(%r14), %rax
	movq	_E1000_VF_SET_PROMISC_MULTICAST@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	testq	%rax, %rbx
	je	LBB0_2
## %bb.1:
	addq	%rdx, %rcx
	orq	%rsi, %r13
	orl	(%r8), %edi
	movl	%edi, (%rcx)
	notq	%rbx
	andq	%rbx, %rax
	movq	%rax, (%r14)
	jmp	LBB0_9
LBB0_2:
	movl	4(%rcx,%rdx), %eax
	cmpl	$31, %eax
	jl	LBB0_4
## %bb.3:
	orq	%rsi, %r13
	jmp	LBB0_9
LBB0_4:
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	orq	%r9, %r13
	testl	%eax, %eax
	jle	LBB0_9
## %bb.6:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	addq	$8, %r12
	leaq	(%rcx,%rdx), %rbx
	addq	$4, %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	4(%rbx), %rax
	movl	(%rax,%r14,4), %esi
	movq	%r12, %rdi
	callq	_igb_mta_set
	incq	%r14
	movslq	(%rbx), %rax
	cmpq	%rax, %r14
	jl	LBB0_7
## %bb.8:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_9:
	movq	%r15, %rdi
	callq	_E1000_VMOLR
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_wr32
	movq	_E1000_VT_MSGINFO_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
	subl	(%rdx), %eax
	testq	%rcx, (%r14)
	cmovel	%esi, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGB_VF_FLAG_UNI_PROMISC,4,2    ## @IGB_VF_FLAG_UNI_PROMISC
	.comm	_IGB_VF_FLAG_MULTI_PROMISC,4,2  ## @IGB_VF_FLAG_MULTI_PROMISC
	.comm	_E1000_VMOLR_ROPE,8,3           ## @E1000_VMOLR_ROPE
	.comm	_E1000_VMOLR_ROMPE,8,3          ## @E1000_VMOLR_ROMPE
	.comm	_E1000_VMOLR_MPME,8,3           ## @E1000_VMOLR_MPME
	.comm	_E1000_VF_SET_PROMISC_MULTICAST,8,3 ## @E1000_VF_SET_PROMISC_MULTICAST
	.comm	_E1000_VT_MSGINFO_MASK,8,3      ## @E1000_VT_MSGINFO_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_igb_set_vf_promisc
.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_promisc
_igb_set_vf_promisc:                    ; @igb_set_vf_promisc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x2
	bl	_E1000_VMOLR
	bl	_rd32
	ldr	x8, [x22], #8
Lloh0:
	adrp	x10, _IGB_VF_FLAG_UNI_PROMISC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IGB_VF_FLAG_UNI_PROMISC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _IGB_VF_FLAG_MULTI_PROMISC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IGB_VF_FLAG_MULTI_PROMISC@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	ldr	w11, [x9]
	orr	w10, w11, w10
	add	x23, x8, x20, lsl #4
	ldr	w11, [x23]
	bic	w10, w11, w10
	str	w10, [x23]
Lloh5:
	adrp	x11, _E1000_VMOLR_ROPE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _E1000_VMOLR_ROPE@GOTPAGEOFF]
Lloh7:
	ldr	x12, [x11]
Lloh8:
	adrp	x11, _E1000_VMOLR_ROMPE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _E1000_VMOLR_ROMPE@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	orr	x13, x11, x12
Lloh11:
	adrp	x12, _E1000_VMOLR_MPME@GOTPAGE
Lloh12:
	ldr	x12, [x12, _E1000_VMOLR_MPME@GOTPAGEOFF]
Lloh13:
	ldr	x12, [x12]
	orr	x13, x13, x12
	bic	x21, x0, x13
	ldr	x13, [x19]
Lloh14:
	adrp	x14, _E1000_VF_SET_PROMISC_MULTICAST@GOTPAGE
Lloh15:
	ldr	x14, [x14, _E1000_VF_SET_PROMISC_MULTICAST@GOTPAGEOFF]
Lloh16:
	ldr	x14, [x14]
	tst	x14, x13
	b.eq	LBB0_2
; %bb.1:
	orr	x21, x21, x12
	ldr	w8, [x9]
	orr	w8, w8, w10
	str	w8, [x23]
	bic	x8, x13, x14
	str	x8, [x19]
	b	LBB0_8
LBB0_2:
	ldr	w9, [x23, #4]!
	cmp	w9, #31
	b.lt	LBB0_4
; %bb.3:
	orr	x21, x21, x12
	b	LBB0_8
LBB0_4:
	cbz	w9, LBB0_8
; %bb.5:
	orr	x21, x21, x11
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x24, #0
	add	x8, x8, x20, lsl #4
	add	x25, x8, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	w1, [x8, x24, lsl #2]
	mov	x0, x22
	bl	_igb_mta_set
	add	x24, x24, #1
	ldrsw	x8, [x23]
	cmp	x24, x8
	b.lt	LBB0_7
LBB0_8:
	mov	x0, x20
	bl	_E1000_VMOLR
	mov	x1, x21
	bl	_wr32
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _E1000_VT_MSGINFO_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _E1000_VT_MSGINFO_MASK@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
Lloh20:
	adrp	x10, _EINVAL@GOTPAGE
Lloh21:
	ldr	x10, [x10, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	tst	x9, x8
	csneg	w0, wzr, w10, eq
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IGB_VF_FLAG_UNI_PROMISC,4,2    ; @IGB_VF_FLAG_UNI_PROMISC
	.comm	_IGB_VF_FLAG_MULTI_PROMISC,4,2  ; @IGB_VF_FLAG_MULTI_PROMISC
	.comm	_E1000_VMOLR_ROPE,8,3           ; @E1000_VMOLR_ROPE
	.comm	_E1000_VMOLR_ROMPE,8,3          ; @E1000_VMOLR_ROMPE
	.comm	_E1000_VMOLR_MPME,8,3           ; @E1000_VMOLR_MPME
	.comm	_E1000_VF_SET_PROMISC_MULTICAST,8,3 ; @E1000_VF_SET_PROMISC_MULTICAST
	.comm	_E1000_VT_MSGINFO_MASK,8,3      ; @E1000_VT_MSGINFO_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_igb_set_vf_promisc
.subsections_via_symbols
