	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcom_vadc_scale_die_temp
_qcom_vadc_scale_die_temp:              ## @qcom_vadc_scale_die_temp
	.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	%r8, %r14
	movq	%rsi, %r15
	movl	$0, -28(%rbp)
	leaq	-28(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rcx
	callq	_qcom_vadc_scale_calib
	movl	-28(%rbp), %ebx
	testl	%ebx, %ebx
	jle	LBB0_1
## %bb.2:
	imull	(%r15), %ebx
	movl	4(%r15), %esi
	addl	%esi, %esi
	movl	%ebx, %edi
	callq	_do_div
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	_KELVINMIL_CELSIUSMIL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KELVINMIL_CELSIUSMIL,8,3       ## @KELVINMIL_CELSIUSMIL
	.no_dead_strip	_qcom_vadc_scale_die_temp
.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_die_temp
_qcom_vadc_scale_die_temp:              ; @qcom_vadc_scale_die_temp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x4
	mov	x8, x3
	mov	x20, x1
	str	wzr, [sp, #12]
	add	x3, sp, #12
	mov	x1, x8
	bl	_qcom_vadc_scale_calib
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldp	w9, w10, [x20]
	mul	w20, w9, w8
	lsl	w1, w10, #1
	mov	x0, x20
	bl	_do_div
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
Lloh0:
	adrp	x8, _KELVINMIL_CELSIUSMIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KELVINMIL_CELSIUSMIL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w20, w8
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KELVINMIL_CELSIUSMIL,8,3       ; @KELVINMIL_CELSIUSMIL
	.no_dead_strip	_qcom_vadc_scale_die_temp
.subsections_via_symbols
