	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function va1j5jf8007t_tune
_va1j5jf8007t_tune:                     ## @va1j5jf8007t_tune
	.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	%r8, %r14
	movq	%rcx, %r15
	movl	$0, -28(%rbp)
	movl	$0, -32(%rbp)
	movq	(%rdi), %rbx
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movl	$130, (%rbx)
LBB0_2:
	movq	%rbx, %rdi
	callq	_va1j5jf8007t_set_frequency
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	movl	$133, (%rbx)
	movl	$0, (%r15)
LBB0_4:
	movl	$0, (%r14)
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_11
## %bb.8:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movq	%rbx, %rdi
	callq	_va1j5jf8007t_set_modulation
	testl	%eax, %eax
	js	LBB0_6
## %bb.10:
	movl	$132, (%rbx)
	jmp	LBB0_20
LBB0_11:
	xorl	%eax, %eax
	callq	_BUG
                                        ## implicit-def: $eax
	jmp	LBB0_6
LBB0_12:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, (%r15)
	jmp	LBB0_4
LBB0_13:
	leaq	-28(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_va1j5jf8007t_check_modulation
	testl	%eax, %eax
	js	LBB0_6
## %bb.14:
	cmpl	$0, -28(%rbp)
	je	LBB0_21
## %bb.15:
	movl	$128, (%rbx)
LBB0_16:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, (%r15)
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_5
LBB0_17:
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_va1j5jf8007t_check_frequency
	testl	%eax, %eax
	js	LBB0_6
## %bb.18:
	cmpl	$0, -28(%rbp)
	je	LBB0_23
## %bb.19:
	movl	$129, (%rbx)
LBB0_20:
	movl	$0, (%r15)
	jmp	LBB0_26
LBB0_21:
	cmpl	$0, -32(%rbp)
	je	LBB0_24
## %bb.22:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	$999, %ecx                      ## imm = 0x3E7
	addl	(%rax), %ecx
	movslq	%ecx, %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	movl	%eax, (%r15)
	jmp	LBB0_26
LBB0_23:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	$999, %ecx                      ## imm = 0x3E7
	addl	(%rax), %ecx
	movslq	%ecx, %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	movl	%eax, (%r15)
	jmp	LBB0_4
LBB0_24:
	movl	$134, (%rbx)
LBB0_25:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, (%r15)
LBB0_26:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_5
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_17
	.long	L0_0_set_25
	.end_data_region
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.comm	_FE_HAS_SIGNAL,4,2              ## @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ## @FE_HAS_CARRIER
	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
	.no_dead_strip	_va1j5jf8007t_tune
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function va1j5jf8007t_tune
_va1j5jf8007t_tune:                     ; @va1j5jf8007t_tune
	.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, x4
	mov	x20, x3
	str	xzr, [sp, #8]
	ldr	x21, [x0]
	cbz	x1, LBB0_4
; %bb.1:
	mov	w8, #130
	str	w8, [x21]
LBB0_2:
	mov	x0, x21
	bl	_va1j5jf8007t_set_frequency
	tbnz	w0, #31, LBB0_24
; %bb.3:
	mov	w0, #0
	mov	w8, #133
	str	w8, [x21]
	str	wzr, [x20]
	str	wzr, [x19]
	b	LBB0_24
LBB0_4:
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_8
; %bb.5:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	mov	x0, x21
	bl	_va1j5jf8007t_set_modulation
	tbnz	w0, #31, LBB0_24
; %bb.7:
	mov	w0, #0
	mov	w8, #132
	b	LBB0_18
LBB0_8:
	bl	_BUG
                                        ; implicit-def: $w0
	b	LBB0_24
LBB0_9:
	mov	w0, #0
Lloh2:
	adrp	x8, _HZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
LBB0_10:
	str	w8, [x20]
	str	wzr, [x19]
	b	LBB0_24
LBB0_11:
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x21
	bl	_va1j5jf8007t_check_modulation
	tbnz	w0, #31, LBB0_24
; %bb.12:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_25
; %bb.13:
	mov	w8, #128
	str	w8, [x21]
LBB0_14:
	mov	w0, #0
Lloh5:
	adrp	x8, _HZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	str	w8, [x20]
Lloh8:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_23
LBB0_15:
	add	x1, sp, #12
	mov	x0, x21
	bl	_va1j5jf8007t_check_frequency
	tbnz	w0, #31, LBB0_24
; %bb.16:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_27
; %bb.17:
	mov	w0, #0
	mov	w8, #129
LBB0_18:
	str	w8, [x21]
	str	wzr, [x20]
	b	LBB0_22
LBB0_19:
	mov	w0, #0
LBB0_20:
Lloh17:
	adrp	x8, _HZ@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
LBB0_21:
	str	w8, [x20]
LBB0_22:
Lloh20:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
LBB0_23:
	str	w8, [x19]
LBB0_24:
	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
LBB0_25:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_28
; %bb.26:
	mov	w0, #0
Lloh23:
	adrp	x8, _HZ@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	add	w8, w8, #999
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	b	LBB0_21
LBB0_27:
	mov	w0, #0
Lloh26:
	adrp	x8, _HZ@GOTPAGE
Lloh27:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	add	w8, w8, #999
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	b	LBB0_10
LBB0_28:
	mov	w0, #0
	mov	w8, #134
	str	w8, [x21]
	b	LBB0_20
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.comm	_FE_HAS_SIGNAL,4,2              ; @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ; @FE_HAS_CARRIER
	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
	.no_dead_strip	_va1j5jf8007t_tune
.subsections_via_symbols
