	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function subconnector_show
_subconnector_show:                     ## @subconnector_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	%rdx, %r15
	callq	_to_drm_connector
	movl	(%rax), %edx
	addl	$-128, %edx
	cmpl	$4, %edx
	ja	LBB0_3
## %bb.1:
	movq	8(%rax), %rcx
	cmpl	$2, %edx
	je	LBB0_2
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_2:
	addq	$8, %rcx
	movb	$1, %bl
LBB0_6:
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.8:
	addq	$4, %rax
	leaq	-32(%rbp), %rdx
	movq	%rax, %rdi
	callq	_drm_object_property_get_value
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_13
## %bb.9:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	-32(%rbp), %edi
	testb	%bl, %bl
	je	LBB0_10
## %bb.11:
	callq	_drm_get_dvi_i_subconnector_name
	jmp	LBB0_12
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
LBB0_4:
	callq	_DRM_ERROR
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_10:
	callq	_drm_get_tv_subconnector_name
LBB0_12:
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rax, %rcx
	callq	_snprintf
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wrong connector type for this property\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to find subconnector property\n"

	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.no_dead_strip	_subconnector_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function subconnector_show
_subconnector_show:                     ; @subconnector_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, x2
	bl	_to_drm_connector
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_7
; %bb.1:
	ldr	x9, [x0, #8]
	add	x10, x9, #8
	mov	w11, #1
	cmp	w8, #2
	csel	w21, wzr, w11, ne
	csel	x8, x9, x10, ne
	ldr	x1, [x8]
	cbz	x1, LBB0_4
; %bb.2:
	add	x0, x0, #4
	add	x2, sp, #8
	bl	_drm_object_property_get_value
	cbz	w0, LBB0_5
; %bb.3:
	mov	w0, #0
	b	LBB0_11
LBB0_4:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh2:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	ldr	w0, [sp, #8]
	tbz	w21, #0, LBB0_9
; %bb.6:
	bl	_drm_get_dvi_i_subconnector_name
	b	LBB0_10
LBB0_7:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
LBB0_8:
	bl	_DRM_ERROR
	mov	w0, #0
	b	LBB0_11
LBB0_9:
	bl	_drm_get_tv_subconnector_name
LBB0_10:
	mov	x3, x0
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
LBB0_11:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wrong connector type for this property\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to find subconnector property\n"

	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.no_dead_strip	_subconnector_show
.subsections_via_symbols
