	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tracking_optimization
_tracking_optimization:                 ## @tracking_optimization
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_RSTV0910_P2_DMDCFGMD@GOTPCREL(%rip), %r14
	movq	24(%rdi), %rsi
	addq	(%r14), %rsi
	leaq	-28(%rbp), %rdx
	callq	_read_reg
	movl	-28(%rbp), %eax
	movl	%eax, %edx
	andl	$-193, %edx
	movl	(%rbx), %ecx
	cmpl	$128, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$129, %ecx
	jne	LBB0_4
## %bb.2:
	orl	$64, %edx
	movl	%edx, -28(%rbp)
	jmp	LBB0_5
LBB0_3:
	orl	$128, %edx
	movl	%edx, -28(%rbp)
	jmp	LBB0_5
LBB0_4:
	orl	$192, %eax
	movl	%eax, -28(%rbp)
	movl	%eax, %edx
LBB0_5:
	movq	24(%rbx), %rsi
	addq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_write_reg
	cmpl	$128, (%rbx)
	jne	LBB0_17
## %bb.6:
	movq	_RSTV0910_TSTTSRS@GOTPCREL(%rip), %rax
	cmpq	$1, 40(%rbx)
	movl	(%rax), %esi
	movl	$2, %edx
	sbbl	$0, %edx
	movq	%rbx, %rdi
	movl	$3, %ecx
	callq	_write_shared_reg
	movq	8(%rbx), %rax
	movq	_DVBS2_64K@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.7:
	movq	16(%rbx), %rsi
	movl	32(%rbx), %edx
	movq	%rbx, %rdi
	callq	_get_optim_cloop
	movl	%eax, %r14d
	movq	16(%rbx), %rax
	movq	_FE_QPSK_910@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_8
## %bb.9:
	movq	_FE_8PSK_910@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_10
## %bb.11:
	movq	_FE_16APSK_910@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_12
## %bb.13:
	movq	_FE_32APSK_910@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_17
## %bb.14:
	movq	_RSTV0910_P2_ACLC2S232A@GOTPCREL(%rip), %r15
	jmp	LBB0_15
LBB0_8:
	movq	_RSTV0910_P2_ACLC2S2Q@GOTPCREL(%rip), %r15
	jmp	LBB0_16
LBB0_10:
	movq	_RSTV0910_P2_ACLC2S28@GOTPCREL(%rip), %r15
	jmp	LBB0_15
LBB0_12:
	movq	_RSTV0910_P2_ACLC2S216A@GOTPCREL(%rip), %r15
LBB0_15:
	movq	_RSTV0910_P2_ACLC2S2Q@GOTPCREL(%rip), %rax
	movq	24(%rbx), %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	movl	$42, %edx
	callq	_write_reg
LBB0_16:
	movq	24(%rbx), %rsi
	addq	(%r15), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_write_reg
