	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpu_core_perf_init             ## -- Begin function dpu_core_perf_init
	.p2align	4, 0x90
_dpu_core_perf_init:                    ## @dpu_core_perf_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, 24(%rdi)
	movq	%rdx, 16(%rdi)
	movq	%rcx, 8(%rdi)
	movq	(%rcx), %rax
	movq	%rax, (%rdi)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DPU_DEBUG
	movq	_DPU_PERF_DEFAULT_MAX_CORE_CLK_RATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"optional max core clk rate, use default\n"

	.comm	_DPU_PERF_DEFAULT_MAX_CORE_CLK_RATE,8,3 ## @DPU_PERF_DEFAULT_MAX_CORE_CLK_RATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpu_core_perf_init             ; -- Begin function dpu_core_perf_init
	.p2align	2
_dpu_core_perf_init:                    ; @dpu_core_perf_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	stp	x2, x1, [x0, #16]
	ldr	x8, [x3]
	stp	x8, x3, [x0]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPU_DEBUG
Lloh2:
	adrp	x8, _DPU_PERF_DEFAULT_MAX_CORE_CLK_RATE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DPU_PERF_DEFAULT_MAX_CORE_CLK_RATE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"optional max core clk rate, use default\n"

	.comm	_DPU_PERF_DEFAULT_MAX_CORE_CLK_RATE,8,3 ; @DPU_PERF_DEFAULT_MAX_CORE_CLK_RATE
.subsections_via_symbols
