	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_atombios_encoder_set_bios_scratch_regs ## -- Begin function amdgpu_atombios_encoder_set_bios_scratch_regs
	.p2align	4, 0x90
_amdgpu_atombios_encoder_set_bios_scratch_regs: ## @amdgpu_atombios_encoder_set_bios_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	callq	_to_amdgpu_connector
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_to_amdgpu_encoder
	movq	%rax, %r12
	movq	_mmBIOS_SCRATCH_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movl	%eax, %ebx
	movq	_mmBIOS_SCRATCH_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movl	%eax, %r15d
	movq	_mmBIOS_SCRATCH_6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movl	%eax, %r13d
	movq	_ATOM_DEVICE_LCD1_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.1:
	testl	%eax, (%r14)
	je	LBB0_5
## %bb.2:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_LCD1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%ebx, %esi
	orl	%eax, %esi
	movq	_ATOM_S3_LCD1_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %r15d
	movq	_ATOM_S6_ACC_REQ_LCD1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %r13d
	jmp	LBB0_7
LBB0_5:
	movl	%ebx, %esi
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_LCD1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	%ebx, %esi
	andl	%eax, %esi
	movq	_ATOM_S3_LCD1_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_ATOM_S6_ACC_REQ_LCD1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_7:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_8:
	movq	_ATOM_DEVICE_CRT1_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_14
## %bb.9:
	testl	%eax, (%r14)
	je	LBB0_14
## %bb.10:
	movl	%esi, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_CRT1_COLOR@GOTPCREL(%rip), %rax
	movl	%ebx, %esi
	orl	(%rax), %esi
	movq	_ATOM_S3_CRT1_ACTIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_ATOM_S6_ACC_REQ_CRT1@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_CRT1_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	%ebx, %esi
	andl	%eax, %esi
	movq	_ATOM_S3_CRT1_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_ATOM_S6_ACC_REQ_CRT1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_13:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_14:
	movq	_ATOM_DEVICE_CRT2_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_20
## %bb.15:
	testl	%eax, (%r14)
	je	LBB0_20
## %bb.16:
	movl	%esi, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_18
