	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu7_trim_single_dpm_states
_smu7_trim_single_dpm_states:           ## @smu7_trim_single_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %r8
	testq	%r8, %r8
	je	LBB0_19
## %bb.1:
	movl	(%rdi), %r10d
	cmpq	$1, %r8
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
LBB0_13:
	testb	$1, %r8b
	je	LBB0_19
## %bb.14:
	movq	8(%rsi), %rsi
	testl	%r10d, %r10d
	jne	LBB0_17
## %bb.15:
	movq	%rax, %rdi
	shlq	$4, %rdi
	movq	(%rsi,%rdi), %rbx
	xorl	%edi, %edi
	cmpq	%rdx, %rbx
	jb	LBB0_18
## %bb.16:
	cmpq	%rcx, %rbx
	ja	LBB0_18
LBB0_17:
	movl	$1, %edi
LBB0_18:
	shlq	$4, %rax
	movl	%edi, 8(%rsi,%rax)
LBB0_19:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%r8, %r9
	andq	$-2, %r9
	movq	8(%rsi), %r11
	xorl	%edi, %edi
	xorl	%eax, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %ebx
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, 24(%r11,%rdi)
	addq	$2, %rax
	addq	$32, %rdi
	cmpq	%rax, %r9
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r10d, %r10d
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r11,%rdi), %r14
	xorl	%ebx, %ebx
	cmpq	%rdx, %r14
	jb	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rcx, %r14
	ja	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %ebx
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, 8(%r11,%rdi)
	testl	%r10d, %r10d
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r11,%rdi), %r14
	xorl	%ebx, %ebx
	cmpq	%rdx, %r14
	jb	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rcx, %r14
	jbe	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_smu7_trim_single_dpm_states
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu7_trim_single_dpm_states
_smu7_trim_single_dpm_states:           ; @smu7_trim_single_dpm_states
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	w9, [x0]
	ldr	x10, [x1, #8]
	add	x10, x10, #8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w11, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w11, [x10], #16
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w9, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x11, [x10, #-8]
	cmp	x11, x2
	ccmp	x11, x3, #2, hs
	b.ls	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w11, #0
	b	LBB0_3
LBB0_7:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_smu7_trim_single_dpm_states
.subsections_via_symbols
