	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_txdone_entry            ## -- Begin function rt2800_txdone_entry
	.p2align	4, 0x90
_rt2800_txdone_entry:                   ## @rt2800_txdone_entry
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	callq	_get_skb_frame_desc
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	$0, -88(%rbp)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rt2x00_desc_read
	movl	%eax, %ebx
	movq	_TXWI_W0_MCS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field32
	movl	%eax, %r14d
	movq	_TXWI_W0_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field32
	movl	%eax, %r13d
	movq	_TX_STA_FIFO_MCS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_rt2x00_get_field32
	movl	%eax, %ebx
	movq	_TX_STA_FIFO_TX_AGGRE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_rt2x00_get_field32
	movl	%eax, %r15d
	movq	_TX_STA_FIFO_WCID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_rt2x00_get_field32
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_TX_STA_FIFO_TX_ACK_REQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_rt2x00_get_field32
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%r15d, %eax
	xorl	$1, %eax
	orl	%r13d, %eax
	sete	%al
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	cmpl	%r14d, %ebx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_rt2800_rate_from_status
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_3:
	leaq	-88(%rbp), %rbx
	cmpl	$1, %r15d
	je	LBB0_5
## %bb.4:
	cmpl	$1, %r13d
	jne	LBB0_6
LBB0_5:
	movq	_TXDONE_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	___set_bit
LBB0_6:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_8
## %bb.7:
	movq	_TXDONE_NO_ACK_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	___set_bit
LBB0_8:
	movq	_TX_STA_FIFO_TX_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_rt2x00_get_field32
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movq	_TXDONE_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	___set_bit
	subl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	jg	LBB0_12
## %bb.10:
	movl	$0, -96(%rbp)
	jmp	LBB0_14
LBB0_11:
	movq	_TXDONE_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	___set_bit
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
LBB0_12:
	movl	%r14d, -96(%rbp)
	testl	%r14d, %r14d
	je	LBB0_14
## %bb.13:
	movq	_TXDONE_FALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	___set_bit
LBB0_14:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.18:
	leaq	-96(%rbp), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_rt2x00lib_txdone
	jmp	LBB0_19
LBB0_15:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_WCID_START@GOTPCREL(%rip), %r14
	cmpl	(%r14), %r15d
	setge	%al
	movq	_WCID_END@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	setle	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movslq	(%r14), %rcx
	movslq	%r15d, %rdx
	subq	%rcx, %rdx
	movq	(%rax,%rdx,8), %rbx
LBB0_17:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	leaq	-96(%rbp), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_rt2x00lib_txdone_nomatch
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_19:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXWI_W0_MCS,4,2                ## @TXWI_W0_MCS
	.comm	_TXWI_W0_AMPDU,4,2              ## @TXWI_W0_AMPDU
	.comm	_TX_STA_FIFO_MCS,4,2            ## @TX_STA_FIFO_MCS
	.comm	_TX_STA_FIFO_TX_AGGRE,4,2       ## @TX_STA_FIFO_TX_AGGRE
	.comm	_TX_STA_FIFO_WCID,4,2           ## @TX_STA_FIFO_WCID
	.comm	_TX_STA_FIFO_TX_ACK_REQUIRED,4,2 ## @TX_STA_FIFO_TX_ACK_REQUIRED
	.comm	_TXDONE_AMPDU,4,2               ## @TXDONE_AMPDU
	.comm	_TXDONE_NO_ACK_REQ,4,2          ## @TXDONE_NO_ACK_REQ
	.comm	_TX_STA_FIFO_TX_SUCCESS,4,2     ## @TX_STA_FIFO_TX_SUCCESS
	.comm	_TXDONE_SUCCESS,4,2             ## @TXDONE_SUCCESS
	.comm	_TXDONE_FAILURE,4,2             ## @TXDONE_FAILURE
	.comm	_TXDONE_FALLBACK,4,2            ## @TXDONE_FALLBACK
	.comm	_WCID_START,4,2                 ## @WCID_START
	.comm	_WCID_END,4,2                   ## @WCID_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_txdone_entry            ; -- Begin function rt2800_txdone_entry
	.p2align	2
