	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v6_0_crtc_dpms
_dce_v6_0_crtc_dpms:                    ## @dce_v6_0_crtc_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, %r12
	movq	(%rdi), %rax
	movq	(%rax), %r14
	callq	_to_amdgpu_crtc
	movq	%rax, %r15
	leal	-128(%rbx), %eax
	cmpl	$2, %eax
	jb	LBB0_4
## %bb.1:
	cmpl	$131, %ebx
	je	LBB0_4
## %bb.2:
	cmpl	$130, %ebx
	jne	LBB0_7
## %bb.3:
	movl	$1, (%r15)
	movq	_ATOM_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_amdgpu_atombios_crtc_enable
	movq	_ATOM_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_amdgpu_atombios_crtc_blank
	movl	4(%r15), %esi
	movq	%r14, %rdi
	callq	_amdgpu_display_crtc_idx_to_irq_type
	movl	%eax, %ebx
	leaq	4(%r14), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_amdgpu_irq_update
	movq	%r14, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_amdgpu_irq_update
	movq	%r12, %rdi
	callq	_drm_crtc_vblank_on
	movq	%r12, %rdi
	callq	_dce_v6_0_crtc_load_lut
	jmp	LBB0_7
LBB0_4:
	movq	%r12, %rdi
	callq	_drm_crtc_vblank_off
	cmpl	$0, (%r15)
	je	LBB0_6
## %bb.5:
	movq	_ATOM_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_amdgpu_atombios_crtc_blank
LBB0_6:
	movq	_ATOM_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_amdgpu_atombios_crtc_enable
	movl	$0, (%r15)
LBB0_7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_amdgpu_pm_compute_clocks       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATOM_ENABLE,4,2                ## @ATOM_ENABLE
	.comm	_ATOM_DISABLE,4,2               ## @ATOM_DISABLE
	.no_dead_strip	_dce_v6_0_crtc_dpms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_v6_0_crtc_dpms
_dce_v6_0_crtc_dpms:                    ; @dce_v6_0_crtc_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	x22, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x19, [x8]
	bl	_to_amdgpu_crtc
	mov	x21, x0
	sub	w8, w22, #128
	cmp	w8, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w22, #131
	b.eq	LBB0_4
; %bb.2:
	cmp	w22, #130
	b.ne	LBB0_7
; %bb.3:
	mov	w8, #1
	str	w8, [x21]
Lloh0:
	adrp	x8, _ATOM_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATOM_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_amdgpu_atombios_crtc_enable
Lloh3:
	adrp	x8, _ATOM_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATOM_DISABLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_amdgpu_atombios_crtc_blank
	ldr	w1, [x21, #4]
	mov	x0, x19
	bl	_amdgpu_display_crtc_idx_to_irq_type
	mov	x21, x0
	add	x1, x19, #4
	mov	x0, x19
	mov	x2, x21
	bl	_amdgpu_irq_update
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	bl	_amdgpu_irq_update
	mov	x0, x20
	bl	_drm_crtc_vblank_on
	mov	x0, x20
	bl	_dce_v6_0_crtc_load_lut
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_drm_crtc_vblank_off
	ldr	w8, [x21]
	cbz	w8, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _ATOM_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATOM_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_amdgpu_atombios_crtc_blank
LBB0_6:
Lloh9:
	adrp	x8, _ATOM_DISABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATOM_DISABLE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_amdgpu_atombios_crtc_enable
	str	wzr, [x21]
LBB0_7:
	mov	x0, x19
	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	_amdgpu_pm_compute_clocks
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ATOM_ENABLE,4,2                ; @ATOM_ENABLE
	.comm	_ATOM_DISABLE,4,2               ; @ATOM_DISABLE
	.no_dead_strip	_dce_v6_0_crtc_dpms
.subsections_via_symbols
