	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rxq_refill
_rxq_refill:                            ## @rxq_refill
	.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
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rax), %rax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rax
	cqto
	idivq	%rcx
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%edx, 16(%r14)
	movq	$0, 32(%r14)
	movq	_ETH_HW_IP_ALIGN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_skb_reserve
	movq	(%r14), %rax
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	8(%r14), %rax
	jge	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	64(%r14), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r12
	movq	_SKB_DMA_REALIGN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_skb_reserve
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	(%r14)
	movslq	16(%r14), %r13
	movq	56(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_skb_end_pointer
	movl	%eax, %ebx
	movl	(%r12), %esi
	subl	%esi, %ebx
	movq	48(%r14), %rdi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edx
	callq	_dma_map_single
	leaq	(,%r13,2), %r15
	addq	%r13, %r15
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 8(%rcx,%r15,4)
	movl	%ebx, (%rcx,%r15,4)
	movq	40(%r14), %rax
	movq	%r12, (%rax,%r13,8)
	xorl	%eax, %eax
	callq	_dma_wmb
	movq	_RX_EN_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_BUF_OWNED_BY_DMA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx,%r15,4)
	xorl	%eax, %eax
	callq	_dma_wmb
	incq	%r13
	movq	8(%r14), %rcx
	movq	%r13, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	jmp	LBB0_11
LBB0_3:
	movq	(%r14), %rax
LBB0_4:
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rcx
	addq	(%rax), %rcx
	movq	%r14, %rdi
	addq	$24, %rdi
	movq	%rcx, 24(%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SKB_DMA_REALIGN,8,3            ## @SKB_DMA_REALIGN
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_BUF_OWNED_BY_DMA,4,2           ## @BUF_OWNED_BY_DMA
	.comm	_RX_EN_INT,4,2                  ## @RX_EN_INT
	.comm	_ETH_HW_IP_ALIGN,8,3            ## @ETH_HW_IP_ALIGN
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_rxq_refill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rxq_refill
_rxq_refill:                            ; @rxq_refill
	.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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.1:
	mov	w25, #12
Lloh0:
	adrp	x26, _BUF_OWNED_BY_DMA@GOTPAGE
Lloh1:
	ldr	x26, [x26, _BUF_OWNED_BY_DMA@GOTPAGEOFF]
Lloh2:
	adrp	x27, _RX_EN_INT@GOTPAGE
Lloh3:
	ldr	x27, [x27, _RX_EN_INT@GOTPAGEOFF]
Lloh4:
	adrp	x28, _ETH_HW_IP_ALIGN@GOTPAGE
Lloh5:
	ldr	x28, [x28, _ETH_HW_IP_ALIGN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldrsw	x23, [x19, #16]
	ldr	x24, [x19, #56]
	mov	x0, x21
	bl	_skb_end_pointer
	ldr	w1, [x21]
	sub	w22, w0, w1
	ldr	x0, [x19, #48]
Lloh6:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x2, x22
	bl	_dma_map_single
	madd	x24, x23, x25, x24
	str	w0, [x24, #8]
	str	w22, [x24]
	ldr	x8, [x19, #40]
	str	x21, [x8, x23, lsl #3]
	bl	_dma_wmb
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w9, w8
	str	w8, [x24, #4]
	bl	_dma_wmb
	add	x8, x23, #1
	ldr	x9, [x19, #8]
	sdiv	x10, x8, x9
	msub	w8, w10, w9, w8
	str	w8, [x19, #16]
	str	xzr, [x19, #32]
	ldr	x1, [x28]
	mov	x0, x21
	bl	_skb_reserve
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #64]
	mov	x0, x20
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
Lloh9:
	adrp	x8, _SKB_DMA_REALIGN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SKB_DMA_REALIGN@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x8]
	cbz	x1, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_skb_reserve
	b	LBB0_2
LBB0_6:
	ldr	x8, [x19]
LBB0_7:
	cbz	x8, LBB0_9
; %bb.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
LBB0_9:
Lloh12:
	adrp	x8, _jiffies@GOTPAGE
Lloh13:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _HZ@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh17:
	ldrsw	x9, [x9]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	add	x8, x8, w9, sxtw
	str	x8, [x19, #24]!
	mov	x0, x19
	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
	b	_add_timer
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SKB_DMA_REALIGN,8,3            ; @SKB_DMA_REALIGN
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_BUF_OWNED_BY_DMA,4,2           ; @BUF_OWNED_BY_DMA
	.comm	_RX_EN_INT,4,2                  ; @RX_EN_INT
	.comm	_ETH_HW_IP_ALIGN,8,3            ; @ETH_HW_IP_ALIGN
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_rxq_refill
.subsections_via_symbols
