	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atombios_encoder_dpms_scratch_regs ## -- Begin function radeon_atombios_encoder_dpms_scratch_regs
	.p2align	4, 0x90
_radeon_atombios_encoder_dpms_scratch_regs: ## @radeon_atombios_encoder_dpms_scratch_regs
	.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
	movl	%esi, %r15d
	movq	(%rdi), %rax
	movq	(%rax), %r14
	callq	_to_radeon_encoder
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_ASIC_IS_DCE4
	testq	%rax, %rax
	je	LBB0_1
## %bb.49:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%r14), %rax
	movq	_CHIP_R600@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jge	LBB0_2
## %bb.3:
	movq	_RADEON_BIOS_2_SCRATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_R600_BIOS_2_SCRATCH@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	callq	_RREG32
	movl	(%rbx), %ecx
	movq	_ATOM_DEVICE_TV1_SUPPORT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.6:
	movq	_ATOM_S2_TV1_DPMS_STATE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.7:
	notl	%esi
	andl	%eax, %esi
	jmp	LBB0_8
LBB0_5:
	movl	%eax, %esi
LBB0_8:
	movq	_ATOM_DEVICE_CV_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_13
## %bb.9:
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.10:
	movq	_ATOM_S2_CV_DPMS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %esi
	jmp	LBB0_13
LBB0_11:
	orl	%eax, %esi
	movq	_ATOM_DEVICE_CV_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_13
LBB0_12:
	movq	_ATOM_S2_CV_DPMS_STATE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
LBB0_13:
	movq	_ATOM_DEVICE_CRT1_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_16
## %bb.14:
	movq	_ATOM_S2_CRT1_DPMS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r15d, %r15d
	je	LBB0_19
## %bb.15:
	notl	%eax
	andl	%eax, %esi
LBB0_16:
	movq	_ATOM_DEVICE_CRT2_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_21
## %bb.17:
	testl	%r15d, %r15d
	je	LBB0_20
## %bb.18:
	movq	_ATOM_S2_CRT2_DPMS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %esi
	jmp	LBB0_21
LBB0_19:
	orl	%eax, %esi
	movq	_ATOM_DEVICE_CRT2_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_21
LBB0_20:
	movq	_ATOM_S2_CRT2_DPMS_STATE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
LBB0_21:
	movq	_ATOM_DEVICE_LCD1_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_24
## %bb.22:
	movq	_ATOM_S2_LCD1_DPMS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r15d, %r15d
	je	LBB0_27
## %bb.23:
	notl	%eax
	andl	%eax, %esi
LBB0_24:
	movq	_ATOM_DEVICE_DFP1_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_29
## %bb.25:
	testl	%r15d, %r15d
	je	LBB0_28
## %bb.26:
	movq	_ATOM_S2_DFP1_DPMS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %esi
	jmp	LBB0_29
LBB0_27:
	orl	%eax, %esi
	movq	_ATOM_DEVICE_DFP1_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_29
LBB0_28:
	movq	_ATOM_S2_DFP1_DPMS_STATE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
LBB0_29:
	movq	_ATOM_DEVICE_DFP2_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_32
## %bb.30:
	movq	_ATOM_S2_DFP2_DPMS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r15d, %r15d
	je	LBB0_35
## %bb.31:
	notl	%eax
	andl	%eax, %esi
LBB0_32:
	movq	_ATOM_DEVICE_DFP3_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_37
## %bb.33:
	testl	%r15d, %r15d
	je	LBB0_36
## %bb.34:
	movq	_ATOM_S2_DFP3_DPMS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %esi
	jmp	LBB0_37
LBB0_35:
	orl	%eax, %esi
	movq	_ATOM_DEVICE_DFP3_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_37
LBB0_36:
	movq	_ATOM_S2_DFP3_DPMS_STATE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
LBB0_37:
	movq	_ATOM_DEVICE_DFP4_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_40
## %bb.38:
	movq	_ATOM_S2_DFP4_DPMS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r15d, %r15d
	je	LBB0_43
