	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m88ds3103_get_frontend
_m88ds3103_get_frontend:                ## @m88ds3103_get_frontend
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	(%rdi), %r12
	movq	16(%r12), %r15
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	cmpl	$0, 12(%r12)
	je	LBB0_60
## %bb.1:
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_60
## %bb.2:
	movl	(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_19
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_59
## %bb.4:
	movl	8(%r12), %edi
	leaq	-52(%rbp), %rdx
	movl	$224, %esi
	movl	$1, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_60
## %bb.5:
	movl	8(%r12), %edi
	leaq	-48(%rbp), %rdx
	movl	$230, %esi
	movl	$1, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_60
## %bb.6:
	testb	$4, -52(%rbp)
	jne	LBB0_7
## %bb.8:
	movq	_INVERSION_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_19:
	movl	8(%r12), %edi
	leaq	-52(%rbp), %rdx
	movl	$126, %esi
	movl	$1, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_60
## %bb.20:
	movl	8(%r12), %edi
	leaq	-48(%rbp), %rdx
	movl	$137, %esi
	movl	$1, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_60
## %bb.21:
	movl	8(%r12), %edi
	leaq	-44(%rbp), %rdx
	movl	$242, %esi
	movl	$1, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_60
## %bb.22:
	movl	-52(%rbp), %eax
	movl	%eax, %ecx
	andl	$15, %ecx
	addl	$-2, %ecx
	cmpl	$8, %ecx
	ja	LBB0_34
## %bb.23:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_24:
	movq	_FEC_2_5@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_59:
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_60:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_61:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_63
## %bb.62:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_INVERSION_ON@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movl	-48(%rbp), %eax
	shrl	$5, %eax
	andl	$7, %eax
	cmpl	$4, %eax
	ja	LBB0_17
## %bb.10:
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	_FEC_7_8@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_13:
	movq	_FEC_5_6@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_14:
	movq	_FEC_3_4@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_15:
	movq	_FEC_2_3@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_16:
	movq	_FEC_1_2@GOTPCREL(%rip), %rax
LBB0_12:
	movq	(%rax), %rax
	movq	%rax, 40(%r14)
LBB0_18:
	movq	_QPSK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	jmp	LBB0_57
LBB0_17:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_18
LBB0_26:
	movq	_FEC_1_2@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_27:
	movq	_FEC_3_5@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_28:
	movq	_FEC_2_3@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_29:
	movq	_FEC_3_4@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_30:
	movq	_FEC_4_5@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_31:
	movq	_FEC_5_6@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_32:
	movq	_FEC_8_9@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_33:
	movq	_FEC_9_10@GOTPCREL(%rip), %rcx
LBB0_25:
	movq	(%rcx), %rcx
	movq	%rcx, 40(%r14)
	testb	$32, %al
	jne	LBB0_36
LBB0_37:
	movq	_PILOT_OFF@GOTPCREL(%rip), %rcx
	jmp	LBB0_38
LBB0_34:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	-52(%rbp), %eax
	testb	$32, %al
	je	LBB0_37
LBB0_36:
	movq	_PILOT_ON@GOTPCREL(%rip), %rcx
LBB0_38:
	movl	(%rcx), %ecx
	movl	%ecx, 32(%r14)
	shrl	$6, %eax
	andl	$7, %eax
	cmpl	$3, %eax
	ja	LBB0_45
## %bb.39:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_40:
	movq	_QPSK@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_42:
	movq	_PSK_8@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_43:
	movq	_APSK_16@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_44:
	movq	_APSK_32@GOTPCREL(%rip), %rax
LBB0_41:
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	testb	$-128, -48(%rbp)
	jne	LBB0_47
LBB0_48:
	movq	_INVERSION_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_49
LBB0_45:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	testb	$-128, -48(%rbp)
	je	LBB0_48
LBB0_47:
	movq	_INVERSION_ON@GOTPCREL(%rip), %rax
LBB0_49:
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movl	-44(%rbp), %eax
	andl	$3, %eax
	cmpl	$2, %eax
	je	LBB0_55
## %bb.50:
	cmpl	$1, %eax
	je	LBB0_54
## %bb.51:
	testl	%eax, %eax
	jne	LBB0_56
## %bb.52:
	movq	_ROLLOFF_35@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_55:
	movq	_ROLLOFF_20@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_54:
	movq	_ROLLOFF_25@GOTPCREL(%rip), %rax
LBB0_53:
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	jmp	LBB0_57
LBB0_56:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_57:
	movl	8(%r12), %edi
	leaq	-52(%rbp), %rdx
	movl	$109, %esi
	movl	$2, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_60
## %bb.58:
	movl	-48(%rbp), %edi
	shll	$8, %edi
	orl	-52(%rbp), %edi
	imull	4(%r12), %edi
	movl	$65536, %esi                    ## imm = 0x10000
	callq	_DIV_ROUND_CLOSEST_ULL
	movl	%eax, 4(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_61
LBB0_63:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
LJTI0_0:
	.long	L0_0_set_24
	.long	L0_0_set_26
	.long	L0_0_set_27
	.long	L0_0_set_28
	.long	L0_0_set_29
	.long	L0_0_set_30
	.long	L0_0_set_31
	.long	L0_0_set_32
	.long	L0_0_set_33
.set L0_1_set_40, LBB0_40-LJTI0_1
.set L0_1_set_42, LBB0_42-LJTI0_1
.set L0_1_set_43, LBB0_43-LJTI0_1
.set L0_1_set_44, LBB0_44-LJTI0_1
LJTI0_1:
	.long	L0_1_set_40
	.long	L0_1_set_42
	.long	L0_1_set_43
	.long	L0_1_set_44
.set L0_2_set_11, LBB0_11-LJTI0_2
.set L0_2_set_13, LBB0_13-LJTI0_2
.set L0_2_set_14, LBB0_14-LJTI0_2
.set L0_2_set_15, LBB0_15-LJTI0_2
.set L0_2_set_16, LBB0_16-LJTI0_2
LJTI0_2:
	.long	L0_2_set_11
	.long	L0_2_set_13
	.long	L0_2_set_14
	.long	L0_2_set_15
	.long	L0_2_set_16
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
	.comm	_INVERSION_OFF,8,3              ## @INVERSION_OFF
	.comm	_INVERSION_ON,8,3               ## @INVERSION_ON
	.comm	_FEC_7_8,8,3                    ## @FEC_7_8
	.comm	_FEC_5_6,8,3                    ## @FEC_5_6
	.comm	_FEC_3_4,8,3                    ## @FEC_3_4
	.comm	_FEC_2_3,8,3                    ## @FEC_2_3
	.comm	_FEC_1_2,8,3                    ## @FEC_1_2
L_.str.1:                               ## @.str.1
	.asciz	"invalid fec_inner\n"

	.comm	_QPSK,8,3                       ## @QPSK
	.comm	_FEC_2_5,8,3                    ## @FEC_2_5
	.comm	_FEC_3_5,8,3                    ## @FEC_3_5
	.comm	_FEC_4_5,8,3                    ## @FEC_4_5
	.comm	_FEC_8_9,8,3                    ## @FEC_8_9
	.comm	_FEC_9_10,8,3                   ## @FEC_9_10
	.comm	_PILOT_OFF,4,2                  ## @PILOT_OFF
	.comm	_PILOT_ON,4,2                   ## @PILOT_ON
	.comm	_PSK_8,8,3                      ## @PSK_8
	.comm	_APSK_16,8,3                    ## @APSK_16
	.comm	_APSK_32,8,3                    ## @APSK_32
L_.str.2:                               ## @.str.2
	.asciz	"invalid modulation\n"

	.comm	_ROLLOFF_35,4,2                 ## @ROLLOFF_35
	.comm	_ROLLOFF_25,4,2                 ## @ROLLOFF_25
	.comm	_ROLLOFF_20,4,2                 ## @ROLLOFF_20
L_.str.3:                               ## @.str.3
	.asciz	"invalid rolloff\n"

L_.str.4:                               ## @.str.4
	.asciz	"invalid delivery_system\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.5:                               ## @.str.5
	.asciz	"failed=%d\n"

	.no_dead_strip	_m88ds3103_get_frontend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m88ds3103_get_frontend
_m88ds3103_get_frontend:                ; @m88ds3103_get_frontend
	.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
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x22, [x0]
	ldr	x19, [x22, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w8, [x22, #12]
	cbz	w8, LBB0_9
; %bb.1:
	ldr	w8, [x22]
Lloh5:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_13
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_19
; %bb.4:
	ldr	w0, [x22, #8]
	add	x23, sp, #12
	add	x2, sp, #12
	mov	w1, #224
	mov	w3, #1
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.5:
	ldr	w0, [x22, #8]
	add	x2, x23, #4
	mov	w1, #230
	mov	w3, #1
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.6:
Lloh8:
	adrp	x8, _INVERSION_OFF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INVERSION_OFF@GOTPAGEOFF]
Lloh10:
	adrp	x9, _INVERSION_ON@GOTPAGE
Lloh11:
	ldr	x9, [x9, _INVERSION_ON@GOTPAGEOFF]
	ldp	w10, w11, [sp, #12]
	tst	w10, #0x4
	csel	x8, x8, x9, eq
	ldr	x8, [x8]
	str	x8, [x20, #16]
	ubfx	w8, w11, #5, #3
	cmp	w8, #4
	b.hi	LBB0_26
; %bb.7:
Lloh12:
	adrp	x9, lJTI0_2@PAGE
Lloh13:
	add	x9, x9, lJTI0_2@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
Lloh14:
	adrp	x8, _FEC_7_8@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FEC_7_8@GOTPAGEOFF]
	b	LBB0_24
LBB0_9:
	mov	w21, #0
LBB0_10:
	str	x21, [sp]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_11:
	ldr	x8, [sp, #24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_55
; %bb.12:
	mov	x0, x21
	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
LBB0_13:
	ldr	w0, [x22, #8]
	add	x23, sp, #12
	add	x2, sp, #12
	mov	w1, #126
	mov	w3, #1
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.14:
	ldr	w0, [x22, #8]
	add	x2, x23, #4
	mov	w1, #137
	mov	w3, #1
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.15:
	ldr	w0, [x22, #8]
	add	x8, sp, #12
	add	x2, x8, #8
	mov	w1, #242
	mov	w3, #1
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.16:
	ldr	w8, [sp, #12]
	and	w9, w8, #0xf
	sub	w9, w9, #2
	cmp	w9, #8
	b.hi	LBB0_54
; %bb.17:
Lloh21:
	adrp	x10, lJTI0_0@PAGE
Lloh22:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_18
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_18:
Lloh23:
	adrp	x9, _FEC_2_5@GOTPAGE
Lloh24:
	ldr	x9, [x9, _FEC_2_5@GOTPAGEOFF]
	b	LBB0_35
LBB0_19:
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh27:
	adrp	x8, _EINVAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_10
LBB0_20:
Lloh30:
	adrp	x8, _FEC_5_6@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FEC_5_6@GOTPAGEOFF]
	b	LBB0_24
LBB0_21:
Lloh32:
	adrp	x8, _FEC_3_4@GOTPAGE
Lloh33:
	ldr	x8, [x8, _FEC_3_4@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:
Lloh34:
	adrp	x8, _FEC_2_3@GOTPAGE
Lloh35:
	ldr	x8, [x8, _FEC_2_3@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:
Lloh36:
	adrp	x8, _FEC_1_2@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FEC_1_2@GOTPAGEOFF]
LBB0_24:
	ldr	x8, [x8]
	str	x8, [x20, #40]
LBB0_25:
Lloh38:
	adrp	x8, _QPSK@GOTPAGE
Lloh39:
	ldr	x8, [x8, _QPSK@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	str	x8, [x20, #24]
	b	LBB0_51
LBB0_26:
Lloh41:
	adrp	x1, l_.str.1@PAGE
Lloh42:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_25
LBB0_27:
Lloh43:
	adrp	x9, _FEC_1_2@GOTPAGE
Lloh44:
	ldr	x9, [x9, _FEC_1_2@GOTPAGEOFF]
	b	LBB0_35
LBB0_28:
Lloh45:
	adrp	x9, _FEC_3_5@GOTPAGE
Lloh46:
	ldr	x9, [x9, _FEC_3_5@GOTPAGEOFF]
	b	LBB0_35
LBB0_29:
Lloh47:
	adrp	x9, _FEC_2_3@GOTPAGE
Lloh48:
	ldr	x9, [x9, _FEC_2_3@GOTPAGEOFF]
	b	LBB0_35
LBB0_30:
Lloh49:
	adrp	x9, _FEC_3_4@GOTPAGE
Lloh50:
	ldr	x9, [x9, _FEC_3_4@GOTPAGEOFF]
	b	LBB0_35
LBB0_31:
Lloh51:
	adrp	x9, _FEC_4_5@GOTPAGE
Lloh52:
	ldr	x9, [x9, _FEC_4_5@GOTPAGEOFF]
	b	LBB0_35
LBB0_32:
Lloh53:
	adrp	x9, _FEC_5_6@GOTPAGE
Lloh54:
	ldr	x9, [x9, _FEC_5_6@GOTPAGEOFF]
	b	LBB0_35
LBB0_33:
Lloh55:
	adrp	x9, _FEC_8_9@GOTPAGE
Lloh56:
	ldr	x9, [x9, _FEC_8_9@GOTPAGEOFF]
	b	LBB0_35
LBB0_34:
Lloh57:
	adrp	x9, _FEC_9_10@GOTPAGE
Lloh58:
	ldr	x9, [x9, _FEC_9_10@GOTPAGEOFF]
LBB0_35:
	ldr	x9, [x9]
	str	x9, [x20, #40]
LBB0_36:
Lloh59:
	adrp	x9, _PILOT_OFF@GOTPAGE
Lloh60:
	ldr	x9, [x9, _PILOT_OFF@GOTPAGEOFF]
Lloh61:
	adrp	x10, _PILOT_ON@GOTPAGE
Lloh62:
	ldr	x10, [x10, _PILOT_ON@GOTPAGEOFF]
	tst	w8, #0x20
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	str	w9, [x20, #32]
	ubfx	w8, w8, #6, #3
	cmp	w8, #3
	b.hi	LBB0_53
; %bb.37:
Lloh63:
	adrp	x9, lJTI0_1@PAGE
Lloh64:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_38
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_38:
Lloh65:
	adrp	x8, _QPSK@GOTPAGE
Lloh66:
	ldr	x8, [x8, _QPSK@GOTPAGEOFF]
	b	LBB0_42
LBB0_39:
Lloh67:
	adrp	x8, _PSK_8@GOTPAGE
Lloh68:
	ldr	x8, [x8, _PSK_8@GOTPAGEOFF]
	b	LBB0_42
LBB0_40:
Lloh69:
	adrp	x8, _APSK_16@GOTPAGE
Lloh70:
	ldr	x8, [x8, _APSK_16@GOTPAGEOFF]
	b	LBB0_42
LBB0_41:
Lloh71:
	adrp	x8, _APSK_32@GOTPAGE
Lloh72:
	ldr	x8, [x8, _APSK_32@GOTPAGEOFF]
LBB0_42:
	ldr	x8, [x8]
	str	x8, [x20, #24]
LBB0_43:
Lloh73:
	adrp	x8, _INVERSION_OFF@GOTPAGE
Lloh74:
	ldr	x8, [x8, _INVERSION_OFF@GOTPAGEOFF]
Lloh75:
	adrp	x9, _INVERSION_ON@GOTPAGE
Lloh76:
	ldr	x9, [x9, _INVERSION_ON@GOTPAGEOFF]
	ldp	w10, w11, [sp, #16]
	tst	w10, #0x80
	csel	x8, x8, x9, eq
	ldr	x8, [x8]
	str	x8, [x20, #16]
	and	w8, w11, #0x3
	cmp	w8, #2
	b.eq	LBB0_47
; %bb.44:
	cmp	w8, #1
	b.eq	LBB0_48
; %bb.45:
	cbnz	w8, LBB0_50
; %bb.46:
Lloh77:
	adrp	x8, _ROLLOFF_35@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ROLLOFF_35@GOTPAGEOFF]
	b	LBB0_49
LBB0_47:
Lloh79:
	adrp	x8, _ROLLOFF_20@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ROLLOFF_20@GOTPAGEOFF]
	b	LBB0_49
LBB0_48:
Lloh81:
	adrp	x8, _ROLLOFF_25@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ROLLOFF_25@GOTPAGEOFF]
LBB0_49:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	b	LBB0_51
LBB0_50:
Lloh83:
	adrp	x1, l_.str.3@PAGE
Lloh84:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_51:
	ldr	w0, [x22, #8]
	add	x2, sp, #12
	mov	w1, #109
	mov	w3, #2
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.52:
	ldp	w9, w8, [sp, #12]
	orr	w8, w9, w8, lsl #8
	ldr	w9, [x22, #4]
	mul	w0, w8, w9
	mov	w1, #65536
	bl	_DIV_ROUND_CLOSEST_ULL
	str	w0, [x20, #4]
	b	LBB0_11
LBB0_53:
Lloh85:
	adrp	x1, l_.str.2@PAGE
Lloh86:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_43
LBB0_54:
Lloh87:
	adrp	x1, l_.str.1@PAGE
Lloh88:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w8, [sp, #12]
	b	LBB0_36
LBB0_55:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	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 AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_27-LBB0_18)>>2
	.byte	(LBB0_28-LBB0_18)>>2
	.byte	(LBB0_29-LBB0_18)>>2
	.byte	(LBB0_30-LBB0_18)>>2
	.byte	(LBB0_31-LBB0_18)>>2
	.byte	(LBB0_32-LBB0_18)>>2
	.byte	(LBB0_33-LBB0_18)>>2
	.byte	(LBB0_34-LBB0_18)>>2
lJTI0_1:
	.byte	(LBB0_38-LBB0_38)>>2
	.byte	(LBB0_39-LBB0_38)>>2
	.byte	(LBB0_40-LBB0_38)>>2
	.byte	(LBB0_41-LBB0_38)>>2
lJTI0_2:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_20-LBB0_8)>>2
	.byte	(LBB0_21-LBB0_8)>>2
	.byte	(LBB0_22-LBB0_8)>>2
	.byte	(LBB0_23-LBB0_8)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
	.comm	_INVERSION_OFF,8,3              ; @INVERSION_OFF
	.comm	_INVERSION_ON,8,3               ; @INVERSION_ON
	.comm	_FEC_7_8,8,3                    ; @FEC_7_8
	.comm	_FEC_5_6,8,3                    ; @FEC_5_6
	.comm	_FEC_3_4,8,3                    ; @FEC_3_4
	.comm	_FEC_2_3,8,3                    ; @FEC_2_3
	.comm	_FEC_1_2,8,3                    ; @FEC_1_2
l_.str.1:                               ; @.str.1
	.asciz	"invalid fec_inner\n"

	.comm	_QPSK,8,3                       ; @QPSK
	.comm	_FEC_2_5,8,3                    ; @FEC_2_5
	.comm	_FEC_3_5,8,3                    ; @FEC_3_5
	.comm	_FEC_4_5,8,3                    ; @FEC_4_5
	.comm	_FEC_8_9,8,3                    ; @FEC_8_9
	.comm	_FEC_9_10,8,3                   ; @FEC_9_10
	.comm	_PILOT_OFF,4,2                  ; @PILOT_OFF
	.comm	_PILOT_ON,4,2                   ; @PILOT_ON
	.comm	_PSK_8,8,3                      ; @PSK_8
	.comm	_APSK_16,8,3                    ; @APSK_16
	.comm	_APSK_32,8,3                    ; @APSK_32
l_.str.2:                               ; @.str.2
	.asciz	"invalid modulation\n"

	.comm	_ROLLOFF_35,4,2                 ; @ROLLOFF_35
	.comm	_ROLLOFF_25,4,2                 ; @ROLLOFF_25
	.comm	_ROLLOFF_20,4,2                 ; @ROLLOFF_20
l_.str.3:                               ; @.str.3
	.asciz	"invalid rolloff\n"

l_.str.4:                               ; @.str.4
	.asciz	"invalid delivery_system\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.5:                               ; @.str.5
	.asciz	"failed=%d\n"

	.no_dead_strip	_m88ds3103_get_frontend
.subsections_via_symbols
