	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92d_store_pwrindex_diffrate_offset
__rtl92d_store_pwrindex_diffrate_offset: ## @_rtl92d_store_pwrindex_diffrate_offset
	.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	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	callq	_rtl_priv
	movq	%rax, %r15
	movq	_RTXAGC_A_RATE18_06@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	movl	$0, %r9d
	cmpq	%rbx, (%rax)
	je	LBB0_33
## %bb.1:
	movq	_RTXAGC_A_RATE54_24@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_3
## %bb.2:
	movl	$1, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_3:
	movq	_RTXAGC_A_CCK1_MCS32@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_5
## %bb.4:
	movl	$6, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_5:
	movq	_RTXAGC_B_CCK11_A_CCK2_11@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$4294967040, %ecx               ## imm = 0xFFFFFF00
	cmpq	%rcx, %r12
	jne	LBB0_8
## %bb.6:
	cmpq	%rbx, %rax
	jne	LBB0_8
## %bb.7:
	xorl	%r13d, %r13d
	movl	$7, %r9d
	jmp	LBB0_33
LBB0_8:
	movq	_RTXAGC_A_MCS03_MCS00@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jne	LBB0_10
## %bb.9:
	movl	$2, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_10:
	movq	_RTXAGC_A_MCS07_MCS04@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jne	LBB0_12
## %bb.11:
	movl	$3, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_12:
	movq	_RTXAGC_A_MCS11_MCS08@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jne	LBB0_14
## %bb.13:
	movl	$4, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_14:
	movq	_RTXAGC_A_MCS15_MCS12@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jne	LBB0_16
## %bb.15:
	movl	$5, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_16:
	movq	_RTXAGC_B_RATE18_06@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jne	LBB0_18
## %bb.17:
	movl	$8, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_18:
	movq	_RTXAGC_B_RATE54_24@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jne	LBB0_20
## %bb.19:
	movl	$9, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_20:
	movq	_RTXAGC_B_CCK1_55_MCS32@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jne	LBB0_22
## %bb.21:
	movl	$14, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_22:
	cmpq	$255, %r12
	jne	LBB0_25
## %bb.23:
	cmpq	%rbx, %rax
	jne	LBB0_25
## %bb.24:
	xorl	%r13d, %r13d
	movl	$15, %r9d
	jmp	LBB0_33
LBB0_25:
	movq	_RTXAGC_B_MCS03_MCS00@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_27
## %bb.26:
	movl	$10, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_27:
	movq	_RTXAGC_B_MCS07_MCS04@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_29
## %bb.28:
	movl	$11, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_29:
	movq	_RTXAGC_B_MCS11_MCS08@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_31
## %bb.30:
	movl	$12, %r9d
	xorl	%r13d, %r13d
	jmp	LBB0_33
LBB0_31:
	movq	_RTXAGC_B_MCS15_MCS12@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_35
## %bb.32:
	movl	$13, %r9d
	movb	$1, %r13b
LBB0_33:
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	%r9d, %edi
	movq	%r14, (%rax,%rdi,8)
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r15), %r8
	movq	(%rcx,%r8,8), %rax
	movq	(%rax,%rdi,8), %rax
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	callq	_RT_TRACE
	testb	%r13b, %r13b
	je	LBB0_35
## %bb.34:
	incq	(%r15)
LBB0_35:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTXAGC_A_RATE18_06,8,3         ## @RTXAGC_A_RATE18_06
	.comm	_RTXAGC_A_RATE54_24,8,3         ## @RTXAGC_A_RATE54_24
	.comm	_RTXAGC_A_CCK1_MCS32,8,3        ## @RTXAGC_A_CCK1_MCS32
	.comm	_RTXAGC_B_CCK11_A_CCK2_11,8,3   ## @RTXAGC_B_CCK11_A_CCK2_11
	.comm	_RTXAGC_A_MCS03_MCS00,8,3       ## @RTXAGC_A_MCS03_MCS00
	.comm	_RTXAGC_A_MCS07_MCS04,8,3       ## @RTXAGC_A_MCS07_MCS04
	.comm	_RTXAGC_A_MCS11_MCS08,8,3       ## @RTXAGC_A_MCS11_MCS08
	.comm	_RTXAGC_A_MCS15_MCS12,8,3       ## @RTXAGC_A_MCS15_MCS12
	.comm	_RTXAGC_B_RATE18_06,8,3         ## @RTXAGC_B_RATE18_06
	.comm	_RTXAGC_B_RATE54_24,8,3         ## @RTXAGC_B_RATE54_24
	.comm	_RTXAGC_B_CCK1_55_MCS32,8,3     ## @RTXAGC_B_CCK1_55_MCS32
	.comm	_RTXAGC_B_MCS03_MCS00,8,3       ## @RTXAGC_B_MCS03_MCS00
	.comm	_RTXAGC_B_MCS07_MCS04,8,3       ## @RTXAGC_B_MCS07_MCS04
	.comm	_RTXAGC_B_MCS11_MCS08,8,3       ## @RTXAGC_B_MCS11_MCS08
	.comm	_RTXAGC_B_MCS15_MCS12,8,3       ## @RTXAGC_B_MCS15_MCS12
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MCSTxPowerLevelOriginalOffset[%d][%d] = 0x%x\n"

	.no_dead_strip	__rtl92d_store_pwrindex_diffrate_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92d_store_pwrindex_diffrate_offset
