	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function refill_free_list
_refill_free_list:                      ## @refill_free_list
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rax
	cmpq	24(%rsi), %rax
	jae	LBB0_8
## %bb.1:
	movq	%rsi, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	8(%rsi), %edi
	movl	%edi, %eax
	subl	12(%rsi), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%rsi), %r12
	movq	40(%rsi), %r14
	movq	48(%rsi), %rbx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r15
	leaq	(%rbx,%r12,8), %rbx
	leaq	(%r12,%r12,2), %rax
	leaq	(%r14,%rax,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r13), %esi
	movq	%r15, %rdi
	callq	_skb_reserve
	movl	(%r15), %esi
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_pci_map_single
	movq	%rax, %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_skb_reserve
	movq	%r15, (%rbx)
	movq	_dma_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_pci_unmap_addr_set
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r12d, %edx
	callq	_pci_unmap_len_set
	movq	%rbx, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, 16(%rbx)
	movl	%r12d, %edi
	callq	_V_CMD_LEN
	movl	%eax, %r14d
	movl	32(%r13), %edi
	callq	_V_CMD_GEN1
	orl	%r14d, %eax
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	callq	_wmb
	movl	32(%r13), %edi
	callq	_V_CMD_GEN2
	movl	%eax, 8(%rbx)
	movq	(%r13), %rcx
	movq	24(%r13), %rax
	incq	%rcx
	movq	%rcx, (%r13)
	cmpq	%rax, %rcx
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%r13)
	xorb	$1, 32(%r13)
	movq	40(%r13), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	48(%r13), %rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$24, %rbx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	addq	$8, %r15
	movq	%r15, %rbx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r13), %rcx
	incq	%rcx
	movq	%rcx, 16(%r13)
	cmpq	%rax, %rcx
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r13), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_3
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_dma_addr,4,2                   ## @dma_addr
	.no_dead_strip	_refill_free_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function refill_free_list
_refill_free_list:                      ; @refill_free_list
	.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
	ldp	x8, x9, [x1, #16]
	cmp	x8, x9
	b.hs	LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	ldp	w22, w23, [x1, #8]
	ldr	x25, [x1]
	ldp	x26, x27, [x1, #40]
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_alloc_skb
	cbz	x0, LBB0_8
; %bb.2:
	mov	x24, x0
	sub	w22, w22, w23
	add	x23, x27, x25, lsl #3
	mov	w8, #24
	madd	x26, x25, x8, x26
Lloh3:
	adrp	x28, _dma_addr@GOTPAGE
Lloh4:
	ldr	x28, [x28, _dma_addr@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #12]
	mov	x0, x24
	bl	_skb_reserve
	ldr	w1, [x24]
Lloh5:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_pci_map_single
	mov	x25, x0
	ldr	w1, [x20]
	mov	x0, x24
	bl	_skb_reserve
	mov	x27, x23
	str	x24, [x27], #8
	ldr	w1, [x28]
	mov	x0, x23
	mov	x2, x25
	bl	_pci_unmap_addr_set
	mov	x0, x23
	mov	x1, x22
	mov	x2, x22
	bl	_pci_unmap_len_set
	str	x25, [x26, #16]
	mov	x0, x22
	bl	_V_CMD_LEN
	mov	x23, x0
	ldr	w0, [x19, #32]
	bl	_V_CMD_GEN1
	orr	w8, w0, w23
	str	w8, [x26, #4]
	bl	_wmb
	ldr	w0, [x19, #32]
	bl	_V_CMD_GEN2
	str	w0, [x26, #8]
	ldr	x8, [x19]
	add	x9, x8, #1
	str	x9, [x19]
	ldr	x8, [x19, #24]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x19]
	ldr	w9, [x19, #32]
	eor	w9, w9, #0x1
	str	w9, [x19, #32]
	ldp	x26, x23, [x19, #40]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #24
	mov	x23, x27
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #16]
	add	x9, x9, #1
	str	x9, [x19, #16]
	cmp	x9, x8
	b.hs	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_alloc_skb
	mov	x24, x0
	cbnz	x0, LBB0_3
LBB0_8:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_dma_addr,4,2                   ; @dma_addr
	.no_dead_strip	_refill_free_list
.subsections_via_symbols
