	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function msp3400c_thread
LCPI0_0:
	.quad	0x401a353f7ced9168              ## double 6.5519999999999996
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_msp3400c_thread
	.p2align	4, 0x90
_msp3400c_thread:                       ## @msp3400c_thread
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_i2c_get_clientdata
	movl	%eax, %edi
	callq	_to_state
	movq	%rax, %r13
	movq	_msp_debug@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_dev_dbg_lvl
	movq	_V4L2_STD_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	xorl	%eax, %eax
	callq	_set_freezable
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_msp_debug@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r12, %rdi
	movl	$1, %esi
	leaq	L_.str.4(%rip), %rcx
	xorl	%eax, %eax
	callq	_dev_dbg_lvl
	movl	$0, 16(%r13)
	movq	%r13, %rdi
	callq	_msp_update_volume
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##       Child Loop BB0_17 Depth 3
                                        ##       Child Loop BB0_29 Depth 3
                                        ##       Child Loop BB0_55 Depth 3
	movq	_msp_debug@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	%r12, %rdi
	movl	$2, %esi
	leaq	L_.str.1(%rip), %rcx
	xorl	%eax, %eax
	callq	_dev_dbg_lvl
	movq	%r13, %rdi
	movl	$-1, %esi
	callq	_msp_sleep
	movq	(%rbx), %rdx
	movq	%r12, %rdi
	movl	$2, %esi
	leaq	L_.str.2(%rip), %rcx
	xorl	%eax, %eax
	callq	_dev_dbg_lvl
	movq	(%rbx), %rdx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	_msp_debug@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_17 Depth 3
                                        ##       Child Loop BB0_29 Depth 3
                                        ##       Child Loop BB0_55 Depth 3
	movq	%r12, %rdi
	movl	$2, %esi
	leaq	L_.str.3(%rip), %rcx
	xorl	%eax, %eax
	callq	_dev_dbg_lvl
	movq	$0, 56(%r13)
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpq	$0, 48(%r13)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_MSP_MODE_EXTERN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	8(%r13), %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	$1, 16(%r13)
	movq	%r13, %rdi
	callq	_msp_update_volume
	movq	_MSP_MODE_AM_DETECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_msp3400c_set_mode
	movq	$0, 20(%r13)
	movq	%r13, %rdi
	movl	$200, %esi
	callq	_msp_sleep
	testq	%rax, %rax
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_msp3400c_carrier_detect_main@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	_msp_amsound@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_V4L2_STD_SECAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 28(%r13)
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_msp_debug@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	leaq	L_.str.5(%rip), %rcx
	xorl	%eax, %eax
	callq	_dev_dbg_lvl
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	$3, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_msp3400c_carrier_detect_65@GOTPCREL(%rip), %rax
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=2
	testl	%eax, %eax
	jle	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r14,%rbx,8), %edx
	movq	%r12, %rdi
	movl	%edx, %esi
	callq	_msp3400c_set_carrier
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$100, %esi
	callq	_msp_sleep
	testq	%rax, %rax
	jne	LBB0_7
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=3
	movq	%r12, %rdi
	movl	$27, %esi
	callq	_msp_read_dsp
                                        ## kill: def $eax killed $eax def $rax
	leal	-65536(%rax), %r8d
	cmpl	$32768, %eax                    ## imm = 0x8000
	cmovll	%eax, %r8d
	cmpl	%r8d, %r15d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmovll	%ebx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmovlel	%r8d, %r15d
	movq	_msp_debug@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	4(%r14,%rbx,8), %r9d
	movq	%r12, %rdi
	movl	$1, %esi
	leaq	L_.str.6(%rip), %rcx
	xorl	%eax, %eax
	callq	_dev_dbg_lvl
	incq	%rbx
	cmpq	%rbx, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$1, %eax
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$3, %eax
	je	LBB0_12
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=2
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=2
	xorl	%ebx, %ebx
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=2
	xorl	%eax, %eax
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_msp_amsound@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_V4L2_STD_SECAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	testl	%ecx, 28(%rdx)
	jne	LBB0_31
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=2
	testl	%eax, %eax
	jle	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$-1, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rbx,%r14,8), %edx
	movq	%r12, %rdi
	movl	%edx, %esi
	callq	_msp3400c_set_carrier
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$100, %esi
	callq	_msp_sleep
	testq	%rax, %rax
	jne	LBB0_7
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=3
	movq	%r12, %rdi
	movl	$27, %esi
	callq	_msp_read_dsp
                                        ## kill: def $eax killed $eax def $rax
	leal	-65536(%rax), %r8d
	cmpl	$32768, %eax                    ## imm = 0x8000
	cmovll	%eax, %r8d
	cmpl	%r8d, %r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmovll	%r14d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmovlel	%r8d, %r15d
	movq	_msp_debug@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	4(%rbx,%r14,8), %r9d
	movq	%r12, %rdi
	movl	$1, %esi
	leaq	L_.str.7(%rip), %rcx
	xorl	%eax, %eax
	callq	_dev_dbg_lvl
	incq	%r14
	cmpq	%r14, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_29
	jmp	LBB0_31
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	$-1, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_msp3400c_carrier_detect_main@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movslq	%edx, %rcx
	movl	(%rax,%rcx,8), %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, 32(%r13)
	cmpl	$3, %edx
	ja	LBB0_50
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	%edx, %ecx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_49:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_V4L2_STD_MN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r13)
	jmp	LBB0_50
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_V4L2_STD_PAL_H@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_V4L2_STD_BG@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%r13)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$1, %ecx
	je	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=2
	testl	%ecx, %ecx
	jne	LBB0_50
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_msp3400c_carrier_detect_55@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r13)
	movq	_MSP_MODE_FM_TERRA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_msp3400c_set_mode
	movl	$1, 20(%r13)
	jmp	LBB0_51
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_V4L2_STD_PAL_I@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_MSP_CARRIER
	movl	%eax, 36(%r13)
	movq	_MSP_MODE_FM_NICAM2@GOTPCREL(%rip), %rax
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	(%rax), %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_msp3400c_set_mode
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 20(%r13)
	jmp	LBB0_51
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	leal	-1(%rdx), %ecx
	cmpl	$1, %ecx
	ja	LBB0_44
