	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fc0013_set_vhf_track
_fc0013_set_vhf_track:                  ## @fc0013_set_vhf_track
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-20(%rbp), %rdx
	movl	$29, %esi
	callq	_fc0013_readreg
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movl	$227, %edx
	andl	-20(%rbp), %edx
	movl	%edx, -20(%rbp)
	movl	$28, %eax
	cmpl	$177501, %r14d                  ## imm = 0x2B55D
	jl	LBB0_8
## %bb.2:
	movl	$24, %eax
	cmpl	$184501, %r14d                  ## imm = 0x2D0B5
	jb	LBB0_8
## %bb.3:
	movl	$20, %eax
	cmpl	$191501, %r14d                  ## imm = 0x2EC0D
	jb	LBB0_8
## %bb.4:
	movl	$16, %eax
	cmpl	$198501, %r14d                  ## imm = 0x30765
	jb	LBB0_8
## %bb.5:
	movl	$12, %eax
	cmpl	$205501, %r14d                  ## imm = 0x322BD
	jb	LBB0_8
## %bb.6:
	movl	$8, %eax
	cmpl	$219501, %r14d                  ## imm = 0x3596D
	jb	LBB0_8
## %bb.7:
	cmpl	$300000, %r14d                  ## imm = 0x493E0
	movl	$4, %ecx
	movl	$28, %eax
	cmovbl	%ecx, %eax
LBB0_8:
	orl	%eax, %edx
	movq	%rbx, %rdi
	movl	$29, %esi
	callq	_fc0013_writereg
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fc0013_set_vhf_track
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fc0013_set_vhf_track
_fc0013_set_vhf_track:                  ; @fc0013_set_vhf_track
	.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	x20, x1
	mov	x19, x0
	add	x2, sp, #12
	mov	w1, #29
	bl	_fc0013_readreg
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	mov	w9, #227
	and	w8, w8, w9
	str	w8, [sp, #12]
	mov	w9, #28
	mov	w10, #46429
	movk	w10, #2, lsl #16
	cmp	w20, w10
	b.lt	LBB0_3
; %bb.2:
	mov	w10, #24
	mov	w11, #53429
	movk	w11, #2, lsl #16
	mov	w12, #20
	mov	w13, #60429
	movk	w13, #2, lsl #16
	mov	w14, #16
	mov	w15, #1893
	movk	w15, #3, lsl #16
	mov	w16, #12
	mov	w17, #8893
	movk	w17, #3, lsl #16
	mov	w0, #8
	mov	w1, #22893
	movk	w1, #3, lsl #16
	mov	w2, #37856
	movk	w2, #4, lsl #16
	mov	w3, #4
	cmp	w20, w2
	csel	w9, w3, w9, lo
	cmp	w20, w1
	csel	w9, w0, w9, lo
	cmp	w20, w17
	csel	w9, w16, w9, lo
	cmp	w20, w15
	csel	w9, w14, w9, lo
	cmp	w20, w13
	csel	w9, w12, w9, lo
	cmp	w20, w11
	csel	w9, w10, w9, lo
LBB0_3:
	orr	w2, w8, w9
	mov	x0, x19
	mov	w1, #29
	bl	_fc0013_writereg
LBB0_4:
	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	_fc0013_set_vhf_track
.subsections_via_symbols
