	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8000_set_isdbt_common_channel
_dib8000_set_isdbt_common_channel:      ## @dib8000_set_isdbt_common_channel
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %edx
	movq	%rdi, %r12
	movq	_DQPSK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	32(%rdi), %rax
	movq	(%rax), %r13
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movl	$1, (%r13)
LBB0_2:
	shll	$4, %edx
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_dib8000_write_word
	movq	%r12, %rdi
	callq	_fft_to_mode
	movl	%eax, (%r12)
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_dib8000_read_word
	andl	$65532, %eax                    ## imm = 0xFFFC
	movl	4(%r13), %edx
	andl	$3, %edx
	orl	%eax, %edx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_dib8000_write_word
	movq	%r12, %rdi
	movl	$274, %esi                      ## imm = 0x112
	callq	_dib8000_read_word
	andl	$65487, %eax                    ## imm = 0xFFCF
	movl	(%r13), %ecx
	movl	8(%r13), %edx
	shll	$5, %ecx
	andl	$32, %ecx
	orl	%eax, %ecx
	shll	$4, %edx
	andl	$16, %edx
	orl	%ecx, %edx
	movq	%r12, %rdi
	movl	$274, %esi                      ## imm = 0x112
	callq	_dib8000_write_word
	cmpl	$0, (%r13)
	movq	16(%r13), %rsi
	movq	_DQPSK@GOTPCREL(%rip), %rax
	je	LBB0_3
## %bb.13:
	movq	(%rax), %rdi
	xorl	%eax, %eax
	cmpq	%rdi, (%rsi)
	sete	%al
	movq	_permu_seg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movb	(%rdx), %cl
	shll	%cl, %eax
	movl	%eax, 4(%r12)
	movq	32(%rsi), %r8
	xorl	%ecx, %ecx
	movl	$0, %ebx
	cmpq	%rdi, 16(%rsi)
	jne	LBB0_15
## %bb.14:
	movl	24(%rsi), %ebx
LBB0_15:
	cmpq	%rdi, %r8
	jne	LBB0_17
## %bb.16:
	movl	40(%rsi), %ecx
LBB0_17:
	addl	%ebx, %ecx
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.18:
	movl	%ecx, %esi
	leaq	-1(%rsi), %rdi
	movl	%esi, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdi
	jae	LBB0_20
## %bb.19:
	xorl	%edi, %edi
	jmp	LBB0_22
LBB0_3:
	movq	(%rax), %rcx
	movq	16(%rsi), %rbx
	xorl	%eax, %eax
	movl	$0, %edi
	cmpq	%rcx, (%rsi)
	jne	LBB0_5
## %bb.4:
	movl	8(%rsi), %edi
LBB0_5:
	movl	$0, %edx
	cmpq	%rcx, %rbx
	jne	LBB0_7
## %bb.6:
	movl	24(%rsi), %edx
LBB0_7:
	addl	%edi, %edx
	cmpq	%rcx, 32(%rsi)
	jne	LBB0_9
## %bb.8:
	movl	40(%rsi), %eax
LBB0_9:
	addl	%edx, %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.25:
	movq	_permu_seg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%eax, %esi
	movl	4(%r12), %eax
	leaq	-1(%rsi), %rdi
	movl	%esi, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdi
	jae	LBB0_27
## %bb.26:
	xorl	%edi, %edi
	jmp	LBB0_29
LBB0_20:
	andl	$-4, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movzbl	4(%rdx,%rdi,4), %ebx
	btsl	%ebx, %eax
	movl	%eax, 4(%r12)
	movzbl	8(%rdx,%rdi,4), %ebx
	btsl	%ebx, %eax
	movl	%eax, 4(%r12)
	movzbl	12(%rdx,%rdi,4), %ebx
	btsl	%ebx, %eax
	movl	%eax, 4(%r12)
	movzbl	16(%rdx,%rdi,4), %ebx
	addq	$4, %rdi
	btsl	%ebx, %eax
	movl	%eax, 4(%r12)
	cmpq	%rdi, %rsi
	jne	LBB0_21
LBB0_22:
	testq	%rcx, %rcx
	je	LBB0_32
## %bb.23:
	leaq	(%rdx,%rdi,4), %rdx
	addq	$4, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx,%rsi,4), %edi
	btsl	%edi, %eax
	movl	%eax, 4(%r12)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_24
	jmp	LBB0_32
LBB0_10:
	movl	4(%r12), %eax
LBB0_11:
	testl	%eax, %eax
	jne	LBB0_32
## %bb.12:
	movl	$1063, %edx                     ## imm = 0x427
	jmp	LBB0_33
