	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wcn36xx_dxe_tx_ack_ind         ## -- Begin function wcn36xx_dxe_tx_ack_ind
	.p2align	4, 0x90
_wcn36xx_dxe_tx_ack_ind:                ## @wcn36xx_dxe_tx_ack_ind
	.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
	movl	%esi, %r14d
	movq	%rdi, %r12
	leaq	4(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r12), %r15
	movq	$0, 8(%r12)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	callq	_IEEE80211_SKB_CB
	cmpl	$1, %r14d
	jne	LBB0_3
## %bb.2:
	movq	_IEEE80211_TX_STAT_ACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
LBB0_3:
	movq	_WCN36XX_DBG_DXE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	callq	_wcn36xx_dbg
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_ieee80211_tx_status_irqsafe
	movl	(%r12), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_wake_queues          ## TAILCALL
LBB0_4:
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wcn36xx_warn                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Spurious TX complete indication\n"

	.comm	_IEEE80211_TX_STAT_ACK,4,2      ## @IEEE80211_TX_STAT_ACK
	.comm	_WCN36XX_DBG_DXE,4,2            ## @WCN36XX_DBG_DXE
L_.str.1:                               ## @.str.1
	.asciz	"dxe tx ack status: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wcn36xx_dxe_tx_ack_ind         ; -- Begin function wcn36xx_dxe_tx_ack_ind
	.p2align	2
_wcn36xx_dxe_tx_ack_ind:                ; @wcn36xx_dxe_tx_ack_ind
	.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
	add	x22, x0, #4
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	x21, [x19, #8]
	str	xzr, [x19, #8]
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	cbz	x21, LBB0_4
; %bb.1:
	mov	x0, x21
	bl	_IEEE80211_SKB_CB
	cmp	w20, #1
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _IEEE80211_TX_STAT_ACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_TX_STAT_ACK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
LBB0_3:
Lloh3:
	adrp	x8, _WCN36XX_DBG_DXE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WCN36XX_DBG_DXE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_wcn36xx_dbg
	ldr	w0, [x19]
	mov	x1, x21
	bl	_ieee80211_tx_status_irqsafe
	ldr	w0, [x19]
	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
	b	_ieee80211_wake_queues
LBB0_4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_wcn36xx_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Spurious TX complete indication\n"

	.comm	_IEEE80211_TX_STAT_ACK,4,2      ; @IEEE80211_TX_STAT_ACK
	.comm	_WCN36XX_DBG_DXE,4,2            ; @WCN36XX_DBG_DXE
l_.str.1:                               ; @.str.1
	.asciz	"dxe tx ack status: %d\n"

.subsections_via_symbols
