	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8000_autosearch_start
_dib8000_autosearch_start:              ## @dib8000_autosearch_start
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movq	32(%r15), %rax
	movq	(%rax), %r12
	movl	(%r15), %eax
	cmpl	$32912, %eax                    ## imm = 0x8090
	jne	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movl	$23, %esi
	callq	_dib8000_read32
	cltq
	imulq	$274877907, %rax, %r14          ## imm = 0x10624DD3
	movq	%r14, %rax
	shrq	$63, %rax
	sarq	$38, %r14
	addl	%eax, %r14d
	movl	(%r15), %eax
	cmpl	$32770, %eax                    ## imm = 0x8002
	jge	LBB0_4
	jmp	LBB0_11
LBB0_1:
	movq	24(%r15), %rcx
	movl	(%rcx), %r14d
	cmpl	$32770, %eax                    ## imm = 0x8002
	jl	LBB0_11
LBB0_4:
	movq	8(%r15), %rax
	movq	_AS_SEARCHING_FFT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.5:
	movq	%r15, %rdi
	movl	$37, %esi
	movl	$101, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$116, %esi
	xorl	%edx, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dib8000_read_word
                                        ## kill: def $eax killed $eax def $rax
	andl	$8191, %eax                     ## imm = 0x1FFF
	leal	32768(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_dib8000_read_word
	andl	$65532, %eax                    ## imm = 0xFFFC
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$6, %esi
	xorl	%edx, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$7, %esi
	xorl	%edx, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_dib8000_read_word
                                        ## kill: def $eax killed $eax def $rax
	andl	$512, %eax                      ## imm = 0x200
	leal	256(%rax), %edx
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_dib8000_write_word
	cmpl	$32912, (%r15)                  ## imm = 0x8090
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$10, %edx
	movl	$10, %ecx
	movl	$10, %r8d
	jmp	LBB0_8
LBB0_9:
	movq	_AS_SEARCHING_GUARD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_GUARD_INTERVAL_1_8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	$0, 32(%r12)
	movq	_QAM_64@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%r12), %rcx
	movq	%rax, 24(%rcx)
	movq	_FEC_2_3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rcx)
	movq	$0, 8(%rcx)
	movl	$13, (%rcx)
	movq	16(%r15), %rax
	movq	%rax, (%r12)
	movq	%r15, %rdi
	movl	$16, %esi
	movl	$1, %edx
	callq	_dib8000_set_isdbt_common_channel
	movq	%r15, %rdi
	movl	$6, %esi
	movl	$4, %edx
	callq	_dib8000_write_word
	cmpl	$32912, (%r15)                  ## imm = 0x8090
	movl	$7168, %edx                     ## imm = 0x1C00
	movl	$8, %eax
	cmovnel	%eax, %edx
	movq	%r15, %rdi
	movl	$7, %esi
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_dib8000_write_word
	cmpl	$32912, (%r15)                  ## imm = 0x8090
	movl	$100, %eax
	movl	$200, %ecx
	cmovel	%eax, %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$50, %edx
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_dib8000_wait_lock
	movq	%r15, %rdi
	movl	$355, %esi                      ## imm = 0x163
	movl	$3, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$356, %esi                      ## imm = 0x164
	xorl	%edx, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$357, %esi                      ## imm = 0x165
	movl	$15, %edx
	callq	_dib8000_write_word
	jmp	LBB0_20
LBB0_11:
	movq	$0, 32(%r12)
	movq	_QAM_64@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%r12), %rcx
	movq	%rax, 24(%rcx)
	movq	_FEC_2_3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rcx)
	movq	$0, 8(%rcx)
	movl	$13, (%rcx)
	cmpq	$0, 16(%r12)
	je	LBB0_13
LBB0_12:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dib8000_read_word
                                        ## kill: def $eax killed $eax def $rax
	andl	$40959, %eax                    ## imm = 0x9FFF
	leal	8192(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dib8000_write_word
	movl	$7, %ebx
LBB0_19:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_dprintk
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_dib8000_set_isdbt_common_channel
	movq	%r15, %rdi
	movl	$6, %esi
	movl	$4, %edx
	callq	_dib8000_write_word
	cmpl	$32912, (%r15)                  ## imm = 0x8090
	movl	$7168, %edx                     ## imm = 0x1C00
	movl	$8, %eax
	cmovnel	%eax, %edx
	movq	%r15, %rdi
	movl	$7, %esi
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_dib8000_write_word
	cmpl	$32912, (%r15)                  ## imm = 0x8090
	movl	$200, %eax
	movl	$100, %ecx
	cmovel	%eax, %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$50, %edx
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_dib8000_wait_lock
LBB0_20:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dib8000_read_word
	movl	%eax, %ebx
	movl	%eax, %edx
	orl	$32768, %edx                    ## imm = 0x8000
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$1284, %esi                     ## imm = 0x504
	callq	_dib8000_read_word
	jmp	LBB0_21
LBB0_13:
	movq	(%r12), %rax
	movq	8(%r12), %rdx
	movq	_GUARD_INTERVAL_AUTO@GOTPCREL(%rip), %rsi
	movq	_TRANSMISSION_MODE_AUTO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rsi), %rdx
	jne	LBB0_17
