	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ddr_perf_pmu_disable
_ddr_perf_pmu_disable:                  ## @ddr_perf_pmu_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_to_ddr_pmu
	movq	(%rax), %rcx
	movq	_EVENT_CYCLES_COUNTER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	movq	_EVENT_CYCLES_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	popq	%rbp
	jmp	_ddr_perf_counter_enable        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EVENT_CYCLES_COUNTER,8,3       ## @EVENT_CYCLES_COUNTER
	.comm	_EVENT_CYCLES_ID,4,2            ## @EVENT_CYCLES_ID
	.no_dead_strip	_ddr_perf_pmu_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ddr_perf_pmu_disable
_ddr_perf_pmu_disable:                  ; @ddr_perf_pmu_disable
	.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
	bl	_to_ddr_pmu
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _EVENT_CYCLES_COUNTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EVENT_CYCLES_COUNTER@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x9]
	ldr	x8, [x8, x2, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x8, _EVENT_CYCLES_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVENT_CYCLES_ID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w3, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ddr_perf_counter_enable
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EVENT_CYCLES_COUNTER,8,3       ; @EVENT_CYCLES_COUNTER
	.comm	_EVENT_CYCLES_ID,4,2            ; @EVENT_CYCLES_ID
	.no_dead_strip	_ddr_perf_pmu_disable
.subsections_via_symbols
