	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxd2880_get_frontend_t
_cxd2880_get_frontend_t:                ## @cxd2880_get_frontend_t
	.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
	movl	$131, -56(%rbp)
	movl	$138, -52(%rbp)
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	movq	(%rdi), %r13
	movl	(%r13), %edi
	callq	_mutex_lock
	leaq	4(%r13), %r15
	leaq	-56(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movq	%r15, %rdi
	callq	_cxd2880_tnrdmd_dvbt_mon_mode_guard
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.17:
	movq	_TRANSMISSION_MODE_2K@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%r12)
	movq	_GUARD_INTERVAL_1_32@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r12)
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
LBB0_18:
	callq	_pr_debug
	jmp	LBB0_19
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_70
LBB0_4:
	movl	-56(%rbp), %esi
	cmpl	$130, %esi
	je	LBB0_7
## %bb.5:
	movq	_TRANSMISSION_MODE_2K@GOTPCREL(%rip), %rax
	cmpl	$131, %esi
	je	LBB0_6
## %bb.8:
	movq	(%rax), %rax
	movq	%rax, 80(%r12)
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
	jmp	LBB0_9
LBB0_7:
	movq	_TRANSMISSION_MODE_8K@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, 80(%r12)
LBB0_9:
	movl	-52(%rbp), %esi
	leal	-136(%rsi), %eax
	cmpl	$3, %eax
	ja	LBB0_16
## %bb.10:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:
	movq	_GUARD_INTERVAL_1_8@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_16:
	movq	_GUARD_INTERVAL_1_32@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r12)
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	jmp	LBB0_18
LBB0_15:
	movq	_GUARD_INTERVAL_1_4@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_GUARD_INTERVAL_1_32@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_13:
	movq	_GUARD_INTERVAL_1_16@GOTPCREL(%rip), %rax
LBB0_12:
	movq	(%rax), %rax
	movq	%rax, 72(%r12)
LBB0_19:
	movl	(%r13), %edi
	callq	_mutex_lock
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	callq	_cxd2880_tnrdmd_dvbt_mon_tps_info
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_20
## %bb.53:
	movq	_HIERARCHY_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	movq	_FEC_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
	movq	%rax, 48(%r12)
	movq	_QPSK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	leaq	L_.str.8(%rip), %rdi
	movl	%ebx, %esi
LBB0_54:
	callq	_pr_debug
	jmp	LBB0_55
LBB0_20:
	movl	-80(%rbp), %esi
	leal	-132(%rsi), %eax
	cmpl	$3, %eax
	ja	LBB0_27
