	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xennet_fill_frags
_xennet_fill_frags:                     ## @xennet_fill_frags
	.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	%rdx, %r13
	movq	%rdi, %rbx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r12d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ebx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r15
	movq	%r13, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	movslq	%r12d, %rax
	shlq	$4, %rax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%rax), %r13
	addq	$12, %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_RING_GET_RESPONSE
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rax
	movl	12(%rax), %eax
	movl	%eax, (%r13)
	movl	8(%r15), %eax
	movl	%eax, -4(%r13)
	movq	(%r15), %rax
	movq	%rax, -12(%r13)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	$0, (%rax)
	movq	%r14, %rdi
	callq	_kfree_skb
	incl	%r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	___skb_dequeue
	movq	%rax, %r14
	addq	$16, %r13
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xennet_fill_frags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xennet_fill_frags
_xennet_fill_frags:                     ; @xennet_fill_frags
	.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, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_skb_shinfo
	mov	x19, x0
	ldr	w26, [x0]
	ldr	w23, [x22]
	ldr	x25, [x0, #8]
	mov	x0, x20
	bl	___skb_dequeue
	cbz	x0, LBB0_3
; %bb.1:
	mov	x24, x0
	sxtw	x8, w26
	add	x8, x25, x8, lsl #4
	add	x27, x8, #12
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w23, w23, #1
	mov	x0, x22
	mov	x1, x23
	bl	_RING_GET_RESPONSE
	mov	x25, x0
	mov	x0, x24
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	ldr	w8, [x8, #12]
	str	w8, [x27]
	ldr	w8, [x25, #8]
	stur	w8, [x27, #-4]
	ldr	x8, [x25]
	stur	x8, [x27, #-12]
	ldr	w9, [x21]
	add	w8, w9, w8
	str	w8, [x21]
	mov	x0, x24
	bl	_skb_shinfo
	str	wzr, [x0]
	mov	x0, x24
	bl	_kfree_skb
	add	w26, w26, #1
	mov	x0, x20
	bl	___skb_dequeue
	mov	x24, x0
	add	x27, x27, #16
	cbnz	x0, LBB0_2
LBB0_3:
	str	w26, [x19]
	mov	x0, x23
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xennet_fill_frags
.subsections_via_symbols
