	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ionic_rx_fill                  ## -- Begin function ionic_rx_fill
	.p2align	4, 0x90
_ionic_rx_fill:                         ## @ionic_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	%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	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	addl	(%rax), %r14d
	callq	_ionic_q_space_avail
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	%eax, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	leaq	-44(%rbp), %rdx
	callq	_ionic_rx_skb_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	(%r15), %rax
	movq	8(%rax), %r12
	movl	-44(%rbp), %edi
	callq	_cpu_to_le64
	movl	%eax, 8(%r12)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movl	%eax, 4(%r12)
	movq	_IONIC_RXQ_DESC_OPCODE_SIMPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	(%r15), %rax
	movl	(%rax), %eax
	incl	%eax
	xorl	%esi, %esi
	movq	_IONIC_RX_RING_DOORBELL_STRIDE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	sete	%sil
	movq	_ionic_rx_clean@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_ionic_rxq_post
	decl	%r13d
	jne	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_IONIC_RXQ_DESC_OPCODE_SIMPLE,4,2 ## @IONIC_RXQ_DESC_OPCODE_SIMPLE
	.comm	_IONIC_RX_RING_DOORBELL_STRIDE,4,2 ## @IONIC_RX_RING_DOORBELL_STRIDE
	.comm	_ionic_rx_clean,4,2             ## @ionic_rx_clean
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ionic_rx_fill                  ; -- Begin function ionic_rx_fill
	.p2align	2
_ionic_rx_fill:                         ; @ionic_rx_fill
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w21, [x8]
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	bl	_ionic_q_space_avail
	cbz	w0, LBB0_4
; %bb.1:
	mov	x20, x0
	add	w21, w22, w21
Lloh3:
	adrp	x23, _IONIC_RXQ_DESC_OPCODE_SIMPLE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IONIC_RXQ_DESC_OPCODE_SIMPLE@GOTPAGEOFF]
Lloh5:
	adrp	x24, _IONIC_RX_RING_DOORBELL_STRIDE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _IONIC_RX_RING_DOORBELL_STRIDE@GOTPAGEOFF]
Lloh7:
	adrp	x25, _ionic_rx_clean@GOTPAGE
Lloh8:
	ldr	x25, [x25, _ionic_rx_clean@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x21
	bl	_ionic_rx_skb_alloc
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	ldr	x8, [x19]
	ldr	x26, [x8, #8]
	ldr	w0, [sp, #12]
	bl	_cpu_to_le64
	str	w0, [x26, #8]
	mov	x0, x21
	bl	_cpu_to_le16
	ldr	w8, [x23]
	stp	w8, w0, [x26]
	ldr	x8, [x19]
	ldr	w8, [x8]
	add	w8, w8, #1
	ldr	w9, [x24]
	tst	w8, w9
	cset	w1, eq
	ldr	w2, [x25]
	mov	x0, x19
	mov	x3, x22
	bl	_ionic_rxq_post
	subs	w20, w20, #1
	b.ne	LBB0_2
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_IONIC_RXQ_DESC_OPCODE_SIMPLE,4,2 ; @IONIC_RXQ_DESC_OPCODE_SIMPLE
	.comm	_IONIC_RX_RING_DOORBELL_STRIDE,4,2 ; @IONIC_RX_RING_DOORBELL_STRIDE
	.comm	_ionic_rx_clean,4,2             ; @ionic_rx_clean
.subsections_via_symbols