## %bb.39:
	notl	%eax
	andl	%eax, %esi
LBB0_40:
	movq	_ATOM_DEVICE_DFP5_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_45
## %bb.41:
	testl	%r15d, %r15d
	je	LBB0_44
## %bb.42:
	movq	_ATOM_S2_DFP5_DPMS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %esi
	jmp	LBB0_45
LBB0_43:
	orl	%eax, %esi
	movq	_ATOM_DEVICE_DFP5_SUPPORT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_45
LBB0_44:
	movq	_ATOM_S2_DFP5_DPMS_STATE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
LBB0_45:
	movq	(%r14), %rax
	cmpq	(%r12), %rax
	jge	LBB0_46
## %bb.47:
	movq	_RADEON_BIOS_2_SCRATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_48
LBB0_46:
	movq	_R600_BIOS_2_SCRATCH@GOTPCREL(%rip), %rax
LBB0_48:
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_R600,8,3                  ## @CHIP_R600
	.comm	_R600_BIOS_2_SCRATCH,4,2        ## @R600_BIOS_2_SCRATCH
	.comm	_RADEON_BIOS_2_SCRATCH,4,2      ## @RADEON_BIOS_2_SCRATCH
	.comm	_ATOM_DEVICE_TV1_SUPPORT,4,2    ## @ATOM_DEVICE_TV1_SUPPORT
	.comm	_ATOM_S2_TV1_DPMS_STATE,4,2     ## @ATOM_S2_TV1_DPMS_STATE
	.comm	_ATOM_DEVICE_CV_SUPPORT,4,2     ## @ATOM_DEVICE_CV_SUPPORT
	.comm	_ATOM_S2_CV_DPMS_STATE,4,2      ## @ATOM_S2_CV_DPMS_STATE
	.comm	_ATOM_DEVICE_CRT1_SUPPORT,4,2   ## @ATOM_DEVICE_CRT1_SUPPORT
	.comm	_ATOM_S2_CRT1_DPMS_STATE,4,2    ## @ATOM_S2_CRT1_DPMS_STATE
	.comm	_ATOM_DEVICE_CRT2_SUPPORT,4,2   ## @ATOM_DEVICE_CRT2_SUPPORT
	.comm	_ATOM_S2_CRT2_DPMS_STATE,4,2    ## @ATOM_S2_CRT2_DPMS_STATE
	.comm	_ATOM_DEVICE_LCD1_SUPPORT,4,2   ## @ATOM_DEVICE_LCD1_SUPPORT
	.comm	_ATOM_S2_LCD1_DPMS_STATE,4,2    ## @ATOM_S2_LCD1_DPMS_STATE
	.comm	_ATOM_DEVICE_DFP1_SUPPORT,4,2   ## @ATOM_DEVICE_DFP1_SUPPORT
	.comm	_ATOM_S2_DFP1_DPMS_STATE,4,2    ## @ATOM_S2_DFP1_DPMS_STATE
	.comm	_ATOM_DEVICE_DFP2_SUPPORT,4,2   ## @ATOM_DEVICE_DFP2_SUPPORT
	.comm	_ATOM_S2_DFP2_DPMS_STATE,4,2    ## @ATOM_S2_DFP2_DPMS_STATE
	.comm	_ATOM_DEVICE_DFP3_SUPPORT,4,2   ## @ATOM_DEVICE_DFP3_SUPPORT
	.comm	_ATOM_S2_DFP3_DPMS_STATE,4,2    ## @ATOM_S2_DFP3_DPMS_STATE
	.comm	_ATOM_DEVICE_DFP4_SUPPORT,4,2   ## @ATOM_DEVICE_DFP4_SUPPORT
	.comm	_ATOM_S2_DFP4_DPMS_STATE,4,2    ## @ATOM_S2_DFP4_DPMS_STATE
	.comm	_ATOM_DEVICE_DFP5_SUPPORT,4,2   ## @ATOM_DEVICE_DFP5_SUPPORT
	.comm	_ATOM_S2_DFP5_DPMS_STATE,4,2    ## @ATOM_S2_DFP5_DPMS_STATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atombios_encoder_dpms_scratch_regs ; -- Begin function radeon_atombios_encoder_dpms_scratch_regs
	.p2align	2
