	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rdi, %r15
	movl	(%rsi), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	8(%rsi), %r14
	shlq	$2, %r14
	movq	48(%rsi), %r13
	addq	%r14, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	addq	56(%rsi), %r14
	movq	___GFP_NOWARN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	24(%rdi), %edi
	callq	_dev_to_node
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%r12d, %r12d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.1:
	movl	(%r15), %edx
	testl	%edx, %edx
	je	LBB0_12
## %bb.2:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	___GFP_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	-56(%rbp), %esi                 ## 4-byte Folded Reload
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_alloc_pages_node
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_3
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	72(%rax)
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	testl	%r12d, %r12d
	jne	LBB0_13
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_23:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, 8(%rax)
	movq	48(%rax), %r13
	movq	56(%rax), %r14
LBB0_12:
	testl	%r12d, %r12d
	je	LBB0_15
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_alloc_pages_node
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	24(%r13), %edi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_dma_map_page
	movl	%eax, %ebx
	movl	24(%r13), %edi
	movl	%eax, %esi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=1
	decl	%r12d
	movl	%ebx, %edi
	callq	_cpu_to_be64
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, (%r13)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_set_rx_sw_desc
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incl	(%rcx)
	movq	8(%rcx), %rax
	incq	%rax
	movq	%rax, 8(%rcx)
	cmpq	16(%rcx), %rax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_13 Depth=1
	addq	$4, %r13
	addq	$4, %r14
	testl	%r12d, %r12d
	jne	LBB0_13
	jmp	LBB0_15
LBB0_3:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%r13), %edi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movzbl	(%r13), %ecx
	shll	%cl, %eax
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_dma_map_page
	movl	%eax, %ebx
	movl	24(%r13), %edi
	movl	%eax, %esi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_RX_LARGE_PG_BUF@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_cpu_to_be64
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, (%r14)
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_set_rx_sw_desc
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incl	(%rcx)
	movq	8(%rcx), %rax
	incq	%rax
	movq	%rax, 8(%rcx)
	cmpq	16(%rcx), %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, 8(%rax)
	movq	48(%rax), %r14
	movq	56(%rax), %r13
	cmpl	$1, %r12d
	jne	LBB0_10
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %r14
	addq	$4, %r13
	cmpl	$1, %r12d
	je	LBB0_15
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %edx
	movq	___GFP_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	-56(%rbp), %esi                 ## 4-byte Folded Reload
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_alloc_pages_node
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	decl	%r12d
	testq	%rax, %rax
	je	LBB0_4
	jmp	LBB0_11
LBB0_14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	68(%rax)
	jmp	LBB0_15
LBB0_19:
	movq	%r15, %rdi
	callq	_put_page
	jmp	LBB0_20
LBB0_5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	___free_pages
LBB0_20:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	64(%rax)
LBB0_15:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %r15d
	subl	-84(%rbp), %r15d                ## 4-byte Folded Reload
	addl	%r15d, 24(%rbx)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ring_fl_db
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_fl_starving
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	xorl	%eax, %eax
	callq	_smp_wmb
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	40(%rax)
	movq	32(%rax), %rdi
	subq	8(%r14), %rdi
	movl	4(%r14), %esi
	callq	_set_bit
