	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76_tx_status_skb_add         ## -- Begin function mt76_tx_status_skb_add
	.p2align	4, 0x90
_mt76_tx_status_skb_add:                ## @mt76_tx_status_skb_add
	.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	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_mt76_tx_skb_cb
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movq	%rax, %r12
	movl	(%rbx), %eax
	movq	_IEEE80211_TX_CTL_NO_ACK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
LBB0_2:
	movq	_MT_PACKET_ID_NO_ACK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_IEEE80211_TX_CTL_REQ_TX_STATUS@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_10
## %bb.6:
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	(%r15), %ebx
	incl	%ebx
	movq	_MT_PACKET_ID_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	%ebx, (%r15)
	movq	_MT_PACKET_ID_NO_ACK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_8
## %bb.7:
	movq	_MT_PACKET_ID_NO_SKB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_9
LBB0_8:
	movq	_MT_PACKET_ID_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, (%r15)
LBB0_9:
	movl	4(%r15), %eax
	movl	%eax, 8(%r12)
	movl	%ebx, (%r12)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	___skb_queue_tail
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_4
LBB0_10:
	movq	_MT_PACKET_ID_NO_SKB@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_PACKET_ID_NO_ACK,4,2        ## @MT_PACKET_ID_NO_ACK
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ## @IEEE80211_TX_CTL_NO_ACK
	.comm	_IEEE80211_TX_CTL_REQ_TX_STATUS,4,2 ## @IEEE80211_TX_CTL_REQ_TX_STATUS
	.comm	_IEEE80211_TX_CTL_RATE_CTRL_PROBE,4,2 ## @IEEE80211_TX_CTL_RATE_CTRL_PROBE
	.comm	_MT_PACKET_ID_NO_SKB,4,2        ## @MT_PACKET_ID_NO_SKB
	.comm	_MT_PACKET_ID_MASK,4,2          ## @MT_PACKET_ID_MASK
	.comm	_MT_PACKET_ID_FIRST,4,2         ## @MT_PACKET_ID_FIRST
	.comm	_jiffies,4,2                    ## @jiffies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76_tx_status_skb_add         ; -- Begin function mt76_tx_status_skb_add
	.p2align	2
_mt76_tx_status_skb_add:                ; @mt76_tx_status_skb_add
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x2
	bl	_IEEE80211_SKB_CB
	mov	x23, x0
	mov	x0, x20
	bl	_mt76_tx_skb_cb
	cbz	x21, LBB0_2
; %bb.1:
	ldr	w8, [x23]
Lloh0:
	adrp	x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _MT_PACKET_ID_NO_ACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_PACKET_ID_NO_ACK@GOTPAGEOFF]
LBB0_3:
	ldr	w23, [x8]
LBB0_4:
	mov	x0, x23
	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
LBB0_5:
Lloh5:
	adrp	x9, _IEEE80211_TX_CTL_REQ_TX_STATUS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_TX_CTL_REQ_TX_STATUS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_9
; %bb.6:
	mov	x22, x0
	mov	x0, x19
	bl	_spin_lock_bh
	mov	x0, x22
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	w8, [x21]
Lloh11:
	adrp	x9, _MT_PACKET_ID_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MT_PACKET_ID_MASK@GOTPAGEOFF]
	add	w8, w8, #1
Lloh13:
	ldr	w9, [x9]
	and	w23, w8, w9
	str	w23, [x21]
Lloh14:
	adrp	x8, _MT_PACKET_ID_NO_ACK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MT_PACKET_ID_NO_ACK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _MT_PACKET_ID_NO_SKB@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MT_PACKET_ID_NO_SKB@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w23, w8
	ccmp	w23, w9, #4, ne
	b.ne	LBB0_8
; %bb.7:
Lloh20:
	adrp	x8, _MT_PACKET_ID_FIRST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MT_PACKET_ID_FIRST@GOTPAGEOFF]
Lloh22:
	ldr	w23, [x8]
	str	w23, [x21]
LBB0_8:
	ldr	w8, [x21, #4]
	str	w23, [x22]
Lloh23:
	adrp	x9, _jiffies@GOTPAGE
Lloh24:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #4]
	mov	x0, x19
	mov	x1, x20
	bl	___skb_queue_tail
	mov	x0, x19
	bl	_spin_unlock_bh
	b	LBB0_4
LBB0_9:
Lloh26:
	adrp	x8, _MT_PACKET_ID_NO_SKB@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MT_PACKET_ID_NO_SKB@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_PACKET_ID_NO_ACK,4,2        ; @MT_PACKET_ID_NO_ACK
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ; @IEEE80211_TX_CTL_NO_ACK
	.comm	_IEEE80211_TX_CTL_REQ_TX_STATUS,4,2 ; @IEEE80211_TX_CTL_REQ_TX_STATUS
	.comm	_IEEE80211_TX_CTL_RATE_CTRL_PROBE,4,2 ; @IEEE80211_TX_CTL_RATE_CTRL_PROBE
	.comm	_MT_PACKET_ID_NO_SKB,4,2        ; @MT_PACKET_ID_NO_SKB
	.comm	_MT_PACKET_ID_MASK,4,2          ; @MT_PACKET_ID_MASK
	.comm	_MT_PACKET_ID_FIRST,4,2         ; @MT_PACKET_ID_FIRST
	.comm	_jiffies,4,2                    ; @jiffies
.subsections_via_symbols
