	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_atom_encoder_dpms_ext
_radeon_atom_encoder_dpms_ext:          ## @radeon_atom_encoder_dpms_ext
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	addl	$-128, %edx
	cmpl	$3, %edx
	ja	LBB0_2
## %bb.1:
	cmpl	$2, %edx
	je	LBB0_2
## %bb.5:
	movq	%rbx, %rdi
	callq	_ASIC_IS_DCE41
	movq	_EXTERNAL_ENCODER_ACTION_V3_DISABLE_OUTPUT@GOTPCREL(%rip), %r12
	movq	_EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_ASIC_IS_DCE61
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_ATOM_DISABLE@GOTPCREL(%rip), %r12
	jmp	LBB0_9
LBB0_2:
	movq	%rbx, %rdi
	callq	_ASIC_IS_DCE41
	movq	_EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING_OFF@GOTPCREL(%rip), %r12
	movq	_EXTERNAL_ENCODER_ACTION_V3_ENABLE_OUTPUT@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	%rbx, %rdi
	callq	_ASIC_IS_DCE61
	testl	%eax, %eax
	je	LBB0_4
LBB0_8:
	movl	(%r13), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_atombios_external_encoder_setup
LBB0_9:
	movl	(%r12), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atombios_external_encoder_setup ## TAILCALL
LBB0_4:
	movq	_ATOM_ENABLE@GOTPCREL(%rip), %r12
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_EXTERNAL_ENCODER_ACTION_V3_ENABLE_OUTPUT,4,2 ## @EXTERNAL_ENCODER_ACTION_V3_ENABLE_OUTPUT
	.comm	_EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING_OFF,4,2 ## @EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING_OFF
	.comm	_ATOM_ENABLE,4,2                ## @ATOM_ENABLE
	.comm	_EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING,4,2 ## @EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING
	.comm	_EXTERNAL_ENCODER_ACTION_V3_DISABLE_OUTPUT,4,2 ## @EXTERNAL_ENCODER_ACTION_V3_DISABLE_OUTPUT
	.comm	_ATOM_DISABLE,4,2               ## @ATOM_DISABLE
	.no_dead_strip	_radeon_atom_encoder_dpms_ext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_atom_encoder_dpms_ext
_radeon_atom_encoder_dpms_ext:          ; @radeon_atom_encoder_dpms_ext
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x21, [x8]
	sub	w8, w2, #128
	cmp	w8, #3
	mov	x0, x21
	ccmp	w8, #2, #4, ls
	b.eq	LBB0_4
; %bb.1:
	bl	_ASIC_IS_DCE41
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_ASIC_IS_DCE61
	cbz	w0, LBB0_9
LBB0_3:
Lloh0:
	adrp	x21, _EXTERNAL_ENCODER_ACTION_V3_DISABLE_OUTPUT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EXTERNAL_ENCODER_ACTION_V3_DISABLE_OUTPUT@GOTPAGEOFF]
Lloh2:
	adrp	x8, _EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	bl	_ASIC_IS_DCE41
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_ASIC_IS_DCE61
	cbz	w0, LBB0_10
LBB0_6:
Lloh4:
	adrp	x21, _EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING_OFF@GOTPAGE
Lloh5:
	ldr	x21, [x21, _EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING_OFF@GOTPAGEOFF]
Lloh6:
	adrp	x8, _EXTERNAL_ENCODER_ACTION_V3_ENABLE_OUTPUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EXTERNAL_ENCODER_ACTION_V3_ENABLE_OUTPUT@GOTPAGEOFF]
LBB0_7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_atombios_external_encoder_setup
LBB0_8:
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, 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	_atombios_external_encoder_setup
LBB0_9:
Lloh8:
	adrp	x21, _ATOM_DISABLE@GOTPAGE
Lloh9:
	ldr	x21, [x21, _ATOM_DISABLE@GOTPAGEOFF]
	b	LBB0_8
LBB0_10:
Lloh10:
	adrp	x21, _ATOM_ENABLE@GOTPAGE
Lloh11:
	ldr	x21, [x21, _ATOM_ENABLE@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EXTERNAL_ENCODER_ACTION_V3_ENABLE_OUTPUT,4,2 ; @EXTERNAL_ENCODER_ACTION_V3_ENABLE_OUTPUT
	.comm	_EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING_OFF,4,2 ; @EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING_OFF
	.comm	_ATOM_ENABLE,4,2                ; @ATOM_ENABLE
	.comm	_EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING,4,2 ; @EXTERNAL_ENCODER_ACTION_V3_ENCODER_BLANKING
	.comm	_EXTERNAL_ENCODER_ACTION_V3_DISABLE_OUTPUT,4,2 ; @EXTERNAL_ENCODER_ACTION_V3_DISABLE_OUTPUT
	.comm	_ATOM_DISABLE,4,2               ; @ATOM_DISABLE
	.no_dead_strip	_radeon_atom_encoder_dpms_ext
.subsections_via_symbols
