	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il3945_rs_rate_init            ## -- Begin function il3945_rs_rate_init
	.p2align	4, 0x90
_il3945_rs_rate_init:                   ## @il3945_rs_rate_init
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	24(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	callq	_D_INFO
	cmpq	%r15, 16(%r12)
	je	LBB0_11
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rbx
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	(%rax), %rax
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r13
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, 56(%rbx)
	movq	_RATE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_il3945_expected_tpt_b@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
	movq	%rax, 32(%rbx)
	movq	_RATE_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	_RATE_COUNT_3945@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	addq	%r15, %rdi
	callq	_il3945_clear_win
	incq	%r12
	movslq	(%r14), %rax
	addq	$4, %r15
	cmpq	%rax, %r12
	jl	LBB0_3
LBB0_4:
	movl	(%r13), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edx, %edx
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	decl	%edx
	movq	(%rdi), %rcx
	movq	8(%r13), %rax
	movl	(%rcx,%rax,4), %esi
	btl	%edx, %esi
	jae	LBB0_5
## %bb.7:
	movl	%edx, (%rbx)
	jmp	LBB0_9
LBB0_8:
	movq	(%rdi), %rcx
	movq	8(%r13), %rax
LBB0_9:
	movl	(%rcx,%rax,4), %edx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	%edx, 8(%r12)
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_11
## %bb.10:
	movq	_IL_FIRST_OFDM_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addl	%ecx, (%rbx)
	movb	(%rax), %cl
	shll	%cl, %edx
	movl	%edx, 8(%r12)
LBB0_11:
	movq	_IL_STA_UCODE_INPROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%r12), %rcx
	andl	%eax, (%rcx,%r15,4)
	leaq	L_.str.1(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_D_INFO                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter\n"

	.comm	_RATE_INVALID,4,2               ## @RATE_INVALID
	.comm	_il3945_expected_tpt_b,4,2      ## @il3945_expected_tpt_b
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_RATE_FLUSH,4,2                 ## @RATE_FLUSH
	.comm	_RATE_COUNT_3945,4,2            ## @RATE_COUNT_3945
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_IL_FIRST_OFDM_RATE,4,2         ## @IL_FIRST_OFDM_RATE
	.comm	_IL_STA_UCODE_INPROGRESS,4,2    ## @IL_STA_UCODE_INPROGRESS
L_.str.1:                               ## @.str.1
	.asciz	"leave\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il3945_rs_rate_init            ; -- Begin function il3945_rs_rate_init
	.p2align	2
_il3945_rs_rate_init:                   ; @il3945_rs_rate_init
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x22, [x0, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_INFO
	ldr	x8, [x20, #16]
	cmp	x8, x19
	b.eq	LBB0_11
; %bb.1:
	ldp	x8, x9, [x22]
	ldr	x8, [x8]
	ldr	x9, [x9]
	ldr	x23, [x8, x9, lsl #3]
	ldr	x22, [x21, #8]
	str	x20, [x22, #56]
Lloh2:
	adrp	x8, _RATE_INVALID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RATE_INVALID@GOTPAGEOFF]
Lloh4:
	adrp	x9, _il3945_expected_tpt_b@GOTPAGE
Lloh5:
	ldr	x9, [x9, _il3945_expected_tpt_b@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #48]
Lloh8:
	adrp	x8, _jiffies@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	stp	x8, x8, [x22, #32]
Lloh11:
	adrp	x8, _RATE_FLUSH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RATE_FLUSH@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x22, #24]
	str	xzr, [x22, #16]
Lloh14:
	adrp	x24, _RATE_COUNT_3945@GOTPAGE
Lloh15:
	ldr	x24, [x24, _RATE_COUNT_3945@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x25, #0
	mov	x26, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x0, x8, x25
	bl	_il3945_clear_win
	add	x26, x26, #1
	ldrsw	x8, [x24]
	add	x25, x25, #4
	cmp	x26, x8
	b.lt	LBB0_3
LBB0_4:
	ldr	w10, [x23]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	subs	w10, w10, #1
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x21]
	ldr	x8, [x23, #8]
	ldr	w11, [x9, x8, lsl #2]
	lsr	w11, w11, w10
	tbz	w11, #0, LBB0_5
; %bb.7:
	str	w10, [x22]
	b	LBB0_9
LBB0_8:
	ldr	x9, [x21]
	ldr	x8, [x23, #8]
LBB0_9:
	ldr	w9, [x9, x8, lsl #2]
	str	w9, [x20, #8]
Lloh16:
	adrp	x10, _NL80211_BAND_5GHZ@GOTPAGE
Lloh17:
	ldr	x10, [x10, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_11
; %bb.10:
Lloh19:
	adrp	x8, _IL_FIRST_OFDM_RATE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IL_FIRST_OFDM_RATE@GOTPAGEOFF]
	ldr	w10, [x8]
	ldr	w11, [x22]
	add	w10, w11, w10
	str	w10, [x22]
	ldr	w8, [x8]
	lsl	w8, w9, w8
	str	w8, [x20, #8]
LBB0_11:
Lloh21:
	adrp	x8, _IL_STA_UCODE_INPROGRESS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IL_STA_UCODE_INPROGRESS@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	x9, [x20]
	lsl	x10, x19, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	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	_D_INFO
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter\n"

	.comm	_RATE_INVALID,4,2               ; @RATE_INVALID
	.comm	_il3945_expected_tpt_b,4,2      ; @il3945_expected_tpt_b
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_RATE_FLUSH,4,2                 ; @RATE_FLUSH
	.comm	_RATE_COUNT_3945,4,2            ; @RATE_COUNT_3945
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_IL_FIRST_OFDM_RATE,4,2         ; @IL_FIRST_OFDM_RATE
	.comm	_IL_STA_UCODE_INPROGRESS,4,2    ; @IL_STA_UCODE_INPROGRESS
l_.str.1:                               ; @.str.1
	.asciz	"leave\n"

.subsections_via_symbols
