	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hist_browser__show_entry
_hist_browser__show_entry:              ## @hist_browser__show_entry
	.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	$360, %rsp                      ## imm = 0x168
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	addq	$8, %rdi
	movl	8(%r12), %r13d
	movq	%rdi, -336(%rbp)                ## 8-byte Spill
	movl	%edx, %esi
	callq	_ui_browser__is_current_entry
	movl	%eax, -316(%rbp)
	movq	(%rbx), %r14
	movq	%r14, -360(%rbp)
	movl	%eax, -312(%rbp)                ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, (%r12)
	leaq	12(%rbx), %rax
	movq	%rax, 24(%r12)
LBB0_2:
	movq	%rbx, -328(%rbp)                ## 8-byte Spill
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	-328(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_hist_entry__init_have_children
	movq	%rbx, %rdi
	callq	_hist_entry__folded
	movsbl	%al, %eax
	movl	%eax, -308(%rbp)                ## 4-byte Spill
	testq	%r14, %r14
	je	LBB0_6
LBB0_22:
	decq	%r14
	movq	%r14, -360(%rbp)
	xorl	%ebx, %ebx
	cmpl	$45, -308(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_24
	jmp	LBB0_27
LBB0_3:
	movl	$32, -308(%rbp)                 ## 4-byte Folded Spill
	testq	%r14, %r14
	jne	LBB0_22
LBB0_6:
	movq	%r12, -352(%rbp)                ## 8-byte Spill
	leaq	-304(%rbp), %rax
	movq	%rax, -384(%rbp)
	movl	$256, -376(%rbp)                ## imm = 0x100
	movq	$0, -368(%rbp)
	movl	%r15d, -340(%rbp)               ## 4-byte Spill
	movzwl	%r15w, %esi
	movq	-336(%rbp), %rdi                ## 8-byte Reload
	xorl	%edx, %edx
	callq	_ui_browser__gotorc
	movq	_PERF_HPP__MAX_INDEX@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_7
## %bb.8:
	movl	$1, %r12d
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	-328(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_HE_COLORSET_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-336(%rbp), %rdi                ## 8-byte Reload
	callq	_ui_browser__set_color
	xorl	%r12d, %r12d
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	movq	_PERF_HPP__MAX_INDEX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$24, %r14
	cmpq	%rax, %r15
	jge	LBB0_21
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	_perf_hpp__format@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 16(%rax,%r14)
	je	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_slsmg_printf
	addl	$-2, %r13d
	movq	_perf_hpp__format@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rax,%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	-392(%rbp), %rax
	movq	%rax, -368(%rbp)
	leaq	-384(%rbp), %rdi
	movq	%rbx, %rsi
	callq	*%rcx
	subl	%eax, %r13d
	movsd	-392(%rbp), %xmm0               ## xmm0 = mem[0],zero
	movq	-336(%rbp), %rdi                ## 8-byte Reload
	movl	-312(%rbp), %esi                ## 4-byte Reload
	callq	_ui_browser__set_percent_color
	movq	_PERF_HPP__OVERHEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %r15
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movl	-308(%rbp), %esi                ## 4-byte Reload
	xorl	%eax, %eax
	callq	_slsmg_printf
	addl	$-2, %r13d
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.2(%rip), %rdi
	leaq	-304(%rbp), %rsi
	xorl	%eax, %eax
	callq	_slsmg_printf
	cmpl	$0, -312(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r12d, %r12d
	movq	-352(%rbp), %rax                ## 8-byte Reload
	cmpl	$0, 16(%rax)
	jne	LBB0_20
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	-384(%rbp), %rdi
	movq	%rbx, %rsi
	callq	*(%rax,%r14)
	subl	%eax, %r13d
	xorl	%r12d, %r12d
	leaq	L_.str.2(%rip), %rdi
	leaq	-304(%rbp), %rsi
	xorl	%eax, %eax
	callq	_slsmg_printf
	jmp	LBB0_20
LBB0_7:
	movq	-328(%rbp), %rbx                ## 8-byte Reload
LBB0_21:
	movq	-352(%rbp), %r12                ## 8-byte Reload
	movl	20(%r12), %ecx
	cmpl	$1, 16(%r12)
	adcl	$0, %r13d
	leaq	-304(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$256, %edx                      ## imm = 0x100
	callq	_hist_entry__sort_snprintf
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_slsmg_write_nstring
	movl	-340(%rbp), %r15d               ## 4-byte Reload
	incl	%r15d
	movl	$1, %ebx
	cmpl	$45, -308(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_27
LBB0_24:
	cmpw	12(%r12), %r15w
	je	LBB0_27
## %bb.25:
	movq	-328(%rbp), %r14                ## 8-byte Reload
	leaq	8(%r14), %rsi
	movzwl	%r15w, %ecx
	leaq	-360(%rbp), %r8
	leaq	-316(%rbp), %r9
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_hist_browser__show_callchain
	addl	%eax, %ebx
	cmpl	$0, -316(%rbp)
	je	LBB0_27
## %bb.26:
	movq	%r14, (%r12)
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	movl	%ebx, %eax
	addq	$360, %rsp                      ## imm = 0x168
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_symbol_conf,8,3                ## @symbol_conf
	.comm	_PERF_HPP__MAX_INDEX,4,2        ## @PERF_HPP__MAX_INDEX
	.comm	_perf_hpp__format,8,3           ## @perf_hpp__format
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  "

	.comm	_PERF_HPP__OVERHEAD,4,2         ## @PERF_HPP__OVERHEAD
L_.str.1:                               ## @.str.1
	.asciz	"%c "

L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_HE_COLORSET_NORMAL,4,2         ## @HE_COLORSET_NORMAL
	.no_dead_strip	_hist_browser__show_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hist_browser__show_entry
_hist_browser__show_entry:              ; @hist_browser__show_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #448
	.cfi_def_cfa_offset 448
	stp	x28, x27, [sp, #352]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #368]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #384]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #400]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #416]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #432]            ; 16-byte Folded Spill
	add	x29, sp, #432
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	mov	x23, x0
	ldr	w28, [x23, #8]!
	mov	x0, x23
	mov	x1, x2
	bl	_ui_browser__is_current_entry
	mov	x24, x0
	str	w0, [sp, #68]
	ldr	x21, [x19]
	str	x21, [sp, #56]
	cbz	w0, LBB0_2
; %bb.1:
	str	x19, [x20]
	add	x8, x19, #12
	str	x8, [x20, #24]
LBB0_2:
Lloh3:
	adrp	x8, _symbol_conf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _symbol_conf@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_hist_entry__init_have_children
	mov	x0, x19
	bl	_hist_entry__folded
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	cbz	x21, LBB0_6
LBB0_4:
	mov	w23, #0
	sub	x8, x21, #1
	str	x8, [sp, #56]
	b	LBB0_21
LBB0_5:
	mov	w8, #32
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	cbnz	x21, LBB0_4
LBB0_6:
	add	x8, sp, #80
	str	x8, [sp, #32]
	mov	w8, #256
	str	w8, [sp, #40]
	str	xzr, [sp, #48]
	mov	x0, x23
	str	w22, [sp, #20]                  ; 4-byte Folded Spill
	mov	x1, x22
	mov	w2, #0
	bl	_ui_browser__gotorc
Lloh6:
	adrp	x27, _PERF_HPP__MAX_INDEX@GOTPAGE
Lloh7:
	ldr	x27, [x27, _PERF_HPP__MAX_INDEX@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.7:
	mov	x21, #0
	mov	x25, #0
Lloh8:
	adrp	x22, _perf_hpp__format@GOTPAGE
Lloh9:
	ldr	x22, [x22, _perf_hpp__format@GOTPAGEOFF]
	mov	w8, #1
Lloh10:
	adrp	x26, l_.str.2@PAGE
Lloh11:
	add	x26, x26, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=1
Lloh12:
	adrp	x8, _HE_COLORSET_NORMAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HE_COLORSET_NORMAL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_ui_browser__set_color
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	w8, #0
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x25, x25, #1
	ldrsw	x9, [x27]
	add	x21, x21, #24
	cmp	x25, x9
	b.ge	LBB0_20
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	add	x10, x9, x21
	ldr	w10, [x10, #16]
	cbz	w10, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cbnz	w8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_slsmg_printf
	sub	w28, w28, #2
	ldr	x9, [x22]
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x8, x9, x21
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x9, sp, #72
	str	x9, [sp, #48]
	add	x0, sp, #32
	mov	x1, x19
	blr	x8
	sub	w28, w28, w0
	ldr	d0, [sp, #72]
	mov	x0, x23
	mov	x1, x24
	bl	_ui_browser__set_percent_color
Lloh17:
	adrp	x8, _PERF_HPP__OVERHEAD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PERF_HPP__OVERHEAD@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _symbol_conf@GOTPAGE
Lloh21:
	ldr	x9, [x9, _symbol_conf@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x25, x8
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_slsmg_printf
	sub	w28, w28, #2
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x8, sp, #80
	str	x8, [sp]
	mov	x0, x26
	bl	_slsmg_printf
	cbz	w24, LBB0_8
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x20, #16]
	cbnz	w8, LBB0_9
	b	LBB0_8
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x9, x21]
	add	x0, sp, #32
	mov	x1, x19
	blr	x8
	sub	w28, w28, w0
	add	x8, sp, #80
	str	x8, [sp]
	mov	x0, x26
	bl	_slsmg_printf
	b	LBB0_9
LBB0_20:
	ldp	w8, w3, [x20, #16]
	cmp	w8, #0
	cinc	w23, w28, eq
	add	x1, sp, #80
	mov	x0, x19
	mov	w2, #256
	bl	_hist_entry__sort_snprintf
	add	x0, sp, #80
	mov	x1, x23
	bl	_slsmg_write_nstring
	ldr	w22, [sp, #20]                  ; 4-byte Folded Reload
	add	w22, w22, #1
	mov	w23, #1
LBB0_21:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	w8, #45
	b.ne	LBB0_25
; %bb.22:
	ldrh	w8, [x20, #12]
	cmp	w8, w22, uxth
	b.eq	LBB0_25
; %bb.23:
	add	x1, x19, #8
	and	w3, w22, #0xffff
	add	x4, sp, #56
	add	x5, sp, #68
	mov	x0, x20
	mov	w2, #1
	bl	_hist_browser__show_callchain
	add	w23, w23, w0
	ldr	w8, [sp, #68]
	cbz	w8, LBB0_25
; %bb.24:
	str	x19, [x20]
LBB0_25:
	ldur	x8, [x29, #-96]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	mov	x0, x23
	ldp	x29, x30, [sp, #432]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #416]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #400]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #384]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #368]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #352]            ; 16-byte Folded Reload
	add	sp, sp, #448
	ret
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_symbol_conf,8,3                ; @symbol_conf
	.comm	_PERF_HPP__MAX_INDEX,4,2        ; @PERF_HPP__MAX_INDEX
	.comm	_perf_hpp__format,8,3           ; @perf_hpp__format
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  "

	.comm	_PERF_HPP__OVERHEAD,4,2         ; @PERF_HPP__OVERHEAD
l_.str.1:                               ; @.str.1
	.asciz	"%c "

l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_HE_COLORSET_NORMAL,4,2         ; @HE_COLORSET_NORMAL
	.no_dead_strip	_hist_browser__show_entry
.subsections_via_symbols