LBB0_17:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___GFP_NOWARN,4,2               ## @__GFP_NOWARN
	.comm	___GFP_COMP,4,2                 ## @__GFP_COMP
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_RX_LARGE_PG_BUF,4,2            ## @RX_LARGE_PG_BUF
	.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:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x8, [x1, #8]
	lsl	x8, x8, #2
	ldp	x9, x10, [x1, #48]
	add	x28, x9, x8
	add	x23, x10, x8
Lloh0:
	adrp	x8, ___GFP_NOWARN@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___GFP_NOWARN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w22, w8, w3
	ldr	w0, [x0, #24]
	bl	_dev_to_node
	mov	x24, x0
	cbz	w21, LBB0_10
; %bb.1:
	ldr	w2, [x19]
	cbz	w2, LBB0_10
; %bb.2:
Lloh3:
	adrp	x27, ___GFP_COMP@GOTPAGE
Lloh4:
	ldr	x27, [x27, ___GFP_COMP@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x27]
	orr	w1, w8, w22
	mov	x0, x24
	bl	_alloc_pages_node
	mov	x25, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #24]
Lloh5:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19]
	lsl	w3, w8, w9
Lloh8:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	x1, x25
	mov	w2, #0
	bl	_dma_map_page
	mov	x26, x0
	ldr	w0, [x19, #24]
	mov	x1, x26
	bl	_dma_mapping_error
	bl	_unlikely
	cbnz	x0, LBB0_19
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh11:
	adrp	x8, _RX_LARGE_PG_BUF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RX_LARGE_PG_BUF@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w26, w8, w26
	mov	x0, x26
	bl	_cpu_to_be64
	str	w0, [x28], #4
	mov	x0, x23
	mov	x1, x25
	mov	x2, x26
	bl	_set_rx_sw_desc
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldp	x8, x9, [x20, #8]
	add	x8, x8, #1
	str	x8, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x20, #8]
	ldp	x28, x23, [x20, #48]
	subs	w21, w21, #1
	b.ne	LBB0_8
	b	LBB0_21
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #4
	subs	w21, w21, #1
	b.eq	LBB0_21
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x19]
	b	LBB0_3
LBB0_9:
	ldr	w8, [x20, #72]
	add	w8, w8, #1
	str	w8, [x20, #72]
LBB0_10:
	cbz	w21, LBB0_21
; %bb.11:
Lloh14:
	adrp	x27, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh15:
	ldr	x27, [x27, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	str	xzr, [x20, #8]
	ldp	x28, x23, [x20, #48]
	cbz	w21, LBB0_21
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x22
	mov	w2, #0
	bl	_alloc_pages_node
	mov	x25, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x19, #24]
Lloh16:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	ldr	w4, [x27]
	mov	x1, x25
	mov	w2, #0
	bl	_dma_map_page
	mov	x26, x0
	ldr	w0, [x19, #24]
	mov	x1, x26
	bl	_dma_mapping_error
	bl	_unlikely
	cbnz	x0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	sub	w21, w21, #1
	mov	x0, x26
	bl	_cpu_to_be64
	str	w0, [x28], #4
	mov	x0, x23
	mov	x1, x25
	mov	x2, x26
	bl	_set_rx_sw_desc
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldp	x8, x9, [x20, #8]
	add	x8, x8, #1
	str	x8, [x20, #8]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #4
	cbnz	w21, LBB0_13
	b	LBB0_21
LBB0_17:
	ldr	w8, [x20, #68]
	add	w8, w8, #1
	str	w8, [x20, #68]
	b	LBB0_21
LBB0_18:
	mov	x0, x25
	bl	_put_page
	b	LBB0_20
LBB0_19:
	ldr	w1, [x19]
	mov	x0, x25
	bl	___free_pages
LBB0_20:
	ldr	w8, [x20, #64]
	add	w8, w8, #1
	str	w8, [x20, #64]
LBB0_21:
	ldr	w8, [x20]
	ldr	w9, [x20, #24]
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	sub	w21, w8, w10
	add	w8, w9, w21
	str	w8, [x20, #24]
	mov	x0, x19
	mov	x1, x20
	bl	_ring_fl_db
	mov	x0, x19
	mov	x1, x20
	bl	_fl_starving
	bl	_unlikely
	cbz	x0, LBB0_23
; %bb.22:
	bl	_smp_wmb
	ldr	w8, [x20, #40]
	add	w8, w8, #1
	str	w8, [x20, #40]
	ldr	x8, [x20, #32]
	ldr	x9, [x19, #8]
	sub	x0, x8, x9
	ldr	w1, [x19, #4]
	bl	_set_bit
LBB0_23:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	___GFP_NOWARN,4,2               ; @__GFP_NOWARN
	.comm	___GFP_COMP,4,2                 ; @__GFP_COMP
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_RX_LARGE_PG_BUF,4,2            ; @RX_LARGE_PG_BUF
	.no_dead_strip	_refill_fl
.subsections_via_symbols
