	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_legacy_tmds_ext_dpms
_radeon_legacy_tmds_ext_dpms:           ## @radeon_legacy_tmds_ext_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	%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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %r12
	movq	_RADEON_FP2_GEN_CNTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_RREG32
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	leal	-128(%r15), %eax
	cmpl	$2, %eax
	jb	LBB0_4
## %bb.1:
	cmpl	$131, %r15d
	je	LBB0_4
## %bb.2:
	cmpl	$130, %r15d
	jne	LBB0_5
## %bb.3:
	movq	_RADEON_FP2_BLANK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_RADEON_FP2_ON@GOTPCREL(%rip), %rax
	movq	_RADEON_FP2_DVO_EN@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_RADEON_FP2_BLANK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ebx, %eax
	movq	_RADEON_FP2_ON@GOTPCREL(%rip), %rcx
	movq	_RADEON_FP2_DVO_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
LBB0_5:
	movl	(%r13), %edi
	movl	%ebx, %esi
	callq	_WREG32
	xorl	%esi, %esi
	cmpl	$130, %r15d
	sete	%sil
	cmpq	$0, (%r12)
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_radeon_atombios_encoder_dpms_scratch_regs ## TAILCALL
LBB0_7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_radeon_combios_encoder_dpms_scratch_regs ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RADEON_FP2_GEN_CNTL,4,2        ## @RADEON_FP2_GEN_CNTL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_RADEON_FP2_BLANK_EN,4,2        ## @RADEON_FP2_BLANK_EN
	.comm	_RADEON_FP2_ON,4,2              ## @RADEON_FP2_ON
	.comm	_RADEON_FP2_DVO_EN,4,2          ## @RADEON_FP2_DVO_EN
	.no_dead_strip	_radeon_legacy_tmds_ext_dpms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_legacy_tmds_ext_dpms
_radeon_legacy_tmds_ext_dpms:           ; @radeon_legacy_tmds_ext_dpms
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x22, [x8]
Lloh0:
	adrp	x23, _RADEON_FP2_GEN_CNTL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RADEON_FP2_GEN_CNTL@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_RREG32
	mov	x21, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	sub	w8, w20, #128
	cmp	w8, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w20, #131
	b.eq	LBB0_4
; %bb.2:
	cmp	w20, #130
	b.ne	LBB0_5
; %bb.3:
Lloh4:
	adrp	x8, _RADEON_FP2_BLANK_EN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RADEON_FP2_BLANK_EN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w8, w21, w8
Lloh7:
	adrp	x9, _RADEON_FP2_ON@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RADEON_FP2_ON@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _RADEON_FP2_DVO_EN@GOTPAGE
Lloh11:
	ldr	x10, [x10, _RADEON_FP2_DVO_EN@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	orr	w8, w8, w9
	orr	w21, w8, w10
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x8, _RADEON_FP2_BLANK_EN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RADEON_FP2_BLANK_EN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w8, w8, w21
Lloh16:
	adrp	x9, _RADEON_FP2_ON@GOTPAGE
Lloh17:
	ldr	x9, [x9, _RADEON_FP2_ON@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _RADEON_FP2_DVO_EN@GOTPAGE
Lloh20:
	ldr	x10, [x10, _RADEON_FP2_DVO_EN@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w21, w8, w9
LBB0_5:
	ldr	w0, [x23]
	mov	x1, x21
	bl	_WREG32
	ldr	x8, [x22]
	cmp	w20, #130
	cset	w1, eq
	mov	x0, x19
	cbz	x8, LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_radeon_atombios_encoder_dpms_scratch_regs
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_radeon_combios_encoder_dpms_scratch_regs
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEON_FP2_GEN_CNTL,4,2        ; @RADEON_FP2_GEN_CNTL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_RADEON_FP2_BLANK_EN,4,2        ; @RADEON_FP2_BLANK_EN
	.comm	_RADEON_FP2_ON,4,2              ; @RADEON_FP2_ON
	.comm	_RADEON_FP2_DVO_EN,4,2          ; @RADEON_FP2_DVO_EN
	.no_dead_strip	_radeon_legacy_tmds_ext_dpms
.subsections_via_symbols
