	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpp_demangle_read_nested_name
_cpp_demangle_read_nested_name:         ## @cpp_demangle_read_nested_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_35
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	cmpb	$78, (%rax)
	jne	LBB0_35
## %bb.2:
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movb	1(%rax), %cl
	testb	%cl, %cl
	je	LBB0_35
## %bb.3:
	addq	$2, %rax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, 12(%rbx)
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, (%rbx)
	movzbl	(%rax), %ecx
	incq	%rax
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$75, %cl
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$86, %cl
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$114, %cl
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, 8(%rbx)
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, 16(%rbx)
	jmp	LBB0_5
LBB0_11:
	xorl	%r15d, %r15d
	cmpq	$0, 24(%rbx)
	setg	%r12b
	leaq	-56(%rbp), %rdi
	callq	_vector_str_init
	testl	%eax, %eax
	je	LBB0_35
## %bb.12:
	movb	%r12b, %r15b
	leaq	(%rbx,%r15,8), %r13
	addq	$32, %r13
	movq	$-1, %r15
	leaq	-56(%rbp), %r12
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_CPP_DEMANGLE_TRY_LIMIT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	incq	%r15
	cmpq	%rax, %r15
	ja	LBB0_34
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %r14
	movq	(%rbx), %rax
	movsbl	(%rax), %eax
	movq	%rbx, %rdi
	cmpl	$84, %eax
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$83, %eax
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$73, %eax
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	callq	_cpp_demangle_read_tmpl_args
	testl	%eax, %eax
	jne	LBB0_21
	jmp	LBB0_29
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	callq	_cpp_demangle_read_tmpl_param
	testl	%eax, %eax
	jne	LBB0_21
	jmp	LBB0_29
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	callq	_cpp_demangle_read_subst
	testl	%eax, %eax
	jne	LBB0_21
	jmp	LBB0_29
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	callq	_cpp_demangle_read_uqname
	testl	%eax, %eax
	je	LBB0_29
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %r15
	movl	(%r13), %edx
	decl	%edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	leaq	-72(%rbp), %rcx
	callq	_vector_str_substr
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%rax, %rax
	je	LBB0_34
## %bb.22:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rax, %r12
	movl	-72(%rbp), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_vector_str_push
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_free
	testl	%r14d, %r14d
	je	LBB0_34
## %bb.23:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_cpp_demangle_push_subst_v
	testl	%eax, %eax
	je	LBB0_34
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %r12
	movq	(%rbx), %rax
	movzbl	(%rax), %ecx
	leal	-67(%rcx), %edx
	cmpb	$2, %dl
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	leaq	L_.str(%rip), %r14
	jb	LBB0_13
## %bb.25:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$73, %cl
	je	LBB0_13
## %bb.26:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$69, %cl
	je	LBB0_33
## %bb.27:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$2, %edx
	callq	_cpp_demangle_push_str
	testl	%eax, %eax
	je	LBB0_34
## %bb.28:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$2, %edx
	callq	_vector_str_push
	testl	%eax, %eax
	jne	LBB0_13
	jmp	LBB0_34
LBB0_29:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_34
LBB0_33:
	incq	%rax
	movq	%rax, (%rbx)
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_34:
	leaq	-56(%rbp), %rdi
	callq	_vector_str_dest
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_35:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"::"

	.comm	_CPP_DEMANGLE_TRY_LIMIT,4,2     ## @CPP_DEMANGLE_TRY_LIMIT
	.no_dead_strip	_cpp_demangle_read_nested_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpp_demangle_read_nested_name
_cpp_demangle_read_nested_name:         ; @cpp_demangle_read_nested_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x0, LBB0_32
; %bb.1:
	ldr	x8, [x19]
	ldrb	w9, [x8]
	cmp	w9, #78
	b.ne	LBB0_31
; %bb.2:
	add	x9, x8, #1
	str	x9, [x19]
	ldrb	w10, [x8, #1]
	cbz	w10, LBB0_31
; %bb.3:
	add	x8, x8, #2
	mov	w9, #1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w9, [x19, #12]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x8, [x19]
	ldrb	w10, [x8], #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #75
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w10, #86
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w10, #114
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w9, [x19, #8]
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w9, [x19, #16]
	b	LBB0_5
LBB0_11:
	ldr	x8, [x19, #24]
	add	x9, x19, #40
	add	x10, x19, #32
	cmp	x8, #0
	csel	x20, x9, x10, gt
	add	x0, sp, #8
	bl	_vector_str_init
	cbz	w0, LBB0_31
; %bb.12:
	mov	x24, #-1
Lloh0:
	adrp	x25, _CPP_DEMANGLE_TRY_LIMIT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _CPP_DEMANGLE_TRY_LIMIT@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldrsw	x8, [x25]
	add	x24, x24, #1
	cmp	x24, x8
	b.hi	LBB0_29
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x20]
	ldr	x8, [x19]
	ldrsb	w8, [x8]
	mov	x0, x19
	cmp	w8, #84
	b.eq	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w8, #83
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w8, #73
	b.ne	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	bl	_cpp_demangle_read_tmpl_args
	cbnz	w0, LBB0_21
	b	LBB0_29
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
	bl	_cpp_demangle_read_tmpl_param
	cbnz	w0, LBB0_21
	b	LBB0_29
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	bl	_cpp_demangle_read_subst
	cbnz	w0, LBB0_21
	b	LBB0_29
LBB0_20:                                ;   in Loop: Header=BB0_14 Depth=1
	bl	_cpp_demangle_read_uqname
	cbz	w0, LBB0_29
LBB0_21:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x20]
	sub	w2, w8, #1
	mov	x3, sp
	mov	x0, x20
	mov	x1, x22
	bl	_vector_str_substr
	cbz	x0, LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x22, x0
	ldr	w2, [sp]
	add	x0, sp, #8
	mov	x1, x22
	bl	_vector_str_push
	mov	x23, x0
	mov	x0, x22
	bl	_free
	cbz	w23, LBB0_29
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_cpp_demangle_push_subst_v
	cbz	w0, LBB0_29
; %bb.24:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x19]
	ldrb	w9, [x8]
	sub	w10, w9, #67
	cmp	w10, #2
	b.lo	LBB0_13
; %bb.25:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w9, #73
	b.eq	LBB0_13
; %bb.26:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w9, #69
	b.eq	LBB0_33
; %bb.27:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #2
	bl	_cpp_demangle_push_str
	cbz	w0, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #2
	bl	_vector_str_push
	cbnz	w0, LBB0_13
LBB0_29:
	mov	w19, #0
LBB0_30:
	add	x0, sp, #8
	bl	_vector_str_dest
	b	LBB0_32
LBB0_31:
	mov	w19, #0
LBB0_32:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_33:
	add	x8, x8, #1
	str	x8, [x19]
	mov	w19, #1
	b	LBB0_30
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"::"

	.comm	_CPP_DEMANGLE_TRY_LIMIT,4,2     ; @CPP_DEMANGLE_TRY_LIMIT
	.no_dead_strip	_cpp_demangle_read_nested_name
.subsections_via_symbols
