	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function refill_fl
_refill_fl:                             ## @refill_fl
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	leaq	(,%rax,4), %rcx
	addq	32(%rbx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax,2), %r13
	shlq	$3, %r13
	addq	40(%rbx), %r13
	xorl	%r15d, %r15d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%rbx)
	xorb	$1, 8(%rbx)
	movq	32(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	40(%rbx), %r13
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	incl	%r15d
	cmpl	%r15d, -44(%rbp)                ## 4-byte Folded Reload
	je	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 64(%rbx)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	60(%rbx), %r8d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_alloc_pg_chunk
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %r14
	addq	16(%r13), %r14
	movq	_dma_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_dma_unmap_addr_set
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_add_one_rx_chunk
	movl	(%r12), %edi
	movq	48(%rbx), %rdx
	movq	_SGE_PG_RSVD@GOTPCREL(%rip), %rax
	subq	(%rax), %rdx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	callq	_pci_dma_sync_single_for_device
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	48(%rbx), %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, (%r13)
	movq	(%rax), %rdi
	movq	48(%rbx), %rsi
	movl	8(%rbx), %r8d
	movl	(%r12), %r9d
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_add_one_rx_buf
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	incq	%rax
	movq	%rax, (%rbx)
	cmpq	16(%rbx), %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, -56(%rbp)                   ## 8-byte Folded Spill
	addq	$24, %r13
	jmp	LBB0_13
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_5:
	incl	56(%rbx)
	jmp	LBB0_15
LBB0_14:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_15
LBB0_8:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_clear_rx_desc
LBB0_15:
	addl	%r15d, 24(%rbx)
	addl	%r15d, 28(%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ring_fl_db
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dma_addr,4,2                   ## @dma_addr
	.comm	_SGE_PG_RSVD,8,3                ## @SGE_PG_RSVD
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.no_dead_strip	_refill_fl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function refill_fl
_refill_fl:                             ; @refill_fl
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	cbz	w2, LBB0_11
; %bb.1:
	mov	x23, x3
	mov	x22, x2
	mov	w21, #0
	ldr	x8, [x19]
	ldp	x9, x10, [x19, #32]
	add	x25, x9, x8, lsl #2
	mov	w9, #24
	madd	x24, x8, x9, x10
Lloh0:
	adrp	x28, _SGE_PG_RSVD@GOTPAGE
Lloh1:
	ldr	x28, [x28, _SGE_PG_RSVD@GOTPAGEOFF]
Lloh2:
	adrp	x27, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x19]
	ldr	w8, [x19, #8]
	eor	w8, w8, #0x1
	str	w8, [x19, #8]
	ldp	x25, x24, [x19, #32]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	cmp	w22, w21
	b.eq	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w4, [x19, #60]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	mov	x3, x23
	bl	_alloc_pg_chunk
	bl	_unlikely
	cbnz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x8, [x24, #8]
	add	x26, x9, x8
Lloh4:
	adrp	x8, _dma_addr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _dma_addr@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x24
	mov	x2, x26
	bl	_dma_unmap_addr_set
	ldr	w2, [x19, #8]
	mov	x0, x26
	mov	x1, x25
	bl	_add_one_rx_chunk
	ldr	w0, [x20]
	ldr	x8, [x19, #48]
	ldr	x9, [x28]
	sub	x2, x8, x9
	ldr	w3, [x27]
	mov	x1, x26
	bl	_pci_dma_sync_single_for_device
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #48]
	mov	x1, x23
	bl	_alloc_skb
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [x24]
	ldr	x0, [x0]
	ldr	x1, [x19, #48]
	ldr	w4, [x19, #8]
	ldr	w5, [x20]
	mov	x2, x25
	mov	x3, x24
	bl	_add_one_rx_buf
	bl	_unlikely
	cbnz	x0, LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #4
	add	x24, x24, #24
	b	LBB0_3
LBB0_11:
	mov	w21, #0
	b	LBB0_15
LBB0_12:
	ldr	w8, [x19, #56]
	add	w8, w8, #1
	str	w8, [x19, #56]
	b	LBB0_15
LBB0_13:
	mov	x21, x22
	b	LBB0_15
LBB0_14:
	ldr	w0, [x20]
	mov	x1, x19
	mov	x2, x24
	bl	_clear_rx_desc
LBB0_15:
	ldr	d0, [x19, #24]
	dup.2s	v1, w21
	add.2s	v0, v0, v1
	str	d0, [x19, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_ring_fl_db
	mov	x0, x21
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_dma_addr,4,2                   ; @dma_addr
	.comm	_SGE_PG_RSVD,8,3                ; @SGE_PG_RSVD
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.no_dead_strip	_refill_fl
.subsections_via_symbols
