	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8821ae_read_power_value_fromprom
__rtl8821ae_read_power_value_fromprom:  ## @_rtl8821ae_read_power_value_fromprom
	.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	%r8, %r12
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	callq	_rtl_priv
	movq	%rax, %rdi
	movq	_EEPROM_TX_PWR_INX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	1(%rbx), %r8
	movl	4(%r12,%rbx,4), %r9d
	leaq	L_.str(%rip), %rcx
	movq	%rdi, %r14
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rax
	cmpl	$255, 4(%r12,%rbx,4)
	je	LBB0_2
## %bb.20:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rax, %rbx
	callq	_rtl_priv
	movl	$1, (%rax)
	movq	_MAX_RF_PATH@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_82
## %bb.21:
	movq	%rbx, %r9
	xorl	%r13d, %r13d
	movq	_MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %r10
	movl	$45, %r11d
	movabsq	$4294967296, %r14               ## imm = 0x100000000
	movl	$254, %r12d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_80:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r12, %r9
	addl	%r15d, %r9d
LBB0_81:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	_MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %r10
	movl	$45, %r11d
	movabsq	$4294967296, %r14               ## imm = 0x100000000
	movl	$254, %r12d
	incq	%r13
	movq	_MAX_RF_PATH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jge	LBB0_82
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
                                        ##     Child Loop BB0_42 Depth 2
                                        ##     Child Loop BB0_44 Depth 2
                                        ##     Child Loop BB0_32 Depth 2
                                        ##     Child Loop BB0_36 Depth 2
                                        ##     Child Loop BB0_69 Depth 2
                                        ##     Child Loop BB0_75 Depth 2
	cmpl	$0, (%r10)
	jle	LBB0_23
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	movslq	%r9d, %rdx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rsi
	shlq	$32, %rdx
	movl	%r9d, %ecx
	xorl	%eax, %eax
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rsi,%rax,4), %edi
	movq	(%r8), %rbx
	movq	(%rbx,%r13,8), %rbx
	cmpl	$255, %edi
	cmovel	%r11d, %edi
	movl	%edi, (%rbx,%rax,4)
	incq	%rax
	movslq	(%r10), %rdi
	addq	%r14, %rdx
	incl	%ecx
	cmpq	%rdi, %rax
	jl	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpl	$1, %edi
	movq	_MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %rbx
	jle	LBB0_25
## %bb.41:                              ##   in Loop: Header=BB0_22 Depth=1
	movslq	%ecx, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdx,%rcx,4), %esi
	movq	8(%r8), %rdi
	movq	(%rdi,%r13,8), %rdi
	cmpl	$255, %esi
	cmovel	%r11d, %esi
	movl	%esi, (%rdi,%rcx,4)
	incq	%rcx
	movslq	(%r10), %rsi
	decq	%rsi
	cmpq	%rsi, %rcx
	jl	LBB0_42
## %bb.28:                              ##   in Loop: Header=BB0_22 Depth=1
	addl	%eax, %r9d
	addl	%r9d, %ecx
	movl	%ecx, %r9d
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	_MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %rbx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%r9d, %r9d
	addq	%rax, %r9
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	_MAX_TX_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_30
## %bb.43:                              ##   in Loop: Header=BB0_22 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_58:                                ##   in Loop: Header=BB0_44 Depth=2
	movq	%r14, %r8
LBB0_59:                                ##   in Loop: Header=BB0_44 Depth=2
	movq	%r12, %r9
	movq	_MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %rbx
	movl	$254, %r12d
	addl	%ecx, %r9d
	incq	%r15
	movq	_MAX_TX_COUNT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_30
LBB0_44:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r15, %r15
	je	LBB0_45
## %bb.50:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	%r9, %r12
	movslq	%r9d, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %ebx
	shrl	$4, %ebx
	andl	$15, %ebx
	movq	32(%r8), %rax
	movq	(%rax,%r13,8), %rax
	movl	%ebx, (%rax,%r15,4)
	movl	$3, %edi
	callq	_BIT
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%ebx, %eax
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	32(%rcx), %rax
	movq	(%rax,%r13,8), %rax
	orl	$240, (%rax,%r15,4)
LBB0_52:                                ##   in Loop: Header=BB0_44 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %ebx
	andl	$15, %ebx
	movq	16(%rcx), %rax
	movq	(%rax,%r13,8), %rax
	movl	%ebx, (%rax,%r15,4)
	movl	$3, %edi
	callq	_BIT
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%ebx, %eax
	je	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	16(%rcx), %rax
	movq	(%rax,%r13,8), %rax
	orl	$240, (%rax,%r15,4)
