	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hisi_restart_handler
_hisi_restart_handler:                  ## @hisi_restart_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_base@GOTPCREL(%rip), %rax
	movq	_reboot_offset@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movl	$-559038737, %edi               ## imm = 0xDEADBEEF
	callq	_writel_relaxed
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_cpu_do_idle
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_base,8,3                       ## @base
	.comm	_reboot_offset,8,3              ## @reboot_offset
	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.no_dead_strip	_hisi_restart_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hisi_restart_handler
_hisi_restart_handler:                  ; @hisi_restart_handler
	.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, _base@GOTPAGE
Lloh1:
	ldr	x8, [x8, _base@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _reboot_offset@GOTPAGE
Lloh4:
	ldr	x9, [x9, _reboot_offset@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #48879
	movk	w0, #57005, lsl #16
	bl	_writel_relaxed
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_cpu_do_idle
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_base,8,3                       ; @base
	.comm	_reboot_offset,8,3              ; @reboot_offset
	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.no_dead_strip	_hisi_restart_handler
.subsections_via_symbols
