	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_frontend_param
_apply_frontend_param:                  ## @apply_frontend_param
	.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	%rsi, %r15
	movq	8(%rdi), %rax
	movq	16(%rdi), %r14
	movl	8(%rsi), %r12d
	movq	_BANDWIDTH_8_MHZ@GOTPCREL(%rip), %rcx
	subl	(%rcx), %r12d
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	%r15, %rsi
	callq	*%rax
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*%rax
LBB0_3:
	movq	(%r15), %rax
	movq	_INVERSION_ON@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_6
## %bb.4:
	movq	_INVERSION_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_6:
	cmpl	$3, %r12d
	jae	LBB0_5
## %bb.7:
	movq	16(%r15), %rdi
	movq	_FEC_1_2@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_FEC_2_3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_FEC_3_4@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_FEC_5_6@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_FEC_7_8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r8, %rdi
	je	LBB0_12
## %bb.8:
	cmpq	%rsi, %rdi
	je	LBB0_12
## %bb.9:
	cmpq	%rcx, %rdi
	je	LBB0_12
## %bb.10:
	cmpq	%rdx, %rdi
	je	LBB0_12
## %bb.11:
	cmpq	%rax, %rdi
	jne	LBB0_5
LBB0_12:
	movl	24(%r15), %r9d
	movq	_HIERARCHY_NONE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r11d
	cmpl	%r11d, %r9d
	jne	LBB0_13
LBB0_18:
	movq	40(%r15), %r12
	movq	_QPSK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_21
## %bb.19:
	movq	_QAM_16@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_21
## %bb.20:
	movq	_QAM_64@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_5
LBB0_21:
	movl	48(%r15), %r10d
	movq	_TRANSMISSION_MODE_2K@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r10d
	je	LBB0_23
## %bb.22:
	movq	_TRANSMISSION_MODE_8K@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r10d
	jne	LBB0_5
LBB0_23:
	movq	56(%r15), %rbx
	movq	_GUARD_INTERVAL_1_32@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jb	LBB0_5
## %bb.24:
	movq	_GUARD_INTERVAL_1_4@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	ja	LBB0_5
## %bb.25:
	cmpl	%r11d, %r9d
	jl	LBB0_5
## %bb.26:
	movq	_HIERARCHY_4@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r9d
	jg	LBB0_5
