	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_trim_pcie_dpm_states
_ci_trim_pcie_dpm_states:               ## @ci_trim_pcie_dpm_states
	.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	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	callq	_ci_get_pi
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.1:
	movq	8(%rax), %rdx
	addq	$16, %rdx
	movq	%rcx, %rsi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, (%rdx)
	addq	$24, %rdx
	decq	%rsi
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-16(%rdx), %rdi
	xorl	%ebx, %ebx
	cmpq	%r13, %rdi
	jb	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%rdx), %r9
	cmpq	%r12, %r9
	setae	%r8b
	cmpq	%r15, %rdi
	setbe	%dil
	andb	%r8b, %dil
	cmpq	%r14, %r9
	setbe	%bl
	andb	%dil, %bl
	movzbl	%bl, %ebx
	jmp	LBB0_4
LBB0_5:
	movq	8(%rax), %r8
	leaq	40(%r8), %rbx
	xorl	%r9d, %r9d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$24, %rbx
	cmpq	%rcx, %r9
	je	LBB0_15
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	leaq	(%r9,%r9,2), %rdx
	incq	%r9
	cmpl	$0, 16(%r8,%rdx,8)
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%rcx, %r9
	jae	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r8,%rdx,8), %rdi
	movq	%rbx, %rdx
	movq	%r9, %rsi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%rsi
	addq	$24, %rdx
	cmpq	%rcx, %rsi
	jae	LBB0_14
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, (%rdx)
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	(%rdi), %rax
	cmpq	-16(%rdx), %rax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	8(%rdi), %rax
	cmpq	-8(%rdx), %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	$0, (%rdx)
	jmp	LBB0_13
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ci_trim_pcie_dpm_states
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_trim_pcie_dpm_states
_ci_trim_pcie_dpm_states:               ; @ci_trim_pcie_dpm_states
	.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	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	bl	_ci_get_pi
	ldr	x8, [x0]
	cbz	x8, LBB0_15
; %bb.1:
	ldr	x9, [x0, #8]
	add	x9, x9, #16
	mov	x10, x8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	x12, [x9, #-8]
	cmp	x12, x21
	ccmp	x11, x20, #2, hs
	ccmp	x12, x19, #2, ls
	cset	w11, ls
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w11, [x9], #24
	subs	x10, x10, #1
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x9, #-16]
	cmp	x11, x22
	b.hs	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w11, #0
	b	LBB0_3
LBB0_6:
	mov	x14, #0
	ldr	x9, [x0, #8]
	sub	x10, x8, #1
	add	x11, x9, #40
	mov	w12, #24
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	sub	x10, x10, #1
	add	x11, x11, #24
	mov	x14, x13
	cmp	x13, x8
	b.eq	LBB0_15
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	madd	x13, x14, x12, x9
	ldr	w15, [x13, #16]
	add	x13, x14, #1
	cmp	w15, #0
	ccmp	x13, x8, #2, ne
	b.hs	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	madd	x14, x14, x12, x9
	add	x15, x14, #8
	mov	x16, x11
	mov	x17, x10
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x16, x16, #24
	subs	x17, x17, #1
	b.eq	LBB0_7
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x16]
	cbz	w0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x0, [x14]
	ldur	x1, [x16, #-16]
	cmp	x0, x1
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x0, [x15]
	ldur	x1, [x16, #-8]
	cmp	x0, x1
	b.ne	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	str	wzr, [x16]
	b	LBB0_10
LBB0_15:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ci_trim_pcie_dpm_states
.subsections_via_symbols
