	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _ath10k_ce_completed_recv_next_nolock
__ath10k_ce_completed_recv_next_nolock: ## @_ath10k_ce_completed_recv_next_nolock
	.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	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rdi), %r13
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r13), %ebx
	movq	16(%r13), %rdi
	movl	%ebx, %esi
	callq	_CE_DEST_RING_TO_DESC
	movq	%rax, %r14
	movq	(%rax), %rdi
	callq	___le16_to_cpu
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	$0, (%r14)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movq	%rax, (%r12)
LBB0_4:
	cmpl	$5, (%r15)
	je	LBB0_6
## %bb.5:
	movq	8(%r13), %rax
	movq	$0, (%rax,%rbx,8)
LBB0_6:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_CE_RING_IDX_INCR
	movl	%eax, 4(%r13)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	__ath10k_ce_completed_recv_next_nolock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _ath10k_ce_completed_recv_next_nolock
__ath10k_ce_completed_recv_next_nolock: ; @_ath10k_ce_completed_recv_next_nolock
	.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	x23, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x25, [x0, #8]
	ldp	w20, w19, [x25]
	ldr	x0, [x25, #16]
	mov	x1, x19
	bl	_CE_DEST_RING_TO_DESC
	mov	x24, x0
	ldr	x0, [x0]
	bl	___le16_to_cpu
	cbz	w0, LBB0_6
; %bb.1:
	str	xzr, [x24]
	str	w0, [x23]
	cbz	x22, LBB0_3
; %bb.2:
	ldr	x8, [x25, #8]
	ldr	x8, [x8, x19, lsl #3]
	str	x8, [x22]
LBB0_3:
	ldr	w8, [x21]
	cmp	w8, #5
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x25, #8]
	str	xzr, [x8, x19, lsl #3]
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_CE_RING_IDX_INCR
	mov	x8, x0
	mov	w0, #0
	str	w8, [x25, #4]
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	__ath10k_ce_completed_recv_next_nolock
.subsections_via_symbols
