	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm_tx_pwr_track_set_pwr
_dm_tx_pwr_track_set_pwr:               ## @dm_tx_pwr_track_set_pwr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	callq	_rtl_priv
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_dm
	movq	%rax, %rbx
	movq	_TXAGC@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_5
## %bb.1:
	cmpl	$0, (%rbx)
	jne	LBB0_3
## %bb.2:
	cmpl	$0, 4(%rbx)
	je	LBB0_4
LBB0_3:
	movl	8(%r13), %esi
	movq	%r12, %rdi
	callq	_rtl88e_phy_set_txpower_level
	movq	$0, (%rbx)
	jmp	LBB0_4
LBB0_5:
	movq	_BBSWING@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_4
## %bb.6:
	cmpl	$0, 24(%rbx)
	jne	LBB0_7
## %bb.8:
	movq	_cck_tbl_ch1_13@GOTPCREL(%rip), %r15
	jmp	LBB0_9
LBB0_7:
	movq	_cck_tbl_ch14@GOTPCREL(%rip), %r15
LBB0_9:
	movq	(%r15), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$2594, %esi                     ## imm = 0xA22
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	4(%rax), %edx
	movq	%r13, %rdi
	movl	$2595, %esi                     ## imm = 0xA23
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	8(%rax), %edx
	movq	%r13, %rdi
	movl	$2596, %esi                     ## imm = 0xA24
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	12(%rax), %edx
	movq	%r13, %rdi
	movl	$2597, %esi                     ## imm = 0xA25
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	16(%rax), %edx
	movq	%r13, %rdi
	movl	$2598, %esi                     ## imm = 0xA26
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	20(%rax), %edx
	movq	%r13, %rdi
	movl	$2599, %esi                     ## imm = 0xA27
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	24(%rax), %edx
	movq	%r13, %rdi
	movl	$2600, %esi                     ## imm = 0xA28
	callq	_rtl_write_byte
	movq	(%r15), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	28(%rax), %edx
	movq	%r13, %rdi
	movl	$2601, %esi                     ## imm = 0xA29
	callq	_rtl_write_byte
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_12
## %bb.10:
	movq	16(%rbx), %rax
	movl	(%rax,%r14,4), %esi
	movq	(%r13), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %r8d
	jmp	LBB0_11
LBB0_12:
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_4
## %bb.13:
	movq	16(%rbx), %rax
	movl	(%rax,%r14,4), %esi
	movq	(%r13), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rax
	movl	16(%rax), %ecx
	movl	20(%rax), %r8d
LBB0_11:
	movq	%r12, %rdi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl88e_set_iqk_matrix          ## TAILCALL
LBB0_4:
	addq	$8, %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_tbl_ch1_13,8,3             ## @cck_tbl_ch1_13
	.comm	_cck_tbl_ch14,8,3               ## @cck_tbl_ch14
	.comm	_RF90_PATH_A,8,3                ## @RF90_PATH_A
	.comm	_RF90_PATH_B,8,3                ## @RF90_PATH_B
	.no_dead_strip	_dm_tx_pwr_track_set_pwr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm_tx_pwr_track_set_pwr
_dm_tx_pwr_track_set_pwr:               ; @dm_tx_pwr_track_set_pwr
	.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	x20, x2
	mov	x24, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x22, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_dm
	mov	x23, x0
Lloh0:
	adrp	x8, _TXAGC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXAGC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x23]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w8, [x23, #4]
	cbz	w8, LBB0_10
LBB0_3:
	ldr	w1, [x22, #8]
	mov	x0, x19
	bl	_rtl88e_phy_set_txpower_level
	str	xzr, [x23]
	b	LBB0_10
LBB0_4:
Lloh3:
	adrp	x8, _BBSWING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BBSWING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_10
; %bb.5:
	ldr	w8, [x23, #24]
Lloh6:
	adrp	x9, _cck_tbl_ch14@GOTPAGE
Lloh7:
	ldr	x9, [x9, _cck_tbl_ch14@GOTPAGEOFF]
Lloh8:
	adrp	x10, _cck_tbl_ch1_13@GOTPAGE
Lloh9:
	ldr	x10, [x10, _cck_tbl_ch1_13@GOTPAGEOFF]
	cmp	w8, #0
	csel	x24, x10, x9, eq
	ldr	x8, [x24]
	ldr	x9, [x23, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #2594
	bl	_rtl_write_byte
	ldr	x8, [x24]
	ldr	x9, [x23, #8]
	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, #8]
	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, #8]
	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, #8]
	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, #8]
	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, #8]
	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, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w2, [x8, #28]
	mov	x0, x22
	mov	w1, #2601
	bl	_rtl_write_byte
Lloh10:
	adrp	x8, _RF90_PATH_A@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RF90_PATH_A@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x23, #16]
	ldr	w1, [x8, x20, lsl #2]
	ldr	x8, [x22]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8]
	ldp	w3, w4, [x8]
	b	LBB0_9
LBB0_7:
Lloh13:
	adrp	x8, _RF90_PATH_B@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RF90_PATH_B@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_10
; %bb.8:
	ldr	x8, [x23, #16]
	ldr	w1, [x8, x20, lsl #2]
	ldr	x8, [x22]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8]
	ldp	w3, w4, [x8, #16]
LBB0_9:
	mov	x0, x19
	mov	x2, 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	_rtl88e_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	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_TXAGC,4,2                      ; @TXAGC
	.comm	_BBSWING,4,2                    ; @BBSWING
	.comm	_cck_tbl_ch1_13,8,3             ; @cck_tbl_ch1_13
	.comm	_cck_tbl_ch14,8,3               ; @cck_tbl_ch14
	.comm	_RF90_PATH_A,8,3                ; @RF90_PATH_A
	.comm	_RF90_PATH_B,8,3                ; @RF90_PATH_B
	.no_dead_strip	_dm_tx_pwr_track_set_pwr
.subsections_via_symbols
