	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rm31_new_sensor
_rm31_new_sensor:                       ## @rm31_new_sensor
	.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
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movl	(%rbx), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	movl	(%rbx), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:
	movl	(%rbx), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_20
## %bb.18:
	movq	_dimms_temp@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_1:
	movq	_sens_cpu_temp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_19
LBB0_3:
	movq	_sens_cpu_temp@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_sens_cpu_volts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_19
LBB0_8:
	movq	_sens_cpu_volts@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_10:
	movq	_sens_cpu_amps@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_19
LBB0_12:
	movq	_sens_cpu_amps@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rax
	addq	$8, %rax
LBB0_19:
	movq	%rbx, (%rax)
LBB0_20:
	movq	_sens_cpu_temp@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	je	LBB0_26
## %bb.21:
	movq	_sens_cpu_volts@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_26
## %bb.22:
	movq	_sens_cpu_amps@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_26
## %bb.23:
	movq	_backside_temp@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_26
## %bb.24:
	movq	_slots_temp@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_26
## %bb.25:
	movq	_dimms_temp@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	$0, (%rdx)
	setne	%al
LBB0_26:
	movq	_nr_chips@GOTPCREL(%rip), %rdx
	cmpl	$2, (%rdx)
	jl	LBB0_31
## %bb.27:
	xorl	%edx, %edx
	cmpq	$0, 8(%rcx)
	je	LBB0_30
## %bb.28:
	movq	_sens_cpu_volts@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_30
## %bb.29:
	movq	_sens_cpu_amps@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	cmpq	$0, 8(%rcx)
	setne	%dl
LBB0_30:
	andl	%edx, %eax
LBB0_31:
	movq	_have_all_sensors@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_14:
	movq	_backside_temp@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_16:
	movq	_slots_temp@GOTPCREL(%rip), %rax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpu-diode-temp-0"

	.comm	_sens_cpu_temp,8,3              ## @sens_cpu_temp
L_.str.1:                               ## @.str.1
	.asciz	"cpu-diode-temp-1"

L_.str.2:                               ## @.str.2
	.asciz	"cpu-voltage-0"

	.comm	_sens_cpu_volts,8,3             ## @sens_cpu_volts
L_.str.3:                               ## @.str.3
	.asciz	"cpu-voltage-1"

L_.str.4:                               ## @.str.4
	.asciz	"cpu-current-0"

	.comm	_sens_cpu_amps,8,3              ## @sens_cpu_amps
L_.str.5:                               ## @.str.5
	.asciz	"cpu-current-1"

L_.str.6:                               ## @.str.6
	.asciz	"backside-temp"

	.comm	_backside_temp,8,3              ## @backside_temp
L_.str.7:                               ## @.str.7
	.asciz	"slots-temp"

	.comm	_slots_temp,8,3                 ## @slots_temp
L_.str.8:                               ## @.str.8
	.asciz	"dimms-temp"

	.comm	_dimms_temp,8,3                 ## @dimms_temp
	.comm	_nr_chips,4,2                   ## @nr_chips
	.comm	_have_all_sensors,4,2           ## @have_all_sensors
	.no_dead_strip	_rm31_new_sensor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rm31_new_sensor
_rm31_new_sensor:                       ; @rm31_new_sensor
	.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
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
Lloh2:
	adrp	x20, _sens_cpu_temp@GOTPAGE
Lloh3:
	ldr	x20, [x20, _sens_cpu_temp@GOTPAGEOFF]
	cbz	w0, LBB0_10
; %bb.1:
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.2:
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.3:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_13
; %bb.4:
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_14
; %bb.5:
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.6:
	ldr	w0, [x19]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_30
; %bb.7:
	ldr	w0, [x19]
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_31
; %bb.8:
	ldr	w0, [x19]
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_19
; %bb.9:
Lloh20:
	adrp	x8, _dimms_temp@GOTPAGE
Lloh21:
	ldr	x8, [x8, _dimms_temp@GOTPAGEOFF]
	b	LBB0_18
LBB0_10:
	ldr	x8, [x20]
	b	LBB0_18
LBB0_11:
	ldr	x8, [x20]
	b	LBB0_17
LBB0_12:
Lloh22:
	adrp	x8, _sens_cpu_volts@GOTPAGE
