	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_rx_netbuf_pop
_ath10k_htt_rx_netbuf_pop:              ## @ath10k_htt_rx_netbuf_pop
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	addq	$32, %rdi
	callq	_lockdep_assert_held
	cmpq	$0, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movslq	20(%rbx), %r12
	movq	24(%rbx), %rax
	movq	(%rax,%r12,8), %r15
	movq	$0, (%rax,%r12,8)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ath10k_htt_reset_paddrs_ring
	leal	1(%r12), %eax
	andl	16(%rbx), %eax
	movl	%eax, 20(%rbx)
	decq	8(%rbx)
	movq	(%rbx), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_ATH10K_SKB_RXCB
	movl	(%rax), %r13d
	movq	(%r15), %rbx
	movq	%r15, %rdi
	callq	_skb_tailroom
	addq	%rax, %rbx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	callq	_dma_unmap_single
	movq	_ATH10K_DBG_HTT_DUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	8(%r15), %r12d
	movq	(%r15), %rbx
	movq	%r15, %rdi
	callq	_skb_tailroom
	addq	%rax, %rbx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	movl	%r12d, %r8d
	movq	%rbx, %r9
	callq	_ath10k_dbg_dump
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ath10k_warn
	xorl	%r15d, %r15d
LBB0_3:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tried to pop sk_buff from an empty rx ring\n"

	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_ATH10K_DBG_HTT_DUMP,4,2        ## @ATH10K_DBG_HTT_DUMP
L_.str.1:                               ## @.str.1
	.asciz	"htt rx netbuf pop: "

	.no_dead_strip	_ath10k_htt_rx_netbuf_pop
.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_netbuf_pop
_ath10k_htt_rx_netbuf_pop:              ; @ath10k_htt_rx_netbuf_pop
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x0
	ldr	x19, [x0], #32
	bl	_lockdep_assert_held
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldrsw	x22, [x21, #20]
	ldr	x8, [x21, #24]
	lsl	x9, x22, #3
	ldr	x20, [x8, x9]
	str	xzr, [x8, x9]
	mov	x0, x21
	mov	x1, x22
	bl	_ath10k_htt_reset_paddrs_ring
	add	w8, w22, #1
	ldr	w9, [x21, #16]
	and	w8, w9, w8
	str	w8, [x21, #20]
	ldp	x9, x8, [x21]
	sub	x8, x8, #1
	str	x8, [x21, #8]
	ldr	w21, [x9]
	mov	x0, x20
	bl	_ATH10K_SKB_RXCB
	ldr	w22, [x0]
	ldr	x23, [x20]
	mov	x0, x20
	bl	_skb_tailroom
	add	x2, x0, x23
Lloh0:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_dma_unmap_single
Lloh3:
	adrp	x8, _ATH10K_DBG_HTT_DUMP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_DBG_HTT_DUMP@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	w22, [x20, #8]
	ldr	x23, [x20]
	mov	x0, x20
	bl	_skb_tailroom
	add	x5, x0, x23
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	mov	x4, x22
	bl	_ath10k_dbg_dump
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
	mov	x20, #0
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tried to pop sk_buff from an empty rx ring\n"

	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_ATH10K_DBG_HTT_DUMP,4,2        ; @ATH10K_DBG_HTT_DUMP
l_.str.1:                               ; @.str.1
	.asciz	"htt rx netbuf pop: "

	.no_dead_strip	_ath10k_htt_rx_netbuf_pop
.subsections_via_symbols
