	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function led_halt
_led_halt:                              ## @led_halt
	.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	_notifier_disabled@GOTPCREL(%rip), %rax
	movq	_NOTIFY_OK@GOTPCREL(%rip), %r14
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.1:
	movq	%rsi, %rbx
	movl	$1, (%rax)
	addq	$-128, %rbx
	cmpq	$2, %rbx
	ja	LBB0_2
## %bb.3:
	movq	_led_wq@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.4:
	movq	_led_task@GOTPCREL(%rip), %rdi
	callq	_cancel_delayed_work_sync
	movq	(%r15), %rdi
	callq	_destroy_workqueue
	movq	$0, (%r15)
LBB0_5:
	movq	_lcd_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_DISPLAY_MODEL_LCD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	leaq	l_reltable.led_halt(%rip), %rax
	movslq	(%rax,%rbx,4), %rdi
	addq	%rax, %rdi
	callq	_lcd_print
	jmp	LBB0_8
LBB0_2:
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %r14
	jmp	LBB0_8
LBB0_7:
	movl	$255, %edi
	callq	_led_func_ptr
LBB0_8:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_notifier_disabled,4,2          ## @notifier_disabled
	.comm	_NOTIFY_OK,4,2                  ## @NOTIFY_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SYSTEM RESTART"

L_.str.1:                               ## @.str.1
	.asciz	"SYSTEM HALT"

L_.str.2:                               ## @.str.2
	.asciz	"SYSTEM POWER OFF"

	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.comm	_led_wq,8,3                     ## @led_wq
	.comm	_led_task,4,2                   ## @led_task
	.comm	_lcd_info,8,3                   ## @lcd_info
	.comm	_DISPLAY_MODEL_LCD,8,3          ## @DISPLAY_MODEL_LCD
	.no_dead_strip	_led_halt
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.led_halt
l_reltable.led_halt:
	.long	L_.str-l_reltable.led_halt
	.long	L_.str.2-l_reltable.led_halt
	.long	L_.str.1-l_reltable.led_halt

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function led_halt
_led_halt:                              ; @led_halt
	.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
Lloh0:
	adrp	x8, _notifier_disabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _notifier_disabled@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_3
LBB0_1:
Lloh2:
	adrp	x8, _NOTIFY_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NOTIFY_OK@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w9, #1
	str	w9, [x8]
	sub	x19, x1, #128
	cmp	x19, #2
	b.hi	LBB0_8
; %bb.4:
Lloh4:
	adrp	x20, _led_wq@GOTPAGE
Lloh5:
	ldr	x20, [x20, _led_wq@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.5:
Lloh6:
	adrp	x0, _led_task@GOTPAGE
Lloh7:
	ldr	x0, [x0, _led_task@GOTPAGEOFF]
	bl	_cancel_delayed_work_sync
	ldr	x0, [x20]
	bl	_destroy_workqueue
	str	xzr, [x20]
LBB0_6:
Lloh8:
	adrp	x8, _lcd_info@GOTPAGE
Lloh9:
	ldr	x8, [x8, _lcd_info@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _DISPLAY_MODEL_LCD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DISPLAY_MODEL_LCD@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
Lloh14:
	adrp	x8, l_switch.table.led_halt@PAGE
Lloh15:
	add	x8, x8, l_switch.table.led_halt@PAGEOFF
	ldr	x0, [x8, x19, lsl #3]
	bl	_lcd_print
	b	LBB0_1
LBB0_8:
Lloh16:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
	b	LBB0_2
LBB0_9:
	mov	w0, #255
	bl	_led_func_ptr
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_notifier_disabled,4,2          ; @notifier_disabled
	.comm	_NOTIFY_OK,4,2                  ; @NOTIFY_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SYSTEM RESTART"

l_.str.1:                               ; @.str.1
	.asciz	"SYSTEM HALT"

l_.str.2:                               ; @.str.2
	.asciz	"SYSTEM POWER OFF"

	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.comm	_led_wq,8,3                     ; @led_wq
	.comm	_led_task,4,2                   ; @led_task
	.comm	_lcd_info,8,3                   ; @lcd_info
	.comm	_DISPLAY_MODEL_LCD,8,3          ; @DISPLAY_MODEL_LCD
	.no_dead_strip	_led_halt
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.led_halt
l_switch.table.led_halt:
	.quad	l_.str
	.quad	l_.str.2
	.quad	l_.str.1

.subsections_via_symbols