## %bb.21:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_22:
	movq	_HIERARCHY_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_27:
	movq	_HIERARCHY_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	leaq	L_.str.4(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_pr_debug
	jmp	LBB0_28
LBB0_26:
	movq	_HIERARCHY_4@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_25:
	movq	_HIERARCHY_2@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_24:
	movq	_HIERARCHY_1@GOTPCREL(%rip), %rax
LBB0_23:
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
LBB0_28:
	movl	-76(%rbp), %esi
	leal	-143(%rsi), %eax
	cmpl	$4, %eax
	ja	LBB0_36
## %bb.29:
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_35:
	movq	_FEC_7_8@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_34:
	movq	_FEC_5_6@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_33:
	movq	_FEC_3_4@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_32:
	movq	_FEC_2_3@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_30:
	movq	_FEC_1_2@GOTPCREL(%rip), %rax
LBB0_31:
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
LBB0_37:
	movl	-72(%rbp), %esi
	leal	-143(%rsi), %eax
	cmpl	$4, %eax
	ja	LBB0_45
## %bb.38:
	leaq	LJTI0_3(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_44:
	movq	_FEC_7_8@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_43:
	movq	_FEC_5_6@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_42:
	movq	_FEC_3_4@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_41:
	movq	_FEC_2_3@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_39:
	movq	_FEC_1_2@GOTPCREL(%rip), %rax
LBB0_40:
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
LBB0_46:
	movl	-68(%rbp), %esi
	cmpl	$142, %esi
	je	LBB0_50
## %bb.47:
	cmpl	$141, %esi
	je	LBB0_51
## %bb.48:
	movq	_QPSK@GOTPCREL(%rip), %rax
	cmpl	$140, %esi
	je	LBB0_49
## %bb.52:
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_54
LBB0_50:
	movq	_QAM_16@GOTPCREL(%rip), %rax
	jmp	LBB0_49
LBB0_51:
	movq	_QAM_64@GOTPCREL(%rip), %rax
LBB0_49:
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
LBB0_55:
	movl	(%r13), %edi
	callq	_mutex_lock
	leaq	-60(%rbp), %rsi
	movq	%r15, %rdi
	callq	_cxd2880_tnrdmd_dvbt_mon_spectrum_sense
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_56
## %bb.61:
	movq	_INVERSION_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r12)
	leaq	L_.str.10(%rip), %rdi
	movl	%ebx, %esi
LBB0_62:
	callq	_pr_debug
	jmp	LBB0_63
LBB0_56:
	movl	-60(%rbp), %esi
	cmpl	$129, %esi
	je	LBB0_59
## %bb.57:
	movq	_INVERSION_OFF@GOTPCREL(%rip), %rax
	cmpl	$128, %esi
	je	LBB0_58
## %bb.60:
	movq	(%rax), %rax
	movq	%rax, 32(%r12)
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_62
LBB0_59:
	movq	_INVERSION_ON@GOTPCREL(%rip), %rax
LBB0_58:
	movq	(%rax), %rax
	movq	%rax, 32(%r12)
LBB0_63:
	movl	(%r13), %edi
	callq	_mutex_lock
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdi
	callq	_cxd2880_tnrdmd_mon_rf_lvl
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_mutex_unlock
	movl	$1, 16(%r12)
	testl	%ebx, %ebx
	je	LBB0_64
## %bb.65:
	movq	_FE_SCALE_NOT_AVAILABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%r12), %rcx
	movq	%rax, 8(%rcx)
	leaq	L_.str.11(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_debug
	jmp	LBB0_66
LBB0_64:
	movq	_FE_SCALE_DECIBEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%r12), %rcx
	movq	%rax, 8(%rcx)
	movl	-44(%rbp), %eax
	movl	%eax, (%rcx)
LBB0_66:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_cxd2880_read_snr
	movl	$1, (%r12)
	testl	%eax, %eax
	je	LBB0_67
## %bb.68:
	movq	_FE_SCALE_NOT_AVAILABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%r12), %rdx
	movq	%rcx, (%rdx)
	leaq	L_.str.12(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_debug
	jmp	LBB0_69
LBB0_67:
	movq	_FE_SCALE_DECIBEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r12), %rcx
	movq	%rax, (%rcx)
	movl	-48(%rbp), %eax
	movl	%eax, 8(%rcx)
LBB0_69:
	xorl	%eax, %eax
