	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bna_bfi_rx_vlan_filter_set
_bna_bfi_rx_vlan_filter_set:            ## @bna_bfi_rx_vlan_filter_set
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	48(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_BFI_MC_ENET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BFI_ENET_H2I_RX_VLAN_SET_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%rdi), %rax
	movl	8(%rax), %r8d
	movl	48(%rdi), %edi
	xorl	%ecx, %ecx
	callq	_bfi_msgq_mhdr_set
	movl	$24, %edi
	callq	_bfi_msgq_num_cmd_entries
	movl	%eax, %edi
	callq	_htons
	movl	%eax, 48(%rbx)
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, 32(%rbx)
	movq	_BFI_ENET_VLAN_BLOCK_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	cmpl	$32, %ecx
	jl	LBB0_5
## %bb.1:
	shrl	$5, %ecx
	movq	(%rbx), %r13
	movq	_BNA_STATUS_T_ENABLED@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rcx
	movl	%eax, (%rcx,%r15,4)
	incq	%r15
	movl	(%r12), %eax
	leal	31(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$5, %ecx
	movslq	%ecx, %rax
	cmpq	%rax, %r15
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, %eax
	cmpq	%r14, %r13
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	imull	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	%r15d, %ecx
	movq	24(%rbx), %rax
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_htonl
	jmp	LBB0_4
LBB0_5:
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$24, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_bfa_msgq_cmd_set
	movq	16(%rbx), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bfa_msgq_cmd_post              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BFI_MC_ENET,4,2                ## @BFI_MC_ENET
	.comm	_BFI_ENET_H2I_RX_VLAN_SET_REQ,4,2 ## @BFI_ENET_H2I_RX_VLAN_SET_REQ
	.comm	_BFI_ENET_VLAN_BLOCK_SIZE,4,2   ## @BFI_ENET_VLAN_BLOCK_SIZE
	.comm	_BNA_STATUS_T_ENABLED,8,3       ## @BNA_STATUS_T_ENABLED
	.no_dead_strip	_bna_bfi_rx_vlan_filter_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bna_bfi_rx_vlan_filter_set
_bna_bfi_rx_vlan_filter_set:            ; @bna_bfi_rx_vlan_filter_set
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x19, x0
	mov	x20, x0
	ldr	w0, [x20, #48]!
Lloh0:
	adrp	x8, _BFI_MC_ENET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BFI_MC_ENET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _BFI_ENET_H2I_RX_VLAN_SET_REQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BFI_ENET_H2I_RX_VLAN_SET_REQ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldur	x8, [x20, #-32]
	ldr	w4, [x8, #8]
	mov	w3, #0
	bl	_bfi_msgq_mhdr_set
	mov	w0, #24
	bl	_bfi_msgq_num_cmd_entries
	bl	_htons
	str	w0, [x20]
	stur	w21, [x20, #-16]
Lloh6:
	adrp	x22, _BFI_ENET_VLAN_BLOCK_SIZE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _BFI_ENET_VLAN_BLOCK_SIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #32
	b.lt	LBB0_6
; %bb.1:
	mov	x23, #0
	lsr	w8, w8, #5
	ldr	x24, [x19]
Lloh8:
	adrp	x9, _BNA_STATUS_T_ENABLED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BNA_STATUS_T_ENABLED@GOTPAGEOFF]
Lloh10:
	ldr	x25, [x9]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	madd	w8, w8, w21, w23
	ldr	x9, [x19, #24]
	ldr	w0, [x9, w8, sxtw #2]
	bl	_htonl
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #40]
	str	w0, [x8, x23, lsl #2]
	add	x23, x23, #1
	ldr	w8, [x22]
	add	w9, w8, #31
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #5
	cmp	x23, w8, sxtw
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x24, x25
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #-1
	b	LBB0_3
LBB0_6:
	add	x21, x19, #8
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	mov	w3, #24
	mov	x4, x20
	bl	_bfa_msgq_cmd_set
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	mov	x1, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_bfa_msgq_cmd_post
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BFI_MC_ENET,4,2                ; @BFI_MC_ENET
	.comm	_BFI_ENET_H2I_RX_VLAN_SET_REQ,4,2 ; @BFI_ENET_H2I_RX_VLAN_SET_REQ
	.comm	_BFI_ENET_VLAN_BLOCK_SIZE,4,2   ; @BFI_ENET_VLAN_BLOCK_SIZE
	.comm	_BNA_STATUS_T_ENABLED,8,3       ; @BNA_STATUS_T_ENABLED
	.no_dead_strip	_bna_bfi_rx_vlan_filter_set
.subsections_via_symbols
