	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function minstrel_tx_status
_minstrel_tx_status:                    ## @minstrel_tx_status
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdi, %r14
	movq	%r8, %rdi
	callq	_IEEE80211_SKB_CB
	movl	(%rax), %edx
	movq	_IEEE80211_TX_STAT_ACK@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	testl	%edx, (%rcx)
	setne	%cl
	movq	_IEEE80211_TX_MAX_RATES@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_9
## %bb.1:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r14
	movb	%cl, %r12b
	addq	$16, %r14
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	(%r13), %rax
	addq	$16, %r14
	cmpq	%rax, %r15
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-16(%r14), %rsi
	testq	%rsi, %rsi
	js	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_rix_to_ndx
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-8(%r14), %edx
	movq	24(%rbx), %rcx
	movl	%eax, %eax
	addl	%edx, 4(%rcx,%rax,8)
	movl	(%r13), %edx
	decl	%edx
	cmpq	%rdx, %r15
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%r14)
	jns	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	%r12d, (%rcx,%rax,8)
	jmp	LBB0_7
LBB0_8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_9:
	movq	_IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_11
## %bb.10:
	incl	16(%rbx)
LBB0_11:
	movq	(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_13
## %bb.12:
	decq	%rax
	movq	%rax, (%rbx)
LBB0_13:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	(%r14), %eax
	cltq
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	movslq	%eax, %rsi
	addq	8(%rbx), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_minstrel_update_stats          ## TAILCALL
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_STAT_ACK,4,2      ## @IEEE80211_TX_STAT_ACK
	.comm	_IEEE80211_TX_MAX_RATES,4,2     ## @IEEE80211_TX_MAX_RATES
	.comm	_IEEE80211_TX_CTL_RATE_CTRL_PROBE,4,2 ## @IEEE80211_TX_CTL_RATE_CTRL_PROBE
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_minstrel_tx_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function minstrel_tx_status
_minstrel_tx_status:                    ; @minstrel_tx_status
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x0
	mov	x0, x4
	bl	_IEEE80211_SKB_CB
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IEEE80211_TX_STAT_ACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_TX_STAT_ACK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w22, ne
Lloh3:
	adrp	x23, _IEEE80211_TX_MAX_RATES@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IEEE80211_TX_MAX_RATES@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x21, x0
	mov	x24, #0
	ldr	x8, [x0, #8]
	add	x25, x8, #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x23]
	add	x25, x25, #16
	cmp	x24, x8
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x1, [x25, #-16]
	tbnz	x1, #63, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_rix_to_ndx
	tbnz	w0, #31, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w9, [x25, #-8]
	ldr	x8, [x19, #24]
	add	x10, x8, w0, uxtw #3
	ldr	w11, [x10, #4]
	add	w9, w11, w9
	str	w9, [x10, #4]
	ldr	w9, [x23]
	sub	w9, w9, #1
	cmp	x24, x9
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x25]
	tbz	x9, #63, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, w0
	lsl	x9, x9, #3
	ldr	w10, [x8, x9]
	add	w10, w10, w22
	str	w10, [x8, x9]
	b	LBB0_2
LBB0_8:
	ldr	w8, [x21]
LBB0_9:
Lloh5:
	adrp	x9, _IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
LBB0_11:
	ldr	x8, [x19]
	subs	x8, x8, #1
	b.lt	LBB0_13
; %bb.12:
	str	x8, [x19]
LBB0_13:
Lloh8:
	adrp	x8, _jiffies@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w9, [x20]
Lloh11:
	adrp	x10, _HZ@GOTPAGE
Lloh12:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	mul	w9, w10, w9
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	add	x1, x8, w9, sxtw
	bl	_time_after
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_minstrel_update_stats
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_STAT_ACK,4,2      ; @IEEE80211_TX_STAT_ACK
	.comm	_IEEE80211_TX_MAX_RATES,4,2     ; @IEEE80211_TX_MAX_RATES
	.comm	_IEEE80211_TX_CTL_RATE_CTRL_PROBE,4,2 ; @IEEE80211_TX_CTL_RATE_CTRL_PROBE
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_minstrel_tx_status
.subsections_via_symbols
