	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sti_crtc_disable
_sti_crtc_disable:                      ## @sti_crtc_disable
	.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
	movq	%rdi, %rbx
	callq	_to_sti_mixer
	movq	%rax, %r15
	movq	16(%rax), %rdi
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movl	(%rbx), %r12d
	movq	%r15, %rdi
	callq	_sti_mixer_to_str
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_DRM_DEBUG_KMS
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_sti_mixer_set_background_status
	movq	%rbx, %rdi
	callq	_drm_crtc_vblank_off
	movq	(%r15), %rax
	movq	_STI_MIXER_MAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	12(%r14), %edi
	callq	_clk_disable_unprepare
	addq	$8, %r14
	jmp	LBB0_3
LBB0_2:
	movl	4(%r14), %edi
	callq	_clk_disable_unprepare
LBB0_3:
	movl	(%r14), %edi
	callq	_clk_disable_unprepare
	movq	_STI_MIXER_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CRTC:%d (%s)\n"

	.comm	_STI_MIXER_MAIN,8,3             ## @STI_MIXER_MAIN
	.comm	_STI_MIXER_DISABLED,4,2         ## @STI_MIXER_DISABLED
	.no_dead_strip	_sti_crtc_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sti_crtc_disable
_sti_crtc_disable:                      ; @sti_crtc_disable
	.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, x0
	bl	_to_sti_mixer
	mov	x19, x0
	ldr	x0, [x0, #16]
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	w22, [x21]
	mov	x0, x19
	bl	_sti_mixer_to_str
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_DRM_DEBUG_KMS
	mov	x0, x19
	mov	w1, #0
	bl	_sti_mixer_set_background_status
	mov	x0, x21
	bl	_drm_crtc_vblank_off
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _STI_MIXER_MAIN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _STI_MIXER_MAIN@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20, #12]
	bl	_clk_disable_unprepare
	add	x20, x20, #8
	b	LBB0_3
LBB0_2:
	ldr	w0, [x20, #4]
	bl	_clk_disable_unprepare
LBB0_3:
	ldr	w0, [x20]
	bl	_clk_disable_unprepare
Lloh5:
	adrp	x8, _STI_MIXER_DISABLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STI_MIXER_DISABLED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CRTC:%d (%s)\n"

	.comm	_STI_MIXER_MAIN,8,3             ; @STI_MIXER_MAIN
	.comm	_STI_MIXER_DISABLED,4,2         ; @STI_MIXER_DISABLED
	.no_dead_strip	_sti_crtc_disable
.subsections_via_symbols
