	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_halt_firmware             ## -- Begin function ivtv_halt_firmware
	.p2align	4, 0x90
_ivtv_halt_firmware:                    ## @ivtv_halt_firmware
	.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, %rbx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_CX2341X_DEC_HALT_FW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ivtv_vapi
LBB0_3:
	cmpl	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:
	movq	_CX2341X_ENC_HALT_FW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ivtv_vapi
LBB0_5:
	movl	$10, %edi
	xorl	%esi, %esi
	callq	_ivtv_msleep_timeout
	movq	$0, 8(%rbx)
	movl	$0, 16(%rbx)
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	movq	_IVTV_CMD_VDM_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IVTV_REG_VDM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_reg
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	movq	_IVTV_CMD_AO_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IVTV_REG_AO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_reg
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	movq	_IVTV_CMD_APU_PING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IVTV_REG_APU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_reg
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	cmpq	$0, (%rbx)
	jne	LBB0_6
## %bb.7:
	movq	_IVTV_CMD_VPU_STOP16@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_IVTV_CMD_VPU_STOP15@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edi
	movq	_IVTV_REG_VPU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_reg
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	movq	_IVTV_CMD_HW_BLOCKS_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IVTV_REG_HW_BLOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_reg
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	movq	_IVTV_CMD_SPU_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IVTV_REG_SPU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_reg
	movl	$10, %edi
	xorl	%esi, %esi
	callq	_ivtv_msleep_timeout
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	movq	_IVTV_CMD_SDRAM_PRECHARGE_INIT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_IVTV_REG_ENC_SDRAM_PRECHARGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_reg
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	movq	_IVTV_CMD_SDRAM_REFRESH_INIT@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_IVTV_REG_ENC_SDRAM_REFRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_reg
	cmpq	$0, (%rbx)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	movl	(%r14), %edi
	movq	_IVTV_REG_DEC_SDRAM_PRECHARGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_reg
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	movl	(%r15), %edi
	movq	_IVTV_REG_DEC_SDRAM_REFRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_reg
LBB0_10:
	movq	_IVTV_SDRAM_SLEEPTIME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_IVTV_DEBUG_INFO
	movl	(%rbx), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ivtv_msleep_timeout            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Preparing for firmware halt.\n"

	.comm	_CX2341X_DEC_HALT_FW,4,2        ## @CX2341X_DEC_HALT_FW
	.comm	_CX2341X_ENC_HALT_FW,4,2        ## @CX2341X_ENC_HALT_FW
L_.str.1:                               ## @.str.1
	.asciz	"Stopping VDM\n"

	.comm	_IVTV_CMD_VDM_STOP,4,2          ## @IVTV_CMD_VDM_STOP
	.comm	_IVTV_REG_VDM,4,2               ## @IVTV_REG_VDM
L_.str.2:                               ## @.str.2
	.asciz	"Stopping AO\n"

	.comm	_IVTV_CMD_AO_STOP,4,2           ## @IVTV_CMD_AO_STOP
	.comm	_IVTV_REG_AO,4,2                ## @IVTV_REG_AO
L_.str.3:                               ## @.str.3
	.asciz	"pinging (?) APU\n"

	.comm	_IVTV_CMD_APU_PING,4,2          ## @IVTV_CMD_APU_PING
	.comm	_IVTV_REG_APU,4,2               ## @IVTV_REG_APU
L_.str.4:                               ## @.str.4
	.asciz	"Stopping VPU\n"

	.comm	_IVTV_CMD_VPU_STOP16,4,2        ## @IVTV_CMD_VPU_STOP16
	.comm	_IVTV_REG_VPU,4,2               ## @IVTV_REG_VPU
	.comm	_IVTV_CMD_VPU_STOP15,4,2        ## @IVTV_CMD_VPU_STOP15
