	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76_tx_complete_skb           ## -- Begin function mt76_tx_complete_skb
	.p2align	4, 0x90
_mt76_tx_complete_skb:                  ## @mt76_tx_complete_skb
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpl	$0, (%rsi)
	je	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mt76_tx_status_lock
	movq	_MT_TX_CB_DMA_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	___mt76_tx_status_skb_done
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mt76_tx_status_unlock
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_free_txskb           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_TX_CB_DMA_DONE,4,2          ## @MT_TX_CB_DMA_DONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76_tx_complete_skb           ; -- Begin function mt76_tx_complete_skb
	.p2align	2
_mt76_tx_complete_skb:                  ; @mt76_tx_complete_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	cbz	w8, LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	bl	_mt76_tx_status_lock
Lloh0:
	adrp	x8, _MT_TX_CB_DMA_DONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_TX_CB_DMA_DONE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	___mt76_tx_status_skb_done
	add	x1, sp, #8
	mov	x0, x19
	bl	_mt76_tx_status_unlock
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	ldr	w0, [x19]
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_ieee80211_free_txskb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_TX_CB_DMA_DONE,4,2          ; @MT_TX_CB_DMA_DONE
.subsections_via_symbols
