	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_disable_interrupt_state ## -- Begin function evergreen_disable_interrupt_state
	.p2align	4, 0x90
_evergreen_disable_interrupt_state:     ## @evergreen_disable_interrupt_state
	.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
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	_CHIP_CAYMAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	movq	_CP_INT_CNTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_CNTX_BUSY_INT_ENABLE@GOTPCREL(%rip), %rax
	movq	_CNTX_EMPTY_INT_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	jmp	LBB0_3
LBB0_1:
	movq	_CNTX_BUSY_INT_ENABLE@GOTPCREL(%rip), %rax
	movq	_CNTX_EMPTY_INT_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cayman_cp_int_cntl_setup
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_cayman_cp_int_cntl_setup
	movq	%r14, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_cayman_cp_int_cntl_setup
	movq	_CAYMAN_DMA1_CNTL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_RREG32
	movq	_TRAP_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	(%rbx), %rdi
LBB0_3:
	callq	_WREG32
	movq	_DMA_CNTL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_RREG32
	movq	_TRAP_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	(%rbx), %rdi
	callq	_WREG32
	movq	_GRBM_INT_CNTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	callq	_WREG32
	movq	_SRBM_INT_CNTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	callq	_WREG32
	cmpl	$0, 8(%r14)
	jle	LBB0_9
## %bb.4:
	xorl	%ebx, %ebx
	movq	_INT_MASK@GOTPCREL(%rip), %r12
	movq	_crtc_offsets@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	(%r12), %rdi
	xorl	%esi, %esi
	callq	_WREG32
	incq	%rbx
	movslq	8(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
## %bb.6:
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	movq	_GRPH_INT_CONTROL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	(%r12), %rdi
	xorl	%esi, %esi
	callq	_WREG32
	incq	%rbx
	movslq	8(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movq	%r14, %rdi
	callq	_ASIC_IS_DCE5
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	_DACA_AUTODETECT_INT_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	callq	_WREG32
LBB0_11:
	movq	_DACB_AUTODETECT_INT_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	callq	_WREG32
	xorl	%edi, %edi
	callq	_DC_HPDx_INT_CONTROL
	movq	_DC_HPDx_INT_POLARITY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_WREG32_AND
	movl	$1, %edi
	callq	_DC_HPDx_INT_CONTROL
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_WREG32_AND
	movl	$2, %edi
	callq	_DC_HPDx_INT_CONTROL
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_WREG32_AND
	movl	$3, %edi
	callq	_DC_HPDx_INT_CONTROL
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_WREG32_AND
	movl	$4, %edi
	callq	_DC_HPDx_INT_CONTROL
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_WREG32_AND
	movl	$5, %edi
	callq	_DC_HPDx_INT_CONTROL
	movl	(%rbx), %esi
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32_AND                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_CAYMAN,8,3                ## @CHIP_CAYMAN
	.comm	_CNTX_BUSY_INT_ENABLE,4,2       ## @CNTX_BUSY_INT_ENABLE
	.comm	_CNTX_EMPTY_INT_ENABLE,4,2      ## @CNTX_EMPTY_INT_ENABLE
	.comm	_CAYMAN_DMA1_CNTL,8,3           ## @CAYMAN_DMA1_CNTL
	.comm	_TRAP_ENABLE,4,2                ## @TRAP_ENABLE
	.comm	_CP_INT_CNTL,8,3                ## @CP_INT_CNTL
	.comm	_DMA_CNTL,8,3                   ## @DMA_CNTL
	.comm	_GRBM_INT_CNTL,8,3              ## @GRBM_INT_CNTL
	.comm	_SRBM_INT_CNTL,8,3              ## @SRBM_INT_CNTL
	.comm	_INT_MASK,8,3                   ## @INT_MASK
	.comm	_crtc_offsets,8,3               ## @crtc_offsets
	.comm	_GRPH_INT_CONTROL,8,3           ## @GRPH_INT_CONTROL
	.comm	_DACA_AUTODETECT_INT_CONTROL,8,3 ## @DACA_AUTODETECT_INT_CONTROL
	.comm	_DACB_AUTODETECT_INT_CONTROL,8,3 ## @DACB_AUTODETECT_INT_CONTROL
	.comm	_DC_HPDx_INT_POLARITY,4,2       ## @DC_HPDx_INT_POLARITY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_disable_interrupt_state ; -- Begin function evergreen_disable_interrupt_state
	.p2align	2
_evergreen_disable_interrupt_state:     ; @evergreen_disable_interrupt_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CHIP_CAYMAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHIP_CAYMAN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x20, _TRAP_ENABLE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _TRAP_ENABLE@GOTPAGEOFF]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _CP_INT_CNTL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CP_INT_CNTL@GOTPAGEOFF]
Lloh7:
	adrp	x9, _CNTX_BUSY_INT_ENABLE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CNTX_BUSY_INT_ENABLE@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
Lloh10:
	ldr	w8, [x9]
Lloh11:
	adrp	x9, _CNTX_EMPTY_INT_ENABLE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CNTX_EMPTY_INT_ENABLE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w1, w9, w8
	b	LBB0_3
LBB0_2:
Lloh14:
	adrp	x8, _CNTX_BUSY_INT_ENABLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CNTX_BUSY_INT_ENABLE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _CNTX_EMPTY_INT_ENABLE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CNTX_EMPTY_INT_ENABLE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	w1, #0
	bl	_cayman_cp_int_cntl_setup
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_cayman_cp_int_cntl_setup
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	bl	_cayman_cp_int_cntl_setup
Lloh20:
	adrp	x21, _CAYMAN_DMA1_CNTL@GOTPAGE
