	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function navi10_ih_enable_interrupts
_navi10_ih_enable_interrupts:           ## @navi10_ih_enable_interrupts
	.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, %r12
	movq	_OSSSYS@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_mmIH_RB_CNTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_RREG32_SOC15
	movq	_IH_RB_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_RB_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_ENABLE_INTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%r14), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_WREG32_SOC15
	movl	$1, (%r12)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSSSYS,4,2                     ## @OSSSYS
	.comm	_mmIH_RB_CNTL,4,2               ## @mmIH_RB_CNTL
	.comm	_IH_RB_CNTL,4,2                 ## @IH_RB_CNTL
	.comm	_RB_ENABLE,4,2                  ## @RB_ENABLE
	.comm	_ENABLE_INTR,4,2                ## @ENABLE_INTR
	.no_dead_strip	_navi10_ih_enable_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function navi10_ih_enable_interrupts
_navi10_ih_enable_interrupts:           ; @navi10_ih_enable_interrupts
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x20, _OSSSYS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _OSSSYS@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _mmIH_RB_CNTL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _mmIH_RB_CNTL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_RREG32_SOC15
Lloh4:
	adrp	x22, _IH_RB_CNTL@GOTPAGE
Lloh5:
	ldr	x22, [x22, _IH_RB_CNTL@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh6:
	adrp	x8, _RB_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RB_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w23, #1
	mov	w3, #1
	bl	_REG_SET_FIELD
	ldr	w1, [x22]
Lloh9:
	adrp	x8, _ENABLE_INTR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENABLE_INTR@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x3, x0
	ldr	w0, [x20]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_WREG32_SOC15
	str	w23, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_OSSSYS,4,2                     ; @OSSSYS
	.comm	_mmIH_RB_CNTL,4,2               ; @mmIH_RB_CNTL
	.comm	_IH_RB_CNTL,4,2                 ; @IH_RB_CNTL
	.comm	_RB_ENABLE,4,2                  ; @RB_ENABLE
	.comm	_ENABLE_INTR,4,2                ; @ENABLE_INTR
	.no_dead_strip	_navi10_ih_enable_interrupts
.subsections_via_symbols
