	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_connector_dpms           ## -- Begin function intel_connector_dpms
	.p2align	4, 0x90
_intel_connector_dpms:                  ## @intel_connector_dpms
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_intel_attached_encoder
	movq	_DRM_MODE_DPMS_ON@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jne	LBB0_1
## %bb.2:
	cmpl	(%r14), %ebx
	jne	LBB0_3
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	_DRM_MODE_DPMS_OFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	(%r14), %ebx
	je	LBB0_7
LBB0_3:
	movl	%ebx, (%r14)
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_intel_encoder_dpms
	jmp	LBB0_6
LBB0_5:
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	setne	%dil
	callq	_WARN_ON
LBB0_6:
	movl	4(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_intel_modeset_check_state      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_DPMS_ON,4,2           ## @DRM_MODE_DPMS_ON
	.comm	_DRM_MODE_DPMS_OFF,4,2          ## @DRM_MODE_DPMS_OFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_connector_dpms           ; -- Begin function intel_connector_dpms
	.p2align	2
_intel_connector_dpms:                  ; @intel_connector_dpms
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_intel_attached_encoder
Lloh0:
	adrp	x8, _DRM_MODE_DPMS_ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_DPMS_ON@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DRM_MODE_DPMS_OFF@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DRM_MODE_DPMS_OFF@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w20
	csel	w1, w20, w9, eq
	ldr	w8, [x19]
	cmp	w1, w8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	str	w1, [x19]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_intel_encoder_dpms
	b	LBB0_5
LBB0_4:
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w0, ne
	bl	_WARN_ON
LBB0_5:
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_intel_modeset_check_state
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_DPMS_ON,4,2           ; @DRM_MODE_DPMS_ON
	.comm	_DRM_MODE_DPMS_OFF,4,2          ; @DRM_MODE_DPMS_OFF
.subsections_via_symbols