LBB0_27:
	andl	$-4, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx,%rdi,4), %ebx
	btsl	%ebx, %eax
	movl	%eax, 4(%r12)
	movzbl	4(%rdx,%rdi,4), %ebx
	btsl	%ebx, %eax
	movl	%eax, 4(%r12)
	movzbl	8(%rdx,%rdi,4), %ebx
	btsl	%ebx, %eax
	movl	%eax, 4(%r12)
	movzbl	12(%rdx,%rdi,4), %ebx
	btsl	%ebx, %eax
	movl	%eax, 4(%r12)
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_28
LBB0_29:
	testq	%rcx, %rcx
	je	LBB0_32
## %bb.30:
	leaq	(%rdx,%rdi,4), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx,%rsi,4), %edi
	btsl	%edi, %eax
	movl	%eax, 4(%r12)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_31
LBB0_32:
	movq	%r12, %rdi
	movl	$268, %esi                      ## imm = 0x10C
	callq	_dib8000_read_word
	movl	%eax, %edx
	andl	$63999, %edx                    ## imm = 0xF9FF
	orl	$512, %edx                      ## imm = 0x200
LBB0_33:
	movq	%r12, %rdi
	movl	$268, %esi                      ## imm = 0x10C
	callq	_dib8000_write_word
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_dib8000_set_layer
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_dib8000_set_layer
	movq	%r12, %rdi
	movl	$2, %esi
	movl	%eax, %edx
	callq	_dib8000_set_layer
	movl	%eax, %ebx
	testl	%r14d, %r14d
	jne	LBB0_35
## %bb.34:
	movq	16(%r13), %rax
	movl	24(%rax), %ecx
	movl	%ecx, 8(%r12)
	movl	40(%rax), %eax
	movl	%eax, 12(%r12)
LBB0_35:
	movl	(%r12), %edx
	shll	$13, %edx
	orl	4(%r12), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_dib8000_write_word
	xorl	%eax, %eax
	cmpl	$0, 4(%r12)
	setne	%al
	movl	%eax, 16(%r12)
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_dib8000_adp_fine_tune
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_dib8000_update_ana_gain
	cmpl	$0, (%r13)
	jne	LBB0_36
## %bb.37:
	movq	_ana_fe_coeff_1seg@GOTPCREL(%rip), %rax
	jmp	LBB0_38
LBB0_36:
	movq	_ana_fe_coeff_3seg@GOTPCREL(%rip), %rax
LBB0_38:
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_dib8000_load_ana_fe_coefs
	cmpl	$0, 8(%r13)
	je	LBB0_41
## %bb.39:
	movq	%r12, %rdi
	callq	_dib8000_set_sb_channel
	movl	12(%r13), %esi
	xorl	%ebx, %ebx
	cmpl	$13, %esi
	jg	LBB0_42
## %bb.40:
	movq	%r12, %rdi
	callq	_dib8000_get_init_prbs
	movl	%eax, %ebx
	jmp	LBB0_42
LBB0_41:
	movq	%r12, %rdi
	callq	_dib8000_set_13seg_channel
	movl	$4095, %ebx                     ## imm = 0xFFF
LBB0_42:
	movq	%r12, %rdi
	callq	_dib8000_small_fine_tune
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_dib8000_set_subchannel_prbs
	movl	4(%r12), %r9d
	movl	%r9d, %r8d
	notl	%r8d
	xorl	%edi, %edi
	movl	$0, %edx
	movl	$0, %r15d
	testb	$1, %r9b
	jne	LBB0_44
## %bb.43:
	movl	20(%r12), %r15d
	andl	%r8d, %r15d
	andl	$2, %r15d
	shrl	%r15d
	xorl	$1, %r15d
	movl	$1, %edx
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_44 Depth=1
	movl	%ecx, %edi
	cmpl	$12, %ecx
	je	LBB0_47
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	leal	1(%rdi), %ecx
	btl	%ecx, %r9d
	jb	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=1
	movl	20(%r12), %ebx
	movl	%ebx, %esi
	notl	%esi
	orl	%r9d, %esi
	xorl	%eax, %eax
	btl	%edi, %esi
	setb	%al
	shll	%cl, %eax
	addl	%eax, %edx
	cmpl	$11, %edi
	sete	%al
	movl	$2, %esi
	shll	%cl, %esi
	andl	%r8d, %esi
	testl	%ebx, %esi
	sete	%bl
	orb	%al, %bl
	movzbl	%bl, %eax
	shll	%cl, %eax
	addl	%eax, %r15d
	jmp	LBB0_46
