	.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_fill
_hw_atl_b0_hw_ring_rx_fill:             ## @hw_atl_b0_hw_ring_rx_fill
	.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
	movl	%edx, %eax
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpl	%edx, (%rsi)
	je	LBB0_3
## %bb.1:
	movq	_HW_ATL_B0_RXD_SIZE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	movl	(%r15), %esi
	imull	%eax, %esi
	movl	%eax, %edi
	movl	(%rcx,%rdi,4), %ecx
	movl	%ecx, 4(%rdx,%rsi,4)
	movl	$0, (%rdx,%rsi,4)
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_aq_ring_next_dx
	cmpl	(%rbx), %eax
	jne	LBB0_2
LBB0_3:
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_hw_atl_reg_rx_dma_desc_tail_ptr_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_B0_RXD_SIZE,4,2         ## @HW_ATL_B0_RXD_SIZE
	.no_dead_strip	_hw_atl_b0_hw_ring_rx_fill
.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_fill
_hw_atl_b0_hw_ring_rx_fill:             ; @hw_atl_b0_hw_ring_rx_fill
	.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	x8, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w9, [x1]
	cmp	w9, w2
	b.eq	LBB0_3
; %bb.1:
Lloh0:
	adrp	x21, _HW_ATL_B0_RXD_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HW_ATL_B0_RXD_SIZE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	mul	w9, w9, w8
	ldp	x11, x10, [x20, #8]
	add	x9, x10, w9, uxtw #2
	ldr	w10, [x11, w8, uxtw #2]
	stp	wzr, w10, [x9]
	mov	x0, x20
	mov	x1, x8
	bl	_aq_ring_next_dx
	mov	x8, x0
	ldr	w9, [x20]
	cmp	w0, w9
	b.ne	LBB0_2
LBB0_3:
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	x1, x8
	bl	_hw_atl_reg_rx_dma_desc_tail_ptr_set
	mov	x0, x19
	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
	b	_aq_hw_err_from_flags
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_ATL_B0_RXD_SIZE,4,2         ; @HW_ATL_B0_RXD_SIZE
	.no_dead_strip	_hw_atl_b0_hw_ring_rx_fill
.subsections_via_symbols
