	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_to_vid                 ## -- Begin function convert_to_vid
	.p2align	4, 0x90
_convert_to_vid:                        ## @convert_to_vid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VOLTAGE_SCALE@GOTPCREL(%rip), %rax
	imull	(%rax), %edi
	movl	$6200, %eax                     ## imm = 0x1838
	subl	%edi, %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$35, %rax
	addl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VOLTAGE_SCALE,4,2              ## @VOLTAGE_SCALE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_to_vid                 ; -- Begin function convert_to_vid
	.p2align	2
_convert_to_vid:                        ; @convert_to_vid
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VOLTAGE_SCALE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VOLTAGE_SCALE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #6200
	msub	w8, w8, w0, w9
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #35
	add	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VOLTAGE_SCALE,4,2              ; @VOLTAGE_SCALE
.subsections_via_symbols
