	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __mt76_tx_status_skb_done
___mt76_tx_status_skb_done:             ## @__mt76_tx_status_skb_done
	.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	%rcx, %r14
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_mt76_tx_skb_cb
	movq	_MT_TX_CB_DMA_DONE@GOTPCREL(%rip), %rcx
	movq	_MT_TX_CB_TXS_DONE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	orl	(%rax), %ebx
	movl	%ebx, (%rax)
	movl	%ebx, %eax
	notl	%eax
	testl	%eax, %edx
	jne	LBB0_4
## %bb.1:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	___skb_unlink
	movq	_MT_TX_CB_TXS_FAILED@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_ieee80211_tx_info_clear_status
	movq	8(%r15), %rax
	movl	$-1, (%rax)
	movq	_IEEE80211_TX_STAT_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_3:
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___skb_queue_tail               ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_TX_CB_DMA_DONE,4,2          ## @MT_TX_CB_DMA_DONE
	.comm	_MT_TX_CB_TXS_DONE,4,2          ## @MT_TX_CB_TXS_DONE
	.comm	_MT_TX_CB_TXS_FAILED,4,2        ## @MT_TX_CB_TXS_FAILED
	.comm	_IEEE80211_TX_STAT_ACK,4,2      ## @IEEE80211_TX_STAT_ACK
	.no_dead_strip	___mt76_tx_status_skb_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __mt76_tx_status_skb_done
___mt76_tx_status_skb_done:             ; @__mt76_tx_status_skb_done
	.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	x19, x3
	mov	x23, x2
	mov	x20, x1
	mov	x22, x0
	mov	x0, x1
	bl	_IEEE80211_SKB_CB
	mov	x21, x0
	mov	x0, x20
	bl	_mt76_tx_skb_cb
Lloh0:
	adrp	x8, _MT_TX_CB_DMA_DONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_TX_CB_DMA_DONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MT_TX_CB_TXS_DONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MT_TX_CB_TXS_DONE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x0]
	orr	w23, w9, w23
	str	w23, [x0]
	bics	wzr, w8, w23
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x20
	mov	x1, x22
	bl	___skb_unlink
Lloh6:
	adrp	x8, _MT_TX_CB_TXS_FAILED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MT_TX_CB_TXS_FAILED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_ieee80211_tx_info_clear_status
	ldr	x8, [x21, #8]
	mov	w9, #-1
	str	w9, [x8]
Lloh9:
	adrp	x8, _IEEE80211_TX_STAT_ACK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_TX_STAT_ACK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
LBB0_3:
	mov	x0, x19
	mov	x1, 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
	b	___skb_queue_tail
LBB0_4:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_TX_CB_DMA_DONE,4,2          ; @MT_TX_CB_DMA_DONE
	.comm	_MT_TX_CB_TXS_DONE,4,2          ; @MT_TX_CB_TXS_DONE
	.comm	_MT_TX_CB_TXS_FAILED,4,2        ; @MT_TX_CB_TXS_FAILED
	.comm	_IEEE80211_TX_STAT_ACK,4,2      ; @IEEE80211_TX_STAT_ACK
	.no_dead_strip	___mt76_tx_status_skb_done
.subsections_via_symbols