LBB0_47:
	movq	%r12, %rdi
	movl	$222, %esi
	callq	_dib8000_write_word
	movq	%r12, %rdi
	movl	$223, %esi
	movl	%r15d, %edx
	callq	_dib8000_write_word
	movl	20(%r12), %edx
	notl	%edx
	orl	4(%r12), %edx
	movq	%r12, %rdi
	movl	$189, %esi
	callq	_dib8000_write_word
	movl	20(%r12), %edx
	notl	%edx
	orl	4(%r12), %edx
	movq	%r12, %rdi
	movl	$192, %esi
	callq	_dib8000_write_word
	movl	20(%r12), %edx
	notl	%edx
	orl	4(%r12), %edx
	movq	%r12, %rdi
	movl	$225, %esi
	callq	_dib8000_write_word
	movl	$8191, %edx                     ## imm = 0x1FFF
	testl	%r14d, %r14d
	jne	LBB0_49
## %bb.48:
	movl	20(%r12), %edx
	notl	%edx
	orl	4(%r12), %edx
	andl	$8191, %edx                     ## imm = 0x1FFF
LBB0_49:
	movq	%r12, %rdi
	movl	$288, %esi                      ## imm = 0x120
	callq	_dib8000_write_word
	movl	4(%r12), %edx
	notl	%edx
	andl	20(%r12), %edx
	movq	%r12, %rdi
	movl	$211, %esi
	callq	_dib8000_write_word
	movl	20(%r12), %edx
	notl	%edx
	orl	$4096, %edx                     ## imm = 0x1000
	movq	%r12, %rdi
	movl	$287, %esi                      ## imm = 0x11F
	callq	_dib8000_write_word
	movq	%r12, %rdi
	movl	$178, %esi
	movl	$32, %edx
	callq	_dib8000_write_word
	movq	16(%r13), %rax
	movq	_DQPSK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	cmpq	%rcx, (%rax)
	sete	%dl
	leal	1(,%rdx,4), %edx
	imull	8(%rax), %edx
	xorl	%esi, %esi
	cmpq	%rcx, 16(%rax)
	sete	%sil
	leal	1(,%rsi,4), %esi
	imull	24(%rax), %esi
	addl	%edx, %esi
	xorl	%edx, %edx
	cmpq	%rcx, 32(%rax)
	sete	%dl
	leal	1(,%rdx,4), %ebx
	imull	40(%rax), %ebx
	addl	%esi, %ebx
	shll	$7, %ebx
	movq	%r12, %rdi
	movl	$290, %esi                      ## imm = 0x122
	movl	%ebx, %edx
	callq	_dib8000_write_word
	movq	%r12, %rdi
	movl	$291, %esi                      ## imm = 0x123
	movl	%ebx, %edx
	callq	_dib8000_write_word
	movq	%r12, %rdi
	movl	$292, %esi                      ## imm = 0x124
	movl	%ebx, %edx
	callq	_dib8000_write_word
	cmpq	$0, 24(%r12)
	jne	LBB0_51
## %bb.50:
	movq	%r12, %rdi
	movl	$250, %esi
	movl	$3285, %edx                     ## imm = 0xCD5
	callq	_dib8000_write_word
LBB0_51:
	movq	$0, 24(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DQPSK,8,3                      ## @DQPSK
	.comm	_permu_seg,8,3                  ## @permu_seg
	.comm	_ana_fe_coeff_3seg,4,2          ## @ana_fe_coeff_3seg
	.comm	_ana_fe_coeff_1seg,4,2          ## @ana_fe_coeff_1seg
	.no_dead_strip	_dib8000_set_isdbt_common_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8000_set_isdbt_common_channel
_dib8000_set_isdbt_common_channel:      ; @dib8000_set_isdbt_common_channel
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x19, x0
Lloh0:
	adrp	x22, _DQPSK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DQPSK@GOTPAGEOFF]
	ldr	w21, [x22]
	ldr	x8, [x0, #32]
	ldr	x23, [x8]
	cbz	w2, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x23]
