	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_irq_set              ## -- Begin function evergreen_irq_set
	.p2align	4, 0x90
_evergreen_irq_set:                     ## @evergreen_irq_set
	.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
	cmpl	$0, 64(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	cmpl	$0, 72(%rdi)
	je	LBB0_3
## %bb.4:
	movq	_CNTX_BUSY_INT_ENABLE@GOTPCREL(%rip), %rax
	movq	_CNTX_EMPTY_INT_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	(%r15), %rcx
	movq	_CHIP_ARUBA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.6:
	movq	_TN_CG_THERMAL_INT_CTRL@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_44
LBB0_3:
	movq	%r15, %rdi
	callq	_r600_disable_interrupts
	movq	%r15, %rdi
	callq	_evergreen_disable_interrupt_state
	jmp	LBB0_43
LBB0_5:
	movq	_CG_THERMAL_INT@GOTPCREL(%rip), %rcx
LBB0_7:
	orl	(%rax), %esi
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	(%rcx), %rdi
	callq	_RREG32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_THERM_INT_MASK_HIGH@GOTPCREL(%rip), %rcx
	movq	_THERM_INT_MASK_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_DMA_CNTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_RREG32
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_TRAP_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	notl	%r13d
	movq	(%r15), %rbx
	movq	_CHIP_CAYMAN@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_RADEON_RING_TYPE_GFX_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	56(%r15), %rdi
	callq	_atomic_read
	cmpq	%r12, %rbx
	jge	LBB0_8
## %bb.14:
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_DEBUG
	movq	_RB_INT_ENABLE@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	orl	(%rax), %ecx
	movq	_TIME_STAMP_INT_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
LBB0_16:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_17
LBB0_8:
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_DEBUG
	movq	_TIME_STAMP_INT_ENABLE@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	orl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
LBB0_10:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	movq	_CAYMAN_RING_TYPE_CP1_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	56(%r15), %rdi
	callq	_atomic_read
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	callq	_DRM_DEBUG
	movq	_TIME_STAMP_INT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_12:
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	_CAYMAN_RING_TYPE_CP2_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	56(%r15), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	leaq	L_.str.3(%rip), %rdi
	callq	_DRM_DEBUG
	movq	_TIME_STAMP_INT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
LBB0_17:
	andl	%r13d, %r14d
	movq	_R600_RING_TYPE_DMA_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	56(%r15), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	leaq	L_.str.4(%rip), %rdi
	callq	_DRM_DEBUG
	movq	_TRAP_ENABLE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %r14d
	jmp	LBB0_20
LBB0_18:
	movq	_TRAP_ENABLE@GOTPCREL(%rip), %rdx
LBB0_20:
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	notl	%esi
	movq	(%r15), %rax
	xorl	%r13d, %r13d
	movq	_CHIP_CAYMAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_24
## %bb.21:
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	_CAYMAN_DMA1_CNTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdx, %rbx
	callq	_RREG32
	movl	(%rbx), %r13d
	notl	%r13d
	andl	%eax, %r13d
	movq	_CAYMAN_RING_TYPE_DMA1_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	56(%r15), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	L_.str.5(%rip), %rdi
	callq	_DRM_DEBUG
	movq	_TRAP_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_23:
	movl	-52(%rbp), %esi                 ## 4-byte Reload
LBB0_24:
	andl	%esi, %r12d
	cmpq	$0, 48(%r15)
	je	LBB0_26
## %bb.25:
	leaq	L_.str.6(%rip), %rdi
	callq	_DRM_DEBUG
	movq	_THERM_INT_MASK_HIGH@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_THERM_INT_MASK_LOW@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
LBB0_26:
	movq	_DMA_CNTL@GOTPCREL(%rip), %rbx
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	(%r15), %rax
	movq	_CHIP_CAYMAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_27
## %bb.28:
	movq	_CP_INT_CNTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%edx, %esi
	callq	_WREG32
	jmp	LBB0_29
LBB0_27:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_cayman_cp_int_cntl_setup
	movq	%r15, %rdi
	movl	$1, %esi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	callq	_cayman_cp_int_cntl_setup
	movq	%r15, %rdi
	movl	$2, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_cayman_cp_int_cntl_setup
LBB0_29:
	movq	(%rbx), %rdi
	movl	%r14d, %esi
	callq	_WREG32
	movq	(%r15), %rax
	movq	_CHIP_CAYMAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_31
## %bb.30:
	movq	_CAYMAN_DMA1_CNTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%r13d, %esi
	callq	_WREG32
LBB0_31:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	_GRBM_INT_CNTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	callq	_WREG32
	cmpl	$0, 8(%r15)
	jle	LBB0_39
## %bb.32:
	xorl	%r12d, %r12d
	movq	_crtc_offsets@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_33 Depth=1
	movzbl	%al, %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	leaq	L_.str.7(%rip), %r8
	movl	%ebx, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	incq	%rbx
	movslq	8(%r15), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	movq	_crtc_offsets@GOTPCREL(%rip), %r13
	jge	LBB0_36
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%r12,2), %r14
	movq	_VBLANK_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	40(%r15), %rcx
	movb	$1, %al
	movq	_INT_MASK@GOTPCREL(%rip), %rdx
	addq	(%rdx), %r14
	cmpq	$0, (%rcx,%r12,2)
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	32(%r15), %rdi
	addq	%r12, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	setne	%al
	jmp	LBB0_35
