	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_av7110_av
_init_av7110_av:                        ## @init_av7110_av
	.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, %rbx
	movq	16(%rdi), %r14
	movq	_DVB_ADAC_TI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movl	4(%rdi), %edx
	movl	8(%rdi), %esi
	callq	_av7110_set_volume
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printk
LBB0_2:
	movq	_COMTYPE_ENCODER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_SetMonitorType@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	48(%rbx), %r8d
	movq	%rbx, %rdi
	movl	$1, %ecx
	xorl	%eax, %eax
	callq	_av7110_fw_cmd
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_4:
	movl	(%r15), %esi
	movq	_SetPanScanType@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %r8d
	movq	%rbx, %rdi
	movl	$1, %ecx
	xorl	%eax, %eax
	callq	_av7110_fw_cmd
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_6:
	movl	(%r15), %esi
	movq	_SetWSSConfig@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_wss_cfg_4_3@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	xorl	%eax, %eax
	callq	_av7110_fw_cmd
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_8:
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	_wss_cfg_16_9@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rdi
	movl	$2, %ecx
	movl	$3, %r8d
	xorl	%eax, %eax
	callq	_av7110_fw_cmd
	testl	%eax, %eax
	jns	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_10:
	movq	_vidmode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_av7710_set_video_mode
	testl	%eax, %eax
	jns	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printk
LBB0_12:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movq	(%r14), %rax
	cmpl	$5058, (%rax)                   ## imm = 0x13C2
	jne	LBB0_15
## %bb.13:
	cmpl	$10, 4(%rax)
	jne	LBB0_15
## %bb.14:
	movq	_COMTYPE_AUDIODAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ADSwitch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_av7110_fw_cmd
LBB0_15:
	movq	%rbx, %rdi
	movl	$32, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_i2c_writereg
	cmpl	$1, %eax
	jne	LBB0_17
