	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2800_config_txpower_rt28xx
_rt2800_config_txpower_rt28xx:          ## @rt2800_config_txpower_rt28xx
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %esi
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	callq	_rt2800_get_txpower_bw_comp
	movl	%eax, %r14d
	movl	(%r15), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_rt2800_get_gain_calibration_delta
	addl	%eax, %r14d
LBB0_2:
	movl	4(%rbx), %edx
	movq	%r15, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_rt2800_get_txpower_reg_delta
	addl	%r14d, %eax
	cmpl	$-12, %eax
	jg	LBB0_4
## %bb.3:
	addl	$12, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$2, %ebx
	jmp	LBB0_5
LBB0_4:
	leal	6(%rax), %ecx
	xorl	%ebx, %ebx
	cmpl	$-5, %eax
	setl	%bl
	cmovgel	%eax, %ecx
	movl	%ecx, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_5:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rt2800_bbp_read
	movl	%eax, -72(%rbp)
	movq	_BBP1_TX_POWER_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdi
	movl	%ebx, %edx
	callq	_rt2x00_set_field8
	movl	-72(%rbp), %edx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rt2800_bbp_write
	movq	_EEPROM_TXPOWER_BYRATE_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.6:
	movq	_TX_PWR_CFG_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_TX_PWR_CFG_4@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jg	LBB0_10
## %bb.7:
	xorl	%r14d, %r14d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_rt2800_register_read
	movq	%rax, -48(%rbp)
	movq	_EEPROM_TXPOWER_BYRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_rt2800_eeprom_read_from_array
	movl	%eax, %ebx
	xorl	%r15d, %r15d
	testl	%r14d, %r14d
	sete	%r15b
	movq	_EEPROM_TXPOWER_BYRATE_RATE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%eax, %r8d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %r9d
	callq	_rt2800_compensate_txpower
	movq	_TX_PWR_CFG_RATE0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_EEPROM_TXPOWER_BYRATE_RATE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	movl	%r14d, %r9d
	callq	_rt2800_compensate_txpower
	movq	_TX_PWR_CFG_RATE1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_EEPROM_TXPOWER_BYRATE_RATE2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movl	%ebx, %r12d
	callq	_rt2x00_get_field16
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	%r13d, %ebx
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%eax, %r8d
	movl	%r14d, %r9d
	callq	_rt2800_compensate_txpower
	movq	_TX_PWR_CFG_RATE2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_EEPROM_TXPOWER_BYRATE_RATE3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_rt2x00_get_field16
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	movq	%r14, %r12
	movl	%r12d, %r9d
	callq	_rt2800_compensate_txpower
	movq	_TX_PWR_CFG_RATE3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_EEPROM_TXPOWER_BYRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %edx
	movq	%r15, %rdi
	callq	_rt2800_eeprom_read_from_array
	movl	%eax, %ebx
	movq	_EEPROM_TXPOWER_BYRATE_RATE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	movl	%r12d, %r9d
	callq	_rt2800_compensate_txpower
	movq	_TX_PWR_CFG_RATE4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_EEPROM_TXPOWER_BYRATE_RATE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	movl	%r12d, %r9d
	callq	_rt2800_compensate_txpower
	movq	_TX_PWR_CFG_RATE5@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_EEPROM_TXPOWER_BYRATE_RATE2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field16
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	movl	%r12d, %r9d
	callq	_rt2800_compensate_txpower
	movq	_TX_PWR_CFG_RATE6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_EEPROM_TXPOWER_BYRATE_RATE3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	callq	_rt2x00_get_field16
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	%r13d, %ecx
	movl	%eax, %r8d
	movl	%r12d, %r9d
	callq	_rt2800_compensate_txpower
	movq	_TX_PWR_CFG_RATE7@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_rt2800_register_write
	addl	$2, %r14d
	movq	_EEPROM_TXPOWER_BYRATE_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	addq	$4, %rbx
	movq	_TX_PWR_CFG_4@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jle	LBB0_8
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BBP1_TX_POWER_CTRL,4,2         ## @BBP1_TX_POWER_CTRL
	.comm	_TX_PWR_CFG_0,8,3               ## @TX_PWR_CFG_0
	.comm	_EEPROM_TXPOWER_BYRATE_SIZE,4,2 ## @EEPROM_TXPOWER_BYRATE_SIZE
	.comm	_TX_PWR_CFG_4,8,3               ## @TX_PWR_CFG_4
	.comm	_EEPROM_TXPOWER_BYRATE,4,2      ## @EEPROM_TXPOWER_BYRATE
	.comm	_EEPROM_TXPOWER_BYRATE_RATE0,4,2 ## @EEPROM_TXPOWER_BYRATE_RATE0
	.comm	_TX_PWR_CFG_RATE0,4,2           ## @TX_PWR_CFG_RATE0
	.comm	_EEPROM_TXPOWER_BYRATE_RATE1,4,2 ## @EEPROM_TXPOWER_BYRATE_RATE1
	.comm	_TX_PWR_CFG_RATE1,4,2           ## @TX_PWR_CFG_RATE1
	.comm	_EEPROM_TXPOWER_BYRATE_RATE2,4,2 ## @EEPROM_TXPOWER_BYRATE_RATE2
	.comm	_TX_PWR_CFG_RATE2,4,2           ## @TX_PWR_CFG_RATE2
	.comm	_EEPROM_TXPOWER_BYRATE_RATE3,4,2 ## @EEPROM_TXPOWER_BYRATE_RATE3
	.comm	_TX_PWR_CFG_RATE3,4,2           ## @TX_PWR_CFG_RATE3
	.comm	_TX_PWR_CFG_RATE4,4,2           ## @TX_PWR_CFG_RATE4
	.comm	_TX_PWR_CFG_RATE5,4,2           ## @TX_PWR_CFG_RATE5
	.comm	_TX_PWR_CFG_RATE6,4,2           ## @TX_PWR_CFG_RATE6
	.comm	_TX_PWR_CFG_RATE7,4,2           ## @TX_PWR_CFG_RATE7
	.no_dead_strip	_rt2800_config_txpower_rt28xx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2800_config_txpower_rt28xx
