	.file	"extr_kern_shutdown.c_shutdown_panic.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"--> Press a key on the console to reboot,"
	.align 8
.LC1:
	.string	"--> or switch off the system now."
	.align 8
.LC2:
	.string	"Automatic reboot in %d seconds - press a key on the console to abort\n"
	.text
	.p2align 4
	.type	shutdown_panic, @function
shutdown_panic:
.LFB0:
	.cfi_startproc
	endbr64
	test	DWORD PTR RB_DUMP[rip], esi
	je	.L17
	mov	esi, DWORD PTR panic_reboot_wait_time[rip]
	test	esi, esi
	je	.L17
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	cmp	esi, -1
	je	.L7
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	printf@PLT
	mov	eax, DWORD PTR panic_reboot_wait_time[rip]
	lea	ebx, [rax+rax*4]
	add	ebx, ebx
	test	ebx, ebx
	jg	.L8
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L21:
	sub	ebx, 1
	je	.L1
.L8:
	mov	edi, 100000
	call	DELAY@PLT
	xor	eax, eax
	call	cncheckc@PLT
	cmp	eax, -1
	je	.L21
.L7:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	xor	eax, eax
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 8
	jmp	cngetc@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	ret
.L6:
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	jne	.L7
.L1:
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	shutdown_panic, .-shutdown_panic
	.comm	panic_reboot_wait_time,4,4
	.comm	RB_DUMP,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_kern_shutdown.c_shutdown_panic.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"--> Press a key on the console to reboot,\000"
	.align	2
.LC1:
	.ascii	"--> or switch off the system now.\000"
	.align	2
.LC2:
	.ascii	"Automatic reboot in %d seconds - press a key on the"
	.ascii	" console to abort\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shutdown_panic, %function
shutdown_panic:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L20
	ldr	r3, [r3]
	tst	r1, r3
	bxeq	lr
	push	{r4, r5, r6, lr}
	ldr	r4, .L20+4
	ldr	r1, [r4]
	cmp	r1, #0
	popeq	{r4, r5, r6, pc}
	cmn	r1, #1
	beq	.L7
	ldr	r0, .L20+8
	bl	printf
	ldr	r4, [r4]
	add	r4, r4, r4, lsl #2
	lsl	r4, r4, #1
	cmp	r4, #0
	ble	.L6
	ldr	r5, .L20+12
	b	.L8
.L19:
	subs	r4, r4, #1
	popeq	{r4, r5, r6, pc}
.L8:
	mov	r0, r5
	bl	DELAY
	bl	cncheckc
	cmn	r0, #1
	beq	.L19
.L7:
	ldr	r0, .L20+16
	bl	puts
	ldr	r0, .L20+20
	bl	puts
	pop	{r4, r5, r6, lr}
	b	cngetc
.L6:
	bne	.L7
	pop	{r4, r5, r6, pc}
.L21:
	.align	2
.L20:
	.word	RB_DUMP
	.word	panic_reboot_wait_time
	.word	.LC2
	.word	100000
	.word	.LC0
	.word	.LC1
	.size	shutdown_panic, .-shutdown_panic
	.comm	panic_reboot_wait_time,4,4
	.comm	RB_DUMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
