	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cypress_trim_voltage_table_to_fit_state_table
_cypress_trim_voltage_table_to_fit_state_table: ## @cypress_trim_voltage_table_to_fit_state_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	movq	_MAX_NO_VREG_STEPS@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	subl	%ecx, %eax
	jbe	LBB0_6
## %bb.1:
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.3:
	movq	8(%rsi), %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rax,%rdi), %ecx
	movl	(%rdx,%rcx,4), %ecx
	movl	%ecx, (%rdx,%rdi,4)
	incq	%rdi
	movl	(%r8), %ecx
	cmpq	%rcx, %rdi
	jb	LBB0_4
	jmp	LBB0_5
LBB0_2:
	xorl	%ecx, %ecx
LBB0_5:
	movl	%ecx, (%rsi)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NO_VREG_STEPS,4,2          ## @MAX_NO_VREG_STEPS
	.no_dead_strip	_cypress_trim_voltage_table_to_fit_state_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cypress_trim_voltage_table_to_fit_state_table
_cypress_trim_voltage_table_to_fit_state_table: ; @cypress_trim_voltage_table_to_fit_state_table
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
Lloh0:
	adrp	x8, _MAX_NO_VREG_STEPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_NO_VREG_STEPS@GOTPAGEOFF]
	ldr	w10, [x8]
	subs	w9, w9, w10
	b.ls	LBB0_6
; %bb.1:
	cbz	w10, LBB0_4
; %bb.2:
	mov	x10, #0
	ldr	x11, [x1, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w12, w9, w10
	ldr	w12, [x11, w12, uxtw #2]
	str	w12, [x11, x10, lsl #2]
	add	x10, x10, #1
	ldr	w12, [x8]
	cmp	x10, x12
	b.lo	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	w12, #0
LBB0_5:
	str	w12, [x1]
LBB0_6:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NO_VREG_STEPS,4,2          ; @MAX_NO_VREG_STEPS
	.no_dead_strip	_cypress_trim_voltage_table_to_fit_state_table
.subsections_via_symbols