## %bb.17:
	leaq	L_.str.4(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_CRT2_COLOR@GOTPCREL(%rip), %rax
	movl	%ebx, %esi
	orl	(%rax), %esi
	movq	_ATOM_S3_CRT2_ACTIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_ATOM_S6_ACC_REQ_CRT2@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_19
LBB0_18:
	leaq	L_.str.5(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_CRT2_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	%ebx, %esi
	andl	%eax, %esi
	movq	_ATOM_S3_CRT2_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_ATOM_S6_ACC_REQ_CRT2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_19:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_20:
	movq	_ATOM_DEVICE_DFP1_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_26
## %bb.21:
	testl	%eax, (%r14)
	je	LBB0_26
## %bb.22:
	movl	%esi, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_24
## %bb.23:
	leaq	L_.str.6(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP1@GOTPCREL(%rip), %rax
	movl	%ebx, %esi
	orl	(%rax), %esi
	movq	_ATOM_S3_DFP1_ACTIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_ATOM_S6_ACC_REQ_DFP1@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_25
LBB0_24:
	leaq	L_.str.7(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	%ebx, %esi
	andl	%eax, %esi
	movq	_ATOM_S3_DFP1_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_ATOM_S6_ACC_REQ_DFP1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_25:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_26:
	movq	_ATOM_DEVICE_DFP2_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_32
## %bb.27:
	testl	%eax, (%r14)
	je	LBB0_32
## %bb.28:
	movl	%esi, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_30
## %bb.29:
	leaq	L_.str.8(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP2@GOTPCREL(%rip), %rax
	movl	%ebx, %esi
	orl	(%rax), %esi
	movq	_ATOM_S3_DFP2_ACTIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_ATOM_S6_ACC_REQ_DFP2@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_31
LBB0_30:
	leaq	L_.str.9(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	%ebx, %esi
	andl	%eax, %esi
	movq	_ATOM_S3_DFP2_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_ATOM_S6_ACC_REQ_DFP2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_31:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_32:
	movq	_ATOM_DEVICE_DFP3_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_38
## %bb.33:
	testl	%eax, (%r14)
	je	LBB0_38
## %bb.34:
	movl	%esi, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_36
## %bb.35:
	leaq	L_.str.10(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP3@GOTPCREL(%rip), %rax
	movl	%ebx, %esi
	orl	(%rax), %esi
	movq	_ATOM_S3_DFP3_ACTIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_ATOM_S6_ACC_REQ_DFP3@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_37
LBB0_36:
	leaq	L_.str.11(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	%ebx, %esi
	andl	%eax, %esi
	movq	_ATOM_S3_DFP3_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_ATOM_S6_ACC_REQ_DFP3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_37:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_38:
	movq	_ATOM_DEVICE_DFP4_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_44
## %bb.39:
	testl	%eax, (%r14)
	je	LBB0_44
## %bb.40:
	movl	%esi, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_42
## %bb.41:
	leaq	L_.str.12(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP4@GOTPCREL(%rip), %rax
	movl	%ebx, %esi
	orl	(%rax), %esi
	movq	_ATOM_S3_DFP4_ACTIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_ATOM_S6_ACC_REQ_DFP4@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_43
LBB0_42:
	leaq	L_.str.13(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	%ebx, %esi
	andl	%eax, %esi
	movq	_ATOM_S3_DFP4_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_ATOM_S6_ACC_REQ_DFP4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_43:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_44:
	movq	_ATOM_DEVICE_DFP5_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_50
## %bb.45:
	testl	%eax, (%r14)
	je	LBB0_50
## %bb.46:
	movl	%esi, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_48
## %bb.47:
	leaq	L_.str.14(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP5@GOTPCREL(%rip), %rax
	movl	%ebx, %esi
	orl	(%rax), %esi
	movq	_ATOM_S3_DFP5_ACTIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_ATOM_S6_ACC_REQ_DFP5@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_49
LBB0_48:
	leaq	L_.str.15(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	%ebx, %esi
	andl	%eax, %esi
	movq	_ATOM_S3_DFP5_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_ATOM_S6_ACC_REQ_DFP5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_49:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_50:
	movq	_ATOM_DEVICE_DFP6_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_54
## %bb.51:
	testl	%eax, (%r14)
	je	LBB0_54
## %bb.52:
	movl	%esi, %ebx
	movq	_mmBIOS_SCRATCH_6@GOTPCREL(%rip), %r12
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_55
## %bb.53:
	leaq	L_.str.16(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP6@GOTPCREL(%rip), %rax
	movl	%ebx, %esi
	orl	(%rax), %esi
	movq	_ATOM_S3_DFP6_ACTIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_ATOM_S6_ACC_REQ_DFP6@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_56
LBB0_54:
	movq	_mmBIOS_SCRATCH_6@GOTPCREL(%rip), %r12
	jmp	LBB0_56
LBB0_55:
	leaq	L_.str.17(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	_ATOM_S0_DFP6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	%ebx, %esi
	andl	%eax, %esi
	movq	_ATOM_S3_DFP6_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_ATOM_S6_ACC_REQ_DFP6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_56:
	movq	_mmBIOS_SCRATCH_0@GOTPCREL(%rip), %rax
	movq	_mmBIOS_SCRATCH_3@GOTPCREL(%rip), %rbx
	movl	(%rax), %edi
	callq	_WREG32
	movl	(%rbx), %edi
	movl	%r15d, %esi
	callq	_WREG32
	movl	(%r12), %edi
	movl	%r13d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmBIOS_SCRATCH_0,4,2           ## @mmBIOS_SCRATCH_0
	.comm	_mmBIOS_SCRATCH_3,4,2           ## @mmBIOS_SCRATCH_3
	.comm	_mmBIOS_SCRATCH_6,4,2           ## @mmBIOS_SCRATCH_6
	.comm	_ATOM_DEVICE_LCD1_SUPPORT,4,2   ## @ATOM_DEVICE_LCD1_SUPPORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LCD1 connected\n"

	.comm	_ATOM_S0_LCD1,4,2               ## @ATOM_S0_LCD1
	.comm	_ATOM_S3_LCD1_ACTIVE,4,2        ## @ATOM_S3_LCD1_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_LCD1,4,2       ## @ATOM_S6_ACC_REQ_LCD1
L_.str.1:                               ## @.str.1
	.asciz	"LCD1 disconnected\n"

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

	.comm	_ATOM_S0_CRT1_COLOR,4,2         ## @ATOM_S0_CRT1_COLOR
	.comm	_ATOM_S3_CRT1_ACTIVE,4,2        ## @ATOM_S3_CRT1_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_CRT1,4,2       ## @ATOM_S6_ACC_REQ_CRT1
L_.str.3:                               ## @.str.3
	.asciz	"CRT1 disconnected\n"

	.comm	_ATOM_S0_CRT1_MASK,4,2          ## @ATOM_S0_CRT1_MASK
	.comm	_ATOM_DEVICE_CRT2_SUPPORT,4,2   ## @ATOM_DEVICE_CRT2_SUPPORT
L_.str.4:                               ## @.str.4
	.asciz	"CRT2 connected\n"

	.comm	_ATOM_S0_CRT2_COLOR,4,2         ## @ATOM_S0_CRT2_COLOR
	.comm	_ATOM_S3_CRT2_ACTIVE,4,2        ## @ATOM_S3_CRT2_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_CRT2,4,2       ## @ATOM_S6_ACC_REQ_CRT2
L_.str.5:                               ## @.str.5
	.asciz	"CRT2 disconnected\n"

	.comm	_ATOM_S0_CRT2_MASK,4,2          ## @ATOM_S0_CRT2_MASK
	.comm	_ATOM_DEVICE_DFP1_SUPPORT,4,2   ## @ATOM_DEVICE_DFP1_SUPPORT
L_.str.6:                               ## @.str.6
	.asciz	"DFP1 connected\n"

	.comm	_ATOM_S0_DFP1,4,2               ## @ATOM_S0_DFP1
	.comm	_ATOM_S3_DFP1_ACTIVE,4,2        ## @ATOM_S3_DFP1_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP1,4,2       ## @ATOM_S6_ACC_REQ_DFP1
L_.str.7:                               ## @.str.7
	.asciz	"DFP1 disconnected\n"

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

	.comm	_ATOM_S0_DFP2,4,2               ## @ATOM_S0_DFP2
	.comm	_ATOM_S3_DFP2_ACTIVE,4,2        ## @ATOM_S3_DFP2_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP2,4,2       ## @ATOM_S6_ACC_REQ_DFP2
L_.str.9:                               ## @.str.9
	.asciz	"DFP2 disconnected\n"

	.comm	_ATOM_DEVICE_DFP3_SUPPORT,4,2   ## @ATOM_DEVICE_DFP3_SUPPORT
L_.str.10:                              ## @.str.10
	.asciz	"DFP3 connected\n"

	.comm	_ATOM_S0_DFP3,4,2               ## @ATOM_S0_DFP3
	.comm	_ATOM_S3_DFP3_ACTIVE,4,2        ## @ATOM_S3_DFP3_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP3,4,2       ## @ATOM_S6_ACC_REQ_DFP3
L_.str.11:                              ## @.str.11
	.asciz	"DFP3 disconnected\n"

	.comm	_ATOM_DEVICE_DFP4_SUPPORT,4,2   ## @ATOM_DEVICE_DFP4_SUPPORT
L_.str.12:                              ## @.str.12
	.asciz	"DFP4 connected\n"

	.comm	_ATOM_S0_DFP4,4,2               ## @ATOM_S0_DFP4
	.comm	_ATOM_S3_DFP4_ACTIVE,4,2        ## @ATOM_S3_DFP4_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP4,4,2       ## @ATOM_S6_ACC_REQ_DFP4
L_.str.13:                              ## @.str.13
	.asciz	"DFP4 disconnected\n"

	.comm	_ATOM_DEVICE_DFP5_SUPPORT,4,2   ## @ATOM_DEVICE_DFP5_SUPPORT
L_.str.14:                              ## @.str.14
	.asciz	"DFP5 connected\n"

	.comm	_ATOM_S0_DFP5,4,2               ## @ATOM_S0_DFP5
	.comm	_ATOM_S3_DFP5_ACTIVE,4,2        ## @ATOM_S3_DFP5_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP5,4,2       ## @ATOM_S6_ACC_REQ_DFP5
L_.str.15:                              ## @.str.15
	.asciz	"DFP5 disconnected\n"

	.comm	_ATOM_DEVICE_DFP6_SUPPORT,4,2   ## @ATOM_DEVICE_DFP6_SUPPORT
L_.str.16:                              ## @.str.16
	.asciz	"DFP6 connected\n"

	.comm	_ATOM_S0_DFP6,4,2               ## @ATOM_S0_DFP6
	.comm	_ATOM_S3_DFP6_ACTIVE,4,2        ## @ATOM_S3_DFP6_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP6,4,2       ## @ATOM_S6_ACC_REQ_DFP6
L_.str.17:                              ## @.str.17
	.asciz	"DFP6 disconnected\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_atombios_encoder_set_bios_scratch_regs ; -- Begin function amdgpu_atombios_encoder_set_bios_scratch_regs
	.p2align	2
_amdgpu_atombios_encoder_set_bios_scratch_regs: ; @amdgpu_atombios_encoder_set_bios_scratch_regs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x19, x1
	bl	_to_amdgpu_connector
	mov	x23, x0
	mov	x0, x19
	bl	_to_amdgpu_encoder
	mov	x24, x0
Lloh0:
	adrp	x26, _mmBIOS_SCRATCH_0@GOTPAGE
Lloh1:
	ldr	x26, [x26, _mmBIOS_SCRATCH_0@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_RREG32
	mov	x19, x0
Lloh2:
	adrp	x27, _mmBIOS_SCRATCH_3@GOTPAGE
Lloh3:
	ldr	x27, [x27, _mmBIOS_SCRATCH_3@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_RREG32
	mov	x20, x0
Lloh4:
	adrp	x8, _mmBIOS_SCRATCH_6@GOTPAGE
Lloh5:
	ldr	x8, [x8, _mmBIOS_SCRATCH_6@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_RREG32
	mov	x21, x0
	ldr	w9, [x24]
Lloh7:
	adrp	x8, _ATOM_DEVICE_LCD1_SUPPORT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ATOM_DEVICE_LCD1_SUPPORT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_6
; %bb.1:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	mov	x27, x26
Lloh10:
	adrp	x26, _ATOM_S0_LCD1@GOTPAGE
Lloh11:
	ldr	x26, [x26, _ATOM_S0_LCD1@GOTPAGEOFF]
Lloh12:
	adrp	x25, _ATOM_S3_LCD1_ACTIVE@GOTPAGE
Lloh13:
	ldr	x25, [x25, _ATOM_S3_LCD1_ACTIVE@GOTPAGEOFF]
Lloh14:
	adrp	x28, _ATOM_S6_ACC_REQ_LCD1@GOTPAGE
Lloh15:
	ldr	x28, [x28, _ATOM_S6_ACC_REQ_LCD1@GOTPAGEOFF]
	cbz	w22, LBB0_4
; %bb.3:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	ldr	w8, [x26]
	orr	w19, w8, w19
	ldr	w8, [x25]
	orr	w20, w8, w20
	ldr	w8, [x28]
	orr	w21, w8, w21
	b	LBB0_5
LBB0_4:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG_KMS
	ldr	w8, [x26]
	bic	w19, w19, w8
	ldr	w8, [x25]
	bic	w20, w20, w8
	ldr	w8, [x28]
	bic	w21, w21, w8
LBB0_5:
	mov	x26, x27
Lloh20:
	adrp	x27, _mmBIOS_SCRATCH_3@GOTPAGE
Lloh21:
	ldr	x27, [x27, _mmBIOS_SCRATCH_3@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x24]
Lloh22:
	adrp	x8, _ATOM_DEVICE_CRT1_SUPPORT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ATOM_DEVICE_CRT1_SUPPORT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_11
; %bb.7:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.8:
Lloh25:
	adrp	x25, _ATOM_S3_CRT1_ACTIVE@GOTPAGE
Lloh26:
	ldr	x25, [x25, _ATOM_S3_CRT1_ACTIVE@GOTPAGEOFF]
Lloh27:
	adrp	x28, _ATOM_S6_ACC_REQ_CRT1@GOTPAGE
Lloh28:
	ldr	x28, [x28, _ATOM_S6_ACC_REQ_CRT1@GOTPAGEOFF]
	cbz	w22, LBB0_10
; %bb.9:
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh31:
	adrp	x8, _ATOM_S0_CRT1_COLOR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ATOM_S0_CRT1_COLOR@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	orr	w19, w8, w19
	ldr	w8, [x25]
	orr	w20, w8, w20
	ldr	w8, [x28]
	orr	w21, w8, w21
	b	LBB0_11
LBB0_10:
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh36:
	adrp	x8, _ATOM_S0_CRT1_MASK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ATOM_S0_CRT1_MASK@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	bic	w19, w19, w8
	ldr	w8, [x25]
	bic	w20, w20, w8
	ldr	w8, [x28]
	bic	w21, w21, w8
LBB0_11:
	ldr	w9, [x24]
Lloh39:
	adrp	x8, _ATOM_DEVICE_CRT2_SUPPORT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ATOM_DEVICE_CRT2_SUPPORT@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_16
; %bb.12:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.13:
Lloh42:
	adrp	x25, _ATOM_S3_CRT2_ACTIVE@GOTPAGE
Lloh43:
	ldr	x25, [x25, _ATOM_S3_CRT2_ACTIVE@GOTPAGEOFF]
Lloh44:
	adrp	x28, _ATOM_S6_ACC_REQ_CRT2@GOTPAGE
Lloh45:
	ldr	x28, [x28, _ATOM_S6_ACC_REQ_CRT2@GOTPAGEOFF]
	cbz	w22, LBB0_15
; %bb.14:
Lloh46:
	adrp	x0, l_.str.4@PAGE
Lloh47:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh48:
	adrp	x8, _ATOM_S0_CRT2_COLOR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ATOM_S0_CRT2_COLOR@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	orr	w19, w8, w19
	ldr	w8, [x25]
	orr	w20, w8, w20
	ldr	w8, [x28]
	orr	w21, w8, w21
	b	LBB0_16
LBB0_15:
Lloh51:
	adrp	x0, l_.str.5@PAGE
Lloh52:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh53:
	adrp	x8, _ATOM_S0_CRT2_MASK@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ATOM_S0_CRT2_MASK@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	bic	w19, w19, w8
	ldr	w8, [x25]
	bic	w20, w20, w8
	ldr	w8, [x28]
	bic	w21, w21, w8
LBB0_16:
	ldr	w9, [x24]
Lloh56:
	adrp	x8, _ATOM_DEVICE_DFP1_SUPPORT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ATOM_DEVICE_DFP1_SUPPORT@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_21
; %bb.17:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.18:
	cbz	w22, LBB0_20
; %bb.19:
Lloh59:
	adrp	x0, l_.str.6@PAGE
Lloh60:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh61:
	adrp	x8, _ATOM_S0_DFP1@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ATOM_S0_DFP1@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh64:
	adrp	x8, _ATOM_S3_DFP1_ACTIVE@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ATOM_S3_DFP1_ACTIVE@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	orr	w20, w8, w20
Lloh67:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP1@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP1@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	orr	w21, w8, w21
	b	LBB0_21
LBB0_20:
Lloh70:
	adrp	x0, l_.str.7@PAGE
Lloh71:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh72:
	adrp	x8, _ATOM_S0_DFP1@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ATOM_S0_DFP1@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh75:
	adrp	x8, _ATOM_S3_DFP1_ACTIVE@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ATOM_S3_DFP1_ACTIVE@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	bic	w20, w20, w8
Lloh78:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP1@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP1@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	bic	w21, w21, w8
LBB0_21:
	ldr	w9, [x24]
Lloh81:
	adrp	x8, _ATOM_DEVICE_DFP2_SUPPORT@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ATOM_DEVICE_DFP2_SUPPORT@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_26
; %bb.22:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.23:
	cbz	w22, LBB0_25
; %bb.24:
Lloh84:
	adrp	x0, l_.str.8@PAGE
Lloh85:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh86:
	adrp	x8, _ATOM_S0_DFP2@GOTPAGE
Lloh87:
	ldr	x8, [x8, _ATOM_S0_DFP2@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh89:
	adrp	x8, _ATOM_S3_DFP2_ACTIVE@GOTPAGE
Lloh90:
	ldr	x8, [x8, _ATOM_S3_DFP2_ACTIVE@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	orr	w20, w8, w20
Lloh92:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP2@GOTPAGE
Lloh93:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP2@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8]
	orr	w21, w8, w21
	b	LBB0_26
LBB0_25:
Lloh95:
	adrp	x0, l_.str.9@PAGE
Lloh96:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh97:
	adrp	x8, _ATOM_S0_DFP2@GOTPAGE
Lloh98:
	ldr	x8, [x8, _ATOM_S0_DFP2@GOTPAGEOFF]
Lloh99:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh100:
	adrp	x8, _ATOM_S3_DFP2_ACTIVE@GOTPAGE
Lloh101:
	ldr	x8, [x8, _ATOM_S3_DFP2_ACTIVE@GOTPAGEOFF]
Lloh102:
	ldr	w8, [x8]
	bic	w20, w20, w8
Lloh103:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP2@GOTPAGE
Lloh104:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP2@GOTPAGEOFF]
Lloh105:
	ldr	w8, [x8]
	bic	w21, w21, w8
LBB0_26:
	ldr	w9, [x24]
Lloh106:
	adrp	x8, _ATOM_DEVICE_DFP3_SUPPORT@GOTPAGE
Lloh107:
	ldr	x8, [x8, _ATOM_DEVICE_DFP3_SUPPORT@GOTPAGEOFF]
Lloh108:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_31
; %bb.27:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.28:
	cbz	w22, LBB0_30
; %bb.29:
Lloh109:
	adrp	x0, l_.str.10@PAGE
Lloh110:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh111:
	adrp	x8, _ATOM_S0_DFP3@GOTPAGE
Lloh112:
	ldr	x8, [x8, _ATOM_S0_DFP3@GOTPAGEOFF]
Lloh113:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh114:
	adrp	x8, _ATOM_S3_DFP3_ACTIVE@GOTPAGE
Lloh115:
	ldr	x8, [x8, _ATOM_S3_DFP3_ACTIVE@GOTPAGEOFF]
Lloh116:
	ldr	w8, [x8]
	orr	w20, w8, w20
Lloh117:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP3@GOTPAGE
Lloh118:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP3@GOTPAGEOFF]
Lloh119:
	ldr	w8, [x8]
	orr	w21, w8, w21
	b	LBB0_31
LBB0_30:
Lloh120:
	adrp	x0, l_.str.11@PAGE
Lloh121:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh122:
	adrp	x8, _ATOM_S0_DFP3@GOTPAGE
Lloh123:
	ldr	x8, [x8, _ATOM_S0_DFP3@GOTPAGEOFF]
Lloh124:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh125:
	adrp	x8, _ATOM_S3_DFP3_ACTIVE@GOTPAGE
Lloh126:
	ldr	x8, [x8, _ATOM_S3_DFP3_ACTIVE@GOTPAGEOFF]
Lloh127:
	ldr	w8, [x8]
	bic	w20, w20, w8
Lloh128:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP3@GOTPAGE
Lloh129:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP3@GOTPAGEOFF]
Lloh130:
	ldr	w8, [x8]
	bic	w21, w21, w8
LBB0_31:
	ldr	w9, [x24]
Lloh131:
	adrp	x8, _ATOM_DEVICE_DFP4_SUPPORT@GOTPAGE
Lloh132:
	ldr	x8, [x8, _ATOM_DEVICE_DFP4_SUPPORT@GOTPAGEOFF]
Lloh133:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_36
; %bb.32:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.33:
	cbz	w22, LBB0_35
; %bb.34:
Lloh134:
	adrp	x0, l_.str.12@PAGE
Lloh135:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh136:
	adrp	x8, _ATOM_S0_DFP4@GOTPAGE
Lloh137:
	ldr	x8, [x8, _ATOM_S0_DFP4@GOTPAGEOFF]
Lloh138:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh139:
	adrp	x8, _ATOM_S3_DFP4_ACTIVE@GOTPAGE
Lloh140:
	ldr	x8, [x8, _ATOM_S3_DFP4_ACTIVE@GOTPAGEOFF]
Lloh141:
	ldr	w8, [x8]
	orr	w20, w8, w20
Lloh142:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP4@GOTPAGE
Lloh143:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP4@GOTPAGEOFF]
Lloh144:
	ldr	w8, [x8]
	orr	w21, w8, w21
	b	LBB0_36
LBB0_35:
Lloh145:
	adrp	x0, l_.str.13@PAGE
Lloh146:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh147:
	adrp	x8, _ATOM_S0_DFP4@GOTPAGE
Lloh148:
	ldr	x8, [x8, _ATOM_S0_DFP4@GOTPAGEOFF]
Lloh149:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh150:
	adrp	x8, _ATOM_S3_DFP4_ACTIVE@GOTPAGE
Lloh151:
	ldr	x8, [x8, _ATOM_S3_DFP4_ACTIVE@GOTPAGEOFF]
Lloh152:
	ldr	w8, [x8]
	bic	w20, w20, w8
Lloh153:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP4@GOTPAGE
Lloh154:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP4@GOTPAGEOFF]
Lloh155:
	ldr	w8, [x8]
	bic	w21, w21, w8
LBB0_36:
	ldr	w9, [x24]
Lloh156:
	adrp	x8, _ATOM_DEVICE_DFP5_SUPPORT@GOTPAGE
Lloh157:
	ldr	x8, [x8, _ATOM_DEVICE_DFP5_SUPPORT@GOTPAGEOFF]
Lloh158:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_41
; %bb.37:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_41
; %bb.38:
	cbz	w22, LBB0_40
; %bb.39:
Lloh159:
	adrp	x0, l_.str.14@PAGE
Lloh160:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh161:
	adrp	x8, _ATOM_S0_DFP5@GOTPAGE
Lloh162:
	ldr	x8, [x8, _ATOM_S0_DFP5@GOTPAGEOFF]
Lloh163:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh164:
	adrp	x8, _ATOM_S3_DFP5_ACTIVE@GOTPAGE
Lloh165:
	ldr	x8, [x8, _ATOM_S3_DFP5_ACTIVE@GOTPAGEOFF]
Lloh166:
	ldr	w8, [x8]
	orr	w20, w8, w20
Lloh167:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP5@GOTPAGE
Lloh168:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP5@GOTPAGEOFF]
Lloh169:
	ldr	w8, [x8]
	orr	w21, w8, w21
	b	LBB0_41
LBB0_40:
Lloh170:
	adrp	x0, l_.str.15@PAGE
Lloh171:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh172:
	adrp	x8, _ATOM_S0_DFP5@GOTPAGE
Lloh173:
	ldr	x8, [x8, _ATOM_S0_DFP5@GOTPAGEOFF]
Lloh174:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh175:
	adrp	x8, _ATOM_S3_DFP5_ACTIVE@GOTPAGE
Lloh176:
	ldr	x8, [x8, _ATOM_S3_DFP5_ACTIVE@GOTPAGEOFF]
Lloh177:
	ldr	w8, [x8]
	bic	w20, w20, w8
Lloh178:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP5@GOTPAGE
Lloh179:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP5@GOTPAGEOFF]
Lloh180:
	ldr	w8, [x8]
	bic	w21, w21, w8
LBB0_41:
	ldr	w9, [x24]
Lloh181:
	adrp	x8, _ATOM_DEVICE_DFP6_SUPPORT@GOTPAGE
Lloh182:
	ldr	x8, [x8, _ATOM_DEVICE_DFP6_SUPPORT@GOTPAGEOFF]
Lloh183:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_46
; %bb.42:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_46
; %bb.43:
	cbz	w22, LBB0_45
; %bb.44:
Lloh184:
	adrp	x0, l_.str.16@PAGE
Lloh185:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh186:
	adrp	x8, _ATOM_S0_DFP6@GOTPAGE
Lloh187:
	ldr	x8, [x8, _ATOM_S0_DFP6@GOTPAGEOFF]
Lloh188:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh189:
	adrp	x8, _ATOM_S3_DFP6_ACTIVE@GOTPAGE
Lloh190:
	ldr	x8, [x8, _ATOM_S3_DFP6_ACTIVE@GOTPAGEOFF]
Lloh191:
	ldr	w8, [x8]
	orr	w20, w8, w20
Lloh192:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP6@GOTPAGE
Lloh193:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP6@GOTPAGEOFF]
Lloh194:
	ldr	w8, [x8]
	orr	w21, w8, w21
	b	LBB0_46
LBB0_45:
Lloh195:
	adrp	x0, l_.str.17@PAGE
Lloh196:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh197:
	adrp	x8, _ATOM_S0_DFP6@GOTPAGE
Lloh198:
	ldr	x8, [x8, _ATOM_S0_DFP6@GOTPAGEOFF]
Lloh199:
	ldr	w8, [x8]
	bic	w19, w19, w8
Lloh200:
	adrp	x8, _ATOM_S3_DFP6_ACTIVE@GOTPAGE
Lloh201:
	ldr	x8, [x8, _ATOM_S3_DFP6_ACTIVE@GOTPAGEOFF]
Lloh202:
	ldr	w8, [x8]
	bic	w20, w20, w8
Lloh203:
	adrp	x8, _ATOM_S6_ACC_REQ_DFP6@GOTPAGE
Lloh204:
	ldr	x8, [x8, _ATOM_S6_ACC_REQ_DFP6@GOTPAGEOFF]
Lloh205:
	ldr	w8, [x8]
	bic	w21, w21, w8
LBB0_46:
Lloh206:
	adrp	x22, _mmBIOS_SCRATCH_6@GOTPAGE
Lloh207:
	ldr	x22, [x22, _mmBIOS_SCRATCH_6@GOTPAGEOFF]
	ldr	w0, [x26]
	mov	x1, x19
	bl	_WREG32
	ldr	w0, [x27]
	mov	x1, x20
	bl	_WREG32
Lloh208:
	ldr	w0, [x22]
	mov	x1, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh142, Lloh143, Lloh144
	.loh AdrpLdrGotLdr	Lloh139, Lloh140, Lloh141
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.loh AdrpAdd	Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpAdd	Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpLdrGotLdr	Lloh167, Lloh168, Lloh169
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpAdd	Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh178, Lloh179, Lloh180
	.loh AdrpLdrGotLdr	Lloh175, Lloh176, Lloh177
	.loh AdrpLdrGotLdr	Lloh172, Lloh173, Lloh174
	.loh AdrpAdd	Lloh170, Lloh171
	.loh AdrpLdrGotLdr	Lloh181, Lloh182, Lloh183
	.loh AdrpLdrGotLdr	Lloh192, Lloh193, Lloh194
	.loh AdrpLdrGotLdr	Lloh189, Lloh190, Lloh191
	.loh AdrpLdrGotLdr	Lloh186, Lloh187, Lloh188
	.loh AdrpAdd	Lloh184, Lloh185
	.loh AdrpLdrGotLdr	Lloh203, Lloh204, Lloh205
	.loh AdrpLdrGotLdr	Lloh200, Lloh201, Lloh202
	.loh AdrpLdrGotLdr	Lloh197, Lloh198, Lloh199
	.loh AdrpAdd	Lloh195, Lloh196
	.loh AdrpLdrGotLdr	Lloh206, Lloh207, Lloh208
	.cfi_endproc
                                        ; -- End function
	.comm	_mmBIOS_SCRATCH_0,4,2           ; @mmBIOS_SCRATCH_0
	.comm	_mmBIOS_SCRATCH_3,4,2           ; @mmBIOS_SCRATCH_3
	.comm	_mmBIOS_SCRATCH_6,4,2           ; @mmBIOS_SCRATCH_6
	.comm	_ATOM_DEVICE_LCD1_SUPPORT,4,2   ; @ATOM_DEVICE_LCD1_SUPPORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LCD1 connected\n"

	.comm	_ATOM_S0_LCD1,4,2               ; @ATOM_S0_LCD1
	.comm	_ATOM_S3_LCD1_ACTIVE,4,2        ; @ATOM_S3_LCD1_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_LCD1,4,2       ; @ATOM_S6_ACC_REQ_LCD1
l_.str.1:                               ; @.str.1
	.asciz	"LCD1 disconnected\n"

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

	.comm	_ATOM_S0_CRT1_COLOR,4,2         ; @ATOM_S0_CRT1_COLOR
	.comm	_ATOM_S3_CRT1_ACTIVE,4,2        ; @ATOM_S3_CRT1_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_CRT1,4,2       ; @ATOM_S6_ACC_REQ_CRT1
l_.str.3:                               ; @.str.3
	.asciz	"CRT1 disconnected\n"

	.comm	_ATOM_S0_CRT1_MASK,4,2          ; @ATOM_S0_CRT1_MASK
	.comm	_ATOM_DEVICE_CRT2_SUPPORT,4,2   ; @ATOM_DEVICE_CRT2_SUPPORT
l_.str.4:                               ; @.str.4
	.asciz	"CRT2 connected\n"

	.comm	_ATOM_S0_CRT2_COLOR,4,2         ; @ATOM_S0_CRT2_COLOR
	.comm	_ATOM_S3_CRT2_ACTIVE,4,2        ; @ATOM_S3_CRT2_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_CRT2,4,2       ; @ATOM_S6_ACC_REQ_CRT2
l_.str.5:                               ; @.str.5
	.asciz	"CRT2 disconnected\n"

	.comm	_ATOM_S0_CRT2_MASK,4,2          ; @ATOM_S0_CRT2_MASK
	.comm	_ATOM_DEVICE_DFP1_SUPPORT,4,2   ; @ATOM_DEVICE_DFP1_SUPPORT
l_.str.6:                               ; @.str.6
	.asciz	"DFP1 connected\n"

	.comm	_ATOM_S0_DFP1,4,2               ; @ATOM_S0_DFP1
	.comm	_ATOM_S3_DFP1_ACTIVE,4,2        ; @ATOM_S3_DFP1_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP1,4,2       ; @ATOM_S6_ACC_REQ_DFP1
l_.str.7:                               ; @.str.7
	.asciz	"DFP1 disconnected\n"

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

	.comm	_ATOM_S0_DFP2,4,2               ; @ATOM_S0_DFP2
	.comm	_ATOM_S3_DFP2_ACTIVE,4,2        ; @ATOM_S3_DFP2_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP2,4,2       ; @ATOM_S6_ACC_REQ_DFP2
l_.str.9:                               ; @.str.9
	.asciz	"DFP2 disconnected\n"

	.comm	_ATOM_DEVICE_DFP3_SUPPORT,4,2   ; @ATOM_DEVICE_DFP3_SUPPORT
l_.str.10:                              ; @.str.10
	.asciz	"DFP3 connected\n"

	.comm	_ATOM_S0_DFP3,4,2               ; @ATOM_S0_DFP3
	.comm	_ATOM_S3_DFP3_ACTIVE,4,2        ; @ATOM_S3_DFP3_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP3,4,2       ; @ATOM_S6_ACC_REQ_DFP3
l_.str.11:                              ; @.str.11
	.asciz	"DFP3 disconnected\n"

	.comm	_ATOM_DEVICE_DFP4_SUPPORT,4,2   ; @ATOM_DEVICE_DFP4_SUPPORT
l_.str.12:                              ; @.str.12
	.asciz	"DFP4 connected\n"

	.comm	_ATOM_S0_DFP4,4,2               ; @ATOM_S0_DFP4
	.comm	_ATOM_S3_DFP4_ACTIVE,4,2        ; @ATOM_S3_DFP4_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP4,4,2       ; @ATOM_S6_ACC_REQ_DFP4
l_.str.13:                              ; @.str.13
	.asciz	"DFP4 disconnected\n"

	.comm	_ATOM_DEVICE_DFP5_SUPPORT,4,2   ; @ATOM_DEVICE_DFP5_SUPPORT
l_.str.14:                              ; @.str.14
	.asciz	"DFP5 connected\n"

	.comm	_ATOM_S0_DFP5,4,2               ; @ATOM_S0_DFP5
	.comm	_ATOM_S3_DFP5_ACTIVE,4,2        ; @ATOM_S3_DFP5_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP5,4,2       ; @ATOM_S6_ACC_REQ_DFP5
l_.str.15:                              ; @.str.15
	.asciz	"DFP5 disconnected\n"

	.comm	_ATOM_DEVICE_DFP6_SUPPORT,4,2   ; @ATOM_DEVICE_DFP6_SUPPORT
l_.str.16:                              ; @.str.16
	.asciz	"DFP6 connected\n"

	.comm	_ATOM_S0_DFP6,4,2               ; @ATOM_S0_DFP6
	.comm	_ATOM_S3_DFP6_ACTIVE,4,2        ; @ATOM_S3_DFP6_ACTIVE
	.comm	_ATOM_S6_ACC_REQ_DFP6,4,2       ; @ATOM_S6_ACC_REQ_DFP6
l_.str.17:                              ; @.str.17
	.asciz	"DFP6 disconnected\n"

.subsections_via_symbols
