	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sht15_update_vals
_sht15_update_vals:                     ## @sht15_update_vals
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	8(%r15), %rbx
	movq	%rbx, %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_1
LBB0_2:
	movq	_SHT15_READING_HUMID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_SHT15_MEASURE_RH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$160, %edx
	callq	_sht15_update_single_val
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	_SHT15_READING_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_SHT15_MEASURE_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$400, %edx                      ## imm = 0x190
	callq	_sht15_update_single_val
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	$1, (%r15)
	movq	(%r12), %rax
	movq	%rax, 8(%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
	cmpl	$0, (%r15)
	je	LBB0_2
LBB0_5:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_SHT15_READING_HUMID,4,2        ## @SHT15_READING_HUMID
	.comm	_SHT15_MEASURE_RH,4,2           ## @SHT15_MEASURE_RH
	.comm	_SHT15_READING_TEMP,4,2         ## @SHT15_READING_TEMP
	.comm	_SHT15_MEASURE_TEMP,4,2         ## @SHT15_MEASURE_TEMP
	.no_dead_strip	_sht15_update_vals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sht15_update_vals
_sht15_update_vals:                     ; @sht15_update_vals
	.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	x20, x0
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x21, [x8]
	add	x19, x0, #4
	mov	x0, x19
	bl	_mutex_lock
Lloh3:
	adrp	x22, _jiffies@GOTPAGE
Lloh4:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x0, [x22]
	ldr	x8, [x20, #8]
	add	x1, x8, x21
	bl	_time_after
	cbz	x0, LBB0_4
LBB0_1:
Lloh5:
	adrp	x8, _SHT15_READING_HUMID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SHT15_READING_HUMID@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #16]
Lloh8:
	adrp	x8, _SHT15_MEASURE_RH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SHT15_MEASURE_RH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #160
	bl	_sht15_update_single_val
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.2:
Lloh11:
	adrp	x8, _SHT15_READING_TEMP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SHT15_READING_TEMP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20, #16]
Lloh14:
	adrp	x8, _SHT15_MEASURE_TEMP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SHT15_MEASURE_TEMP@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #400
	bl	_sht15_update_single_val
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.3:
	mov	w8, #1
	str	w8, [x20]
	ldr	x8, [x22]
	str	x8, [x20, #8]
	b	LBB0_6
LBB0_4:
	ldr	w8, [x20]
	cbz	w8, LBB0_1
; %bb.5:
	mov	w21, #0
LBB0_6:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x21
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_SHT15_READING_HUMID,4,2        ; @SHT15_READING_HUMID
	.comm	_SHT15_MEASURE_RH,4,2           ; @SHT15_MEASURE_RH
	.comm	_SHT15_READING_TEMP,4,2         ; @SHT15_READING_TEMP
	.comm	_SHT15_MEASURE_TEMP,4,2         ; @SHT15_MEASURE_TEMP
	.no_dead_strip	_sht15_update_vals
.subsections_via_symbols
