	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function bnad_cq_setup_skb_frags
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bnad_cq_setup_skb_frags:               ## @bnad_cq_setup_skb_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	(%rdi), %r15
	movq	24(%rdi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	4(%rax,%r15,8), %edi
	callq	_bna_is_small_rxq
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movq	16(%r13), %rax
	movq	(%rax,%rcx,8), %rax
	movq	24(%rax), %r12
	movq	(%rax), %rcx
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	(,%rcx,8), %rcx
	leaq	(%rcx,%rcx,2), %r14
	movq	8(%rax,%r14), %rdi
	callq	_page_address
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rcx
	addq	16(%rcx,%r14), %rax
	movq	%rax, %rdi
	callq	_prefetch
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rax,2), %r12
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	leaq	(,%r12,8), %r15
	addq	%r13, %r15
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_BNA_QE_INDX_INC
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movq	_dma_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	callq	_dma_unmap_addr
	movq	(%r13,%r12,8), %rdx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dma_unmap_page
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,8), %edi
	callq	_ntohs
	movq	%rax, %rbx
	movl	(%r13,%r12,8), %eax
	addl	%eax, 8(%r15)
	addq	%rbx, %r14
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	(%rax), %esi
	movq	8(%r13,%r12,8), %rdx
	movq	16(%r13,%r12,8), %rcx
	movq	%r15, %rdi
	movq	%rbx, %r8
	callq	_skb_fill_page_desc
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13,%r12,8)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movl	8(%r13), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_BNA_QE_INDX_INC
	decq	%rbx
	jne	LBB0_2
LBB0_3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%r14d, 4(%rax)
	addl	%r14d, (%rax)
	addq	$72, %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	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_bnad_cq_setup_skb_frags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnad_cq_setup_skb_frags
_bnad_cq_setup_skb_frags:               ; @bnad_cq_setup_skb_frags
	.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	x20, x2
	mov	x19, x1
	mov	x25, x0
	ldr	x8, [x0, #24]
	ldr	x24, [x0]
	add	x23, x8, x24, lsl #3
	ldr	w0, [x23, #4]
	bl	_bna_is_small_rxq
	cmp	x0, #0
	cset	w8, ne
	ldr	x9, [x25, #16]
	ldr	x28, [x9, w8, uxtw #3]
	ldp	x26, x27, [x28, #16]
	ldr	x21, [x28]
	ldr	x8, [x27]
	add	x9, x21, x21, lsl #1
	lsl	x22, x9, #3
	add	x8, x8, x22
	ldr	x0, [x8, #8]
	bl	_page_address
	ldr	x8, [x27]
	add	x8, x8, x22
	ldr	x8, [x8, #16]
	add	x0, x8, x0
	bl	_prefetch
	cbz	x20, LBB0_3
; %bb.1:
	mov	x22, #0
	stp	x26, x23, [sp]                  ; 16-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	x20, x20, #1
	ldr	x8, [x27]
	mov	x26, x24
	mov	w9, #24
	madd	x24, x21, x9, x8
	ldr	w1, [x28, #8]
	mov	x0, x21
	bl	_BNA_QE_INDX_INC
	mov	x23, x28
	mov	x28, x25
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x25, [x8]
Lloh0:
	adrp	x8, _dma_addr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dma_addr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_dma_unmap_addr
	mov	x1, x0
	ldr	x2, [x24]
Lloh3:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x25
	bl	_dma_unmap_page
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_ntohs
	mov	x25, x0
	ldr	w8, [x24]
	ldr	w9, [x19, #8]
	add	w8, w9, w8
	str	w8, [x19, #8]
	add	x22, x0, x22
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w1, [x0]
	ldp	x2, x3, [x24, #8]
	mov	x0, x19
	mov	x4, x25
	mov	x25, x28
	mov	x28, x23
	bl	_skb_fill_page_desc
	stp	xzr, xzr, [x24]
	mov	x24, x26
	ldr	w1, [x25, #8]
	mov	x0, x26
	bl	_BNA_QE_INDX_INC
	cbnz	x20, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	ldr	d0, [x19]
	dup.2s	v1, w22
	add.2s	v0, v0, v1
	str	d0, [x19]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dma_addr,4,2                   ; @dma_addr
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_bnad_cq_setup_skb_frags
.subsections_via_symbols
