	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_legacy_tmds_int_dpms
_radeon_legacy_tmds_int_dpms:           ## @radeon_legacy_tmds_int_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_FP_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_FP_FPON@GOTPCREL(%rip), %rax
	movq	_RADEON_FP_TMDS_EN@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_RADEON_FP_FPON@GOTPCREL(%rip), %rax
	movq	_RADEON_FP_TMDS_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %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_FP_GEN_CNTL,4,2         ## @RADEON_FP_GEN_CNTL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_RADEON_FP_FPON,4,2             ## @RADEON_FP_FPON
	.comm	_RADEON_FP_TMDS_EN,4,2          ## @RADEON_FP_TMDS_EN
	.no_dead_strip	_radeon_legacy_tmds_int_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_int_dpms
_radeon_legacy_tmds_int_dpms:           ; @radeon_legacy_tmds_int_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_FP_GEN_CNTL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RADEON_FP_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_FP_FPON@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RADEON_FP_FPON@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _RADEON_FP_TMDS_EN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RADEON_FP_TMDS_EN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w8, w21
	orr	w21, w8, w9
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _RADEON_FP_FPON@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RADEON_FP_FPON@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _RADEON_FP_TMDS_EN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _RADEON_FP_TMDS_EN@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w21, w21, w8
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	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEON_FP_GEN_CNTL,4,2         ; @RADEON_FP_GEN_CNTL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_RADEON_FP_FPON,4,2             ; @RADEON_FP_FPON
	.comm	_RADEON_FP_TMDS_EN,4,2          ; @RADEON_FP_TMDS_EN
	.no_dead_strip	_radeon_legacy_tmds_int_dpms
.subsections_via_symbols
