	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_client_connectors_enabled
_drm_client_connectors_enabled:         ## @drm_client_connectors_enabled
	.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
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	movq	%rdx, %r12
	movl	%esi, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%rdi, %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r15,8), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_drm_connector_enabled
	movl	%eax, (%r12,%r15,4)
	movl	8(%rbx), %esi
	testl	%eax, %eax
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %rdx
	cmpq	$0, (%rbx)
	leaq	L_.str.1(%rip), %rax
	cmovneq	%rax, %rdx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	orl	(%r12,%r15,4), %r14d
	incq	%r15
	cmpq	%r15, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
## %bb.3:
	testl	%r14d, %r14d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rdi
	xorl	%esi, %esi
	callq	_drm_connector_enabled
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"connector %d enabled? %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"non desktop"

L_.str.2:                               ## @.str.2
	.asciz	"yes"

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

	.no_dead_strip	_drm_client_connectors_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_client_connectors_enabled
_drm_client_connectors_enabled:         ; @drm_client_connectors_enabled
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	w1, LBB0_5
; %bb.1:
	mov	x26, x2
	mov	x25, x0
	mov	w24, #0
Lloh0:
	adrp	x27, l_.str.1@PAGE
Lloh1:
	add	x27, x27, l_.str.1@PAGEOFF
	mov	w23, w1
	mov	x28, x23
	mov	x20, x0
	mov	x19, x2
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x20], #8
	mov	x0, x22
	mov	w1, #1
	bl	_drm_connector_enabled
	str	w0, [x19]
	ldr	w1, [x22, #8]
	ldr	x8, [x22]
	cmp	w0, #0
Lloh4:
	adrp	x9, l_.str.2@PAGE
Lloh5:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh6:
	adrp	x10, l_.str.3@PAGE
Lloh7:
	add	x10, x10, l_.str.3@PAGEOFF
	csel	x9, x10, x9, eq
	cmp	x8, #0
	csel	x2, x9, x27, eq
	mov	x0, x21
	bl	_DRM_DEBUG_KMS
	ldr	w8, [x19], #4
	orr	w24, w8, w24
	subs	x28, x28, #1
	b.ne	LBB0_2
; %bb.3:
	cbnz	w24, LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25], #8
	mov	w1, #0
	bl	_drm_connector_enabled
	str	w0, [x26], #4
	subs	x23, x23, #1
	b.ne	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"connector %d enabled? %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"non desktop"

l_.str.2:                               ; @.str.2
	.asciz	"yes"

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

	.no_dead_strip	_drm_client_connectors_enabled
.subsections_via_symbols
