	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wf_smu_notify
_wf_smu_notify:                         ## @wf_smu_notify
	.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
	cmpq	$128, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rdx, %rbx
	cmpq	$129, %rsi
	je	LBB0_4
## %bb.2:
	cmpq	$130, %rsi
	jne	LBB0_8
## %bb.3:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DBG
	movq	%rbx, %rdi
	callq	_wf_smu_new_control
	movq	_wf_smu_readjust@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_8
LBB0_5:
	movq	_wf_smu_all_controls_ok@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.6:
	movq	_wf_smu_all_sensors_ok@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_wf_smu_tick
	jmp	LBB0_8
LBB0_4:
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_DBG
	movq	%rbx, %rdi
	callq	_wf_smu_new_sensor
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wf: new control %s detected\n"

	.comm	_wf_smu_readjust,4,2            ## @wf_smu_readjust
L_.str.1:                               ## @.str.1
	.asciz	"wf: new sensor %s detected\n"

	.comm	_wf_smu_all_controls_ok,4,2     ## @wf_smu_all_controls_ok
	.comm	_wf_smu_all_sensors_ok,4,2      ## @wf_smu_all_sensors_ok
	.no_dead_strip	_wf_smu_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wf_smu_notify
_wf_smu_notify:                         ; @wf_smu_notify
	.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
	cmp	x1, #128
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x2
	cmp	x1, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	x1, #130
	b.ne	LBB0_7
; %bb.3:
	ldr	w1, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
	mov	x0, x19
	bl	_wf_smu_new_control
Lloh2:
	adrp	x8, _wf_smu_readjust@GOTPAGE
Lloh3:
	ldr	x8, [x8, _wf_smu_readjust@GOTPAGEOFF]
	mov	w9, #1
Lloh4:
	str	w9, [x8]
	b	LBB0_7
LBB0_4:
	ldr	w1, [x19]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DBG
	mov	x0, x19
	bl	_wf_smu_new_sensor
	b	LBB0_7
LBB0_5:
Lloh7:
	adrp	x8, _wf_smu_all_controls_ok@GOTPAGE
Lloh8:
	ldr	x8, [x8, _wf_smu_all_controls_ok@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _wf_smu_all_sensors_ok@GOTPAGE
Lloh11:
	ldr	x9, [x9, _wf_smu_all_sensors_ok@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_7
; %bb.6:
	bl	_wf_smu_tick
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wf: new control %s detected\n"

	.comm	_wf_smu_readjust,4,2            ; @wf_smu_readjust
l_.str.1:                               ; @.str.1
	.asciz	"wf: new sensor %s detected\n"

	.comm	_wf_smu_all_controls_ok,4,2     ; @wf_smu_all_controls_ok
	.comm	_wf_smu_all_sensors_ok,4,2      ; @wf_smu_all_sensors_ok
	.no_dead_strip	_wf_smu_notify
.subsections_via_symbols
