	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function philips_su1278_tt_set_symbol_rate
_philips_su1278_tt_set_symbol_rate:     ## @philips_su1278_tt_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	%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
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	$14, %esi
	movl	$68, %edx
	callq	_stv0299_writereg
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	cmpl	$10000000, %ebx                 ## imm = 0x989680
	setge	%al
	setl	%cl
	leal	151(%rcx,%rcx), %edx
	leal	141(,%rax,8), %ebx
	leal	201(%rcx,%rcx,4), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	$140, %ecx
	movl	$67, %r13d
	cmovgel	%ecx, %r13d
	movl	$254, %ecx
	movl	$29, %r12d
	cmovgel	%ecx, %r12d
	movl	$127, %ecx
	movl	$18, %r15d
	cmovgel	%ecx, %r15d
	leal	5(,%rax,4), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$19, %esi
	callq	_stv0299_writereg
	movq	%r14, %rdi
	movl	$20, %esi
	movl	%ebx, %edx
	callq	_stv0299_writereg
	movq	%r14, %rdi
	movl	$21, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_stv0299_writereg
	movq	%r14, %rdi
	movl	$23, %esi
	movl	%r13d, %edx
	callq	_stv0299_writereg
	movq	%r14, %rdi
	movl	$26, %esi
	movl	%r12d, %edx
	callq	_stv0299_writereg
	movq	%r14, %rdi
	movl	$28, %esi
	movl	%r15d, %edx
	callq	_stv0299_writereg
	movq	%r14, %rdi
	movl	$45, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_stv0299_writereg
	movq	%r14, %rdi
	movl	$14, %esi
	movl	$35, %edx
	callq	_stv0299_writereg
	movq	%r14, %rdi
	movl	$15, %esi
	movl	$148, %edx
	callq	_stv0299_writereg
	movq	%r14, %rdi
	movl	$16, %esi
	movl	$57, %edx
	callq	_stv0299_writereg
	movq	%r14, %rdi
	movl	$21, %esi
	movl	$201, %edx
	callq	_stv0299_writereg
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %edx
	movq	%r14, %rdi
	movl	$31, %esi
	callq	_stv0299_writereg
	movzbl	%bh, %edx
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_stv0299_writereg
	andl	$240, %ebx
	movq	%r14, %rdi
	movl	$33, %esi
	movl	%ebx, %edx
	callq	_stv0299_writereg
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_philips_su1278_tt_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 philips_su1278_tt_set_symbol_rate
_philips_su1278_tt_set_symbol_rate:     ; @philips_su1278_tt_set_symbol_rate
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w1, #14
	mov	w2, #68
	bl	_stv0299_writereg
	mov	w8, #38527
	movk	w8, #152, lsl #16
	mov	w9, #153
	mov	w10, #151
	cmp	w21, w8
	csel	w2, w10, w9, gt
	mov	w8, #141
	mov	w9, #149
	csel	w21, w9, w8, gt
	mov	w8, #206
	mov	w9, #201
	csel	w22, w9, w8, gt
	mov	w8, #67
	mov	w9, #140
	csel	w23, w9, w8, gt
	mov	w8, #29
	mov	w9, #254
	csel	w24, w9, w8, gt
	mov	w8, #18
	mov	w9, #127
	csel	w25, w9, w8, gt
	mov	w8, #5
	mov	w9, #9
	csel	w26, w9, w8, gt
	mov	x0, x19
	mov	w1, #19
	bl	_stv0299_writereg
	mov	x0, x19
	mov	w1, #20
	mov	x2, x21
	bl	_stv0299_writereg
	mov	x0, x19
	mov	w1, #21
	mov	x2, x22
	bl	_stv0299_writereg
	mov	x0, x19
	mov	w1, #23
	mov	x2, x23
	bl	_stv0299_writereg
	mov	x0, x19
	mov	w1, #26
	mov	x2, x24
	bl	_stv0299_writereg
	mov	x0, x19
	mov	w1, #28
	mov	x2, x25
	bl	_stv0299_writereg
	mov	x0, x19
	mov	w1, #45
	mov	x2, x26
	bl	_stv0299_writereg
	mov	x0, x19
	mov	w1, #14
	mov	w2, #35
	bl	_stv0299_writereg
	mov	x0, x19
	mov	w1, #15
	mov	w2, #148
	bl	_stv0299_writereg
	mov	x0, x19
	mov	w1, #16
	mov	w2, #57
	bl	_stv0299_writereg
	mov	x0, x19
	mov	w1, #21
	mov	w2, #201
	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, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_philips_su1278_tt_set_symbol_rate
.subsections_via_symbols
