	.file	"extr_builtin-top.c_display_thread.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	display_thread, @function
display_thread:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	xor	edi, edi
	sub	rsp, 64
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	r13, 32[rsp]
	mov	eax, DWORD PTR POLLIN[rip]
	mov	DWORD PTR 12[rsp], 0
	mov	rsi, r13
	lea	r14, 16[rsp]
	lea	r12, 8[rsp]
	mov	DWORD PTR 8[rsp], eax
	call	tcgetattr@PLT
	movdqa	xmm0, XMMWORD PTR 32[rsp]
	mov	eax, DWORD PTR ICANON[rip]
	or	eax, DWORD PTR ECHO[rip]
	mov	rdx, QWORD PTR VMIN[rip]
	movaps	XMMWORD PTR 16[rsp], xmm0
	not	eax
	and	DWORD PTR 16[rsp], eax
	mov	rax, QWORD PTR 24[rsp]
	mov	QWORD PTR [rax+rdx*8], 0
	mov	rdx, QWORD PTR VTIME[rip]
	mov	QWORD PTR [rax+rdx*8], 0
	xor	eax, eax
	call	pthread__unblock_sigwinch@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	test	eax, eax
	je	.L8
.L5:
	mov	edi, DWORD PTR stdin[rip]
	call	getc@PLT
	mov	esi, DWORD PTR TCSAFLUSH[rip]
	xor	edi, edi
	mov	rdx, r13
	mov	ebp, eax
	call	tcsetattr@PLT
	mov	esi, ebp
	mov	rdi, rbx
	call	perf_top__handle_keypress@PLT
.L2:
	mov	esi, DWORD PTR TCSANOW[rip]
	xor	edi, edi
	mov	rdx, r14
	imul	ebp, DWORD PTR [rbx], 1000
	call	tcsetattr@PLT
	mov	edi, DWORD PTR stdin[rip]
	call	getc@PLT
.L8:
	mov	rdi, rbx
	call	perf_top__print_sym_table@PLT
	mov	edx, ebp
	mov	esi, 1
	mov	rdi, r12
	call	poll@PLT
	cmp	eax, -1
	jne	.L12
	mov	eax, DWORD PTR EINTR[rip]
	cmp	DWORD PTR errno[rip], eax
	jne	.L5
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	display_thread, .-display_thread
	.comm	stdin,4,4
	.comm	errno,4,4
	.comm	VTIME,8,8
	.comm	VMIN,8,8
	.comm	TCSANOW,4,4
	.comm	TCSAFLUSH,4,4
	.comm	POLLIN,4,4
	.comm	ICANON,4,4
	.comm	EINTR,4,4
	.comm	ECHO,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_builtin-top.c_display_thread.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_thread, %function
display_thread:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #0
	ldr	r3, .L13
	sub	sp, sp, #36
	ldr	r3, [r3]
	ldr	r2, .L13+4
	add	r7, sp, #20
	mov	r1, r7
	mov	r5, r0
	add	r8, sp, #12
	mov	r0, r4
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	stmib	sp, {r3, r4}
	bl	tcgetattr
	ldm	r7, {r0, r1}
	ldr	r3, .L13+8
	stm	r8, {r0, r1}
	ldr	r2, .L13+12
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r0, .L13+16
	ldr	r3, [sp, #12]
	ldr	r0, [r0]
	orr	r2, r2, r1
	ldr	r1, [sp, #16]
	bic	r3, r3, r2
	ldr	r2, .L13+20
	str	r3, [sp, #12]
	str	r4, [r1, r0, lsl #2]
	ldr	r3, [r2]
	ldr	r9, .L13+24
	str	r4, [r1, r3, lsl #2]
	bl	pthread__unblock_sigwinch
	ldr	r6, .L13+28
	ldr	fp, .L13+32
	ldr	r10, .L13+36
	b	.L2
.L12:
	cmp	r0, #0
	beq	.L8
.L5:
	ldr	r0, [r6]
	bl	getc
	mov	r4, r0
	ldr	r3, .L13+40
	mov	r2, r7
	ldr	r1, [r3]
	mov	r0, #0
	bl	tcsetattr
	mov	r1, r4
	mov	r0, r5
	bl	perf_top__handle_keypress
.L2:
	ldr	r4, [r5]
	mov	r2, r8
	rsb	r3, r4, r4, lsl #5
	mov	r0, #0
	ldr	r1, [r9]
	add	r4, r4, r3, lsl #2
	bl	tcsetattr
	ldr	r0, [r6]
	lsl	r4, r4, #3
	bl	getc
.L8:
	mov	r0, r5
	bl	perf_top__print_sym_table
	mov	r2, r4
	mov	r1, #1
	add	r0, sp, #4
	bl	poll
	cmn	r0, #1
	bne	.L12
	ldr	r2, [fp]
	ldr	r3, [r10]
	cmp	r2, r3
	bne	.L5
	b	.L8
.L14:
	.align	2
.L13:
	.word	POLLIN
	.word	.LC0
	.word	ECHO
	.word	ICANON
	.word	VMIN
	.word	VTIME
	.word	TCSANOW
	.word	stdin
	.word	errno
	.word	EINTR
	.word	TCSAFLUSH
	.size	display_thread, .-display_thread
	.comm	stdin,4,4
	.comm	errno,4,4
	.comm	VTIME,4,4
	.comm	VMIN,4,4
	.comm	TCSANOW,4,4
	.comm	TCSAFLUSH,4,4
	.comm	POLLIN,4,4
	.comm	ICANON,4,4
	.comm	EINTR,4,4
	.comm	ECHO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
