	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_sensors
_update_sensors:                        ## @update_sensors
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LM75BUF@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_get_ticks
	movq	_last_sensors_update@GOTPCREL(%rip), %rcx
	movq	%rax, %rdx
	subq	(%rcx), %rdx
	movq	_UPDATE_INTERVAL@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jl	LBB0_25
## %bb.1:
	movq	%rax, (%rcx)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_free_sensors
	movq	_lm75_sensors@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	$2, -96(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-80(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	callq	_sysctlnametomib
	cmpl	$-1, %eax
	je	LBB0_25
## %bb.2:
	movq	-96(%rbp), %rdi
	shlq	$2, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	-96(%rbp), %rdx
	shlq	$2, %rdx
	leaq	-80(%rbp), %rsi
	movq	%rax, %rdi
	callq	_memcpy
	movq	-96(%rbp), %r13
	movq	$0, -88(%rbp)
	xorl	%ebx, %ebx
	leaq	-88(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_sysctlgetnext
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.5:
	leaq	-88(%rbp), %rbx
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	$0, -88(%rbp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_sysctlgetnext
	cmpl	$-1, %eax
	je	LBB0_9
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movq	-88(%rbp), %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	movq	%rbx, %rcx
	callq	_sysctlgetnext
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_free
	cmpl	$-1, %r13d
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-96(%rbp), %rax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15,%rcx,4), %edx
	cmpl	-80(%rbp,%rcx,4), %edx
	jne	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_16 Depth=2
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r14
	movq	-88(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	%r15, %rdi
	callq	_free
	movq	-88(%rbp), %r13
	shrq	$2, %r13
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_sysctlname
	testq	%rax, %rax
	jne	LBB0_8
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_8
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_add_sensor
	testq	%rax, %rax
	je	LBB0_8
	jmp	LBB0_22
LBB0_12:
	movq	%r15, %rdi
	callq	_free
	xorl	%ebx, %ebx
	jmp	LBB0_25
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	jmp	LBB0_24
LBB0_7:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-88(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	callq	_syslog
LBB0_22:
	movq	%r14, %rdi
	jmp	LBB0_23
LBB0_18:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-88(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	callq	_syslog
	movq	%r15, %rdi
LBB0_23:
	callq	_free
LBB0_24:
	movl	$-1, %ebx
	jmp	LBB0_25
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%r14, %rdi
	callq	_free
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LM75BUF,4,2                    ## @LM75BUF
	.comm	_last_sensors_update,8,3        ## @last_sensors_update
	.comm	_UPDATE_INTERVAL,8,3            ## @UPDATE_INTERVAL
	.comm	_lm75_sensors,8,3               ## @lm75_sensors
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dev.lm75"

L_.str.1:                               ## @.str.1
	.asciz	"malloc"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.2:                               ## @.str.2
	.asciz	"Unable to allocate %zu bytes for resource"

L_.str.3:                               ## @.str.3
	.asciz	"temperature"

	.no_dead_strip	_update_sensors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_sensors
_update_sensors:                        ; @update_sensors
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _LM75BUF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LM75BUF@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	bl	_get_ticks
Lloh8:
	adrp	x8, _last_sensors_update@GOTPAGE
Lloh9:
	ldr	x8, [x8, _last_sensors_update@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh10:
	adrp	x10, _UPDATE_INTERVAL@GOTPAGE
Lloh11:
	ldr	x10, [x10, _UPDATE_INTERVAL@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	sub	x9, x0, x9
	cmp	x9, x10
	b.lt	LBB0_19
; %bb.1:
	str	x0, [x8]
	bl	_free_sensors
Lloh13:
	adrp	x8, _lm75_sensors@GOTPAGE
Lloh14:
	ldr	x8, [x8, _lm75_sensors@GOTPAGEOFF]
Lloh15:
	str	xzr, [x8]
	mov	w8, #2
	stur	x8, [x29, #-96]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	sub	x1, x29, #76
	sub	x2, x29, #96
	bl	_sysctlnametomib
	cmn	w0, #1
	b.eq	LBB0_19
; %bb.2:
	ldur	x8, [x29, #-96]
	lsl	x0, x8, #2
	bl	_malloc
	cbz	x0, LBB0_22
; %bb.3:
	mov	x21, x0
	ldur	x8, [x29, #-96]
	lsl	x2, x8, #2
	sub	x1, x29, #76
	bl	_memcpy
	ldur	x24, [x29, #-96]
	stur	xzr, [x29, #-88]
	sub	x3, x29, #88
	mov	x0, x21
	mov	x1, x24
	mov	x2, #0
	bl	_sysctlgetnext
	cmn	w0, #1
	b.eq	LBB0_17
; %bb.4:
Lloh18:
	adrp	x22, l_.str.3@PAGE
Lloh19:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	stur	xzr, [x29, #-88]
	sub	x3, x29, #88
	mov	x0, x21
	mov	x1, x24
	mov	x2, #0
	bl	_sysctlgetnext
	cmn	w0, #1
	b.eq	LBB0_17
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldur	x0, [x29, #-88]
	bl	_malloc
	cbz	x0, LBB0_23
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	sub	x3, x29, #88
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	bl	_sysctlgetnext
	mov	x24, x0
	mov	x0, x21
	bl	_free
	cmn	w24, #1
	b.eq	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-96]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	and	x8, x8, #0xffffffff
	sub	x9, x29, #76
	mov	x10, x23
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x10]
	ldr	w12, [x9]
	cmp	w11, w12
	b.ne	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x9, x9, #4
	add	x10, x10, #4
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x0, [x29, #-88]
	bl	_malloc
	cbz	x0, LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	ldur	x2, [x29, #-88]
	mov	x1, x23
	bl	_memcpy
	mov	x0, x23
	bl	_free
	ldur	x8, [x29, #-88]
	lsr	x24, x8, #2
	mov	x0, x21
	mov	x1, x24
	mov	x2, x20
	mov	x3, x19
	bl	_sysctlname
	cbnz	x0, LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_strstr
	cbz	x0, LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_add_sensor
	cbz	x0, LBB0_5
	b	LBB0_24
LBB0_16:
	mov	x0, x23
	b	LBB0_18
LBB0_17:
	mov	x0, x21
LBB0_18:
	bl	_free
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldur	x8, [x29, #-56]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.21:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_22:
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	b	LBB0_27
LBB0_23:
Lloh25:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldur	x2, [x29, #-88]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syslog
LBB0_24:
	mov	x0, x21
	b	LBB0_26
LBB0_25:
Lloh30:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	ldur	x2, [x29, #-88]
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syslog
	mov	x0, x23
LBB0_26:
	bl	_free
LBB0_27:
	mov	w0, #-1
	b	LBB0_20
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_LM75BUF,4,2                    ; @LM75BUF
	.comm	_last_sensors_update,8,3        ; @last_sensors_update
	.comm	_UPDATE_INTERVAL,8,3            ; @UPDATE_INTERVAL
	.comm	_lm75_sensors,8,3               ; @lm75_sensors
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dev.lm75"

l_.str.1:                               ; @.str.1
	.asciz	"malloc"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.2:                               ; @.str.2
	.asciz	"Unable to allocate %zu bytes for resource"

l_.str.3:                               ; @.str.3
	.asciz	"temperature"

	.no_dead_strip	_update_sensors
.subsections_via_symbols
