	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av7110_init_analog_module      ## -- Begin function av7110_init_analog_module
	.p2align	4, 0x90
_av7110_init_analog_module:             ## @av7110_init_analog_module
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$128, %esi
	xorl	%edx, %edx
	movl	$128, %ecx
	callq	_i2c_writereg
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	movl	$128, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_i2c_writereg
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.2:
	movq	_DVB_ADAC_MSP34x0@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_3:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$132, %esi
	xorl	%edx, %edx
	movl	$128, %ecx
	callq	_i2c_writereg
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.4:
	movq	%r14, %rdi
	movl	$132, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_i2c_writereg
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.5:
	movq	_DVB_ADAC_MSP34x5@GOTPCREL(%rip), %rbx
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	movl	16(%r14), %esi
	xorl	%eax, %eax
	callq	_pr_info
	movl	(%rbx), %eax
	movl	%eax, 20(%r14)
	movl	$100, %edi
	callq	_msleep
	movq	_MSP_RD_DSP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-32(%rbp), %rcx
	movq	%r14, %rdi
	movl	$30, %edx
	callq	_msp_readreg
	movl	(%rbx), %esi
	leaq	-28(%rbp), %rcx
	movq	%r14, %rdi
	movl	$31, %edx
	callq	_msp_readreg
	movl	16(%r14), %edx
	movl	-32(%rbp), %ecx
	movl	-28(%rbp), %r8d
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	movq	_MSP_WR_DSP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$19, %edx
	movl	$3072, %ecx                     ## imm = 0xC00
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$32512, %ecx                    ## imm = 0x7F00
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$8, %edx
	movl	$544, %ecx                      ## imm = 0x220
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$9, %edx
	movl	$544, %ecx                      ## imm = 0x220
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$4, %edx
	movl	$32512, %ecx                    ## imm = 0x7F00
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$10, %edx
	movl	$544, %ecx                      ## imm = 0x220
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$7, %edx
	movl	$32512, %ecx                    ## imm = 0x7F00
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$13, %edx
	movl	$6400, %ecx                     ## imm = 0x1900
	callq	_msp_writereg
	movq	%r14, %rdi
	movl	$72, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_i2c_writereg
	cmpl	$1, %eax
	jne	LBB0_12
## %bb.7:
	movq	_saa7113_init_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	8(%r14), %rdi
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	cmpl	$5058, %ecx                     ## imm = 0x13C2
	je	LBB0_13
## %bb.8:
	cmpl	$4362, %ecx                     ## imm = 0x110A
	jne	LBB0_18
## %bb.9:
	cmpl	$0, 4(%rax)
	jne	LBB0_18
	jmp	LBB0_16
LBB0_11:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_30
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	jmp	LBB0_29
LBB0_13:
	movl	4(%rax), %eax
	cmpl	$2, %eax
	je	LBB0_16
## %bb.14:
	cmpl	$10, %eax
	jne	LBB0_18
## %bb.15:
	movq	_ANALOG_TUNER_STV0297@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	movq	_ANALOG_TUNER_VES1820@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_18:
	movl	(%r14), %eax
	movq	_ANALOG_TUNER_VES1820@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.19:
	movl	$9, %esi
	movl	$15, %edx
	movl	$32, %ecx
	callq	_ves1820_writereg
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_23
LBB0_21:
	movq	_ANALOG_TUNER_STV0297@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.22:
	movq	_SAA7146_GPIO_OUTLO@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	$1, %esi
	callq	_saa7146_setgpio
	movq	8(%r14), %rdi
	movl	(%r15), %edx
	movl	$3, %esi
	callq	_saa7146_setgpio
LBB0_23:
	movl	(%rbx), %edx
	cmpl	$255, %edx
	je	LBB0_28
## %bb.24:
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %ecx
	movq	%r14, %rdi
	movl	$72, %esi
	callq	_i2c_writereg
	cmpl	$1, %eax
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	(%rbx), %edx
	addq	$8, %rbx
	cmpl	$255, %edx
	jne	LBB0_25
	jmp	LBB0_28