_radeon_atombios_encoder_dpms_scratch_regs: ; @radeon_atombios_encoder_dpms_scratch_regs
	.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
	ldr	x8, [x0]
	ldr	x19, [x8]
	bl	_to_radeon_encoder
	mov	x21, x0
	mov	x0, x19
	bl	_ASIC_IS_DCE4
	cbz	x0, LBB0_2
; %bb.1:
	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
	ret
LBB0_2:
	ldr	x8, [x19]
Lloh0:
	adrp	x22, _CHIP_R600@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CHIP_R600@GOTPAGEOFF]
Lloh2:
	adrp	x23, _RADEON_BIOS_2_SCRATCH@GOTPAGE
Lloh3:
	ldr	x23, [x23, _RADEON_BIOS_2_SCRATCH@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh4:
	adrp	x24, _R600_BIOS_2_SCRATCH@GOTPAGE
Lloh5:
	ldr	x24, [x24, _R600_BIOS_2_SCRATCH@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x23, x24, lt
	ldr	w0, [x8]
	bl	_RREG32
	mov	x1, x0
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _ATOM_DEVICE_TV1_SUPPORT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ATOM_DEVICE_TV1_SUPPORT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x9]
Lloh9:
	adrp	x9, _ATOM_DEVICE_CV_SUPPORT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATOM_DEVICE_CV_SUPPORT@GOTPAGEOFF]
	tst	w10, w8
	b.eq	LBB0_5
; %bb.3:
Lloh11:
	adrp	x10, _ATOM_S2_TV1_DPMS_STATE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _ATOM_S2_TV1_DPMS_STATE@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	cbz	w20, LBB0_8
; %bb.4:
	bic	w1, w1, w10
LBB0_5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.6:
	cbz	w20, LBB0_9
; %bb.7:
Lloh14:
	adrp	x9, _ATOM_S2_CV_DPMS_STATE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ATOM_S2_CV_DPMS_STATE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	bic	w1, w1, w9
	b	LBB0_10
LBB0_8:
	orr	w1, w10, w1
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
LBB0_9:
Lloh17:
	adrp	x9, _ATOM_S2_CV_DPMS_STATE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ATOM_S2_CV_DPMS_STATE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w1, w9, w1
LBB0_10:
Lloh20:
	adrp	x9, _ATOM_DEVICE_CRT1_SUPPORT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ATOM_DEVICE_CRT1_SUPPORT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.11:
Lloh23:
	adrp	x9, _ATOM_S2_CRT1_DPMS_STATE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ATOM_S2_CRT1_DPMS_STATE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cbz	w20, LBB0_16
; %bb.12:
	bic	w1, w1, w9
LBB0_13:
Lloh26:
	adrp	x9, _ATOM_DEVICE_CRT2_SUPPORT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ATOM_DEVICE_CRT2_SUPPORT@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.14:
	cbz	w20, LBB0_17
; %bb.15:
Lloh29:
	adrp	x9, _ATOM_S2_CRT2_DPMS_STATE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ATOM_S2_CRT2_DPMS_STATE@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	bic	w1, w1, w9
	b	LBB0_18
LBB0_16:
	orr	w1, w9, w1
Lloh32:
	adrp	x9, _ATOM_DEVICE_CRT2_SUPPORT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ATOM_DEVICE_CRT2_SUPPORT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
LBB0_17:
Lloh35:
	adrp	x9, _ATOM_S2_CRT2_DPMS_STATE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ATOM_S2_CRT2_DPMS_STATE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w1, w9, w1
LBB0_18:
Lloh38:
	adrp	x9, _ATOM_DEVICE_LCD1_SUPPORT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _ATOM_DEVICE_LCD1_SUPPORT@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.19:
