	.file	"extr_panels.c_demo_end.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"scr.utf8"
	.text
	.p2align 4
	.type	demo_end, @function
demo_end:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	r_config_get_i@PLT
	mov	edi, DWORD PTR [rbx]
	xor	edx, edx
	lea	rsi, .LC0[rip]
	mov	r12d, eax
	call	r_config_set_i@PLT
	mov	edi, DWORD PTR 4[rbx]
	call	__get_cur_panel@PLT
	mov	rdi, rbx
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR [rax], 1
	mov	DWORD PTR firstRun[rip], 0
	call	__panels_refresh@PLT
	mov	edi, DWORD PTR [rbx]
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	mov	DWORD PTR firstRun[rip], 1
	call	r_config_set_i@PLT
	mov	rdi, rbp
	call	r_cons_canvas_to_string@PLT
	test	rax, rax
	je	.L1
	mov	ecx, -1
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rax
	mov	r13, rax
	call	r_str_ansi_filter@PLT
	lea	rdi, 4[rsp]
	call	r_cons_get_size@PLT
	mov	ebx, DWORD PTR 4[rsp]
	mov	ebp, eax
	test	ebx, ebx
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, ebx
	mov	esi, ebp
	mov	rdi, r13
	call	r_str_scale@PLT
	mov	r12, rax
	xor	eax, eax
	call	r_cons_clear00@PLT
	mov	eax, DWORD PTR 4[rsp]
	xor	edi, edi
	mov	esi, eax
	shr	esi, 31
	add	esi, eax
	mov	eax, ebx
	shr	eax, 31
	sar	esi
	add	eax, ebx
	sar	eax
	sub	esi, eax
	call	r_cons_gotoxy@PLT
	mov	rdi, r12
	call	r_cons_strcat@PLT
	xor	eax, eax
	call	r_cons_flush@PLT
	mov	rdi, r12
	call	free@PLT
	mov	edi, 3000
	call	r_sys_usleep@PLT
	sub	ebx, 1
	jne	.L4
.L3:
	mov	edi, 100000
	call	r_sys_usleep@PLT
	mov	rdi, r13
	call	free@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	demo_end, .-demo_end
	.comm	firstRun,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_panels.c_demo_end.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"scr.utf8\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	demo_end, %function
demo_end:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L13
	sub	sp, sp, #12
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [r0]
	ldr	r1, .L13+4
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	r_config_get_i
	mov	r2, #0
	ldr	r1, .L13+4
	mov	r6, r0
	ldr	r0, [r4]
	bl	r_config_set_i
	ldr	r0, [r4, #4]
	bl	__get_cur_panel
	mov	r8, #1
	mov	r9, #0
	ldr	r3, [r0]
	ldr	r7, .L13+8
	str	r8, [r3]
	mov	r0, r4
	str	r9, [r7]
	bl	__panels_refresh
	mov	r2, r6
	ldr	r0, [r4]
	ldr	r1, .L13+4
	str	r8, [r7]
	bl	r_config_set_i
	mov	r0, r5
	bl	r_cons_canvas_to_string
	subs	r6, r0, #0
	beq	.L1
	mvn	r3, #0
	mov	r2, r9
	mov	r1, r9
	bl	r_str_ansi_filter
	mov	r0, sp
	bl	r_cons_get_size
	ldr	r4, [sp]
	mov	r7, r0
	cmp	r4, r9
	ble	.L3
	ldr	r8, .L13+12
.L4:
	mov	r2, r4
	mov	r1, r7
	mov	r0, r6
	bl	r_str_scale
	mov	r5, r0
	bl	r_cons_clear00
	ldr	r1, [sp]
	add	r3, r4, r4, lsr #31
	asr	r3, r3, #1
	add	r1, r1, r1, lsr #31
	rsb	r1, r3, r1, asr #1
	mov	r0, #0
	bl	r_cons_gotoxy
	mov	r0, r5
	bl	r_cons_strcat
	bl	r_cons_flush
	mov	r0, r5
	bl	free
	mov	r0, r8
	bl	r_sys_usleep
	subs	r4, r4, #1
	bne	.L4
.L3:
	ldr	r0, .L13+16
	bl	r_sys_usleep
	mov	r0, r6
	bl	free
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	.LC0
	.word	firstRun
	.word	3000
	.word	100000
	.size	demo_end, .-demo_end
	.comm	firstRun,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
