	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_pp_apply_clock_for_voltage_request ## -- Begin function dm_pp_apply_clock_for_voltage_request
	.p2align	4, 0x90
_dm_pp_apply_clock_for_voltage_request: ## @dm_pp_apply_clock_for_voltage_request
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r15
	movl	$0, -32(%rbp)
	movl	4(%rsi), %edi
	callq	_dc_to_pp_clock_type
	movl	%eax, -40(%rbp)
	movl	(%rbx), %ecx
	movl	%ecx, -36(%rbp)
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	8(%r15), %edi
	leaq	-40(%rbp), %rsi
	callq	*%rax
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_8
LBB0_4:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.6:
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_smu_display_clock_voltage_request
	testl	%eax, %eax
	jne	LBB0_9
LBB0_8:
	movl	$1, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	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_apply_clock_for_voltage_request ; -- Begin function dm_pp_apply_clock_for_voltage_request
	.p2align	2
_dm_pp_apply_clock_for_voltage_request: ; @dm_pp_apply_clock_for_voltage_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	ldr	x19, [x0]
	str	wzr, [sp, #8]
	ldr	w0, [x1, #4]
	bl	_dc_to_pp_clock_type
	ldr	w8, [x20]
	stp	w0, w8, [sp]
	cbz	w0, LBB0_9
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
	mov	x1, sp
	blr	x8
	cbnz	w0, LBB0_7
	b	LBB0_8
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.5:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x1, sp
	mov	x0, x19
	bl	_smu_display_clock_voltage_request
	cbz	w0, LBB0_8
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