LBB0_54:                                ##   in Loop: Header=BB0_44 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax,%r14,4), %ebx
	incq	%r14
	shrl	$4, %ebx
	andl	$15, %ebx
	movq	24(%rcx), %rax
	movq	(%rax,%r13,8), %rax
	movl	%ebx, (%rax,%r15,4)
	movl	$3, %edi
	callq	_BIT
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%ebx, %eax
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	24(%rcx), %rax
	movq	(%rax,%r13,8), %rax
	orl	$240, (%rax,%r15,4)
LBB0_56:                                ##   in Loop: Header=BB0_44 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %ebx
	andl	$15, %ebx
	movq	40(%rcx), %rax
	movq	(%rax,%r13,8), %rax
	movl	%ebx, (%rax,%r15,4)
	movl	$3, %edi
	movq	%rcx, %r14
	callq	_BIT
	movl	$2, %ecx
	testl	%ebx, %eax
	je	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	40(%r14), %rax
	movq	(%rax,%r13,8), %rax
	orl	$240, (%rax,%r15,4)
	jmp	LBB0_58
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_44 Depth=2
	movq	32(%r8), %rax
	movq	(%rax,%r13,8), %rax
	movl	$0, (%rax)
	movq	%r9, %r12
	movslq	%r9d, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %ebx
	shrl	$4, %ebx
	andl	$15, %ebx
	movq	16(%r8), %rax
	movq	(%rax,%r13,8), %rax
	movl	%ebx, (%rax)
	movl	$3, %edi
	callq	_BIT
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%ebx, %eax
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	16(%rcx), %rax
	movq	(%rax,%r13,8), %rax
	orl	$240, (%rax)
LBB0_47:                                ##   in Loop: Header=BB0_44 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %ebx
	andl	$15, %ebx
	movq	24(%rcx), %rax
	movq	(%rax,%r13,8), %rax
	movl	%ebx, (%rax)
	movl	$3, %edi
	callq	_BIT
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	testl	%ebx, %eax
	je	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	24(%r8), %rax
	movq	(%rax,%r13,8), %rax
	orl	$240, (%rax)
LBB0_49:                                ##   in Loop: Header=BB0_44 Depth=2
	movq	40(%r8), %rax
	movq	(%rax,%r13,8), %rax
	movl	$0, (%rax)
	movl	$1, %ecx
	jmp	LBB0_59
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpl	$0, (%rbx)
	jle	LBB0_34
## %bb.31:                              ##   in Loop: Header=BB0_22 Depth=1
	movslq	%r9d, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rcx,%rax,4), %edx
	movq	(%rdi), %rsi
	movq	(%rsi,%r13,8), %rsi
	cmpl	$255, %edx
	cmovel	%r12d, %edx
	movl	%edx, (%rsi,%rax,4)
	incq	%rax
	movslq	(%rbx), %rdx
	cmpq	%rdx, %rax
	jl	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_22 Depth=1
	addl	%eax, %r9d
	movq	_MAX_TX_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_34:                                ##   in Loop: Header=BB0_22 Depth=1
	testl	%eax, %eax
	jle	LBB0_67
## %bb.35:                              ##   in Loop: Header=BB0_22 Depth=1
	movslq	%r9d, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_36 Depth=2
	orb	$-16, (%rax)
LBB0_65:                                ##   in Loop: Header=BB0_36 Depth=2
	incq	%r14
	movq	_MAX_TX_COUNT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r12
	incl	%r9d
	cmpq	%rax, %r14
	jge	LBB0_66
LBB0_36:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r12, %r12
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	je	LBB0_37
## %bb.60:                              ##   in Loop: Header=BB0_36 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12), %ebx
	shrl	$4, %ebx
	andl	$15, %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	40(%r15), %rax
	movq	(%rax,%r13,8), %rax
	movl	%ebx, (%rax,%r12)
	movl	$3, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_36 Depth=2
	movq	40(%r15), %rax
	movq	(%rax,%r13,8), %rax
	orl	$240, (%rax,%r12)
LBB0_62:                                ##   in Loop: Header=BB0_36 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12), %ebx
	andl	$15, %ebx
	movq	16(%r15), %rax
	movq	(%rax,%r13,8), %rax
	movl	%ebx, (%rax,%r12)
	movl	$3, %edi
	callq	_BIT
	testl	%ebx, %eax
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	je	LBB0_65
## %bb.63:                              ##   in Loop: Header=BB0_36 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax,%r13,8), %rax
	addq	%r12, %rax
	jmp	LBB0_64
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_36 Depth=2
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	40(%rbx), %rax
	movq	(%rax,%r13,8), %rax
	movl	$0, (%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12), %r15d
	shrl	$4, %r15d
	andl	$15, %r15d
	movq	16(%rbx), %rax
	movq	(%rax,%r13,8), %rax
	movl	%r15d, (%rax)
	movl	$3, %edi
	callq	_BIT
	testl	%r15d, %eax
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=2
	movq	16(%rbx), %rax
	movq	(%rax,%r13,8), %rax
	orl	$240, (%rax)
