	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_spe_pmu_disable_and_drain_local
_arm_spe_pmu_disable_and_drain_local:   ## @arm_spe_pmu_disable_and_drain_local
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SYS_PMSCR_EL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_write_sysreg_s
	xorl	%eax, %eax
	callq	_isb
	xorl	%eax, %eax
	callq	_psb_csync
	movq	_nsh@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dsb
	movq	_SYS_PMBLIMITR_EL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_write_sysreg_s
	xorl	%eax, %eax
	popq	%rbp
	jmp	_isb                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SYS_PMSCR_EL1,4,2              ## @SYS_PMSCR_EL1
	.comm	_nsh,4,2                        ## @nsh
	.comm	_SYS_PMBLIMITR_EL1,4,2          ## @SYS_PMBLIMITR_EL1
	.no_dead_strip	_arm_spe_pmu_disable_and_drain_local
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_spe_pmu_disable_and_drain_local
_arm_spe_pmu_disable_and_drain_local:   ; @arm_spe_pmu_disable_and_drain_local
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _SYS_PMSCR_EL1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYS_PMSCR_EL1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_write_sysreg_s
	bl	_isb
	bl	_psb_csync
Lloh3:
	adrp	x8, _nsh@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nsh@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_dsb
Lloh6:
	adrp	x8, _SYS_PMBLIMITR_EL1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SYS_PMBLIMITR_EL1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_write_sysreg_s
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_isb
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SYS_PMSCR_EL1,4,2              ; @SYS_PMSCR_EL1
	.comm	_nsh,4,2                        ; @nsh
	.comm	_SYS_PMBLIMITR_EL1,4,2          ; @SYS_PMBLIMITR_EL1
	.no_dead_strip	_arm_spe_pmu_disable_and_drain_local
.subsections_via_symbols
