	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ts2020_set_tuner_rf
_ts2020_set_tuner_rf:                   ## @ts2020_set_tuner_rf
	.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	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movl	(%rbx), %edi
	leaq	-20(%rbp), %rdx
	movl	$61, %esi
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movl	-20(%rbp), %eax
	andl	$127, %eax
	cmpl	$21, %eax
	ja	LBB0_3
## %bb.2:
	movl	$161, -20(%rbp)
	movl	$161, %edx
	jmp	LBB0_6
LBB0_3:
	cmpl	$22, %eax
	jne	LBB0_5
## %bb.4:
	movl	$153, -20(%rbp)
	movl	$153, %edx
	jmp	LBB0_6
LBB0_5:
	movl	$249, -20(%rbp)
	movl	$249, %edx
LBB0_6:
	movl	(%rbx), %edi
	movl	$96, %esi
	callq	_regmap_write
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_ts2020_tuner_gate_ctrl
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ts2020_set_tuner_rf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ts2020_set_tuner_rf
_ts2020_set_tuner_rf:                   ; @ts2020_set_tuner_rf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0]
	ldr	w0, [x20]
	add	x2, sp, #12
	mov	w1, #61
	bl	_regmap_read
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	w8, [sp, #12]
	and	w8, w8, #0x7f
	cmp	w8, #21
	b.hi	LBB0_3
; %bb.2:
	mov	w2, #161
	b	LBB0_6
LBB0_3:
	cmp	w8, #22
	b.ne	LBB0_5
; %bb.4:
	mov	w2, #153
	b	LBB0_6
LBB0_5:
	mov	w2, #249
LBB0_6:
	str	w2, [sp, #12]
	ldr	w0, [x20]
	mov	w1, #96
	bl	_regmap_write
	mov	x0, x19
	mov	w1, #8
	bl	_ts2020_tuner_gate_ctrl
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ts2020_set_tuner_rf
.subsections_via_symbols