LBB0_39:                                ##   in Loop: Header=BB0_36 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12), %r15d
	andl	$15, %r15d
	movq	8(%rbx), %rax
	movq	(%rax,%r13,8), %rax
	movl	%r15d, (%rax)
	movl	$3, %edi
	callq	_BIT
	testl	%r15d, %eax
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	je	LBB0_65
## %bb.40:                              ##   in Loop: Header=BB0_36 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax,%r13,8), %rax
	jmp	LBB0_64
	.p2align	4, 0x90
LBB0_66:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_67:                                ##   in Loop: Header=BB0_22 Depth=1
	movslq	%r9d, %rcx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx,%rcx,4), %r14d
	shrl	$4, %r14d
	andl	$15, %r14d
	movq	8(%rdi), %rdx
	movq	(%rdx,%r13,8), %rdx
	movl	%r14d, 4(%rdx)
	movl	(%rbx,%rcx,4), %esi
	andl	$15, %esi
	movl	%esi, 8(%rdx)
	movl	4(%rbx,%rcx,4), %ecx
	andl	$15, %ecx
	movl	%ecx, 12(%rdx)
	cmpl	$2, %eax
	jl	LBB0_73
## %bb.68:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r9, %r15
	movl	$2, %ebx
	.p2align	4, 0x90
LBB0_69:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$3, %edi
	callq	_BIT
	testl	%r14d, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_71
## %bb.70:                              ##   in Loop: Header=BB0_69 Depth=2
	movq	8(%rdi), %rax
	movq	(%rax,%r13,8), %rax
	orl	$240, -4(%rax,%rbx,4)
LBB0_71:                                ##   in Loop: Header=BB0_69 Depth=2
	movq	_MAX_TX_COUNT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_72
## %bb.83:                              ##   in Loop: Header=BB0_69 Depth=2
	movq	8(%rdi), %rax
	movq	(%rax,%r13,8), %rax
	movl	(%rax,%rbx,4), %r14d
	incq	%rbx
	jmp	LBB0_69
	.p2align	4, 0x90
LBB0_72:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r15, %r9
LBB0_73:                                ##   in Loop: Header=BB0_22 Depth=1
	addl	$2, %r9d
	testl	%eax, %eax
	jle	LBB0_81
## %bb.74:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r9, %r12
	movslq	%r9d, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_75
	.p2align	4, 0x90
LBB0_79:                                ##   in Loop: Header=BB0_75 Depth=2
	incq	%r15
	movq	_MAX_TX_COUNT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_80
LBB0_75:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14,%r15,4), %ebx
	shrl	$4, %ebx
	andl	$15, %ebx
	movq	24(%rdi), %rax
	movq	(%rax,%r13,8), %rax
	movl	%ebx, (%rax,%r15,4)
	movl	$3, %edi
	callq	_BIT
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%ebx, %eax
	je	LBB0_77
## %bb.76:                              ##   in Loop: Header=BB0_75 Depth=2
	movq	24(%rcx), %rax
	movq	(%rax,%r13,8), %rax
	orl	$240, (%rax,%r15,4)
LBB0_77:                                ##   in Loop: Header=BB0_75 Depth=2
	movl	(%r14,%r15,4), %ebx
	andl	$15, %ebx
	movq	32(%rcx), %rax
	movq	(%rax,%r13,8), %rax
	movl	%ebx, (%rax,%r15,4)
	movl	$3, %edi
	callq	_BIT
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testl	%ebx, %eax
	je	LBB0_79
## %bb.78:                              ##   in Loop: Header=BB0_75 Depth=2
	movq	32(%rdi), %rax
	movq	(%rax,%r13,8), %rax
	orl	$240, (%rax,%r15,4)
	jmp	LBB0_79
LBB0_2:
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_MAX_RF_PATH@GOTPCREL(%rip), %r8
	cmpl	$0, (%r8)
	jle	LBB0_82
