	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_find_dpm_states_clocks_in_dpm_table
_ci_find_dpm_states_clocks_in_dpm_table: ## @ci_find_dpm_states_clocks_in_dpm_table
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_ci_get_pi
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_ci_get_ps
	movq	8(%rax), %rcx
	movslq	(%rax), %rax
	shlq	$4, %rax
	movq	-16(%rax,%rcx), %rdx
	movq	-8(%rax,%rcx), %rcx
	movl	$0, (%rbx)
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	32(%rbx), %rdi
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%rdi,%rax,8), %rdx
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %rsi
	jne	LBB0_3
LBB0_4:
	movq	_DPMTABLE_OD_UPDATE_SCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, (%rbx)
LBB0_5:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.6:
	movq	16(%rbx), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%rsi,%rdi,8), %rcx
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rdi
	cmpq	%rdi, %rdx
	jne	LBB0_8
LBB0_9:
	movq	_DPMTABLE_OD_UPDATE_MCLK@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	%r8d, (%rbx)
LBB0_10:
	movq	(%r14), %rax
	cmpq	8(%r14), %rax
	je	LBB0_12
## %bb.11:
	movq	_DPMTABLE_UPDATE_MCLK@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	%r8d, (%rbx)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPMTABLE_OD_UPDATE_SCLK,4,2    ## @DPMTABLE_OD_UPDATE_SCLK
	.comm	_CISLAND_MINIMUM_ENGINE_CLOCK,8,3 ## @CISLAND_MINIMUM_ENGINE_CLOCK
	.comm	_DPMTABLE_UPDATE_SCLK,4,2       ## @DPMTABLE_UPDATE_SCLK
	.comm	_DPMTABLE_OD_UPDATE_MCLK,4,2    ## @DPMTABLE_OD_UPDATE_MCLK
	.comm	_DPMTABLE_UPDATE_MCLK,4,2       ## @DPMTABLE_UPDATE_MCLK
	.no_dead_strip	_ci_find_dpm_states_clocks_in_dpm_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_find_dpm_states_clocks_in_dpm_table
_ci_find_dpm_states_clocks_in_dpm_table: ; @ci_find_dpm_states_clocks_in_dpm_table
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x20, x0
	bl	_ci_get_pi
	mov	x19, x0
	mov	x0, x21
	bl	_ci_get_ps
	ldr	x8, [x0, #8]
	ldrsw	x9, [x0]
	add	x8, x8, x9, lsl #4
	ldp	x9, x8, [x8, #-16]
	str	wzr, [x19]
	ldr	x10, [x19, #24]
	cbz	x10, LBB0_4
; %bb.1:
	ldr	x11, [x19, #32]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11]
	cmp	x9, x12
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x11, #8
	subs	x10, x10, #1
	b.ne	LBB0_2
LBB0_4:
Lloh0:
	adrp	x9, _DPMTABLE_OD_UPDATE_SCLK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DPMTABLE_OD_UPDATE_SCLK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x19]
	ldr	x10, [x19, #8]
	cbnz	x10, LBB0_6
	b	LBB0_9
LBB0_5:
	mov	w9, #0
	ldr	x10, [x19, #8]
	cbz	x10, LBB0_9
LBB0_6:
	ldr	x11, [x19, #16]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11]
	cmp	x8, x12
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x11, x11, #8
	subs	x10, x10, #1
	b.ne	LBB0_7
LBB0_9:
Lloh3:
	adrp	x8, _DPMTABLE_OD_UPDATE_MCLK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DPMTABLE_OD_UPDATE_MCLK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w9, w9, w8
	str	w9, [x19]
LBB0_10:
	ldp	x8, x10, [x20]
	cmp	x8, x10
	b.eq	LBB0_12
; %bb.11:
Lloh6:
	adrp	x8, _DPMTABLE_UPDATE_MCLK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DPMTABLE_UPDATE_MCLK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DPMTABLE_OD_UPDATE_SCLK,4,2    ; @DPMTABLE_OD_UPDATE_SCLK
	.comm	_CISLAND_MINIMUM_ENGINE_CLOCK,8,3 ; @CISLAND_MINIMUM_ENGINE_CLOCK
	.comm	_DPMTABLE_UPDATE_SCLK,4,2       ; @DPMTABLE_UPDATE_SCLK
	.comm	_DPMTABLE_OD_UPDATE_MCLK,4,2    ; @DPMTABLE_OD_UPDATE_MCLK
	.comm	_DPMTABLE_UPDATE_MCLK,4,2       ; @DPMTABLE_UPDATE_MCLK
	.no_dead_strip	_ci_find_dpm_states_clocks_in_dpm_table
.subsections_via_symbols
