	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function va1j5jf8007s_tune
_va1j5jf8007s_tune:                     ## @va1j5jf8007s_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)
	movq	(%rdi), %rbx
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movl	$133, (%rbx)
LBB0_2:
	movq	%rbx, %rdi
	callq	_va1j5jf8007s_set_frequency_1
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movl	$132, (%rbx)
LBB0_4:
	movl	$0, (%r15)
LBB0_5:
	movl	$0, (%r14)
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$9, %eax
	ja	LBB0_12
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movq	%rbx, %rdi
	callq	_va1j5jf8007s_set_ts_id
	testl	%eax, %eax
	js	LBB0_7
## %bb.11:
	movl	$135, (%rbx)
	jmp	LBB0_6
LBB0_12:
	xorl	%eax, %eax
	callq	_BUG
                                        ## implicit-def: $eax
	jmp	LBB0_7
LBB0_13:
	movq	%rbx, %rdi
	callq	_va1j5jf8007s_set_modulation
	testl	%eax, %eax
	js	LBB0_7
## %bb.14:
	movl	$136, (%rbx)
	jmp	LBB0_30
LBB0_15:
	movq	%rbx, %rdi
	callq	_va1j5jf8007s_set_frequency_3
	testl	%eax, %eax
	js	LBB0_7
## %bb.16:
	movl	$137, (%rbx)
	jmp	LBB0_4
LBB0_17:
	movq	%rbx, %rdi
	callq	_va1j5jf8007s_set_frequency_2
	testl	%eax, %eax
	js	LBB0_7
## %bb.18:
	movl	$131, (%rbx)
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$99, %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	jmp	LBB0_37
LBB0_19:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, (%r15)
	jmp	LBB0_5
LBB0_20:
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_va1j5jf8007s_check_ts_id
	testl	%eax, %eax
	js	LBB0_7
## %bb.21:
	cmpl	$0, -28(%rbp)
	je	LBB0_31
## %bb.22:
	movl	$128, (%rbx)
LBB0_23:
	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
	jmp	LBB0_33
LBB0_24:
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_va1j5jf8007s_check_modulation
	testl	%eax, %eax
	js	LBB0_7
## %bb.25:
	cmpl	$0, -28(%rbp)
	je	LBB0_34
## %bb.26:
	movl	$129, (%rbx)
	movl	$0, (%r15)
	jmp	LBB0_32
LBB0_27:
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_va1j5jf8007s_check_frequency
	testl	%eax, %eax
	js	LBB0_7
## %bb.28:
	cmpl	$0, -28(%rbp)
	je	LBB0_36
## %bb.29:
	movl	$130, (%rbx)
LBB0_30:
	movl	$0, (%r15)
	jmp	LBB0_35
LBB0_31:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$99, %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	movl	%eax, (%r15)
LBB0_32:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_33:
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_6
LBB0_34:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$49, %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$36, %rax
	addl	%ecx, %eax
	movl	%eax, (%r15)
LBB0_35:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_6
LBB0_36:
	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
LBB0_37:
	addl	%ecx, %eax
	movl	%eax, (%r15)
	jmp	LBB0_5
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
LJTI0_0:
	.long	L0_0_set_23
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_2
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_24
	.long	L0_0_set_27
	.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	_va1j5jf8007s_tune
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function va1j5jf8007s_tune
_va1j5jf8007s_tune:                     ; @va1j5jf8007s_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	wzr, [sp, #12]
	ldr	x21, [x0]
	cbz	x1, LBB0_7
; %bb.1:
	mov	w8, #133
	str	w8, [x21]
LBB0_2:
	mov	x0, x21
	bl	_va1j5jf8007s_set_frequency_1
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	w0, #0
	mov	w8, #132
LBB0_4:
	str	w8, [x21]
	str	wzr, [x20]
LBB0_5:
	str	wzr, [x19]
LBB0_6:
	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_7:
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #9
	b.hi	LBB0_11
; %bb.8:
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_9:
	mov	x0, x21
	bl	_va1j5jf8007s_set_ts_id
	tbnz	w0, #31, LBB0_6
; %bb.10:
	mov	w0, #0
	mov	w8, #135
	str	w8, [x21]
	b	LBB0_6
LBB0_11:
	bl	_BUG
                                        ; implicit-def: $w0
	b	LBB0_6
LBB0_12:
	mov	x0, x21
	bl	_va1j5jf8007s_set_modulation
	tbnz	w0, #31, LBB0_6
; %bb.13:
	mov	w0, #0
	mov	w8, #136
	b	LBB0_29
LBB0_14:
	mov	x0, x21
	bl	_va1j5jf8007s_set_frequency_3
	tbnz	w0, #31, LBB0_6
; %bb.15:
	mov	w0, #0
	mov	w8, #137
	b	LBB0_4
LBB0_16:
	mov	x0, x21
	bl	_va1j5jf8007s_set_frequency_2
	tbnz	w0, #31, LBB0_6
; %bb.17:
	mov	w0, #0
	mov	w8, #131
	str	w8, [x21]
Lloh2:
	adrp	x8, _HZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w8, w8, #99
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	b	LBB0_35
LBB0_18:
	mov	w0, #0
Lloh5:
	adrp	x8, _HZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	b	LBB0_36
LBB0_19:
	add	x1, sp, #12
	mov	x0, x21
	bl	_va1j5jf8007s_check_ts_id
	tbnz	w0, #31, LBB0_6
; %bb.20:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_30
; %bb.21:
	mov	w8, #128
	str	w8, [x21]
LBB0_22:
	mov	w0, #0
Lloh8:
	adrp	x8, _HZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	str	w8, [x20]
Lloh11:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh17:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	b	LBB0_6
LBB0_23:
	add	x1, sp, #12
	mov	x0, x21
	bl	_va1j5jf8007s_check_modulation
	tbnz	w0, #31, LBB0_6
; %bb.24:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_32
; %bb.25:
	mov	w0, #0
	mov	w8, #129
	str	w8, [x21]
	str	wzr, [x20]
	b	LBB0_31
LBB0_26:
	add	x1, sp, #12
	mov	x0, x21
	bl	_va1j5jf8007s_check_frequency
	tbnz	w0, #31, LBB0_6
; %bb.27:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_34
; %bb.28:
	mov	w0, #0
	mov	w8, #130
LBB0_29:
	str	w8, [x21]
	str	wzr, [x20]
	b	LBB0_33
LBB0_30:
	mov	w0, #0
Lloh20:
	adrp	x8, _HZ@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	add	w8, w8, #99
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	str	w8, [x20]
LBB0_31:
Lloh23:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh27:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_6
LBB0_32:
	mov	w0, #0
Lloh29:
	adrp	x8, _HZ@GOTPAGE
Lloh30:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	add	w8, w8, #49
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #36
	add	w8, w8, w9
	str	w8, [x20]
LBB0_33:
Lloh32:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_6
LBB0_34:
	mov	w0, #0
Lloh35:
	adrp	x8, _HZ@GOTPAGE
Lloh36:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh37:
	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
LBB0_35:
	add	w8, w8, w9
LBB0_36:
	str	w8, [x20]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
	.byte	(LBB0_26-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	_va1j5jf8007s_tune
.subsections_via_symbols
