	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ths8200_log_status
_ths8200_log_status:                    ## @ths8200_log_status
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_to_state
	movq	%rax, %r14
	movq	_THS8200_CHIP_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ths8200_read
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_v4l2_info
	movl	4(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_v4l2_info
	testb	$12, %r15b
	leaq	L_.str.4(%rip), %r13
	leaq	L_.str.3(%rip), %rbx
	movq	%rbx, %rdx
	cmoveq	%r13, %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_v4l2_info
	testb	$1, %r15b
	cmoveq	%r13, %rbx
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_v4l2_info
	testb	$32, %r15b
	leaq	L_.str.8(%rip), %rax
	leaq	L_.str.7(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_v4l2_info
	movq	_THS8200_DTG2_PIXEL_CNT_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ths8200_read
	movl	%eax, %r15d
	shll	$8, %r15d
	movq	_THS8200_DTG2_PIXEL_CNT_LSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ths8200_read
	addl	%eax, %r15d
	movq	_THS8200_DTG2_LINE_CNT_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ths8200_read
	movl	%eax, %ebx
	andl	$7, %ebx
	shll	$8, %ebx
	movq	_THS8200_DTG2_LINE_CNT_LSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ths8200_read
	addl	%eax, %ebx
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_v4l2_info
	movl	(%r12), %edi
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_v4l2_print_dv_timings
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THS8200_CHIP_CTL,4,2           ## @THS8200_CHIP_CTL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"----- Chip status -----\n"

L_.str.1:                               ## @.str.1
	.asciz	"version: %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"power: %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"off"

L_.str.4:                               ## @.str.4
	.asciz	"on"

L_.str.5:                               ## @.str.5
	.asciz	"reset: %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"test pattern: %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"enabled"

L_.str.8:                               ## @.str.8
	.asciz	"disabled"

L_.str.9:                               ## @.str.9
	.asciz	"format: %ux%u\n"

	.comm	_THS8200_DTG2_PIXEL_CNT_MSB,4,2 ## @THS8200_DTG2_PIXEL_CNT_MSB
	.comm	_THS8200_DTG2_PIXEL_CNT_LSB,4,2 ## @THS8200_DTG2_PIXEL_CNT_LSB
	.comm	_THS8200_DTG2_LINE_CNT_MSB,4,2  ## @THS8200_DTG2_LINE_CNT_MSB
	.comm	_THS8200_DTG2_LINE_CNT_LSB,4,2  ## @THS8200_DTG2_LINE_CNT_LSB
L_.str.10:                              ## @.str.10
	.asciz	"Configured format:"

	.no_dead_strip	_ths8200_log_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ths8200_log_status
_ths8200_log_status:                    ; @ths8200_log_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	bl	_to_state
	mov	x19, x0
Lloh0:
	adrp	x8, _THS8200_CHIP_CTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THS8200_CHIP_CTL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ths8200_read
	mov	x21, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_v4l2_info
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_v4l2_info
Lloh7:
	adrp	x22, l_.str.3@PAGE
Lloh8:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh9:
	adrp	x23, l_.str.4@PAGE
Lloh10:
	add	x23, x23, l_.str.4@PAGEOFF
	tst	w21, #0xc
	csel	x8, x23, x22, eq
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_v4l2_info
	tst	w21, #0x1
	csel	x8, x23, x22, eq
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_v4l2_info
Lloh15:
	adrp	x8, l_.str.7@PAGE
Lloh16:
	add	x8, x8, l_.str.7@PAGEOFF
Lloh17:
	adrp	x9, l_.str.8@PAGE
Lloh18:
	add	x9, x9, l_.str.8@PAGEOFF
	tst	w21, #0x20
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.6@PAGE
Lloh20:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_v4l2_info
Lloh21:
	adrp	x8, _THS8200_DTG2_PIXEL_CNT_MSB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _THS8200_DTG2_PIXEL_CNT_MSB@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ths8200_read
	mov	x21, x0
Lloh24:
	adrp	x8, _THS8200_DTG2_PIXEL_CNT_LSB@GOTPAGE
Lloh25:
	ldr	x8, [x8, _THS8200_DTG2_PIXEL_CNT_LSB@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ths8200_read
	add	w21, w0, w21, lsl #8
Lloh27:
	adrp	x8, _THS8200_DTG2_LINE_CNT_MSB@GOTPAGE
Lloh28:
	ldr	x8, [x8, _THS8200_DTG2_LINE_CNT_MSB@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ths8200_read
	ubfiz	w22, w0, #8, #3
Lloh30:
	adrp	x8, _THS8200_DTG2_LINE_CNT_LSB@GOTPAGE
Lloh31:
	ldr	x8, [x8, _THS8200_DTG2_LINE_CNT_LSB@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ths8200_read
	add	w8, w22, w0
	stp	x21, x8, [sp]
Lloh33:
	adrp	x1, l_.str.9@PAGE
Lloh34:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_v4l2_info
	ldr	w0, [x20]
Lloh35:
	adrp	x1, l_.str.10@PAGE
Lloh36:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x2, x19
	mov	w3, #1
	bl	_v4l2_print_dv_timings
	mov	w0, #0
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_THS8200_CHIP_CTL,4,2           ; @THS8200_CHIP_CTL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"----- Chip status -----\n"

l_.str.1:                               ; @.str.1
	.asciz	"version: %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"power: %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"off"

l_.str.4:                               ; @.str.4
	.asciz	"on"

l_.str.5:                               ; @.str.5
	.asciz	"reset: %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"test pattern: %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"enabled"

l_.str.8:                               ; @.str.8
	.asciz	"disabled"

l_.str.9:                               ; @.str.9
	.asciz	"format: %ux%u\n"

	.comm	_THS8200_DTG2_PIXEL_CNT_MSB,4,2 ; @THS8200_DTG2_PIXEL_CNT_MSB
	.comm	_THS8200_DTG2_PIXEL_CNT_LSB,4,2 ; @THS8200_DTG2_PIXEL_CNT_LSB
	.comm	_THS8200_DTG2_LINE_CNT_MSB,4,2  ; @THS8200_DTG2_LINE_CNT_MSB
	.comm	_THS8200_DTG2_LINE_CNT_LSB,4,2  ; @THS8200_DTG2_LINE_CNT_LSB
l_.str.10:                              ; @.str.10
	.asciz	"Configured format:"

	.no_dead_strip	_ths8200_log_status
.subsections_via_symbols
