	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpp_demangle_read_local_name
_cpp_demangle_read_local_name:          ## @cpp_demangle_read_local_name
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rdi)
	cmpb	$0, 1(%rax)
	je	LBB0_13
## %bb.2:
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_vector_str_init
	movq	%r15, 16(%r14)
	movq	%r14, %rdi
	callq	_cpp_demangle_read_encoding
	testl	%eax, %eax
	je	LBB0_12
## %bb.3:
	leaq	12(%r14), %r15
	movq	%r15, 16(%r14)
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, -56(%rbp)
	movl	8(%r14), %r13d
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.4:
	movl	$0, 8(%r14)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cpp_demangle_read_type
	testl	%eax, %eax
	je	LBB0_12
LBB0_5:
	leaq	-48(%rbp), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_vector_str_push_vector
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_vector_str_dest
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.6:
	movq	(%r14), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_14
## %bb.7:
	movq	$-1, %rbx
	leaq	-56(%rbp), %r15
	movq	_CPP_DEMANGLE_TRY_LIMIT@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_cpp_demangle_read_type
	testl	%eax, %eax
	je	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r14), %rcx
	movzbl	(%rcx), %eax
	cmpb	$69, %al
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movslq	(%r12), %rdx
	incq	%rbx
	cmpq	%rdx, %rbx
	ja	LBB0_23
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	testb	%al, %al
	jne	LBB0_8
	jmp	LBB0_16
LBB0_12:
	leaq	-48(%rbp), %rdi
	callq	_vector_str_dest
	jmp	LBB0_13
LBB0_14:
	testl	%r13d, %r13d
	jne	LBB0_23
LBB0_16:
	leaq	1(%rcx), %rax
	movq	%rax, (%r14)
	movb	1(%rcx), %cl
	testb	%cl, %cl
	je	LBB0_23
## %bb.17:
	cmpl	$1, -56(%rbp)
	jne	LBB0_20
## %bb.18:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_DEM_PUSH_STR
	testl	%eax, %eax
	movl	$0, %ebx
	je	LBB0_13
## %bb.19:
	movl	$0, -56(%rbp)
	movq	(%r14), %rax
	movb	(%rax), %cl
LBB0_20:
	cmpb	$115, %cl
	jne	LBB0_25
## %bb.21:
	incq	%rax
	movq	%rax, (%r14)
	jmp	LBB0_28
LBB0_25:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_DEM_PUSH_STR
	testl	%eax, %eax
	je	LBB0_23
## %bb.26:
	movq	%r14, %rdi
	callq	_cpp_demangle_read_name
	testl	%eax, %eax
	movl	$0, %ebx
	je	LBB0_13
## %bb.27:
	movq	(%r14), %rax
LBB0_28:
	movl	$1, %ebx
	cmpb	$95, (%rax)
	jne	LBB0_13
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rax), %rcx
	movq	%rcx, (%r14)
	movsbl	1(%rax), %edi
	callq	_ELFTC_ISDIGIT
	testq	%rax, %rax
	je	LBB0_13
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	(%r14), %rax
	jmp	LBB0_29
LBB0_23:
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPP_DEMANGLE_TRY_LIMIT,4,2     ## @CPP_DEMANGLE_TRY_LIMIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	")"

L_.str.1:                               ## @.str.1
	.asciz	"::"

	.no_dead_strip	_cpp_demangle_read_local_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function cpp_demangle_read_local_name
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cpp_demangle_read_local_name:          ; @cpp_demangle_read_local_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_14
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	add	x9, x8, #1
	str	x9, [x0]
	ldrb	w8, [x8, #1]
	cbz	w8, LBB0_13
; %bb.2:
	add	x20, sp, #8
	add	x0, sp, #8
	bl	_vector_str_init
	str	x20, [x19, #16]
	mov	x0, x19
	bl	_cpp_demangle_read_encoding
	cbz	w0, LBB0_12
; %bb.3:
	add	x20, x19, #12
	str	x20, [x19, #16]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
	ldr	w21, [x19, #8]
	cbz	w21, LBB0_5
; %bb.4:
	str	wzr, [x19, #8]
	mov	x0, x19
	mov	x1, #0
	bl	_cpp_demangle_read_type
	cbz	w0, LBB0_12
LBB0_5:
	add	x1, sp, #8
	mov	x0, x20
	bl	_vector_str_push_vector
	mov	x20, x0
	add	x0, sp, #8
	bl	_vector_str_dest
	cbz	w20, LBB0_13
; %bb.6:
	ldr	x8, [x19]
	ldrb	w9, [x8]
	cbz	w9, LBB0_15
; %bb.7:
	mov	x20, #-1
Lloh2:
	adrp	x21, _CPP_DEMANGLE_TRY_LIMIT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CPP_DEMANGLE_TRY_LIMIT@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, sp
	mov	x0, x19
	bl	_cpp_demangle_read_type
	cbz	w0, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	ldrb	w9, [x8]
	cmp	w9, #69
	b.eq	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x10, [x21]
	add	x20, x20, #1
	cmp	x20, x10
	b.hi	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	cbnz	w9, LBB0_8
	b	LBB0_16
LBB0_12:
	add	x0, sp, #8
	bl	_vector_str_dest
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_15:
	cbnz	w21, LBB0_13
LBB0_16:
	add	x9, x8, #1
	str	x9, [x19]
	ldrb	w8, [x8, #1]
	cbz	w8, LBB0_13
; %bb.17:
	ldr	w10, [sp]
	cmp	w10, #1
	b.ne	LBB0_20
; %bb.18:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DEM_PUSH_STR
	cbz	w0, LBB0_14
; %bb.19:
	str	wzr, [sp]
	ldr	x9, [x19]
	ldrb	w8, [x9]
LBB0_20:
	cmp	w8, #115
	b.ne	LBB0_22
; %bb.21:
	add	x8, x9, #1
	str	x8, [x19]
	b	LBB0_25
LBB0_22:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DEM_PUSH_STR
	cbz	w0, LBB0_14
; %bb.23:
	mov	x0, x19
	bl	_cpp_demangle_read_name
	cbz	w0, LBB0_14
; %bb.24:
	ldr	x8, [x19]
LBB0_25:
	ldrb	w9, [x8]
	cmp	w9, #95
	b.ne	LBB0_28
; %bb.26:
	add	x9, x8, #1
	str	x9, [x19]
	ldrsb	w0, [x8, #1]
	bl	_ELFTC_ISDIGIT
	cbz	x0, LBB0_28
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x9, x8, #1
	str	x9, [x19]
	ldrsb	w0, [x8, #1]
	bl	_ELFTC_ISDIGIT
	mov	x8, x0
	mov	w0, #1
	cbnz	x8, LBB0_27
	b	LBB0_14
LBB0_28:
	mov	w0, #1
	b	LBB0_14
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CPP_DEMANGLE_TRY_LIMIT,4,2     ; @CPP_DEMANGLE_TRY_LIMIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	")"

l_.str.1:                               ; @.str.1
	.asciz	"::"

	.no_dead_strip	_cpp_demangle_read_local_name
.subsections_via_symbols