## %bb.3:
	xorl	%r14d, %r14d
	movq	_MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %r9
	movq	_MAX_TX_COUNT@GOTPCREL(%rip), %r11
	movq	_MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %r10
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	movslq	(%r8), %rax
	cmpq	%rax, %r14
	jge	LBB0_82
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	cmpl	$0, (%r9)
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movq	(%rax,%r14,8), %rax
	movq	(%rcx,%r14,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$45, (%rax,%rdx,4)
	movl	$45, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%r9), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r11), %eax
	testl	%eax, %eax
	jle	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rax
	movq	(%rax,%r14,8), %rbx
	movl	$2, (%rbx)
	movq	24(%rcx), %rax
	movq	(%rax,%r14,8), %rdx
	movl	$4, (%rdx)
	movl	(%r11), %eax
	cmpl	$2, %eax
	jl	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	32(%rcx), %rax
	movq	40(%rcx), %rcx
	movq	(%rax,%r14,8), %rdi
	movq	(%rcx,%r14,8), %rsi
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$254, (%rbx,%rcx,4)
	movl	$254, (%rdi,%rcx,4)
	movl	$254, (%rsi,%rcx,4)
	movl	$254, (%rdx,%rcx,4)
	movslq	(%r11), %rax
	incq	%rcx
	cmpq	%rax, %rcx
	jl	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, (%r10)
	jle	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$42, (%rax,%rcx,4)
	incq	%rcx
	movslq	(%r10), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r11), %eax
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, %eax
	jle	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%rsi), %rax
	movq	(%rax,%r14,8), %rbx
	movl	$4, (%rbx)
	movq	16(%rsi), %rax
	movq	(%rax,%r14,8), %rax
	movl	$0, (%rax)
	movq	24(%rsi), %rcx
	movq	(%rcx,%r14,8), %rdx
	movl	$254, (%rdx)
	movq	32(%rsi), %rcx
	movq	(%rcx,%r14,8), %rdi
	movl	$254, (%rdi)
	cmpl	$2, (%r11)
	jl	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	40(%rcx), %rcx
	movq	(%rcx,%r14,8), %rsi
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$254, (%rbx)
	movl	$254, (%rax)
	movl	$254, (%rsi)
	movl	$254, (%rdx)
	movl	$254, (%rdi)
	incl	%ecx
	cmpl	(%r11), %ecx
	jl	LBB0_18
	jmp	LBB0_19
LBB0_82:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_TX_PWR_INX,4,2          ## @EEPROM_TX_PWR_INX
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hal_ReadPowerValueFromPROM8821ae(): hwinfo[0x%x]=0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"auto load fail : Use Default value!\n"

	.comm	_MAX_RF_PATH,4,2                ## @MAX_RF_PATH
	.comm	_MAX_CHNL_GROUP_24G,4,2         ## @MAX_CHNL_GROUP_24G
	.comm	_MAX_TX_COUNT,4,2               ## @MAX_TX_COUNT
	.comm	_MAX_CHNL_GROUP_5G,4,2          ## @MAX_CHNL_GROUP_5G
	.no_dead_strip	__rtl8821ae_read_power_value_fromprom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8821ae_read_power_value_fromprom
__rtl8821ae_read_power_value_fromprom:  ; @_rtl8821ae_read_power_value_fromprom
	.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	x21, x4
	mov	x24, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	bl	_rtl_priv
	mov	x23, x0
Lloh0:
	adrp	x8, _EEPROM_TX_PWR_INX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEPROM_TX_PWR_INX@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
Lloh3:
	adrp	x25, _COMP_INIT@GOTPAGE
Lloh4:
	ldr	x25, [x25, _COMP_INIT@GOTPAGEOFF]
Lloh5:
	adrp	x27, _DBG_LOUD@GOTPAGE
