	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_fill_frag_skb
_qede_fill_frag_skb:                    ## @qede_fill_frag_skb
	.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
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	32(%rsi), %r14
	movq	(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	24(%rsi), %r13
	movq	_NUM_RX_BDS_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	(%rdx,%rdx,2), %r12
	movq	(%r13,%r12,8), %rax
	movq	16(%r13,%r12,8), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_QEDE_AGG_STATE_START@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	andq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	shlq	$4, %r15
	leaq	(%r14,%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r13,%r12,8), %esi
	leal	1(%rsi), %eax
	movl	%eax, 8(%r13,%r12,8)
	movl	(%r14,%r15), %edx
	movq	16(%rbx), %rcx
	addq	8(%r14,%r15), %rcx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %r8d
	callq	_skb_fill_page_desc
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_qede_realloc_rx_buffer
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_page_ref_inc
LBB0_3:
	leaq	(,%r12,8), %rax
	addq	%r13, %rax
	movq	_QEDE_AGG_STATE_ERROR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_qede_recycle_rx_bd_ring
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	callq	_qede_rx_bd_ring_consume
	addl	%r14d, 8(%r15)
	movl	8(%rbx), %eax
	addl	%eax, 4(%r15)
	addl	%r14d, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_RX_BDS_MAX,8,3             ## @NUM_RX_BDS_MAX
	.comm	_QEDE_AGG_STATE_START,8,3       ## @QEDE_AGG_STATE_START
	.comm	_QEDE_AGG_STATE_ERROR,8,3       ## @QEDE_AGG_STATE_ERROR
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_qede_fill_frag_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_fill_frag_skb
_qede_fill_frag_skb:                    ; @qede_fill_frag_skb
	.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, x3
	mov	x23, x2
	mov	x19, x1
	ldr	x22, [x1]
Lloh0:
	adrp	x8, _NUM_RX_BDS_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_RX_BDS_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x27, [x8]
	ldp	x25, x26, [x1, #24]
	mov	w8, #24
	madd	x24, x2, x8, x25
	ldr	x21, [x24, #16]
	ldr	x8, [x24]
Lloh3:
	adrp	x9, _QEDE_AGG_STATE_START@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QEDE_AGG_STATE_START@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.1:
	and	x8, x27, x22
	add	x22, x26, x8, lsl #4
	mov	w8, #24
	madd	x8, x23, x8, x25
	ldr	w1, [x8, #8]
	add	w9, w1, #1
	str	w9, [x8, #8]
	ldr	w2, [x22]
	ldr	x8, [x22, #8]
	ldr	x9, [x19, #16]
	add	x3, x9, x8
	mov	x0, x21
	mov	x4, x20
	bl	_skb_fill_page_desc
	mov	x0, x19
	mov	x1, x22
	bl	_qede_realloc_rx_buffer
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w0, [x22]
	bl	_page_ref_inc
LBB0_3:
Lloh6:
	adrp	x8, _QEDE_AGG_STATE_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QEDE_AGG_STATE_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x24]
	mov	x0, x19
	mov	w1, #1
	bl	_qede_recycle_rx_bd_ring
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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_5:
	mov	x0, x19
	bl	_qede_rx_bd_ring_consume
	mov	w0, #0
	ldp	w9, w8, [x21, #4]
	add	w8, w8, w20
	str	w8, [x21, #8]
	ldr	w8, [x19, #8]
	ldr	w10, [x21]
	add	w8, w9, w8
	add	w9, w10, w20
	stp	w9, w8, [x21]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_RX_BDS_MAX,8,3             ; @NUM_RX_BDS_MAX
	.comm	_QEDE_AGG_STATE_START,8,3       ; @QEDE_AGG_STATE_START
	.comm	_QEDE_AGG_STATE_ERROR,8,3       ; @QEDE_AGG_STATE_ERROR
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_qede_fill_frag_skb
.subsections_via_symbols
