	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvu_mbox_handler_nix_set_rx_mode ## -- Begin function rvu_mbox_handler_nix_set_rx_mode
	.p2align	4, 0x90
_rvu_mbox_handler_nix_set_rx_mode:      ## @rvu_mbox_handler_nix_set_rx_mode
	.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, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movl	4(%rsi), %r14d
	movl	%r14d, %esi
	callq	_rvu_get_pfvf
	movq	%rax, %r15
	movq	_BLKTYPE_NIX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_rvu_get_blkaddr
	cmpl	$0, 4(%r15)
	je	LBB0_2
## %bb.1:
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	%eax, %esi
	shlq	$2, %rsi
	addq	(%r13), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_rvu_get_lf
	testl	%eax, %eax
	js	LBB0_2
## %bb.4:
	movl	%eax, %r13d
	movl	(%r12), %eax
	movq	_NIX_RX_MODE_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movl	$0, %r8d
	jne	LBB0_7
## %bb.5:
	movq	_NIX_RX_MODE_ALLMULTI@GOTPCREL(%rip), %rcx
	xorl	%r8d, %r8d
	testl	%eax, (%rcx)
	setne	%al
	je	LBB0_10
## %bb.6:
	movb	%al, %r8b
LBB0_7:
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	callq	_rvu_npc_install_promisc_entry
LBB0_8:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	callq	_rvu_npc_update_rxvlan
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_2:
	movq	_NIX_AF_ERR_AF_LF_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	callq	_rvu_npc_disable_promisc_entry
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_BLKTYPE_NIX,4,2                ## @BLKTYPE_NIX
	.comm	_NIX_AF_ERR_AF_LF_INVALID,4,2   ## @NIX_AF_ERR_AF_LF_INVALID
	.comm	_NIX_RX_MODE_PROMISC,4,2        ## @NIX_RX_MODE_PROMISC
	.comm	_NIX_RX_MODE_ALLMULTI,4,2       ## @NIX_RX_MODE_ALLMULTI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvu_mbox_handler_nix_set_rx_mode ; -- Begin function rvu_mbox_handler_nix_set_rx_mode
	.p2align	2
_rvu_mbox_handler_nix_set_rx_mode:      ; @rvu_mbox_handler_nix_set_rx_mode
	.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	x23, x1
	mov	x19, x0
	ldr	x22, [x0]
	ldr	w20, [x1, #4]
	mov	x1, x20
	bl	_rvu_get_pfvf
	mov	x21, x0
Lloh0:
	adrp	x8, _BLKTYPE_NIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLKTYPE_NIX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_rvu_get_blkaddr
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_5
; %bb.1:
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	x8, [x22]
	add	x1, x8, w0, uxtw #2
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_rvu_get_lf
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	x22, x0
	ldr	w8, [x23]
Lloh3:
	adrp	x9, _NIX_RX_MODE_PROMISC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NIX_RX_MODE_PROMISC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	mov	w4, #0
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _NIX_AF_ERR_AF_LF_INVALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIX_AF_ERR_AF_LF_INVALID@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_6:
Lloh9:
	adrp	x9, _NIX_RX_MODE_ALLMULTI@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NIX_RX_MODE_ALLMULTI@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ands	w8, w9, w8
	cset	w4, ne
	cbz	w8, LBB0_10
LBB0_7:
	ldr	w3, [x21]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_rvu_npc_install_promisc_entry
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_rvu_npc_update_rxvlan
	mov	w0, #0
LBB0_9:
	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
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_rvu_npc_disable_promisc_entry
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BLKTYPE_NIX,4,2                ; @BLKTYPE_NIX
	.comm	_NIX_AF_ERR_AF_LF_INVALID,4,2   ; @NIX_AF_ERR_AF_LF_INVALID
	.comm	_NIX_RX_MODE_PROMISC,4,2        ; @NIX_RX_MODE_PROMISC
	.comm	_NIX_RX_MODE_ALLMULTI,4,2       ; @NIX_RX_MODE_ALLMULTI
.subsections_via_symbols
