	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_htt_txrx_compl_task     ## -- Begin function ath10k_htt_txrx_compl_task
	.p2align	4, 0x90
_ath10k_htt_txrx_compl_task:            ## @ath10k_htt_txrx_compl_task
	.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	%esi, %r15d
	movq	%rdi, %r12
	movl	$0, -56(%rbp)
	leaq	-48(%rbp), %rdi
	callq	___skb_queue_head_init
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_ath10k_htt_rx_deliver_msdu
	cmpl	%r15d, %eax
	je	LBB0_18
## %bb.1:
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	leaq	16(%r12), %r13
	leaq	12(%r12), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ath10k_htt_rx_in_ord_ind
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movq	_EIO@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	jne	LBB0_2
LBB0_17:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_18
LBB0_5:
	leaq	8(%r12), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_atomic_read
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	callq	_ath10k_htt_rx_handle_amsdu
	movq	_EIO@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	je	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_atomic_dec
	jmp	LBB0_6
LBB0_9:
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_ath10k_htt_rx_deliver_msdu
	movl	%eax, %r15d
	cmpl	%ebx, %eax
	jge	LBB0_11
## %bb.10:
	leaq	4(%r12), %rdi
	callq	_kfifo_is_empty
	testl	%eax, %eax
	cmovel	%ebx, %r15d
LBB0_11:
	leaq	4(%r12), %r14
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_kfifo_get
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	leaq	-56(%rbp), %rbx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ath10k_txrx_tx_unref
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_kfifo_get
	testq	%rax, %rax
	jne	LBB0_13
LBB0_14:
	movq	%r12, %rdi
	callq	_ath10k_mac_tx_push_pending
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	leaq	-48(%rbp), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_skb_queue_splice_init
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	movq	%rax, %rbx
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ath10k_htt_rx_tx_fetch_ind
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_any
	movq	%r14, %rdi
	callq	___skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_16
LBB0_18:
	movq	%r12, %rdi
	callq	_ath10k_htt_rx_msdu_buff_replenish
	movl	%r15d, %eax
	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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_htt_txrx_compl_task     ; -- Begin function ath10k_htt_txrx_compl_task
	.p2align	2
_ath10k_htt_txrx_compl_task:            ; @ath10k_htt_txrx_compl_task
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
	str	wzr, [sp, #8]
	mov	x0, sp
	bl	___skb_queue_head_init
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_ath10k_htt_rx_deliver_msdu
	cmp	w0, w20
	b.eq	LBB0_17
; %bb.1:
	mov	x21, x0
	add	x22, x19, #16
	add	x23, x19, #12
Lloh0:
	adrp	x26, _EIO@GOTPAGE
Lloh1:
	ldr	x26, [x26, _EIO@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_skb_dequeue
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, x0
	mov	x0, x23
	bl	_spin_lock_bh
	mov	x0, x19
	mov	x1, x24
	bl	_ath10k_htt_rx_in_ord_ind
	mov	x25, x0
	mov	x0, x23
	bl	_spin_unlock_bh
	mov	x0, x24
	bl	_dev_kfree_skb_any
	ldr	w8, [x26]
	cmn	w25, w8
	b.ne	LBB0_2
	b	LBB0_17
LBB0_4:
	add	x22, x19, #8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_atomic_read
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_ath10k_htt_rx_handle_amsdu
	ldr	w8, [x26]
	cmn	w0, w8
	b.eq	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_atomic_dec
	b	LBB0_5
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ath10k_htt_rx_deliver_msdu
	mov	x21, x0
	cmp	w0, w20
	b.ge	LBB0_10
; %bb.9:
	add	x0, x19, #4
	bl	_kfifo_is_empty
	cmp	w0, #0
	csel	w21, w20, w21, eq
LBB0_10:
	add	x20, x19, #4
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x20
	bl	_kfifo_get
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_ath10k_txrx_tx_unref
	b	LBB0_11
LBB0_13:
	mov	x0, x19
	bl	_ath10k_mac_tx_push_pending
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x1, sp
	mov	x0, x19
	bl	_skb_queue_splice_init
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, sp
	bl	___skb_dequeue
	cbz	x0, LBB0_16
; %bb.14:
	mov	x20, x0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ath10k_htt_rx_tx_fetch_ind
	mov	x0, x20
	bl	_dev_kfree_skb_any
	mov	x0, sp
	bl	___skb_dequeue
	mov	x20, x0
	cbnz	x0, LBB0_15
LBB0_16:
	mov	x20, x21
LBB0_17:
	mov	x0, x19
	bl	_ath10k_htt_rx_msdu_buff_replenish
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
