	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_rx_build_skb
_qede_rx_build_skb:                     ## @qede_rx_build_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %rbx
	leaq	(%r8,%rcx), %rax
	cmpq	(%rdi), %rax
	jle	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_qede_build_skb
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qede_realloc_rx_buffer
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	(%r14), %edi
	callq	_page_ref_inc
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
	xorl	%r13d, %r13d
	jmp	LBB0_7
LBB0_1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %ebx
	movl	8(%rdi), %edi
	movq	_QEDE_RX_HDR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_netdev_alloc_skb
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	xorl	%r13d, %r13d
	jmp	LBB0_7
LBB0_5:
	addl	%r15d, %ebx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_skb_reserve
	movl	(%r14), %edi
	callq	_page_address
	addq	%rax, %rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_skb_put_data
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qede_reuse_page
LBB0_6:
	movq	%rbx, %rdi
	callq	_qede_rx_bd_ring_consume
LBB0_7:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QEDE_RX_HDR_SIZE,4,2           ## @QEDE_RX_HDR_SIZE
	.no_dead_strip	_qede_rx_build_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_rx_build_skb
_qede_rx_build_skb:                     ; @qede_rx_build_skb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	ldr	x8, [x0]
	add	x9, x4, x3
	cmp	x9, x8
	b.le	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_qede_build_skb
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	bl	_qede_realloc_rx_buffer
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w0, [x21]
	bl	_page_ref_inc
	mov	x0, x20
	bl	_dev_kfree_skb_any
	mov	x20, #0
	b	LBB0_7
LBB0_3:
	ldr	w24, [x21, #4]
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _QEDE_RX_HDR_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QEDE_RX_HDR_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_netdev_alloc_skb
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
	mov	x20, #0
	b	LBB0_7
LBB0_5:
	add	w24, w24, w23
	mov	x0, x20
	mov	x1, x23
	bl	_skb_reserve
	ldr	w0, [x21]
	bl	_page_address
	add	x1, x0, x24
	mov	x0, x20
	mov	x2, x22
	bl	_skb_put_data
	mov	x0, x19
	mov	x1, x21
	bl	_qede_reuse_page
LBB0_6:
	mov	x0, x19
	bl	_qede_rx_bd_ring_consume
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QEDE_RX_HDR_SIZE,4,2           ; @QEDE_RX_HDR_SIZE
	.no_dead_strip	_qede_rx_build_skb
.subsections_via_symbols
