	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_cfg_promisc
_ice_cfg_promisc:                       ## @ice_cfg_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %ecx
	movl	%esi, %edx
	movq	%rdi, %rax
	movq	(%rdi), %rsi
	movq	_ICE_VSI_PF@GOTPCREL(%rip), %rdi
	xorl	%ebx, %ebx
	cmpq	(%rdi), %rsi
	jne	LBB0_8
## %bb.1:
	movq	24(%rax), %rdi
	cmpq	$0, 16(%rax)
	je	LBB0_3
## %bb.2:
	movl	8(%rax), %esi
	callq	_ice_set_vlan_vsi_promisc
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_8
LBB0_3:
	movl	8(%rax), %esi
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	callq	_ice_set_vsi_promisc
	testl	%eax, %eax
	je	LBB0_8
LBB0_7:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	xorl	%ecx, %ecx
	callq	_ice_clear_vsi_promisc
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_VSI_PF,8,3                 ## @ICE_VSI_PF
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_ice_cfg_promisc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_cfg_promisc
_ice_cfg_promisc:                       ; @ice_cfg_promisc
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _ICE_VSI_PF@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ICE_VSI_PF@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	mov	x3, x2
	mov	x2, x1
	mov	x8, x0
	ldr	x0, [x0, #24]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_4
; %bb.2:
	ldr	w1, [x8, #8]
	bl	_ice_set_vlan_vsi_promisc
	cbnz	w0, LBB0_6
	b	LBB0_7
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w1, [x8, #8]
	cbz	w3, LBB0_8
; %bb.5:
	mov	w3, #0
	bl	_ice_set_vsi_promisc
	cbz	w0, LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	_ice_clear_vsi_promisc
	cbnz	w0, LBB0_6
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_VSI_PF,8,3                 ; @ICE_VSI_PF
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_ice_cfg_promisc
.subsections_via_symbols