Lloh21:
	ldr	x21, [x21, _CAYMAN_DMA1_CNTL@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_RREG32
	ldr	w8, [x20]
	bic	w1, w0, w8
	ldr	x0, [x21]
LBB0_3:
	bl	_WREG32
Lloh22:
	adrp	x21, _DMA_CNTL@GOTPAGE
Lloh23:
	ldr	x21, [x21, _DMA_CNTL@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_RREG32
	ldr	w8, [x20]
	bic	w1, w0, w8
	ldr	x0, [x21]
	bl	_WREG32
Lloh24:
	adrp	x8, _GRBM_INT_CNTL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GRBM_INT_CNTL@GOTPAGEOFF]
Lloh26:
	ldr	x0, [x8]
	mov	w1, #0
	bl	_WREG32
Lloh27:
	adrp	x8, _SRBM_INT_CNTL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SRBM_INT_CNTL@GOTPAGEOFF]
Lloh29:
	ldr	x0, [x8]
	mov	w1, #0
	bl	_WREG32
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x21, #0
Lloh30:
	adrp	x22, _INT_MASK@GOTPAGE
Lloh31:
	ldr	x22, [x22, _INT_MASK@GOTPAGEOFF]
Lloh32:
	adrp	x20, _crtc_offsets@GOTPAGE
Lloh33:
	ldr	x20, [x20, _crtc_offsets@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x9, [x20]
	ldr	x9, [x9, x21, lsl #3]
	add	x0, x9, x8
	mov	w1, #0
	bl	_WREG32
	add	x21, x21, #1
	ldrsw	x8, [x19, #8]
	cmp	x21, x8
	b.lt	LBB0_5
; %bb.6:
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
Lloh34:
	adrp	x22, _GRPH_INT_CONTROL@GOTPAGE
Lloh35:
	ldr	x22, [x22, _GRPH_INT_CONTROL@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x9, [x20]
	ldr	x9, [x9, x21, lsl #3]
	add	x0, x9, x8
	mov	w1, #0
	bl	_WREG32
	add	x21, x21, #1
	ldrsw	x8, [x19, #8]
	cmp	x21, x8
	b.lt	LBB0_8
LBB0_9:
	mov	x0, x19
	bl	_ASIC_IS_DCE5
	cbnz	w0, LBB0_11
; %bb.10:
Lloh36:
	adrp	x8, _DACA_AUTODETECT_INT_CONTROL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DACA_AUTODETECT_INT_CONTROL@GOTPAGEOFF]
Lloh38:
	ldr	x0, [x8]
	mov	w1, #0
	bl	_WREG32
LBB0_11:
Lloh39:
	adrp	x8, _DACB_AUTODETECT_INT_CONTROL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DACB_AUTODETECT_INT_CONTROL@GOTPAGEOFF]
Lloh41:
	ldr	x0, [x8]
	mov	w1, #0
	bl	_WREG32
	mov	w0, #0
	bl	_DC_HPDx_INT_CONTROL
Lloh42:
	adrp	x19, _DC_HPDx_INT_POLARITY@GOTPAGE
Lloh43:
	ldr	x19, [x19, _DC_HPDx_INT_POLARITY@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_WREG32_AND
	mov	w0, #1
	bl	_DC_HPDx_INT_CONTROL
	ldr	w1, [x19]
	bl	_WREG32_AND
	mov	w0, #2
	bl	_DC_HPDx_INT_CONTROL
	ldr	w1, [x19]
	bl	_WREG32_AND
	mov	w0, #3
	bl	_DC_HPDx_INT_CONTROL
	ldr	w1, [x19]
	bl	_WREG32_AND
	mov	w0, #4
	bl	_DC_HPDx_INT_CONTROL
	ldr	w1, [x19]
	bl	_WREG32_AND
	mov	w0, #5
	bl	_DC_HPDx_INT_CONTROL
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_WREG32_AND
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_CAYMAN,8,3                ; @CHIP_CAYMAN
	.comm	_CNTX_BUSY_INT_ENABLE,4,2       ; @CNTX_BUSY_INT_ENABLE
	.comm	_CNTX_EMPTY_INT_ENABLE,4,2      ; @CNTX_EMPTY_INT_ENABLE
	.comm	_CAYMAN_DMA1_CNTL,8,3           ; @CAYMAN_DMA1_CNTL
	.comm	_TRAP_ENABLE,4,2                ; @TRAP_ENABLE
	.comm	_CP_INT_CNTL,8,3                ; @CP_INT_CNTL
	.comm	_DMA_CNTL,8,3                   ; @DMA_CNTL
	.comm	_GRBM_INT_CNTL,8,3              ; @GRBM_INT_CNTL
	.comm	_SRBM_INT_CNTL,8,3              ; @SRBM_INT_CNTL
	.comm	_INT_MASK,8,3                   ; @INT_MASK
	.comm	_crtc_offsets,8,3               ; @crtc_offsets
	.comm	_GRPH_INT_CONTROL,8,3           ; @GRPH_INT_CONTROL
	.comm	_DACA_AUTODETECT_INT_CONTROL,8,3 ; @DACA_AUTODETECT_INT_CONTROL
	.comm	_DACB_AUTODETECT_INT_CONTROL,8,3 ; @DACB_AUTODETECT_INT_CONTROL
	.comm	_DC_HPDx_INT_POLARITY,4,2       ; @DC_HPDx_INT_POLARITY
.subsections_via_symbols