_rt2800_txdone_entry:                   ; @rt2800_txdone_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x20, x2
	mov	x24, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
	ldr	x8, [x23, #8]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w0, [x0]
	bl	_get_skb_frame_desc
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	add	x8, sp, #32
	add	x22, x8, #8
	str	xzr, [sp, #40]
	mov	x0, x20
	mov	w1, #0
	bl	_rt2x00_desc_read
	mov	x20, x0
Lloh0:
	adrp	x8, _TXWI_W0_MCS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXWI_W0_MCS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rt2x00_get_field32
	mov	x25, x0
Lloh3:
	adrp	x8, _TXWI_W0_AMPDU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TXWI_W0_AMPDU@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rt2x00_get_field32
	mov	x27, x0
Lloh6:
	adrp	x8, _TX_STA_FIFO_MCS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TX_STA_FIFO_MCS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_rt2x00_get_field32
	mov	x26, x0
Lloh9:
	adrp	x8, _TX_STA_FIFO_TX_AGGRE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TX_STA_FIFO_TX_AGGRE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_rt2x00_get_field32
	mov	x28, x0
Lloh12:
	adrp	x8, _TX_STA_FIFO_WCID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TX_STA_FIFO_WCID@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_rt2x00_get_field32
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
Lloh15:
	adrp	x8, _TX_STA_FIFO_TX_ACK_REQUIRED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TX_STA_FIFO_TX_ACK_REQUIRED@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_rt2x00_get_field32
	mov	x20, x0
	cmp	w28, #1
	ccmp	w27, #0, #0, eq
	ccmp	w26, w25, #4, eq
	cset	w0, ne
	bl	_unlikely
	cbz	w21, LBB0_2
; %bb.1:
	cbz	x0, LBB0_3
LBB0_2:
	ldr	w2, [x23, #4]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x24
	bl	_rt2800_rate_from_status
	mov	x25, x26
LBB0_3:
	cmp	w28, #1
	ccmp	w27, #1, #4, ne
	b.ne	LBB0_5
; %bb.4:
Lloh18:
	adrp	x8, _TXDONE_AMPDU@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TXDONE_AMPDU@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x22
	bl	___set_bit
LBB0_5:
	cbnz	w20, LBB0_7
; %bb.6:
Lloh21:
	adrp	x8, _TXDONE_NO_ACK_REQ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TXDONE_NO_ACK_REQ@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x22
	bl	___set_bit
LBB0_7:
Lloh24:
	adrp	x8, _TX_STA_FIFO_TX_SUCCESS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TX_STA_FIFO_TX_SUCCESS@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_rt2x00_get_field32
	cbz	w0, LBB0_10
; %bb.8:
Lloh27:
	adrp	x8, _TXDONE_SUCCESS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TXDONE_SUCCESS@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x22
	bl	___set_bit
	subs	w8, w25, w26
	b.gt	LBB0_11
; %bb.9:
	str	wzr, [sp, #32]
	b	LBB0_13
LBB0_10:
Lloh30:
	adrp	x8, _TXDONE_FAILURE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TXDONE_FAILURE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x22
	bl	___set_bit
	ldr	w8, [x23]
LBB0_11:
	str	w8, [sp, #32]
	cbz	w8, LBB0_13
; %bb.12:
Lloh33:
	adrp	x8, _TXDONE_FALLBACK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TXDONE_FALLBACK@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	mov	x1, x22
	bl	___set_bit
LBB0_13:
	cbz	w21, LBB0_15
; %bb.14:
	add	x1, sp, #32
	mov	x0, x19
	bl	_rt2x00lib_txdone
	b	LBB0_19
LBB0_15:
	bl	_rcu_read_lock
Lloh36:
	adrp	x20, _WCID_START@GOTPAGE
Lloh37:
	ldr	x20, [x20, _WCID_START@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w21, [sp, #20]                  ; 4-byte Folded Reload
	cmp	w21, w8
Lloh38:
	adrp	x8, _WCID_END@GOTPAGE
Lloh39:
	ldr	x8, [x8, _WCID_END@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	ccmp	w21, w8, #0, ge
	cset	w0, le
	bl	_likely
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	w9, [x20]
	sub	w9, w21, w9
	ldr	x8, [x8, w9, sxtw #3]
	b	LBB0_18
LBB0_17:
	mov	x8, #0
LBB0_18:
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	x8, [x9]
	add	x1, sp, #32
	mov	x0, x19
	bl	_rt2x00lib_txdone_nomatch
	bl	_rcu_read_unlock
LBB0_19:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_TXWI_W0_MCS,4,2                ; @TXWI_W0_MCS
	.comm	_TXWI_W0_AMPDU,4,2              ; @TXWI_W0_AMPDU
	.comm	_TX_STA_FIFO_MCS,4,2            ; @TX_STA_FIFO_MCS
	.comm	_TX_STA_FIFO_TX_AGGRE,4,2       ; @TX_STA_FIFO_TX_AGGRE
	.comm	_TX_STA_FIFO_WCID,4,2           ; @TX_STA_FIFO_WCID
	.comm	_TX_STA_FIFO_TX_ACK_REQUIRED,4,2 ; @TX_STA_FIFO_TX_ACK_REQUIRED
	.comm	_TXDONE_AMPDU,4,2               ; @TXDONE_AMPDU
	.comm	_TXDONE_NO_ACK_REQ,4,2          ; @TXDONE_NO_ACK_REQ
	.comm	_TX_STA_FIFO_TX_SUCCESS,4,2     ; @TX_STA_FIFO_TX_SUCCESS
	.comm	_TXDONE_SUCCESS,4,2             ; @TXDONE_SUCCESS
	.comm	_TXDONE_FAILURE,4,2             ; @TXDONE_FAILURE
	.comm	_TXDONE_FALLBACK,4,2            ; @TXDONE_FALLBACK
	.comm	_WCID_START,4,2                 ; @WCID_START
	.comm	_WCID_END,4,2                   ; @WCID_END
.subsections_via_symbols