Lloh6:
	ldr	x27, [x27, _DBG_LOUD@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w2, [x27]
	add	w8, w26, #1
	sbfiz	x28, x8, #2, #32
	ldr	w9, [x21, x28]
	stp	x8, x9, [sp]
Lloh7:
	adrp	x3, l_.str@PAGE
Lloh8:
	add	x3, x3, l_.str@PAGEOFF
	bl	_RT_TRACE
	cbnz	w24, LBB0_68
; %bb.1:
	ldr	w8, [x21, x28]
	cmp	w8, #255
	b.eq	LBB0_68
; %bb.2:
	mov	x0, x22
	bl	_rtl_priv
	mov	w8, #1
	str	w8, [x0]
Lloh9:
	adrp	x8, _MAX_RF_PATH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_RF_PATH@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_86
; %bb.3:
	mov	x23, #0
Lloh12:
	adrp	x27, _MAX_CHNL_GROUP_24G@GOTPAGE
Lloh13:
	ldr	x27, [x27, _MAX_CHNL_GROUP_24G@GOTPAGEOFF]
	mov	w28, #45
	mov	x15, #4294967296
Lloh14:
	adrp	x25, _MAX_CHNL_GROUP_5G@GOTPAGE
Lloh15:
	ldr	x25, [x25, _MAX_CHNL_GROUP_5G@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w26, w22
Lloh16:
	adrp	x27, _MAX_CHNL_GROUP_24G@GOTPAGE
Lloh17:
	ldr	x27, [x27, _MAX_CHNL_GROUP_24G@GOTPAGEOFF]
	mov	w28, #45
	mov	x15, #4294967296
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh18:
	adrp	x25, _MAX_CHNL_GROUP_5G@GOTPAGE
Lloh19:
	ldr	x25, [x25, _MAX_CHNL_GROUP_5G@GOTPAGEOFF]
	add	x23, x23, #1
Lloh20:
	adrp	x8, _MAX_RF_PATH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MAX_RF_PATH@GOTPAGEOFF]
Lloh22:
	ldrsw	x8, [x8]
	cmp	x23, x8
	b.ge	LBB0_86
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
                                        ;     Child Loop BB0_36 Depth 2
                                        ;     Child Loop BB0_46 Depth 2
                                        ;     Child Loop BB0_56 Depth 2
                                        ;     Child Loop BB0_64 Depth 2
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, #0
	add	x9, x21, w26, sxtw #2
	mov	x10, x26
	sbfiz	x11, x10, #32, #32
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x12, x8, #2
	ldr	w13, [x9, x12]
	ldr	x14, [x20]
	ldr	x14, [x14, x23, lsl #3]
	cmp	w13, #255
	csel	w13, w28, w13, eq
	str	w13, [x14, x12]
	add	x8, x8, #1
	ldrsw	x12, [x27]
	add	x11, x11, x15
	add	w10, w10, #1
	cmp	x8, x12
	b.lt	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w12, #1
	mov	w14, #254
	b.le	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x9, #0
	add	x10, x21, w10, sxtw #2
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x11, x9, #2
	ldr	w12, [x10, x11]
	ldr	x13, [x20, #8]
	ldr	x13, [x13, x23, lsl #3]
	cmp	w12, #255
	csel	w12, w28, w12, eq
	str	w12, [x13, x11]
	add	x9, x9, #1
	ldrsw	x11, [x27]
	sub	x11, x11, #1
	cmp	x9, x11
	b.lt	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	add	w8, w26, w8
	add	w26, w8, w9
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w14, #254
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x8, w26, uxtw
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh23:
	adrp	x8, _MAX_TX_COUNT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MAX_TX_COUNT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	lsl	x22, x23, #3
	cmp	w8, #1
	b.lt	LBB0_34
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x28, #0
Lloh26:
	adrp	x27, _MAX_TX_COUNT@GOTPAGE
Lloh27:
	ldr	x27, [x27, _MAX_TX_COUNT@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	w8, #2
Lloh28:
	adrp	x25, _MAX_CHNL_GROUP_5G@GOTPAGE
Lloh29:
	ldr	x25, [x25, _MAX_CHNL_GROUP_5G@GOTPAGEOFF]
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	w14, #254
	add	w26, w26, w8
	add	x28, x28, #1
	ldrsw	x8, [x27]
	cmp	x28, x8
	b.ge	LBB0_33
LBB0_19:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	x28, LBB0_28
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	w8, [x21, w26, sxtw #2]
	ubfx	w24, w8, #4, #4
	ldr	x8, [x20, #32]
	ldr	x8, [x8, x23, lsl #3]
	str	w24, [x8, x28, lsl #2]
	mov	w0, #3
	bl	_BIT
	lsl	x25, x28, #2
	tst	w0, w24
	b.eq	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x20, #32]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8, x25]
	orr	w9, w9, #0xf0
	str	w9, [x8, x25]
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	x8, x26
	sxtw	x24, w8
	ldr	w8, [x21, x24, lsl #2]
	and	w27, w8, #0xf
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x23, lsl #3]
	str	w27, [x8, x28, lsl #2]
	mov	w0, #3
	bl	_BIT
	tst	w0, w27
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8, x25]
	orr	w9, w9, #0xf0
	str	w9, [x8, x25]
LBB0_24:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x24, x24, #1
	ldr	w8, [x21, x24, lsl #2]
	ubfx	w27, w8, #4, #4
	ldr	x8, [x20, #24]
	ldr	x8, [x8, x23, lsl #3]
	str	w27, [x8, x28, lsl #2]
	mov	w0, #3
	bl	_BIT
	tst	w0, w27
	b.eq	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x20, #24]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8, x25]
	orr	w9, w9, #0xf0
	str	w9, [x8, x25]
LBB0_26:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	w8, [x21, x24, lsl #2]
	and	w24, w8, #0xf
	ldr	x8, [x20, #40]
	ldr	x8, [x8, x23, lsl #3]
	str	w24, [x8, x28, lsl #2]
	mov	w0, #3
	bl	_BIT
	tst	w0, w24
Lloh30:
	adrp	x27, _MAX_TX_COUNT@GOTPAGE
Lloh31:
	ldr	x27, [x27, _MAX_TX_COUNT@GOTPAGEOFF]
	b.eq	LBB0_17
; %bb.27:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x20, #40]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8, x25]
	orr	w9, w9, #0xf0
	str	w9, [x8, x25]
	b	LBB0_17
LBB0_28:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x20, #32]
	ldr	x8, [x8, x22]
	str	wzr, [x8]
	ldr	w8, [x21, w26, sxtw #2]
	ubfx	w24, w8, #4, #4
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x22]
	str	w24, [x8]
	mov	w0, #3
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8]
	orr	w9, w9, #0xf0
	str	w9, [x8]
LBB0_30:                                ;   in Loop: Header=BB0_19 Depth=2
	sxtw	x8, w26
	ldr	w8, [x21, x8, lsl #2]
	and	w24, w8, #0xf
	ldr	x8, [x20, #24]
	ldr	x8, [x8, x23, lsl #3]
	str	w24, [x8]
	mov	w0, #3
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x20, #24]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8]
	orr	w9, w9, #0xf0
	str	w9, [x8]
LBB0_32:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x20, #40]
	ldr	x8, [x8, x23, lsl #3]
	str	wzr, [x8]
	mov	w8, #1
	b	LBB0_18
LBB0_33:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh32:
	adrp	x27, _MAX_CHNL_GROUP_24G@GOTPAGE
Lloh33:
	ldr	x27, [x27, _MAX_CHNL_GROUP_24G@GOTPAGEOFF]
	mov	w28, #45
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x25]
	cmp	w9, #1
	b.lt	LBB0_38
; %bb.35:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, #0
	add	x9, x21, w26, sxtw #2
LBB0_36:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x10, x8, #2
	ldr	w11, [x9, x10]
	ldr	x12, [x19]
	ldr	x12, [x12, x23, lsl #3]
	cmp	w11, #255
	csel	w11, w14, w11, eq
	str	w11, [x12, x10]
	add	x8, x8, #1
	ldrsw	x10, [x25]
	cmp	x8, x10
	b.lt	LBB0_36
; %bb.37:                               ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w26, w8
Lloh34:
	adrp	x8, _MAX_TX_COUNT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MAX_TX_COUNT@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
LBB0_38:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #1
	b.lt	LBB0_50
; %bb.39:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x22]
	str	wzr, [x8]
	ldr	w8, [x21, w26, sxtw #2]
	ubfx	w24, w8, #4, #4
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x22]
	str	w24, [x8]
	mov	w0, #3
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8]
	orr	w9, w9, #0xf0
	str	w9, [x8]
LBB0_41:                                ;   in Loop: Header=BB0_6 Depth=1
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	sxtw	x22, w26
	ldr	w8, [x21, x22, lsl #2]
	and	w24, w8, #0xf
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x23, lsl #3]
	str	w24, [x8]
	mov	w0, #3
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8]
	orr	w9, w9, #0xf0
	str	w9, [x8]
LBB0_43:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh37:
	adrp	x8, _MAX_TX_COUNT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MAX_TX_COUNT@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_51
; %bb.44:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x21, x22, lsl #2
	mov	w26, #1
Lloh40:
	adrp	x27, _MAX_TX_COUNT@GOTPAGE
Lloh41:
	ldr	x27, [x27, _MAX_TX_COUNT@GOTPAGEOFF]
	b	LBB0_46
LBB0_45:                                ;   in Loop: Header=BB0_46 Depth=2
	add	x26, x26, #1
	ldrsw	x8, [x27]
	cmp	x26, x8
	b.ge	LBB0_52
LBB0_46:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x28, x26, #2
	ldr	w8, [x25, x28]
	ubfx	w24, w8, #4, #4
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x23, lsl #3]
	str	w24, [x8, x28]
	mov	w0, #3
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=2
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8, x28]
	orr	w9, w9, #0xf0
	str	w9, [x8, x28]
LBB0_48:                                ;   in Loop: Header=BB0_46 Depth=2
	ldr	w8, [x25, x28]
	and	w24, w8, #0xf
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x23, lsl #3]
	str	w24, [x8, x28]
	mov	w0, #3
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_45
; %bb.49:                               ;   in Loop: Header=BB0_46 Depth=2
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8, x28]
	orr	w9, w9, #0xf0
	str	w9, [x8, x28]
	b	LBB0_45
LBB0_50:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x15, #4294967296
	b	LBB0_54
LBB0_51:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x22, #1
	b	LBB0_53
LBB0_52:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x22, x26
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
Lloh42:
	adrp	x27, _MAX_CHNL_GROUP_24G@GOTPAGE
Lloh43:
	ldr	x27, [x27, _MAX_CHNL_GROUP_24G@GOTPAGEOFF]
	mov	w28, #45
LBB0_53:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x15, #4294967296
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_54:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x21, w26, sxtw #2
	ldr	w10, [x9]
	ubfx	w25, w10, #4, #4
	ldr	x10, [x19, #8]
	ldr	x10, [x10, x23, lsl #3]
	str	w25, [x10, #4]
	ldr	w11, [x9]
	and	w11, w11, #0xf
	str	w11, [x10, #8]
	ldr	w9, [x9, #4]
	and	w9, w9, #0xf
	str	w9, [x10, #12]
	cmp	w8, #1
	b.le	LBB0_61
; %bb.55:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, #0
LBB0_56:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #3
	bl	_BIT
	tst	w0, w25
	b.eq	LBB0_58
; %bb.57:                               ;   in Loop: Header=BB0_56 Depth=2
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x23, lsl #3]
	add	x8, x8, x22, lsl #2
	ldr	w9, [x8, #4]
	orr	w9, w9, #0xf0
	str	w9, [x8, #4]
LBB0_58:                                ;   in Loop: Header=BB0_56 Depth=2
	add	x9, x22, #2
Lloh44:
	adrp	x8, _MAX_TX_COUNT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MAX_TX_COUNT@GOTPAGEOFF]
Lloh46:
	ldrsw	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_60
; %bb.59:                               ;   in Loop: Header=BB0_56 Depth=2
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x23, lsl #3]
	add	x8, x8, x22, lsl #2
	ldr	w25, [x8, #8]
	add	x22, x22, #1
	b	LBB0_56
LBB0_60:                                ;   in Loop: Header=BB0_6 Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	mov	x15, #4294967296
LBB0_61:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w26, #2
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.62:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, #0
	add	x25, x21, w26, sxtw #2
Lloh47:
	adrp	x27, _MAX_TX_COUNT@GOTPAGE
Lloh48:
	ldr	x27, [x27, _MAX_TX_COUNT@GOTPAGEOFF]
	b	LBB0_64
LBB0_63:                                ;   in Loop: Header=BB0_64 Depth=2
	add	x22, x22, #1
	ldrsw	x8, [x27]
	cmp	x22, x8
	b.ge	LBB0_4
LBB0_64:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x28, x22, #2
	ldr	w8, [x25, x28]
	ubfx	w24, w8, #4, #4
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x23, lsl #3]
	str	w24, [x8, x28]
	mov	w0, #3
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_66
; %bb.65:                               ;   in Loop: Header=BB0_64 Depth=2
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8, x28]
	orr	w9, w9, #0xf0
	str	w9, [x8, x28]
LBB0_66:                                ;   in Loop: Header=BB0_64 Depth=2
	ldr	w8, [x25, x28]
	and	w24, w8, #0xf
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x23, lsl #3]
	str	w24, [x8, x28]
	mov	w0, #3
	bl	_BIT
	tst	w0, w24
	b.eq	LBB0_63
; %bb.67:                               ;   in Loop: Header=BB0_64 Depth=2
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x8, x28]
	orr	w9, w9, #0xf0
	str	w9, [x8, x28]
	b	LBB0_63
LBB0_68:
	ldr	w1, [x25]
	ldr	w2, [x27]
Lloh49:
	adrp	x3, l_.str.1@PAGE
Lloh50:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_RT_TRACE
Lloh51:
	adrp	x8, _MAX_RF_PATH@GOTPAGE
Lloh52:
	ldr	x8, [x8, _MAX_RF_PATH@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_86
; %bb.69:
	mov	x9, #0
Lloh53:
	adrp	x10, _MAX_CHNL_GROUP_24G@GOTPAGE
Lloh54:
	ldr	x10, [x10, _MAX_CHNL_GROUP_24G@GOTPAGEOFF]
	mov	w11, #45
Lloh55:
	adrp	x12, _MAX_TX_COUNT@GOTPAGE
Lloh56:
	ldr	x12, [x12, _MAX_TX_COUNT@GOTPAGEOFF]
	mov	w13, #2
	mov	w14, #4
	mov	w15, #254
Lloh57:
	adrp	x16, _MAX_CHNL_GROUP_5G@GOTPAGE
Lloh58:
	ldr	x16, [x16, _MAX_CHNL_GROUP_5G@GOTPAGEOFF]
	mov	w17, #42
	b	LBB0_71
LBB0_70:                                ;   in Loop: Header=BB0_71 Depth=1
	add	x9, x9, #1
	ldrsw	x0, [x8]
	cmp	x9, x0
	b.ge	LBB0_86
LBB0_71:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_73 Depth 2
                                        ;     Child Loop BB0_77 Depth 2
                                        ;     Child Loop BB0_80 Depth 2
                                        ;     Child Loop BB0_85 Depth 2
	ldr	w1, [x10]
	lsl	x0, x9, #3
	cmp	w1, #1
	b.lt	LBB0_74
; %bb.72:                               ;   in Loop: Header=BB0_71 Depth=1
	mov	x1, #0
	ldp	x2, x3, [x20]
	ldr	x2, [x2, x0]
	ldr	x3, [x3, x0]
LBB0_73:                                ;   Parent Loop BB0_71 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x4, x1, #2
	str	w11, [x2, x4]
	str	w11, [x3, x4]
	add	x1, x1, #1
	ldrsw	x4, [x10]
	cmp	x1, x4
	b.lt	LBB0_73
LBB0_74:                                ;   in Loop: Header=BB0_71 Depth=1
	ldr	w1, [x12]
	cmp	w1, #1
	b.lt	LBB0_78
; %bb.75:                               ;   in Loop: Header=BB0_71 Depth=1
	ldp	x1, x3, [x20, #16]
	ldr	x2, [x1, x0]
	str	w13, [x2]
	ldr	x3, [x3, x0]
	str	w14, [x3]
	ldr	w1, [x12]
	cmp	w1, #1
	b.le	LBB0_78
; %bb.76:                               ;   in Loop: Header=BB0_71 Depth=1
	ldp	x1, x5, [x20, #32]
	ldr	x4, [x1, x0]
	ldr	x5, [x5, x0]
	mov	w6, #1
LBB0_77:                                ;   Parent Loop BB0_71 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x1, x6, #2
	str	w15, [x2, x1]
	str	w15, [x4, x1]
	str	w15, [x5, x1]
	str	w15, [x3, x1]
	ldrsw	x1, [x12]
	add	x6, x6, #1
	cmp	x6, x1
	b.lt	LBB0_77
LBB0_78:                                ;   in Loop: Header=BB0_71 Depth=1
	ldr	w2, [x16]
	cmp	w2, #1
	b.lt	LBB0_82
; %bb.79:                               ;   in Loop: Header=BB0_71 Depth=1
	mov	x1, #0
	ldr	x2, [x19]
	ldr	x2, [x2, x9, lsl #3]
LBB0_80:                                ;   Parent Loop BB0_71 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w17, [x2, x1, lsl #2]
	add	x1, x1, #1
	ldrsw	x3, [x16]
	cmp	x1, x3
	b.lt	LBB0_80
; %bb.81:                               ;   in Loop: Header=BB0_71 Depth=1
	ldr	w1, [x12]
LBB0_82:                                ;   in Loop: Header=BB0_71 Depth=1
	cmp	w1, #1
	b.lt	LBB0_70
; %bb.83:                               ;   in Loop: Header=BB0_71 Depth=1
	ldp	x1, x2, [x19, #8]
	ldr	x1, [x1, x0]
	ldr	x2, [x2, x0]
	str	w14, [x1]
	str	wzr, [x2]
	ldp	x3, x4, [x19, #24]
	ldr	x3, [x3, x0]
	str	w15, [x3]
	ldr	x0, [x4, x0]
	str	w15, [x0]
	ldr	w4, [x12]
	cmp	w4, #2
	b.lt	LBB0_70
; %bb.84:                               ;   in Loop: Header=BB0_71 Depth=1
	ldr	x4, [x19, #40]
	ldr	x4, [x4, x9, lsl #3]
	mov	w5, #1
LBB0_85:                                ;   Parent Loop BB0_71 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w15, [x1]
	str	w15, [x2]
	str	w15, [x4]
	str	w15, [x3]
	str	w15, [x0]
	ldr	w6, [x12]
	add	w5, w5, #1
	cmp	w5, w6
	b.lt	LBB0_85
	b	LBB0_70
LBB0_86:
	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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_TX_PWR_INX,4,2          ; @EEPROM_TX_PWR_INX
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hal_ReadPowerValueFromPROM8821ae(): hwinfo[0x%x]=0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"auto load fail : Use Default value!\n"

	.comm	_MAX_RF_PATH,4,2                ; @MAX_RF_PATH
	.comm	_MAX_CHNL_GROUP_24G,4,2         ; @MAX_CHNL_GROUP_24G
	.comm	_MAX_TX_COUNT,4,2               ; @MAX_TX_COUNT
	.comm	_MAX_CHNL_GROUP_5G,4,2          ; @MAX_CHNL_GROUP_5G
	.no_dead_strip	__rtl8821ae_read_power_value_fromprom
.subsections_via_symbols
