	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function power_down
_power_down:                            ## @power_down
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_wdt_timeout@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	callq	_wdt_intr_enable
	xorl	%edi, %edi
	callq	_led_set
	xorl	%eax, %eax
	callq	_suspend_power_down_kb
	movq	_SLEEP_MODE_PWR_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_sleep_mode
	xorl	%eax, %eax
	callq	_sleep_enable
	xorl	%eax, %eax
	callq	_sei
	xorl	%eax, %eax
	callq	_sleep_cpu
	xorl	%eax, %eax
	callq	_sleep_disable
	xorl	%eax, %eax
	popq	%rbp
	jmp	_wdt_disable                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wdt_timeout,4,2                ## @wdt_timeout
	.comm	_SLEEP_MODE_PWR_DOWN,4,2        ## @SLEEP_MODE_PWR_DOWN
	.comm	_DEVICE_STATE_Configured,8,3    ## @DEVICE_STATE_Configured
	.comm	_USB_DeviceState,8,3            ## @USB_DeviceState
	.comm	_USB_LED_CAPS_LOCK,4,2          ## @USB_LED_CAPS_LOCK
	.comm	_is_suspended,4,2               ## @is_suspended
	.comm	_rgblight_config,4,2            ## @rgblight_config
	.comm	_rgblight_enabled,4,2           ## @rgblight_enabled
	.no_dead_strip	_power_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function power_down
_power_down:                            ; @power_down
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _wdt_timeout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wdt_timeout@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
	bl	_wdt_intr_enable
	mov	w0, #0
	bl	_led_set
	bl	_suspend_power_down_kb
Lloh3:
	adrp	x8, _SLEEP_MODE_PWR_DOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SLEEP_MODE_PWR_DOWN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_set_sleep_mode
	bl	_sleep_enable
	bl	_sei
	bl	_sleep_cpu
	bl	_sleep_disable
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_wdt_disable
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_wdt_timeout,4,2                ; @wdt_timeout
	.comm	_SLEEP_MODE_PWR_DOWN,4,2        ; @SLEEP_MODE_PWR_DOWN
	.comm	_DEVICE_STATE_Configured,8,3    ; @DEVICE_STATE_Configured
	.comm	_USB_DeviceState,8,3            ; @USB_DeviceState
	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
	.comm	_is_suspended,4,2               ; @is_suspended
	.comm	_rgblight_config,4,2            ; @rgblight_config
	.comm	_rgblight_enabled,4,2           ; @rgblight_enabled
	.no_dead_strip	_power_down
.subsections_via_symbols
