	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xc_debug_dump
_xc_debug_dump:                         ## @xc_debug_dump
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$0, -40(%rbp)
	movl	$0, -36(%rbp)
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	movl	$0, -24(%rbp)
	movl	$0, -20(%rbp)
	movl	$0, -16(%rbp)
	movl	$0, -12(%rbp)
	leaq	-56(%rbp), %rsi
	callq	_xc_get_adc_envelope
	movl	-56(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_xc_get_frequency_error
	movl	-40(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	leaq	-52(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_xc_get_lock_status
	movl	-52(%rbp), %edx
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	leaq	-24(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	leaq	-16(%rbp), %rcx
	leaq	-12(%rbp), %r8
	movq	%rbx, %rdi
	callq	_xc_get_version
	movl	-24(%rbp), %edx
	movl	-20(%rbp), %ecx
	movl	-16(%rbp), %r8d
	movl	-12(%rbp), %r9d
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	movq	(%rbx), %rax
	movq	_XC4000_DTV6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.1:
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_xc_get_hsync_freq
	movl	-36(%rbp), %edx
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_xc_get_frame_lines
	movl	-48(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
LBB0_2:
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_xc_get_quality
	movl	-44(%rbp), %edx
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_xc_get_signal_level
	movl	-32(%rbp), %ecx
	movl	%ecx, %edx
	sarl	$8, %edx
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_xc_get_noise_level
	movl	-28(%rbp), %ecx
	movl	%ecx, %edx
	sarl	$8, %edx
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*** ADC envelope (0-1023) = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"*** Frequency error = %d Hz\n"

L_.str.2:                               ## @.str.2
	.asciz	"*** Lock status (0-Wait, 1-Locked, 2-No-signal) = %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"*** HW: V%02x.%02x, FW: V%02x.%02x\n"

	.comm	_XC4000_DTV6,8,3                ## @XC4000_DTV6
L_.str.4:                               ## @.str.4
	.asciz	"*** Horizontal sync frequency = %d Hz\n"

L_.str.5:                               ## @.str.5
	.asciz	"*** Frame lines = %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"*** Quality (0:<8dB, 7:>56dB) = %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"*** Signal level = -%ddB (%d)\n"

L_.str.8:                               ## @.str.8
	.asciz	"*** Noise level = %ddB (%d)\n"

	.no_dead_strip	_xc_debug_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xc_debug_dump
_xc_debug_dump:                         ; @xc_debug_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	stur	wzr, [x29, #-24]
	stur	wzr, [x29, #-32]
	stur	wzr, [x29, #-44]
	str	wzr, [sp, #48]
	stp	xzr, xzr, [sp, #32]
	sub	x1, x29, #20
	bl	_xc_get_adc_envelope
	ldur	w2, [x29, #-20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	sub	x1, x29, #24
	mov	x0, x19
	bl	_xc_get_frequency_error
	ldur	w2, [x29, #-24]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	sub	x1, x29, #28
	mov	x0, x19
	bl	_xc_get_lock_status
	ldur	w2, [x29, #-28]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	add	x1, sp, #44
	add	x2, sp, #40
	add	x3, sp, #36
	add	x4, sp, #32
	mov	x0, x19
	bl	_xc_get_version
	ldp	w8, w2, [sp, #40]
	ldp	w10, w9, [sp, #32]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _XC4000_DTV6@GOTPAGE
Lloh9:
	ldr	x9, [x9, _XC4000_DTV6@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	sub	x1, x29, #32
	mov	x0, x19
	bl	_xc_get_hsync_freq
	ldur	w2, [x29, #-32]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	sub	x1, x29, #36
	mov	x0, x19
	bl	_xc_get_frame_lines
	ldur	w2, [x29, #-36]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_dprintk
LBB0_2:
	sub	x1, x29, #40
	mov	x0, x19
	bl	_xc_get_quality
	ldur	w2, [x29, #-40]
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	sub	x1, x29, #44
	mov	x0, x19
	bl	_xc_get_signal_level
	ldur	w8, [x29, #-44]
	asr	w2, w8, #8
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	add	x1, sp, #48
	mov	x0, x19
	bl	_xc_get_noise_level
	ldr	w8, [sp, #48]
	asr	w2, w8, #8
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*** ADC envelope (0-1023) = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"*** Frequency error = %d Hz\n"

l_.str.2:                               ; @.str.2
	.asciz	"*** Lock status (0-Wait, 1-Locked, 2-No-signal) = %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"*** HW: V%02x.%02x, FW: V%02x.%02x\n"

	.comm	_XC4000_DTV6,8,3                ; @XC4000_DTV6
l_.str.4:                               ; @.str.4
	.asciz	"*** Horizontal sync frequency = %d Hz\n"

l_.str.5:                               ; @.str.5
	.asciz	"*** Frame lines = %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"*** Quality (0:<8dB, 7:>56dB) = %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"*** Signal level = -%ddB (%d)\n"

l_.str.8:                               ; @.str.8
	.asciz	"*** Noise level = %ddB (%d)\n"

	.no_dead_strip	_xc_debug_dump
.subsections_via_symbols
