	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sht15_calc_humid
_sht15_calc_humid:                      ## @sht15_calc_humid
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_sht15_calc_temp
	movq	_SHT15_STATUS_LOW_RESOLUTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	movl	$-28, %ecx
	movl	$-7200, %edx                    ## imm = 0xE3E0
	cmovel	%ecx, %edx
	movl	$80, %esi
	movl	$1280, %ecx                     ## imm = 0x500
	cmovel	%esi, %ecx
	movl	$40500, %esi                    ## imm = 0x9E34
	movl	$648000, %edi                   ## imm = 0x9E340
	cmovel	%esi, %edi
	movl	4(%rbx), %esi
	imull	%esi, %edi
	movslq	%edi, %rdi
	imulq	$274877907, %rdi, %rdi          ## imm = 0x10624DD3
	movq	%rdi, %rbx
	shrq	$63, %rbx
	sarq	$38, %rdi
	addl	%ebx, %edi
	imull	%esi, %ecx
	imull	%esi, %esi
	imull	%edx, %esi
	movslq	%esi, %rdx
	imulq	$1759218605, %rdx, %rdx         ## imm = 0x68DB8BAD
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$44, %rdx
	addl	%esi, %edx
	addl	%edi, %edx
	addl	$-25000, %eax                   ## imm = 0x9E58
	addl	$10000, %ecx                    ## imm = 0x2710
	imull	%eax, %ecx
	movslq	%ecx, %rax
	imulq	$1125899907, %rax, %rax         ## imm = 0x431BDE83
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$50, %rax
	addl	%ecx, %eax
	addl	%edx, %eax
	addl	$-4000, %eax                    ## imm = 0xF060
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHT15_STATUS_LOW_RESOLUTION,4,2 ## @SHT15_STATUS_LOW_RESOLUTION
	.no_dead_strip	_sht15_calc_humid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sht15_calc_humid
_sht15_calc_humid:                      ; @sht15_calc_humid
	.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, x0
	bl	_sht15_calc_temp
Lloh0:
	adrp	x8, _SHT15_STATUS_LOW_RESOLUTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHT15_STATUS_LOW_RESOLUTION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x19]
	tst	w8, w9
	mov	w8, #-7200
	mov	w9, #-28
	csel	w8, w9, w8, eq
	mov	w9, #1280
	mov	w11, #80
	csel	w9, w11, w9, eq
	mov	w11, #58176
	movk	w11, #9, lsl #16
	mov	w12, #40500
	csel	w11, w12, w11, eq
	mul	w11, w11, w10
	mov	w12, #19923
	movk	w12, #4194, lsl #16
	smull	x11, w11, w12
	lsr	x12, x11, #63
	asr	x11, x11, #38
	add	w11, w11, w12
	mul	w12, w10, w10
	mul	w8, w12, w8
	mov	w12, #35757
	movk	w12, #26843, lsl #16
	smull	x8, w8, w12
	lsr	x12, x8, #63
	asr	x8, x8, #44
	add	w8, w8, w12
	add	w8, w11, w8
	mov	w11, #-25000
	add	w11, w0, w11
	mov	w12, #10000
	madd	w9, w9, w10, w12
	mul	w9, w9, w11
	mov	w10, #56963
	movk	w10, #17179, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #50
	add	w9, w9, w10
	add	w8, w8, w9
	sub	w0, w8, #4000
	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	_SHT15_STATUS_LOW_RESOLUTION,4,2 ; @SHT15_STATUS_LOW_RESOLUTION
	.no_dead_strip	_sht15_calc_humid
.subsections_via_symbols