## %bb.14:
	cmpq	%rcx, %rax
	jne	LBB0_16
## %bb.15:
	movq	_TRANSMISSION_MODE_8K@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	_GUARD_INTERVAL_1_8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	jmp	LBB0_12
LBB0_7:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$20, %edx
	movl	$20, %ecx
	movl	$20, %r8d
LBB0_8:
	callq	_dib8000_wait_lock
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	$17, %esi
	xorl	%edx, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$18, %esi
	movl	$200, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$19, %esi
	xorl	%edx, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$20, %esi
	movl	$400, %edx                      ## imm = 0x190
	callq	_dib8000_write_word
	movl	%r14d, %edx
	shrl	$16, %edx
	movq	%r15, %rdi
	movl	$21, %esi
	callq	_dib8000_write_word
	movzwl	%r14w, %edx
	movq	%r15, %rdi
	movl	$22, %esi
	callq	_dib8000_write_word
	movl	(%r15), %ebx
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_dib8000_read_word
                                        ## kill: def $eax killed $eax def $rax
	andl	$61695, %eax                    ## imm = 0xF0FF
	leal	2304(%rax), %edx
	cmpl	$32912, %ebx                    ## imm = 0x8090
	cmovel	%eax, %edx
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$355, %esi                      ## imm = 0x163
	movl	$2, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$356, %esi                      ## imm = 0x164
	xorl	%edx, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$357, %esi                      ## imm = 0x165
	movl	$273, %edx                      ## imm = 0x111
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$770, %esi                      ## imm = 0x302
	callq	_dib8000_read_word
	orl	$8192, %eax                     ## imm = 0x2000
	movzwl	%ax, %edx
	movq	%r15, %rdi
	movl	$770, %esi                      ## imm = 0x302
	callq	_dib8000_write_word
	movq	%r15, %rdi
	movl	$770, %esi                      ## imm = 0x302
	callq	_dib8000_read_word
	andl	$57343, %eax                    ## imm = 0xDFFF
	movq	%r15, %rdi
	movl	$770, %esi                      ## imm = 0x302
	movl	%eax, %edx
	callq	_dib8000_write_word
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dib8000_read_word
	movl	%eax, %ebx
	andl	$2047, %ebx                     ## imm = 0x7FF
	orl	$8192, %ebx                     ## imm = 0x2000
LBB0_21:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_dib8000_write_word
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	xorl	%ebx, %ebx
	cmpq	%rcx, %rax
	jne	LBB0_19