Lloh23:
	ldr	x8, [x8, _sens_cpu_volts@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	b	LBB0_18
LBB0_13:
Lloh25:
	adrp	x8, _sens_cpu_volts@GOTPAGE
Lloh26:
	ldr	x8, [x8, _sens_cpu_volts@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh27:
	adrp	x8, _sens_cpu_amps@GOTPAGE
Lloh28:
	ldr	x8, [x8, _sens_cpu_amps@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	b	LBB0_18
LBB0_15:
Lloh30:
	adrp	x8, _sens_cpu_amps@GOTPAGE
Lloh31:
	ldr	x8, [x8, _sens_cpu_amps@GOTPAGEOFF]
LBB0_16:
	ldr	x8, [x8]
LBB0_17:
	add	x8, x8, #8
LBB0_18:
	str	x19, [x8]
LBB0_19:
	ldr	x9, [x20]
	ldr	x8, [x9]
	cbz	x8, LBB0_24
; %bb.20:
Lloh32:
	adrp	x8, _sens_cpu_volts@GOTPAGE
Lloh33:
	ldr	x8, [x8, _sens_cpu_volts@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_24
; %bb.21:
Lloh35:
	adrp	x8, _sens_cpu_amps@GOTPAGE
Lloh36:
	ldr	x8, [x8, _sens_cpu_amps@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh38:
	adrp	x10, _backside_temp@GOTPAGE
Lloh39:
	ldr	x10, [x10, _backside_temp@GOTPAGEOFF]
Lloh40:
	ldr	x10, [x10]
Lloh41:
	adrp	x11, _slots_temp@GOTPAGE
Lloh42:
	ldr	x11, [x11, _slots_temp@GOTPAGEOFF]
Lloh43:
	ldr	x11, [x11]
	cmp	x8, #0
	ccmp	x10, #0, #4, ne
	ccmp	x11, #0, #4, ne
	b.ne	LBB0_23
; %bb.22:
	mov	w8, #0
	b	LBB0_24
LBB0_23:
Lloh44:
	adrp	x8, _dimms_temp@GOTPAGE
Lloh45:
	ldr	x8, [x8, _dimms_temp@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w8, ne
LBB0_24:
Lloh47:
	adrp	x10, _nr_chips@GOTPAGE
Lloh48:
	ldr	x10, [x10, _nr_chips@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	cmp	w10, #2
	b.lt	LBB0_29
; %bb.25:
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_28
; %bb.26:
Lloh50:
	adrp	x9, _sens_cpu_volts@GOTPAGE
Lloh51:
	ldr	x9, [x9, _sens_cpu_volts@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_28
; %bb.27:
Lloh53:
	adrp	x9, _sens_cpu_amps@GOTPAGE
Lloh54:
	ldr	x9, [x9, _sens_cpu_amps@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	ldr	x9, [x9, #8]
	cmp	x9, #0
	cset	w9, ne
LBB0_28:
	and	w8, w9, w8
LBB0_29:
Lloh56:
	adrp	x9, _have_all_sensors@GOTPAGE
Lloh57:
	ldr	x9, [x9, _have_all_sensors@GOTPAGEOFF]
Lloh58:
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_30:
Lloh59:
	adrp	x8, _backside_temp@GOTPAGE
Lloh60:
	ldr	x8, [x8, _backside_temp@GOTPAGEOFF]
	b	LBB0_18
LBB0_31:
Lloh61:
	adrp	x8, _slots_temp@GOTPAGE
Lloh62:
	ldr	x8, [x8, _slots_temp@GOTPAGEOFF]
	b	LBB0_18
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpu-diode-temp-0"

	.comm	_sens_cpu_temp,8,3              ; @sens_cpu_temp
l_.str.1:                               ; @.str.1
	.asciz	"cpu-diode-temp-1"

l_.str.2:                               ; @.str.2
	.asciz	"cpu-voltage-0"

	.comm	_sens_cpu_volts,8,3             ; @sens_cpu_volts
l_.str.3:                               ; @.str.3
	.asciz	"cpu-voltage-1"

l_.str.4:                               ; @.str.4
	.asciz	"cpu-current-0"

	.comm	_sens_cpu_amps,8,3              ; @sens_cpu_amps
l_.str.5:                               ; @.str.5
	.asciz	"cpu-current-1"

l_.str.6:                               ; @.str.6
	.asciz	"backside-temp"

	.comm	_backside_temp,8,3              ; @backside_temp
l_.str.7:                               ; @.str.7
	.asciz	"slots-temp"

	.comm	_slots_temp,8,3                 ; @slots_temp
l_.str.8:                               ; @.str.8
	.asciz	"dimms-temp"

	.comm	_dimms_temp,8,3                 ; @dimms_temp
	.comm	_nr_chips,4,2                   ; @nr_chips
	.comm	_have_all_sensors,4,2           ; @have_all_sensors
	.no_dead_strip	_rm31_new_sensor
.subsections_via_symbols