LBB0_70:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	movq	_FEC_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
	leaq	L_.str.5(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_pr_debug
	jmp	LBB0_37
LBB0_45:
	movq	_FEC_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	leaq	L_.str.6(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_pr_debug
	jmp	LBB0_46
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_11
	.long	L0_0_set_13
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_25, LBB0_25-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
LJTI0_1:
	.long	L0_1_set_22
	.long	L0_1_set_26
	.long	L0_1_set_25
	.long	L0_1_set_24
.set L0_2_set_35, LBB0_35-LJTI0_2
.set L0_2_set_34, LBB0_34-LJTI0_2
.set L0_2_set_33, LBB0_33-LJTI0_2
.set L0_2_set_32, LBB0_32-LJTI0_2
.set L0_2_set_30, LBB0_30-LJTI0_2
LJTI0_2:
	.long	L0_2_set_35
	.long	L0_2_set_34
	.long	L0_2_set_33
	.long	L0_2_set_32
	.long	L0_2_set_30
.set L0_3_set_44, LBB0_44-LJTI0_3
.set L0_3_set_43, LBB0_43-LJTI0_3
.set L0_3_set_42, LBB0_42-LJTI0_3
.set L0_3_set_41, LBB0_41-LJTI0_3
.set L0_3_set_39, LBB0_39-LJTI0_3
LJTI0_3:
	.long	L0_3_set_44
	.long	L0_3_set_43
	.long	L0_3_set_42
	.long	L0_3_set_41
	.long	L0_3_set_39
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid arg\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TRANSMISSION_MODE_2K,8,3       ## @TRANSMISSION_MODE_2K
	.comm	_TRANSMISSION_MODE_8K,8,3       ## @TRANSMISSION_MODE_8K
L_.str.1:                               ## @.str.1
	.asciz	"transmission mode is invalid %d\n"

	.comm	_GUARD_INTERVAL_1_32,8,3        ## @GUARD_INTERVAL_1_32
	.comm	_GUARD_INTERVAL_1_16,8,3        ## @GUARD_INTERVAL_1_16
	.comm	_GUARD_INTERVAL_1_8,8,3         ## @GUARD_INTERVAL_1_8
	.comm	_GUARD_INTERVAL_1_4,8,3         ## @GUARD_INTERVAL_1_4
L_.str.2:                               ## @.str.2
	.asciz	"guard interval is invalid %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"ModeGuard err %d\n"

	.comm	_HIERARCHY_NONE,8,3             ## @HIERARCHY_NONE
	.comm	_HIERARCHY_1,8,3                ## @HIERARCHY_1
	.comm	_HIERARCHY_2,8,3                ## @HIERARCHY_2
	.comm	_HIERARCHY_4,8,3                ## @HIERARCHY_4
L_.str.4:                               ## @.str.4
	.asciz	"TPSInfo hierarchy is invalid %d\n"

	.comm	_FEC_1_2,8,3                    ## @FEC_1_2
	.comm	_FEC_2_3,8,3                    ## @FEC_2_3
	.comm	_FEC_3_4,8,3                    ## @FEC_3_4
	.comm	_FEC_5_6,8,3                    ## @FEC_5_6
	.comm	_FEC_7_8,8,3                    ## @FEC_7_8
	.comm	_FEC_NONE,8,3                   ## @FEC_NONE
L_.str.5:                               ## @.str.5
	.asciz	"TPSInfo rateHP is invalid %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"TPSInfo rateLP is invalid %d\n"

	.comm	_QPSK,8,3                       ## @QPSK
	.comm	_QAM_16,8,3                     ## @QAM_16
	.comm	_QAM_64,8,3                     ## @QAM_64
L_.str.7:                               ## @.str.7
	.asciz	"TPSInfo constellation is invalid %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"TPS info err %d\n"

	.comm	_INVERSION_OFF,8,3              ## @INVERSION_OFF
	.comm	_INVERSION_ON,8,3               ## @INVERSION_ON
L_.str.9:                               ## @.str.9
	.asciz	"spectrum sense is invalid %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"spectrum_sense %d\n"

	.comm	_FE_SCALE_DECIBEL,8,3           ## @FE_SCALE_DECIBEL
	.comm	_FE_SCALE_NOT_AVAILABLE,8,3     ## @FE_SCALE_NOT_AVAILABLE
L_.str.11:                              ## @.str.11
	.asciz	"mon_rf_lvl %d\n"

L_.str.12:                              ## @.str.12
	.asciz	"read_snr %d\n"

	.no_dead_strip	_cxd2880_get_frontend_t
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxd2880_get_frontend_t
_cxd2880_get_frontend_t:                ; @cxd2880_get_frontend_t
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	w9, #131
	mov	w8, #138
	stp	w8, w9, [sp, #40]
	stp	wzr, wzr, [sp, #12]
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	x23, [x0]
	ldr	w0, [x23]
	bl	_mutex_lock
	add	x21, x23, #4
	add	x1, sp, #44
	add	x2, sp, #40
	mov	x0, x21
	bl	_cxd2880_tnrdmd_dvbt_mon_mode_guard
	mov	x22, x0
	ldr	w0, [x23]
	bl	_mutex_unlock
	cbz	w22, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _TRANSMISSION_MODE_2K@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRANSMISSION_MODE_2K@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _GUARD_INTERVAL_1_32@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GUARD_INTERVAL_1_32@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #72]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x22
LBB0_4:
	bl	_pr_debug
	b	LBB0_19
LBB0_5:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_67
LBB0_6:
	ldr	w1, [sp, #44]
	cmp	w1, #130
	b.eq	LBB0_9
; %bb.7:
Lloh13:
	adrp	x8, _TRANSMISSION_MODE_2K@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRANSMISSION_MODE_2K@GOTPAGEOFF]
	cmp	w1, #131
	b.eq	LBB0_10
; %bb.8:
	ldr	x8, [x8]
	str	x8, [x19, #80]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	b	LBB0_11
LBB0_9:
Lloh17:
	adrp	x8, _TRANSMISSION_MODE_8K@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRANSMISSION_MODE_8K@GOTPAGEOFF]
LBB0_10:
	ldr	x8, [x8]
	str	x8, [x19, #80]
LBB0_11:
	ldr	w1, [sp, #40]
	sub	w8, w1, #136
	cmp	w8, #3
	b.hi	LBB0_14
; %bb.12:
Lloh19:
	adrp	x9, lJTI0_0@PAGE
Lloh20:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_13
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_13:
Lloh21:
	adrp	x8, _GUARD_INTERVAL_1_8@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GUARD_INTERVAL_1_8@GOTPAGEOFF]
	b	LBB0_18
LBB0_14:
Lloh23:
	adrp	x8, _GUARD_INTERVAL_1_32@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GUARD_INTERVAL_1_32@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	str	x8, [x19, #72]
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_15:
Lloh28:
	adrp	x8, _GUARD_INTERVAL_1_4@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GUARD_INTERVAL_1_4@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
Lloh30:
	adrp	x8, _GUARD_INTERVAL_1_32@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GUARD_INTERVAL_1_32@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh32:
	adrp	x8, _GUARD_INTERVAL_1_16@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GUARD_INTERVAL_1_16@GOTPAGEOFF]
LBB0_18:
	ldr	x8, [x8]
	str	x8, [x19, #72]
LBB0_19:
	ldr	w0, [x23]
	bl	_mutex_lock
	add	x1, sp, #24
	mov	x0, x21
	bl	_cxd2880_tnrdmd_dvbt_mon_tps_info
	mov	x22, x0
	ldr	w0, [x23]
	bl	_mutex_unlock
	cbz	w22, LBB0_22
; %bb.20:
Lloh34:
	adrp	x8, _HIERARCHY_NONE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _HIERARCHY_NONE@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
Lloh37:
	adrp	x9, _FEC_NONE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _FEC_NONE@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #56]
Lloh40:
	adrp	x8, _QPSK@GOTPAGE
Lloh41:
	ldr	x8, [x8, _QPSK@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	stp	x8, x9, [x19, #40]
Lloh43:
	adrp	x0, l_.str.8@PAGE
Lloh44:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x22
LBB0_21:
	bl	_pr_debug
	b	LBB0_53
LBB0_22:
	ldr	w1, [sp, #24]
	sub	w8, w1, #132
	cmp	w8, #3
	b.hi	LBB0_25
; %bb.23:
Lloh45:
	adrp	x9, lJTI0_1@PAGE
Lloh46:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_24
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_24:
Lloh47:
	adrp	x8, _HIERARCHY_NONE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _HIERARCHY_NONE@GOTPAGEOFF]
	b	LBB0_29
LBB0_25:
Lloh49:
	adrp	x8, _HIERARCHY_NONE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _HIERARCHY_NONE@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	str	x8, [x19, #64]
Lloh52:
	adrp	x0, l_.str.4@PAGE
Lloh53:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_debug
	b	LBB0_30
LBB0_26:
Lloh54:
	adrp	x8, _HIERARCHY_4@GOTPAGE
Lloh55:
	ldr	x8, [x8, _HIERARCHY_4@GOTPAGEOFF]
	b	LBB0_29
LBB0_27:
Lloh56:
	adrp	x8, _HIERARCHY_2@GOTPAGE
Lloh57:
	ldr	x8, [x8, _HIERARCHY_2@GOTPAGEOFF]
	b	LBB0_29
LBB0_28:
Lloh58:
	adrp	x8, _HIERARCHY_1@GOTPAGE
Lloh59:
	ldr	x8, [x8, _HIERARCHY_1@GOTPAGEOFF]
LBB0_29:
	ldr	x8, [x8]
	str	x8, [x19, #64]
LBB0_30:
	ldr	w1, [sp, #28]
	sub	w8, w1, #143
	cmp	w8, #4
	b.hi	LBB0_68
; %bb.31:
Lloh60:
	adrp	x9, lJTI0_2@PAGE
Lloh61:
	add	x9, x9, lJTI0_2@PAGEOFF
	adr	x10, LBB0_32
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_32:
Lloh62:
	adrp	x8, _FEC_7_8@GOTPAGE
Lloh63:
	ldr	x8, [x8, _FEC_7_8@GOTPAGEOFF]
	b	LBB0_37
LBB0_33:
Lloh64:
	adrp	x8, _FEC_5_6@GOTPAGE
Lloh65:
	ldr	x8, [x8, _FEC_5_6@GOTPAGEOFF]
	b	LBB0_37
LBB0_34:
Lloh66:
	adrp	x8, _FEC_3_4@GOTPAGE
Lloh67:
	ldr	x8, [x8, _FEC_3_4@GOTPAGEOFF]
	b	LBB0_37
LBB0_35:
Lloh68:
	adrp	x8, _FEC_2_3@GOTPAGE
Lloh69:
	ldr	x8, [x8, _FEC_2_3@GOTPAGEOFF]
	b	LBB0_37
LBB0_36:
Lloh70:
	adrp	x8, _FEC_1_2@GOTPAGE
Lloh71:
	ldr	x8, [x8, _FEC_1_2@GOTPAGEOFF]
LBB0_37:
	ldr	x8, [x8]
	str	x8, [x19, #56]
LBB0_38:
	ldr	w1, [sp, #32]
	sub	w8, w1, #143
	cmp	w8, #4
	b.hi	LBB0_69
; %bb.39:
Lloh72:
	adrp	x9, lJTI0_3@PAGE
Lloh73:
	add	x9, x9, lJTI0_3@PAGEOFF
	adr	x10, LBB0_40
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_40:
Lloh74:
	adrp	x8, _FEC_7_8@GOTPAGE
Lloh75:
	ldr	x8, [x8, _FEC_7_8@GOTPAGEOFF]
	b	LBB0_45
LBB0_41:
Lloh76:
	adrp	x8, _FEC_5_6@GOTPAGE
Lloh77:
	ldr	x8, [x8, _FEC_5_6@GOTPAGEOFF]
	b	LBB0_45
LBB0_42:
Lloh78:
	adrp	x8, _FEC_3_4@GOTPAGE
Lloh79:
	ldr	x8, [x8, _FEC_3_4@GOTPAGEOFF]
	b	LBB0_45
LBB0_43:
Lloh80:
	adrp	x8, _FEC_2_3@GOTPAGE
Lloh81:
	ldr	x8, [x8, _FEC_2_3@GOTPAGEOFF]
	b	LBB0_45
LBB0_44:
Lloh82:
	adrp	x8, _FEC_1_2@GOTPAGE
Lloh83:
	ldr	x8, [x8, _FEC_1_2@GOTPAGEOFF]
LBB0_45:
	ldr	x8, [x8]
	str	x8, [x19, #48]
LBB0_46:
	ldr	w1, [sp, #36]
	cmp	w1, #142
	b.eq	LBB0_50
; %bb.47:
	cmp	w1, #141
	b.eq	LBB0_51
; %bb.48:
Lloh84:
	adrp	x8, _QPSK@GOTPAGE
Lloh85:
	ldr	x8, [x8, _QPSK@GOTPAGEOFF]
	cmp	w1, #140
	b.eq	LBB0_52
; %bb.49:
	ldr	x8, [x8]
	str	x8, [x19, #40]
Lloh86:
	adrp	x0, l_.str.7@PAGE
Lloh87:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_21
LBB0_50:
Lloh88:
	adrp	x8, _QAM_16@GOTPAGE
Lloh89:
	ldr	x8, [x8, _QAM_16@GOTPAGEOFF]
	b	LBB0_52
LBB0_51:
Lloh90:
	adrp	x8, _QAM_64@GOTPAGE
Lloh91:
	ldr	x8, [x8, _QAM_64@GOTPAGEOFF]
LBB0_52:
	ldr	x8, [x8]
	str	x8, [x19, #40]
LBB0_53:
	ldr	w0, [x23]
	bl	_mutex_lock
	add	x1, sp, #20
	mov	x0, x21
	bl	_cxd2880_tnrdmd_dvbt_mon_spectrum_sense
	mov	x22, x0
	ldr	w0, [x23]
	bl	_mutex_unlock
	cbz	w22, LBB0_56
; %bb.54:
Lloh92:
	adrp	x8, _INVERSION_OFF@GOTPAGE
Lloh93:
	ldr	x8, [x8, _INVERSION_OFF@GOTPAGEOFF]
Lloh94:
	ldr	x8, [x8]
	str	x8, [x19, #32]
Lloh95:
	adrp	x0, l_.str.10@PAGE
Lloh96:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x22
LBB0_55:
	bl	_pr_debug
	b	LBB0_61
LBB0_56:
	ldr	w1, [sp, #20]
	cmp	w1, #129
	b.eq	LBB0_59
; %bb.57:
Lloh97:
	adrp	x8, _INVERSION_OFF@GOTPAGE
Lloh98:
	ldr	x8, [x8, _INVERSION_OFF@GOTPAGEOFF]
	cmp	w1, #128
	b.eq	LBB0_60
; %bb.58:
	ldr	x8, [x8]
	str	x8, [x19, #32]
Lloh99:
	adrp	x0, l_.str.9@PAGE
Lloh100:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_55
LBB0_59:
Lloh101:
	adrp	x8, _INVERSION_ON@GOTPAGE
Lloh102:
	ldr	x8, [x8, _INVERSION_ON@GOTPAGEOFF]
LBB0_60:
	ldr	x8, [x8]
	str	x8, [x19, #32]
LBB0_61:
	ldr	w0, [x23]
	bl	_mutex_lock
	add	x1, sp, #12
	mov	x0, x21
	bl	_cxd2880_tnrdmd_mon_rf_lvl
	mov	x21, x0
	ldr	w0, [x23]
	bl	_mutex_unlock
	mov	w8, #1
	str	w8, [x19, #16]
Lloh103:
	adrp	x22, _FE_SCALE_NOT_AVAILABLE@GOTPAGE
Lloh104:
	ldr	x22, [x22, _FE_SCALE_NOT_AVAILABLE@GOTPAGEOFF]
	cbz	w21, LBB0_63
; %bb.62:
	ldr	x8, [x22]
	ldr	x9, [x19, #24]
	str	x8, [x9, #8]
Lloh105:
	adrp	x0, l_.str.11@PAGE
Lloh106:
	add	x0, x0, l_.str.11@PAGEOFF
	mov	x1, x21
	bl	_pr_debug
	b	LBB0_64
LBB0_63:
Lloh107:
	adrp	x8, _FE_SCALE_DECIBEL@GOTPAGE
Lloh108:
	ldr	x8, [x8, _FE_SCALE_DECIBEL@GOTPAGEOFF]
Lloh109:
	ldr	x8, [x8]
	ldr	x9, [x19, #24]
	str	x8, [x9, #8]
	ldr	w8, [sp, #12]
	str	w8, [x9]
LBB0_64:
	add	x1, sp, #16
	mov	x0, x20
	bl	_cxd2880_read_snr
	mov	w8, #1
	str	w8, [x19]
	cbz	w0, LBB0_66
; %bb.65:
	mov	x1, x0
	ldr	x8, [x22]
	ldr	x9, [x19, #8]
	str	x8, [x9]
Lloh110:
	adrp	x0, l_.str.12@PAGE
Lloh111:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_pr_debug
	mov	w0, #0
	b	LBB0_67
LBB0_66:
Lloh112:
	adrp	x8, _FE_SCALE_DECIBEL@GOTPAGE
Lloh113:
	ldr	x8, [x8, _FE_SCALE_DECIBEL@GOTPAGEOFF]
Lloh114:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	str	x8, [x9]
	ldr	w8, [sp, #16]
	str	w8, [x9, #8]
LBB0_67:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_68:
Lloh115:
	adrp	x8, _FEC_NONE@GOTPAGE
Lloh116:
	ldr	x8, [x8, _FEC_NONE@GOTPAGEOFF]
Lloh117:
	ldr	x8, [x8]
	str	x8, [x19, #56]
Lloh118:
	adrp	x0, l_.str.5@PAGE
Lloh119:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_debug
	b	LBB0_38
LBB0_69:
Lloh120:
	adrp	x8, _FEC_NONE@GOTPAGE
Lloh121:
	ldr	x8, [x8, _FEC_NONE@GOTPAGEOFF]
Lloh122:
	ldr	x8, [x8]
	str	x8, [x19, #48]
Lloh123:
	adrp	x0, l_.str.6@PAGE
Lloh124:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_debug
	b	LBB0_46
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh103, Lloh104
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpAdd	Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpAdd	Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_15-LBB0_13)>>2
	.byte	(LBB0_16-LBB0_13)>>2
	.byte	(LBB0_17-LBB0_13)>>2
lJTI0_1:
	.byte	(LBB0_24-LBB0_24)>>2
	.byte	(LBB0_26-LBB0_24)>>2
	.byte	(LBB0_27-LBB0_24)>>2
	.byte	(LBB0_28-LBB0_24)>>2
lJTI0_2:
	.byte	(LBB0_32-LBB0_32)>>2
	.byte	(LBB0_33-LBB0_32)>>2
	.byte	(LBB0_34-LBB0_32)>>2
	.byte	(LBB0_35-LBB0_32)>>2
	.byte	(LBB0_36-LBB0_32)>>2
lJTI0_3:
	.byte	(LBB0_40-LBB0_40)>>2
	.byte	(LBB0_41-LBB0_40)>>2
	.byte	(LBB0_42-LBB0_40)>>2
	.byte	(LBB0_43-LBB0_40)>>2
	.byte	(LBB0_44-LBB0_40)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid arg\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TRANSMISSION_MODE_2K,8,3       ; @TRANSMISSION_MODE_2K
	.comm	_TRANSMISSION_MODE_8K,8,3       ; @TRANSMISSION_MODE_8K
l_.str.1:                               ; @.str.1
	.asciz	"transmission mode is invalid %d\n"

	.comm	_GUARD_INTERVAL_1_32,8,3        ; @GUARD_INTERVAL_1_32
	.comm	_GUARD_INTERVAL_1_16,8,3        ; @GUARD_INTERVAL_1_16
	.comm	_GUARD_INTERVAL_1_8,8,3         ; @GUARD_INTERVAL_1_8
	.comm	_GUARD_INTERVAL_1_4,8,3         ; @GUARD_INTERVAL_1_4
l_.str.2:                               ; @.str.2
	.asciz	"guard interval is invalid %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"ModeGuard err %d\n"

	.comm	_HIERARCHY_NONE,8,3             ; @HIERARCHY_NONE
	.comm	_HIERARCHY_1,8,3                ; @HIERARCHY_1
	.comm	_HIERARCHY_2,8,3                ; @HIERARCHY_2
	.comm	_HIERARCHY_4,8,3                ; @HIERARCHY_4
l_.str.4:                               ; @.str.4
	.asciz	"TPSInfo hierarchy is invalid %d\n"

	.comm	_FEC_1_2,8,3                    ; @FEC_1_2
	.comm	_FEC_2_3,8,3                    ; @FEC_2_3
	.comm	_FEC_3_4,8,3                    ; @FEC_3_4
	.comm	_FEC_5_6,8,3                    ; @FEC_5_6
	.comm	_FEC_7_8,8,3                    ; @FEC_7_8
	.comm	_FEC_NONE,8,3                   ; @FEC_NONE
l_.str.5:                               ; @.str.5
	.asciz	"TPSInfo rateHP is invalid %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"TPSInfo rateLP is invalid %d\n"

	.comm	_QPSK,8,3                       ; @QPSK
	.comm	_QAM_16,8,3                     ; @QAM_16
	.comm	_QAM_64,8,3                     ; @QAM_64
l_.str.7:                               ; @.str.7
	.asciz	"TPSInfo constellation is invalid %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"TPS info err %d\n"

	.comm	_INVERSION_OFF,8,3              ; @INVERSION_OFF
	.comm	_INVERSION_ON,8,3               ; @INVERSION_ON
l_.str.9:                               ; @.str.9
	.asciz	"spectrum sense is invalid %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"spectrum_sense %d\n"

	.comm	_FE_SCALE_DECIBEL,8,3           ; @FE_SCALE_DECIBEL
	.comm	_FE_SCALE_NOT_AVAILABLE,8,3     ; @FE_SCALE_NOT_AVAILABLE
l_.str.11:                              ; @.str.11
	.asciz	"mon_rf_lvl %d\n"

l_.str.12:                              ; @.str.12
	.asciz	"read_snr %d\n"

	.no_dead_strip	_cxd2880_get_frontend_t
.subsections_via_symbols