LBB0_36:
	testl	%eax, %eax
	jle	LBB0_39
## %bb.37:
	xorl	%ebx, %ebx
	movq	_GRPH_INT_CONTROL@GOTPCREL(%rip), %r14
	movq	_GRPH_PFLIP_INT_MASK@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_WREG32
	incq	%rbx
	movslq	8(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_38
LBB0_39:
	xorl	%edi, %edi
	callq	_DC_HPDx_INT_CONTROL
	movq	_DC_HPDx_INT_EN@GOTPCREL(%rip), %r14
	movq	_DC_HPDx_RX_INT_EN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	orl	(%r14), %edx
	movq	16(%r15), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.8(%rip), %r12
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %r8
	xorl	%r9d, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movl	$1, %edi
	callq	_DC_HPDx_INT_CONTROL
	movl	(%rbx), %edx
	orl	(%r14), %edx
	movq	16(%r15), %rcx
	movl	4(%rcx), %ecx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %r8
	movl	$1, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movl	$2, %edi
	callq	_DC_HPDx_INT_CONTROL
	movl	(%rbx), %edx
	orl	(%r14), %edx
	movq	16(%r15), %rcx
	movl	8(%rcx), %ecx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %r8
	movl	$2, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movl	$3, %edi
	callq	_DC_HPDx_INT_CONTROL
	movl	(%rbx), %edx
	orl	(%r14), %edx
	movq	16(%r15), %rcx
	movl	12(%rcx), %ecx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %r8
	movl	$3, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movl	$4, %edi
	callq	_DC_HPDx_INT_CONTROL
	movl	(%rbx), %edx
	orl	(%r14), %edx
	movq	16(%r15), %rcx
	movl	16(%rcx), %ecx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %r8
	movl	$4, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movl	$5, %edi
	callq	_DC_HPDx_INT_CONTROL
	movl	(%rbx), %edx
	orl	(%r14), %edx
	movq	16(%r15), %rcx
	movl	20(%rcx), %ecx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %r8
	movl	$5, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movq	(%r15), %rax
	movq	_CHIP_ARUBA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_40
## %bb.41:
	movq	_TN_CG_THERMAL_INT_CTRL@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_40:
	movq	_CG_THERMAL_INT@GOTPCREL(%rip), %rax
LBB0_42:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	(%rax), %rdi
	callq	_WREG32
	movq	_AFMT_AUDIO_PACKET_CONTROL@GOTPCREL(%rip), %r12
	movq	_crtc_offsets@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	movq	_AFMT_AZ_FORMAT_WTRIG_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	24(%r15), %rax
	movl	(%rax), %ecx
	leaq	L_.str.9(%rip), %r14
	movq	%r15, %rdi
	movq	%r14, %r8
	xorl	%r9d, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movq	(%r13), %rax
	movq	8(%rax), %rsi
	addq	(%r12), %rsi
	movl	(%rbx), %edx
	movq	24(%r15), %rax
	movl	4(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %r8
	movl	$1, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movq	(%r13), %rax
	movq	16(%rax), %rsi
	addq	(%r12), %rsi
	movl	(%rbx), %edx
	movq	24(%r15), %rax
	movl	8(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %r8
	movl	$2, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movq	(%r13), %rax
	movq	24(%rax), %rsi
	addq	(%r12), %rsi
	movl	(%rbx), %edx
	movq	24(%r15), %rax
	movl	12(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %r8
	movl	$3, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movq	(%r13), %rax
	movq	32(%rax), %rsi
	addq	(%r12), %rsi
	movl	(%rbx), %edx
	movq	24(%r15), %rax
	movl	16(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %r8
	movl	$4, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movq	(%r13), %rax
	movq	40(%rax), %rsi
	addq	(%r12), %rsi
	movl	(%rbx), %edx
	movq	24(%r15), %rax
	movl	20(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %r8
	movl	$5, %r9d
	callq	_radeon_irq_kms_set_irq_n_enabled
	movq	_SRBM_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_RREG32
LBB0_43:
	xorl	%eax, %eax
LBB0_44:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CNTX_BUSY_INT_ENABLE,4,2       ## @CNTX_BUSY_INT_ENABLE
	.comm	_CNTX_EMPTY_INT_ENABLE,4,2      ## @CNTX_EMPTY_INT_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't enable IRQ/MSI because no handler is installed\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CHIP_ARUBA,8,3                 ## @CHIP_ARUBA
	.comm	_TN_CG_THERMAL_INT_CTRL,8,3     ## @TN_CG_THERMAL_INT_CTRL
	.comm	_THERM_INT_MASK_HIGH,4,2        ## @THERM_INT_MASK_HIGH
	.comm	_THERM_INT_MASK_LOW,4,2         ## @THERM_INT_MASK_LOW
	.comm	_CG_THERMAL_INT,8,3             ## @CG_THERMAL_INT
	.comm	_DMA_CNTL,8,3                   ## @DMA_CNTL
	.comm	_TRAP_ENABLE,4,2                ## @TRAP_ENABLE
	.comm	_CHIP_CAYMAN,8,3                ## @CHIP_CAYMAN
	.comm	_RADEON_RING_TYPE_GFX_INDEX,8,3 ## @RADEON_RING_TYPE_GFX_INDEX
L_.str.1:                               ## @.str.1
	.asciz	"evergreen_irq_set: sw int gfx\n"

	.comm	_TIME_STAMP_INT_ENABLE,4,2      ## @TIME_STAMP_INT_ENABLE
	.comm	_CAYMAN_RING_TYPE_CP1_INDEX,8,3 ## @CAYMAN_RING_TYPE_CP1_INDEX
L_.str.2:                               ## @.str.2
	.asciz	"evergreen_irq_set: sw int cp1\n"

	.comm	_CAYMAN_RING_TYPE_CP2_INDEX,8,3 ## @CAYMAN_RING_TYPE_CP2_INDEX
L_.str.3:                               ## @.str.3
	.asciz	"evergreen_irq_set: sw int cp2\n"

	.comm	_RB_INT_ENABLE,4,2              ## @RB_INT_ENABLE
	.comm	_R600_RING_TYPE_DMA_INDEX,8,3   ## @R600_RING_TYPE_DMA_INDEX
L_.str.4:                               ## @.str.4
	.asciz	"r600_irq_set: sw int dma\n"

	.comm	_CAYMAN_DMA1_CNTL,8,3           ## @CAYMAN_DMA1_CNTL
	.comm	_CAYMAN_RING_TYPE_DMA1_INDEX,8,3 ## @CAYMAN_RING_TYPE_DMA1_INDEX
L_.str.5:                               ## @.str.5
	.asciz	"r600_irq_set: sw int dma1\n"

L_.str.6:                               ## @.str.6
	.asciz	"dpm thermal\n"

	.comm	_CP_INT_CNTL,8,3                ## @CP_INT_CNTL
	.comm	_GRBM_INT_CNTL,8,3              ## @GRBM_INT_CNTL
	.comm	_INT_MASK,8,3                   ## @INT_MASK
	.comm	_crtc_offsets,8,3               ## @crtc_offsets
	.comm	_VBLANK_INT_MASK,4,2            ## @VBLANK_INT_MASK
L_.str.7:                               ## @.str.7
	.asciz	"vblank"

	.comm	_GRPH_INT_CONTROL,8,3           ## @GRPH_INT_CONTROL
	.comm	_GRPH_PFLIP_INT_MASK,4,2        ## @GRPH_PFLIP_INT_MASK
	.comm	_DC_HPDx_INT_EN,4,2             ## @DC_HPDx_INT_EN
	.comm	_DC_HPDx_RX_INT_EN,4,2          ## @DC_HPDx_RX_INT_EN
L_.str.8:                               ## @.str.8
	.asciz	"HPD"

	.comm	_AFMT_AUDIO_PACKET_CONTROL,8,3  ## @AFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AZ_FORMAT_WTRIG_MASK,4,2  ## @AFMT_AZ_FORMAT_WTRIG_MASK
L_.str.9:                               ## @.str.9
	.asciz	"HDMI"

	.comm	_SRBM_STATUS,8,3                ## @SRBM_STATUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_irq_set              ; -- Begin function evergreen_irq_set
	.p2align	2
_evergreen_irq_set:                     ; @evergreen_irq_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	w8, [x0, #64]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #72]
	cbz	w8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _CNTX_BUSY_INT_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CNTX_BUSY_INT_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CNTX_EMPTY_INT_ENABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CNTX_EMPTY_INT_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w21, w9, w8
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _CHIP_ARUBA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CHIP_ARUBA@GOTPAGEOFF]
Lloh8:
	adrp	x10, _TN_CG_THERMAL_INT_CTRL@GOTPAGE
Lloh9:
	ldr	x10, [x10, _TN_CG_THERMAL_INT_CTRL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x11, _CG_THERMAL_INT@GOTPAGE
Lloh12:
	ldr	x11, [x11, _CG_THERMAL_INT@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	x0, [x8]
	bl	_RREG32
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
Lloh13:
	adrp	x8, _THERM_INT_MASK_HIGH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _THERM_INT_MASK_HIGH@GOTPAGEOFF]
Lloh15:
	ldr	w25, [x8]
Lloh16:
	adrp	x8, _THERM_INT_MASK_LOW@GOTPAGE
Lloh17:
	ldr	x8, [x8, _THERM_INT_MASK_LOW@GOTPAGEOFF]
Lloh18:
	ldr	w26, [x8]
Lloh19:
	adrp	x8, _DMA_CNTL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DMA_CNTL@GOTPAGEOFF]
Lloh21:
	ldr	x0, [x8]
	bl	_RREG32
	mov	x24, x0
Lloh22:
	adrp	x8, _TRAP_ENABLE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TRAP_ENABLE@GOTPAGEOFF]
	mov	x20, x8
	ldr	w22, [x8]
	ldr	x23, [x19]
Lloh24:
	adrp	x27, _CHIP_CAYMAN@GOTPAGE
Lloh25:
	ldr	x27, [x27, _CHIP_CAYMAN@GOTPAGEOFF]
	ldr	x28, [x27]
	ldr	x8, [x19, #56]
Lloh26:
	adrp	x9, _RADEON_RING_TYPE_GFX_INDEX@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RADEON_RING_TYPE_GFX_INDEX@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	bl	_atomic_read
	cmp	x23, x28
	b.ge	LBB0_7
; %bb.3:
	cbz	x0, LBB0_11
; %bb.4:
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG
	str	wzr, [sp, #8]                   ; 4-byte Folded Spill
	mov	w23, #0
Lloh31:
	adrp	x8, _RB_INT_ENABLE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _RB_INT_ENABLE@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	orr	w8, w8, w21
Lloh34:
	adrp	x9, _TIME_STAMP_INT_ENABLE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _TIME_STAMP_INT_ENABLE@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w21, w8, w9
	b	LBB0_16
LBB0_5:
Lloh37:
	adrp	x1, l_.str@PAGE
Lloh38:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN
Lloh39:
	adrp	x8, _EINVAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_40
LBB0_6:
	mov	x0, x19
	bl	_r600_disable_interrupts
	mov	x0, x19
	bl	_evergreen_disable_interrupt_state
	b	LBB0_39
LBB0_7:
Lloh42:
	adrp	x23, _TIME_STAMP_INT_ENABLE@GOTPAGE
Lloh43:
	ldr	x23, [x23, _TIME_STAMP_INT_ENABLE@GOTPAGEOFF]
	cbz	x0, LBB0_9
; %bb.8:
Lloh44:
	adrp	x0, l_.str.1@PAGE
Lloh45:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG
	ldr	w8, [x23]
	orr	w21, w8, w21
LBB0_9:
	ldr	x8, [x19, #56]
Lloh46:
	adrp	x9, _CAYMAN_RING_TYPE_CP1_INDEX@GOTPAGE
Lloh47:
	ldr	x9, [x9, _CAYMAN_RING_TYPE_CP1_INDEX@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	bl	_atomic_read
	cbz	x0, LBB0_12
; %bb.10:
Lloh49:
	adrp	x0, l_.str.2@PAGE
Lloh50:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_DEBUG
	ldr	w8, [x23]
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	b	LBB0_13
LBB0_11:
	str	wzr, [sp, #8]                   ; 4-byte Folded Spill
	b	LBB0_15
LBB0_12:
	str	wzr, [sp, #8]                   ; 4-byte Folded Spill
LBB0_13:
	ldr	x8, [x19, #56]
Lloh51:
	adrp	x9, _CAYMAN_RING_TYPE_CP2_INDEX@GOTPAGE
Lloh52:
	ldr	x9, [x9, _CAYMAN_RING_TYPE_CP2_INDEX@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	bl	_atomic_read
	cbz	x0, LBB0_15
; %bb.14:
Lloh54:
	adrp	x0, l_.str.3@PAGE
Lloh55:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DRM_DEBUG
	ldr	w23, [x23]
	b	LBB0_16
LBB0_15:
	mov	w23, #0
LBB0_16:
	bic	w24, w24, w22
	ldr	x8, [x19, #56]
Lloh56:
	adrp	x9, _R600_RING_TYPE_DMA_INDEX@GOTPAGE
Lloh57:
	ldr	x9, [x9, _R600_RING_TYPE_DMA_INDEX@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	bl	_atomic_read
	cbz	x0, LBB0_18
; %bb.17:
Lloh59:
	adrp	x0, l_.str.4@PAGE
Lloh60:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DRM_DEBUG
	ldr	w8, [x20]
	orr	w24, w8, w24
LBB0_18:
	orr	w22, w26, w25
	ldr	x8, [x19]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ge	LBB0_20
; %bb.19:
	mov	w25, #0
	b	LBB0_22
LBB0_20:
Lloh61:
	adrp	x8, _CAYMAN_DMA1_CNTL@GOTPAGE
Lloh62:
	ldr	x8, [x8, _CAYMAN_DMA1_CNTL@GOTPAGEOFF]
Lloh63:
	ldr	x0, [x8]
	bl	_RREG32
	ldr	w8, [x20]
	bic	w25, w0, w8
	ldr	x8, [x19, #56]
Lloh64:
	adrp	x9, _CAYMAN_RING_TYPE_DMA1_INDEX@GOTPAGE
Lloh65:
	ldr	x9, [x9, _CAYMAN_RING_TYPE_DMA1_INDEX@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	bl	_atomic_read
	cbz	x0, LBB0_22
; %bb.21:
Lloh67:
	adrp	x0, l_.str.5@PAGE
Lloh68:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DRM_DEBUG
	ldr	w8, [x20]
	orr	w25, w8, w25
LBB0_22:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	bic	w26, w8, w22
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_24
; %bb.23:
Lloh69:
	adrp	x0, l_.str.6@PAGE
Lloh70:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DRM_DEBUG
Lloh71:
	adrp	x8, _THERM_INT_MASK_HIGH@GOTPAGE
Lloh72:
	ldr	x8, [x8, _THERM_INT_MASK_HIGH@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
Lloh74:
	adrp	x9, _THERM_INT_MASK_LOW@GOTPAGE
Lloh75:
	ldr	x9, [x9, _THERM_INT_MASK_LOW@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	orr	w8, w8, w26
	orr	w26, w8, w9
LBB0_24:
Lloh77:
	adrp	x20, _DMA_CNTL@GOTPAGE
Lloh78:
	ldr	x20, [x20, _DMA_CNTL@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ge	LBB0_26
; %bb.25:
Lloh79:
	adrp	x8, _CP_INT_CNTL@GOTPAGE
Lloh80:
	ldr	x8, [x8, _CP_INT_CNTL@GOTPAGEOFF]
Lloh81:
	ldr	x0, [x8]
	mov	x1, x21
	bl	_WREG32
	b	LBB0_27
LBB0_26:
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_cayman_cp_int_cntl_setup
	mov	x0, x19
	mov	w1, #1
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_cayman_cp_int_cntl_setup
	mov	x0, x19
	mov	w1, #2
	mov	x2, x23
	bl	_cayman_cp_int_cntl_setup
LBB0_27:
	ldr	x0, [x20]
	mov	x1, x24
	bl	_WREG32
	ldr	x8, [x19]
	ldr	x9, [x27]
	cmp	x8, x9
	b.lt	LBB0_29
; %bb.28:
Lloh82:
	adrp	x8, _CAYMAN_DMA1_CNTL@GOTPAGE
Lloh83:
	ldr	x8, [x8, _CAYMAN_DMA1_CNTL@GOTPAGEOFF]
Lloh84:
	ldr	x0, [x8]
	mov	x1, x25
	bl	_WREG32
LBB0_29:
Lloh85:
	adrp	x8, _GRBM_INT_CNTL@GOTPAGE
Lloh86:
	ldr	x8, [x8, _GRBM_INT_CNTL@GOTPAGEOFF]
Lloh87:
	ldr	x0, [x8]
	mov	w1, #0
	bl	_WREG32
	ldr	w8, [x19, #8]
Lloh88:
	adrp	x24, _crtc_offsets@GOTPAGE
Lloh89:
	ldr	x24, [x24, _crtc_offsets@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.30:
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
	mov	x25, #0
	mov	x21, #0
Lloh90:
	adrp	x26, _INT_MASK@GOTPAGE
Lloh91:
	ldr	x26, [x26, _INT_MASK@GOTPAGEOFF]
Lloh92:
	adrp	x27, _VBLANK_INT_MASK@GOTPAGE
Lloh93:
	ldr	x27, [x27, _VBLANK_INT_MASK@GOTPAGEOFF]
Lloh94:
	adrp	x22, l_.str.7@PAGE
Lloh95:
	add	x22, x22, l_.str.7@PAGEOFF
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [x19, #32]
	add	x0, x8, x25
	bl	_atomic_read
	cmp	x0, #0
	cset	w3, ne
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	add	x1, x20, x28
	mov	x0, x19
	mov	x2, x23
	mov	x4, x22
	mov	x5, x21
	bl	_radeon_irq_kms_set_irq_n_enabled
	add	x21, x21, #1
	ldrsw	x8, [x19, #8]
	add	x25, x25, #4
	cmp	x21, x8
	b.ge	LBB0_35
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x26]
	ldr	x8, [x24]
	lsl	x9, x21, #3
	ldr	x20, [x8, x9]
	ldr	w23, [x27]
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_31
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	w3, #1
	b	LBB0_32
LBB0_35:
	cmp	w8, #1
	ldr	w26, [sp, #12]                  ; 4-byte Folded Reload
	b.lt	LBB0_38
; %bb.36:
	mov	x21, #0
Lloh96:
	adrp	x20, _GRPH_INT_CONTROL@GOTPAGE
Lloh97:
	ldr	x20, [x20, _GRPH_INT_CONTROL@GOTPAGEOFF]
Lloh98:
	adrp	x22, _GRPH_PFLIP_INT_MASK@GOTPAGE
Lloh99:
	ldr	x22, [x22, _GRPH_PFLIP_INT_MASK@GOTPAGEOFF]
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x24]
	ldr	x9, [x9, x21, lsl #3]
	add	x0, x9, x8
	ldr	w1, [x22]
	bl	_WREG32
	add	x21, x21, #1
	ldrsw	x8, [x19, #8]
	cmp	x21, x8
	b.lt	LBB0_37
LBB0_38:
	mov	w0, #0
	bl	_DC_HPDx_INT_CONTROL
	mov	x1, x0
Lloh100:
	adrp	x22, _DC_HPDx_INT_EN@GOTPAGE
Lloh101:
	ldr	x22, [x22, _DC_HPDx_INT_EN@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh102:
	adrp	x23, _DC_HPDx_RX_INT_EN@GOTPAGE
Lloh103:
	ldr	x23, [x23, _DC_HPDx_RX_INT_EN@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w2, w9, w8
	ldr	x8, [x19, #16]
	ldr	w3, [x8]
Lloh104:
	adrp	x21, l_.str.8@PAGE
Lloh105:
	add	x21, x21, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	x4, x21
	mov	w5, #0
	bl	_radeon_irq_kms_set_irq_n_enabled
	mov	w0, #1
	bl	_DC_HPDx_INT_CONTROL
	mov	x1, x0
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w2, w9, w8
	ldr	x8, [x19, #16]
	ldr	w3, [x8, #4]
	mov	x0, x19
	mov	x4, x21
	mov	w5, #1
	bl	_radeon_irq_kms_set_irq_n_enabled
	mov	w0, #2
	bl	_DC_HPDx_INT_CONTROL
	mov	x1, x0
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w2, w9, w8
	ldr	x8, [x19, #16]
	ldr	w3, [x8, #8]
	mov	x0, x19
	mov	x4, x21
	mov	w5, #2
	bl	_radeon_irq_kms_set_irq_n_enabled
	mov	w0, #3
	bl	_DC_HPDx_INT_CONTROL
	mov	x1, x0
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w2, w9, w8
	ldr	x8, [x19, #16]
	ldr	w3, [x8, #12]
	mov	x0, x19
	mov	x4, x21
	mov	w5, #3
	bl	_radeon_irq_kms_set_irq_n_enabled
	mov	w0, #4
	bl	_DC_HPDx_INT_CONTROL
	mov	x1, x0
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w2, w9, w8
	ldr	x8, [x19, #16]
	ldr	w3, [x8, #16]
	mov	x0, x19
	mov	x4, x21
	mov	w5, #4
	bl	_radeon_irq_kms_set_irq_n_enabled
	mov	w0, #5
	bl	_DC_HPDx_INT_CONTROL
	mov	x1, x0
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w2, w9, w8
	ldr	x8, [x19, #16]
	ldr	w3, [x8, #20]
	mov	x0, x19
	mov	x4, x21
	mov	w5, #5
	bl	_radeon_irq_kms_set_irq_n_enabled
	ldr	x8, [x19]
Lloh106:
	adrp	x9, _CHIP_ARUBA@GOTPAGE
Lloh107:
	ldr	x9, [x9, _CHIP_ARUBA@GOTPAGEOFF]
Lloh108:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh109:
	adrp	x8, _TN_CG_THERMAL_INT_CTRL@GOTPAGE
Lloh110:
	ldr	x8, [x8, _TN_CG_THERMAL_INT_CTRL@GOTPAGEOFF]
Lloh111:
	adrp	x9, _CG_THERMAL_INT@GOTPAGE
Lloh112:
	ldr	x9, [x9, _CG_THERMAL_INT@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	x0, [x8]
	mov	x1, x26
	bl	_WREG32
Lloh113:
	adrp	x21, _AFMT_AUDIO_PACKET_CONTROL@GOTPAGE
Lloh114:
	ldr	x21, [x21, _AFMT_AUDIO_PACKET_CONTROL@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x24]
	ldr	x9, [x9]
	add	x1, x9, x8
Lloh115:
	adrp	x22, _AFMT_AZ_FORMAT_WTRIG_MASK@GOTPAGE
Lloh116:
	ldr	x22, [x22, _AFMT_AZ_FORMAT_WTRIG_MASK@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	x8, [x19, #24]
	ldr	w3, [x8]
Lloh117:
	adrp	x20, l_.str.9@PAGE
Lloh118:
	add	x20, x20, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	x4, x20
	mov	w5, #0
	bl	_radeon_irq_kms_set_irq_n_enabled
	ldr	x8, [x21]
	ldr	x9, [x24]
	ldr	x9, [x9, #8]
	add	x1, x9, x8
	ldr	w2, [x22]
	ldr	x8, [x19, #24]
	ldr	w3, [x8, #4]
	mov	x0, x19
	mov	x4, x20
	mov	w5, #1
	bl	_radeon_irq_kms_set_irq_n_enabled
	ldr	x8, [x21]
	ldr	x9, [x24]
	ldr	x9, [x9, #16]
	add	x1, x9, x8
	ldr	w2, [x22]
	ldr	x8, [x19, #24]
	ldr	w3, [x8, #8]
	mov	x0, x19
	mov	x4, x20
	mov	w5, #2
	bl	_radeon_irq_kms_set_irq_n_enabled
	ldr	x8, [x21]
	ldr	x9, [x24]
	ldr	x9, [x9, #24]
	add	x1, x9, x8
	ldr	w2, [x22]
	ldr	x8, [x19, #24]
	ldr	w3, [x8, #12]
	mov	x0, x19
	mov	x4, x20
	mov	w5, #3
	bl	_radeon_irq_kms_set_irq_n_enabled
	ldr	x8, [x21]
	ldr	x9, [x24]
	ldr	x9, [x9, #32]
	add	x1, x9, x8
	ldr	w2, [x22]
	ldr	x8, [x19, #24]
	ldr	w3, [x8, #16]
	mov	x0, x19
	mov	x4, x20
	mov	w5, #4
	bl	_radeon_irq_kms_set_irq_n_enabled
	ldr	x8, [x21]
	ldr	x9, [x24]
	ldr	x9, [x9, #40]
	add	x1, x9, x8
	ldr	w2, [x22]
	ldr	x8, [x19, #24]
	ldr	w3, [x8, #20]
	mov	x0, x19
	mov	x4, x20
	mov	w5, #5
	bl	_radeon_irq_kms_set_irq_n_enabled
Lloh119:
	adrp	x8, _SRBM_STATUS@GOTPAGE
Lloh120:
	ldr	x8, [x8, _SRBM_STATUS@GOTPAGEOFF]
Lloh121:
	ldr	x0, [x8]
	bl	_RREG32
LBB0_39:
	mov	w0, #0
LBB0_40:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpAdd	Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh115, Lloh116
	.loh AdrpLdrGot	Lloh113, Lloh114
	.loh AdrpLdrGot	Lloh111, Lloh112
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh100, Lloh101
	.cfi_endproc
                                        ; -- End function
	.comm	_CNTX_BUSY_INT_ENABLE,4,2       ; @CNTX_BUSY_INT_ENABLE
	.comm	_CNTX_EMPTY_INT_ENABLE,4,2      ; @CNTX_EMPTY_INT_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't enable IRQ/MSI because no handler is installed\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CHIP_ARUBA,8,3                 ; @CHIP_ARUBA
	.comm	_TN_CG_THERMAL_INT_CTRL,8,3     ; @TN_CG_THERMAL_INT_CTRL
	.comm	_THERM_INT_MASK_HIGH,4,2        ; @THERM_INT_MASK_HIGH
	.comm	_THERM_INT_MASK_LOW,4,2         ; @THERM_INT_MASK_LOW
	.comm	_CG_THERMAL_INT,8,3             ; @CG_THERMAL_INT
	.comm	_DMA_CNTL,8,3                   ; @DMA_CNTL
	.comm	_TRAP_ENABLE,4,2                ; @TRAP_ENABLE
	.comm	_CHIP_CAYMAN,8,3                ; @CHIP_CAYMAN
	.comm	_RADEON_RING_TYPE_GFX_INDEX,8,3 ; @RADEON_RING_TYPE_GFX_INDEX
l_.str.1:                               ; @.str.1
	.asciz	"evergreen_irq_set: sw int gfx\n"

	.comm	_TIME_STAMP_INT_ENABLE,4,2      ; @TIME_STAMP_INT_ENABLE
	.comm	_CAYMAN_RING_TYPE_CP1_INDEX,8,3 ; @CAYMAN_RING_TYPE_CP1_INDEX
l_.str.2:                               ; @.str.2
	.asciz	"evergreen_irq_set: sw int cp1\n"

	.comm	_CAYMAN_RING_TYPE_CP2_INDEX,8,3 ; @CAYMAN_RING_TYPE_CP2_INDEX
l_.str.3:                               ; @.str.3
	.asciz	"evergreen_irq_set: sw int cp2\n"

	.comm	_RB_INT_ENABLE,4,2              ; @RB_INT_ENABLE
	.comm	_R600_RING_TYPE_DMA_INDEX,8,3   ; @R600_RING_TYPE_DMA_INDEX
l_.str.4:                               ; @.str.4
	.asciz	"r600_irq_set: sw int dma\n"

	.comm	_CAYMAN_DMA1_CNTL,8,3           ; @CAYMAN_DMA1_CNTL
	.comm	_CAYMAN_RING_TYPE_DMA1_INDEX,8,3 ; @CAYMAN_RING_TYPE_DMA1_INDEX
l_.str.5:                               ; @.str.5
	.asciz	"r600_irq_set: sw int dma1\n"

l_.str.6:                               ; @.str.6
	.asciz	"dpm thermal\n"

	.comm	_CP_INT_CNTL,8,3                ; @CP_INT_CNTL
	.comm	_GRBM_INT_CNTL,8,3              ; @GRBM_INT_CNTL
	.comm	_INT_MASK,8,3                   ; @INT_MASK
	.comm	_crtc_offsets,8,3               ; @crtc_offsets
	.comm	_VBLANK_INT_MASK,4,2            ; @VBLANK_INT_MASK
l_.str.7:                               ; @.str.7
	.asciz	"vblank"

	.comm	_GRPH_INT_CONTROL,8,3           ; @GRPH_INT_CONTROL
	.comm	_GRPH_PFLIP_INT_MASK,4,2        ; @GRPH_PFLIP_INT_MASK
	.comm	_DC_HPDx_INT_EN,4,2             ; @DC_HPDx_INT_EN
	.comm	_DC_HPDx_RX_INT_EN,4,2          ; @DC_HPDx_RX_INT_EN
l_.str.8:                               ; @.str.8
	.asciz	"HPD"

	.comm	_AFMT_AUDIO_PACKET_CONTROL,8,3  ; @AFMT_AUDIO_PACKET_CONTROL
	.comm	_AFMT_AZ_FORMAT_WTRIG_MASK,4,2  ; @AFMT_AZ_FORMAT_WTRIG_MASK
l_.str.9:                               ; @.str.9
	.asciz	"HDMI"

	.comm	_SRBM_STATUS,8,3                ; @SRBM_STATUS
.subsections_via_symbols