LBB0_27:
	movl	16(%r14), %edx
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
LBB0_28:
	movq	_MSP_WR_DEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$187, %edx
	movl	$720, %ecx                      ## imm = 0x2D0
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$3, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$18, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$27, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$48, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$66, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$72, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$5, %edx
	movl	$4, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$5, %edx
	movl	$64, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$5, %edx
	xorl	%ecx, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$5, %edx
	movl	$3, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$5, %edx
	movl	$18, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$5, %edx
	movl	$27, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$5, %edx
	movl	$48, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$5, %edx
	movl	$66, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$5, %edx
	movl	$72, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$131, %edx
	movl	$40960, %ecx                    ## imm = 0xA000
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$147, %edx
	movl	$170, %ecx
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$155, %edx
	movl	$1276, %ecx                     ## imm = 0x4FC
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$163, %edx
	movl	$910, %ecx                      ## imm = 0x38E
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$171, %edx
	movl	$1222, %ecx                     ## imm = 0x4C6
	callq	_msp_writereg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$86, %edx
	xorl	%ecx, %ecx
	callq	_msp_writereg
LBB0_29:
	movq	_standard@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_dvb_standard@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edx
	callq	_memcpy
	movq	8(%r14), %rdi
	movq	_DD1_STREAM_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_saa7146_write
	movq	8(%r14), %rdi
	movq	_DD1_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$50333440, %edx                 ## imm = 0x3000700
	callq	_saa7146_write
	movq	8(%r14), %rdi
	movq	_MASK_09@GOTPCREL(%rip), %rax
	movq	_MASK_25@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_MC2@GOTPCREL(%rip), %rax
	movq	_MASK_10@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_MASK_26@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_saa7146_write
LBB0_30:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DVB-C analog module @ card %d detected, initializing MSP3400\n"

	.comm	_DVB_ADAC_MSP34x0,4,2           ## @DVB_ADAC_MSP34x0
L_.str.1:                               ## @.str.1
	.asciz	"DVB-C analog module @ card %d detected, initializing MSP3415\n"

	.comm	_DVB_ADAC_MSP34x5,4,2           ## @DVB_ADAC_MSP34x5
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_MSP_RD_DSP,4,2                 ## @MSP_RD_DSP
L_.str.2:                               ## @.str.2
	.asciz	"dvb-ttpci: @ card %d MSP34xx version 0x%04x 0x%04x\n"

	.comm	_MSP_WR_DSP,4,2                 ## @MSP_WR_DSP
L_.str.3:                               ## @.str.3
	.asciz	"saa7113 not accessible\n"

	.comm	_saa7113_init_regs,8,3          ## @saa7113_init_regs
	.comm	_ANALOG_TUNER_VES1820,4,2       ## @ANALOG_TUNER_VES1820
	.comm	_ANALOG_TUNER_STV0297,4,2       ## @ANALOG_TUNER_STV0297
L_.str.4:                               ## @.str.4
	.asciz	"setting band in demodulator failed\n"

	.comm	_SAA7146_GPIO_OUTLO,4,2         ## @SAA7146_GPIO_OUTLO
L_.str.5:                               ## @.str.5
	.asciz	"saa7113 initialization failed @ card %d"

	.comm	_MSP_WR_DEM,4,2                 ## @MSP_WR_DEM
	.comm	_standard,4,2                   ## @standard
	.comm	_dvb_standard,4,2               ## @dvb_standard
	.comm	_DD1_STREAM_B,4,2               ## @DD1_STREAM_B
	.comm	_DD1_INIT,4,2                   ## @DD1_INIT
	.comm	_MC2,4,2                        ## @MC2
	.comm	_MASK_09,4,2                    ## @MASK_09
	.comm	_MASK_25,4,2                    ## @MASK_25
	.comm	_MASK_10,4,2                    ## @MASK_10
	.comm	_MASK_26,4,2                    ## @MASK_26
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av7110_init_analog_module      ; -- Begin function av7110_init_analog_module
	.p2align	2
_av7110_init_analog_module:             ; @av7110_init_analog_module
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	mov	w1, #128
	mov	w2, #0
	mov	w3, #128
	bl	_i2c_writereg
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #128
	mov	w2, #0
	mov	w3, #0
	bl	_i2c_writereg
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x20, _DVB_ADAC_MSP34x0@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DVB_ADAC_MSP34x0@GOTPAGEOFF]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
	mov	x0, x19
	mov	w1, #132
	mov	w2, #0
	mov	w3, #128
	bl	_i2c_writereg
	cmp	w0, #1
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x19
	mov	w1, #132
	mov	w2, #0
	mov	w3, #0
	bl	_i2c_writereg
	cmp	w0, #1
	b.ne	LBB0_10
; %bb.5:
Lloh4:
	adrp	x20, _DVB_ADAC_MSP34x5@GOTPAGE