LBB0_2:
	lsl	w2, w1, #4
	mov	x0, x19
	mov	w1, #10
	bl	_dib8000_write_word
	mov	x0, x19
	bl	_fft_to_mode
	str	w0, [x19]
	mov	x0, x19
	mov	w1, #1
	bl	_dib8000_read_word
	and	w2, w0, #0xfffc
	ldr	w8, [x23, #4]
	bfxil	w2, w8, #0, #2
	mov	x0, x19
	mov	w1, #1
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #274
	bl	_dib8000_read_word
	mov	w8, #65487
	and	w2, w0, w8
	ldr	w8, [x23]
	bfi	w2, w8, #5, #1
	ldr	w8, [x23, #8]
	bfi	w2, w8, #4, #1
	mov	x0, x19
	mov	w1, #274
	bl	_dib8000_write_word
	ldr	w8, [x23]
	ldr	x9, [x23, #16]
	cbz	w8, LBB0_6
; %bb.3:
	ldr	x8, [x9]
	ldr	x11, [x22]
	cmp	x8, x11
	cset	w8, eq
Lloh2:
	adrp	x10, _permu_seg@GOTPAGE
Lloh3:
	ldr	x10, [x10, _permu_seg@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	ldr	w12, [x10]
	lsl	w8, w8, w12
	str	w8, [x19, #4]
	ldr	x12, [x9, #16]
	ldr	w13, [x9, #24]
	cmp	x12, x11
	csel	w12, w13, wzr, eq
	ldr	x13, [x9, #32]
	ldr	w9, [x9, #40]
	cmp	x13, x11
	csel	w9, w9, wzr, eq
	add	w9, w9, w12
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.4:
	add	x10, x10, #4
	mov	w11, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10], #4
	lsl	w12, w11, w12
	orr	w8, w8, w12
	str	w8, [x19, #4]
	subs	x9, x9, #1
	b.ne	LBB0_5
	b	LBB0_11
LBB0_6:
	ldr	x8, [x22]
	ldr	x10, [x9]
	ldr	w11, [x9, #8]
	cmp	x10, x8
	csel	w10, w11, wzr, eq
	ldr	x11, [x9, #16]
	ldr	w12, [x9, #24]
	cmp	x11, x8
	csel	w11, w12, wzr, eq
	ldr	x12, [x9, #32]
	ldr	w9, [x9, #40]
	cmp	x12, x8
	csel	w8, w9, wzr, eq
	add	w9, w11, w10
	add	w8, w8, w9
	cmp	w8, #0
	b.le	LBB0_9
; %bb.7:
Lloh5:
	adrp	x9, _permu_seg@GOTPAGE
Lloh6:
	ldr	x9, [x9, _permu_seg@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w10, [x19, #4]
	mov	w11, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9], #4
	lsl	w12, w11, w12
	orr	w10, w10, w12
	str	w10, [x19, #4]
	subs	x8, x8, #1
	b.ne	LBB0_8
	b	LBB0_11
LBB0_9:
	ldr	w8, [x19, #4]
LBB0_10:
	cbz	w8, LBB0_32
LBB0_11:
	mov	x0, x19
	mov	w1, #268
	bl	_dib8000_read_word
	mov	w8, #63999
	and	w8, w0, w8
	orr	w2, w8, #0x200
LBB0_12:
	mov	x0, x19
	mov	w1, #268
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_dib8000_set_layer
	mov	x2, x0
	mov	x0, x19
	mov	w1, #1
	bl	_dib8000_set_layer
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2
	bl	_dib8000_set_layer
	mov	x21, x0
	cbnz	w20, LBB0_14
; %bb.13:
	ldr	x8, [x23, #16]
	ldr	w9, [x8, #24]
	ldr	w8, [x8, #40]
	stp	w9, w8, [x19, #8]
LBB0_14:
	ldp	w8, w9, [x19]
	orr	w2, w9, w8, lsl #13
	mov	x0, x19
	mov	w1, #0
	bl	_dib8000_write_word
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cset	w8, ne
	str	w8, [x19, #16]
	mov	x0, x19
	mov	x1, x21
	bl	_dib8000_adp_fine_tune
	mov	x1, x0
	mov	x0, x19
	bl	_dib8000_update_ana_gain
Lloh8:
	adrp	x8, _ana_fe_coeff_1seg@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ana_fe_coeff_1seg@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh10:
	adrp	x10, _ana_fe_coeff_3seg@GOTPAGE
Lloh11:
	ldr	x10, [x10, _ana_fe_coeff_3seg@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x8, x10, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dib8000_load_ana_fe_coefs
	ldr	w8, [x23, #8]
	cbz	w8, LBB0_17
; %bb.15:
	mov	x0, x19
	bl	_dib8000_set_sb_channel
	ldr	w1, [x23, #12]
	cmp	w1, #13
	b.gt	LBB0_18
; %bb.16:
	mov	x0, x19
	bl	_dib8000_get_init_prbs
	mov	x21, x0
	b	LBB0_19
LBB0_17:
	mov	x0, x19
	bl	_dib8000_set_13seg_channel
	mov	w21, #4095
	b	LBB0_19
LBB0_18:
	mov	w21, #0
LBB0_19:
	mov	x0, x19
	bl	_dib8000_small_fine_tune
	mov	x0, x19
	mov	x1, x21
	bl	_dib8000_set_subchannel_prbs
	ldr	w8, [x19, #4]
	mvn	w9, w8
	tbnz	w8, #0, LBB0_21
; %bb.20:
	ldr	w10, [x19, #20]
	and	w10, w9, w10
	ubfx	w10, w10, #1, #1
	eor	w21, w10, #0x1
	mov	w2, #1
	b	LBB0_22
LBB0_21:
	mov	w2, #0
	mov	w21, #0
LBB0_22:
	mov	w11, #0
	mov	w10, #2
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	x11, x12
	cmp	w12, #12
	b.eq	LBB0_26
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	add	w12, w11, #1
	lsr	w13, w8, w12
	tbnz	w13, #0, LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w13, [x19, #20]
	orn	w14, w8, w13
	lsr	w14, w14, w11
	and	w14, w14, #0x1
	lsl	w14, w14, w12
	add	w2, w14, w2
	lsl	w14, w10, w12
	and	w14, w14, w9
	tst	w14, w13
	ccmp	w11, #11, #4, ne
	cset	w11, eq
	lsl	w11, w11, w12
	add	w21, w11, w21
	b	LBB0_23
LBB0_26:
	mov	x0, x19
	mov	w1, #222
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #223
	mov	x2, x21
	bl	_dib8000_write_word
	ldr	w8, [x19, #20]
	ldr	w9, [x19, #4]
	orn	w2, w9, w8
	mov	x0, x19
	mov	w1, #189
	bl	_dib8000_write_word
	ldr	w8, [x19, #20]
	ldr	w9, [x19, #4]
	orn	w2, w9, w8
	mov	x0, x19
	mov	w1, #192
	bl	_dib8000_write_word
	ldr	w8, [x19, #20]
	ldr	w9, [x19, #4]
	orn	w2, w9, w8
	mov	x0, x19
	mov	w1, #225
	bl	_dib8000_write_word
	cbz	w20, LBB0_28
; %bb.27:
	mov	w2, #8191
	b	LBB0_29
LBB0_28:
	ldr	w8, [x19, #20]
	ldr	w9, [x19, #4]
	orn	w8, w9, w8
	and	w2, w8, #0x1fff
LBB0_29:
	mov	x0, x19
	mov	w1, #288
	bl	_dib8000_write_word
	ldr	w8, [x19, #20]
	ldr	w9, [x19, #4]
	bic	w2, w8, w9
	mov	x0, x19
	mov	w1, #211
	bl	_dib8000_write_word
	ldr	w8, [x19, #20]
	mvn	w8, w8
	orr	w2, w8, #0x1000
	mov	x0, x19
	mov	w1, #287
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #178
	mov	w2, #32
	bl	_dib8000_write_word
	ldr	x8, [x23, #16]
	ldr	x9, [x22]
	ldr	x10, [x8]
	cmp	x10, x9
	mov	w10, #5
	csinc	w11, w10, wzr, eq
	ldr	w12, [x8, #8]
	mul	w11, w11, w12
	ldr	x12, [x8, #16]
	cmp	x12, x9
	csinc	w12, w10, wzr, eq
	ldr	w13, [x8, #24]
	madd	w11, w12, w13, w11
	ldr	x12, [x8, #32]
	cmp	x12, x9
	csinc	w9, w10, wzr, eq
	ldr	w8, [x8, #40]
	madd	w8, w9, w8, w11
	lsl	w20, w8, #7
	mov	x0, x19
	mov	w1, #290
	mov	x2, x20
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #291
	mov	x2, x20
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #292
	mov	x2, x20
	bl	_dib8000_write_word
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_31
; %bb.30:
	mov	x0, x19
	mov	w1, #250
	mov	w2, #3285
	bl	_dib8000_write_word
LBB0_31:
	str	xzr, [x19, #24]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_32:
	mov	w2, #1063
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DQPSK,8,3                      ; @DQPSK
	.comm	_permu_seg,8,3                  ; @permu_seg
	.comm	_ana_fe_coeff_3seg,4,2          ; @ana_fe_coeff_3seg
	.comm	_ana_fe_coeff_1seg,4,2          ; @ana_fe_coeff_1seg
	.no_dead_strip	_dib8000_set_isdbt_common_channel
.subsections_via_symbols
