	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vc_config_promiscuous_mode_msg
_i40e_vc_config_promiscuous_mode_msg:   ## @i40e_vc_config_promiscuous_mode_msg
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	16(%rdi), %r12
	movq	_I40E_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r15), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_I40E_VIRTCHNL_VF_CAP_PRIVILEGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r15), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	(%rbx), %eax
	movq	_I40E_MAX_VF_PROMISC_FLAGS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_1
## %bb.5:
	movl	4(%rbx), %esi
	movq	%r15, %rdi
	callq	_i40e_vc_isvalid_vsi_id
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movl	(%rbx), %r13d
	movl	4(%rbx), %esi
	movq	_FLAG_VF_MULTICAST_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%r13d, %eax
	setne	%dl
	movq	_FLAG_VF_UNICAST_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%ecx, %ecx
	testl	%r13d, %ebx
	setne	%cl
	movq	%r15, %rdi
	callq	_i40e_config_vf_promiscuous_mode
	movq	%rax, %rdx
	testq	%rax, %rax
	jne	LBB0_20
## %bb.7:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	_I40E_VF_STATE_MC_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r13d, -48(%rbp)                ## 4-byte Folded Reload
	je	LBB0_10
## %bb.8:
	movq	%r14, %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_13
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_12
LBB0_1:
	movq	_I40E_ERR_PARAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	jmp	LBB0_20
LBB0_3:
	movq	(%r12), %rdi
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_19:
	xorl	%edx, %edx
LBB0_20:
	movq	_VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_vc_send_resp_to_vf        ## TAILCALL
LBB0_10:
	movq	%r14, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_13
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
LBB0_12:
	movq	(%r12), %rdi
	movl	(%r15), %edx
	callq	_dev_info
LBB0_13:
	movq	_I40E_VF_STATE_UC_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	testl	%r13d, %ebx
	je	LBB0_16
## %bb.14:
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_19
## %bb.15:
	movq	(%r12), %rdi
	movl	(%r15), %edx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_18
