	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function minstrel_init_cck_rates
_minstrel_init_cck_rates:               ## @minstrel_init_cck_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_IEEE80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.1:
	cmpl	$0, (%rcx)
	jle	LBB0_10
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	%ebx, (%rax,%r13,4)
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	%r15, %rcx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%rcx, %r15
	movq	8(%rcx), %r14
	movq	_IEEE80211_RATE_ERP_G@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14,%rbx,8)
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	_minstrel_init_cck_rates.bitrates(%rip), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	_minstrel_init_cck_rates.bitrates(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%r14,%rbx,8), %eax
	cmpl	(%r12), %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%r13
	leaq	_minstrel_init_cck_rates.bitrates(%rip), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r12
	cmpq	%rax, %r13
	jl	LBB0_6
	jmp	LBB0_9
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @minstrel_init_cck_rates.bitrates
_minstrel_init_cck_rates.bitrates:
	.long	10                              ## 0xa
	.long	20                              ## 0x14
	.long	55                              ## 0x37
	.long	110                             ## 0x6e

	.comm	_IEEE80211_BAND_2GHZ,8,3        ## @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_RATE_ERP_G,4,2       ## @IEEE80211_RATE_ERP_G
	.no_dead_strip	_minstrel_init_cck_rates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function minstrel_init_cck_rates
_minstrel_init_cck_rates:               ; @minstrel_init_cck_rates
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _IEEE80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x21, [x8, x9, lsl #3]
	cbz	x21, LBB0_10
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x19, x0
	mov	x22, #0
Lloh3:
	adrp	x23, _IEEE80211_RATE_ERP_G@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IEEE80211_RATE_ERP_G@GOTPAGEOFF]
Lloh5:
	adrp	x20, _minstrel_init_cck_rates.bitrates@PAGE
Lloh6:
	add	x20, x20, _minstrel_init_cck_rates.bitrates@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	str	w22, [x8, x24, lsl #2]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_10
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x25, [x21, #8]
	lsl	x8, x22, #3
	ldr	w8, [x25, x8]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, #0
	add	x8, x25, x22, lsl #3
	add	x25, x8, #4
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x25]
	ldr	w9, [x20, x24, lsl #2]
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x24, x24, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	x24, w0, sxtw
	b.lt	LBB0_8
	b	LBB0_4
LBB0_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @minstrel_init_cck_rates.bitrates
_minstrel_init_cck_rates.bitrates:
	.long	10                              ; 0xa
	.long	20                              ; 0x14
	.long	55                              ; 0x37
	.long	110                             ; 0x6e

	.comm	_IEEE80211_BAND_2GHZ,8,3        ; @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_RATE_ERP_G,4,2       ; @IEEE80211_RATE_ERP_G
	.no_dead_strip	_minstrel_init_cck_rates
.subsections_via_symbols
