	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_crtc_connector_off
_is_crtc_connector_off:                 ## @is_crtc_connector_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_7
## %bb.1:
	movq	_DRM_MODE_DPMS_ON@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	%edx, %ecx
	shlq	$4, %rcx
	xorl	%edx, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rdx
	cmpq	%rdx, %rcx
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rsi,%rdx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, (%rax)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r8, (%rsi,%rdx)
	je	LBB0_6
## %bb.5:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_DPMS_ON,8,3           ## @DRM_MODE_DPMS_ON
	.no_dead_strip	_is_crtc_connector_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_crtc_connector_off
_is_crtc_connector_off:                 ; @is_crtc_connector_off
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _DRM_MODE_DPMS_ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_DPMS_ON@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, w2
	add	x10, x1, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #16
	subs	x9, x9, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x11]
	cmp	x11, x0
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x11, [x10, #-8]
	cmp	x11, x8
	b.eq	LBB0_2
; %bb.6:
	mov	w0, #1
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_DPMS_ON,8,3           ; @DRM_MODE_DPMS_ON
	.no_dead_strip	_is_crtc_connector_off
.subsections_via_symbols
