	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wf_smu_new_sensor
_wf_smu_new_sensor:                     ## @wf_smu_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_wf_smu_all_sensors_ok@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jne	LBB0_22
## %bb.1:
	movq	%rdi, %rbx
	movq	_sensor_cpu_power@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_5
## %bb.2:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_wf_get_sensor
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, (%r15)
LBB0_5:
	movq	_sensor_cpu_temp@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	jne	LBB0_9
## %bb.6:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_wf_get_sensor
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, (%r12)
LBB0_9:
	movq	_sensor_hd_temp@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	jne	LBB0_13
## %bb.10:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	callq	_wf_get_sensor
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	%rbx, (%r13)
LBB0_13:
	movq	_sensor_slots_power@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_17
## %bb.14:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	movq	%rbx, %rdi
	callq	_wf_get_sensor
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movq	%rbx, (%r15)
LBB0_17:
	movq	_sensor_cpu_power@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_22
## %bb.18:
	cmpq	$0, (%r12)
	je	LBB0_22
## %bb.19:
	cmpq	$0, (%r13)
	je	LBB0_22
## %bb.20:
	cmpq	$0, (%r15)
	je	LBB0_22
## %bb.21:
	movl	$1, (%r14)
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wf_smu_all_sensors_ok,4,2      ## @wf_smu_all_sensors_ok
	.comm	_sensor_cpu_power,8,3           ## @sensor_cpu_power
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpu-power"

	.comm	_sensor_cpu_temp,8,3            ## @sensor_cpu_temp
L_.str.1:                               ## @.str.1
	.asciz	"cpu-temp"

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

	.comm	_sensor_slots_power,8,3         ## @sensor_slots_power
L_.str.3:                               ## @.str.3
	.asciz	"slots-power"

	.no_dead_strip	_wf_smu_new_sensor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wf_smu_new_sensor
_wf_smu_new_sensor:                     ; @wf_smu_new_sensor
	.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
Lloh0:
	adrp	x20, _wf_smu_all_sensors_ok@GOTPAGE
Lloh1:
	ldr	x20, [x20, _wf_smu_all_sensors_ok@GOTPAGEOFF]
	ldr	w8, [x20]
	cbnz	w8, LBB0_19
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x21, _sensor_cpu_power@GOTPAGE
Lloh3:
	ldr	x21, [x21, _sensor_cpu_power@GOTPAGEOFF]
	ldr	x8, [x21]
	cbnz	x8, LBB0_5
; %bb.2:
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_wf_get_sensor
	cbnz	x0, LBB0_5
; %bb.4:
	str	x19, [x21]
LBB0_5:
Lloh6:
	adrp	x22, _sensor_cpu_temp@GOTPAGE
Lloh7:
	ldr	x22, [x22, _sensor_cpu_temp@GOTPAGEOFF]
	ldr	x8, [x22]
	cbnz	x8, LBB0_9
; %bb.6:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_wf_get_sensor
	cbnz	x0, LBB0_9
; %bb.8:
	str	x19, [x22]
LBB0_9:
Lloh10:
	adrp	x23, _sensor_hd_temp@GOTPAGE
Lloh11:
	ldr	x23, [x23, _sensor_hd_temp@GOTPAGEOFF]
	ldr	x8, [x23]
	cbnz	x8, LBB0_13
; %bb.10:
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_13
; %bb.11:
	mov	x0, x19
	bl	_wf_get_sensor
	cbnz	x0, LBB0_13
; %bb.12:
	str	x19, [x23]
LBB0_13:
Lloh14:
	adrp	x24, _sensor_slots_power@GOTPAGE
Lloh15:
	ldr	x24, [x24, _sensor_slots_power@GOTPAGEOFF]
	ldr	x8, [x24]
	cbnz	x8, LBB0_17
; %bb.14:
	ldr	w0, [x19]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_17
; %bb.15:
	mov	x0, x19
	bl	_wf_get_sensor
	cbnz	x0, LBB0_17
; %bb.16:
	str	x19, [x24]
LBB0_17:
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x10, [x23]
	ldr	x11, [x24]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	ccmp	x10, #0, #4, ne
	ccmp	x11, #0, #4, ne
	b.eq	LBB0_19
; %bb.18:
	mov	w8, #1
	str	w8, [x20]
LBB0_19:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_wf_smu_all_sensors_ok,4,2      ; @wf_smu_all_sensors_ok
	.comm	_sensor_cpu_power,8,3           ; @sensor_cpu_power
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpu-power"

	.comm	_sensor_cpu_temp,8,3            ; @sensor_cpu_temp
l_.str.1:                               ; @.str.1
	.asciz	"cpu-temp"

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

	.comm	_sensor_slots_power,8,3         ; @sensor_slots_power
l_.str.3:                               ; @.str.3
	.asciz	"slots-power"

	.no_dead_strip	_wf_smu_new_sensor
.subsections_via_symbols
