	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shutdown_led_override          ## -- Begin function shutdown_led_override
	.p2align	4, 0x90
_shutdown_led_override:                 ## @shutdown_led_override
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	xorl	%eax, %eax
	callq	_smp_rmb
	movq	%rbx, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	4(%rbx), %rdi
	callq	_del_timer_sync
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	xorl	%eax, %eax
	callq	_smp_wmb
LBB0_2:
	movq	_DCC_CFG_LED_CNTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_write_csr                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DCC_CFG_LED_CNTRL,4,2          ## @DCC_CFG_LED_CNTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shutdown_led_override          ; -- Begin function shutdown_led_override
	.p2align	2
_shutdown_led_override:                 ; @shutdown_led_override
	.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	x20, x0
	ldr	x19, [x0, #8]
	bl	_smp_rmb
	mov	x0, x20
	bl	_atomic_read
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x20, #4
	bl	_del_timer_sync
	mov	x0, x20
	mov	w1, #0
	bl	_atomic_set
	bl	_smp_wmb
LBB0_2:
Lloh0:
	adrp	x8, _DCC_CFG_LED_CNTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCC_CFG_LED_CNTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_csr
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DCC_CFG_LED_CNTRL,4,2          ; @DCC_CFG_LED_CNTRL
.subsections_via_symbols