## %bb.41:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_msp3400c_carrier_detect_65@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edx, %ecx
	movl	(%rax,%rcx,8), %eax
	movl	%eax, 36(%r13)
	movq	_MSP_MODE_FM_TERRA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_msp3400c_set_mode
	movl	$1, 20(%r13)
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_V4L2_STD_DK@GOTPCREL(%rip), %rax
LBB0_43:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	(%rax), %eax
	movl	%eax, (%r13)
	jmp	LBB0_51
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=2
	testl	%edx, %edx
	jne	LBB0_50
## %bb.45:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_V4L2_STD_SECAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 28(%r13)
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_msp3400c_carrier_detect_65@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r13)
	movq	_MSP_MODE_AM_NICAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_msp3400c_set_mode
	movl	$1, 20(%r13)
	movq	_V4L2_STD_L@GOTPCREL(%rip), %rax
	jmp	LBB0_43
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_msp3400c_carrier_detect_55@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$0, 40(%r13)
	je	LBB0_50
## %bb.37:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_msp3400c_carrier_detect_55@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movl	%eax, 36(%r13)
	movq	_MSP_MODE_FM_NICAM1@GOTPCREL(%rip), %rax
	jmp	LBB0_38
LBB0_47:                                ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$0, 40(%r13)
	je	LBB0_50
## %bb.48:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_msp3400c_carrier_detect_65@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r13)
	movq	_MSP_MODE_FM_NICAM1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_msp3400c_set_mode
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 20(%r13)
	jmp	LBB0_42
LBB0_50:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	%eax, 36(%r13)
	movq	_MSP_MODE_FM_TERRA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_msp3400c_set_mode
