	.file	"extr_system.c_highbank_restart.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	highbank_restart
	.type	highbank_restart, @function
highbank_restart:
.LFB0:
	.cfi_startproc
	endbr64
	push	rax
	.cfi_def_cfa_offset 16
	pop	rax
	.cfi_def_cfa_offset 8
	xor	eax, eax
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	cmp	DWORD PTR REBOOT_HARD[rip], edi
	je	.L7
	call	highbank_set_pwr_soft_reset@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	call	cpu_do_idle@PLT
	jmp	.L3
.L7:
	call	highbank_set_pwr_hard_reset@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	highbank_restart, .-highbank_restart
	.comm	REBOOT_HARD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_system.c_highbank_restart.c"
	.text
	.align	2
	.global	highbank_restart
	.syntax unified
	.arm
	.fpu softvfp
	.type	highbank_restart, %function
highbank_restart:
	@ Volatile: function does not return.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, lr}
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L7
	bl	highbank_set_pwr_soft_reset
.L3:
	bl	cpu_do_idle
	b	.L3
.L7:
	bl	highbank_set_pwr_hard_reset
	b	.L3
.L9:
	.align	2
.L8:
	.word	REBOOT_HARD
	.size	highbank_restart, .-highbank_restart
	.comm	REBOOT_HARD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
