	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function request_voltage_and_program_disp_clk
_request_voltage_and_program_disp_clk:  ## @request_voltage_and_program_disp_clk
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_TO_CLK_MGR_INTERNAL
	movq	%rax, %r12
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movl	(%r12), %r13d
	movq	(%rax), %rax
	movq	(%rax), %r15
	movl	%ebx, (%r12)
	cmpl	%ebx, %r13d
	jae	LBB0_4
## %bb.1:
	testq	%r15, %r15
	je	LBB0_4
## %bb.2:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_PP_SMU_NV_DISPCLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movslq	(%r14), %rcx
	imulq	$274877907, %rcx, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rcx
	shrq	$63, %rcx
	sarq	$38, %rdx
	addl	%ecx, %edx
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*%rax
LBB0_4:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_update_display_clk
	cmpl	%ebx, %r13d
	jb	LBB0_7
## %bb.5:
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	_PP_SMU_NV_DISPCLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movslq	(%r14), %rcx
	imulq	$274877907, %rcx, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rcx
	shrq	$63, %rcx
	sarq	$38, %rdx
	addl	%ecx, %edx
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PP_SMU_NV_DISPCLK,4,2          ## @PP_SMU_NV_DISPCLK
	.no_dead_strip	_request_voltage_and_program_disp_clk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function request_voltage_and_program_disp_clk
_request_voltage_and_program_disp_clk:  ; @request_voltage_and_program_disp_clk
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x19, x0
	bl	_TO_CLK_MGR_INTERNAL
	mov	x22, x0
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w23, [x0]
	ldr	x8, [x8]
	ldr	x20, [x8]
	str	w21, [x0]
	cmp	w23, w21
	ccmp	x20, #0, #4, lo
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, _PP_SMU_NV_DISPCLK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PP_SMU_NV_DISPCLK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	ldrsw	x9, [x19]
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w2, w9, w10
	mov	x0, x20
	blr	x8
LBB0_3:
	mov	x0, x22
	mov	x1, x21
	bl	_update_display_clk
	cmp	w23, w21
	ccmp	x20, #0, #4, hs
	b.eq	LBB0_6
; %bb.4:
	ldr	x3, [x20, #8]
	cbz	x3, LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _PP_SMU_NV_DISPCLK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PP_SMU_NV_DISPCLK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldrsw	x8, [x19]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w2, w8, w9
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x3
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PP_SMU_NV_DISPCLK,4,2          ; @PP_SMU_NV_DISPCLK
	.no_dead_strip	_request_voltage_and_program_disp_clk
.subsections_via_symbols
