	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_combios_connected_scratch_regs ## -- Begin function radeon_combios_connected_scratch_regs
	.p2align	4, 0x90
_radeon_combios_connected_scratch_regs: ## @radeon_combios_connected_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	%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	%edx, %r12d
	movq	%rsi, %rbx
	callq	_to_radeon_connector
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_to_radeon_encoder
	movq	%rax, %r13
	movq	_RADEON_BIOS_4_SCRATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movl	%eax, %ebx
	movq	_RADEON_BIOS_5_SCRATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movl	%eax, %r15d
	movq	_ATOM_DEVICE_TV1_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_5
## %bb.1:
	testl	%eax, (%r14)
	je	LBB0_5
## %bb.2:
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_TV1_ATTACHED_SVIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %ebx
	movq	_RADEON_TV1_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%r15d, %eax
	movq	_RADEON_ACC_REQ_TV1@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %r15d
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_TV1_ATTACHED_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_RADEON_TV1_ON@GOTPCREL(%rip), %rax
	movq	_RADEON_ACC_REQ_TV1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r15d
LBB0_5:
	movq	_ATOM_DEVICE_LCD1_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_10
## %bb.6:
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.7:
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_LCD1_ATTACHED@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_RADEON_LCD1_ON@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_RADEON_ACC_REQ_LCD1@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.3(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_LCD1_ATTACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_RADEON_LCD1_ON@GOTPCREL(%rip), %rax
	movq	_RADEON_ACC_REQ_LCD1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r15d
LBB0_10:
	movq	_ATOM_DEVICE_CRT1_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_15
## %bb.11:
	testl	%eax, (%r14)
	je	LBB0_15
## %bb.12:
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_CRT1_ATTACHED_COLOR@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_RADEON_CRT1_ON@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_RADEON_ACC_REQ_CRT1@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str.5(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_CRT1_ATTACHED_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_RADEON_CRT1_ON@GOTPCREL(%rip), %rax
	movq	_RADEON_ACC_REQ_CRT1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r15d
LBB0_15:
	movq	_ATOM_DEVICE_CRT2_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_20
## %bb.16:
	testl	%eax, (%r14)
	je	LBB0_20
## %bb.17:
	testl	%r12d, %r12d
	je	LBB0_19
## %bb.18:
	leaq	L_.str.6(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_CRT2_ATTACHED_COLOR@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_RADEON_CRT2_ON@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_RADEON_ACC_REQ_CRT2@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_20
LBB0_19:
	leaq	L_.str.7(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_CRT2_ATTACHED_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_RADEON_CRT2_ON@GOTPCREL(%rip), %rax
	movq	_RADEON_ACC_REQ_CRT2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r15d
LBB0_20:
	movq	_ATOM_DEVICE_DFP1_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_25
## %bb.21:
	testl	%eax, (%r14)
	je	LBB0_25
## %bb.22:
	testl	%r12d, %r12d
	je	LBB0_24
## %bb.23:
	leaq	L_.str.8(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_DFP1_ATTACHED@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_RADEON_DFP1_ON@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_RADEON_ACC_REQ_DFP1@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_25
LBB0_24:
	leaq	L_.str.9(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_DFP1_ATTACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_RADEON_DFP1_ON@GOTPCREL(%rip), %rax
	movq	_RADEON_ACC_REQ_DFP1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r15d
LBB0_25:
	movq	_ATOM_DEVICE_DFP2_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_30
## %bb.26:
	testl	%eax, (%r14)
	je	LBB0_30
## %bb.27:
	testl	%r12d, %r12d
	je	LBB0_29
## %bb.28:
	leaq	L_.str.10(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_DFP2_ATTACHED@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_RADEON_DFP2_ON@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_RADEON_ACC_REQ_DFP2@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_30
LBB0_29:
	leaq	L_.str.11(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_RADEON_DFP2_ATTACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_RADEON_DFP2_ON@GOTPCREL(%rip), %rax
	movq	_RADEON_ACC_REQ_DFP2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r15d
LBB0_30:
	movq	_RADEON_BIOS_4_SCRATCH@GOTPCREL(%rip), %rax
	movl	%ebx, %esi
	movq	_RADEON_BIOS_5_SCRATCH@GOTPCREL(%rip), %rbx
	movl	(%rax), %edi
	callq	_WREG32
	movl	(%rbx), %edi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RADEON_BIOS_4_SCRATCH,4,2      ## @RADEON_BIOS_4_SCRATCH
	.comm	_RADEON_BIOS_5_SCRATCH,4,2      ## @RADEON_BIOS_5_SCRATCH
	.comm	_ATOM_DEVICE_TV1_SUPPORT,4,2    ## @ATOM_DEVICE_TV1_SUPPORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TV1 connected\n"

	.comm	_RADEON_TV1_ATTACHED_SVIDEO,4,2 ## @RADEON_TV1_ATTACHED_SVIDEO
	.comm	_RADEON_TV1_ON,4,2              ## @RADEON_TV1_ON
	.comm	_RADEON_ACC_REQ_TV1,4,2         ## @RADEON_ACC_REQ_TV1
L_.str.1:                               ## @.str.1
	.asciz	"TV1 disconnected\n"

	.comm	_RADEON_TV1_ATTACHED_MASK,4,2   ## @RADEON_TV1_ATTACHED_MASK
	.comm	_ATOM_DEVICE_LCD1_SUPPORT,4,2   ## @ATOM_DEVICE_LCD1_SUPPORT
L_.str.2:                               ## @.str.2
	.asciz	"LCD1 connected\n"

	.comm	_RADEON_LCD1_ATTACHED,4,2       ## @RADEON_LCD1_ATTACHED
	.comm	_RADEON_LCD1_ON,4,2             ## @RADEON_LCD1_ON
	.comm	_RADEON_ACC_REQ_LCD1,4,2        ## @RADEON_ACC_REQ_LCD1
L_.str.3:                               ## @.str.3
	.asciz	"LCD1 disconnected\n"

	.comm	_ATOM_DEVICE_CRT1_SUPPORT,4,2   ## @ATOM_DEVICE_CRT1_SUPPORT
L_.str.4:                               ## @.str.4
	.asciz	"CRT1 connected\n"

	.comm	_RADEON_CRT1_ATTACHED_COLOR,4,2 ## @RADEON_CRT1_ATTACHED_COLOR
	.comm	_RADEON_CRT1_ON,4,2             ## @RADEON_CRT1_ON
	.comm	_RADEON_ACC_REQ_CRT1,4,2        ## @RADEON_ACC_REQ_CRT1
L_.str.5:                               ## @.str.5
	.asciz	"CRT1 disconnected\n"

	.comm	_RADEON_CRT1_ATTACHED_MASK,4,2  ## @RADEON_CRT1_ATTACHED_MASK
	.comm	_ATOM_DEVICE_CRT2_SUPPORT,4,2   ## @ATOM_DEVICE_CRT2_SUPPORT
L_.str.6:                               ## @.str.6
	.asciz	"CRT2 connected\n"

	.comm	_RADEON_CRT2_ATTACHED_COLOR,4,2 ## @RADEON_CRT2_ATTACHED_COLOR
	.comm	_RADEON_CRT2_ON,4,2             ## @RADEON_CRT2_ON
	.comm	_RADEON_ACC_REQ_CRT2,4,2        ## @RADEON_ACC_REQ_CRT2
L_.str.7:                               ## @.str.7
	.asciz	"CRT2 disconnected\n"

	.comm	_RADEON_CRT2_ATTACHED_MASK,4,2  ## @RADEON_CRT2_ATTACHED_MASK
	.comm	_ATOM_DEVICE_DFP1_SUPPORT,4,2   ## @ATOM_DEVICE_DFP1_SUPPORT
L_.str.8:                               ## @.str.8
	.asciz	"DFP1 connected\n"

	.comm	_RADEON_DFP1_ATTACHED,4,2       ## @RADEON_DFP1_ATTACHED
	.comm	_RADEON_DFP1_ON,4,2             ## @RADEON_DFP1_ON
	.comm	_RADEON_ACC_REQ_DFP1,4,2        ## @RADEON_ACC_REQ_DFP1
L_.str.9:                               ## @.str.9
	.asciz	"DFP1 disconnected\n"

	.comm	_ATOM_DEVICE_DFP2_SUPPORT,4,2   ## @ATOM_DEVICE_DFP2_SUPPORT
L_.str.10:                              ## @.str.10
	.asciz	"DFP2 connected\n"

	.comm	_RADEON_DFP2_ATTACHED,4,2       ## @RADEON_DFP2_ATTACHED
	.comm	_RADEON_DFP2_ON,4,2             ## @RADEON_DFP2_ON
	.comm	_RADEON_ACC_REQ_DFP2,4,2        ## @RADEON_ACC_REQ_DFP2
L_.str.11:                              ## @.str.11
	.asciz	"DFP2 disconnected\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_combios_connected_scratch_regs ; -- Begin function radeon_combios_connected_scratch_regs
	.p2align	2
_radeon_combios_connected_scratch_regs: ; @radeon_combios_connected_scratch_regs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x19, x1
	bl	_to_radeon_connector
	mov	x22, x0
	mov	x0, x19
	bl	_to_radeon_encoder
	mov	x23, x0
Lloh0:
	adrp	x24, _RADEON_BIOS_4_SCRATCH@GOTPAGE
Lloh1:
	ldr	x24, [x24, _RADEON_BIOS_4_SCRATCH@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_RREG32
	mov	x19, x0
Lloh2:
	adrp	x25, _RADEON_BIOS_5_SCRATCH@GOTPAGE
Lloh3:
	ldr	x25, [x25, _RADEON_BIOS_5_SCRATCH@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_RREG32
	mov	x20, x0
	ldr	w9, [x23]
Lloh4:
	adrp	x8, _ATOM_DEVICE_TV1_SUPPORT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ATOM_DEVICE_TV1_SUPPORT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_5
; %bb.1:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	cbz	w21, LBB0_4
; %bb.3:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh9:
	adrp	x8, _RADEON_TV1_ATTACHED_SVIDEO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RADEON_TV1_ATTACHED_SVIDEO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh12:
	adrp	x8, _RADEON_TV1_ON@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RADEON_TV1_ON@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh15:
	adrp	x9, _RADEON_ACC_REQ_TV1@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RADEON_ACC_REQ_TV1@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w20, w8, w9
	b	LBB0_5
LBB0_4:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh20:
	adrp	x8, _RADEON_TV1_ATTACHED_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RADEON_TV1_ATTACHED_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh23:
	adrp	x8, _RADEON_TV1_ON@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RADEON_TV1_ON@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _RADEON_ACC_REQ_TV1@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RADEON_ACC_REQ_TV1@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w20, w20, w8
LBB0_5:
	ldr	w9, [x23]
Lloh29:
	adrp	x8, _ATOM_DEVICE_LCD1_SUPPORT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ATOM_DEVICE_LCD1_SUPPORT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_10
; %bb.6:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.7:
	cbz	w21, LBB0_9
; %bb.8:
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh34:
	adrp	x8, _RADEON_LCD1_ATTACHED@GOTPAGE
Lloh35:
	ldr	x8, [x8, _RADEON_LCD1_ATTACHED@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh37:
	adrp	x8, _RADEON_LCD1_ON@GOTPAGE
Lloh38:
	ldr	x8, [x8, _RADEON_LCD1_ON@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh40:
	adrp	x9, _RADEON_ACC_REQ_LCD1@GOTPAGE
Lloh41:
	ldr	x9, [x9, _RADEON_ACC_REQ_LCD1@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w20, w8, w9
	b	LBB0_10
LBB0_9:
Lloh43:
	adrp	x0, l_.str.3@PAGE
Lloh44:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh45:
	adrp	x8, _RADEON_LCD1_ATTACHED@GOTPAGE
Lloh46:
	ldr	x8, [x8, _RADEON_LCD1_ATTACHED@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh48:
	adrp	x8, _RADEON_LCD1_ON@GOTPAGE
Lloh49:
	ldr	x8, [x8, _RADEON_LCD1_ON@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
Lloh51:
	adrp	x9, _RADEON_ACC_REQ_LCD1@GOTPAGE
Lloh52:
	ldr	x9, [x9, _RADEON_ACC_REQ_LCD1@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w20, w20, w8
LBB0_10:
	ldr	w9, [x23]
Lloh54:
	adrp	x8, _ATOM_DEVICE_CRT1_SUPPORT@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ATOM_DEVICE_CRT1_SUPPORT@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_15
; %bb.11:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.12:
	cbz	w21, LBB0_14
; %bb.13:
Lloh57:
	adrp	x0, l_.str.4@PAGE
Lloh58:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh59:
	adrp	x8, _RADEON_CRT1_ATTACHED_COLOR@GOTPAGE
Lloh60:
	ldr	x8, [x8, _RADEON_CRT1_ATTACHED_COLOR@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh62:
	adrp	x8, _RADEON_CRT1_ON@GOTPAGE
Lloh63:
	ldr	x8, [x8, _RADEON_CRT1_ON@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh65:
	adrp	x9, _RADEON_ACC_REQ_CRT1@GOTPAGE
Lloh66:
	ldr	x9, [x9, _RADEON_ACC_REQ_CRT1@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	orr	w20, w8, w9
	b	LBB0_15
LBB0_14:
Lloh68:
	adrp	x0, l_.str.5@PAGE
Lloh69:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh70:
	adrp	x8, _RADEON_CRT1_ATTACHED_MASK@GOTPAGE
Lloh71:
	ldr	x8, [x8, _RADEON_CRT1_ATTACHED_MASK@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh73:
	adrp	x8, _RADEON_CRT1_ON@GOTPAGE
Lloh74:
	ldr	x8, [x8, _RADEON_CRT1_ON@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
Lloh76:
	adrp	x9, _RADEON_ACC_REQ_CRT1@GOTPAGE
Lloh77:
	ldr	x9, [x9, _RADEON_ACC_REQ_CRT1@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w20, w20, w8
LBB0_15:
	ldr	w9, [x23]
Lloh79:
	adrp	x8, _ATOM_DEVICE_CRT2_SUPPORT@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ATOM_DEVICE_CRT2_SUPPORT@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_20
; %bb.16:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.17:
	cbz	w21, LBB0_19
; %bb.18:
Lloh82:
	adrp	x0, l_.str.6@PAGE
Lloh83:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh84:
	adrp	x8, _RADEON_CRT2_ATTACHED_COLOR@GOTPAGE
Lloh85:
	ldr	x8, [x8, _RADEON_CRT2_ATTACHED_COLOR@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh87:
	adrp	x8, _RADEON_CRT2_ON@GOTPAGE
Lloh88:
	ldr	x8, [x8, _RADEON_CRT2_ON@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh90:
	adrp	x9, _RADEON_ACC_REQ_CRT2@GOTPAGE
Lloh91:
	ldr	x9, [x9, _RADEON_ACC_REQ_CRT2@GOTPAGEOFF]
Lloh92:
	ldr	w9, [x9]
	orr	w20, w8, w9
	b	LBB0_20
LBB0_19:
Lloh93:
	adrp	x0, l_.str.7@PAGE
Lloh94:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh95:
	adrp	x8, _RADEON_CRT2_ATTACHED_MASK@GOTPAGE
Lloh96:
	ldr	x8, [x8, _RADEON_CRT2_ATTACHED_MASK@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh98:
	adrp	x8, _RADEON_CRT2_ON@GOTPAGE
Lloh99:
	ldr	x8, [x8, _RADEON_CRT2_ON@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
Lloh101:
	adrp	x9, _RADEON_ACC_REQ_CRT2@GOTPAGE
Lloh102:
	ldr	x9, [x9, _RADEON_ACC_REQ_CRT2@GOTPAGEOFF]
Lloh103:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w20, w20, w8
LBB0_20:
	ldr	w9, [x23]
Lloh104:
	adrp	x8, _ATOM_DEVICE_DFP1_SUPPORT@GOTPAGE
Lloh105:
	ldr	x8, [x8, _ATOM_DEVICE_DFP1_SUPPORT@GOTPAGEOFF]
Lloh106:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_25
; %bb.21:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.22:
	cbz	w21, LBB0_24
; %bb.23:
Lloh107:
	adrp	x0, l_.str.8@PAGE
Lloh108:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh109:
	adrp	x8, _RADEON_DFP1_ATTACHED@GOTPAGE
Lloh110:
	ldr	x8, [x8, _RADEON_DFP1_ATTACHED@GOTPAGEOFF]
Lloh111:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh112:
	adrp	x8, _RADEON_DFP1_ON@GOTPAGE
Lloh113:
	ldr	x8, [x8, _RADEON_DFP1_ON@GOTPAGEOFF]
Lloh114:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh115:
	adrp	x9, _RADEON_ACC_REQ_DFP1@GOTPAGE
Lloh116:
	ldr	x9, [x9, _RADEON_ACC_REQ_DFP1@GOTPAGEOFF]
Lloh117:
	ldr	w9, [x9]
	orr	w20, w8, w9
	b	LBB0_25
LBB0_24:
Lloh118:
	adrp	x0, l_.str.9@PAGE
Lloh119:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh120:
	adrp	x8, _RADEON_DFP1_ATTACHED@GOTPAGE
Lloh121:
	ldr	x8, [x8, _RADEON_DFP1_ATTACHED@GOTPAGEOFF]
Lloh122:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh123:
	adrp	x8, _RADEON_DFP1_ON@GOTPAGE
Lloh124:
	ldr	x8, [x8, _RADEON_DFP1_ON@GOTPAGEOFF]
Lloh125:
	ldr	w8, [x8]
Lloh126:
	adrp	x9, _RADEON_ACC_REQ_DFP1@GOTPAGE
Lloh127:
	ldr	x9, [x9, _RADEON_ACC_REQ_DFP1@GOTPAGEOFF]
Lloh128:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w20, w20, w8
LBB0_25:
	ldr	w9, [x23]
Lloh129:
	adrp	x8, _ATOM_DEVICE_DFP2_SUPPORT@GOTPAGE
Lloh130:
	ldr	x8, [x8, _ATOM_DEVICE_DFP2_SUPPORT@GOTPAGEOFF]
Lloh131:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_30
; %bb.26:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.27:
	cbz	w21, LBB0_29
; %bb.28:
Lloh132:
	adrp	x0, l_.str.10@PAGE
Lloh133:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh134:
	adrp	x8, _RADEON_DFP2_ATTACHED@GOTPAGE
Lloh135:
	ldr	x8, [x8, _RADEON_DFP2_ATTACHED@GOTPAGEOFF]
Lloh136:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh137:
	adrp	x8, _RADEON_DFP2_ON@GOTPAGE
Lloh138:
	ldr	x8, [x8, _RADEON_DFP2_ON@GOTPAGEOFF]
Lloh139:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh140:
	adrp	x9, _RADEON_ACC_REQ_DFP2@GOTPAGE
Lloh141:
	ldr	x9, [x9, _RADEON_ACC_REQ_DFP2@GOTPAGEOFF]
Lloh142:
	ldr	w9, [x9]
	orr	w20, w8, w9
	b	LBB0_30
LBB0_29:
Lloh143:
	adrp	x0, l_.str.11@PAGE
Lloh144:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh145:
	adrp	x8, _RADEON_DFP2_ATTACHED@GOTPAGE
Lloh146:
	ldr	x8, [x8, _RADEON_DFP2_ATTACHED@GOTPAGEOFF]
Lloh147:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh148:
	adrp	x8, _RADEON_DFP2_ON@GOTPAGE
Lloh149:
	ldr	x8, [x8, _RADEON_DFP2_ON@GOTPAGEOFF]
Lloh150:
	ldr	w8, [x8]
Lloh151:
	adrp	x9, _RADEON_ACC_REQ_DFP2@GOTPAGE
Lloh152:
	ldr	x9, [x9, _RADEON_ACC_REQ_DFP2@GOTPAGEOFF]
Lloh153:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w20, w20, w8
LBB0_30:
	ldr	w0, [x24]
	mov	x1, x19
	bl	_WREG32
	ldr	w0, [x25]
	mov	x1, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpAdd	Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpAdd	Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh151, Lloh152, Lloh153
	.loh AdrpLdrGotLdr	Lloh148, Lloh149, Lloh150
	.loh AdrpLdrGotLdr	Lloh145, Lloh146, Lloh147
	.loh AdrpAdd	Lloh143, Lloh144
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEON_BIOS_4_SCRATCH,4,2      ; @RADEON_BIOS_4_SCRATCH
	.comm	_RADEON_BIOS_5_SCRATCH,4,2      ; @RADEON_BIOS_5_SCRATCH
	.comm	_ATOM_DEVICE_TV1_SUPPORT,4,2    ; @ATOM_DEVICE_TV1_SUPPORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TV1 connected\n"

	.comm	_RADEON_TV1_ATTACHED_SVIDEO,4,2 ; @RADEON_TV1_ATTACHED_SVIDEO
	.comm	_RADEON_TV1_ON,4,2              ; @RADEON_TV1_ON
	.comm	_RADEON_ACC_REQ_TV1,4,2         ; @RADEON_ACC_REQ_TV1
l_.str.1:                               ; @.str.1
	.asciz	"TV1 disconnected\n"

	.comm	_RADEON_TV1_ATTACHED_MASK,4,2   ; @RADEON_TV1_ATTACHED_MASK
	.comm	_ATOM_DEVICE_LCD1_SUPPORT,4,2   ; @ATOM_DEVICE_LCD1_SUPPORT
l_.str.2:                               ; @.str.2
	.asciz	"LCD1 connected\n"

	.comm	_RADEON_LCD1_ATTACHED,4,2       ; @RADEON_LCD1_ATTACHED
	.comm	_RADEON_LCD1_ON,4,2             ; @RADEON_LCD1_ON
	.comm	_RADEON_ACC_REQ_LCD1,4,2        ; @RADEON_ACC_REQ_LCD1
l_.str.3:                               ; @.str.3
	.asciz	"LCD1 disconnected\n"

	.comm	_ATOM_DEVICE_CRT1_SUPPORT,4,2   ; @ATOM_DEVICE_CRT1_SUPPORT
l_.str.4:                               ; @.str.4
	.asciz	"CRT1 connected\n"

	.comm	_RADEON_CRT1_ATTACHED_COLOR,4,2 ; @RADEON_CRT1_ATTACHED_COLOR
	.comm	_RADEON_CRT1_ON,4,2             ; @RADEON_CRT1_ON
	.comm	_RADEON_ACC_REQ_CRT1,4,2        ; @RADEON_ACC_REQ_CRT1
l_.str.5:                               ; @.str.5
	.asciz	"CRT1 disconnected\n"

	.comm	_RADEON_CRT1_ATTACHED_MASK,4,2  ; @RADEON_CRT1_ATTACHED_MASK
	.comm	_ATOM_DEVICE_CRT2_SUPPORT,4,2   ; @ATOM_DEVICE_CRT2_SUPPORT
l_.str.6:                               ; @.str.6
	.asciz	"CRT2 connected\n"

	.comm	_RADEON_CRT2_ATTACHED_COLOR,4,2 ; @RADEON_CRT2_ATTACHED_COLOR
	.comm	_RADEON_CRT2_ON,4,2             ; @RADEON_CRT2_ON
	.comm	_RADEON_ACC_REQ_CRT2,4,2        ; @RADEON_ACC_REQ_CRT2
l_.str.7:                               ; @.str.7
	.asciz	"CRT2 disconnected\n"

	.comm	_RADEON_CRT2_ATTACHED_MASK,4,2  ; @RADEON_CRT2_ATTACHED_MASK
	.comm	_ATOM_DEVICE_DFP1_SUPPORT,4,2   ; @ATOM_DEVICE_DFP1_SUPPORT
l_.str.8:                               ; @.str.8
	.asciz	"DFP1 connected\n"

	.comm	_RADEON_DFP1_ATTACHED,4,2       ; @RADEON_DFP1_ATTACHED
	.comm	_RADEON_DFP1_ON,4,2             ; @RADEON_DFP1_ON
	.comm	_RADEON_ACC_REQ_DFP1,4,2        ; @RADEON_ACC_REQ_DFP1
l_.str.9:                               ; @.str.9
	.asciz	"DFP1 disconnected\n"

	.comm	_ATOM_DEVICE_DFP2_SUPPORT,4,2   ; @ATOM_DEVICE_DFP2_SUPPORT
l_.str.10:                              ; @.str.10
	.asciz	"DFP2 connected\n"

	.comm	_RADEON_DFP2_ATTACHED,4,2       ; @RADEON_DFP2_ATTACHED
	.comm	_RADEON_DFP2_ON,4,2             ; @RADEON_DFP2_ON
	.comm	_RADEON_ACC_REQ_DFP2,4,2        ; @RADEON_ACC_REQ_DFP2
l_.str.11:                              ; @.str.11
	.asciz	"DFP2 disconnected\n"

.subsections_via_symbols
