	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_rc_rate_set_series
__rtl_rc_rate_set_series:               ## @_rtl_rc_rate_set_series
	.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
	movl	%r9d, %ebx
	movl	%r8d, %r13d
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	callq	_rtl_mac
	xorl	%ecx, %ecx
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movl	16(%r12), %edx
	movq	_IEEE80211_HT_CAP_SGI_20@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%edx, %esi
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rdi
	andl	(%rdi), %edx
	movq	_IEEE80211_VHT_CAP_SHORT_GI_80@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r9d
	andl	(%r12), %r9d
	movq	32(%r12), %rdi
	movq	(%rdi), %r8
	jmp	LBB0_3
LBB0_2:
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
LBB0_3:
	movl	24(%rbp), %edi
	movl	%r13d, (%r14)
	testl	%ebx, %ebx
	cmovgl	%ebx, %ecx
	movl	%ecx, 4(%r14)
	testl	%edi, %edi
	je	LBB0_5
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpq	$0, (%r15)
	je	LBB0_7
## %bb.6:
	movq	_IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%r14)
LBB0_7:
	movq	(%rax), %rcx
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	je	LBB0_11
## %bb.8:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	je	LBB0_11
## %bb.9:
	cmpq	$0, 16(%rax)
	jne	LBB0_15
## %bb.16:
	cmpq	$0, 8(%rax)
	je	LBB0_19
## %bb.17:
	movq	_IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_11:
	testq	%r12, %r12
	je	LBB0_19
## %bb.12:
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r12)
	je	LBB0_14
## %bb.13:
	movq	_IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_14:
	cmpq	$0, 8(%r12)
	je	LBB0_19
LBB0_15:
	movq	_IEEE80211_TX_RC_80_MHZ_WIDTH@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_19:
	testl	%esi, %esi
	jne	LBB0_22
## %bb.20:
	testl	%edx, %edx
	jne	LBB0_22
## %bb.21:
	testl	%r9d, %r9d
	je	LBB0_23
LBB0_22:
	movq	_IEEE80211_TX_RC_SHORT_GI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_23:
	testq	%r12, %r12
	je	LBB0_4
## %bb.24:
	cmpq	$0, 24(%r12)
	je	LBB0_28
## %bb.25:
	movq	_WIRELESS_MODE_N_5G@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r8
	je	LBB0_27
## %bb.26:
	movq	_WIRELESS_MODE_N_24G@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r8
	jne	LBB0_28
LBB0_27:
	movq	_IEEE80211_TX_RC_MCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_28:
	cmpq	$0, 8(%r12)
	je	LBB0_4
## %bb.29:
	movq	_WIRELESS_MODE_AC_5G@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r8
	je	LBB0_32
## %bb.30:
	movq	_WIRELESS_MODE_AC_24G@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r8
	je	LBB0_32
## %bb.31:
	movq	_WIRELESS_MODE_AC_ONLY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r8
	jne	LBB0_4