__rtl92d_store_pwrindex_diffrate_offset: ; @_rtl92d_store_pwrindex_diffrate_offset
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	bl	_rtl_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _RTXAGC_A_RATE18_06@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTXAGC_A_RATE18_06@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_2
; %bb.1:
	mov	w21, #0
	mov	w5, #0
	b	LBB0_34
LBB0_2:
Lloh3:
	adrp	x8, _RTXAGC_A_RATE54_24@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTXAGC_A_RATE54_24@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_4
; %bb.3:
	mov	w21, #0
	mov	w5, #1
	b	LBB0_34
LBB0_4:
Lloh6:
	adrp	x8, _RTXAGC_A_CCK1_MCS32@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTXAGC_A_CCK1_MCS32@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_6
; %bb.5:
	mov	w21, #0
	mov	w5, #6
	b	LBB0_34
LBB0_6:
Lloh9:
	adrp	x8, _RTXAGC_B_CCK11_A_CCK2_11@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RTXAGC_B_CCK11_A_CCK2_11@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	mov	w9, #-256
	cmp	x22, x9
	b.ne	LBB0_9
; %bb.7:
	cmp	x8, x21
	b.ne	LBB0_9
; %bb.8:
	mov	w21, #0
	mov	w5, #7
	b	LBB0_34
LBB0_9:
Lloh12:
	adrp	x9, _RTXAGC_A_MCS03_MCS00@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RTXAGC_A_MCS03_MCS00@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x21
	b.ne	LBB0_11
; %bb.10:
	mov	w21, #0
	mov	w5, #2
	b	LBB0_34
LBB0_11:
Lloh15:
	adrp	x9, _RTXAGC_A_MCS07_MCS04@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RTXAGC_A_MCS07_MCS04@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x21
	b.ne	LBB0_13
; %bb.12:
	mov	w21, #0
	mov	w5, #3
	b	LBB0_34
LBB0_13:
Lloh18:
	adrp	x9, _RTXAGC_A_MCS11_MCS08@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RTXAGC_A_MCS11_MCS08@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x21
	b.ne	LBB0_15
; %bb.14:
	mov	w21, #0
	mov	w5, #4
	b	LBB0_34
LBB0_15:
Lloh21:
	adrp	x9, _RTXAGC_A_MCS15_MCS12@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RTXAGC_A_MCS15_MCS12@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x21
	b.ne	LBB0_17
; %bb.16:
	mov	w21, #0
	mov	w5, #5
	b	LBB0_34
LBB0_17:
Lloh24:
	adrp	x9, _RTXAGC_B_RATE18_06@GOTPAGE
