	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rate_control_get_rate          ## -- Begin function rate_control_get_rate
	.p2align	4, 0x90
_rate_control_get_rate:                 ## @rate_control_get_rate
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	8(%rax), %r13
	movl	(%rdx), %edi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r12
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	_WLAN_STA_RATE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_test_sta_flag
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	(%rbx), %rdx
	addq	$8, %rbx
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%edx, %edx
LBB0_4:
	movq	_IEEE80211_TX_MAX_RATES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_7
## %bb.5:
	movq	(%r12), %rcx
	addq	$8, %rcx
	xorl	%esi, %esi
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, -8(%rcx)
	incq	%rsi
	movups	%xmm0, (%rcx)
	movslq	(%rax), %rdi
	addq	$24, %rcx
	cmpq	%rdi, %rsi
	jl	LBB0_6
LBB0_7:
	movq	8(%r14), %rax
	movq	_IEEE80211_HW_HAS_RATE_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	8(%r13), %rax
	movl	(%r13), %edi
	movq	%rbx, %rsi
	movq	%r15, %rcx
	callq	*(%rax)
	movq	8(%r14), %rax
	movq	_IEEE80211_HW_SUPPORTS_RC_TABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_10
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	(%r15), %r15d
	movq	(%r12), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movq	%r12, %rcx
	movl	%eax, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_get_tx_rates         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_STA_RATE_CONTROL,4,2      ## @WLAN_STA_RATE_CONTROL
	.comm	_IEEE80211_TX_MAX_RATES,4,2     ## @IEEE80211_TX_MAX_RATES
	.comm	_IEEE80211_HW_HAS_RATE_CONTROL,4,2 ## @IEEE80211_HW_HAS_RATE_CONTROL
	.comm	_IEEE80211_HW_SUPPORTS_RC_TABLE,4,2 ## @IEEE80211_HW_SUPPORTS_RC_TABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rate_control_get_rate          ; -- Begin function rate_control_get_rate
	.p2align	2
_rate_control_get_rate:                 ; @rate_control_get_rate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x23, [x8, #8]
	ldr	w0, [x2]
	bl	_IEEE80211_SKB_CB
	mov	x22, x0
	cbz	x20, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _WLAN_STA_RATE_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_STA_RATE_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_test_sta_flag
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x2, [x20], #8
	b	LBB0_5
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x2, #0
LBB0_5:
Lloh3:
	adrp	x8, _IEEE80211_TX_MAX_RATES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_TX_MAX_RATES@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x9, #0
	ldr	x10, [x22]
	add	x10, x10, #8
	mov	w11, #-1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	stur	w11, [x10, #-8]
	add	x9, x9, #1
	stp	xzr, xzr, [x10], #24
	ldrsw	x12, [x8]
	cmp	x9, x12
	b.lt	LBB0_7
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _IEEE80211_HW_HAS_RATE_CONTROL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_HW_HAS_RATE_CONTROL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	ldr	w0, [x23]
	mov	x1, x20
	mov	x3, x21
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _IEEE80211_HW_SUPPORTS_RC_TABLE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE80211_HW_SUPPORTS_RC_TABLE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	w21, [x21]
	ldr	x22, [x22]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ieee80211_get_tx_rates
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_STA_RATE_CONTROL,4,2      ; @WLAN_STA_RATE_CONTROL
	.comm	_IEEE80211_TX_MAX_RATES,4,2     ; @IEEE80211_TX_MAX_RATES
	.comm	_IEEE80211_HW_HAS_RATE_CONTROL,4,2 ; @IEEE80211_HW_HAS_RATE_CONTROL
	.comm	_IEEE80211_HW_SUPPORTS_RC_TABLE,4,2 ; @IEEE80211_HW_SUPPORTS_RC_TABLE
.subsections_via_symbols
