	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92c_get_txpower_writeval_by_regulatory
__rtl92c_get_txpower_writeval_by_regulatory: ## @_rtl92c_get_txpower_writeval_by_regulatory
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -120(%rbp)                 ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_rtl_priv
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_efuse
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rcx
	addq	$8, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	cmpq	$2, %r13
	cmovaeq	%r14, %rbx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpq	$10, %r15
	movl	$2, %ecx
	sbbq	$0, %rcx
	xorl	%edx, %edx
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	cmpq	$4, %r15
	cmovbq	%rdx, %rcx
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	16(%rax), %rdx
	movq	%rcx, %rax
	orq	$4, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	incq	%rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movb	$1, %r13b
	movb	$65, %al
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movl	%r13d, %ecx
	notb	%cl
	movzbl	%cl, %ecx
	andl	$1, %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,8), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%r12,4), %r15d
	addl	(%rax,%rcx,4), %r15d
	movq	_FPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	%r13b, %eax
	andl	$1, %eax
	movl	$66, %r8d
	subl	%eax, %r8d
	movq	%rdi, %rbx
	leaq	L_.str.7(%rip), %rcx
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %r9d
	callq	_RTPRINT
	xorl	%r14d, %r14d
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rax
	xorl	%ecx, %ecx
	movq	_TXHIGHPWRLEVEL_LEVEL2@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	cmovel	%ecx, %r15d
	movq	_TXHIGHPWRLEVEL_LEVEL1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$336860180, %ecx                ## imm = 0x14141414
	cmovel	%ecx, %r15d
	movq	_TXHIGHPWRLEVEL_BT1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leal	-101058054(%r15), %eax
	cmovnel	%r15d, %eax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx,%r12,4)
	movl	$1, %r12d
	movb	$66, %al
	testb	$1, %r13b
	movl	$0, %r13d
	movq	%rbx, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_16
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx), %ecx
	cmpq	$3, %rcx
	ja	LBB0_13
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rcx
	addq	%rsi, %rcx
	jmpq	*%rcx
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movl	%r13d, %ecx
	notb	%cl
	movzbl	%cl, %ecx
	andl	$1, %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,8), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%r12,4), %r15d
	addl	(%rax,%rcx,4), %r15d
	movq	_FPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	%r13b, %eax
	andl	$1, %eax
	movl	$66, %r8d
	subl	%eax, %r8d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	16(%rdi), %eax
	cmpl	$1, %eax
	movl	$0, %ecx
	cmoveq	%rcx, %r14
	cmpl	$3, %eax
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	20(%rdi), %eax
	movq	_HT_CHANNEL_WIDTH_20@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	cmoveq	-96(%rbp), %r14                 ## 8-byte Folded Reload
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdi), %rax
	movq	(%rax,%r14,8), %rax
	movl	%r13d, %ecx
	notb	%cl
	movzbl	%cl, %ecx
	andl	$1, %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,8), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%r12,4), %r15d
	addl	(%rax,%rcx,4), %r15d
	movq	_FPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	%r13b, %eax
	andl	$1, %eax
	movl	$66, %r8d
	subl	%eax, %r8d
	movq	%rdi, %rbx
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12,4), %r15d
	movq	_FPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	%r13b, %eax
	andl	$1, %eax
	movl	$66, %r8d
	subl	%eax, %r8d
	movq	%rdi, %rbx
	leaq	L_.str.2(%rip), %rcx
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %r9d
	callq	_RTPRINT
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	20(%rdi), %ecx
	movq	_HT_CHANNEL_WIDTH_20_40@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ecx
	movq	_FPHY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rdi, %r15
	movq	%rdx, %rdi
	cmoveq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.3(%rip), %rbx
	cmoveq	%rbx, %rcx
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	(%rdi), %rdi
	movq	(%rdi,%r12,8), %rdi
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movl	-4(%rdi,%r14,4), %r9d
	movsbl	%al, %r8d
	movq	%r15, %rdi
	callq	_RTPRINT
	movq	%r15, %rbx
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movl	%r13d, %ecx
	notb	%cl
	movzbl	%cl, %ecx
	andl	$1, %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,8), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	20(%r15), %edx
	movl	%eax, %ecx
	andl	$127, %ecx
	movq	_HT_CHANNEL_WIDTH_20_40@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rdx), %rdx
	movq	(%rdx,%r12,8), %rdx
	movslq	-4(%rdx,%r14,4), %rsi
	cmpq	%rsi, %rcx
	cmoval	%esi, %ecx
	movl	%eax, %r15d
	shrl	$8, %r15d
	andl	$127, %r15d
	cmpq	%rsi, %r15
	cmoval	%esi, %r15d
	movl	%eax, %edx
	shrl	$16, %edx
	andl	$127, %edx
	cmpq	%rsi, %rdx
	cmoval	%esi, %edx
	shrl	$24, %eax
	andl	$127, %eax
	cmpq	%rsi, %rax
	cmoval	%esi, %eax
	shll	$24, %eax
	shll	$16, %edx
	orl	%eax, %edx
	shll	$8, %r15d
	orl	%ecx, %r15d
	orl	%edx, %r15d
	movq	_FPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	%r13b, %eax
	andl	$1, %eax
	movl	$66, %r14d
	subl	%eax, %r14d
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rcx
	movl	%r14d, %r8d
	movl	%r15d, %r9d
	callq	_RTPRINT
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	(%rax,%r12,4), %r15d
	movq	_FPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rcx
	movl	%r14d, %r8d
	jmp	LBB0_14
