	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm112_new_sensor
_pm112_new_sensor:                      ## @pm112_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$9, %edx
	callq	_strncmp
	movq	(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_1
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movl	$10, %edx
	callq	_strncmp
	movq	(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_8
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movq	(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	movq	(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_26
## %bb.16:
	movq	_u4_temp@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	jne	LBB0_20
	jmp	LBB0_18
LBB0_1:
	cmpl	$0, 40(%rdi)
	jne	LBB0_20
## %bb.2:
	movl	36(%rdi), %eax
	addl	$-48, %eax
	movq	_NR_CORES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_20
## %bb.3:
	movq	_sens_cpu_temp@GOTPCREL(%rip), %r15
	jmp	LBB0_4
LBB0_8:
	cmpl	$0, 44(%rdi)
	jne	LBB0_20
## %bb.9:
	movl	40(%rdi), %eax
	addl	$-48, %eax
	movq	_NR_CORES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_20
## %bb.10:
	movq	_sens_cpu_power@GOTPCREL(%rip), %r15
LBB0_4:
	movq	(%r15), %rcx
	movl	%eax, %r14d
	cmpq	$0, (%rcx,%r14,8)
	jne	LBB0_20
## %bb.5:
	movq	%rbx, %rdi
	callq	_wf_get_sensor
	testq	%rax, %rax
	jne	LBB0_20
## %bb.6:
	shlq	$3, %r14
	addq	(%r15), %r14
	jmp	LBB0_19
LBB0_12:
	movq	_hd_temp@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	jne	LBB0_20
	jmp	LBB0_18
LBB0_14:
	movq	_slots_power@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	jne	LBB0_20
LBB0_18:
	movq	%rbx, %rdi
	callq	_wf_get_sensor
	testq	%rax, %rax
	jne	LBB0_20
LBB0_19:
	movq	%rbx, (%r14)
LBB0_20:
	movq	_nr_cores@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testq	%rax, %rax
	je	LBB0_25
## %bb.21:
	movq	_sens_cpu_temp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_sens_cpu_power@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rsi,8)
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpq	$0, (%rdx,%rsi,8)
	je	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_23 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_23
LBB0_25:
	movq	_have_all_sensors@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpu-temp-"

	.comm	_NR_CORES,4,2                   ## @NR_CORES
	.comm	_sens_cpu_temp,8,3              ## @sens_cpu_temp
L_.str.1:                               ## @.str.1
	.asciz	"cpu-power-"

	.comm	_sens_cpu_power,8,3             ## @sens_cpu_power
L_.str.2:                               ## @.str.2
	.asciz	"hd-temp"

	.comm	_hd_temp,8,3                    ## @hd_temp
L_.str.3:                               ## @.str.3
	.asciz	"slots-power"

	.comm	_slots_power,8,3                ## @slots_power
L_.str.4:                               ## @.str.4
	.asciz	"backside-temp"

	.comm	_u4_temp,8,3                    ## @u4_temp
	.comm	_nr_cores,4,2                   ## @nr_cores
	.comm	_have_all_sensors,4,2           ## @have_all_sensors
	.no_dead_strip	_pm112_new_sensor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm112_new_sensor
_pm112_new_sensor:                      ; @pm112_new_sensor
	.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
	ldr	x0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #9
	bl	_strncmp
	mov	x8, x0
	ldr	x0, [x19]
	cbz	w8, LBB0_8
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #10
	bl	_strncmp
	mov	x8, x0
	ldr	x0, [x19]
	cbz	w8, LBB0_10
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.3:
	ldr	x0, [x19]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.4:
	ldr	x0, [x19]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_28
; %bb.5:
Lloh10:
	adrp	x8, _u4_temp@GOTPAGE
Lloh11:
	ldr	x8, [x8, _u4_temp@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbnz	x8, LBB0_22
; %bb.6:
	mov	x0, x19
	bl	_wf_get_sensor
	cbnz	x0, LBB0_22
; %bb.7:
Lloh13:
	adrp	x8, _u4_temp@GOTPAGE
Lloh14:
	ldr	x8, [x8, _u4_temp@GOTPAGEOFF]
	b	LBB0_21
LBB0_8:
	ldp	w8, w9, [x0, #36]
	sub	w20, w8, #48
Lloh15:
	adrp	x8, _NR_CORES@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NR_CORES@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w9, #0
	ccmp	w20, w8, #2, eq
	b.hs	LBB0_22
; %bb.9:
Lloh18:
	adrp	x21, _sens_cpu_temp@GOTPAGE
Lloh19:
	ldr	x21, [x21, _sens_cpu_temp@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	ldp	w8, w9, [x0, #40]
	sub	w20, w8, #48
Lloh20:
	adrp	x8, _NR_CORES@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NR_CORES@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w9, #0
	ccmp	w20, w8, #2, eq
	b.hs	LBB0_22
; %bb.11:
Lloh23:
	adrp	x21, _sens_cpu_power@GOTPAGE
Lloh24:
	ldr	x21, [x21, _sens_cpu_power@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x21]
	ldr	x8, [x8, w20, uxtw #3]
	cbnz	x8, LBB0_22
; %bb.13:
	mov	x0, x19
	bl	_wf_get_sensor
	cbnz	x0, LBB0_22
; %bb.14:
	ldr	x8, [x21]
	add	x8, x8, x20, lsl #3
	b	LBB0_21
LBB0_15:
Lloh25:
	adrp	x8, _hd_temp@GOTPAGE
Lloh26:
	ldr	x8, [x8, _hd_temp@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cbnz	x8, LBB0_22
; %bb.16:
	mov	x0, x19
	bl	_wf_get_sensor
	cbnz	x0, LBB0_22
; %bb.17:
Lloh28:
	adrp	x8, _hd_temp@GOTPAGE
Lloh29:
	ldr	x8, [x8, _hd_temp@GOTPAGEOFF]
	b	LBB0_21
LBB0_18:
Lloh30:
	adrp	x8, _slots_power@GOTPAGE
Lloh31:
	ldr	x8, [x8, _slots_power@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cbnz	x8, LBB0_22
; %bb.19:
	mov	x0, x19
	bl	_wf_get_sensor
	cbnz	x0, LBB0_22
; %bb.20:
Lloh33:
	adrp	x8, _slots_power@GOTPAGE
Lloh34:
	ldr	x8, [x8, _slots_power@GOTPAGEOFF]
LBB0_21:
	str	x19, [x8]
LBB0_22:
Lloh35:
	adrp	x8, _nr_cores@GOTPAGE
Lloh36:
	ldr	x8, [x8, _nr_cores@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cbz	w8, LBB0_27
; %bb.23:
Lloh38:
	adrp	x9, _sens_cpu_temp@GOTPAGE
Lloh39:
	ldr	x9, [x9, _sens_cpu_temp@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
Lloh41:
	adrp	x10, _sens_cpu_power@GOTPAGE
Lloh42:
	ldr	x10, [x10, _sens_cpu_power@GOTPAGEOFF]
Lloh43:
	ldr	x10, [x10]
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	cbz	x11, LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x11, [x10]
	cbz	x11, LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	add	x9, x9, #8
	add	x10, x10, #8
	subs	x8, x8, #1
	b.ne	LBB0_24
LBB0_27:
Lloh44:
	adrp	x8, _have_all_sensors@GOTPAGE
Lloh45:
	ldr	x8, [x8, _have_all_sensors@GOTPAGEOFF]
	mov	w9, #1
Lloh46:
	str	w9, [x8]
LBB0_28:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpu-temp-"

	.comm	_NR_CORES,4,2                   ; @NR_CORES
	.comm	_sens_cpu_temp,8,3              ; @sens_cpu_temp
l_.str.1:                               ; @.str.1
	.asciz	"cpu-power-"

	.comm	_sens_cpu_power,8,3             ; @sens_cpu_power
l_.str.2:                               ; @.str.2
	.asciz	"hd-temp"

	.comm	_hd_temp,8,3                    ; @hd_temp
l_.str.3:                               ; @.str.3
	.asciz	"slots-power"

	.comm	_slots_power,8,3                ; @slots_power
l_.str.4:                               ; @.str.4
	.asciz	"backside-temp"

	.comm	_u4_temp,8,3                    ; @u4_temp
	.comm	_nr_cores,4,2                   ; @nr_cores
	.comm	_have_all_sensors,4,2           ; @have_all_sensors
	.no_dead_strip	_pm112_new_sensor
.subsections_via_symbols
