	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_ll2_rxq_completion
_qed_ll2_rxq_completion:                ## @qed_ll2_rxq_completion
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	$0, -56(%rbp)
	xorl	%r13d, %r13d
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_spin_lock_irqsave
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	movq	%rax, %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_qed_chain_get_cons_idx
	movl	$0, %r14d
	cmpq	%rax, %r12
	jne	LBB0_4
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	leaq	-56(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_qed_ll2_rxq_handle_completion
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %r14d
	cmpq	%r13, %r12
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_qed_chain_consume
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_qed_chain_get_cons_idx
	movq	%rax, %r13
	movq	_QED_MSG_LL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %r9d
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	_DP_VERBOSE
	movl	(%r14), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	leaq	-56(%rbp), %rcx
	callq	_qed_ll2_handle_slowpath
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	cmpq	%r13, %r12
	jne	LBB0_4
LBB0_8:
	movq	-56(%rbp), %r13
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_spin_unlock_irqrestore
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_MSG_LL2,4,2                ## @QED_MSG_LL2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LL2 [sw. cons %04x, fw. at %04x] - Got Packet of type %02x\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_qed_ll2_rxq_completion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_ll2_rxq_completion
_qed_ll2_rxq_completion:                ; @qed_ll2_rxq_completion
	.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	x19, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	mov	x0, x1
	mov	x1, #0
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	mov	x21, x0
	add	x22, x19, #4
	mov	x0, x22
	bl	_qed_chain_get_cons_idx
	cmp	x21, x0
	b.ne	LBB0_2
; %bb.1:
	mov	x1, #0
	mov	w25, #0
	b	LBB0_10
LBB0_2:
Lloh0:
	adrp	x26, _QED_MSG_LL2@GOTPAGE
Lloh1:
	ldr	x26, [x26, _QED_MSG_LL2@GOTPAGEOFF]
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
Lloh4:
	adrp	x27, _EIO@GOTPAGE
Lloh5:
	ldr	x27, [x27, _EIO@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	mov	w4, #0
	bl	_qed_ll2_rxq_handle_completion
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x0
	cmp	x21, x24
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_qed_chain_consume
	mov	x25, x0
	mov	x0, x22
	bl	_qed_chain_get_cons_idx
	mov	x24, x0
	ldr	w1, [x26]
	ldr	w5, [x25]
	mov	x0, x20
	mov	x2, x23
	mov	x3, x24
	mov	x4, x21
	bl	_DP_VERBOSE
	ldr	w8, [x25]
	sub	w9, w8, #129
	cmp	w9, #2
	b.lo	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	bl	_qed_ll2_handle_slowpath
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x27]
	neg	w25, w8
	cmp	x21, x24
	b.ne	LBB0_5
LBB0_9:
	ldr	x1, [sp, #8]
LBB0_10:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x25
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_MSG_LL2,4,2                ; @QED_MSG_LL2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LL2 [sw. cons %04x, fw. at %04x] - Got Packet of type %02x\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_qed_ll2_rxq_completion
.subsections_via_symbols
