	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il3945_rs_tx_status
_il3945_rs_tx_status:                   ## @il3945_rs_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, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%r8, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_D_RATE
	movq	8(%r14), %rax
	movl	(%rax), %ecx
	movq	_RATE_RETRY_TH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	cmpl	%r15d, %ecx
	cmovll	%ecx, %r15d
	movq	(%rbx), %rcx
	movq	8(%rax), %rax
	movl	(%rcx,%rax,4), %ebx
	testl	%ebx, %ebx
	js	LBB0_18
## %bb.1:
	movq	_RATE_COUNT_3945@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_18
## %bb.2:
	testq	%r12, %r12
	je	LBB0_3
## %bb.5:
	cmpl	$0, 52(%r12)
	je	LBB0_6
## %bb.7:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	incl	48(%r12)
	cmpl	$2, %r15d
	jl	LBB0_8
## %bb.9:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%ebx, %esi
	callq	_il3945_rs_next_rate
	movl	%eax, %r13d
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movslq	%ebx, %rsi
	shlq	$2, %rsi
	addq	40(%r12), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	callq	_il3945_collect_tx_data
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_D_RATE
	subl	%r14d, %r15d
	movl	%r13d, %ebx
	cmpl	$1, %r15d
	jle	LBB0_14
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %r14d
	cmpl	%r14d, %r15d
	jg	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leal	-1(%r15), %r14d
	movl	%ebx, %r13d
	jmp	LBB0_13
LBB0_18:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_D_RATE                         ## TAILCALL
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_4
LBB0_8:
	movl	%ebx, %r13d
LBB0_14:
	movq	_IEEE80211_TX_STAT_ACK@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	andq	(%rbx), %rax
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.5(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_D_RATE
	movslq	%r13d, %r8
	leaq	(,%r8,4), %rsi
	addq	40(%r12), %rsi
	movq	(%r14), %rdx
	andq	(%rbx), %rdx
	movq	%r12, %rdi
	movl	$1, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_il3945_collect_tx_data
	leaq	4(%r12), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%r12)
	jne	LBB0_17
## %bb.15:
	movq	_jiffies@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	8(%r12), %rsi
	addq	32(%r12), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	(%r14), %rsi
	movq	%rsi, 24(%r12)
	movl	$1, (%r12)
	addq	8(%r12), %rsi
	addq	$16, %r12
	movq	%r12, %rdi
	callq	_mod_timer
LBB0_17:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	leaq	L_.str.8(%rip), %rdi
LBB0_4:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_D_RATE                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter\n"

	.comm	_RATE_RETRY_TH,4,2              ## @RATE_RETRY_TH
	.comm	_RATE_COUNT_3945,4,2            ## @RATE_COUNT_3945
L_.str.1:                               ## @.str.1
	.asciz	"leave: Rate out of bounds: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"leave: No STA il data to update!\n"

L_.str.3:                               ## @.str.3
	.asciz	"leave: STA il data uninitialized!\n"

L_.str.4:                               ## @.str.4
	.asciz	"Update rate %d for %d retries.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Update rate %d with %s.\n"

	.comm	_IEEE80211_TX_STAT_ACK,8,3      ## @IEEE80211_TX_STAT_ACK
L_.str.6:                               ## @.str.6
	.asciz	"success"

L_.str.7:                               ## @.str.7
	.asciz	"failure"

	.comm	_jiffies,8,3                    ## @jiffies
L_.str.8:                               ## @.str.8
	.asciz	"leave\n"

	.no_dead_strip	_il3945_rs_tx_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il3945_rs_tx_status
