	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hw_atl_b0_hw_ring_rx_init
_hw_atl_b0_hw_ring_rx_init:             ## @hw_atl_b0_hw_ring_rx_init
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rsi), %edx
	movl	8(%rsi), %r13d
	movq	(%rdi), %rax
	xorl	%r12d, %r12d
	cmpl	$0, (%rax)
	setne	%r12b
	xorl	%esi, %esi
	callq	_hw_atl_rdm_rx_desc_en_set
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hw_atl_rdm_rx_desc_head_splitting_set
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_hw_atl_reg_rx_dma_desc_base_addresslswset
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_hw_atl_reg_rx_dma_desc_base_addressmswset
	movl	(%rbx), %esi
	movl	4(%rbx), %edx
	shrl	$3, %esi
	movq	%r14, %rdi
	callq	_hw_atl_rdm_rx_desc_len_set
	movq	_AQ_CFG_RX_FRAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	shrl	$10, %esi
	movq	%r14, %rdi
	callq	_hw_atl_rdm_rx_desc_data_buff_size_set
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hw_atl_rdm_rx_desc_head_buff_size_set
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hw_atl_rdm_rx_desc_head_splitting_set
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_hw_atl_rpo_rx_desc_vlan_stripping_set
	movl	4(%r15), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_hw_atl_itr_irq_map_rx_set
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_hw_atl_itr_irq_map_en_rx_set
	movl	(%r15), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_hw_atl_rdm_cpu_id_set
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hw_atl_rdm_rx_desc_dca_en_set
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hw_atl_rdm_rx_head_dca_en_set
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hw_atl_rdm_rx_pld_dca_en_set
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_aq_hw_err_from_flags           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AQ_CFG_RX_FRAME_MAX,4,2        ## @AQ_CFG_RX_FRAME_MAX
	.no_dead_strip	_hw_atl_b0_hw_ring_rx_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hw_atl_b0_hw_ring_rx_init
_hw_atl_b0_hw_ring_rx_init:             ; @hw_atl_b0_hw_ring_rx_init
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w23, [x8]
	ldp	w2, w22, [x1, #4]
	mov	w1, #0
	bl	_hw_atl_rdm_rx_desc_en_set
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #0
	bl	_hw_atl_rdm_rx_desc_head_splitting_set
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	x1, x22
	bl	_hw_atl_reg_rx_dma_desc_base_addresslswset
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_hw_atl_reg_rx_dma_desc_base_addressmswset
	ldp	w8, w2, [x20]
	lsr	w1, w8, #3
	mov	x0, x19
	bl	_hw_atl_rdm_rx_desc_len_set
Lloh0:
	adrp	x8, _AQ_CFG_RX_FRAME_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AQ_CFG_RX_FRAME_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsr	w1, w8, #10
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_hw_atl_rdm_rx_desc_data_buff_size_set
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #0
	bl	_hw_atl_rdm_rx_desc_head_buff_size_set
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #0
	bl	_hw_atl_rdm_rx_desc_head_splitting_set
	cmp	w23, #0
	cset	w1, ne
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_hw_atl_rpo_rx_desc_vlan_stripping_set
	ldr	w1, [x21, #4]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_hw_atl_itr_irq_map_rx_set
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #1
	bl	_hw_atl_itr_irq_map_en_rx_set
	ldr	w1, [x21]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_hw_atl_rdm_cpu_id_set
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #0
	bl	_hw_atl_rdm_rx_desc_dca_en_set
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #0
	bl	_hw_atl_rdm_rx_head_dca_en_set
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #0
	bl	_hw_atl_rdm_rx_pld_dca_en_set
	mov	x0, x19
	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
	b	_aq_hw_err_from_flags
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AQ_CFG_RX_FRAME_MAX,4,2        ; @AQ_CFG_RX_FRAME_MAX
	.no_dead_strip	_hw_atl_b0_hw_ring_rx_init
.subsections_via_symbols