Lloh5:
	ldr	x20, [x20, _DVB_ADAC_MSP34x5@GOTPAGEOFF]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	ldr	w8, [x19, #16]
	str	x8, [sp]
	bl	_pr_info
	ldr	w8, [x20]
	str	w8, [x19, #20]
	mov	w0, #100
	bl	_msleep
Lloh8:
	adrp	x20, _MSP_RD_DSP@GOTPAGE
Lloh9:
	ldr	x20, [x20, _MSP_RD_DSP@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x3, sp, #28
	mov	x0, x19
	mov	w2, #30
	bl	_msp_readreg
	ldr	w1, [x20]
	add	x3, sp, #24
	mov	x0, x19
	mov	w2, #31
	bl	_msp_readreg
	ldr	w8, [x19, #16]
	ldp	w10, w9, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_dprintk
Lloh12:
	adrp	x20, _MSP_WR_DSP@GOTPAGE
Lloh13:
	ldr	x20, [x20, _MSP_WR_DSP@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #19
	mov	w3, #3072
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #32512
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #8
	mov	w3, #544
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #9
	mov	w3, #544
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #4
	mov	w3, #32512
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #10
	mov	w3, #544
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #7
	mov	w3, #32512
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #13
	mov	w3, #6400
	bl	_msp_writereg
	mov	x0, x19
	mov	w1, #72
	mov	w2, #1
	mov	w3, #0
	bl	_i2c_writereg
	cmp	w0, #1
	b.ne	LBB0_11
; %bb.7:
Lloh14:
	adrp	x8, _saa7113_init_regs@GOTPAGE
Lloh15:
	ldr	x8, [x8, _saa7113_init_regs@GOTPAGEOFF]
Lloh16:
	ldr	x20, [x8]
	ldr	x0, [x19, #8]
	ldr	x9, [x0]
	ldr	w10, [x9]
	mov	w11, #5058
Lloh17:
	adrp	x8, _ANALOG_TUNER_VES1820@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ANALOG_TUNER_VES1820@GOTPAGEOFF]
	cmp	w10, w11
	b.eq	LBB0_12
; %bb.8:
	mov	w11, #4362
	cmp	w10, w11
	b.ne	LBB0_17
; %bb.9:
	ldr	w9, [x9, #4]
	cbnz	w9, LBB0_17
	b	LBB0_15
LBB0_10:
Lloh19:
	adrp	x8, _ENODEV@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_29
LBB0_11:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_info
	b	LBB0_28
LBB0_12:
	ldr	w9, [x9, #4]
	cmp	w9, #2
	b.eq	LBB0_15
; %bb.13:
	cmp	w9, #10
	b.ne	LBB0_17
; %bb.14:
Lloh24:
	adrp	x9, _ANALOG_TUNER_STV0297@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ANALOG_TUNER_STV0297@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh26:
	adrp	x9, _ANALOG_TUNER_VES1820@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ANALOG_TUNER_VES1820@GOTPAGEOFF]
LBB0_16:
	ldr	w9, [x9]
	ldr	w10, [x19]
	orr	w9, w10, w9
	str	w9, [x19]
LBB0_17:
	ldr	w9, [x19]
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_20
; %bb.18:
	mov	w1, #9
	mov	w2, #15
	mov	w3, #32
	bl	_ves1820_writereg
	cbz	x0, LBB0_22
; %bb.19:
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	b	LBB0_22
LBB0_20:
Lloh30:
	adrp	x8, _ANALOG_TUNER_STV0297@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ANALOG_TUNER_STV0297@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_22
; %bb.21:
Lloh33:
	adrp	x21, _SAA7146_GPIO_OUTLO@GOTPAGE
Lloh34:
	ldr	x21, [x21, _SAA7146_GPIO_OUTLO@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #1
	bl	_saa7146_setgpio
	ldr	x0, [x19, #8]
	ldr	w2, [x21]
	mov	w1, #3
	bl	_saa7146_setgpio
LBB0_22:
	ldr	w2, [x20]
	cmp	w2, #255
	b.eq	LBB0_27
; %bb.23:
	add	x20, x20, #8
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldur	w3, [x20, #-4]
	mov	x0, x19
	mov	w1, #72
	bl	_i2c_writereg
	cmp	w0, #1
	b.ne	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w2, [x20], #8
	cmp	w2, #255
	b.ne	LBB0_24
	b	LBB0_27
LBB0_26:
	ldr	w8, [x19, #16]
	str	x8, [sp]
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_dprintk
LBB0_27:
Lloh37:
	adrp	x20, _MSP_WR_DEM@GOTPAGE
Lloh38:
	ldr	x20, [x20, _MSP_WR_DEM@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #187
	mov	w3, #720
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #3
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #18
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #27
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #48
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #66
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #72
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #5
	mov	w3, #4
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #5
	mov	w3, #64
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #5
	mov	w3, #0
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #5
	mov	w3, #3
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #5
	mov	w3, #18
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #5
	mov	w3, #27
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #5
	mov	w3, #48
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #5
	mov	w3, #66
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #5
	mov	w3, #72
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #131
	mov	w3, #40960
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #147
	mov	w3, #170
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #155
	mov	w3, #1276
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #163
	mov	w3, #910
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #171
	mov	w3, #1222
	bl	_msp_writereg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #86
	mov	w3, #0
	bl	_msp_writereg
LBB0_28:
Lloh39:
	adrp	x8, _standard@GOTPAGE
Lloh40:
	ldr	x8, [x8, _standard@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _dvb_standard@GOTPAGE
Lloh43:
	ldr	x8, [x8, _dvb_standard@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	w2, #8
	bl	_memcpy
	ldr	x0, [x19, #8]
Lloh45:
	adrp	x8, _DD1_STREAM_B@GOTPAGE
Lloh46:
	ldr	x8, [x8, _DD1_STREAM_B@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_saa7146_write
	ldr	x0, [x19, #8]
Lloh48:
	adrp	x8, _DD1_INIT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _DD1_INIT@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	w2, #1792
	movk	w2, #768, lsl #16
	bl	_saa7146_write
	ldr	x0, [x19, #8]
Lloh51:
	adrp	x8, _MC2@GOTPAGE
Lloh52:
	ldr	x8, [x8, _MC2@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
Lloh54:
	adrp	x8, _MASK_09@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MASK_09@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _MASK_25@GOTPAGE
Lloh58:
	ldr	x9, [x9, _MASK_25@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh60:
	adrp	x9, _MASK_10@GOTPAGE
Lloh61:
	ldr	x9, [x9, _MASK_10@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh63:
	adrp	x9, _MASK_26@GOTPAGE
Lloh64:
	ldr	x9, [x9, _MASK_26@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_saa7146_write
	mov	w0, #0
LBB0_29:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DVB-C analog module @ card %d detected, initializing MSP3400\n"

	.comm	_DVB_ADAC_MSP34x0,4,2           ; @DVB_ADAC_MSP34x0
l_.str.1:                               ; @.str.1
	.asciz	"DVB-C analog module @ card %d detected, initializing MSP3415\n"

	.comm	_DVB_ADAC_MSP34x5,4,2           ; @DVB_ADAC_MSP34x5
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_MSP_RD_DSP,4,2                 ; @MSP_RD_DSP
l_.str.2:                               ; @.str.2
	.asciz	"dvb-ttpci: @ card %d MSP34xx version 0x%04x 0x%04x\n"

	.comm	_MSP_WR_DSP,4,2                 ; @MSP_WR_DSP
l_.str.3:                               ; @.str.3
	.asciz	"saa7113 not accessible\n"

	.comm	_saa7113_init_regs,8,3          ; @saa7113_init_regs
	.comm	_ANALOG_TUNER_VES1820,4,2       ; @ANALOG_TUNER_VES1820
	.comm	_ANALOG_TUNER_STV0297,4,2       ; @ANALOG_TUNER_STV0297
l_.str.4:                               ; @.str.4
	.asciz	"setting band in demodulator failed\n"

	.comm	_SAA7146_GPIO_OUTLO,4,2         ; @SAA7146_GPIO_OUTLO
l_.str.5:                               ; @.str.5
	.asciz	"saa7113 initialization failed @ card %d"

	.comm	_MSP_WR_DEM,4,2                 ; @MSP_WR_DEM
	.comm	_standard,4,2                   ; @standard
	.comm	_dvb_standard,4,2               ; @dvb_standard
	.comm	_DD1_STREAM_B,4,2               ; @DD1_STREAM_B
	.comm	_DD1_INIT,4,2                   ; @DD1_INIT
	.comm	_MC2,4,2                        ; @MC2
	.comm	_MASK_09,4,2                    ; @MASK_09
	.comm	_MASK_25,4,2                    ; @MASK_25
	.comm	_MASK_10,4,2                    ; @MASK_10
	.comm	_MASK_26,4,2                    ; @MASK_26
.subsections_via_symbols
