	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atombios_blank_crtc
_atombios_blank_crtc:                   ## @atombios_blank_crtc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_to_radeon_crtc
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	(%rax), %r13
	movq	_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BlankCRTC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movl	%eax, %ebx
	leaq	-56(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r13, %rdi
	callq	_ASIC_IS_DCE8
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_vga_control_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_RREG32
	movl	%eax, %r12d
	movq	_vga_control_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	%r12d, %esi
	orl	$1, %esi
	callq	_WREG32
LBB0_2:
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)
	movl	%r15d, -48(%rbp)
	movl	(%r13), %edi
	leaq	-56(%rbp), %rdx
	movl	%ebx, %esi
	callq	_atom_execute_table
	movq	%r13, %rdi
	callq	_ASIC_IS_DCE8
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_vga_control_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	%r12d, %esi
	callq	_WREG32
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMMAND,4,2                    ## @COMMAND
	.comm	_BlankCRTC,4,2                  ## @BlankCRTC
	.comm	_vga_control_regs,8,3           ## @vga_control_regs
	.no_dead_strip	_atombios_blank_crtc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atombios_blank_crtc
_atombios_blank_crtc:                   ; @atombios_blank_crtc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x20, x0
	bl	_to_radeon_crtc
	mov	x19, x0
	ldr	x8, [x20]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _BlankCRTC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BlankCRTC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x22, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	x0, x20
	bl	_ASIC_IS_DCE8
Lloh6:
	adrp	x24, _vga_control_regs@GOTPAGE
Lloh7:
	ldr	x24, [x24, _vga_control_regs@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x24]
	ldr	x9, [x19]
	ldr	w0, [x8, x9, lsl #2]
	bl	_RREG32
	mov	x23, x0
	ldr	x8, [x24]
	ldr	x9, [x19]
	ldr	w0, [x8, x9, lsl #2]
	orr	w1, w23, #0x1
	bl	_WREG32
	b	LBB0_3
LBB0_2:
	mov	w23, #0
LBB0_3:
	ldr	x8, [x19]
	str	x8, [sp]
	str	w21, [sp, #8]
	ldr	w0, [x20]
	mov	x2, sp
	mov	x1, x22
	bl	_atom_execute_table
	mov	x0, x20
	bl	_ASIC_IS_DCE8
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x24]
	ldr	x9, [x19]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, x23
	bl	_WREG32
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COMMAND,4,2                    ; @COMMAND
	.comm	_BlankCRTC,4,2                  ; @BlankCRTC
	.comm	_vga_control_regs,8,3           ; @vga_control_regs
	.no_dead_strip	_atombios_blank_crtc
.subsections_via_symbols
