	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_rx_int
_qede_rx_int:                           ## @qede_rx_int
	.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
	movl	%esi, %ebx
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r15
	movq	32(%r15), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	movq	%rax, %r12
	leaq	24(%r15), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_qed_chain_get_cons_idx
	movq	%rax, %r14
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_rmb
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	cmpq	%r12, %r14
	je	LBB0_1
## %bb.2:
	movl	$0, %r12d
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.3:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_qede_rx_process_cqe
	movq	%rax, %r13
	addl	%r14d, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_qed_chain_recycle_consumed
	movq	%r14, %rdi
	callq	_qed_chain_get_cons_idx
	incl	%r12d
	cmpq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%ebx, %r12d
	jl	LBB0_4
	jmp	LBB0_6
LBB0_1:
	xorl	%r12d, %r12d
LBB0_6:
	addl	%r13d, (%r15)
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	cmpq	8(%r15), %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_qede_alloc_rx_buffer
	testq	%rax, %rax
	je	LBB0_7
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_qede_update_rx_prod
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_qede_rx_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_rx_int
_qede_rx_int:                           ; @qede_rx_int
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x1
	mov	x23, x0
	ldp	x20, x19, [x0]
	ldr	x8, [x19, #32]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	mov	x24, x0
	add	x25, x19, #24
	mov	x0, x25
	bl	_qed_chain_get_cons_idx
	mov	x21, x0
	bl	_rmb
	cmp	x21, x24
	ccmp	w22, #1, #8, ne
	b.ge	LBB0_2
; %bb.1:
	mov	w26, #0
	mov	w21, #0
	b	LBB0_5
LBB0_2:
	mov	w21, #0
	mov	w26, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_qede_rx_process_cqe
	add	w26, w26, w0
	mov	x0, x25
	bl	_qed_chain_recycle_consumed
	mov	x0, x25
	bl	_qed_chain_get_cons_idx
	add	w21, w21, #1
	cmp	x0, x24
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w21, w22
	b.lt	LBB0_3
LBB0_5:
	ldr	w8, [x19]
	add	w8, w8, w26
	str	w8, [x19]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x19, #8]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	w1, #0
	bl	_qede_alloc_rx_buffer
	cbz	x0, LBB0_6
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	bl	_qede_update_rx_prod
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_qede_rx_int
.subsections_via_symbols
