	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function video_proc_show
_video_proc_show:                       ## @video_proc_show
	.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
	movq	(%rdi), %rdi
	leaq	-28(%rbp), %rsi
	callq	_get_video_status
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movl	-28(%rbp), %eax
	movq	_HCI_VIDEO_OUT_LCD@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movq	_HCI_VIDEO_OUT_CRT@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%r14b
	movq	_HCI_VIDEO_OUT_TV@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	andl	(%rcx), %eax
	setne	%r15b
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_seq_printf
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_seq_printf
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_seq_printf
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_HCI_VIDEO_OUT_LCD,4,2          ## @HCI_VIDEO_OUT_LCD
	.comm	_HCI_VIDEO_OUT_CRT,4,2          ## @HCI_VIDEO_OUT_CRT
	.comm	_HCI_VIDEO_OUT_TV,4,2           ## @HCI_VIDEO_OUT_TV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lcd_out:                 %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"crt_out:                 %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"tv_out:                  %d\n"

	.no_dead_strip	_video_proc_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function video_proc_show
_video_proc_show:                       ; @video_proc_show
	.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	x0, [x0]
	add	x1, sp, #12
	bl	_get_video_status
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _HCI_VIDEO_OUT_LCD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HCI_VIDEO_OUT_LCD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
Lloh6:
	adrp	x9, _HCI_VIDEO_OUT_CRT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HCI_VIDEO_OUT_CRT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w20, ne
Lloh9:
	adrp	x9, _HCI_VIDEO_OUT_TV@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HCI_VIDEO_OUT_TV@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w21, ne
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_seq_printf
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_seq_printf
	mov	w0, #0
LBB0_3:
	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	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_HCI_VIDEO_OUT_LCD,4,2          ; @HCI_VIDEO_OUT_LCD
	.comm	_HCI_VIDEO_OUT_CRT,4,2          ; @HCI_VIDEO_OUT_CRT
	.comm	_HCI_VIDEO_OUT_TV,4,2           ; @HCI_VIDEO_OUT_TV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lcd_out:                 %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"crt_out:                 %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"tv_out:                  %d\n"

	.no_dead_strip	_video_proc_show
.subsections_via_symbols
