	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bna_rxf_promisc_cfg_reset
_bna_rxf_promisc_cfg_reset:             ## @bna_rxf_promisc_cfg_reset
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r15
	movl	4(%rdi), %esi
	movl	8(%rdi), %edi
	callq	_is_promisc_disable
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	callq	_promisc_inactive
	movq	_BNA_RXMODE_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	movq	_BFI_INVALID_RID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r15)
	movq	_BNA_HARD_CLEANUP@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_3
	jmp	LBB0_5
LBB0_1:
	movl	(%rbx), %eax
LBB0_3:
	movq	_BNA_RXMODE_PROMISC@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	testl	%eax, (%r12)
	je	LBB0_6
## %bb.4:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	callq	_promisc_enable
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	_BNA_HARD_CLEANUP@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_6
LBB0_5:
	movq	_BNA_STATUS_T_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bna_bfi_rx_promisc_req
	movl	$1, %r15d
LBB0_6:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNA_RXMODE_PROMISC,4,2         ## @BNA_RXMODE_PROMISC
	.comm	_BFI_INVALID_RID,4,2            ## @BFI_INVALID_RID
	.comm	_BNA_HARD_CLEANUP,4,2           ## @BNA_HARD_CLEANUP
	.comm	_BNA_STATUS_T_DISABLED,4,2      ## @BNA_STATUS_T_DISABLED
	.no_dead_strip	_bna_rxf_promisc_cfg_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bna_rxf_promisc_cfg_reset
_bna_rxf_promisc_cfg_reset:             ; @bna_rxf_promisc_cfg_reset
	.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, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x23, [x8]
	ldr	w0, [x0, #8]
	ldr	w1, [x19, #4]
	bl	_is_promisc_disable
Lloh0:
	adrp	x22, _BNA_RXMODE_PROMISC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BNA_RXMODE_PROMISC@GOTPAGEOFF]
Lloh2:
	adrp	x21, _BNA_HARD_CLEANUP@GOTPAGE
Lloh3:
	ldr	x21, [x21, _BNA_HARD_CLEANUP@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldp	w1, w0, [x19, #4]
	bl	_promisc_inactive
	ldr	w8, [x22]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh4:
	adrp	x9, _BFI_INVALID_RID@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BFI_INVALID_RID@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	str	w9, [x23]
	ldr	w9, [x21]
	cmp	w9, w20
	b.ne	LBB0_3
	b	LBB0_5
LBB0_2:
	ldr	w8, [x19]
LBB0_3:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	ldp	w1, w0, [x19, #4]
	bl	_promisc_enable
	ldr	w8, [x22]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	ldr	w8, [x21]
	cmp	w8, w20
	b.ne	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _BNA_STATUS_T_DISABLED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BNA_STATUS_T_DISABLED@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bna_bfi_rx_promisc_req
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BNA_RXMODE_PROMISC,4,2         ; @BNA_RXMODE_PROMISC
	.comm	_BFI_INVALID_RID,4,2            ; @BFI_INVALID_RID
	.comm	_BNA_HARD_CLEANUP,4,2           ; @BNA_HARD_CLEANUP
	.comm	_BNA_STATUS_T_DISABLED,4,2      ; @BNA_STATUS_T_DISABLED
	.no_dead_strip	_bna_rxf_promisc_cfg_reset
.subsections_via_symbols
