	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_set_promiscuous
_i40e_set_promiscuous:                  ## @i40e_set_promiscuous
	.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	%esi, %r13d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	40(%rdi), %rcx
	movq	(%rcx,%rax,8), %r15
	leaq	32(%rdi), %r14
	movq	(%r15), %rax
	movq	_I40E_VSI_MAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	movq	8(%rbx), %rax
	movq	_I40E_NO_VEB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.2:
	movq	_I40E_FLAG_MFP_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rbx)
	je	LBB0_3
LBB0_9:
	movl	8(%r15), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_i40e_aq_set_vsi_unicast_promiscuous
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	24(%rbx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_i40e_stat_str
	movl	%r13d, %r12d
	movl	%eax, %r13d
	movl	32(%rbx), %esi
	movq	%r14, %rdi
	callq	_i40e_aq_str
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	%r12d, %r13d
	movl	%eax, %ecx
	callq	_dev_info
LBB0_11:
	movl	8(%r15), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	callq	_i40e_aq_set_vsi_multicast_promiscuous
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %r12d
	movq	24(%rbx), %r15
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_i40e_stat_str
	movl	%eax, %r13d
	movl	32(%rbx), %esi
	movq	%r14, %rdi
	callq	_i40e_aq_str
	leaq	L_.str.2(%rip), %rsi
LBB0_8:
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_dev_info
	jmp	LBB0_14
LBB0_3:
	movl	8(%r15), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.4:
	callq	_i40e_aq_set_default_vsi
	jmp	LBB0_6
LBB0_5:
	callq	_i40e_aq_clear_default_vsi
LBB0_6:
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:
	movq	24(%rbx), %r15
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_i40e_stat_str
	movl	%eax, %r13d
	movl	32(%rbx), %esi
	movq	%r14, %rdi
	callq	_i40e_aq_str
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_13:
	movl	%r13d, 20(%rbx)
	xorl	%r12d, %r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VSI_MAIN,8,3              ## @I40E_VSI_MAIN
	.comm	_I40E_NO_VEB,8,3                ## @I40E_NO_VEB
	.comm	_I40E_FLAG_MFP_ENABLED,4,2      ## @I40E_FLAG_MFP_ENABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Set default VSI failed, err %s, aq_err %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"set unicast promisc failed, err %s, aq_err %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"set multicast promisc failed, err %s, aq_err %s\n"

	.no_dead_strip	_i40e_set_promiscuous
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_set_promiscuous
_i40e_set_promiscuous:                  ; @i40e_set_promiscuous
	.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	x8, [x0, #40]
	ldr	x9, [x0]
	ldr	x24, [x8, x9, lsl #3]
	add	x20, x0, #32
	ldr	x8, [x24]
Lloh0:
	adrp	x9, _I40E_VSI_MAIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40E_VSI_MAIN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _I40E_NO_VEB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I40E_NO_VEB@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x19, #16]
Lloh6:
	adrp	x9, _I40E_FLAG_MFP_ENABLED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I40E_FLAG_MFP_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_3:
	ldr	w1, [x24, #8]
	mov	x0, x20
	mov	x2, x21
	mov	x3, #0
	mov	w4, #1
	bl	_i40e_aq_set_vsi_unicast_promiscuous
	cbz	w0, LBB0_5
; %bb.4:
	mov	x1, x0
	ldr	x22, [x19, #24]
	mov	x0, x20
	bl	_i40e_stat_str
	mov	x23, x0
	ldr	w1, [x19, #32]
	mov	x0, x20
	bl	_i40e_aq_str
	mov	x3, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_dev_info
LBB0_5:
	ldr	w1, [x24, #8]
	mov	x0, x20
	mov	x2, x21
	mov	x3, #0
	bl	_i40e_aq_set_vsi_multicast_promiscuous
	cbz	w0, LBB0_12
; %bb.6:
	mov	x22, x0
	ldr	x21, [x19, #24]
	mov	x0, x20
	mov	x1, x22
	bl	_i40e_stat_str
	mov	x23, x0
	ldr	w1, [x19, #32]
	mov	x0, x20
	bl	_i40e_aq_str
	mov	x3, x0
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_7:
	mov	x0, x21
	mov	x2, x23
	bl	_dev_info
	b	LBB0_13
LBB0_8:
	ldr	w1, [x24, #8]
	mov	x0, x20
	mov	x2, #0
	cbz	w21, LBB0_11
; %bb.9:
	bl	_i40e_aq_set_default_vsi
	mov	x22, x0
	cbz	w0, LBB0_12
LBB0_10:
	ldr	x21, [x19, #24]
	mov	x0, x20
	mov	x1, x22
	bl	_i40e_stat_str
	mov	x23, x0
	ldr	w1, [x19, #32]
	mov	x0, x20
	bl	_i40e_aq_str
	mov	x3, x0
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_11:
	bl	_i40e_aq_clear_default_vsi
	mov	x22, x0
	cbnz	w0, LBB0_10
LBB0_12:
	mov	w22, #0
	str	w21, [x19, #20]
LBB0_13:
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VSI_MAIN,8,3              ; @I40E_VSI_MAIN
	.comm	_I40E_NO_VEB,8,3                ; @I40E_NO_VEB
	.comm	_I40E_FLAG_MFP_ENABLED,4,2      ; @I40E_FLAG_MFP_ENABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Set default VSI failed, err %s, aq_err %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"set unicast promisc failed, err %s, aq_err %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"set multicast promisc failed, err %s, aq_err %s\n"

	.no_dead_strip	_i40e_set_promiscuous
.subsections_via_symbols
