	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il4965_init_hw_rates
_il4965_init_hw_rates:                  ## @il4965_init_hw_rates
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	_RATE_COUNT_LEGACY@GOTPCREL(%rip), %r8
	cmpl	$0, (%r8)
	jle	LBB0_8
## %bb.1:
	movq	_il_rates@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_RATE_1M_PLCP@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	xorl	%edi, %edi
	movq	_IL_FIRST_CCK_RATE@GOTPCREL(%rip), %rax
	movq	_IL_LAST_CCK_RATE@GOTPCREL(%rip), %r9
	movq	_IEEE80211_RATE_SHORT_PREAMBLE@GOTPCREL(%rip), %r10
	xorl	%edx, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, 12(%rsi,%rdi)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	movslq	(%r8), %rbx
	addq	$16, %rdi
	cmpq	%rbx, %rdx
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdi), %ebx
	leal	(%rbx,%rbx,4), %ebx
	movl	%ebx, (%rsi,%rdi)
	movl	%edx, 4(%rsi,%rdi)
	movl	%edx, 8(%rsi,%rdi)
	movl	$0, 12(%rsi,%rdi)
	movslq	(%rax), %rbx
	cmpq	%rbx, %rdx
	jl	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r9), %rbx
	cmpq	%rbx, %rdx
	jg	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	cmpq	%r11, 8(%rcx,%rdi)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r10), %ebx
	jmp	LBB0_6
LBB0_8:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RATE_COUNT_LEGACY,4,2          ## @RATE_COUNT_LEGACY
	.comm	_il_rates,8,3                   ## @il_rates
	.comm	_IL_FIRST_CCK_RATE,4,2          ## @IL_FIRST_CCK_RATE
	.comm	_IL_LAST_CCK_RATE,4,2           ## @IL_LAST_CCK_RATE
	.comm	_RATE_1M_PLCP,8,3               ## @RATE_1M_PLCP
	.comm	_IEEE80211_RATE_SHORT_PREAMBLE,4,2 ## @IEEE80211_RATE_SHORT_PREAMBLE
	.no_dead_strip	_il4965_init_hw_rates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il4965_init_hw_rates
_il4965_init_hw_rates:                  ; @il4965_init_hw_rates
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RATE_COUNT_LEGACY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RATE_COUNT_LEGACY@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x9, #0
Lloh2:
	adrp	x10, _il_rates@GOTPAGE
Lloh3:
	ldr	x10, [x10, _il_rates@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x10]
Lloh5:
	adrp	x10, _RATE_1M_PLCP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _RATE_1M_PLCP@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	add	x11, x11, #8
	add	x12, x1, #12
Lloh8:
	adrp	x13, _IL_FIRST_CCK_RATE@GOTPAGE
Lloh9:
	ldr	x13, [x13, _IL_FIRST_CCK_RATE@GOTPAGEOFF]
Lloh10:
	adrp	x14, _IL_LAST_CCK_RATE@GOTPAGE
Lloh11:
	ldr	x14, [x14, _IL_LAST_CCK_RATE@GOTPAGEOFF]
Lloh12:
	adrp	x15, _IEEE80211_RATE_SHORT_PREAMBLE@GOTPAGE
Lloh13:
	ldr	x15, [x15, _IEEE80211_RATE_SHORT_PREAMBLE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	ldrsw	x16, [x8]
	add	x11, x11, #16
	add	x12, x12, #16
	cmp	x9, x16
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w16, [x11, #-8]
	add	w16, w16, w16, lsl #2
	stp	w16, w9, [x12, #-12]
	stp	w9, wzr, [x12, #-4]
	ldrsw	x16, [x13]
	ldrsw	x17, [x14]
	cmp	x9, x16
	ccmp	x9, x17, #0, ge
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x16, [x11]
	ldr	w17, [x15]
	cmp	x16, x10
	csel	w16, wzr, w17, eq
	str	w16, [x12]
	b	LBB0_2
LBB0_5:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RATE_COUNT_LEGACY,4,2          ; @RATE_COUNT_LEGACY
	.comm	_il_rates,8,3                   ; @il_rates
	.comm	_IL_FIRST_CCK_RATE,4,2          ; @IL_FIRST_CCK_RATE
	.comm	_IL_LAST_CCK_RATE,4,2           ; @IL_LAST_CCK_RATE
	.comm	_RATE_1M_PLCP,8,3               ; @RATE_1M_PLCP
	.comm	_IEEE80211_RATE_SHORT_PREAMBLE,4,2 ; @IEEE80211_RATE_SHORT_PREAMBLE
	.no_dead_strip	_il4965_init_hw_rates
.subsections_via_symbols
