	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_get_std_voltage_value_sidd
_ci_get_std_voltage_value_sidd:         ## @ci_get_std_voltage_value_sidd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	_VOLTAGE_SCALE@GOTPCREL(%rip), %r8
	movq	(%r8), %rax
	imulq	(%rsi), %rax
	movq	%rax, (%rdx)
	movq	(%r8), %rax
	imulq	(%rsi), %rax
	movq	%rax, (%rcx)
	movq	24(%rdi), %r10
	testq	%r10, %r10
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %r9
	xorl	%eax, %eax
	testq	%r9, %r9
	je	LBB0_12
## %bb.3:
	movq	16(%rdi), %r11
	testq	%r11, %r11
	jle	LBB0_12
## %bb.4:
	movq	(%rsi), %rbx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%r10,%rax,8), %rbx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	cmpq	%rax, %r11
	jne	LBB0_5
## %bb.8:
	movq	(%rsi), %rsi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%r10,%rax,8), %rsi
	jbe	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rax
	cmpq	%rax, %r11
	jne	LBB0_9
	jmp	LBB0_11
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_6:
	movq	(%rdi), %rsi
	leaq	-1(%rsi), %rdi
	cmpq	%rsi, %rax
	cmovlq	%rax, %rdi
	shlq	$4, %rdi
	movq	(%r8), %rax
	imulq	(%r9,%rdi), %rax
	movq	%rax, (%rcx)
	movq	(%r8), %rax
	imulq	8(%r9,%rdi), %rax
	movq	%rax, (%rdx)
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VOLTAGE_SCALE,8,3              ## @VOLTAGE_SCALE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ci_get_std_voltage_value_sidd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_get_std_voltage_value_sidd
_ci_get_std_voltage_value_sidd:         ; @ci_get_std_voltage_value_sidd
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _VOLTAGE_SCALE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VOLTAGE_SCALE@GOTPAGEOFF]
	ldr	x10, [x9]
	mul	x8, x10, x8
	str	x8, [x2]
	ldr	x8, [x1]
	ldr	x10, [x9]
	mul	x8, x10, x8
	str	x8, [x3]
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_10
; %bb.1:
	ldr	x10, [x0, #8]
	cbz	x10, LBB0_9
; %bb.2:
	ldr	x11, [x0, #16]
	cmp	x11, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x12, #0
	ldr	x13, [x1]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x8, x12, lsl #3]
	cmp	x13, x14
	b.eq	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x12, #1
	cmp	x11, x12
	b.ne	LBB0_4
; %bb.6:
	mov	x12, #0
	ldr	x13, [x1]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x8, x12, lsl #3]
	cmp	x13, x14
	b.ls	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x12, x12, #1
	cmp	x11, x12
	b.ne	LBB0_7
LBB0_9:
	mov	w0, #0
	ret
LBB0_10:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_11:
	mov	w8, #0
	ldr	x11, [x0]
	sub	x13, x11, #1
	cmp	x12, x11
	csel	x11, x12, x13, lt
	add	x10, x10, x11, lsl #4
	ldr	x11, [x10]
	ldr	x12, [x9]
	mul	x11, x12, x11
	str	x11, [x3]
	ldr	x10, [x10, #8]
	ldr	x9, [x9]
	mul	x9, x9, x10
	str	x9, [x2]
	mov	x0, x8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VOLTAGE_SCALE,8,3              ; @VOLTAGE_SCALE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ci_get_std_voltage_value_sidd
.subsections_via_symbols