_il3945_rs_tx_status:                   ; @il3945_rs_tx_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x1
	mov	x21, x0
	mov	x0, x4
	bl	_IEEE80211_SKB_CB
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_RATE
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
Lloh2:
	adrp	x10, _RATE_RETRY_TH@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RATE_RETRY_TH@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	cmp	w9, w10
	csel	w26, w9, w10, lt
	ldr	x9, [x22]
	ldr	x8, [x8, #8]
	ldr	w22, [x9, x8, lsl #2]
	tbnz	w22, #31, LBB0_10
; %bb.1:
Lloh5:
	adrp	x8, _RATE_COUNT_3945@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RATE_COUNT_3945@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ge	LBB0_10
; %bb.2:
	cbz	x19, LBB0_11
; %bb.3:
	ldr	w8, [x19, #52]
	cbz	w8, LBB0_12
; %bb.4:
	ldr	w8, [x19, #48]
	add	w8, w8, #1
	str	w8, [x19, #48]
	cmp	w26, #2
	b.lt	LBB0_13
; %bb.5:
Lloh8:
	adrp	x24, l_.str.4@PAGE
Lloh9:
	add	x24, x24, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_il3945_rs_next_rate
	mov	x23, x0
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #40]
	add	x1, x8, w22, sxtw #2
	mov	x0, x19
	mov	x2, #0
	mov	x3, x25
	mov	x4, x22
	bl	_il3945_collect_tx_data
	stp	x22, x25, [sp]
	mov	x0, x24
	bl	_D_RATE
	sub	w26, w26, w25
	mov	x22, x23
	cmp	w26, #1
	b.le	LBB0_14
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w25, [x21]
	cmp	w26, w25
	b.gt	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	w25, w26, #1
	mov	x23, x22
	b	LBB0_7
LBB0_10:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	str	x22, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_D_RATE
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_12:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_13:
	mov	x23, x22
LBB0_14:
	ldr	x8, [x20]
Lloh16:
	adrp	x21, _IEEE80211_TX_STAT_ACK@GOTPAGE
Lloh17:
	ldr	x21, [x21, _IEEE80211_TX_STAT_ACK@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh18:
	adrp	x10, l_.str.6@PAGE
Lloh19:
	add	x10, x10, l_.str.6@PAGEOFF
Lloh20:
	adrp	x11, l_.str.7@PAGE
Lloh21:
	add	x11, x11, l_.str.7@PAGEOFF
	tst	x9, x8
	csel	x8, x11, x10, eq
	stp	x23, x8, [sp]
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_D_RATE
	ldr	x8, [x19, #40]
	add	x1, x8, w23, sxtw #2
	ldr	x8, [x20]
	ldr	x9, [x21]
	and	x2, x9, x8
	mov	x0, x19
	mov	w3, #1
	mov	x4, x23
	bl	_il3945_collect_tx_data
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x19]
	cbnz	w8, LBB0_17
; %bb.15:
Lloh24:
	adrp	x21, _jiffies@GOTPAGE
Lloh25:
	ldr	x21, [x21, _jiffies@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	x8, [x19, #32]
	ldr	x9, [x19, #8]
	add	x1, x9, x8
	bl	_time_after
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x8, [x21]
	str	x8, [x19, #24]
	mov	w9, #1
	str	w9, [x19]
	add	x0, x19, #16
	ldr	x9, [x19, #8]
	add	x1, x9, x8
	bl	_mod_timer
LBB0_17:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh26:
	adrp	x0, l_.str.8@PAGE
Lloh27:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_D_RATE
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter\n"

	.comm	_RATE_RETRY_TH,4,2              ; @RATE_RETRY_TH
	.comm	_RATE_COUNT_3945,4,2            ; @RATE_COUNT_3945
l_.str.1:                               ; @.str.1
	.asciz	"leave: Rate out of bounds: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"leave: No STA il data to update!\n"

l_.str.3:                               ; @.str.3
	.asciz	"leave: STA il data uninitialized!\n"

l_.str.4:                               ; @.str.4
	.asciz	"Update rate %d for %d retries.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Update rate %d with %s.\n"

	.comm	_IEEE80211_TX_STAT_ACK,8,3      ; @IEEE80211_TX_STAT_ACK
l_.str.6:                               ; @.str.6
	.asciz	"success"

l_.str.7:                               ; @.str.7
	.asciz	"failure"

	.comm	_jiffies,8,3                    ; @jiffies
l_.str.8:                               ; @.str.8
	.asciz	"leave\n"

	.no_dead_strip	_il3945_rs_tx_status
.subsections_via_symbols
