	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lgtdqcs001f_set_symbol_rate
_lgtdqcs001f_set_symbol_rate:           ## @lgtdqcs001f_set_symbol_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	%rdi, %r12
	movl	$71, %r14d
	movl	$183, %edx
	cmpl	$1500000, %esi                  ## imm = 0x16E360
	jl	LBB0_6
## %bb.1:
	movl	$75, %r14d
	cmpl	$3000000, %esi                  ## imm = 0x2DC6C0
	jb	LBB0_6
## %bb.2:
	movl	$79, %r14d
	cmpl	$7000000, %esi                  ## imm = 0x6ACFC0
	jb	LBB0_6
## %bb.3:
	movl	$83, %r14d
	cmpl	$14000000, %esi                 ## imm = 0xD59F80
	jb	LBB0_6
## %bb.4:
	movl	$182, %edx
	cmpl	$30000000, %esi                 ## imm = 0x1C9C380
	jb	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	cmpl	$45000000, %esi                 ## imm = 0x2AEA540
	movl	$180, %edx
	cmovael	%eax, %edx
	movl	$81, %r14d
	cmovael	%eax, %r14d
LBB0_6:
	movq	%r12, %rdi
	movl	$19, %esi
	callq	_stv0299_writereg
	movq	%r12, %rdi
	movl	$20, %esi
	movl	%r14d, %edx
	callq	_stv0299_writereg
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %edx
	movq	%r12, %rdi
	movl	$31, %esi
	callq	_stv0299_writereg
	movzbl	%bh, %edx
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_stv0299_writereg
	andl	$240, %ebx
	movq	%r12, %rdi
	movl	$33, %esi
	movl	%ebx, %edx
	callq	_stv0299_writereg
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lgtdqcs001f_set_symbol_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lgtdqcs001f_set_symbol_rate
_lgtdqcs001f_set_symbol_rate:           ; @lgtdqcs001f_set_symbol_rate
	.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	x20, x2
	mov	x19, x0
	mov	w8, #58208
	movk	w8, #22, lsl #16
	cmp	w1, w8
	b.ge	LBB0_2
; %bb.1:
	mov	w21, #71
	mov	w2, #183
	b	LBB0_5
LBB0_2:
	mov	w8, #50880
	movk	w8, #45, lsl #16
	cmp	w1, w8
	b.hs	LBB0_4
; %bb.3:
	mov	w21, #75
	mov	w2, #183
	b	LBB0_5
LBB0_4:
	mov	w8, #79
	mov	w9, #183
	mov	w10, #53184
	movk	w10, #106, lsl #16
	mov	w11, #83
	mov	w12, #183
	mov	w13, #40832
	movk	w13, #213, lsl #16
	mov	w14, #83
	mov	w15, #182
	mov	w16, #50048
	movk	w16, #457, lsl #16
	mov	w17, #42304
	movk	w17, #686, lsl #16
	mov	w0, #180
	cmp	w1, w17
	csel	w17, w0, wzr, lo
	mov	w0, #81
	csel	w0, w0, wzr, lo
	cmp	w1, w16
	csel	w15, w15, w17, lo
	csel	w14, w14, w0, lo
	cmp	w1, w13
	csel	w12, w12, w15, lo
	csel	w11, w11, w14, lo
	cmp	w1, w10
	csel	w2, w9, w12, lo
	csel	w21, w8, w11, lo
LBB0_5:
	mov	x0, x19
	mov	w1, #19
	bl	_stv0299_writereg
	mov	x0, x19
	mov	w1, #20
	mov	x2, x21
	bl	_stv0299_writereg
	ubfx	w2, w20, #16, #8
	mov	x0, x19
	mov	w1, #31
	bl	_stv0299_writereg
	ubfx	w2, w20, #8, #8
	mov	x0, x19
	mov	w1, #32
	bl	_stv0299_writereg
	and	w2, w20, #0xf0
	mov	x0, x19
	mov	w1, #33
	bl	_stv0299_writereg
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lgtdqcs001f_set_symbol_rate
.subsections_via_symbols