LBB0_17:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSTV0910_P2_DMDCFGMD,8,3       ## @RSTV0910_P2_DMDCFGMD
	.comm	_RSTV0910_TSTTSRS,4,2           ## @RSTV0910_TSTTSRS
	.comm	_DVBS2_64K,8,3                  ## @DVBS2_64K
	.comm	_FE_QPSK_910,8,3                ## @FE_QPSK_910
	.comm	_RSTV0910_P2_ACLC2S2Q,8,3       ## @RSTV0910_P2_ACLC2S2Q
	.comm	_FE_8PSK_910,8,3                ## @FE_8PSK_910
	.comm	_RSTV0910_P2_ACLC2S28,8,3       ## @RSTV0910_P2_ACLC2S28
	.comm	_FE_16APSK_910,8,3              ## @FE_16APSK_910
	.comm	_RSTV0910_P2_ACLC2S216A,8,3     ## @RSTV0910_P2_ACLC2S216A
	.comm	_FE_32APSK_910,8,3              ## @FE_32APSK_910
	.comm	_RSTV0910_P2_ACLC2S232A,8,3     ## @RSTV0910_P2_ACLC2S232A
	.no_dead_strip	_tracking_optimization
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tracking_optimization
_tracking_optimization:                 ; @tracking_optimization
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _RSTV0910_P2_DMDCFGMD@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RSTV0910_P2_DMDCFGMD@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x0, #24]
	add	x1, x9, x8
	add	x2, sp, #12
	bl	_read_reg
	ldr	w9, [sp, #12]
	and	w8, w9, #0xffffff3f
	ldr	w10, [x19]
	cmp	w10, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w10, #129
	b.ne	LBB0_4
; %bb.2:
	orr	w2, w8, #0x40
	b	LBB0_5
LBB0_3:
	orr	w2, w8, #0x80
	b	LBB0_5
LBB0_4:
	orr	w2, w9, #0xc0
LBB0_5:
	str	w2, [sp, #12]
	ldr	x8, [x20]
	ldr	x9, [x19, #24]
	add	x1, x9, x8
	mov	x0, x19
	bl	_write_reg
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_16
; %bb.6:
Lloh2:
	adrp	x8, _RSTV0910_TSTTSRS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RSTV0910_TSTTSRS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	x8, [x19, #40]
	cmp	x8, #0
	mov	w8, #1
	cinc	w2, w8, ne
	mov	x0, x19
	mov	w3, #3
	bl	_write_shared_reg
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _DVBS2_64K@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DVBS2_64K@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.7:
	ldr	x1, [x19, #16]
	ldr	w2, [x19, #32]
	mov	x0, x19
	bl	_get_optim_cloop
	mov	x20, x0
Lloh8:
	adrp	x8, _FE_QPSK_910@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FE_QPSK_910@GOTPAGEOFF]
	ldr	x9, [x19, #16]
Lloh10:
	ldr	x10, [x8]
Lloh11:
	adrp	x8, _RSTV0910_P2_ACLC2S2Q@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RSTV0910_P2_ACLC2S2Q@GOTPAGEOFF]
	mov	x21, x8
	cmp	x9, x10
	b.le	LBB0_15
; %bb.8:
Lloh13:
	adrp	x10, _FE_8PSK_910@GOTPAGE
Lloh14:
	ldr	x10, [x10, _FE_8PSK_910@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x9, x10
	b.le	LBB0_12
; %bb.9:
Lloh16:
	adrp	x10, _FE_16APSK_910@GOTPAGE
Lloh17:
	ldr	x10, [x10, _FE_16APSK_910@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
	cmp	x9, x10
	b.le	LBB0_13
; %bb.10:
Lloh19:
	adrp	x10, _FE_32APSK_910@GOTPAGE
Lloh20:
	ldr	x10, [x10, _FE_32APSK_910@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
	cmp	x9, x10
	b.gt	LBB0_16
; %bb.11:
Lloh22:
	adrp	x21, _RSTV0910_P2_ACLC2S232A@GOTPAGE
Lloh23:
	ldr	x21, [x21, _RSTV0910_P2_ACLC2S232A@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh24:
	adrp	x21, _RSTV0910_P2_ACLC2S28@GOTPAGE
Lloh25:
	ldr	x21, [x21, _RSTV0910_P2_ACLC2S28@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh26:
	adrp	x21, _RSTV0910_P2_ACLC2S216A@GOTPAGE
Lloh27:
	ldr	x21, [x21, _RSTV0910_P2_ACLC2S216A@GOTPAGEOFF]
LBB0_14:
	ldr	x8, [x8]
	ldr	x9, [x19, #24]
	add	x1, x9, x8
	mov	x0, x19
	mov	w2, #42
	bl	_write_reg
LBB0_15:
	ldr	x8, [x21]
	ldr	x9, [x19, #24]
	add	x1, x9, x8
	mov	x0, x19
	mov	x2, x20
	bl	_write_reg
LBB0_16:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_RSTV0910_P2_DMDCFGMD,8,3       ; @RSTV0910_P2_DMDCFGMD
	.comm	_RSTV0910_TSTTSRS,4,2           ; @RSTV0910_TSTTSRS
	.comm	_DVBS2_64K,8,3                  ; @DVBS2_64K
	.comm	_FE_QPSK_910,8,3                ; @FE_QPSK_910
	.comm	_RSTV0910_P2_ACLC2S2Q,8,3       ; @RSTV0910_P2_ACLC2S2Q
	.comm	_FE_8PSK_910,8,3                ; @FE_8PSK_910
	.comm	_RSTV0910_P2_ACLC2S28,8,3       ; @RSTV0910_P2_ACLC2S28
	.comm	_FE_16APSK_910,8,3              ; @FE_16APSK_910
	.comm	_RSTV0910_P2_ACLC2S216A,8,3     ; @RSTV0910_P2_ACLC2S216A
	.comm	_FE_32APSK_910,8,3              ; @FE_32APSK_910
	.comm	_RSTV0910_P2_ACLC2S232A,8,3     ; @RSTV0910_P2_ACLC2S232A
	.no_dead_strip	_tracking_optimization
.subsections_via_symbols