LBB0_32:
	movq	_IEEE80211_TX_RC_VHT_MCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ## @IEEE80211_HT_CAP_SGI_20
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ## @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ## @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_IEEE80211_TX_RC_USE_SHORT_PREAMBLE,4,2 ## @IEEE80211_TX_RC_USE_SHORT_PREAMBLE
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ## @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_TX_RC_40_MHZ_WIDTH,4,2 ## @IEEE80211_TX_RC_40_MHZ_WIDTH
	.comm	_IEEE80211_TX_RC_80_MHZ_WIDTH,4,2 ## @IEEE80211_TX_RC_80_MHZ_WIDTH
	.comm	_IEEE80211_TX_RC_SHORT_GI,4,2   ## @IEEE80211_TX_RC_SHORT_GI
	.comm	_WIRELESS_MODE_N_5G,8,3         ## @WIRELESS_MODE_N_5G
	.comm	_WIRELESS_MODE_N_24G,8,3        ## @WIRELESS_MODE_N_24G
	.comm	_IEEE80211_TX_RC_MCS,4,2        ## @IEEE80211_TX_RC_MCS
	.comm	_WIRELESS_MODE_AC_5G,8,3        ## @WIRELESS_MODE_AC_5G
	.comm	_WIRELESS_MODE_AC_24G,8,3       ## @WIRELESS_MODE_AC_24G
	.comm	_WIRELESS_MODE_AC_ONLY,8,3      ## @WIRELESS_MODE_AC_ONLY
	.comm	_IEEE80211_TX_RC_VHT_MCS,4,2    ## @IEEE80211_TX_RC_VHT_MCS
	.no_dead_strip	__rtl_rc_rate_set_series
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_rc_rate_set_series
__rtl_rc_rate_set_series:               ; @_rtl_rc_rate_set_series
	.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	x22, x7
	mov	x24, x5
	mov	x23, x4
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	bl	_rtl_mac
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w8, [x20, #16]
Lloh0:
	adrp	x9, _IEEE80211_HT_CAP_SGI_20@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SGI_20@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh3:
	adrp	x10, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w10, w10, w8
	ldr	w8, [x20]
Lloh6:
	adrp	x11, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	and	w11, w11, w8
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
	mov	w9, #0
	mov	w10, #0
	mov	w11, #0
LBB0_3:
	cmp	w24, #0
	csel	w12, w24, wzr, gt
	stp	w23, w12, [x19]
	cbz	w22, LBB0_5
LBB0_4:
	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_5:
	ldr	x12, [x21]
	cbz	x12, LBB0_7
; %bb.6:
Lloh9:
	adrp	x12, _IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPAGE
Lloh10:
	ldr	x12, [x12, _IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	ldr	w13, [x19, #8]
	orr	w12, w13, w12
	str	w12, [x19, #8]
LBB0_7:
	ldr	x12, [x0]
Lloh12:
	adrp	x13, _NL80211_IFTYPE_AP@GOTPAGE
Lloh13:
	ldr	x13, [x13, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh14:
	ldr	x13, [x13]
Lloh15:
	adrp	x14, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh16:
	ldr	x14, [x14, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh17:
	ldr	x14, [x14]
	cmp	x12, x13
	ccmp	x12, x14, #4, ne
	b.ne	LBB0_12
; %bb.8:
	cbz	x20, LBB0_17
; %bb.9:
	ldr	w12, [x20, #16]
Lloh18:
	adrp	x13, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGE
Lloh19:
	ldr	x13, [x13, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGEOFF]
Lloh20:
	ldr	w13, [x13]
	tst	w13, w12
	b.eq	LBB0_11
; %bb.10:
Lloh21:
	adrp	x12, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGE
Lloh22:
	ldr	x12, [x12, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	ldr	w13, [x19, #8]
	orr	w12, w13, w12
	str	w12, [x19, #8]
LBB0_11:
	ldr	x12, [x20, #8]
	cbnz	x12, LBB0_13
	b	LBB0_17
LBB0_12:
	ldr	x12, [x0, #16]
	cbz	x12, LBB0_14
LBB0_13:
Lloh24:
	adrp	x12, _IEEE80211_TX_RC_80_MHZ_WIDTH@GOTPAGE
Lloh25:
	ldr	x12, [x12, _IEEE80211_TX_RC_80_MHZ_WIDTH@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
	ldr	x12, [x0, #8]
	cbz	x12, LBB0_17
; %bb.15:
Lloh26:
	adrp	x12, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGE
Lloh27:
	ldr	x12, [x12, _IEEE80211_TX_RC_40_MHZ_WIDTH@GOTPAGEOFF]
LBB0_16:
	ldr	w12, [x12]
	ldr	w13, [x19, #8]
	orr	w12, w13, w12
	str	w12, [x19, #8]
LBB0_17:
	cbnz	w9, LBB0_20
; %bb.18:
	cbnz	w10, LBB0_20
; %bb.19:
	cbz	w11, LBB0_21
LBB0_20:
Lloh28:
	adrp	x9, _IEEE80211_TX_RC_SHORT_GI@GOTPAGE
Lloh29:
	ldr	x9, [x9, _IEEE80211_TX_RC_SHORT_GI@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	ldr	w10, [x19, #8]
	orr	w9, w10, w9
	str	w9, [x19, #8]
LBB0_21:
	cbz	x20, LBB0_4
; %bb.22:
	ldr	x9, [x20, #24]
	cbz	x9, LBB0_26
; %bb.23:
Lloh31:
	adrp	x9, _WIRELESS_MODE_N_5G@GOTPAGE
Lloh32:
	ldr	x9, [x9, _WIRELESS_MODE_N_5G@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_25
; %bb.24:
Lloh34:
	adrp	x9, _WIRELESS_MODE_N_24G@GOTPAGE
Lloh35:
	ldr	x9, [x9, _WIRELESS_MODE_N_24G@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_26
LBB0_25:
Lloh37:
	adrp	x9, _IEEE80211_TX_RC_MCS@GOTPAGE
Lloh38:
	ldr	x9, [x9, _IEEE80211_TX_RC_MCS@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	ldr	w10, [x19, #8]
	orr	w9, w10, w9
	str	w9, [x19, #8]
LBB0_26:
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_4
; %bb.27:
Lloh40:
	adrp	x9, _WIRELESS_MODE_AC_5G@GOTPAGE
Lloh41:
	ldr	x9, [x9, _WIRELESS_MODE_AC_5G@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_30
; %bb.28:
Lloh43:
	adrp	x9, _WIRELESS_MODE_AC_24G@GOTPAGE
Lloh44:
	ldr	x9, [x9, _WIRELESS_MODE_AC_24G@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_30
; %bb.29:
Lloh46:
	adrp	x9, _WIRELESS_MODE_AC_ONLY@GOTPAGE
Lloh47:
	ldr	x9, [x9, _WIRELESS_MODE_AC_ONLY@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
LBB0_30:
Lloh49:
	adrp	x8, _IEEE80211_TX_RC_VHT_MCS@GOTPAGE
Lloh50:
	ldr	x8, [x8, _IEEE80211_TX_RC_VHT_MCS@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ; @IEEE80211_HT_CAP_SGI_20
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ; @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ; @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_IEEE80211_TX_RC_USE_SHORT_PREAMBLE,4,2 ; @IEEE80211_TX_RC_USE_SHORT_PREAMBLE
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ; @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_TX_RC_40_MHZ_WIDTH,4,2 ; @IEEE80211_TX_RC_40_MHZ_WIDTH
	.comm	_IEEE80211_TX_RC_80_MHZ_WIDTH,4,2 ; @IEEE80211_TX_RC_80_MHZ_WIDTH
	.comm	_IEEE80211_TX_RC_SHORT_GI,4,2   ; @IEEE80211_TX_RC_SHORT_GI
	.comm	_WIRELESS_MODE_N_5G,8,3         ; @WIRELESS_MODE_N_5G
	.comm	_WIRELESS_MODE_N_24G,8,3        ; @WIRELESS_MODE_N_24G
	.comm	_IEEE80211_TX_RC_MCS,4,2        ; @IEEE80211_TX_RC_MCS
	.comm	_WIRELESS_MODE_AC_5G,8,3        ; @WIRELESS_MODE_AC_5G
	.comm	_WIRELESS_MODE_AC_24G,8,3       ; @WIRELESS_MODE_AC_24G
	.comm	_WIRELESS_MODE_AC_ONLY,8,3      ; @WIRELESS_MODE_AC_ONLY
	.comm	_IEEE80211_TX_RC_VHT_MCS,4,2    ; @IEEE80211_TX_RC_VHT_MCS
	.no_dead_strip	__rtl_rc_rate_set_series
.subsections_via_symbols