_rt2800_config_txpower_rt28xx:          ; @rt2800_config_txpower_rt28xx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	ldr	w21, [x1]
	mov	x1, x21
	bl	_rt2800_get_txpower_bw_comp
	mov	x22, x0
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_rt2800_get_gain_calibration_delta
	add	w22, w0, w22
LBB0_2:
	ldr	w2, [x23, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_rt2800_get_txpower_reg_delta
	add	w8, w22, w0
	cmn	w8, #5
	cset	w9, lt
	add	w10, w8, #6
	csel	w10, w10, w8, lt
	add	w11, w8, #12
	mov	w12, #2
	cmn	w8, #12
	csel	w22, w10, w11, gt
	csel	w23, w9, w12, gt
	mov	x0, x20
	mov	w1, #1
	bl	_rt2800_bbp_read
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _BBP1_TX_POWER_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BBP1_TX_POWER_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	x2, x23
	bl	_rt2x00_set_field8
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	w1, #1
	bl	_rt2800_bbp_write
Lloh3:
	adrp	x8, _TX_PWR_CFG_0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TX_PWR_CFG_0@GOTPAGEOFF]
Lloh5:
	ldr	x23, [x8]
Lloh6:
	adrp	x8, _EEPROM_TXPOWER_BYRATE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EEPROM_TXPOWER_BYRATE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _TX_PWR_CFG_4@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TX_PWR_CFG_4@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	w8, #1
	ccmp	x23, x9, #0, ge
	b.gt	LBB0_6
; %bb.3:
	mov	w24, #0
Lloh12:
	adrp	x27, _EEPROM_TXPOWER_BYRATE@GOTPAGE
Lloh13:
	ldr	x27, [x27, _EEPROM_TXPOWER_BYRATE@GOTPAGEOFF]
