	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function display_thread
_display_thread:                        ## @display_thread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	$0, -44(%rbp)
	leaq	-80(%rbp), %rsi
	xorl	%edi, %edi
	callq	_tcgetattr
	movups	-80(%rbp), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_ICANON@GOTPCREL(%rip), %rax
	movq	_ECHO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, -64(%rbp)
	movq	-56(%rbp), %rax
	movq	_VMIN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	_VTIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax,%rcx,8)
	xorl	%eax, %eax
	callq	_pthread__unblock_sigwinch
	leaq	-48(%rbp), %r12
	movq	_errno@GOTPCREL(%rip), %r15
	movq	_EINTR@GOTPCREL(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_getc
	movl	%eax, %ebx
	movq	_TCSAFLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	leaq	-80(%rbp), %rdx
	callq	_tcsetattr
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_perf_top__handle_keypress
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	imull	$1000, (%r13), %ebx             ## imm = 0x3E8
	movq	_TCSANOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	leaq	-64(%rbp), %rdx
	callq	_tcsetattr
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_getc
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	callq	_perf_top__print_sym_table
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_poll
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r15), %eax
	cmpl	(%r14), %eax
	je	LBB0_2
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_ICANON,4,2                     ## @ICANON
	.comm	_ECHO,4,2                       ## @ECHO
	.comm	_VMIN,8,3                       ## @VMIN
	.comm	_VTIME,8,3                      ## @VTIME
	.comm	_TCSANOW,4,2                    ## @TCSANOW
	.comm	_stdin,4,2                      ## @stdin
	.comm	_errno,4,2                      ## @errno
	.comm	_EINTR,4,2                      ## @EINTR
	.comm	_TCSAFLUSH,4,2                  ## @TCSAFLUSH
	.no_dead_strip	_display_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function display_thread
_display_thread:                        ; @display_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _POLLIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POLLIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #40]
	mov	x1, sp
	mov	w0, #0
	bl	_tcgetattr
	ldr	q0, [sp]
	str	q0, [sp, #16]
Lloh3:
	adrp	x8, _ICANON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICANON@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ECHO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ECHO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #16]
	bic	w8, w9, w8
	str	w8, [sp, #16]
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, _VMIN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VMIN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	str	xzr, [x8, x9, lsl #3]
Lloh12:
	adrp	x9, _VTIME@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VTIME@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	str	xzr, [x8, x9, lsl #3]
	bl	_pthread__unblock_sigwinch
	mov	w21, #1000
Lloh15:
	adrp	x22, _TCSANOW@GOTPAGE
Lloh16:
	ldr	x22, [x22, _TCSANOW@GOTPAGEOFF]
Lloh17:
	adrp	x23, _stdin@GOTPAGE
Lloh18:
	ldr	x23, [x23, _stdin@GOTPAGEOFF]
Lloh19:
	adrp	x24, _errno@GOTPAGE
Lloh20:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
Lloh21:
	adrp	x25, _EINTR@GOTPAGE
Lloh22:
	ldr	x25, [x25, _EINTR@GOTPAGEOFF]
Lloh23:
	adrp	x26, _TCSAFLUSH@GOTPAGE
Lloh24:
	ldr	x26, [x26, _TCSAFLUSH@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x23]
	bl	_getc
	mov	x20, x0
	ldr	w1, [x26]
	mov	x2, sp
	mov	w0, #0
	bl	_tcsetattr
	mov	x0, x19
	mov	x1, x20
	bl	_perf_top__handle_keypress
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	ldr	w8, [x19]
	mul	w20, w8, w21
	ldr	w1, [x22]
	add	x2, sp, #16
	mov	w0, #0
	bl	_tcsetattr
	ldr	w0, [x23]
	bl	_getc
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_perf_top__print_sym_table
	add	x0, sp, #40
	mov	w1, #1
	mov	x2, x20
	bl	_poll
	cbz	w0, LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	cmn	w0, #1
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w8, [x24]
	ldr	w9, [x25]
	cmp	w8, w9
	b.eq	LBB0_3
	b	LBB0_1
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_ICANON,4,2                     ; @ICANON
	.comm	_ECHO,4,2                       ; @ECHO
	.comm	_VMIN,8,3                       ; @VMIN
	.comm	_VTIME,8,3                      ; @VTIME
	.comm	_TCSANOW,4,2                    ; @TCSANOW
	.comm	_stdin,4,2                      ; @stdin
	.comm	_errno,4,2                      ; @errno
	.comm	_EINTR,4,2                      ; @EINTR
	.comm	_TCSAFLUSH,4,2                  ; @TCSAFLUSH
	.no_dead_strip	_display_thread
.subsections_via_symbols