## %bb.16:
	movl	28(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	_DVB_ADAC_CRYSTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	movl	$32, %esi
	movl	$1, %edx
	movl	$210, %ecx
	callq	_i2c_writereg
	movq	%rbx, %rdi
	movl	$32, %esi
	movl	$2, %edx
	movl	$73, %ecx
	callq	_i2c_writereg
	movq	%rbx, %rdi
	movl	$32, %esi
	movl	$3, %edx
	xorl	%ecx, %ecx
	callq	_i2c_writereg
	movq	%rbx, %rdi
	movl	$32, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_i2c_writereg
	jmp	LBB0_21
LBB0_17:
	movq	%rbx, %rdi
	callq	_av7110_init_analog_module
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:
	movq	(%r14), %rax
	cmpl	$4362, (%rax)                   ## imm = 0x110A
	jne	LBB0_20
## %bb.19:
	movl	28(%rbx), %esi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	_DVB_ADAC_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	jmp	LBB0_21
LBB0_20:
	movq	_adac@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, 24(%rbx)
	movl	28(%rbx), %edx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_21:
	movl	24(%rbx), %eax
	movq	_DVB_ADAC_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_23
## %bb.22:
	movq	_DVB_ADAC_MSP34x0@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_32
LBB0_23:
	movq	_COMTYPE_AUDIODAC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_MainSwitch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_av7110_fw_cmd
	testl	%eax, %eax
	jns	LBB0_25
## %bb.24:
	leaq	L_.str.9(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printk
LBB0_25:
	movl	(%r15), %esi
	movq	_ADSwitch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	xorl	%eax, %eax
	callq	_av7110_fw_cmd
	testl	%eax, %eax
	jns	LBB0_27
## %bb.26:
	leaq	L_.str.10(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printk
LBB0_27:
	movq	_rgb_on@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_32
## %bb.28:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	cmpl	$5058, %ecx                     ## imm = 0x13C2
	je	LBB0_30
## %bb.29:
	cmpl	$4362, %ecx                     ## imm = 0x110A
	jne	LBB0_32
LBB0_30:
	cmpl	$0, 4(%rax)
	jne	LBB0_32
## %bb.31:
	movq	_SAA7146_GPIO_OUTHI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_saa7146_setgpio
LBB0_32:
	movq	(%r14), %rax
	cmpl	$5058, (%rax)                   ## imm = 0x13C2
	jne	LBB0_35
## %bb.33:
	cmpl	$14, 4(%rax)
	jne	LBB0_35
## %bb.34:
	movq	_COMTYPE_AUDIODAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SpdifSwitch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_av7110_fw_cmd
LBB0_35:
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	_av7110_set_volume
	testl	%eax, %eax
	js	LBB0_37
## %bb.36:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	leaq	L_.str.11(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printk                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DVB_ADAC_TI,4,2                ## @DVB_ADAC_TI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dvb-ttpci:cannot set internal volume to maximum:%d\n"

	.comm	_COMTYPE_ENCODER,4,2            ## @COMTYPE_ENCODER
	.comm	_SetMonitorType,4,2             ## @SetMonitorType
L_.str.1:                               ## @.str.1
	.asciz	"dvb-ttpci: unable to set aspect ratio\n"

	.comm	_SetPanScanType,4,2             ## @SetPanScanType
L_.str.2:                               ## @.str.2
	.asciz	"dvb-ttpci: unable to set pan scan\n"

	.comm	_SetWSSConfig,4,2               ## @SetWSSConfig
	.comm	_wss_cfg_4_3,4,2                ## @wss_cfg_4_3
L_.str.3:                               ## @.str.3
	.asciz	"dvb-ttpci: unable to configure 4:3 wss\n"

	.comm	_wss_cfg_16_9,4,2               ## @wss_cfg_16_9
L_.str.4:                               ## @.str.4
	.asciz	"dvb-ttpci: unable to configure 16:9 wss\n"

	.comm	_vidmode,4,2                    ## @vidmode
L_.str.5:                               ## @.str.5
	.asciz	"dvb-ttpci:cannot set video mode:%d\n"

	.comm	_COMTYPE_AUDIODAC,4,2           ## @COMTYPE_AUDIODAC
	.comm	_ADSwitch,4,2                   ## @ADSwitch
L_.str.6:                               ## @.str.6
	.asciz	"dvb-ttpci: Crystal audio DAC @ card %d detected\n"

	.comm	_DVB_ADAC_CRYSTAL,4,2           ## @DVB_ADAC_CRYSTAL
L_.str.7:                               ## @.str.7
	.asciz	"dvb-ttpci: DVB-C w/o analog module @ card %d detected\n"

	.comm	_DVB_ADAC_NONE,4,2              ## @DVB_ADAC_NONE
	.comm	_adac,4,2                       ## @adac
L_.str.8:                               ## @.str.8
	.asciz	"dvb-ttpci: adac type set to %d @ card %d\n"

	.comm	_DVB_ADAC_MSP34x0,4,2           ## @DVB_ADAC_MSP34x0
	.comm	_MainSwitch,4,2                 ## @MainSwitch
L_.str.9:                               ## @.str.9
	.asciz	"dvb-ttpci:cannot switch on SCART(Main):%d\n"

L_.str.10:                              ## @.str.10
	.asciz	"dvb-ttpci:cannot switch on SCART(AD):%d\n"

	.comm	_rgb_on,8,3                     ## @rgb_on
	.comm	_SAA7146_GPIO_OUTHI,4,2         ## @SAA7146_GPIO_OUTHI
	.comm	_SpdifSwitch,4,2                ## @SpdifSwitch
L_.str.11:                              ## @.str.11
	.asciz	"dvb-ttpci:cannot set volume :%d\n"

	.no_dead_strip	_init_av7110_av
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_av7110_av
_init_av7110_av:                        ; @init_av7110_av
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x8, _DVB_ADAC_TI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DVB_ADAC_TI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	ldp	w2, w1, [x0, #4]
	bl	_av7110_set_volume
                                        ; kill: def $w0 killed $w0 def $x0
	tbz	w0, #31, LBB0_2
; %bb.1:
	str	x0, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_2:
Lloh5:
	adrp	x21, _COMTYPE_ENCODER@GOTPAGE
Lloh6:
	ldr	x21, [x21, _COMTYPE_ENCODER@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh7:
	adrp	x8, _SetMonitorType@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SetMonitorType@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	ldr	w4, [x19, #48]
	mov	x0, x19
	mov	w3, #1
	bl	_av7110_fw_cmd
	tbz	w0, #31, LBB0_4
; %bb.3:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
LBB0_4:
	ldr	w1, [x21]
Lloh12:
	adrp	x8, _SetPanScanType@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SetPanScanType@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	ldr	w4, [x19]
	mov	x0, x19
	mov	w3, #1
	bl	_av7110_fw_cmd
	tbz	w0, #31, LBB0_6
; %bb.5:
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
LBB0_6:
	ldr	w1, [x21]
Lloh17:
	adrp	x22, _SetWSSConfig@GOTPAGE
Lloh18:
	ldr	x22, [x22, _SetWSSConfig@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh19:
	adrp	x8, _wss_cfg_4_3@GOTPAGE
Lloh20:
	ldr	x8, [x8, _wss_cfg_4_3@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	x8, [sp]
	mov	x0, x19
	mov	w3, #2
	mov	w4, #2
	bl	_av7110_fw_cmd
	tbz	w0, #31, LBB0_8
; %bb.7:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printk
LBB0_8:
	ldr	w1, [x21]
	ldr	w2, [x22]
Lloh24:
	adrp	x8, _wss_cfg_16_9@GOTPAGE
Lloh25:
	ldr	x8, [x8, _wss_cfg_16_9@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	x8, [sp]
	mov	x0, x19
	mov	w3, #2
	mov	w4, #3
	bl	_av7110_fw_cmd
	tbz	w0, #31, LBB0_10
; %bb.9:
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printk
LBB0_10:
Lloh29:
	adrp	x8, _vidmode@GOTPAGE
Lloh30:
	ldr	x8, [x8, _vidmode@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_av7710_set_video_mode
                                        ; kill: def $w0 killed $w0 def $x0
	tbz	w0, #31, LBB0_12
; %bb.11:
	str	x0, [sp]
Lloh32:
	adrp	x0, l_.str.5@PAGE
Lloh33:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printk
LBB0_12:
	stp	xzr, xzr, [x19, #32]
	ldr	x8, [x20]
	ldr	w9, [x8]
	mov	w10, #5058
	cmp	w9, w10
	b.ne	LBB0_15
; %bb.13:
	ldr	w8, [x8, #4]
	cmp	w8, #10
	b.ne	LBB0_15
; %bb.14:
Lloh34:
	adrp	x8, _COMTYPE_AUDIODAC@GOTPAGE
Lloh35:
	ldr	x8, [x8, _COMTYPE_AUDIODAC@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _ADSwitch@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ADSwitch@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	bl	_av7110_fw_cmd
LBB0_15:
	mov	x0, x19
	mov	w1, #32
	mov	w2, #0
	mov	w3, #0
	bl	_i2c_writereg
Lloh40:
	adrp	x21, _DVB_ADAC_NONE@GOTPAGE
Lloh41:
	ldr	x21, [x21, _DVB_ADAC_NONE@GOTPAGEOFF]
	cmp	w0, #1
	b.ne	LBB0_17
; %bb.16:
	ldr	w8, [x19, #28]
	str	x8, [sp]
Lloh42:
	adrp	x0, l_.str.6@PAGE
Lloh43:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printk
Lloh44:
	adrp	x8, _DVB_ADAC_CRYSTAL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _DVB_ADAC_CRYSTAL@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	mov	x0, x19
	mov	w1, #32
	mov	w2, #1
	mov	w3, #210
	bl	_i2c_writereg
	mov	x0, x19
	mov	w1, #32
	mov	w2, #2
	mov	w3, #73
	bl	_i2c_writereg
	mov	x0, x19
	mov	w1, #32
	mov	w2, #3
	mov	w3, #0
	bl	_i2c_writereg
	mov	x0, x19
	mov	w1, #32
	mov	w2, #4
	mov	w3, #0
	bl	_i2c_writereg
	b	LBB0_21
LBB0_17:
	mov	x0, x19
	bl	_av7110_init_analog_module
	cbz	x0, LBB0_21
; %bb.18:
	ldr	x8, [x20]
	ldr	w8, [x8]
	mov	w9, #4362
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.19:
	ldr	w8, [x19, #28]
	str	x8, [sp]
Lloh47:
	adrp	x0, l_.str.7@PAGE
Lloh48:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printk
	ldr	w8, [x21]
	str	w8, [x19, #24]
	b	LBB0_21
LBB0_20:
Lloh49:
	adrp	x8, _adac@GOTPAGE
Lloh50:
	ldr	x8, [x8, _adac@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	w9, [x19, #28]
	stp	x8, x9, [sp]
Lloh52:
	adrp	x0, l_.str.8@PAGE
Lloh53:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printk
LBB0_21:
	ldr	w8, [x19, #24]
	ldr	w9, [x21]
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.22:
Lloh54:
	adrp	x9, _DVB_ADAC_MSP34x0@GOTPAGE
Lloh55:
	ldr	x9, [x9, _DVB_ADAC_MSP34x0@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_32
LBB0_23:
Lloh57:
	adrp	x21, _COMTYPE_AUDIODAC@GOTPAGE
Lloh58:
	ldr	x21, [x21, _COMTYPE_AUDIODAC@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh59:
	adrp	x8, _MainSwitch@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MainSwitch@GOTPAGEOFF]
Lloh61:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	bl	_av7110_fw_cmd
                                        ; kill: def $w0 killed $w0 def $x0
	tbz	w0, #31, LBB0_25
; %bb.24:
	str	x0, [sp]
Lloh62:
	adrp	x0, l_.str.9@PAGE
Lloh63:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printk
LBB0_25:
	ldr	w1, [x21]
Lloh64:
	adrp	x8, _ADSwitch@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ADSwitch@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	bl	_av7110_fw_cmd
                                        ; kill: def $w0 killed $w0 def $x0
	tbz	w0, #31, LBB0_27
; %bb.26:
	str	x0, [sp]
Lloh67:
	adrp	x0, l_.str.10@PAGE
Lloh68:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printk
LBB0_27:
Lloh69:
	adrp	x8, _rgb_on@GOTPAGE
Lloh70:
	ldr	x8, [x8, _rgb_on@GOTPAGEOFF]
Lloh71:
	ldr	x8, [x8]
	cbz	x8, LBB0_32
; %bb.28:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	w9, [x8]
	mov	w10, #5058
	cmp	w9, w10
	b.eq	LBB0_30
; %bb.29:
	mov	w10, #4362
	cmp	w9, w10
	b.ne	LBB0_32
LBB0_30:
	ldr	w8, [x8, #4]
	cbnz	w8, LBB0_32
; %bb.31:
Lloh72:
	adrp	x8, _SAA7146_GPIO_OUTHI@GOTPAGE
Lloh73:
	ldr	x8, [x8, _SAA7146_GPIO_OUTHI@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #1
	bl	_saa7146_setgpio
LBB0_32:
	ldr	x8, [x20]
	ldr	w9, [x8]
	mov	w10, #5058
	cmp	w9, w10
	b.ne	LBB0_35
; %bb.33:
	ldr	w8, [x8, #4]
	cmp	w8, #14
	b.ne	LBB0_35
; %bb.34:
Lloh75:
	adrp	x8, _COMTYPE_AUDIODAC@GOTPAGE
Lloh76:
	ldr	x8, [x8, _COMTYPE_AUDIODAC@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
Lloh78:
	adrp	x8, _SpdifSwitch@GOTPAGE
Lloh79:
	ldr	x8, [x8, _SpdifSwitch@GOTPAGEOFF]
Lloh80:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	bl	_av7110_fw_cmd
LBB0_35:
	ldp	w2, w1, [x19, #4]
	mov	x0, x19
	bl	_av7110_set_volume
                                        ; kill: def $w0 killed $w0 def $x0
	tbz	w0, #31, LBB0_37
; %bb.36:
	str	x0, [sp]
Lloh81:
	adrp	x0, l_.str.11@PAGE
Lloh82:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_printk
LBB0_37:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh81, Lloh82
	.cfi_endproc
                                        ; -- End function
	.comm	_DVB_ADAC_TI,4,2                ; @DVB_ADAC_TI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dvb-ttpci:cannot set internal volume to maximum:%d\n"

	.comm	_COMTYPE_ENCODER,4,2            ; @COMTYPE_ENCODER
	.comm	_SetMonitorType,4,2             ; @SetMonitorType
l_.str.1:                               ; @.str.1
	.asciz	"dvb-ttpci: unable to set aspect ratio\n"

	.comm	_SetPanScanType,4,2             ; @SetPanScanType
l_.str.2:                               ; @.str.2
	.asciz	"dvb-ttpci: unable to set pan scan\n"

	.comm	_SetWSSConfig,4,2               ; @SetWSSConfig
	.comm	_wss_cfg_4_3,4,2                ; @wss_cfg_4_3
l_.str.3:                               ; @.str.3
	.asciz	"dvb-ttpci: unable to configure 4:3 wss\n"

	.comm	_wss_cfg_16_9,4,2               ; @wss_cfg_16_9
l_.str.4:                               ; @.str.4
	.asciz	"dvb-ttpci: unable to configure 16:9 wss\n"

	.comm	_vidmode,4,2                    ; @vidmode
l_.str.5:                               ; @.str.5
	.asciz	"dvb-ttpci:cannot set video mode:%d\n"

	.comm	_COMTYPE_AUDIODAC,4,2           ; @COMTYPE_AUDIODAC
	.comm	_ADSwitch,4,2                   ; @ADSwitch
l_.str.6:                               ; @.str.6
	.asciz	"dvb-ttpci: Crystal audio DAC @ card %d detected\n"

	.comm	_DVB_ADAC_CRYSTAL,4,2           ; @DVB_ADAC_CRYSTAL
l_.str.7:                               ; @.str.7
	.asciz	"dvb-ttpci: DVB-C w/o analog module @ card %d detected\n"

	.comm	_DVB_ADAC_NONE,4,2              ; @DVB_ADAC_NONE
	.comm	_adac,4,2                       ; @adac
l_.str.8:                               ; @.str.8
	.asciz	"dvb-ttpci: adac type set to %d @ card %d\n"

	.comm	_DVB_ADAC_MSP34x0,4,2           ; @DVB_ADAC_MSP34x0
	.comm	_MainSwitch,4,2                 ; @MainSwitch
l_.str.9:                               ; @.str.9
	.asciz	"dvb-ttpci:cannot switch on SCART(Main):%d\n"

l_.str.10:                              ; @.str.10
	.asciz	"dvb-ttpci:cannot switch on SCART(AD):%d\n"

	.comm	_rgb_on,8,3                     ; @rgb_on
	.comm	_SAA7146_GPIO_OUTHI,4,2         ; @SAA7146_GPIO_OUTHI
	.comm	_SpdifSwitch,4,2                ; @SpdifSwitch
l_.str.11:                              ; @.str.11
	.asciz	"dvb-ttpci:cannot set volume :%d\n"

	.no_dead_strip	_init_av7110_av
.subsections_via_symbols