## %bb.18:
	movq	_TRANSMISSION_MODE_8K@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dib8000_read_word
                                        ## kill: def $eax killed $eax def $rax
	andl	$40959, %eax                    ## imm = 0x9FFF
	leal	8192(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dib8000_write_word
	movl	$2, %ebx
	jmp	LBB0_19
LBB0_16:
	movq	_GUARD_INTERVAL_1_8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movl	$3, %ebx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_AS_SEARCHING_FFT,8,3           ## @AS_SEARCHING_FFT
	.comm	_AS_SEARCHING_GUARD,8,3         ## @AS_SEARCHING_GUARD
	.comm	_TRANSMISSION_MODE_8K,8,3       ## @TRANSMISSION_MODE_8K
	.comm	_GUARD_INTERVAL_1_8,8,3         ## @GUARD_INTERVAL_1_8
	.comm	_QAM_64,8,3                     ## @QAM_64
	.comm	_FEC_2_3,8,3                    ## @FEC_2_3
	.comm	_GUARD_INTERVAL_AUTO,8,3        ## @GUARD_INTERVAL_AUTO
	.comm	_TRANSMISSION_MODE_AUTO,8,3     ## @TRANSMISSION_MODE_AUTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Using list for autosearch : %d\n"

	.no_dead_strip	_dib8000_autosearch_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8000_autosearch_start
_dib8000_autosearch_start:              ; @dib8000_autosearch_start
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x19, [x0]
	ldr	x8, [x19, #32]
	ldr	x21, [x8]
	ldr	w8, [x19]
	mov	w9, #32912
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #23
	bl	_dib8000_read32
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w20, w8, w9
	ldr	w8, [x19]
	b	LBB0_3
LBB0_2:
	ldr	x9, [x19, #24]
	ldr	w20, [x9]
LBB0_3:
	mov	w9, #32770
	cmp	w8, w9
	b.lt	LBB0_9
; %bb.4:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _AS_SEARCHING_FFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AS_SEARCHING_FFT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x19
	mov	w1, #37
	mov	w2, #101
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #116
	mov	w2, #0
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #0
	bl	_dib8000_read_word
	mov	w2, #32768
	bfxil	w2, w0, #0, #13
	mov	x0, x19
	mov	w1, #0
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #1
	bl	_dib8000_read_word
	and	w2, w0, #0xfffc
	mov	x0, x19
	mov	w1, #1
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #6
	mov	w2, #0
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #7
	mov	w2, #0
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #10
	bl	_dib8000_read_word
	and	w8, w0, #0x200
	orr	w2, w8, #0x100
	mov	x0, x19
	mov	w1, #10
	bl	_dib8000_write_word
	ldr	w8, [x19]
	mov	w9, #32912
	mov	x0, x19
	mov	x1, x20
	cmp	w8, w9
	b.ne	LBB0_16
; %bb.6:
	mov	w2, #10
	mov	w3, #10
	mov	w4, #10
	b	LBB0_17
LBB0_7:
Lloh3:
	adrp	x9, _AS_SEARCHING_GUARD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AS_SEARCHING_GUARD@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh6:
	adrp	x8, _GUARD_INTERVAL_1_8@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GUARD_INTERVAL_1_8@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	xzr, [x21, #32]
Lloh9:
	adrp	x9, _QAM_64@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QAM_64@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x10, [x21, #24]
	str	x9, [x10, #24]
	mov	w9, #13
	str	w9, [x10]
Lloh12:
	adrp	x9, _FEC_2_3@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FEC_2_3@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	stp	xzr, x9, [x10, #8]
	ldr	x9, [x19, #16]
	stp	x9, x8, [x21]
	mov	x0, x19
	mov	w1, #16
	mov	w2, #1
	bl	_dib8000_set_isdbt_common_channel
	mov	x0, x19
	mov	w1, #6
	mov	w2, #4
	bl	_dib8000_write_word
	ldr	w8, [x19]
	mov	w21, #32912
	mov	w9, #8
	mov	w10, #7168
	cmp	w8, w21
	csel	w2, w10, w9, eq
	mov	x0, x19
	mov	w1, #7
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #8
	mov	w2, #4096
	bl	_dib8000_write_word
	ldr	w8, [x19]
	mov	w9, #200
	mov	w10, #100
	cmp	w8, w21
	csel	w3, w10, w9, eq
	mov	x0, x19
	mov	x1, x20
	mov	w2, #50
	mov	w4, #1000
	bl	_dib8000_wait_lock
	mov	x0, x19
	mov	w1, #355
	mov	w2, #3
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #356
	mov	w2, #0
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #357
	mov	w2, #15
	bl	_dib8000_write_word
	b	LBB0_12
LBB0_9:
Lloh15:
	adrp	x8, _QAM_64@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QAM_64@GOTPAGEOFF]
	str	xzr, [x21, #32]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _FEC_2_3@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FEC_2_3@GOTPAGEOFF]
	ldp	x11, x10, [x21, #16]
	str	x8, [x10, #24]
Lloh20:
	ldr	x8, [x9]
	stp	xzr, x8, [x10, #8]
	mov	w8, #13
	str	w8, [x10]
	cbz	x11, LBB0_13
LBB0_10:
	mov	x0, x19
	mov	w1, #0
	bl	_dib8000_read_word
	mov	w8, #40959
	and	w8, w0, w8
	orr	w2, w8, #0x2000
	mov	x0, x19
	mov	w1, #0
	bl	_dib8000_write_word
	mov	w21, #7
LBB0_11:
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_dprintk
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_dib8000_set_isdbt_common_channel
	mov	x0, x19
	mov	w1, #6
	mov	w2, #4
	bl	_dib8000_write_word
	ldr	w8, [x19]
	mov	w21, #32912
	mov	w9, #8
	mov	w10, #7168
	cmp	w8, w21
	csel	w2, w10, w9, eq
	mov	x0, x19
	mov	w1, #7
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #8
	mov	w2, #4096
	bl	_dib8000_write_word
	ldr	w8, [x19]
	mov	w9, #100
	mov	w10, #200
	cmp	w8, w21
	csel	w3, w10, w9, eq
	mov	x0, x19
	mov	x1, x20
	mov	w2, #50
	mov	w4, #1000
	bl	_dib8000_wait_lock
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	bl	_dib8000_read_word
	mov	x20, x0
	orr	w2, w0, #0x8000
	mov	x0, x19
	mov	w1, #0
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #1284
	bl	_dib8000_read_word
	b	LBB0_18
LBB0_13:
Lloh23:
	adrp	x8, _GUARD_INTERVAL_AUTO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GUARD_INTERVAL_AUTO@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x8]
	ldp	x8, x11, [x21]
Lloh26:
	adrp	x9, _TRANSMISSION_MODE_AUTO@GOTPAGE
Lloh27:
	ldr	x9, [x9, _TRANSMISSION_MODE_AUTO@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x11, x10
	b.ne	LBB0_19
; %bb.14:
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.15:
Lloh29:
	adrp	x8, _TRANSMISSION_MODE_8K@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TRANSMISSION_MODE_8K@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
Lloh32:
	adrp	x9, _GUARD_INTERVAL_1_8@GOTPAGE
Lloh33:
	ldr	x9, [x9, _GUARD_INTERVAL_1_8@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	stp	x8, x9, [x21]
	b	LBB0_10
LBB0_16:
	mov	w2, #20
	mov	w3, #20
	mov	w4, #20
LBB0_17:
	bl	_dib8000_wait_lock
	mov	x20, x0
	mov	x0, x19
	mov	w1, #17
	mov	w2, #0
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #18
	mov	w2, #200
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #19
	mov	w2, #0
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #20
	mov	w2, #400
	bl	_dib8000_write_word
	lsr	w2, w20, #16
	mov	x0, x19
	mov	w1, #21
	bl	_dib8000_write_word
	and	w2, w20, #0xffff
	mov	x0, x19
	mov	w1, #22
	bl	_dib8000_write_word
	ldr	w20, [x19]
	mov	x0, x19
	mov	w1, #32
	bl	_dib8000_read_word
	mov	w8, #61695
	and	w8, w0, w8
	mov	w9, #2304
	orr	w9, w8, w9
	mov	w10, #32912
	cmp	w20, w10
	csel	w2, w8, w9, eq
	mov	x0, x19
	mov	w1, #32
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #355
	mov	w2, #2
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #356
	mov	w2, #0
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #357
	mov	w2, #273
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #770
	bl	_dib8000_read_word
	and	w8, w0, #0xffff
	orr	w2, w8, #0x2000
	mov	x0, x19
	mov	w1, #770
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #770
	bl	_dib8000_read_word
	mov	w8, #57343
	and	w2, w0, w8
	mov	x0, x19
	mov	w1, #770
	bl	_dib8000_write_word
	mov	x0, x19
	mov	w1, #0
	bl	_dib8000_read_word
	mov	w20, #8192
	bfxil	w20, w0, #0, #11
LBB0_18:
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_dib8000_write_word
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_19:
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.20:
Lloh35:
	adrp	x8, _TRANSMISSION_MODE_8K@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TRANSMISSION_MODE_8K@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	str	x8, [x21]
	mov	x0, x19
	mov	w1, #0
	bl	_dib8000_read_word
	mov	w8, #40959
	and	w8, w0, w8
	orr	w2, w8, #0x2000
	mov	x0, x19
	mov	w1, #0
	bl	_dib8000_write_word
	mov	w21, #2
	b	LBB0_11
LBB0_21:
Lloh38:
	adrp	x8, _GUARD_INTERVAL_1_8@GOTPAGE
Lloh39:
	ldr	x8, [x8, _GUARD_INTERVAL_1_8@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	str	x8, [x21, #8]
	mov	w21, #3
	b	LBB0_11
LBB0_22:
	mov	w21, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_AS_SEARCHING_FFT,8,3           ; @AS_SEARCHING_FFT
	.comm	_AS_SEARCHING_GUARD,8,3         ; @AS_SEARCHING_GUARD
	.comm	_TRANSMISSION_MODE_8K,8,3       ; @TRANSMISSION_MODE_8K
	.comm	_GUARD_INTERVAL_1_8,8,3         ; @GUARD_INTERVAL_1_8
	.comm	_QAM_64,8,3                     ; @QAM_64
	.comm	_FEC_2_3,8,3                    ; @FEC_2_3
	.comm	_GUARD_INTERVAL_AUTO,8,3        ; @GUARD_INTERVAL_AUTO
	.comm	_TRANSMISSION_MODE_AUTO,8,3     ; @TRANSMISSION_MODE_AUTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Using list for autosearch : %d\n"

	.no_dead_strip	_dib8000_autosearch_start
.subsections_via_symbols