LBB0_51:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	32(%r13), %edx
	movl	36(%r13), %esi
	movq	%r12, %rdi
	callq	_msp3400c_set_carrier
	movl	$0, 16(%r13)
	movq	%r12, %rdi
	callq	_msp3400c_set_audmode
	movq	%r13, %rdi
	callq	_msp_update_volume
	movq	_msp_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	%r12, %rdi
	callq	_msp3400c_print_mode
LBB0_53:                                ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$0, 20(%r13)
	je	LBB0_1
## %bb.54:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	$3, %ebx
	.p2align	4, 0x90
LBB0_55:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	testl	%ebx, %ebx
	movl	$1000, %esi                     ## imm = 0x3E8
	movl	$5000, %eax                     ## imm = 0x1388
	cmovel	%eax, %esi
	movq	%r13, %rdi
	callq	_msp_sleep
	testq	%rax, %rax
	jne	LBB0_7
## %bb.56:                              ##   in Loop: Header=BB0_55 Depth=3
	subl	$1, %ebx
	movl	$0, %eax
	cmovbl	%eax, %ebx
	movq	%r12, %rdi
	callq	_watch_stereo
	cmpl	$0, 20(%r13)
	jne	LBB0_55
	jmp	LBB0_1
LBB0_8:
	movq	_msp_debug@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.8(%rip), %rcx
	movq	%r12, %rdi
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_dev_dbg_lvl
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
LJTI0_0:
	.long	L0_0_set_49
	.long	L0_0_set_33
	.long	L0_0_set_39
	.long	L0_0_set_40
	.end_data_region
                                        ## -- End function
	.comm	_msp_debug,8,3                  ## @msp_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"msp3400 daemon started\n"

	.comm	_V4L2_STD_ALL,4,2               ## @V4L2_STD_ALL
L_.str.1:                               ## @.str.1
	.asciz	"msp3400 thread: sleep\n"

L_.str.2:                               ## @.str.2
	.asciz	"msp3400 thread: wakeup\n"

L_.str.3:                               ## @.str.3
	.asciz	"thread: restart scan\n"

	.comm	_MSP_MODE_EXTERN,8,3            ## @MSP_MODE_EXTERN
L_.str.4:                               ## @.str.4
	.asciz	"thread: no carrier scan\n"

	.comm	_MSP_MODE_AM_DETECT,4,2         ## @MSP_MODE_AM_DETECT
	.comm	_msp3400c_carrier_detect_main,8,3 ## @msp3400c_carrier_detect_main
	.comm	_msp_amsound,8,3                ## @msp_amsound
	.comm	_V4L2_STD_SECAM,4,2             ## @V4L2_STD_SECAM
L_.str.5:                               ## @.str.5
	.asciz	"AM sound override\n"

L_.str.6:                               ## @.str.6
	.asciz	"carrier1 val: %5d / %s\n"

	.comm	_msp3400c_carrier_detect_55,8,3 ## @msp3400c_carrier_detect_55
	.comm	_msp3400c_carrier_detect_65,8,3 ## @msp3400c_carrier_detect_65
L_.str.7:                               ## @.str.7
	.asciz	"carrier2 val: %5d / %s\n"

	.comm	_V4L2_STD_BG,4,2                ## @V4L2_STD_BG
	.comm	_V4L2_STD_PAL_H,4,2             ## @V4L2_STD_PAL_H
	.comm	_MSP_MODE_FM_TERRA,4,2          ## @MSP_MODE_FM_TERRA
	.comm	_MSP_MODE_FM_NICAM1,4,2         ## @MSP_MODE_FM_NICAM1
	.comm	_V4L2_STD_PAL_I,4,2             ## @V4L2_STD_PAL_I
	.comm	_MSP_MODE_FM_NICAM2,4,2         ## @MSP_MODE_FM_NICAM2
	.comm	_V4L2_STD_DK,8,3                ## @V4L2_STD_DK
	.comm	_MSP_MODE_AM_NICAM,4,2          ## @MSP_MODE_AM_NICAM
	.comm	_V4L2_STD_L,4,2                 ## @V4L2_STD_L
	.comm	_V4L2_STD_MN,4,2                ## @V4L2_STD_MN