LBB0_16:
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	(%r12), %rdi
	movl	(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
LBB0_18:
	callq	_dev_info
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ## @I40E_VF_STATE_ACTIVE
	.comm	_I40E_ERR_PARAM,8,3             ## @I40E_ERR_PARAM
	.comm	_I40E_VIRTCHNL_VF_CAP_PRIVILEGE,4,2 ## @I40E_VIRTCHNL_VF_CAP_PRIVILEGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unprivileged VF %d is attempting to configure promiscuous mode\n"

	.comm	_I40E_MAX_VF_PROMISC_FLAGS,4,2  ## @I40E_MAX_VF_PROMISC_FLAGS
	.comm	_FLAG_VF_MULTICAST_PROMISC,4,2  ## @FLAG_VF_MULTICAST_PROMISC
	.comm	_FLAG_VF_UNICAST_PROMISC,4,2    ## @FLAG_VF_UNICAST_PROMISC
	.comm	_I40E_VF_STATE_MC_PROMISC,4,2   ## @I40E_VF_STATE_MC_PROMISC
L_.str.1:                               ## @.str.1
	.asciz	"VF %d successfully set multicast promiscuous mode\n"

L_.str.2:                               ## @.str.2
	.asciz	"VF %d successfully unset multicast promiscuous mode\n"

	.comm	_I40E_VF_STATE_UC_PROMISC,4,2   ## @I40E_VF_STATE_UC_PROMISC
L_.str.3:                               ## @.str.3
	.asciz	"VF %d successfully set unicast promiscuous mode\n"

L_.str.4:                               ## @.str.4
	.asciz	"VF %d successfully unset unicast promiscuous mode\n"

	.comm	_VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE,4,2 ## @VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE
	.no_dead_strip	_i40e_vc_config_promiscuous_mode_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vc_config_promiscuous_mode_msg
_i40e_vc_config_promiscuous_mode_msg:   ; @i40e_vc_config_promiscuous_mode_msg
	.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	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #16]
Lloh0:
	adrp	x8, _I40E_VF_STATE_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #4
	mov	x1, x20
	bl	_test_bit
	cbz	w0, LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _I40E_VIRTCHNL_VF_CAP_PRIVILEGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_VIRTCHNL_VF_CAP_PRIVILEGE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	w0, LBB0_9
; %bb.2:
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _I40E_MAX_VF_PROMISC_FLAGS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I40E_MAX_VF_PROMISC_FLAGS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_8
; %bb.3:
	ldr	w1, [x21, #4]
	mov	x0, x19
	bl	_i40e_vc_isvalid_vsi_id
	cbz	w0, LBB0_8
; %bb.4:
Lloh9:
	adrp	x8, _FLAG_VF_MULTICAST_PROMISC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FLAG_VF_MULTICAST_PROMISC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldp	w9, w1, [x21]
	ands	w23, w8, w9
	cset	w2, ne
Lloh12:
	adrp	x8, _FLAG_VF_UNICAST_PROMISC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FLAG_VF_UNICAST_PROMISC@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ands	w21, w8, w9
	cset	w3, ne
	mov	x0, x19
	bl	_i40e_config_vf_promiscuous_mode
	mov	x2, x0
	cbnz	x0, LBB0_11
; %bb.5:
Lloh15:
	adrp	x8, _I40E_VF_STATE_MC_PROMISC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I40E_VF_STATE_MC_PROMISC@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x20
	cbz	w23, LBB0_12
; %bb.6:
	bl	_test_and_set_bit
	cbnz	w0, LBB0_15
; %bb.7:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_8:
Lloh20:
	adrp	x8, _I40E_ERR_PARAM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _I40E_ERR_PARAM@GOTPAGEOFF]
Lloh22:
	ldr	x2, [x8]
	b	LBB0_11
LBB0_9:
	ldr	x0, [x22]
	ldr	w2, [x19]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_10:
	mov	x2, #0
LBB0_11:
Lloh25:
	adrp	x8, _VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	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	_i40e_vc_send_resp_to_vf
LBB0_12:
	bl	_test_and_clear_bit
	cbz	x0, LBB0_15
; %bb.13:
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_14:
	ldr	x0, [x22]
	ldr	w2, [x19]
	bl	_dev_info
LBB0_15:
Lloh30:
	adrp	x8, _I40E_VF_STATE_UC_PROMISC@GOTPAGE
Lloh31:
	ldr	x8, [x8, _I40E_VF_STATE_UC_PROMISC@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x20
	cbz	w21, LBB0_18
; %bb.16:
	bl	_test_and_set_bit
	cbnz	w0, LBB0_10
; %bb.17:
	ldr	x0, [x22]
	ldr	w2, [x19]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_20
LBB0_18:
	bl	_test_and_clear_bit
	cbz	x0, LBB0_10
; %bb.19:
	ldr	x0, [x22]
	ldr	w2, [x19]
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_20:
	bl	_dev_info
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ; @I40E_VF_STATE_ACTIVE
	.comm	_I40E_ERR_PARAM,8,3             ; @I40E_ERR_PARAM
	.comm	_I40E_VIRTCHNL_VF_CAP_PRIVILEGE,4,2 ; @I40E_VIRTCHNL_VF_CAP_PRIVILEGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unprivileged VF %d is attempting to configure promiscuous mode\n"

	.comm	_I40E_MAX_VF_PROMISC_FLAGS,4,2  ; @I40E_MAX_VF_PROMISC_FLAGS
	.comm	_FLAG_VF_MULTICAST_PROMISC,4,2  ; @FLAG_VF_MULTICAST_PROMISC
	.comm	_FLAG_VF_UNICAST_PROMISC,4,2    ; @FLAG_VF_UNICAST_PROMISC
	.comm	_I40E_VF_STATE_MC_PROMISC,4,2   ; @I40E_VF_STATE_MC_PROMISC
l_.str.1:                               ; @.str.1
	.asciz	"VF %d successfully set multicast promiscuous mode\n"

l_.str.2:                               ; @.str.2
	.asciz	"VF %d successfully unset multicast promiscuous mode\n"

	.comm	_I40E_VF_STATE_UC_PROMISC,4,2   ; @I40E_VF_STATE_UC_PROMISC
l_.str.3:                               ; @.str.3
	.asciz	"VF %d successfully set unicast promiscuous mode\n"

l_.str.4:                               ; @.str.4
	.asciz	"VF %d successfully unset unicast promiscuous mode\n"

	.comm	_VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE,4,2 ; @VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE
	.no_dead_strip	_i40e_vc_config_promiscuous_mode_msg
.subsections_via_symbols
