	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tonga_ih_disable_interrupts
_tonga_ih_disable_interrupts:           ## @tonga_ih_disable_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_mmIH_RB_CNTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_RREG32
	movq	_IH_RB_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_RB_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_ENABLE_INTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_WREG32
	movq	_mmIH_RB_RPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_WREG32
	movq	_mmIH_RB_WPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_WREG32
	movl	$0, (%r15)
	movq	$0, 8(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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
	.comm	_mmIH_RB_RPTR,4,2               ## @mmIH_RB_RPTR
	.comm	_mmIH_RB_WPTR,4,2               ## @mmIH_RB_WPTR
	.no_dead_strip	_tonga_ih_disable_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tonga_ih_disable_interrupts
_tonga_ih_disable_interrupts:           ; @tonga_ih_disable_interrupts
	.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
Lloh0:
	adrp	x20, _mmIH_RB_CNTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _mmIH_RB_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
Lloh2:
	adrp	x21, _IH_RB_CNTL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _IH_RB_CNTL@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh4:
	adrp	x8, _RB_ENABLE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RB_ENABLE@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_REG_SET_FIELD
	ldr	w1, [x21]
Lloh7:
	adrp	x8, _ENABLE_INTR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENABLE_INTR@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	w0, [x20]
	bl	_WREG32
Lloh10:
	adrp	x8, _mmIH_RB_RPTR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _mmIH_RB_RPTR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_WREG32
Lloh13:
	adrp	x8, _mmIH_RB_WPTR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _mmIH_RB_WPTR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_WREG32
	str	wzr, [x19]
	str	xzr, [x19, #8]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.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
	.comm	_mmIH_RB_RPTR,4,2               ; @mmIH_RB_RPTR
	.comm	_mmIH_RB_WPTR,4,2               ; @mmIH_RB_WPTR
	.no_dead_strip	_tonga_ih_disable_interrupts
.subsections_via_symbols
