	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hw_atl_a0_hw_init_rx_path
_hw_atl_a0_hw_init_rx_path:             ## @hw_atl_a0_hw_init_rx_path
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movl	$1, %esi
	callq	_hw_atl_rpb_rpf_rx_traf_class_mode_set
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_hw_atl_rpb_rx_flow_ctl_mode_set
	xorl	%eax, %eax
	cmpq	$0, (%rbx)
	movl	$-1288490189, %esi              ## imm = 0xB3333333
	cmovel	%eax, %esi
	movq	%r14, %rdi
	callq	_hw_atl_reg_rx_flr_rss_control1set
	movq	_HW_ATL_A0_MAC_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.1:
	decl	%r15d
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	subl	$1, %ebx
	setb	%sil
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_hw_atl_rpfl2_uc_flr_en_set
	movq	%r14, %rdi
	movl	$1, %esi
	movl	%r15d, %edx
	callq	_hw_atl_rpfl2unicast_flr_act_set
	movl	%ebx, %r15d
	cmpl	$-1, %ebx
	jne	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hw_atl_reg_rx_flr_mcst_flr_msk_set
	movq	%r14, %rdi
	movl	$69631, %esi                    ## imm = 0x10FFF
	xorl	%edx, %edx
	callq	_hw_atl_reg_rx_flr_mcst_flr_set
	movq	%r14, %rdi
	movl	$34984, %esi                    ## imm = 0x88A8
	callq	_hw_atl_rpf_vlan_outer_etht_set
	movq	%r14, %rdi
	movl	$33024, %esi                    ## imm = 0x8100
	callq	_hw_atl_rpf_vlan_inner_etht_set
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_hw_atl_rpf_vlan_prom_mode_en_set
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_hw_atl_rdm_rx_desc_wr_wb_irq_en_set
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_hw_atl_rpfl2broadcast_flr_act_set
	movq	%r14, %rdi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_hw_atl_rpfl2broadcast_count_threshold_set
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hw_atl_rdm_rx_dca_en_set
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hw_atl_rdm_rx_dca_mode_set
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_aq_hw_err_from_flags           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HW_ATL_A0_MAC_MAX,4,2          ## @HW_ATL_A0_MAC_MAX
	.no_dead_strip	_hw_atl_a0_hw_init_rx_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hw_atl_a0_hw_init_rx_path
_hw_atl_a0_hw_init_rx_path:             ; @hw_atl_a0_hw_init_rx_path
	.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	x20, [x0]
	mov	w1, #1
	bl	_hw_atl_rpb_rpf_rx_traf_class_mode_set
	mov	x0, x19
	mov	w1, #1
	bl	_hw_atl_rpb_rx_flow_ctl_mode_set
	ldr	x8, [x20]
	cmp	x8, #0
	mov	w8, #13107
	movk	w8, #45875, lsl #16
	csel	w1, wzr, w8, eq
	mov	x0, x19
	bl	_hw_atl_reg_rx_flr_rss_control1set
Lloh0:
	adrp	x8, _HW_ATL_A0_MAC_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HW_ATL_A0_MAC_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	sub	w20, w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w20, #0
	cset	w1, eq
	mov	x0, x19
	mov	x2, x20
	bl	_hw_atl_rpfl2_uc_flr_en_set
	mov	x0, x19
	mov	w1, #1
	mov	x2, x20
	bl	_hw_atl_rpfl2unicast_flr_act_set
	sub	w20, w20, #1
	cmn	w20, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	bl	_hw_atl_reg_rx_flr_mcst_flr_msk_set
	mov	x0, x19
	mov	w1, #4095
	movk	w1, #1, lsl #16
	mov	w2, #0
	bl	_hw_atl_reg_rx_flr_mcst_flr_set
	mov	x0, x19
	mov	w1, #34984
	bl	_hw_atl_rpf_vlan_outer_etht_set
	mov	x0, x19
	mov	w1, #33024
	bl	_hw_atl_rpf_vlan_inner_etht_set
	mov	x0, x19
	mov	w1, #1
	bl	_hw_atl_rpf_vlan_prom_mode_en_set
	mov	x0, x19
	mov	w1, #1
	bl	_hw_atl_rdm_rx_desc_wr_wb_irq_en_set
	mov	x0, x19
	mov	w1, #1
	bl	_hw_atl_rpfl2broadcast_flr_act_set
	mov	x0, x19
	mov	w1, #65535
	bl	_hw_atl_rpfl2broadcast_count_threshold_set
	mov	x0, x19
	mov	w1, #0
	bl	_hw_atl_rdm_rx_dca_en_set
	mov	x0, x19
	mov	w1, #0
	bl	_hw_atl_rdm_rx_dca_mode_set
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_aq_hw_err_from_flags
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_ATL_A0_MAC_MAX,4,2          ; @HW_ATL_A0_MAC_MAX
	.no_dead_strip	_hw_atl_a0_hw_init_rx_path
.subsections_via_symbols
