	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmu_led_set
_pmu_led_set:                           ## @pmu_led_set
	.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
	movl	%esi, %ebx
	movq	_pmu_blink_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	cmpl	$128, %ebx
	je	LBB0_1
## %bb.2:
	cmpl	$129, %ebx
	jne	LBB0_7
## %bb.3:
	movl	$1, %eax
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_4:
	movq	_requested_change@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_pmu_blink_req@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_7
## %bb.5:
	movq	_pmu_sys_suspended@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_7
## %bb.6:
	movl	%eax, (%rsp)
	movq	_pmu_blink_req@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	movl	$238, %ecx
	movl	$4, %r8d
	xorl	%r9d, %r9d
	callq	_pmu_request
LBB0_7:
	movq	_pmu_blink_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pmu_blink_lock,4,2             ## @pmu_blink_lock
	.comm	_requested_change,4,2           ## @requested_change
	.comm	_pmu_blink_req,8,3              ## @pmu_blink_req
	.comm	_pmu_sys_suspended,4,2          ## @pmu_sys_suspended
	.no_dead_strip	_pmu_led_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmu_led_set
_pmu_led_set:                           ; @pmu_led_set
	.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, x1
Lloh0:
	adrp	x0, _pmu_blink_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _pmu_blink_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
	cmp	w19, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w19, #129
	b.ne	LBB0_6
; %bb.2:
	mov	w6, #1
	b	LBB0_4
LBB0_3:
	mov	w6, #0
LBB0_4:
Lloh2:
	adrp	x8, _requested_change@GOTPAGE
Lloh3:
	ldr	x8, [x8, _requested_change@GOTPAGEOFF]
Lloh4:
	str	w6, [x8]
Lloh5:
	adrp	x8, _pmu_blink_req@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pmu_blink_req@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _pmu_sys_suspended@GOTPAGE
Lloh9:
	ldr	x9, [x9, _pmu_sys_suspended@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.ne	LBB0_6
; %bb.5:
Lloh11:
	adrp	x0, _pmu_blink_req@GOTPAGE
Lloh12:
	ldr	x0, [x0, _pmu_blink_req@GOTPAGEOFF]
	mov	x1, #0
	mov	w2, #4
	mov	w3, #238
	mov	w4, #4
	mov	w5, #0
	bl	_pmu_request
LBB0_6:
Lloh13:
	adrp	x0, _pmu_blink_lock@GOTPAGE
Lloh14:
	ldr	x0, [x0, _pmu_blink_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_pmu_blink_lock,4,2             ; @pmu_blink_lock
	.comm	_requested_change,4,2           ; @requested_change
	.comm	_pmu_blink_req,8,3              ; @pmu_blink_req
	.comm	_pmu_sys_suspended,4,2          ; @pmu_sys_suspended
	.no_dead_strip	_pmu_led_set
.subsections_via_symbols