L_.str.5:                               ## @.str.5
	.asciz	"Resetting Hw Blocks\n"

	.comm	_IVTV_CMD_HW_BLOCKS_RST,4,2     ## @IVTV_CMD_HW_BLOCKS_RST
	.comm	_IVTV_REG_HW_BLOCKS,4,2         ## @IVTV_REG_HW_BLOCKS
L_.str.6:                               ## @.str.6
	.asciz	"Stopping SPU\n"

	.comm	_IVTV_CMD_SPU_STOP,4,2          ## @IVTV_CMD_SPU_STOP
	.comm	_IVTV_REG_SPU,4,2               ## @IVTV_REG_SPU
L_.str.7:                               ## @.str.7
	.asciz	"init Encoder SDRAM pre-charge\n"

	.comm	_IVTV_CMD_SDRAM_PRECHARGE_INIT,4,2 ## @IVTV_CMD_SDRAM_PRECHARGE_INIT
	.comm	_IVTV_REG_ENC_SDRAM_PRECHARGE,4,2 ## @IVTV_REG_ENC_SDRAM_PRECHARGE
L_.str.8:                               ## @.str.8
	.asciz	"init Encoder SDRAM refresh to 1us\n"

	.comm	_IVTV_CMD_SDRAM_REFRESH_INIT,4,2 ## @IVTV_CMD_SDRAM_REFRESH_INIT
	.comm	_IVTV_REG_ENC_SDRAM_REFRESH,4,2 ## @IVTV_REG_ENC_SDRAM_REFRESH
L_.str.9:                               ## @.str.9
	.asciz	"init Decoder SDRAM pre-charge\n"

	.comm	_IVTV_REG_DEC_SDRAM_PRECHARGE,4,2 ## @IVTV_REG_DEC_SDRAM_PRECHARGE
L_.str.10:                              ## @.str.10
	.asciz	"init Decoder SDRAM refresh to 1us\n"

	.comm	_IVTV_REG_DEC_SDRAM_REFRESH,4,2 ## @IVTV_REG_DEC_SDRAM_REFRESH
L_.str.11:                              ## @.str.11
	.asciz	"Sleeping for %dms\n"

	.comm	_IVTV_SDRAM_SLEEPTIME,4,2       ## @IVTV_SDRAM_SLEEPTIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_halt_firmware             ; -- Begin function ivtv_halt_firmware
	.p2align	2
