	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sht15_calc_temp
_sht15_calc_temp:                       ## @sht15_calc_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	%rdi, %r15
	movq	_temppoints@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movl	(%rdi), %r14d
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	movq	(%rbx), %r8
	movl	%eax, %ebx
	decl	%eax
	shlq	$4, %rax
	leaq	(%rax,%r8), %rdx
	addq	$24, %rdx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$2, %ebx
	jl	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-1(%rbx), %rcx
	movq	(%r15), %rax
	addl	$-2, %ebx
	movq	%rbx, %rsi
	shlq	$4, %rsi
	movq	8(%r8,%rsi), %rdi
	addq	$-16, %rdx
	movq	%rcx, %rbx
	subq	%rdi, %rax
	jle	LBB0_1
## %bb.3:
	movslq	-8(%rdx), %rbx
	movslq	(%r8,%rsi), %rcx
	subq	%rcx, %rbx
	imulq	%rbx, %rax
	movq	(%rdx), %rsi
	subq	%rdi, %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_4
## %bb.5:
	cqto
	idivq	%rsi
	movq	%rax, %r14
	jmp	LBB0_6
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %r14d
LBB0_6:
	addl	%ecx, %r14d
LBB0_7:
	movl	8(%r15), %eax
	leal	(%rax,%rax,4), %eax
	leal	(%r14,%rax,2), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_temppoints,8,3                 ## @temppoints
	.no_dead_strip	_sht15_calc_temp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sht15_calc_temp
_sht15_calc_temp:                       ; @sht15_calc_temp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x21, _temppoints@GOTPAGE
Lloh1:
	ldr	x21, [x21, _temppoints@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	w20, [x0]
	bl	_ARRAY_SIZE
	ldr	x8, [x21]
	mov	w10, w0
	sub	w9, w0, #1
	add	x9, x8, w9, uxtw #4
	add	x9, x9, #24
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #2
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	w12, w10, #2
	sub	x10, x10, #1
	ldr	x13, [x19]
	add	x11, x8, w12, uxtw #4
	ldr	x11, [x11, #8]
	sub	x9, x9, #16
	subs	x13, x13, x11
	b.le	LBB0_1
; %bb.3:
	ldursw	x10, [x9, #-8]
	lsl	x12, x12, #4
	ldrsw	x8, [x8, x12]
	sub	x10, x10, x8
	mul	x10, x13, x10
	ldr	x9, [x9]
	sub	x9, x9, x11
	sdiv	x9, x10, x9
	add	w20, w8, w9
LBB0_4:
	ldr	w8, [x19, #8]
	mov	w9, #10
	madd	w0, w8, w9, w20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_temppoints,8,3                 ; @temppoints
	.no_dead_strip	_sht15_calc_temp
.subsections_via_symbols
