	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8723be_dm_tx_power_track_set_power
_rtl8723be_dm_tx_power_track_set_power: ## @rtl8723be_dm_tx_power_track_set_power
	.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	%rcx, %r14
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %r13
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_dm
	movq	_TXAGC@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_1
## %bb.13:
	movl	8(%rbx), %esi
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl8723be_phy_set_txpower_level ## TAILCALL
LBB0_1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_BBSWING@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_12
## %bb.2:
	movq	(%rax), %rdx
	movq	_CCK_TABLE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rdx
	jb	LBB0_4
## %bb.3:
	decq	%rcx
	movq	%rcx, (%rax)
	movq	%rcx, %rdx
LBB0_4:
	cmpl	$0, 16(%rax)
	jne	LBB0_5
## %bb.6:
	movq	%rax, %r13
	movq	_cckswing_table_ch1ch13@GOTPCREL(%rip), %r15
	jmp	LBB0_7
LBB0_5:
	movq	%rax, %r13
	movq	_cckswing_table_ch14@GOTPCREL(%rip), %r15
LBB0_7:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%r15), %rcx
	movq	(%rcx,%rdx,8), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$2594, %esi                     ## imm = 0xA22
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	movl	$2595, %esi                     ## imm = 0xA23
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	movl	$2596, %esi                     ## imm = 0xA24
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	12(%rax), %edx
	movq	%rbx, %rdi
	movl	$2597, %esi                     ## imm = 0xA25
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	16(%rax), %edx
	movq	%rbx, %rdi
	movl	$2598, %esi                     ## imm = 0xA26
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	20(%rax), %edx
	movq	%rbx, %rdi
	movl	$2599, %esi                     ## imm = 0xA27
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	24(%rax), %edx
	movq	%rbx, %rdi
	movl	$2600, %esi                     ## imm = 0xA28
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	28(%rax), %edx
	movq	%rbx, %rdi
	movl	$2601, %esi                     ## imm = 0xA29
	callq	_rtl_write_byte
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rax
	movq	%r12, %rdx
	cmpq	%r12, (%rax)
	jne	LBB0_10
## %bb.8:
	movq	8(%r13), %rax
	movq	(%rax,%rdx,8), %rsi
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %r8d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_10:
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jne	LBB0_12
## %bb.11:
	movq	8(%r13), %rax
	movq	(%rax,%r12,8), %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movq	(%rax), %rax
	movl	16(%rax), %ecx
	movl	20(%rax), %r8d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl8723be_set_iqk_matrix       ## TAILCALL
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXAGC,4,2                      ## @TXAGC
	.comm	_BBSWING,4,2                    ## @BBSWING
	.comm	_CCK_TABLE_SIZE,8,3             ## @CCK_TABLE_SIZE
	.comm	_cckswing_table_ch1ch13,8,3     ## @cckswing_table_ch1ch13
	.comm	_cckswing_table_ch14,8,3        ## @cckswing_table_ch14
	.comm	_RF90_PATH_A,8,3                ## @RF90_PATH_A
	.comm	_RF90_PATH_B,8,3                ## @RF90_PATH_B
	.no_dead_strip	_rtl8723be_dm_tx_power_track_set_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8723be_dm_tx_power_track_set_power
_rtl8723be_dm_tx_power_track_set_power: ; @rtl8723be_dm_tx_power_track_set_power
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x24, x1
	mov	x20, x0
	bl	_rtl_priv
	mov	x22, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_dm
Lloh0:
	adrp	x8, _TXAGC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXAGC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x22, #8]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rtl8723be_phy_set_txpower_level
LBB0_2:
Lloh3:
	adrp	x8, _BBSWING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BBSWING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_10
; %bb.3:
	mov	x23, x0
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _CCK_TABLE_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CCK_TABLE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lo	LBB0_5
; %bb.4:
	sub	x8, x9, #1
	str	x8, [x23]
LBB0_5:
	ldr	w9, [x23, #16]
Lloh9:
	adrp	x10, _cckswing_table_ch14@GOTPAGE
Lloh10:
	ldr	x10, [x10, _cckswing_table_ch14@GOTPAGEOFF]
Lloh11:
	adrp	x11, _cckswing_table_ch1ch13@GOTPAGE
Lloh12:
	ldr	x11, [x11, _cckswing_table_ch1ch13@GOTPAGEOFF]
	cmp	w9, #0
	csel	x24, x11, x10, eq
	ldr	x9, [x24]
	ldr	x8, [x9, x8, lsl #3]
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #2594
	bl	_rtl_write_byte
	ldr	x8, [x24]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w2, [x8, #4]
	mov	x0, x22
	mov	w1, #2595
	bl	_rtl_write_byte
	ldr	x8, [x24]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w2, [x8, #8]
	mov	x0, x22
	mov	w1, #2596
	bl	_rtl_write_byte
	ldr	x8, [x24]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w2, [x8, #12]
	mov	x0, x22
	mov	w1, #2597
	bl	_rtl_write_byte
	ldr	x8, [x24]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w2, [x8, #16]
	mov	x0, x22
	mov	w1, #2598
	bl	_rtl_write_byte
	ldr	x8, [x24]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w2, [x8, #20]
	mov	x0, x22
	mov	w1, #2599
	bl	_rtl_write_byte
	ldr	x8, [x24]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w2, [x8, #24]
	mov	x0, x22
	mov	w1, #2600
	bl	_rtl_write_byte
	ldr	x8, [x24]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w2, [x8, #28]
	mov	x0, x22
	mov	w1, #2601
	bl	_rtl_write_byte
Lloh13:
	adrp	x8, _RF90_PATH_A@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RF90_PATH_A@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x23, #8]
	ldr	x1, [x8, x19, lsl #3]
	ldr	x8, [x22]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8]
	ldp	w3, w4, [x8]
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x8, _RF90_PATH_B@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RF90_PATH_B@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_10
; %bb.8:
	ldr	x8, [x23, #8]
	ldr	x1, [x8, x19, lsl #3]
	ldr	x8, [x22]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8]
	ldp	w3, w4, [x8, #16]
LBB0_9:
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rtl8723be_set_iqk_matrix
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_TXAGC,4,2                      ; @TXAGC
	.comm	_BBSWING,4,2                    ; @BBSWING
	.comm	_CCK_TABLE_SIZE,8,3             ; @CCK_TABLE_SIZE
	.comm	_cckswing_table_ch1ch13,8,3     ; @cckswing_table_ch1ch13
	.comm	_cckswing_table_ch14,8,3        ; @cckswing_table_ch14
	.comm	_RF90_PATH_A,8,3                ; @RF90_PATH_A
	.comm	_RF90_PATH_B,8,3                ; @RF90_PATH_B
	.no_dead_strip	_rtl8723be_dm_tx_power_track_set_power
.subsections_via_symbols
