	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_tx_fill_rateinfo
_carl9170_tx_fill_rateinfo:             ## @carl9170_tx_fill_rateinfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IEEE80211_TX_MAX_RATES@GOTPCREL(%rip), %r8
	movl	(%r8), %r9d
	testq	%r9, %r9
	je	LBB0_10
## %bb.1:
	movq	(%rcx), %rax
	movl	%esi, %r10d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rax,%rdi,8)
	js	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %r10
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	cmpq	%rdi, %r9
	jne	LBB0_2
	jmp	LBB0_10
LBB0_6:
	movl	%edi, %esi
	cmpl	%r9d, %esi
	jb	LBB0_8
	jmp	LBB0_10
LBB0_4:
	movl	%edx, 4(%rax,%r10,8)
	incl	%esi
	movl	(%r8), %r9d
	cmpl	%r9d, %esi
	jae	LBB0_10
LBB0_8:
	movq	(%rcx), %rax
	movl	%esi, %ecx
	movl	$4294967295, %edx               ## imm = 0xFFFFFFFF
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, (%rax,%rcx,8)
	incq	%rcx
	movl	(%r8), %esi
	cmpq	%rsi, %rcx
	jb	LBB0_9
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_MAX_RATES,4,2     ## @IEEE80211_TX_MAX_RATES
	.no_dead_strip	_carl9170_tx_fill_rateinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carl9170_tx_fill_rateinfo
_carl9170_tx_fill_rateinfo:             ; @carl9170_tx_fill_rateinfo
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IEEE80211_TX_MAX_RATES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_TX_MAX_RATES@GOTPAGEOFF]
	ldr	w10, [x8]
	cbz	w10, LBB0_9
; %bb.1:
	mov	x9, #0
	ldr	x11, [x3]
	mov	w12, w1
	mov	x13, x11
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x13]
	tbnz	w14, #31, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x12, x9
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	add	x13, x13, #8
	cmp	x10, x9
	b.ne	LBB0_2
	b	LBB0_9
LBB0_5:
	add	x9, x11, x12, lsl #3
	str	w2, [x9, #4]
	add	w9, w1, #1
	ldr	w10, [x8]
LBB0_6:
	cmp	w9, w10
	b.hs	LBB0_9
; %bb.7:
	ldr	x10, [x3]
	mov	w9, w9
	movi	d0, #0x000000ffffffff
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	d0, [x10, x9, lsl #3]
	add	x9, x9, #1
	ldr	w11, [x8]
	cmp	x9, x11
	b.lo	LBB0_8
LBB0_9:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_MAX_RATES,4,2     ; @IEEE80211_TX_MAX_RATES
	.no_dead_strip	_carl9170_tx_fill_rateinfo
.subsections_via_symbols
