	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnad_init_rx_config
_bnad_init_rx_config:                   ## @bnad_init_rx_config
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_BNA_RX_T_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rsi)
	movl	(%rdi), %eax
	movl	%eax, (%rsi)
	movl	8(%rdi), %ecx
	movl	%ecx, 48(%rsi)
	cmpl	$2, %eax
	jl	LBB0_2
## %bb.1:
	movq	_BNA_STATUS_T_ENABLED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 40(%rbx)
	movq	_BFI_ENET_RSS_IPV6@GOTPCREL(%rip), %rcx
	movq	_BFI_ENET_RSS_IPV6_TCP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_BFI_ENET_RSS_IPV4@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_BFI_ENET_RSS_IPV4_TCP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, 28(%rbx)
	decl	%eax
	movl	%eax, 32(%rbx)
	movl	36(%rbx), %edi
	movl	$4, %esi
	callq	_get_random_bytes
	jmp	LBB0_3
LBB0_2:
	movq	_BNA_STATUS_T_DISABLED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
	leaq	28(%rbx), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
LBB0_3:
	movq	_BNA_RXP_SLR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 20(%rbx)
	movq	_BFI_SMALL_RXBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_BNA_STATUS_T_ENABLED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNA_RX_T_REGULAR,4,2           ## @BNA_RX_T_REGULAR
	.comm	_BNA_STATUS_T_ENABLED,8,3       ## @BNA_STATUS_T_ENABLED
	.comm	_BFI_ENET_RSS_IPV6,4,2          ## @BFI_ENET_RSS_IPV6
	.comm	_BFI_ENET_RSS_IPV6_TCP,4,2      ## @BFI_ENET_RSS_IPV6_TCP
	.comm	_BFI_ENET_RSS_IPV4,4,2          ## @BFI_ENET_RSS_IPV4
	.comm	_BFI_ENET_RSS_IPV4_TCP,4,2      ## @BFI_ENET_RSS_IPV4_TCP
	.comm	_BNA_STATUS_T_DISABLED,8,3      ## @BNA_STATUS_T_DISABLED
	.comm	_BNA_RXP_SLR,4,2                ## @BNA_RXP_SLR
	.comm	_BFI_SMALL_RXBUF_SIZE,4,2       ## @BFI_SMALL_RXBUF_SIZE
	.no_dead_strip	_bnad_init_rx_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnad_init_rx_config
_bnad_init_rx_config:                   ; @bnad_init_rx_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _BNA_RX_T_REGULAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNA_RX_T_REGULAR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldr	w8, [x0]
	str	w8, [x1]
	ldr	w10, [x0, #8]
	stp	w10, w9, [x1, #48]
Lloh3:
	adrp	x21, _BNA_STATUS_T_ENABLED@GOTPAGE
Lloh4:
	ldr	x21, [x21, _BNA_STATUS_T_ENABLED@GOTPAGEOFF]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	x9, [x21]
Lloh5:
	adrp	x10, _BFI_ENET_RSS_IPV6@GOTPAGE
Lloh6:
	ldr	x10, [x10, _BFI_ENET_RSS_IPV6@GOTPAGEOFF]
	str	x9, [x19, #40]
Lloh7:
	ldr	w9, [x10]
Lloh8:
	adrp	x10, _BFI_ENET_RSS_IPV6_TCP@GOTPAGE
Lloh9:
	ldr	x10, [x10, _BFI_ENET_RSS_IPV6_TCP@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh11:
	adrp	x10, _BFI_ENET_RSS_IPV4@GOTPAGE
Lloh12:
	ldr	x10, [x10, _BFI_ENET_RSS_IPV4@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh14:
	adrp	x10, _BFI_ENET_RSS_IPV4_TCP@GOTPAGE
Lloh15:
	ldr	x10, [x10, _BFI_ENET_RSS_IPV4_TCP@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	orr	w9, w9, w10
	sub	w8, w8, #1
	stp	w9, w8, [x19, #28]
	ldr	w0, [x19, #36]
	mov	w1, #4
	bl	_get_random_bytes
	b	LBB0_3
LBB0_2:
Lloh17:
	adrp	x8, _BNA_STATUS_T_DISABLED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BNA_STATUS_T_DISABLED@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x19, #40]
	add	x0, x19, #28
	mov	w1, #0
	mov	w2, #12
	bl	_memset
LBB0_3:
Lloh20:
	adrp	x8, _BNA_RXP_SLR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BNA_RXP_SLR@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh23:
	adrp	x8, _BFI_SMALL_RXBUF_SIZE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BFI_SMALL_RXBUF_SIZE@GOTPAGEOFF]
	ldr	w9, [x20, #4]
Lloh25:
	ldr	w8, [x8]
	stp	w8, w9, [x19, #16]
	ldr	x8, [x21]
	str	x8, [x19, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_BNA_RX_T_REGULAR,4,2           ; @BNA_RX_T_REGULAR
	.comm	_BNA_STATUS_T_ENABLED,8,3       ; @BNA_STATUS_T_ENABLED
	.comm	_BFI_ENET_RSS_IPV6,4,2          ; @BFI_ENET_RSS_IPV6
	.comm	_BFI_ENET_RSS_IPV6_TCP,4,2      ; @BFI_ENET_RSS_IPV6_TCP
	.comm	_BFI_ENET_RSS_IPV4,4,2          ; @BFI_ENET_RSS_IPV4
	.comm	_BFI_ENET_RSS_IPV4_TCP,4,2      ; @BFI_ENET_RSS_IPV4_TCP
	.comm	_BNA_STATUS_T_DISABLED,8,3      ; @BNA_STATUS_T_DISABLED
	.comm	_BNA_RXP_SLR,4,2                ; @BNA_RXP_SLR
	.comm	_BFI_SMALL_RXBUF_SIZE,4,2       ; @BFI_SMALL_RXBUF_SIZE
	.no_dead_strip	_bnad_init_rx_config
.subsections_via_symbols