L_.str.8:                               ## @.str.8
	.asciz	"thread: exit\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msp3400c_thread                ; -- Begin function msp3400c_thread
	.p2align	2
_msp3400c_thread:                       ; @msp3400c_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
	bl	_i2c_get_clientdata
	bl	_to_state
	mov	x20, x0
Lloh0:
	adrp	x27, _msp_debug@GOTPAGE
Lloh1:
	ldr	x27, [x27, _msp_debug@GOTPAGEOFF]
	ldr	x2, [x27]
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_dev_dbg_lvl
Lloh4:
	adrp	x8, _V4L2_STD_ALL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _V4L2_STD_ALL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x20]
	bl	_set_freezable
	mov	w26, #5000
	movi.2s	v8, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x2, [x27]
	mov	x0, x19
	mov	w1, #1
Lloh7:
	adrp	x3, l_.str.4@PAGE
Lloh8:
	add	x3, x3, l_.str.4@PAGEOFF
	bl	_dev_dbg_lvl
	str	wzr, [x20, #16]
	mov	x0, x20
	bl	_msp_update_volume
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
                                        ;       Child Loop BB0_52 Depth 3
	ldr	x2, [x27]
	mov	x0, x19
	mov	w1, #2
Lloh9:
	adrp	x3, l_.str.1@PAGE
Lloh10:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_dev_dbg_lvl
	mov	x0, x20
	mov	w1, #-1
	bl	_msp_sleep
	ldr	x2, [x27]
	mov	x0, x19
	mov	w1, #2
Lloh11:
	adrp	x3, l_.str.2@PAGE
Lloh12:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_dev_dbg_lvl
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
                                        ;       Child Loop BB0_52 Depth 3
	ldr	x2, [x27]
	mov	x0, x19
	mov	w1, #2
Lloh13:
	adrp	x3, l_.str.3@PAGE
Lloh14:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_dev_dbg_lvl
	str	xzr, [x20, #56]
	bl	_kthread_should_stop
	cbnz	x0, LBB0_54
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	x8, [x20, #48]
	cbnz	x8, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=2
Lloh15:
	adrp	x8, _MSP_MODE_EXTERN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSP_MODE_EXTERN@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	w8, #1
	str	w8, [x20, #16]
	mov	x0, x20
	bl	_msp_update_volume
Lloh18:
	adrp	x8, _MSP_MODE_AM_DETECT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSP_MODE_AM_DETECT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_msp3400c_set_mode
	stp	wzr, wzr, [x20, #20]
	mov	x0, x20
	mov	w1, #200
	bl	_msp_sleep
	cbnz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=2
Lloh21:
	adrp	x8, _msp3400c_carrier_detect_main@GOTPAGE
Lloh22:
	ldr	x8, [x8, _msp3400c_carrier_detect_main@GOTPAGEOFF]
Lloh23:
	ldr	x28, [x8]
	mov	x0, x28
	bl	_ARRAY_SIZE
Lloh24:
	adrp	x8, _msp_amsound@GOTPAGE
Lloh25:
	ldr	x8, [x8, _msp_amsound@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w8, [x20, #28]
Lloh27:
	adrp	x9, _V4L2_STD_SECAM@GOTPAGE
Lloh28:
	ldr	x9, [x9, _V4L2_STD_SECAM@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	x2, [x27]
	mov	x0, x19
	mov	w1, #1
Lloh30:
	adrp	x3, l_.str.5@PAGE
Lloh31:
	add	x3, x3, l_.str.5@PAGEOFF
	bl	_dev_dbg_lvl
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	w21, #3
Lloh32:
	adrp	x8, _msp3400c_carrier_detect_65@GOTPAGE
Lloh33:
	ldr	x8, [x8, _msp3400c_carrier_detect_65@GOTPAGEOFF]
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	x28, [x8]
	mov	x0, x28
	bl	_ARRAY_SIZE
	b	LBB0_20
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=2
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=2
	mov	x23, #0
	mov	w25, #0
	add	x24, x28, #4
	mov	w21, #-1
	mov	w22, w0
LBB0_14:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_3 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldur	w1, [x24, #-4]
	mov	x0, x19
	mov	x2, x1
	bl	_msp3400c_set_carrier
	mov	x0, x20
	mov	w1, #100
	bl	_msp_sleep
	cbnz	x0, LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=3
	mov	x0, x19
	mov	w1, #27
	bl	_msp_read_dsp
	sub	w8, w0, #16, lsl #12            ; =65536
	cmp	w0, #8, lsl #12                 ; =32768
	csel	w8, w8, w0, ge
	cmp	w25, w8
	csel	w21, w23, w21, lt
	csel	w25, w25, w8, gt
	ldr	x2, [x27]
	ldr	w9, [x24], #8
	stp	x8, x9, [sp]
	mov	x0, x19
	mov	w1, #1
Lloh34:
	adrp	x3, l_.str.6@PAGE
Lloh35:
	add	x3, x3, l_.str.6@PAGEOFF
	bl	_dev_dbg_lvl
	add	x23, x23, #1
	cmp	x22, x23
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=2
	cmp	w21, #1
	b.eq	LBB0_42
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=2
	cmp	w21, #3
	b.eq	LBB0_10
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=2
	mov	x28, #0
	mov	w0, #0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	x28, #0
	mov	w0, #0
	mov	w21, #-1
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=2
Lloh36:
	adrp	x8, _msp_amsound@GOTPAGE
Lloh37:
	ldr	x8, [x8, _msp_amsound@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cbz	x8, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=2
	ldr	w8, [x20, #28]
Lloh39:
	adrp	x9, _V4L2_STD_SECAM@GOTPAGE
Lloh40:
	ldr	x9, [x9, _V4L2_STD_SECAM@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=2
	mov	w28, #0
	b	LBB0_28
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=2
	cmp	w0, #1
	b.lt	LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=2
	mov	x23, #0
	mov	w25, #0
	add	x24, x28, #4
	mov	w28, #-1
	mov	w22, w0
LBB0_25:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_3 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldur	w1, [x24, #-4]
	mov	x0, x19
	mov	x2, x1
	bl	_msp3400c_set_carrier
	mov	x0, x20
	mov	w1, #100
	bl	_msp_sleep
	cbnz	x0, LBB0_3
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=3
	mov	x0, x19
	mov	w1, #27
	bl	_msp_read_dsp
	sub	w8, w0, #16, lsl #12            ; =65536
	cmp	w0, #8, lsl #12                 ; =32768
	csel	w8, w8, w0, ge
	cmp	w25, w8
	csel	w28, w23, w28, lt
	csel	w25, w25, w8, gt
	ldr	x2, [x27]
	ldr	w9, [x24], #8
	stp	x8, x9, [sp]
	mov	x0, x19
	mov	w1, #1
Lloh42:
	adrp	x3, l_.str.7@PAGE
Lloh43:
	add	x3, x3, l_.str.7@PAGEOFF
	bl	_dev_dbg_lvl
	add	x23, x23, #1
	cmp	x22, x23
	b.ne	LBB0_25
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	w28, #-1
LBB0_28:                                ;   in Loop: Header=BB0_3 Depth=2
Lloh44:
	adrp	x8, _msp3400c_carrier_detect_main@GOTPAGE
Lloh45:
	ldr	x8, [x8, _msp3400c_carrier_detect_main@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	sbfiz	x9, x21, #3, #32
	ldr	w8, [x8, x9]
	str	w8, [x20, #32]
	cmp	w21, #3
	b.hi	LBB0_47
; %bb.29:                               ;   in Loop: Header=BB0_3 Depth=2
	mov	w9, w21
Lloh47:
	adrp	x12, lJTI0_0@PAGE
Lloh48:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x10, LBB0_30
	ldrb	w11, [x12, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_30:                                ;   in Loop: Header=BB0_3 Depth=2
Lloh49:
	adrp	x9, _V4L2_STD_MN@GOTPAGE
Lloh50:
	ldr	x9, [x9, _V4L2_STD_MN@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	str	w9, [x20]
	b	LBB0_47
LBB0_31:                                ;   in Loop: Header=BB0_3 Depth=2
Lloh52:
	adrp	x9, _V4L2_STD_BG@GOTPAGE
Lloh53:
	ldr	x9, [x9, _V4L2_STD_BG@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
Lloh55:
	adrp	x10, _V4L2_STD_PAL_H@GOTPAGE
Lloh56:
	ldr	x10, [x10, _V4L2_STD_PAL_H@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x20]
	cmp	w28, #1
	b.eq	LBB0_43
; %bb.32:                               ;   in Loop: Header=BB0_3 Depth=2
	cbnz	w28, LBB0_47
; %bb.33:                               ;   in Loop: Header=BB0_3 Depth=2
Lloh58:
	adrp	x8, _msp3400c_carrier_detect_55@GOTPAGE
Lloh59:
	ldr	x8, [x8, _msp3400c_carrier_detect_55@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20, #36]
Lloh61:
	adrp	x8, _MSP_MODE_FM_TERRA@GOTPAGE
Lloh62:
	ldr	x8, [x8, _MSP_MODE_FM_TERRA@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_msp3400c_set_mode
	mov	w8, #1
	str	w8, [x20, #20]
	b	LBB0_48
LBB0_34:                                ;   in Loop: Header=BB0_3 Depth=2
Lloh64:
	adrp	x8, _V4L2_STD_PAL_I@GOTPAGE
Lloh65:
	ldr	x8, [x8, _V4L2_STD_PAL_I@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x8, #37224
	movk	x8, #31981, lsl #16
	movk	x8, #13631, lsl #32
	movk	x8, #16410, lsl #48
	fmov	d0, x8
	bl	_MSP_CARRIER
	str	w0, [x20, #36]
Lloh67:
	adrp	x8, _MSP_MODE_FM_NICAM2@GOTPAGE
Lloh68:
	ldr	x8, [x8, _MSP_MODE_FM_NICAM2@GOTPAGEOFF]
LBB0_35:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w1, [x8]
	mov	x0, x19
	bl	_msp3400c_set_mode
	stur	d8, [x20, #20]
	b	LBB0_48
LBB0_36:                                ;   in Loop: Header=BB0_3 Depth=2
	sub	w9, w28, #1
	cmp	w9, #1
	b.hi	LBB0_39
; %bb.37:                               ;   in Loop: Header=BB0_3 Depth=2
Lloh69:
	adrp	x8, _msp3400c_carrier_detect_65@GOTPAGE
Lloh70:
	ldr	x8, [x8, _msp3400c_carrier_detect_65@GOTPAGEOFF]
Lloh71:
	ldr	x8, [x8]
	mov	w9, w28
	lsl	x9, x9, #3
	ldr	w8, [x8, x9]
	str	w8, [x20, #36]
Lloh72:
	adrp	x8, _MSP_MODE_FM_TERRA@GOTPAGE
Lloh73:
	ldr	x8, [x8, _MSP_MODE_FM_TERRA@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_msp3400c_set_mode
	mov	w8, #1
	str	w8, [x20, #20]
LBB0_38:                                ;   in Loop: Header=BB0_3 Depth=2
Lloh75:
	adrp	x8, _V4L2_STD_DK@GOTPAGE
Lloh76:
	ldr	x8, [x8, _V4L2_STD_DK@GOTPAGEOFF]
Lloh77:
	ldr	x8, [x8]
	str	w8, [x20]
	b	LBB0_48
LBB0_39:                                ;   in Loop: Header=BB0_3 Depth=2
	cbnz	w28, LBB0_47
; %bb.40:                               ;   in Loop: Header=BB0_3 Depth=2
	ldr	w9, [x20, #28]
Lloh78:
	adrp	x10, _V4L2_STD_SECAM@GOTPAGE
Lloh79:
	ldr	x10, [x10, _V4L2_STD_SECAM@GOTPAGEOFF]
Lloh80:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_45
; %bb.41:                               ;   in Loop: Header=BB0_3 Depth=2
Lloh81:
	adrp	x8, _msp3400c_carrier_detect_65@GOTPAGE
Lloh82:
	ldr	x8, [x8, _msp3400c_carrier_detect_65@GOTPAGEOFF]
Lloh83:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20, #36]
Lloh84:
	adrp	x8, _MSP_MODE_AM_NICAM@GOTPAGE
Lloh85:
	ldr	x8, [x8, _MSP_MODE_AM_NICAM@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_msp3400c_set_mode
	mov	w8, #1
	str	w8, [x20, #20]
Lloh87:
	adrp	x8, _V4L2_STD_L@GOTPAGE
Lloh88:
	ldr	x8, [x8, _V4L2_STD_L@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_48
LBB0_42:                                ;   in Loop: Header=BB0_3 Depth=2
Lloh90:
	adrp	x8, _msp3400c_carrier_detect_55@GOTPAGE
Lloh91:
	ldr	x8, [x8, _msp3400c_carrier_detect_55@GOTPAGEOFF]
	b	LBB0_11
LBB0_43:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w9, [x20, #40]
	cbz	w9, LBB0_47
; %bb.44:                               ;   in Loop: Header=BB0_3 Depth=2
Lloh92:
	adrp	x8, _msp3400c_carrier_detect_55@GOTPAGE
Lloh93:
	ldr	x8, [x8, _msp3400c_carrier_detect_55@GOTPAGEOFF]
Lloh94:
	ldr	x8, [x8]
	ldr	w8, [x8, #8]
	str	w8, [x20, #36]
Lloh95:
	adrp	x8, _MSP_MODE_FM_NICAM1@GOTPAGE
Lloh96:
	ldr	x8, [x8, _MSP_MODE_FM_NICAM1@GOTPAGEOFF]
	b	LBB0_35
LBB0_45:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w9, [x20, #40]
	cbz	w9, LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_3 Depth=2
Lloh97:
	adrp	x8, _msp3400c_carrier_detect_65@GOTPAGE
Lloh98:
	ldr	x8, [x8, _msp3400c_carrier_detect_65@GOTPAGEOFF]
Lloh99:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20, #36]
Lloh100:
	adrp	x8, _MSP_MODE_FM_NICAM1@GOTPAGE
Lloh101:
	ldr	x8, [x8, _MSP_MODE_FM_NICAM1@GOTPAGEOFF]
Lloh102:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_msp3400c_set_mode
	stur	d8, [x20, #20]
	b	LBB0_38
LBB0_47:                                ;   in Loop: Header=BB0_3 Depth=2
	str	w8, [x20, #36]
Lloh103:
	adrp	x8, _MSP_MODE_FM_TERRA@GOTPAGE
Lloh104:
	ldr	x8, [x8, _MSP_MODE_FM_TERRA@GOTPAGEOFF]
Lloh105:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_msp3400c_set_mode
LBB0_48:                                ;   in Loop: Header=BB0_3 Depth=2
	ldp	w2, w1, [x20, #32]
	mov	x0, x19
	bl	_msp3400c_set_carrier
	str	wzr, [x20, #16]
	mov	x0, x19
	bl	_msp3400c_set_audmode
	mov	x0, x20
	bl	_msp_update_volume
	ldr	x8, [x27]
	cbz	x8, LBB0_50
; %bb.49:                               ;   in Loop: Header=BB0_3 Depth=2
	mov	x0, x19
	bl	_msp3400c_print_mode
LBB0_50:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w8, [x20, #20]
	cbz	w8, LBB0_2
; %bb.51:                               ;   in Loop: Header=BB0_3 Depth=2
	mov	w21, #3
LBB0_52:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_3 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	w21, #0
	mov	w8, #1000
	csel	w1, w26, w8, eq
	mov	x0, x20
	bl	_msp_sleep
	cbnz	x0, LBB0_3
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=3
	sub	w8, w21, #1
	cmp	w21, #0
	csel	w21, wzr, w8, eq
	mov	x0, x19
	bl	_watch_stereo
	ldr	w8, [x20, #20]
	cbnz	w8, LBB0_52
	b	LBB0_2
LBB0_54:
	ldr	x2, [x27]
Lloh106:
	adrp	x3, l_.str.8@PAGE
Lloh107:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_dev_dbg_lvl
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpAdd	Lloh106, Lloh107
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_30-LBB0_30)>>2
	.byte	(LBB0_31-LBB0_30)>>2
	.byte	(LBB0_34-LBB0_30)>>2
	.byte	(LBB0_36-LBB0_30)>>2
                                        ; -- End function
	.comm	_msp_debug,8,3                  ; @msp_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"msp3400 daemon started\n"

	.comm	_V4L2_STD_ALL,4,2               ; @V4L2_STD_ALL
l_.str.1:                               ; @.str.1
	.asciz	"msp3400 thread: sleep\n"

l_.str.2:                               ; @.str.2
	.asciz	"msp3400 thread: wakeup\n"

l_.str.3:                               ; @.str.3
	.asciz	"thread: restart scan\n"

	.comm	_MSP_MODE_EXTERN,8,3            ; @MSP_MODE_EXTERN
l_.str.4:                               ; @.str.4
	.asciz	"thread: no carrier scan\n"

	.comm	_MSP_MODE_AM_DETECT,4,2         ; @MSP_MODE_AM_DETECT
	.comm	_msp3400c_carrier_detect_main,8,3 ; @msp3400c_carrier_detect_main
	.comm	_msp_amsound,8,3                ; @msp_amsound
	.comm	_V4L2_STD_SECAM,4,2             ; @V4L2_STD_SECAM
l_.str.5:                               ; @.str.5
	.asciz	"AM sound override\n"

l_.str.6:                               ; @.str.6
	.asciz	"carrier1 val: %5d / %s\n"

	.comm	_msp3400c_carrier_detect_55,8,3 ; @msp3400c_carrier_detect_55
	.comm	_msp3400c_carrier_detect_65,8,3 ; @msp3400c_carrier_detect_65
l_.str.7:                               ; @.str.7
	.asciz	"carrier2 val: %5d / %s\n"

	.comm	_V4L2_STD_BG,4,2                ; @V4L2_STD_BG
	.comm	_V4L2_STD_PAL_H,4,2             ; @V4L2_STD_PAL_H
	.comm	_MSP_MODE_FM_TERRA,4,2          ; @MSP_MODE_FM_TERRA
	.comm	_MSP_MODE_FM_NICAM1,4,2         ; @MSP_MODE_FM_NICAM1
	.comm	_V4L2_STD_PAL_I,4,2             ; @V4L2_STD_PAL_I
	.comm	_MSP_MODE_FM_NICAM2,4,2         ; @MSP_MODE_FM_NICAM2
	.comm	_V4L2_STD_DK,8,3                ; @V4L2_STD_DK
	.comm	_MSP_MODE_AM_NICAM,4,2          ; @MSP_MODE_AM_NICAM
	.comm	_V4L2_STD_L,4,2                 ; @V4L2_STD_L
	.comm	_V4L2_STD_MN,4,2                ; @V4L2_STD_MN
l_.str.8:                               ; @.str.8
	.asciz	"thread: exit\n"

.subsections_via_symbols