LBB0_16:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_FPHY,4,2                       ## @FPHY
	.comm	_PHY_TXPWR,4,2                  ## @PHY_TXPWR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RTK better performance,writeval(%c) = 0x%x\n"

	.comm	_HT_CHANNEL_WIDTH_20,4,2        ## @HT_CHANNEL_WIDTH_20
L_.str.1:                               ## @.str.1
	.asciz	"Realtek regulatory, 20MHz, writeval(%c) = 0x%x\n"

L_.str.2:                               ## @.str.2
	.asciz	"Better regulatory,writeval(%c) = 0x%x\n"

	.comm	_HT_CHANNEL_WIDTH_20_40,4,2     ## @HT_CHANNEL_WIDTH_20_40
L_.str.3:                               ## @.str.3
	.asciz	"customer's limit, 40MHzrf(%c) = 0x%x\n"

L_.str.4:                               ## @.str.4
	.asciz	"customer's limit, 20MHz rf(%c) = 0x%x\n"

L_.str.5:                               ## @.str.5
	.asciz	"Customer's limit rf(%c) = 0x%x\n"

L_.str.6:                               ## @.str.6
	.asciz	"Customer, writeval rf(%c)= 0x%x\n"

L_.str.7:                               ## @.str.7
	.asciz	"RTK better performance, writevalrf(%c) = 0x%x\n"

	.comm	_TXHIGHPWRLEVEL_LEVEL1,8,3      ## @TXHIGHPWRLEVEL_LEVEL1
	.comm	_TXHIGHPWRLEVEL_LEVEL2,8,3      ## @TXHIGHPWRLEVEL_LEVEL2
	.comm	_TXHIGHPWRLEVEL_BT1,8,3         ## @TXHIGHPWRLEVEL_BT1
	.no_dead_strip	__rtl92c_get_txpower_writeval_by_regulatory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function _rtl92c_get_txpower_writeval_by_regulatory
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
lCPI0_1:
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
__rtl92c_get_txpower_writeval_by_regulatory: ; @_rtl92c_get_txpower_writeval_by_regulatory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	d11, d10, [sp, #64]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #80]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	str	x5, [sp, #48]                   ; 8-byte Folded Spill
	mov	x23, x4
	mov	x27, x3
	mov	x20, x2
	mov	x25, x1
	mov	x22, x0
	bl	_rtl_priv
	mov	x21, x0
	mov	x0, x22
	bl	_rtl_priv
	bl	_rtl_efuse
	mov	x22, x0
	mov	x26, #0
	mov	x24, #0
	add	x9, x0, #16
	sub	x8, x25, #1
	stp	x8, x9, [sp, #24]               ; 16-byte Folded Spill
	add	x12, x0, #8
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	cmp	x20, #2
	csel	x28, x27, x23, lo
	cmp	x25, #10
	mov	w8, #1
	cinc	x9, x8, hs
	cmp	x25, #4
	csel	x9, xzr, x9, lo
	orr	x10, x9, #0x4
	add	x9, x9, #1
	stp	x9, x10, [sp, #8]               ; 16-byte Folded Spill
	mov	w25, #65
Lloh0:
	adrp	x20, _PHY_TXPWR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PHY_TXPWR@GOTPAGEOFF]
Lloh2:
	adrp	x19, _TXHIGHPWRLEVEL_LEVEL1@GOTPAGE
Lloh3:
	ldr	x19, [x19, _TXHIGHPWRLEVEL_LEVEL1@GOTPAGEOFF]
Lloh4:
	adrp	x9, lCPI0_0@PAGE
Lloh5:
	ldr	d8, [x9, lCPI0_0@PAGEOFF]
	movi.2s	v9, #127
Lloh6:
	adrp	x9, lCPI0_1@PAGE
Lloh7:
	ldr	d10, [x9, lCPI0_1@PAGEOFF]
	mov	w9, #65
	str	x12, [sp, #56]                  ; 8-byte Folded Spill
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	tst	w27, #0x1
	mov	w9, #8
	csel	x9, xzr, x9, ne
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	add	x9, x9, x10
	ldr	w8, [x8, x9, lsl #2]
	ldr	w9, [x28, x26, lsl #2]
	add	w23, w9, w8
Lloh8:
	adrp	x8, _FPHY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FPHY@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x20]
	cinc	w4, w25, eq
	mov	x0, x21
Lloh11:
	adrp	x3, l_.str.7@PAGE
Lloh12:
	add	x3, x3, l_.str.7@PAGEOFF
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x5, x23
	bl	_RTPRINT
	mov	x24, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	ldr	x9, [x21]
Lloh13:
	adrp	x10, _TXHIGHPWRLEVEL_LEVEL2@GOTPAGE
Lloh14:
	ldr	x10, [x10, _TXHIGHPWRLEVEL_LEVEL2@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x9, x10
	ldr	x10, [x19]
	csel	w11, wzr, w23, eq
	cmp	x9, x10
	mov	w10, #5140
	movk	w10, #5140, lsl #16
	csel	w10, w10, w11, eq
Lloh16:
	adrp	x11, _TXHIGHPWRLEVEL_BT1@GOTPAGE
Lloh17:
	ldr	x11, [x11, _TXHIGHPWRLEVEL_BT1@GOTPAGEOFF]
Lloh18:
	ldr	x11, [x11]
	cmp	x9, x11
	mov	w9, #63994
	movk	w9, #63993, lsl #16
	add	w9, w10, w9
	csel	w9, w9, w10, eq
	ldp	x10, x12, [sp, #48]             ; 16-byte Folded Reload
	str	w9, [x10, x26, lsl #2]
	mov	w9, #66
	mov	w26, #1
	tbz	w27, #0, LBB0_16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x8
	ldr	w8, [x22]
	cmp	w8, #3
	b.hi	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh19:
	adrp	x13, lJTI0_0@PAGE
Lloh20:
	add	x13, x13, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x13, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	tst	w27, #0x1
	mov	w9, #8
	csel	x9, xzr, x9, ne
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	add	x9, x9, x10
	ldr	w8, [x8, x9, lsl #2]
	ldr	w9, [x28, x26, lsl #2]
	add	w23, w9, w8
Lloh21:
	adrp	x8, _FPHY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FPHY@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x20]
	cinc	w4, w25, eq
	mov	x0, x21
Lloh24:
	adrp	x3, l_.str@PAGE
Lloh25:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, #16]
	cmp	w8, #1
	csel	x24, xzr, x24, eq
	cmp	w8, #3
	b.lt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, #20]
Lloh26:
	adrp	x9, _HT_CHANNEL_WIDTH_20@GOTPAGE
Lloh27:
	ldr	x9, [x9, _HT_CHANNEL_WIDTH_20@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	cmp	w8, w9
	ldp	x9, x8, [sp, #8]                ; 16-byte Folded Reload
	csel	x24, x9, x8, eq
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x24, lsl #3]
	tst	w27, #0x1
	mov	w9, #8
	csel	x9, xzr, x9, ne
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	add	x9, x9, x10
	ldr	w8, [x8, x9, lsl #2]
	ldr	w9, [x28, x26, lsl #2]
	add	w23, w9, w8
Lloh29:
	adrp	x8, _FPHY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FPHY@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	w2, [x20]
	cinc	w4, w25, eq
	mov	x0, x21
Lloh32:
	adrp	x3, l_.str.1@PAGE
Lloh33:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w23, [x28, x26, lsl #2]
Lloh34:
	adrp	x8, _FPHY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _FPHY@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	ldr	w2, [x20]
	tst	w27, #0x1
	cinc	w4, w25, eq
	mov	x0, x21
Lloh37:
	adrp	x3, l_.str.2@PAGE
Lloh38:
	add	x3, x3, l_.str.2@PAGEOFF
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x5, x23
	bl	_RTPRINT
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x22
	mov	x22, x28
	ldr	w8, [x21, #20]
Lloh39:
	adrp	x28, _HT_CHANNEL_WIDTH_20_40@GOTPAGE
Lloh40:
	ldr	x28, [x28, _HT_CHANNEL_WIDTH_20_40@GOTPAGEOFF]
	ldr	w10, [x28]
Lloh41:
	adrp	x11, _FPHY@GOTPAGE
Lloh42:
	ldr	x11, [x11, _FPHY@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x11]
	ldr	w2, [x20]
	cmp	w8, w10
	ldp	x24, x23, [sp, #24]             ; 16-byte Folded Reload
	csel	x8, x12, x23, eq
Lloh44:
	adrp	x10, l_.str.4@PAGE
Lloh45:
	add	x10, x10, l_.str.4@PAGEOFF
Lloh46:
	adrp	x11, l_.str.3@PAGE
Lloh47:
	add	x11, x11, l_.str.3@PAGEOFF
	csel	x3, x11, x10, eq
	ldr	x8, [x8]
	ldr	x8, [x8, x26, lsl #3]
	ldr	w5, [x8, x24, lsl #2]
	sxtb	w4, w9
	mov	x0, x21
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	mov	x19, x12
	bl	_RTPRINT
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	tst	w27, #0x1
	mov	w9, #8
	csel	x9, xzr, x9, ne
	add	x9, x9, x20
	ldr	w9, [x8, x9, lsl #2]
	ldr	w10, [x21, #20]
	ldr	w11, [x28]
	and	x8, x9, #0x7f
	cmp	w10, w11
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x19]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x23]
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x10, x26, lsl #3]
	ldrsw	x10, [x10, x24, lsl #2]
	cmp	x8, x10
	csel	w8, w10, w8, hi
	dup.2s	v0, w9
	ushl.2s	v0, v0, v8
	and.8b	v0, v0, v9
	ushll.2d	v1, v0, #0
	dup.2d	v2, x10
	cmhi.2d	v1, v1, v2
	xtn.2s	v1, v1
	dup.2s	v2, w10
	bit.8b	v0, v2, v1
	ubfx	x9, x9, #24, #7
	cmp	x9, x10
	csel	w9, w10, w9, hi
	mov	x28, x22
	mov	x22, x25
	mov	w25, #65
	ushl.2s	v0, v0, v10
	mov.s	w10, v0[1]
	fmov	w11, s0
	orr	w9, w11, w9, lsl #24
	orr	w9, w9, w10
	orr	w23, w9, w8
Lloh48:
	adrp	x19, _FPHY@GOTPAGE
Lloh49:
	ldr	x19, [x19, _FPHY@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh50:
	adrp	x20, _PHY_TXPWR@GOTPAGE
Lloh51:
	ldr	x20, [x20, _PHY_TXPWR@GOTPAGEOFF]
	ldr	w2, [x20]
	tst	w27, #0x1
	cinc	w24, w25, eq
	mov	x0, x21
Lloh52:
	adrp	x3, l_.str.5@PAGE
Lloh53:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x4, x24
	mov	x5, x23
	bl	_RTPRINT
	ldr	w8, [x28, x26, lsl #2]
	add	w23, w8, w23
	ldr	w1, [x19]
	ldr	w2, [x20]
	mov	x0, x21
Lloh54:
	adrp	x3, l_.str.6@PAGE
Lloh55:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x4, x24
	mov	x5, x23
	bl	_RTPRINT
	mov	x24, #0
Lloh56:
	adrp	x19, _TXHIGHPWRLEVEL_LEVEL1@GOTPAGE
Lloh57:
	ldr	x19, [x19, _TXHIGHPWRLEVEL_LEVEL1@GOTPAGEOFF]
	b	LBB0_3
LBB0_16:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #80]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
                                        ; -- End function
	.comm	_FPHY,4,2                       ; @FPHY
	.comm	_PHY_TXPWR,4,2                  ; @PHY_TXPWR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RTK better performance,writeval(%c) = 0x%x\n"

	.comm	_HT_CHANNEL_WIDTH_20,4,2        ; @HT_CHANNEL_WIDTH_20
l_.str.1:                               ; @.str.1
	.asciz	"Realtek regulatory, 20MHz, writeval(%c) = 0x%x\n"

l_.str.2:                               ; @.str.2
	.asciz	"Better regulatory,writeval(%c) = 0x%x\n"

	.comm	_HT_CHANNEL_WIDTH_20_40,4,2     ; @HT_CHANNEL_WIDTH_20_40
l_.str.3:                               ; @.str.3
	.asciz	"customer's limit, 40MHzrf(%c) = 0x%x\n"

l_.str.4:                               ; @.str.4
	.asciz	"customer's limit, 20MHz rf(%c) = 0x%x\n"

l_.str.5:                               ; @.str.5
	.asciz	"Customer's limit rf(%c) = 0x%x\n"

l_.str.6:                               ; @.str.6
	.asciz	"Customer, writeval rf(%c)= 0x%x\n"

l_.str.7:                               ; @.str.7
	.asciz	"RTK better performance, writevalrf(%c) = 0x%x\n"

	.comm	_TXHIGHPWRLEVEL_LEVEL1,8,3      ; @TXHIGHPWRLEVEL_LEVEL1
	.comm	_TXHIGHPWRLEVEL_LEVEL2,8,3      ; @TXHIGHPWRLEVEL_LEVEL2
	.comm	_TXHIGHPWRLEVEL_BT1,8,3         ; @TXHIGHPWRLEVEL_BT1
	.no_dead_strip	__rtl92c_get_txpower_writeval_by_regulatory
.subsections_via_symbols
