	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tui_get_function_from_frame
_tui_get_function_from_frame:           ## @tui_get_function_from_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$256, %edi                      ## imm = 0x100
	callq	_tui_sfileopen
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_get_frame_pc
	movq	_demangle@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rcx
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_print_address_symbolic
	movq	%r14, %rdi
	callq	_tui_file_get_strbuf
	xorl	%esi, %esi
	cmpb	$60, (%rax)
	sete	%sil
	addq	%rax, %rsi
	leaq	_tui_get_function_from_frame.name(%rip), %rbx
	movq	%rbx, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_strncpy
	movq	%rbx, %rdi
	movl	$40, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	_tui_get_function_from_frame.name(%rip), %rdi
	movl	$62, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movb	$0, (%rax)
LBB0_3:
	leaq	_tui_get_function_from_frame.name(%rip), %rdi
	movl	$43, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movb	$0, (%rax)
LBB0_5:
	movq	%r14, %rdi
	callq	_ui_file_delete
	leaq	_tui_get_function_from_frame.name(%rip), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_tui_get_function_from_frame.name,256,4 ## @tui_get_function_from_frame.name
	.comm	_demangle,4,2                   ## @demangle
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_tui_get_function_from_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tui_get_function_from_frame
_tui_get_function_from_frame:           ; @tui_get_function_from_frame
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	mov	w0, #256
	bl	_tui_sfileopen
	mov	x19, x0
	mov	x0, x20
	bl	_get_frame_pc
Lloh0:
	adrp	x8, _demangle@GOTPAGE
Lloh1:
	ldr	x8, [x8, _demangle@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, x19
	bl	_print_address_symbolic
	mov	x0, x19
	bl	_tui_file_get_strbuf
	mov	x8, x0
	ldrb	w9, [x8], #1
	cmp	w9, #60
	csel	x1, x0, x8, ne
Lloh5:
	adrp	x20, _tui_get_function_from_frame.name@PAGE
Lloh6:
	add	x20, x20, _tui_get_function_from_frame.name@PAGEOFF
	mov	x0, x20
	mov	w2, #256
	bl	_strncpy
	mov	x0, x20
	mov	w1, #40
	bl	_strchr
	cbnz	x0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x0, _tui_get_function_from_frame.name@PAGE
Lloh8:
	add	x0, x0, _tui_get_function_from_frame.name@PAGEOFF
	mov	w1, #62
	bl	_strchr
	cbz	x0, LBB0_3
LBB0_2:
	strb	wzr, [x0]
LBB0_3:
Lloh9:
	adrp	x0, _tui_get_function_from_frame.name@PAGE
Lloh10:
	add	x0, x0, _tui_get_function_from_frame.name@PAGEOFF
	mov	w1, #43
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.4:
	strb	wzr, [x0]
LBB0_5:
	mov	x0, x19
	bl	_ui_file_delete
Lloh11:
	adrp	x0, _tui_get_function_from_frame.name@PAGE
Lloh12:
	add	x0, x0, _tui_get_function_from_frame.name@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_tui_get_function_from_frame.name,256,0 ; @tui_get_function_from_frame.name
	.comm	_demangle,4,2                   ; @demangle
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_tui_get_function_from_frame
.subsections_via_symbols
