	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_pp_get_clock_levels_by_type_with_latency ## -- Begin function dm_pp_get_clock_levels_by_type_with_latency
	.p2align	4, 0x90
_dm_pp_get_clock_levels_by_type_with_latency: ## @dm_pp_get_clock_levels_by_type_with_latency
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	(%rdi), %rbx
	movq	16(%rbx), %r12
	movl	$0, -48(%rbp)
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_3
## %bb.2:
	movl	%r15d, %edi
	callq	_dc_to_pp_clock_type
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	*%r13
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_7
	jmp	LBB0_6
LBB0_3:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movl	%r15d, %edi
	callq	_dc_to_smu_clock_type
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_smu_get_clock_by_type_with_latency
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_7
LBB0_6:
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_pp_to_dc_clock_levels_with_latency
	movl	$1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_pp_get_clock_levels_by_type_with_latency ; -- Begin function dm_pp_get_clock_levels_by_type_with_latency
	.p2align	2
_dm_pp_get_clock_levels_by_type_with_latency: ; @dm_pp_get_clock_levels_by_type_with_latency
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x19, x1
	ldr	x21, [x0]
	str	wzr, [sp, #8]
	ldp	x8, x22, [x21, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x23, [x8]
	cbz	x23, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_dc_to_pp_clock_type
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x22
	blr	x23
	cbnz	w0, LBB0_6
	b	LBB0_7
LBB0_3:
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_dc_to_smu_clock_type
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x21
	bl	_smu_get_clock_by_type_with_latency
	cbz	x0, LBB0_7
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
	bl	_pp_to_dc_clock_levels_with_latency
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