Lloh14:
	adrp	x28, _EEPROM_TXPOWER_BYRATE_RATE0@GOTPAGE
Lloh15:
	ldr	x28, [x28, _EEPROM_TXPOWER_BYRATE_RATE0@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_rt2800_register_read
	str	x0, [sp]
	ldr	w1, [x27]
	mov	x0, x20
	mov	x2, x24
	bl	_rt2800_eeprom_read_from_array
	mov	x26, x0
	cmp	w24, #0
	cset	w25, eq
	ldr	w1, [x28]
	bl	_rt2x00_get_field16
	mov	x4, x0
	mov	x0, x20
	mov	x1, x25
	mov	x2, x21
	mov	x3, x19
	mov	x5, x22
	bl	_rt2800_compensate_txpower
	mov	x2, x0
Lloh16:
	adrp	x8, _TX_PWR_CFG_RATE0@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TX_PWR_CFG_RATE0@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_rt2x00_set_field32
Lloh19:
	adrp	x8, _EEPROM_TXPOWER_BYRATE_RATE1@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EEPROM_TXPOWER_BYRATE_RATE1@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_rt2x00_get_field16
	mov	x4, x0
	mov	x0, x20
	mov	x1, x25
	mov	x2, x21
	mov	x3, x19
	mov	x5, x22
	bl	_rt2800_compensate_txpower
	mov	x2, x0
Lloh22:
	adrp	x8, _TX_PWR_CFG_RATE1@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TX_PWR_CFG_RATE1@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_rt2x00_set_field32
Lloh25:
	adrp	x8, _EEPROM_TXPOWER_BYRATE_RATE2@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EEPROM_TXPOWER_BYRATE_RATE2@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_rt2x00_get_field16
	mov	x4, x0
	mov	x0, x20
	mov	x1, x25
	mov	x2, x21
	mov	x3, x19
	mov	x5, x22
	bl	_rt2800_compensate_txpower
	mov	x2, x0
Lloh28:
	adrp	x8, _TX_PWR_CFG_RATE2@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TX_PWR_CFG_RATE2@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_rt2x00_set_field32
Lloh31:
	adrp	x8, _EEPROM_TXPOWER_BYRATE_RATE3@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EEPROM_TXPOWER_BYRATE_RATE3@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_rt2x00_get_field16
	mov	x4, x0
	mov	x0, x20
	mov	x1, x25
	mov	x2, x21
	mov	x3, x19
	mov	x5, x22
	bl	_rt2800_compensate_txpower
	mov	x2, x0
Lloh34:
	adrp	x8, _TX_PWR_CFG_RATE3@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TX_PWR_CFG_RATE3@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_rt2x00_set_field32
	ldr	w1, [x27]
	add	w2, w24, #1
	mov	x0, x20
	bl	_rt2800_eeprom_read_from_array
	mov	x25, x0
	ldr	w1, [x28]
	bl	_rt2x00_get_field16
	mov	x4, x0
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	mov	x3, x19
	mov	x5, x22
	bl	_rt2800_compensate_txpower
	mov	x2, x0
Lloh37:
	adrp	x8, _TX_PWR_CFG_RATE4@GOTPAGE
Lloh38:
	ldr	x8, [x8, _TX_PWR_CFG_RATE4@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_rt2x00_set_field32
Lloh40:
	adrp	x8, _EEPROM_TXPOWER_BYRATE_RATE1@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EEPROM_TXPOWER_BYRATE_RATE1@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_rt2x00_get_field16
	mov	x4, x0
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	mov	x3, x19
	mov	x5, x22
	bl	_rt2800_compensate_txpower
	mov	x2, x0
Lloh43:
	adrp	x8, _TX_PWR_CFG_RATE5@GOTPAGE
Lloh44:
	ldr	x8, [x8, _TX_PWR_CFG_RATE5@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_rt2x00_set_field32
Lloh46:
	adrp	x8, _EEPROM_TXPOWER_BYRATE_RATE2@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EEPROM_TXPOWER_BYRATE_RATE2@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_rt2x00_get_field16
	mov	x4, x0
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	mov	x3, x19
	mov	x5, x22
	bl	_rt2800_compensate_txpower
	mov	x2, x0
Lloh49:
	adrp	x8, _TX_PWR_CFG_RATE6@GOTPAGE
Lloh50:
	ldr	x8, [x8, _TX_PWR_CFG_RATE6@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_rt2x00_set_field32
Lloh52:
	adrp	x8, _EEPROM_TXPOWER_BYRATE_RATE3@GOTPAGE
Lloh53:
	ldr	x8, [x8, _EEPROM_TXPOWER_BYRATE_RATE3@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_rt2x00_get_field16
	mov	x4, x0
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	mov	x3, x19
	mov	x5, x22
	bl	_rt2800_compensate_txpower
	mov	x2, x0
Lloh55:
	adrp	x8, _TX_PWR_CFG_RATE7@GOTPAGE
Lloh56:
	ldr	x8, [x8, _TX_PWR_CFG_RATE7@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_rt2x00_set_field32
	ldr	x2, [sp]
	mov	x0, x20
	mov	x1, x23
	bl	_rt2800_register_write
Lloh58:
	adrp	x8, _EEPROM_TXPOWER_BYRATE_SIZE@GOTPAGE
Lloh59:
	ldr	x8, [x8, _EEPROM_TXPOWER_BYRATE_SIZE@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	add	w24, w24, #2
	cmp	w24, w8
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #4
Lloh61:
	adrp	x8, _TX_PWR_CFG_4@GOTPAGE
Lloh62:
	ldr	x8, [x8, _TX_PWR_CFG_4@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	cmp	x23, x8
	b.le	LBB0_4
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_BBP1_TX_POWER_CTRL,4,2         ; @BBP1_TX_POWER_CTRL
	.comm	_TX_PWR_CFG_0,8,3               ; @TX_PWR_CFG_0
	.comm	_EEPROM_TXPOWER_BYRATE_SIZE,4,2 ; @EEPROM_TXPOWER_BYRATE_SIZE
	.comm	_TX_PWR_CFG_4,8,3               ; @TX_PWR_CFG_4
	.comm	_EEPROM_TXPOWER_BYRATE,4,2      ; @EEPROM_TXPOWER_BYRATE
	.comm	_EEPROM_TXPOWER_BYRATE_RATE0,4,2 ; @EEPROM_TXPOWER_BYRATE_RATE0
	.comm	_TX_PWR_CFG_RATE0,4,2           ; @TX_PWR_CFG_RATE0
	.comm	_EEPROM_TXPOWER_BYRATE_RATE1,4,2 ; @EEPROM_TXPOWER_BYRATE_RATE1
	.comm	_TX_PWR_CFG_RATE1,4,2           ; @TX_PWR_CFG_RATE1
	.comm	_EEPROM_TXPOWER_BYRATE_RATE2,4,2 ; @EEPROM_TXPOWER_BYRATE_RATE2
	.comm	_TX_PWR_CFG_RATE2,4,2           ; @TX_PWR_CFG_RATE2
	.comm	_EEPROM_TXPOWER_BYRATE_RATE3,4,2 ; @EEPROM_TXPOWER_BYRATE_RATE3
	.comm	_TX_PWR_CFG_RATE3,4,2           ; @TX_PWR_CFG_RATE3
	.comm	_TX_PWR_CFG_RATE4,4,2           ; @TX_PWR_CFG_RATE4
	.comm	_TX_PWR_CFG_RATE5,4,2           ; @TX_PWR_CFG_RATE5
	.comm	_TX_PWR_CFG_RATE6,4,2           ; @TX_PWR_CFG_RATE6
	.comm	_TX_PWR_CFG_RATE7,4,2           ; @TX_PWR_CFG_RATE7
	.no_dead_strip	_rt2800_config_txpower_rt28xx
.subsections_via_symbols
