	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8821ae_phy_read_and_config_txpwr_lmt
__rtl8821ae_phy_read_and_config_txpwr_lmt: ## @_rtl8821ae_phy_read_and_config_txpwr_lmt
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	(%rax), %rax
	movq	_HARDWARE_TYPE_RTL8812AE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_RTL8821AE_TXPWR_LMT_ARRAY_LEN@GOTPCREL(%rip), %rax
	cmoveq	_RTL8812AE_TXPWR_LMT_ARRAY_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_RTL8821AE_TXPWR_LMT@GOTPCREL(%rip), %rax
	cmoveq	_RTL8812AE_TXPWR_LMT@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_RT_TRACE
	testl	%r12d, %r12d
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rsi
	movq	8(%r13,%rbx,8), %rdx
	movq	16(%r13,%rbx,8), %rcx
	movq	24(%r13,%rbx,8), %r8
	movq	32(%r13,%rbx,8), %r9
	movups	40(%r13,%rbx,8), %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	callq	__rtl8812ae_phy_config_bb_txpwr_lmt
	addq	$7, %rbx
	cmpl	%ebx, %r12d
	jg	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HARDWARE_TYPE_RTL8812AE,8,3    ## @HARDWARE_TYPE_RTL8812AE
	.comm	_RTL8812AE_TXPWR_LMT_ARRAY_LEN,4,2 ## @RTL8812AE_TXPWR_LMT_ARRAY_LEN
	.comm	_RTL8812AE_TXPWR_LMT,8,3        ## @RTL8812AE_TXPWR_LMT
	.comm	_RTL8821AE_TXPWR_LMT_ARRAY_LEN,4,2 ## @RTL8821AE_TXPWR_LMT_ARRAY_LEN
	.comm	_RTL8821AE_TXPWR_LMT,8,3        ## @RTL8821AE_TXPWR_LMT
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.no_dead_strip	__rtl8821ae_phy_read_and_config_txpwr_lmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8821ae_phy_read_and_config_txpwr_lmt
__rtl8821ae_phy_read_and_config_txpwr_lmt: ; @_rtl8821ae_phy_read_and_config_txpwr_lmt
	.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	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	bl	_rtl_hal
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HARDWARE_TYPE_RTL8812AE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HARDWARE_TYPE_RTL8812AE@GOTPAGEOFF]
Lloh2:
	adrp	x10, _RTL8812AE_TXPWR_LMT_ARRAY_LEN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RTL8812AE_TXPWR_LMT_ARRAY_LEN@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x11, _RTL8821AE_TXPWR_LMT_ARRAY_LEN@GOTPAGE
Lloh6:
	ldr	x11, [x11, _RTL8821AE_TXPWR_LMT_ARRAY_LEN@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w21, [x8]
Lloh7:
	adrp	x8, _RTL8812AE_TXPWR_LMT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RTL8812AE_TXPWR_LMT@GOTPAGEOFF]
Lloh9:
	adrp	x9, _RTL8821AE_TXPWR_LMT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RTL8821AE_TXPWR_LMT@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	x22, [x8]
Lloh11:
	adrp	x8, _COMP_INIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _COMP_INIT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x3, l_.str@PAGE
Lloh18:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	cmp	w21, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
	add	x22, x22, #24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x1, x2, [x22, #-24]
	ldp	x3, x4, [x22, #-8]
	ldp	x5, x6, [x22, #8]
	ldr	x7, [x22, #24]
	mov	x0, x19
	bl	__rtl8812ae_phy_config_bb_txpwr_lmt
	add	w20, w20, #7
	add	x22, x22, #56
	cmp	w21, w20
	b.gt	LBB0_2
LBB0_3:
	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 AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HARDWARE_TYPE_RTL8812AE,8,3    ; @HARDWARE_TYPE_RTL8812AE
	.comm	_RTL8812AE_TXPWR_LMT_ARRAY_LEN,4,2 ; @RTL8812AE_TXPWR_LMT_ARRAY_LEN
	.comm	_RTL8812AE_TXPWR_LMT,8,3        ; @RTL8812AE_TXPWR_LMT
	.comm	_RTL8821AE_TXPWR_LMT_ARRAY_LEN,4,2 ; @RTL8821AE_TXPWR_LMT_ARRAY_LEN
	.comm	_RTL8821AE_TXPWR_LMT,8,3        ; @RTL8821AE_TXPWR_LMT
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.no_dead_strip	__rtl8821ae_phy_read_and_config_txpwr_lmt
.subsections_via_symbols