Lloh25:
	ldr	x9, [x9, _RTXAGC_B_RATE18_06@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x21
	b.ne	LBB0_19
; %bb.18:
	mov	w21, #0
	mov	w5, #8
	b	LBB0_34
LBB0_19:
Lloh27:
	adrp	x9, _RTXAGC_B_RATE54_24@GOTPAGE
Lloh28:
	ldr	x9, [x9, _RTXAGC_B_RATE54_24@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x21
	b.ne	LBB0_21
; %bb.20:
	mov	w21, #0
	mov	w5, #9
	b	LBB0_34
LBB0_21:
Lloh30:
	adrp	x9, _RTXAGC_B_CCK1_55_MCS32@GOTPAGE
Lloh31:
	ldr	x9, [x9, _RTXAGC_B_CCK1_55_MCS32@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x21
	b.ne	LBB0_23
; %bb.22:
	mov	w21, #0
	mov	w5, #14
	b	LBB0_34
LBB0_23:
	cmp	x22, #255
	b.ne	LBB0_26
; %bb.24:
	cmp	x8, x21
	b.ne	LBB0_26
; %bb.25:
	mov	w21, #0
	mov	w5, #15
	b	LBB0_34
LBB0_26:
Lloh33:
	adrp	x8, _RTXAGC_B_MCS03_MCS00@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RTXAGC_B_MCS03_MCS00@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_28
; %bb.27:
	mov	w21, #0
	mov	w5, #10
	b	LBB0_34
LBB0_28:
Lloh36:
	adrp	x8, _RTXAGC_B_MCS07_MCS04@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RTXAGC_B_MCS07_MCS04@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_30
; %bb.29:
	mov	w21, #0
	mov	w5, #11
	b	LBB0_34
LBB0_30:
Lloh39:
	adrp	x8, _RTXAGC_B_MCS11_MCS08@GOTPAGE
Lloh40:
	ldr	x8, [x8, _RTXAGC_B_MCS11_MCS08@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_32
; %bb.31:
	mov	w21, #0
	mov	w5, #12
	b	LBB0_34
LBB0_32:
Lloh42:
	adrp	x8, _RTXAGC_B_MCS15_MCS12@GOTPAGE
Lloh43:
	ldr	x8, [x8, _RTXAGC_B_MCS15_MCS12@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_36
; %bb.33:
	mov	w5, #13
	mov	w21, #1
LBB0_34:
	ldp	x9, x8, [x19]
	ldr	x9, [x8, x9, lsl #3]
	mov	w10, w5
	lsl	x10, x10, #3
	str	x20, [x9, x10]
Lloh45:
	adrp	x9, _COMP_INIT@GOTPAGE
Lloh46:
	ldr	x9, [x9, _COMP_INIT@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x9]
Lloh48:
	adrp	x9, _DBG_TRACE@GOTPAGE
Lloh49:
	ldr	x9, [x9, _DBG_TRACE@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x9]
	ldr	x4, [x19]
	ldr	x8, [x8, x4, lsl #3]
	ldr	x6, [x8, x10]
Lloh51:
	adrp	x3, l_.str@PAGE
Lloh52:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	cbz	w21, LBB0_36
; %bb.35:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
LBB0_36:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_RTXAGC_A_RATE18_06,8,3         ; @RTXAGC_A_RATE18_06
	.comm	_RTXAGC_A_RATE54_24,8,3         ; @RTXAGC_A_RATE54_24
	.comm	_RTXAGC_A_CCK1_MCS32,8,3        ; @RTXAGC_A_CCK1_MCS32
	.comm	_RTXAGC_B_CCK11_A_CCK2_11,8,3   ; @RTXAGC_B_CCK11_A_CCK2_11
	.comm	_RTXAGC_A_MCS03_MCS00,8,3       ; @RTXAGC_A_MCS03_MCS00
	.comm	_RTXAGC_A_MCS07_MCS04,8,3       ; @RTXAGC_A_MCS07_MCS04
	.comm	_RTXAGC_A_MCS11_MCS08,8,3       ; @RTXAGC_A_MCS11_MCS08
	.comm	_RTXAGC_A_MCS15_MCS12,8,3       ; @RTXAGC_A_MCS15_MCS12
	.comm	_RTXAGC_B_RATE18_06,8,3         ; @RTXAGC_B_RATE18_06
	.comm	_RTXAGC_B_RATE54_24,8,3         ; @RTXAGC_B_RATE54_24
	.comm	_RTXAGC_B_CCK1_55_MCS32,8,3     ; @RTXAGC_B_CCK1_55_MCS32
	.comm	_RTXAGC_B_MCS03_MCS00,8,3       ; @RTXAGC_B_MCS03_MCS00
	.comm	_RTXAGC_B_MCS07_MCS04,8,3       ; @RTXAGC_B_MCS07_MCS04
	.comm	_RTXAGC_B_MCS11_MCS08,8,3       ; @RTXAGC_B_MCS11_MCS08
	.comm	_RTXAGC_B_MCS15_MCS12,8,3       ; @RTXAGC_B_MCS15_MCS12
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MCSTxPowerLevelOriginalOffset[%d][%d] = 0x%x\n"

	.no_dead_strip	__rtl92d_store_pwrindex_diffrate_offset
.subsections_via_symbols
