	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcom_vadc_scale_code_voltage_factor
_qcom_vadc_scale_code_voltage_factor:   ## @qcom_vadc_scale_code_voltage_factor
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_VADC5_MAX_CODE@GOTPCREL(%rip), %r8
	imull	$1875000, %edi, %ebx            ## imm = 0x1C9C38
	xorl	%eax, %eax
	cmpq	%rdi, (%r8)
	movl	%ecx, %r15d
	movq	%rsi, %r14
	cmovgel	%ebx, %eax
	movl	(%rdx), %esi
	movl	%eax, %edi
	callq	_div64_s64
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	imull	(%r14), %eax
	imull	4(%r14), %r15d
	movl	%eax, %edi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_div64_s64                      ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VADC5_MAX_CODE,8,3             ## @VADC5_MAX_CODE
	.no_dead_strip	_qcom_vadc_scale_code_voltage_factor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcom_vadc_scale_code_voltage_factor
_qcom_vadc_scale_code_voltage_factor:   ; @qcom_vadc_scale_code_voltage_factor
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x20, x1
Lloh0:
	adrp	x8, _VADC5_MAX_CODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VADC5_MAX_CODE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #39992
	movk	w9, #28, lsl #16
	mul	w9, w0, w9
	cmp	x8, x0
	csel	w0, wzr, w9, lt
	ldr	w1, [x2]
	bl	_div64_s64
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.1:
	ldp	w8, w9, [x20]
	mul	w0, w8, w0
	mul	w1, w9, w19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_div64_s64
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VADC5_MAX_CODE,8,3             ; @VADC5_MAX_CODE
	.no_dead_strip	_qcom_vadc_scale_code_voltage_factor
.subsections_via_symbols
