	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bna_rxf_promisc_cfg_apply
_bna_rxf_promisc_cfg_apply:             ## @bna_rxf_promisc_cfg_apply
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movl	4(%rdi), %esi
	movl	8(%rdi), %edi
	callq	_is_promisc_enable
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_promisc_inactive
	movq	_BNA_RXMODE_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	_BNA_STATUS_T_ENABLED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	callq	_is_promisc_disable
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	callq	_promisc_inactive
	movq	_BNA_RXMODE_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	_BFI_INVALID_RID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_BNA_STATUS_T_DISABLED@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bna_bfi_rx_promisc_req
	movl	$1, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_BNA_RXMODE_PROMISC,4,2         ## @BNA_RXMODE_PROMISC
	.comm	_BNA_STATUS_T_ENABLED,4,2       ## @BNA_STATUS_T_ENABLED
	.comm	_BFI_INVALID_RID,4,2            ## @BFI_INVALID_RID
	.comm	_BNA_STATUS_T_DISABLED,4,2      ## @BNA_STATUS_T_DISABLED
	.no_dead_strip	_bna_rxf_promisc_cfg_apply
.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_apply
_bna_rxf_promisc_cfg_apply:             ; @bna_rxf_promisc_cfg_apply
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
	ldr	w0, [x0, #8]
	ldr	w1, [x19, #4]
	bl	_is_promisc_enable
	mov	x8, x0
	ldp	w1, w0, [x19, #4]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_promisc_inactive
Lloh0:
	adrp	x8, _BNA_RXMODE_PROMISC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNA_RXMODE_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh3:
	adrp	x8, _BNA_STATUS_T_ENABLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNA_STATUS_T_ENABLED@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	bl	_is_promisc_disable
	cbz	x0, LBB0_5
; %bb.3:
	ldp	w1, w0, [x19, #4]
	bl	_promisc_inactive
Lloh5:
	adrp	x8, _BNA_RXMODE_PROMISC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BNA_RXMODE_PROMISC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh8:
	adrp	x8, _BFI_INVALID_RID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BFI_INVALID_RID@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh11:
	adrp	x8, _BNA_STATUS_T_DISABLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNA_STATUS_T_DISABLED@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bna_bfi_rx_promisc_req
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BNA_RXMODE_PROMISC,4,2         ; @BNA_RXMODE_PROMISC
	.comm	_BNA_STATUS_T_ENABLED,4,2       ; @BNA_STATUS_T_ENABLED
	.comm	_BFI_INVALID_RID,4,2            ; @BFI_INVALID_RID
	.comm	_BNA_STATUS_T_DISABLED,4,2      ; @BNA_STATUS_T_DISABLED
	.no_dead_strip	_bna_rxf_promisc_cfg_apply
.subsections_via_symbols
