	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxd2880_get_frontend_t2
_cxd2880_get_frontend_t2:               ## @cxd2880_get_frontend_t2
	.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	$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	-72(%rbp), %rsi
	movq	%r15, %rdi
	callq	_cxd2880_tnrdmd_dvbt2_mon_l1_pre
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.25:
	movq	_TRANSMISSION_MODE_2K@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	movq	_GUARD_INTERVAL_1_32@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
LBB0_26:
	callq	_pr_debug
	jmp	LBB0_27
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_66
LBB0_4:
	movl	-72(%rbp), %esi
	leal	-140(%rsi), %eax
	cmpl	$5, %eax
	ja	LBB0_13
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_TRANSMISSION_MODE_8K@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_13:
	movq	_TRANSMISSION_MODE_2K@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_pr_debug
	jmp	LBB0_14
LBB0_9:
	movq	_TRANSMISSION_MODE_4K@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_12:
	movq	_TRANSMISSION_MODE_32K@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_TRANSMISSION_MODE_2K@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_10:
	movq	_TRANSMISSION_MODE_1K@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_11:
	movq	_TRANSMISSION_MODE_16K@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
LBB0_14:
	movl	-68(%rbp), %esi
	leal	-146(%rsi), %eax
	cmpl	$6, %eax
	ja	LBB0_24
## %bb.15:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_19:
	movq	_GUARD_INTERVAL_1_8@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_24:
	movq	_GUARD_INTERVAL_1_32@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	jmp	LBB0_26
LBB0_20:
	movq	_GUARD_INTERVAL_1_4@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	movq	_GUARD_INTERVAL_1_32@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_18:
	movq	_GUARD_INTERVAL_1_16@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_21:
	movq	_GUARD_INTERVAL_1_128@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_23:
	movq	_GUARD_INTERVAL_19_256@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_22:
	movq	_GUARD_INTERVAL_19_128@GOTPCREL(%rip), %rax
LBB0_17:
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
LBB0_27:
	movl	(%r13), %edi
	callq	_mutex_lock
	movq	_CXD2880_DVBT2_PLP_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-60(%rbp), %rdx
	movq	%r15, %rdi
	callq	_cxd2880_tnrdmd_dvbt2_mon_code_rate
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_28
## %bb.38:
	movq	_FEC_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
LBB0_39:
	callq	_pr_debug
	jmp	LBB0_40
LBB0_28:
	movl	-60(%rbp), %esi
	leal	-130(%rsi), %eax
	cmpl	$5, %eax
	ja	LBB0_37