_ivtv_halt_firmware:                    ; @ivtv_halt_firmware
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IVTV_DEBUG_INFO
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _CX2341X_DEC_HALT_FW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CX2341X_DEC_HALT_FW@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_ivtv_vapi
LBB0_3:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _CX2341X_ENC_HALT_FW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CX2341X_ENC_HALT_FW@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_ivtv_vapi
LBB0_5:
	mov	w0, #10
	mov	w1, #0
	bl	_ivtv_msleep_timeout
	str	xzr, [x19, #8]
	str	wzr, [x19, #16]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IVTV_DEBUG_INFO
Lloh10:
	adrp	x8, _IVTV_CMD_VDM_STOP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IVTV_CMD_VDM_STOP@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _IVTV_REG_VDM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IVTV_REG_VDM@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_write_reg
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_IVTV_DEBUG_INFO
Lloh18:
	adrp	x8, _IVTV_CMD_AO_STOP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IVTV_CMD_AO_STOP@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _IVTV_REG_AO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IVTV_REG_AO@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_write_reg
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_IVTV_DEBUG_INFO
Lloh26:
	adrp	x8, _IVTV_CMD_APU_PING@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IVTV_CMD_APU_PING@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x8, _IVTV_REG_APU@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IVTV_REG_APU@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_write_reg
Lloh32:
	adrp	x0, l_.str.4@PAGE
Lloh33:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_IVTV_DEBUG_INFO
	ldr	x8, [x19]
Lloh34:
	adrp	x9, _IVTV_CMD_VPU_STOP16@GOTPAGE
Lloh35:
	ldr	x9, [x9, _IVTV_CMD_VPU_STOP16@GOTPAGEOFF]
Lloh36:
	adrp	x10, _IVTV_CMD_VPU_STOP15@GOTPAGE
Lloh37:
	ldr	x10, [x10, _IVTV_CMD_VPU_STOP15@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
Lloh38:
	adrp	x8, _IVTV_REG_VPU@GOTPAGE
Lloh39:
	ldr	x8, [x8, _IVTV_REG_VPU@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_write_reg
Lloh41:
	adrp	x0, l_.str.5@PAGE
Lloh42:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_IVTV_DEBUG_INFO
Lloh43:
	adrp	x8, _IVTV_CMD_HW_BLOCKS_RST@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IVTV_CMD_HW_BLOCKS_RST@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x8, _IVTV_REG_HW_BLOCKS@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IVTV_REG_HW_BLOCKS@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_write_reg
Lloh49:
	adrp	x0, l_.str.6@PAGE
Lloh50:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_IVTV_DEBUG_INFO
Lloh51:
	adrp	x8, _IVTV_CMD_SPU_STOP@GOTPAGE
Lloh52:
	ldr	x8, [x8, _IVTV_CMD_SPU_STOP@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
Lloh54:
	adrp	x8, _IVTV_REG_SPU@GOTPAGE
Lloh55:
	ldr	x8, [x8, _IVTV_REG_SPU@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	bl	_write_reg
	mov	w0, #10
	mov	w1, #0
	bl	_ivtv_msleep_timeout
Lloh57:
	adrp	x0, l_.str.7@PAGE
Lloh58:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_IVTV_DEBUG_INFO
Lloh59:
	adrp	x20, _IVTV_CMD_SDRAM_PRECHARGE_INIT@GOTPAGE
Lloh60:
	ldr	x20, [x20, _IVTV_CMD_SDRAM_PRECHARGE_INIT@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh61:
	adrp	x8, _IVTV_REG_ENC_SDRAM_PRECHARGE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _IVTV_REG_ENC_SDRAM_PRECHARGE@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	bl	_write_reg
Lloh64:
	adrp	x0, l_.str.8@PAGE
Lloh65:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_IVTV_DEBUG_INFO
Lloh66:
	adrp	x21, _IVTV_CMD_SDRAM_REFRESH_INIT@GOTPAGE
Lloh67:
	ldr	x21, [x21, _IVTV_CMD_SDRAM_REFRESH_INIT@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh68:
	adrp	x8, _IVTV_REG_ENC_SDRAM_REFRESH@GOTPAGE
Lloh69:
	ldr	x8, [x8, _IVTV_REG_ENC_SDRAM_REFRESH@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
	bl	_write_reg
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
Lloh71:
	adrp	x0, l_.str.9@PAGE
Lloh72:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_IVTV_DEBUG_INFO
	ldr	w0, [x20]
Lloh73:
	adrp	x8, _IVTV_REG_DEC_SDRAM_PRECHARGE@GOTPAGE
Lloh74:
	ldr	x8, [x8, _IVTV_REG_DEC_SDRAM_PRECHARGE@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	bl	_write_reg
Lloh76:
	adrp	x0, l_.str.10@PAGE
Lloh77:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_IVTV_DEBUG_INFO
	ldr	w0, [x21]
Lloh78:
	adrp	x8, _IVTV_REG_DEC_SDRAM_REFRESH@GOTPAGE
Lloh79:
	ldr	x8, [x8, _IVTV_REG_DEC_SDRAM_REFRESH@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	bl	_write_reg
LBB0_7:
Lloh81:
	adrp	x19, _IVTV_SDRAM_SLEEPTIME@GOTPAGE
Lloh82:
	ldr	x19, [x19, _IVTV_SDRAM_SLEEPTIME@GOTPAGEOFF]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh83:
	adrp	x0, l_.str.11@PAGE
Lloh84:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_IVTV_DEBUG_INFO
	ldr	w0, [x19]
	mov	w1, #0
	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
	b	_ivtv_msleep_timeout
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh81, Lloh82
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Preparing for firmware halt.\n"

	.comm	_CX2341X_DEC_HALT_FW,4,2        ; @CX2341X_DEC_HALT_FW
	.comm	_CX2341X_ENC_HALT_FW,4,2        ; @CX2341X_ENC_HALT_FW
l_.str.1:                               ; @.str.1
	.asciz	"Stopping VDM\n"

	.comm	_IVTV_CMD_VDM_STOP,4,2          ; @IVTV_CMD_VDM_STOP
	.comm	_IVTV_REG_VDM,4,2               ; @IVTV_REG_VDM
l_.str.2:                               ; @.str.2
	.asciz	"Stopping AO\n"

	.comm	_IVTV_CMD_AO_STOP,4,2           ; @IVTV_CMD_AO_STOP
	.comm	_IVTV_REG_AO,4,2                ; @IVTV_REG_AO
l_.str.3:                               ; @.str.3
	.asciz	"pinging (?) APU\n"

	.comm	_IVTV_CMD_APU_PING,4,2          ; @IVTV_CMD_APU_PING
	.comm	_IVTV_REG_APU,4,2               ; @IVTV_REG_APU
l_.str.4:                               ; @.str.4
	.asciz	"Stopping VPU\n"

	.comm	_IVTV_CMD_VPU_STOP16,4,2        ; @IVTV_CMD_VPU_STOP16
	.comm	_IVTV_REG_VPU,4,2               ; @IVTV_REG_VPU
	.comm	_IVTV_CMD_VPU_STOP15,4,2        ; @IVTV_CMD_VPU_STOP15
l_.str.5:                               ; @.str.5
	.asciz	"Resetting Hw Blocks\n"

	.comm	_IVTV_CMD_HW_BLOCKS_RST,4,2     ; @IVTV_CMD_HW_BLOCKS_RST
	.comm	_IVTV_REG_HW_BLOCKS,4,2         ; @IVTV_REG_HW_BLOCKS
l_.str.6:                               ; @.str.6
	.asciz	"Stopping SPU\n"

	.comm	_IVTV_CMD_SPU_STOP,4,2          ; @IVTV_CMD_SPU_STOP
	.comm	_IVTV_REG_SPU,4,2               ; @IVTV_REG_SPU
l_.str.7:                               ; @.str.7
	.asciz	"init Encoder SDRAM pre-charge\n"

	.comm	_IVTV_CMD_SDRAM_PRECHARGE_INIT,4,2 ; @IVTV_CMD_SDRAM_PRECHARGE_INIT
	.comm	_IVTV_REG_ENC_SDRAM_PRECHARGE,4,2 ; @IVTV_REG_ENC_SDRAM_PRECHARGE
l_.str.8:                               ; @.str.8
	.asciz	"init Encoder SDRAM refresh to 1us\n"

	.comm	_IVTV_CMD_SDRAM_REFRESH_INIT,4,2 ; @IVTV_CMD_SDRAM_REFRESH_INIT
	.comm	_IVTV_REG_ENC_SDRAM_REFRESH,4,2 ; @IVTV_REG_ENC_SDRAM_REFRESH
l_.str.9:                               ; @.str.9
	.asciz	"init Decoder SDRAM pre-charge\n"

	.comm	_IVTV_REG_DEC_SDRAM_PRECHARGE,4,2 ; @IVTV_REG_DEC_SDRAM_PRECHARGE
l_.str.10:                              ; @.str.10
	.asciz	"init Decoder SDRAM refresh to 1us\n"

	.comm	_IVTV_REG_DEC_SDRAM_REFRESH,4,2 ; @IVTV_REG_DEC_SDRAM_REFRESH
l_.str.11:                              ; @.str.11
	.asciz	"Sleeping for %dms\n"

	.comm	_IVTV_SDRAM_SLEEPTIME,4,2       ; @IVTV_SDRAM_SLEEPTIME
.subsections_via_symbols
