	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_get_rate
_rtl_get_rate:                          ## @rtl_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	(%rcx), %rbx
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_CB
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_rtl_get_fc
	movl	%eax, %edi
	callq	_ieee80211_is_data
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rbx
	movl	%r15d, %ecx
	callq	__rtl_rc_get_highest_rix
	movl	%eax, %r14d
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %r12
	movq	%rbx, %rcx
	movl	$1, %r8d
	movl	%eax, %r9d
	pushq	%r15
	pushq	$1
	callq	__rtl_rc_rate_set_series
	addq	$16, %rsp
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	leaq	4(%r12), %rdx
	leal	-1(%r14), %r9d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rbx, %rcx
	movl	$1, %r8d
	pushq	%r15
	pushq	$1
	callq	__rtl_rc_rate_set_series
	addq	$16, %rsp
	leaq	8(%r12), %rdx
	leal	-2(%r14), %r9d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rbx, %rcx
	movl	$2, %r8d
	pushq	%r15
	pushq	$1
	callq	__rtl_rc_rate_set_series
	addq	$16, %rsp
	addq	$12, %r12
	addl	$-3, %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movl	$3, %r8d
	movl	%r14d, %r9d
	pushq	%r15
	pushq	$1
	callq	__rtl_rc_rate_set_series
	addq	$56, %rsp
	jmp	LBB0_3
LBB0_2:
	addq	$40, %rsp
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rtl_get_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_get_rate
_rtl_get_rate:                          ; @rtl_get_rate
	.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, x3
	mov	x20, x1
	mov	x21, x0
	ldr	x24, [x3]
	mov	x0, x24
	bl	_IEEE80211_SKB_CB
	ldr	x22, [x0]
	mov	x0, x24
	bl	_rtl_get_fc
	bl	_ieee80211_is_data
	mov	x25, x0
	cmp	w0, #0
	cset	w23, eq
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	mov	x3, x23
	bl	__rtl_rc_get_highest_rix
	mov	x24, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x19
	mov	w4, #1
	mov	x5, x24
	mov	w6, #1
	mov	x7, x23
	bl	__rtl_rc_rate_set_series
	cbz	w25, LBB0_2
; %bb.1:
	add	x2, x22, #4
	sub	w5, w24, #1
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	mov	w4, #1
	mov	w6, #1
	mov	x7, x23
	bl	__rtl_rc_rate_set_series
	add	x2, x22, #8
	sub	w5, w24, #2
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	mov	w4, #2
	mov	w6, #1
	mov	x7, x23
	bl	__rtl_rc_rate_set_series
	add	x2, x22, #12
	sub	w5, w24, #3
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	mov	w4, #3
	mov	w6, #1
	mov	x7, x23
	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	__rtl_rc_rate_set_series
LBB0_2:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rtl_get_rate
.subsections_via_symbols
