	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_sdvo_dpms
_intel_sdvo_dpms:                       ## @intel_sdvo_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_intel_attached_sdvo
	movq	%rax, %r14
	movq	_DRM_MODE_DPMS_ON@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_DRM_MODE_DPMS_OFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_2:
	cmpl	(%r15), %ebx
	je	LBB0_5
## %bb.3:
	movl	%ebx, (%r15)
	movq	16(%r14), %r12
	testq	%r12, %r12
	je	LBB0_4
## %bb.6:
	cmpl	(%rax), %ebx
	jne	LBB0_7
## %bb.8:
	movl	$1, 8(%r14)
	movq	%r12, %rdi
	callq	_intel_crtc_update_dpms
	movl	(%r14), %esi
	movq	%r14, %rdi
	callq	_intel_sdvo_set_active_outputs
	jmp	LBB0_9
LBB0_4:
	movl	$0, 8(%r14)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_intel_sdvo_set_active_outputs
	movl	$0, 8(%r14)
	movq	%r12, %rdi
	callq	_intel_crtc_update_dpms
LBB0_9:
	movl	4(%r15), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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
	.no_dead_strip	_intel_sdvo_dpms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_sdvo_dpms
_intel_sdvo_dpms:                       ; @intel_sdvo_dpms
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x19, x0
	bl	_intel_attached_sdvo
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]
	ldr	w10, [x8]
Lloh4:
	ldr	w9, [x9]
	cmp	w10, w21
	csel	w9, w21, w9, eq
	ldr	w10, [x19]
	cmp	w9, w10
	b.eq	LBB0_5
; %bb.1:
	mov	x20, x0
	str	w9, [x19]
	ldr	x21, [x0, #16]
	cbz	x21, LBB0_4
; %bb.2:
	ldr	w8, [x8]
	cmp	w9, w8
	b.ne	LBB0_6
; %bb.3:
	mov	w8, #1
	str	w8, [x20, #8]
	mov	x0, x21
	bl	_intel_crtc_update_dpms
	ldr	w1, [x20]
	mov	x0, x20
	bl	_intel_sdvo_set_active_outputs
	b	LBB0_7
LBB0_4:
	str	wzr, [x20, #8]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x20
	mov	w1, #0
	bl	_intel_sdvo_set_active_outputs
	str	wzr, [x20, #8]
	mov	x0, x21
	bl	_intel_crtc_update_dpms
LBB0_7:
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_intel_modeset_check_state
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.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
	.no_dead_strip	_intel_sdvo_dpms
.subsections_via_symbols