## %bb.27:
	movq	8(%r15), %rax
	leaq	_apply_frontend_param.bw_tab(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	movl	$524288000, %eax                ## imm = 0x1F400000
	xorl	%edx, %edx
	idivl	%esi
	cltq
	imulq	$-1125899907, %rax, %rax        ## imm = 0xBCE4217D
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$50, %rax
	cmpq	$270582937, %rsi                ## imm = 0x1020C499
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	ja	LBB0_28
## %bb.29:
	movl	$270582937, %eax                ## imm = 0x1020C499
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_30
LBB0_13:
	movq	32(%r15), %rbx
	cmpq	%r8, %rbx
	je	LBB0_18
## %bb.14:
	cmpq	%rsi, %rbx
	je	LBB0_18
## %bb.15:
	cmpq	%rcx, %rbx
	je	LBB0_18
## %bb.16:
	cmpq	%rdx, %rbx
	je	LBB0_18
## %bb.17:
	cmpq	%rax, %rbx
	je	LBB0_18
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_36:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	xorl	%edx, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
LBB0_30:
	leaq	_apply_frontend_param.qam_tab(%rip), %rax
	movslq	(%rax,%r12,4), %rax
	imulq	%rax, %rsi
	imulq	$6193152, %rsi, %rax            ## imm = 0x5E8000
	leaq	1(%rdi), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_31
## %bb.32:
	cqto
	idivq	%rsi
	jmp	LBB0_33
LBB0_31:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_33:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addl	%ecx, %edx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	_apply_frontend_param.guard_tab(%rip), %rcx
	movl	(%rcx,%rbx,4), %ecx
	addl	$32, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%ecx
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	cltq
	imulq	$-2113396605, %rax, %rcx        ## imm = 0x82082083
	shrq	$32, %rcx
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$9, %eax
	addl	%ecx, %eax
	movl	%edi, %ecx
	imull	%eax, %ecx
	shll	$2, %r10d
	orl	%r10d, %ebx
	leaq	_apply_frontend_param.fec_tab(%rip), %rax
	movl	(%rax,%rdi,4), %edx
	cmpl	%r11d, %r9d
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	je	LBB0_35
## %bb.34:
	movl	32(%r15), %eax
	subl	%r8d, %eax
	shll	$3, %eax
	orl	%eax, %edx
LBB0_35:
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	shll	$2, %r9d
	orl	%r9d, %r12d
	movq	%r14, %rdi
	movl	$4, %esi
	movl	%ebx, %edx
	callq	_l64781_writereg
	movq	%r14, %rdi
	movl	$5, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_l64781_writereg
	movq	%r14, %rdi
	movl	$6, %esi
	movl	%r12d, %edx
	callq	_l64781_writereg
	movq	%r14, %rdi
	callq	_reset_afc
	movl	48(%r15), %eax
	xorl	%ecx, %ecx
	movq	_TRANSMISSION_MODE_2K@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	setne	%cl
	leal	(%rcx,%rcx), %edx
	incl	%edx
	movq	%r14, %rdi
	movl	$21, %esi
	callq	_l64781_writereg
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movzbl	%bl, %edx
	movq	%r14, %rdi
	movl	$22, %esi
	callq	_l64781_writereg
	movzbl	%bh, %edx
	movq	%r14, %rdi
	movl	$23, %esi
	callq	_l64781_writereg
	shrl	$16, %ebx
	movzbl	%bl, %edx
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_l64781_writereg
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movzbl	%bl, %edx
	movq	%r14, %rdi
	movl	$27, %esi
	callq	_l64781_writereg
	movzbl	%bh, %edx
	movq	%r14, %rdi
	movl	$28, %esi
	callq	_l64781_writereg
	shrl	$16, %ebx
	andl	$127, %ebx
	movq	(%r15), %rax
	xorl	%edx, %edx
	cmpq	(%r13), %rax
	sete	%dl
	shll	$7, %edx
	orl	%ebx, %edx
	movq	%r14, %rdi
	movl	$29, %esi
	callq	_l64781_writereg
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movzbl	%bl, %edx
	movq	%r14, %rdi
	movl	$34, %esi
	callq	_l64781_writereg
	shrl	$8, %ebx
	andl	$63, %ebx
	movq	%r14, %rdi
	movl	$35, %esi
	movl	%ebx, %edx
	callq	_l64781_writereg
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_l64781_readreg
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_l64781_readreg
	movq	%r14, %rdi
	callq	_apply_tps
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @apply_frontend_param.fec_tab
_apply_frontend_param.fec_tab:
	.long	7                               ## 0x7
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	9                               ## 0x9
	.long	3                               ## 0x3
	.long	10                              ## 0xa
	.long	4                               ## 0x4

	.p2align	4                               ## @apply_frontend_param.qam_tab
_apply_frontend_param.qam_tab:
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	0                               ## 0x0
	.long	6                               ## 0x6

	.p2align	2                               ## @apply_frontend_param.bw_tab
_apply_frontend_param.bw_tab:
	.long	8                               ## 0x8
	.long	7                               ## 0x7
	.long	6                               ## 0x6

	.p2align	4                               ## @apply_frontend_param.guard_tab
_apply_frontend_param.guard_tab:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	8                               ## 0x8

	.comm	_BANDWIDTH_8_MHZ,4,2            ## @BANDWIDTH_8_MHZ
	.comm	_INVERSION_ON,8,3               ## @INVERSION_ON
	.comm	_INVERSION_OFF,8,3              ## @INVERSION_OFF
	.comm	_EINVAL,4,2                     ## @EINVAL
	.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	_HIERARCHY_NONE,4,2             ## @HIERARCHY_NONE
	.comm	_QPSK,8,3                       ## @QPSK
	.comm	_QAM_16,8,3                     ## @QAM_16
	.comm	_QAM_64,8,3                     ## @QAM_64
	.comm	_TRANSMISSION_MODE_2K,4,2       ## @TRANSMISSION_MODE_2K
	.comm	_TRANSMISSION_MODE_8K,4,2       ## @TRANSMISSION_MODE_8K
	.comm	_GUARD_INTERVAL_1_32,8,3        ## @GUARD_INTERVAL_1_32
	.comm	_GUARD_INTERVAL_1_4,8,3         ## @GUARD_INTERVAL_1_4
	.comm	_HIERARCHY_4,4,2                ## @HIERARCHY_4
	.no_dead_strip	_apply_frontend_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_frontend_param
_apply_frontend_param:                  ; @apply_frontend_param
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	ldr	w22, [x1, #8]
Lloh0:
	adrp	x8, _BANDWIDTH_8_MHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BANDWIDTH_8_MHZ@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	ldp	x8, x19, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x21, x0
	mov	x1, x20
	blr	x8
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	w1, #0
	blr	x8
LBB0_3:
	ldr	x8, [x20]
Lloh3:
	adrp	x23, _INVERSION_ON@GOTPAGE
Lloh4:
	ldr	x23, [x23, _INVERSION_ON@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh5:
	adrp	x10, _INVERSION_OFF@GOTPAGE
Lloh6:
	ldr	x10, [x10, _INVERSION_OFF@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_28
; %bb.4:
	sub	w8, w22, w24
	cmp	w8, #3
	b.hs	LBB0_28
; %bb.5:
	ldr	x9, [x20, #16]
Lloh8:
	adrp	x8, _FEC_1_2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FEC_1_2@GOTPAGEOFF]
Lloh10:
	adrp	x10, _FEC_2_3@GOTPAGE
Lloh11:
	ldr	x10, [x10, _FEC_2_3@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	ldr	x15, [x10]
Lloh14:
	adrp	x10, _FEC_3_4@GOTPAGE
Lloh15:
	ldr	x10, [x10, _FEC_3_4@GOTPAGEOFF]
Lloh16:
	adrp	x11, _FEC_5_6@GOTPAGE
Lloh17:
	ldr	x11, [x11, _FEC_5_6@GOTPAGEOFF]
Lloh18:
	ldr	x14, [x10]
Lloh19:
	ldr	x13, [x11]
Lloh20:
	adrp	x10, _FEC_7_8@GOTPAGE
Lloh21:
	ldr	x10, [x10, _FEC_7_8@GOTPAGEOFF]
Lloh22:
	ldr	x12, [x10]
	cmp	x9, x8
	b.eq	LBB0_10
; %bb.6:
	cmp	x9, x15
	b.eq	LBB0_10
; %bb.7:
	cmp	x9, x14
	b.eq	LBB0_10
; %bb.8:
	cmp	x9, x13
	b.eq	LBB0_10
; %bb.9:
	cmp	x9, x12
	b.ne	LBB0_28
LBB0_10:
	ldr	w10, [x20, #24]
Lloh23:
	adrp	x11, _HIERARCHY_NONE@GOTPAGE
Lloh24:
	ldr	x11, [x11, _HIERARCHY_NONE@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_23
LBB0_11:
	ldr	x12, [x20, #40]
Lloh26:
	adrp	x13, _QPSK@GOTPAGE
Lloh27:
	ldr	x13, [x13, _QPSK@GOTPAGEOFF]
Lloh28:
	ldr	x13, [x13]
	cmp	x12, x13
	b.eq	LBB0_14
; %bb.12:
Lloh29:
	adrp	x13, _QAM_16@GOTPAGE
Lloh30:
	ldr	x13, [x13, _QAM_16@GOTPAGEOFF]
Lloh31:
	ldr	x13, [x13]
	cmp	x12, x13
	b.eq	LBB0_14
; %bb.13:
Lloh32:
	adrp	x13, _QAM_64@GOTPAGE
Lloh33:
	ldr	x13, [x13, _QAM_64@GOTPAGEOFF]
Lloh34:
	ldr	x13, [x13]
	cmp	x12, x13
	b.ne	LBB0_28
LBB0_14:
	ldr	w13, [x20, #48]
Lloh35:
	adrp	x25, _TRANSMISSION_MODE_2K@GOTPAGE
Lloh36:
	ldr	x25, [x25, _TRANSMISSION_MODE_2K@GOTPAGEOFF]
	ldr	w14, [x25]
	cmp	w13, w14
	b.eq	LBB0_16
; %bb.15:
Lloh37:
	adrp	x14, _TRANSMISSION_MODE_8K@GOTPAGE
Lloh38:
	ldr	x14, [x14, _TRANSMISSION_MODE_8K@GOTPAGEOFF]
Lloh39:
	ldr	w14, [x14]
	cmp	w13, w14
	b.ne	LBB0_28
LBB0_16:
	ldr	x14, [x20, #56]
Lloh40:
	adrp	x15, _GUARD_INTERVAL_1_32@GOTPAGE
Lloh41:
	ldr	x15, [x15, _GUARD_INTERVAL_1_32@GOTPAGEOFF]
Lloh42:
	ldr	x15, [x15]
	cmp	x14, x15
	b.lo	LBB0_28
; %bb.17:
Lloh43:
	adrp	x15, _GUARD_INTERVAL_1_4@GOTPAGE
Lloh44:
	ldr	x15, [x15, _GUARD_INTERVAL_1_4@GOTPAGEOFF]
Lloh45:
	ldr	x15, [x15]
	cmp	x14, x15
	b.hi	LBB0_28
; %bb.18:
	cmp	w10, w11
	b.lt	LBB0_28
; %bb.19:
Lloh46:
	adrp	x15, _HIERARCHY_4@GOTPAGE
Lloh47:
	ldr	x15, [x15, _HIERARCHY_4@GOTPAGEOFF]
Lloh48:
	ldr	w15, [x15]
	cmp	w10, w15
	b.gt	LBB0_28
; %bb.20:
Lloh49:
	adrp	x15, _apply_frontend_param.bw_tab@PAGE
Lloh50:
	add	x15, x15, _apply_frontend_param.bw_tab@PAGEOFF
	ldr	x16, [x20, #8]
	ldrsw	x15, [x15, x16, lsl #2]
	mov	w16, #524288000
	sdiv	w16, w16, w15
	mov	w17, #8573
	movk	w17, #48356, lsl #16
	smull	x16, w16, w17
	lsr	x17, x16, #32
	lsr	x16, x16, #63
	add	w24, w16, w17, asr #18
	mov	w16, #50329
	movk	w16, #4128, lsl #16
	udiv	x26, x16, x15
Lloh51:
	adrp	x16, _apply_frontend_param.qam_tab@PAGE
Lloh52:
	add	x16, x16, _apply_frontend_param.qam_tab@PAGEOFF
	ldrsw	x16, [x16, x12, lsl #2]
	mul	x15, x15, x16
	mov	w16, #32768
	movk	w16, #94, lsl #16
	mul	x15, x15, x16
	add	x16, x9, #1
Lloh53:
	adrp	x17, _apply_frontend_param.guard_tab@PAGE
Lloh54:
	add	x17, x17, _apply_frontend_param.guard_tab@PAGEOFF
	ldr	w17, [x17, x14, lsl #2]
	sdiv	x15, x15, x16
	add	w16, w17, #32
	sdiv	w15, w15, w16
	mov	w16, #1000
	mul	w15, w15, w16
	mov	w16, #8323
	movk	w16, #33288, lsl #16
	smull	x16, w15, w16
	lsr	x16, x16, #32
	add	w15, w16, w15
	asr	w16, w15, #9
	add	w15, w16, w15, lsr #31
	mul	w27, w15, w9
	orr	w2, w14, w13, lsl #2
Lloh55:
	adrp	x13, _apply_frontend_param.fec_tab@PAGE
Lloh56:
	add	x13, x13, _apply_frontend_param.fec_tab@PAGEOFF
	ldr	w21, [x13, x9, lsl #2]
	cmp	w10, w11
	b.eq	LBB0_22
; %bb.21:
	ldr	w9, [x20, #32]
	sub	w8, w9, w8
	orr	w21, w21, w8, lsl #3
LBB0_22:
	orr	w22, w12, w10, lsl #2
	mov	x0, x19
	mov	w1, #4
	bl	_l64781_writereg
	mov	x0, x19
	mov	w1, #5
	mov	x2, x21
	bl	_l64781_writereg
	mov	x0, x19
	mov	w1, #6
	mov	x2, x22
	bl	_l64781_writereg
	mov	x0, x19
	bl	_reset_afc
	ldr	w8, [x20, #48]
	ldr	w9, [x25]
	cmp	w8, w9
	mov	w8, #3
	csinc	w2, w8, wzr, ne
	mov	x0, x19
	mov	w1, #21
	bl	_l64781_writereg
	and	w2, w26, #0xff
	mov	x0, x19
	mov	w1, #22
	bl	_l64781_writereg
	ubfx	w2, w26, #8, #8
	mov	x0, x19
	mov	w1, #23
	bl	_l64781_writereg
	ubfx	w2, w26, #16, #8
	mov	x0, x19
	mov	w1, #24
	bl	_l64781_writereg
	and	w2, w27, #0xff
	mov	x0, x19
	mov	w1, #27
	bl	_l64781_writereg
	ubfx	w2, w27, #8, #8
	mov	x0, x19
	mov	w1, #28
	bl	_l64781_writereg
	ubfx	w2, w27, #16, #7
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w8, eq
	bfi	w2, w8, #7, #1
	mov	x0, x19
	mov	w1, #29
	bl	_l64781_writereg
	and	w2, w24, #0xff
	mov	x0, x19
	mov	w1, #34
	bl	_l64781_writereg
	ubfx	w2, w24, #8, #6
	mov	x0, x19
	mov	w1, #35
	bl	_l64781_writereg
	mov	x0, x19
	mov	w1, #0
	bl	_l64781_readreg
	mov	x0, x19
	mov	w1, #1
	bl	_l64781_readreg
	mov	x0, x19
	bl	_apply_tps
	mov	w0, #0
	b	LBB0_29
LBB0_23:
	ldr	x16, [x20, #32]
	cmp	x16, x8
	b.eq	LBB0_11
; %bb.24:
	cmp	x16, x15
	b.eq	LBB0_11
; %bb.25:
	cmp	x16, x14
	b.eq	LBB0_11
; %bb.26:
	cmp	x16, x13
	b.eq	LBB0_11
; %bb.27:
	cmp	x16, x12
	b.eq	LBB0_11
LBB0_28:
Lloh57:
	adrp	x8, _EINVAL@GOTPAGE
Lloh58:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_29:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @apply_frontend_param.fec_tab
_apply_frontend_param.fec_tab:
	.long	7                               ; 0x7
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	9                               ; 0x9
	.long	3                               ; 0x3
	.long	10                              ; 0xa
	.long	4                               ; 0x4

	.p2align	2                               ; @apply_frontend_param.qam_tab
_apply_frontend_param.qam_tab:
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	0                               ; 0x0
	.long	6                               ; 0x6

	.p2align	2                               ; @apply_frontend_param.bw_tab
_apply_frontend_param.bw_tab:
	.long	8                               ; 0x8
	.long	7                               ; 0x7
	.long	6                               ; 0x6

	.p2align	2                               ; @apply_frontend_param.guard_tab
_apply_frontend_param.guard_tab:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	8                               ; 0x8

	.comm	_BANDWIDTH_8_MHZ,4,2            ; @BANDWIDTH_8_MHZ
	.comm	_INVERSION_ON,8,3               ; @INVERSION_ON
	.comm	_INVERSION_OFF,8,3              ; @INVERSION_OFF
	.comm	_EINVAL,4,2                     ; @EINVAL
	.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	_HIERARCHY_NONE,4,2             ; @HIERARCHY_NONE
	.comm	_QPSK,8,3                       ; @QPSK
	.comm	_QAM_16,8,3                     ; @QAM_16
	.comm	_QAM_64,8,3                     ; @QAM_64
	.comm	_TRANSMISSION_MODE_2K,4,2       ; @TRANSMISSION_MODE_2K
	.comm	_TRANSMISSION_MODE_8K,4,2       ; @TRANSMISSION_MODE_8K
	.comm	_GUARD_INTERVAL_1_32,8,3        ; @GUARD_INTERVAL_1_32
	.comm	_GUARD_INTERVAL_1_4,8,3         ; @GUARD_INTERVAL_1_4
	.comm	_HIERARCHY_4,4,2                ; @HIERARCHY_4
	.no_dead_strip	_apply_frontend_param
.subsections_via_symbols