Lloh41:
	adrp	x9, _ATOM_S2_LCD1_DPMS_STATE@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ATOM_S2_LCD1_DPMS_STATE@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	cbz	w20, LBB0_24
; %bb.20:
	bic	w1, w1, w9
LBB0_21:
Lloh44:
	adrp	x9, _ATOM_DEVICE_DFP1_SUPPORT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ATOM_DEVICE_DFP1_SUPPORT@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.22:
	cbz	w20, LBB0_25
; %bb.23:
Lloh47:
	adrp	x9, _ATOM_S2_DFP1_DPMS_STATE@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ATOM_S2_DFP1_DPMS_STATE@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	bic	w1, w1, w9
	b	LBB0_26
LBB0_24:
	orr	w1, w9, w1
Lloh50:
	adrp	x9, _ATOM_DEVICE_DFP1_SUPPORT@GOTPAGE
Lloh51:
	ldr	x9, [x9, _ATOM_DEVICE_DFP1_SUPPORT@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
LBB0_25:
Lloh53:
	adrp	x9, _ATOM_S2_DFP1_DPMS_STATE@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ATOM_S2_DFP1_DPMS_STATE@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w1, w9, w1
LBB0_26:
Lloh56:
	adrp	x9, _ATOM_DEVICE_DFP2_SUPPORT@GOTPAGE
Lloh57:
	ldr	x9, [x9, _ATOM_DEVICE_DFP2_SUPPORT@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.27:
Lloh59:
	adrp	x9, _ATOM_S2_DFP2_DPMS_STATE@GOTPAGE
Lloh60:
	ldr	x9, [x9, _ATOM_S2_DFP2_DPMS_STATE@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	cbz	w20, LBB0_32
; %bb.28:
	bic	w1, w1, w9
LBB0_29:
Lloh62:
	adrp	x9, _ATOM_DEVICE_DFP3_SUPPORT@GOTPAGE
Lloh63:
	ldr	x9, [x9, _ATOM_DEVICE_DFP3_SUPPORT@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.30:
	cbz	w20, LBB0_33
; %bb.31:
Lloh65:
	adrp	x9, _ATOM_S2_DFP3_DPMS_STATE@GOTPAGE
Lloh66:
	ldr	x9, [x9, _ATOM_S2_DFP3_DPMS_STATE@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	bic	w1, w1, w9
	b	LBB0_34
LBB0_32:
	orr	w1, w9, w1
Lloh68:
	adrp	x9, _ATOM_DEVICE_DFP3_SUPPORT@GOTPAGE
Lloh69:
	ldr	x9, [x9, _ATOM_DEVICE_DFP3_SUPPORT@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
LBB0_33:
Lloh71:
	adrp	x9, _ATOM_S2_DFP3_DPMS_STATE@GOTPAGE
Lloh72:
	ldr	x9, [x9, _ATOM_S2_DFP3_DPMS_STATE@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	orr	w1, w9, w1
LBB0_34:
Lloh74:
	adrp	x9, _ATOM_DEVICE_DFP4_SUPPORT@GOTPAGE
Lloh75:
	ldr	x9, [x9, _ATOM_DEVICE_DFP4_SUPPORT@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.35:
Lloh77:
	adrp	x9, _ATOM_S2_DFP4_DPMS_STATE@GOTPAGE
Lloh78:
	ldr	x9, [x9, _ATOM_S2_DFP4_DPMS_STATE@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	cbz	w20, LBB0_40
; %bb.36:
	bic	w1, w1, w9
LBB0_37:
Lloh80:
	adrp	x9, _ATOM_DEVICE_DFP5_SUPPORT@GOTPAGE
Lloh81:
	ldr	x9, [x9, _ATOM_DEVICE_DFP5_SUPPORT@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_42
; %bb.38:
	cbz	w20, LBB0_41
; %bb.39:
Lloh83:
	adrp	x8, _ATOM_S2_DFP5_DPMS_STATE@GOTPAGE
Lloh84:
	ldr	x8, [x8, _ATOM_S2_DFP5_DPMS_STATE@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	bic	w1, w1, w8
	b	LBB0_42
LBB0_40:
	orr	w1, w9, w1
Lloh86:
	adrp	x9, _ATOM_DEVICE_DFP5_SUPPORT@GOTPAGE
Lloh87:
	ldr	x9, [x9, _ATOM_DEVICE_DFP5_SUPPORT@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_42
LBB0_41:
Lloh89:
	adrp	x8, _ATOM_S2_DFP5_DPMS_STATE@GOTPAGE
Lloh90:
	ldr	x8, [x8, _ATOM_S2_DFP5_DPMS_STATE@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	orr	w1, w8, w1
LBB0_42:
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	csel	x8, x23, x24, lt
	ldr	w0, [x8]
	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	_WREG32
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_R600,8,3                  ; @CHIP_R600
	.comm	_R600_BIOS_2_SCRATCH,4,2        ; @R600_BIOS_2_SCRATCH
	.comm	_RADEON_BIOS_2_SCRATCH,4,2      ; @RADEON_BIOS_2_SCRATCH
	.comm	_ATOM_DEVICE_TV1_SUPPORT,4,2    ; @ATOM_DEVICE_TV1_SUPPORT
	.comm	_ATOM_S2_TV1_DPMS_STATE,4,2     ; @ATOM_S2_TV1_DPMS_STATE
	.comm	_ATOM_DEVICE_CV_SUPPORT,4,2     ; @ATOM_DEVICE_CV_SUPPORT
	.comm	_ATOM_S2_CV_DPMS_STATE,4,2      ; @ATOM_S2_CV_DPMS_STATE
	.comm	_ATOM_DEVICE_CRT1_SUPPORT,4,2   ; @ATOM_DEVICE_CRT1_SUPPORT
	.comm	_ATOM_S2_CRT1_DPMS_STATE,4,2    ; @ATOM_S2_CRT1_DPMS_STATE
	.comm	_ATOM_DEVICE_CRT2_SUPPORT,4,2   ; @ATOM_DEVICE_CRT2_SUPPORT
	.comm	_ATOM_S2_CRT2_DPMS_STATE,4,2    ; @ATOM_S2_CRT2_DPMS_STATE
	.comm	_ATOM_DEVICE_LCD1_SUPPORT,4,2   ; @ATOM_DEVICE_LCD1_SUPPORT
	.comm	_ATOM_S2_LCD1_DPMS_STATE,4,2    ; @ATOM_S2_LCD1_DPMS_STATE
	.comm	_ATOM_DEVICE_DFP1_SUPPORT,4,2   ; @ATOM_DEVICE_DFP1_SUPPORT
	.comm	_ATOM_S2_DFP1_DPMS_STATE,4,2    ; @ATOM_S2_DFP1_DPMS_STATE
	.comm	_ATOM_DEVICE_DFP2_SUPPORT,4,2   ; @ATOM_DEVICE_DFP2_SUPPORT
	.comm	_ATOM_S2_DFP2_DPMS_STATE,4,2    ; @ATOM_S2_DFP2_DPMS_STATE
	.comm	_ATOM_DEVICE_DFP3_SUPPORT,4,2   ; @ATOM_DEVICE_DFP3_SUPPORT
	.comm	_ATOM_S2_DFP3_DPMS_STATE,4,2    ; @ATOM_S2_DFP3_DPMS_STATE
	.comm	_ATOM_DEVICE_DFP4_SUPPORT,4,2   ; @ATOM_DEVICE_DFP4_SUPPORT
	.comm	_ATOM_S2_DFP4_DPMS_STATE,4,2    ; @ATOM_S2_DFP4_DPMS_STATE
	.comm	_ATOM_DEVICE_DFP5_SUPPORT,4,2   ; @ATOM_DEVICE_DFP5_SUPPORT
	.comm	_ATOM_S2_DFP5_DPMS_STATE,4,2    ; @ATOM_S2_DFP5_DPMS_STATE
.subsections_via_symbols