## %bb.29:
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_36:
	movq	_FEC_5_6@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_37:
	movq	_FEC_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	leaq	L_.str.4(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	jmp	LBB0_39
LBB0_35:
	movq	_FEC_4_5@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_32:
	movq	_FEC_3_5@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_34:
	movq	_FEC_3_4@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_33:
	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, 48(%r12)
LBB0_40:
	movq	_CXD2880_DVBT2_PLP_DATA@GOTPCREL(%rip), %rbx
	movl	(%r13), %edi
	callq	_mutex_lock
	movl	(%rbx), %esi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_cxd2880_tnrdmd_dvbt2_mon_qam
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_41
## %bb.49:
	movq	_QPSK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	leaq	L_.str.7(%rip), %rdi
	movl	%ebx, %esi
LBB0_50:
	callq	_pr_debug
	jmp	LBB0_51
LBB0_41:
	movl	-56(%rbp), %esi
	leal	-136(%rsi), %eax
	cmpl	$3, %eax
	ja	LBB0_48
## %bb.42:
	leaq	LJTI0_3(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_43:
	movq	_QPSK@GOTPCREL(%rip), %rax
	jmp	LBB0_44
LBB0_48:
	movq	_QPSK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	leaq	L_.str.6(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	jmp	LBB0_50
LBB0_46:
	movq	_QAM_64@GOTPCREL(%rip), %rax
	jmp	LBB0_44
LBB0_47:
	movq	_QAM_256@GOTPCREL(%rip), %rax
	jmp	LBB0_44
LBB0_45:
	movq	_QAM_16@GOTPCREL(%rip), %rax
LBB0_44:
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
LBB0_51:
	movl	(%r13), %edi
	callq	_mutex_lock
	leaq	-52(%rbp), %rsi
	movq	%r15, %rdi
	callq	_cxd2880_tnrdmd_dvbt2_mon_spectrum_sense
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_52
## %bb.57:
	movq	_INVERSION_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r12)
	leaq	L_.str.9(%rip), %rdi
	movl	%ebx, %esi
LBB0_58:
	callq	_pr_debug
	jmp	LBB0_59
LBB0_52:
	movl	-52(%rbp), %esi
	cmpl	$129, %esi
	je	LBB0_55
## %bb.53:
	movq	_INVERSION_OFF@GOTPCREL(%rip), %rax
	cmpl	$128, %esi
	je	LBB0_54
## %bb.56:
	movq	(%rax), %rax
	movq	%rax, 32(%r12)
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_58
LBB0_55:
	movq	_INVERSION_ON@GOTPCREL(%rip), %rax
LBB0_54:
	movq	(%rax), %rax
	movq	%rax, 32(%r12)
LBB0_59:
	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_60
## %bb.61:
	movq	_FE_SCALE_NOT_AVAILABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%r12), %rcx
	movq	%rax, 8(%rcx)
	leaq	L_.str.10(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_debug
	jmp	LBB0_62
LBB0_60:
	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_62:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_cxd2880_read_snr
	movl	$1, (%r12)
	testl	%eax, %eax
	je	LBB0_63
## %bb.64:
	movq	_FE_SCALE_NOT_AVAILABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%r12), %rdx
	movq	%rcx, (%rdx)
	leaq	L_.str.11(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_debug
	jmp	LBB0_65
LBB0_63:
	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_65:
	xorl	%eax, %eax
LBB0_66:
	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_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_11
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
LJTI0_1:
	.long	L0_1_set_19
	.long	L0_1_set_20
	.long	L0_1_set_16
	.long	L0_1_set_18
	.long	L0_1_set_21
	.long	L0_1_set_23
	.long	L0_1_set_22
.set L0_2_set_36, LBB0_36-LJTI0_2
.set L0_2_set_35, LBB0_35-LJTI0_2
.set L0_2_set_32, LBB0_32-LJTI0_2
.set L0_2_set_34, LBB0_34-LJTI0_2
.set L0_2_set_33, LBB0_33-LJTI0_2
.set L0_2_set_30, LBB0_30-LJTI0_2
LJTI0_2:
	.long	L0_2_set_36
	.long	L0_2_set_35
	.long	L0_2_set_32
	.long	L0_2_set_34
	.long	L0_2_set_33
	.long	L0_2_set_30
.set L0_3_set_43, LBB0_43-LJTI0_3
.set L0_3_set_46, LBB0_46-LJTI0_3
.set L0_3_set_47, LBB0_47-LJTI0_3
.set L0_3_set_45, LBB0_45-LJTI0_3
LJTI0_3:
	.long	L0_3_set_43
	.long	L0_3_set_46
	.long	L0_3_set_47
	.long	L0_3_set_45
	.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
	.comm	_TRANSMISSION_MODE_4K,8,3       ## @TRANSMISSION_MODE_4K
	.comm	_TRANSMISSION_MODE_1K,8,3       ## @TRANSMISSION_MODE_1K
	.comm	_TRANSMISSION_MODE_16K,8,3      ## @TRANSMISSION_MODE_16K
	.comm	_TRANSMISSION_MODE_32K,8,3      ## @TRANSMISSION_MODE_32K
L_.str.1:                               ## @.str.1
	.asciz	"L1Pre fft_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
	.comm	_GUARD_INTERVAL_1_128,8,3       ## @GUARD_INTERVAL_1_128
	.comm	_GUARD_INTERVAL_19_128,8,3      ## @GUARD_INTERVAL_19_128
	.comm	_GUARD_INTERVAL_19_256,8,3      ## @GUARD_INTERVAL_19_256
L_.str.2:                               ## @.str.2
	.asciz	"L1Pre guard interval is invalid %d\n"

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

	.comm	_CXD2880_DVBT2_PLP_DATA,4,2     ## @CXD2880_DVBT2_PLP_DATA
	.comm	_FEC_1_2,8,3                    ## @FEC_1_2
	.comm	_FEC_3_5,8,3                    ## @FEC_3_5
	.comm	_FEC_2_3,8,3                    ## @FEC_2_3
	.comm	_FEC_3_4,8,3                    ## @FEC_3_4
	.comm	_FEC_4_5,8,3                    ## @FEC_4_5
	.comm	_FEC_5_6,8,3                    ## @FEC_5_6
	.comm	_FEC_NONE,8,3                   ## @FEC_NONE
L_.str.4:                               ## @.str.4
	.asciz	"CodeRate is invalid %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"CodeRate %d\n"

	.comm	_QPSK,8,3                       ## @QPSK
	.comm	_QAM_16,8,3                     ## @QAM_16
	.comm	_QAM_64,8,3                     ## @QAM_64
	.comm	_QAM_256,8,3                    ## @QAM_256
L_.str.6:                               ## @.str.6
	.asciz	"QAM is invalid %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"QAM %d\n"

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

L_.str.9:                               ## @.str.9
	.asciz	"SpectrumSense %d\n"

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

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

	.no_dead_strip	_cxd2880_get_frontend_t2
.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_t2
_cxd2880_get_frontend_t2:               ; @cxd2880_get_frontend_t2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	stp	wzr, wzr, [sp, #4]
	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, #24
	mov	x0, x21
	bl	_cxd2880_tnrdmd_dvbt2_mon_l1_pre
	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, #56]
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_27
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_65
LBB0_6:
	ldr	w1, [sp, #24]
	sub	w8, w1, #140
	cmp	w8, #5
	b.hi	LBB0_9
; %bb.7:
Lloh13:
	adrp	x9, lJTI0_0@PAGE
Lloh14:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
Lloh15:
	adrp	x8, _TRANSMISSION_MODE_8K@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRANSMISSION_MODE_8K@GOTPAGEOFF]
	b	LBB0_15
LBB0_9:
Lloh17:
	adrp	x8, _TRANSMISSION_MODE_2K@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRANSMISSION_MODE_2K@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x19, #64]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	b	LBB0_16
LBB0_10:
Lloh22:
	adrp	x8, _TRANSMISSION_MODE_4K@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TRANSMISSION_MODE_4K@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh24:
	adrp	x8, _TRANSMISSION_MODE_32K@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRANSMISSION_MODE_32K@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
Lloh26:
	adrp	x8, _TRANSMISSION_MODE_2K@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TRANSMISSION_MODE_2K@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
Lloh28:
	adrp	x8, _TRANSMISSION_MODE_1K@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TRANSMISSION_MODE_1K@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh30:
	adrp	x8, _TRANSMISSION_MODE_16K@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TRANSMISSION_MODE_16K@GOTPAGEOFF]
LBB0_15:
	ldr	x8, [x8]
	str	x8, [x19, #64]
LBB0_16:
	ldr	w1, [sp, #28]
	sub	w8, w1, #146
	cmp	w8, #6
	b.hi	LBB0_19
; %bb.17:
Lloh32:
	adrp	x9, lJTI0_1@PAGE
Lloh33:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_18
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_18:
Lloh34:
	adrp	x8, _GUARD_INTERVAL_1_8@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GUARD_INTERVAL_1_8@GOTPAGEOFF]
	b	LBB0_26
LBB0_19:
Lloh36:
	adrp	x8, _GUARD_INTERVAL_1_32@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GUARD_INTERVAL_1_32@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	str	x8, [x19, #56]
Lloh39:
	adrp	x0, l_.str.2@PAGE
Lloh40:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_20:
Lloh41:
	adrp	x8, _GUARD_INTERVAL_1_4@GOTPAGE
Lloh42:
	ldr	x8, [x8, _GUARD_INTERVAL_1_4@GOTPAGEOFF]
	b	LBB0_26
LBB0_21:
Lloh43:
	adrp	x8, _GUARD_INTERVAL_1_32@GOTPAGE
Lloh44:
	ldr	x8, [x8, _GUARD_INTERVAL_1_32@GOTPAGEOFF]
	b	LBB0_26
LBB0_22:
Lloh45:
	adrp	x8, _GUARD_INTERVAL_1_16@GOTPAGE
Lloh46:
	ldr	x8, [x8, _GUARD_INTERVAL_1_16@GOTPAGEOFF]
	b	LBB0_26
LBB0_23:
Lloh47:
	adrp	x8, _GUARD_INTERVAL_1_128@GOTPAGE
Lloh48:
	ldr	x8, [x8, _GUARD_INTERVAL_1_128@GOTPAGEOFF]
	b	LBB0_26
LBB0_24:
Lloh49:
	adrp	x8, _GUARD_INTERVAL_19_256@GOTPAGE
Lloh50:
	ldr	x8, [x8, _GUARD_INTERVAL_19_256@GOTPAGEOFF]
	b	LBB0_26
LBB0_25:
Lloh51:
	adrp	x8, _GUARD_INTERVAL_19_128@GOTPAGE
Lloh52:
	ldr	x8, [x8, _GUARD_INTERVAL_19_128@GOTPAGEOFF]
LBB0_26:
	ldr	x8, [x8]
	str	x8, [x19, #56]
LBB0_27:
	ldr	w0, [x23]
	bl	_mutex_lock
Lloh53:
	adrp	x24, _CXD2880_DVBT2_PLP_DATA@GOTPAGE
Lloh54:
	ldr	x24, [x24, _CXD2880_DVBT2_PLP_DATA@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x2, sp, #20
	mov	x0, x21
	bl	_cxd2880_tnrdmd_dvbt2_mon_code_rate
	mov	x22, x0
	ldr	w0, [x23]
	bl	_mutex_unlock
	cbz	w22, LBB0_30
; %bb.28:
Lloh55:
	adrp	x8, _FEC_NONE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _FEC_NONE@GOTPAGEOFF]
Lloh57:
	ldr	x8, [x8]
	str	x8, [x19, #48]
Lloh58:
	adrp	x0, l_.str.5@PAGE
Lloh59:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x22
LBB0_29:
	bl	_pr_debug
	b	LBB0_40
LBB0_30:
	ldr	w1, [sp, #20]
	sub	w8, w1, #130
	cmp	w8, #5
	b.hi	LBB0_33
; %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_5_6@GOTPAGE
Lloh63:
	ldr	x8, [x8, _FEC_5_6@GOTPAGEOFF]
	b	LBB0_39
LBB0_33:
Lloh64:
	adrp	x8, _FEC_NONE@GOTPAGE
Lloh65:
	ldr	x8, [x8, _FEC_NONE@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	str	x8, [x19, #48]
Lloh67:
	adrp	x0, l_.str.4@PAGE
Lloh68:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_29
LBB0_34:
Lloh69:
	adrp	x8, _FEC_4_5@GOTPAGE
Lloh70:
	ldr	x8, [x8, _FEC_4_5@GOTPAGEOFF]
	b	LBB0_39
LBB0_35:
Lloh71:
	adrp	x8, _FEC_3_5@GOTPAGE
Lloh72:
	ldr	x8, [x8, _FEC_3_5@GOTPAGEOFF]
	b	LBB0_39
LBB0_36:
Lloh73:
	adrp	x8, _FEC_3_4@GOTPAGE
Lloh74:
	ldr	x8, [x8, _FEC_3_4@GOTPAGEOFF]
	b	LBB0_39
LBB0_37:
Lloh75:
	adrp	x8, _FEC_2_3@GOTPAGE
Lloh76:
	ldr	x8, [x8, _FEC_2_3@GOTPAGEOFF]
	b	LBB0_39
LBB0_38:
Lloh77:
	adrp	x8, _FEC_1_2@GOTPAGE
Lloh78:
	ldr	x8, [x8, _FEC_1_2@GOTPAGEOFF]
LBB0_39:
	ldr	x8, [x8]
	str	x8, [x19, #48]
LBB0_40:
	ldr	w0, [x23]
	bl	_mutex_lock
	ldr	w1, [x24]
	add	x2, sp, #16
	mov	x0, x21
	bl	_cxd2880_tnrdmd_dvbt2_mon_qam
	mov	x22, x0
	ldr	w0, [x23]
	bl	_mutex_unlock
	cbz	w22, LBB0_43
; %bb.41:
Lloh79:
	adrp	x8, _QPSK@GOTPAGE
Lloh80:
	ldr	x8, [x8, _QPSK@GOTPAGEOFF]
Lloh81:
	ldr	x8, [x8]
	str	x8, [x19, #40]
Lloh82:
	adrp	x0, l_.str.7@PAGE
Lloh83:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x22
LBB0_42:
	bl	_pr_debug
	b	LBB0_51
LBB0_43:
	ldr	w1, [sp, #16]
	sub	w8, w1, #136
	cmp	w8, #3
	b.hi	LBB0_46
; %bb.44:
Lloh84:
	adrp	x9, lJTI0_3@PAGE
Lloh85:
	add	x9, x9, lJTI0_3@PAGEOFF
	adr	x10, LBB0_45
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_45:
Lloh86:
	adrp	x8, _QPSK@GOTPAGE
Lloh87:
	ldr	x8, [x8, _QPSK@GOTPAGEOFF]
	b	LBB0_50
LBB0_46:
Lloh88:
	adrp	x8, _QPSK@GOTPAGE
Lloh89:
	ldr	x8, [x8, _QPSK@GOTPAGEOFF]
Lloh90:
	ldr	x8, [x8]
	str	x8, [x19, #40]
Lloh91:
	adrp	x0, l_.str.6@PAGE
Lloh92:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_42
LBB0_47:
Lloh93:
	adrp	x8, _QAM_64@GOTPAGE
Lloh94:
	ldr	x8, [x8, _QAM_64@GOTPAGEOFF]
	b	LBB0_50
LBB0_48:
Lloh95:
	adrp	x8, _QAM_256@GOTPAGE
Lloh96:
	ldr	x8, [x8, _QAM_256@GOTPAGEOFF]
	b	LBB0_50
LBB0_49:
Lloh97:
	adrp	x8, _QAM_16@GOTPAGE
Lloh98:
	ldr	x8, [x8, _QAM_16@GOTPAGEOFF]
LBB0_50:
	ldr	x8, [x8]
	str	x8, [x19, #40]
LBB0_51:
	ldr	w0, [x23]
	bl	_mutex_lock
	add	x1, sp, #12
	mov	x0, x21
	bl	_cxd2880_tnrdmd_dvbt2_mon_spectrum_sense
	mov	x22, x0
	ldr	w0, [x23]
	bl	_mutex_unlock
	cbz	w22, LBB0_54
; %bb.52:
Lloh99:
	adrp	x8, _INVERSION_OFF@GOTPAGE
Lloh100:
	ldr	x8, [x8, _INVERSION_OFF@GOTPAGEOFF]
Lloh101:
	ldr	x8, [x8]
	str	x8, [x19, #32]
Lloh102:
	adrp	x0, l_.str.9@PAGE
Lloh103:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x22
LBB0_53:
	bl	_pr_debug
	b	LBB0_59
LBB0_54:
	ldr	w1, [sp, #12]
	cmp	w1, #129
	b.eq	LBB0_57
; %bb.55:
Lloh104:
	adrp	x8, _INVERSION_OFF@GOTPAGE
Lloh105:
	ldr	x8, [x8, _INVERSION_OFF@GOTPAGEOFF]
	cmp	w1, #128
	b.eq	LBB0_58
; %bb.56:
	ldr	x8, [x8]
	str	x8, [x19, #32]
Lloh106:
	adrp	x0, l_.str.8@PAGE
Lloh107:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_53
LBB0_57:
Lloh108:
	adrp	x8, _INVERSION_ON@GOTPAGE
Lloh109:
	ldr	x8, [x8, _INVERSION_ON@GOTPAGEOFF]
LBB0_58:
	ldr	x8, [x8]
	str	x8, [x19, #32]
LBB0_59:
	ldr	w0, [x23]
	bl	_mutex_lock
	add	x1, sp, #4
	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]
Lloh110:
	adrp	x22, _FE_SCALE_NOT_AVAILABLE@GOTPAGE
Lloh111:
	ldr	x22, [x22, _FE_SCALE_NOT_AVAILABLE@GOTPAGEOFF]
	cbz	w21, LBB0_61
; %bb.60:
	ldr	x8, [x22]
	ldr	x9, [x19, #24]
	str	x8, [x9, #8]
Lloh112:
	adrp	x0, l_.str.10@PAGE
Lloh113:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x21
	bl	_pr_debug
	b	LBB0_62
LBB0_61:
Lloh114:
	adrp	x8, _FE_SCALE_DECIBEL@GOTPAGE
Lloh115:
	ldr	x8, [x8, _FE_SCALE_DECIBEL@GOTPAGEOFF]
Lloh116:
	ldr	x8, [x8]
	ldr	x9, [x19, #24]
	str	x8, [x9, #8]
	ldr	w8, [sp, #4]
	str	w8, [x9]
LBB0_62:
	add	x1, sp, #8
	mov	x0, x20
	bl	_cxd2880_read_snr
	mov	w8, #1
	str	w8, [x19]
	cbz	w0, LBB0_64
; %bb.63:
	mov	x1, x0
	ldr	x8, [x22]
	ldr	x9, [x19, #8]
	str	x8, [x9]
Lloh117:
	adrp	x0, l_.str.11@PAGE
Lloh118:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_pr_debug
	mov	w0, #0
	b	LBB0_65
LBB0_64:
Lloh119:
	adrp	x8, _FE_SCALE_DECIBEL@GOTPAGE
Lloh120:
	ldr	x8, [x8, _FE_SCALE_DECIBEL@GOTPAGEOFF]
Lloh121:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	str	x8, [x9]
	ldr	w8, [sp, #8]
	str	w8, [x9, #8]
LBB0_65:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh110, Lloh111
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpAdd	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
lJTI0_1:
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_20-LBB0_18)>>2
	.byte	(LBB0_21-LBB0_18)>>2
	.byte	(LBB0_22-LBB0_18)>>2
	.byte	(LBB0_23-LBB0_18)>>2
	.byte	(LBB0_24-LBB0_18)>>2
	.byte	(LBB0_25-LBB0_18)>>2
lJTI0_2:
	.byte	(LBB0_32-LBB0_32)>>2
	.byte	(LBB0_34-LBB0_32)>>2
	.byte	(LBB0_35-LBB0_32)>>2
	.byte	(LBB0_36-LBB0_32)>>2
	.byte	(LBB0_37-LBB0_32)>>2
	.byte	(LBB0_38-LBB0_32)>>2
lJTI0_3:
	.byte	(LBB0_45-LBB0_45)>>2
	.byte	(LBB0_47-LBB0_45)>>2
	.byte	(LBB0_48-LBB0_45)>>2
	.byte	(LBB0_49-LBB0_45)>>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
	.comm	_TRANSMISSION_MODE_4K,8,3       ; @TRANSMISSION_MODE_4K
	.comm	_TRANSMISSION_MODE_1K,8,3       ; @TRANSMISSION_MODE_1K
	.comm	_TRANSMISSION_MODE_16K,8,3      ; @TRANSMISSION_MODE_16K
	.comm	_TRANSMISSION_MODE_32K,8,3      ; @TRANSMISSION_MODE_32K
l_.str.1:                               ; @.str.1
	.asciz	"L1Pre fft_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
	.comm	_GUARD_INTERVAL_1_128,8,3       ; @GUARD_INTERVAL_1_128
	.comm	_GUARD_INTERVAL_19_128,8,3      ; @GUARD_INTERVAL_19_128
	.comm	_GUARD_INTERVAL_19_256,8,3      ; @GUARD_INTERVAL_19_256
l_.str.2:                               ; @.str.2
	.asciz	"L1Pre guard interval is invalid %d\n"

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

	.comm	_CXD2880_DVBT2_PLP_DATA,4,2     ; @CXD2880_DVBT2_PLP_DATA
	.comm	_FEC_1_2,8,3                    ; @FEC_1_2
	.comm	_FEC_3_5,8,3                    ; @FEC_3_5
	.comm	_FEC_2_3,8,3                    ; @FEC_2_3
	.comm	_FEC_3_4,8,3                    ; @FEC_3_4
	.comm	_FEC_4_5,8,3                    ; @FEC_4_5
	.comm	_FEC_5_6,8,3                    ; @FEC_5_6
	.comm	_FEC_NONE,8,3                   ; @FEC_NONE
l_.str.4:                               ; @.str.4
	.asciz	"CodeRate is invalid %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"CodeRate %d\n"

	.comm	_QPSK,8,3                       ; @QPSK
	.comm	_QAM_16,8,3                     ; @QAM_16
	.comm	_QAM_64,8,3                     ; @QAM_64
	.comm	_QAM_256,8,3                    ; @QAM_256
l_.str.6:                               ; @.str.6
	.asciz	"QAM is invalid %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"QAM %d\n"

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

l_.str.9:                               ; @.str.9
	.asciz	"SpectrumSense %d\n"

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

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

	.no_dead_strip	_cxd2880_get_frontend_t2
.subsections_via_symbols
