	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_rx_extract_amsdu
_ath10k_htt_rx_extract_amsdu:           ## @ath10k_htt_rx_extract_amsdu
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_skb_queue_empty
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_2:
	movq	%r14, %rdi
	callq	_skb_queue_empty
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_3
## %bb.10:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_RX_MSDU_END_INFO0_LAST_MSDU@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	___skb_queue_tail
	movq	(%rbx), %rax
	movl	-4(%rax), %ebx
	movl	(%r12), %edi
	callq	___cpu_to_le32
	testl	%ebx, %eax
	je	LBB0_4
LBB0_6:
	movq	%r14, %rdi
	callq	_skb_peek_tail
	movq	(%rax), %rax
	movl	-4(%rax), %ebx
	movl	(%r12), %edi
	callq	___cpu_to_le32
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ebx, %ecx
	jne	LBB0_9
## %bb.7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_skb_queue_splice_init
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RX_MSDU_END_INFO0_LAST_MSDU,4,2 ## @RX_MSDU_END_INFO0_LAST_MSDU
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_ath10k_htt_rx_extract_amsdu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_htt_rx_extract_amsdu
_ath10k_htt_rx_extract_amsdu:           ; @ath10k_htt_rx_extract_amsdu
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_skb_queue_empty
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_skb_queue_empty
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_6
; %bb.3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh4:
	adrp	x22, _RX_MSDU_END_INFO0_LAST_MSDU@GOTPAGE
Lloh5:
	ldr	x22, [x22, _RX_MSDU_END_INFO0_LAST_MSDU@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	___skb_dequeue
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	___skb_queue_tail
	ldr	x8, [x21]
	ldur	w21, [x8, #-4]
	ldr	w0, [x22]
	bl	___cpu_to_le32
	tst	w0, w21
	b.eq	LBB0_7
LBB0_9:
	mov	x0, x20
	bl	_skb_peek_tail
	ldr	x8, [x0]
	ldur	w21, [x8, #-4]
	ldr	w0, [x22]
	bl	___cpu_to_le32
	tst	w0, w21
	b.eq	LBB0_11
; %bb.10:
	mov	w0, #0
	b	LBB0_5
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	bl	_skb_queue_splice_init
Lloh6:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RX_MSDU_END_INFO0_LAST_MSDU,4,2 ; @RX_MSDU_END_INFO0_LAST_MSDU
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_ath10k_htt_rx_extract_amsdu
.subsections_via_symbols
