	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpp_demangle_read_array
_cpp_demangle_read_array:               ## @cpp_demangle_read_array
	.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	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rdi)
	movb	1(%rax), %cl
	testb	%cl, %cl
	je	LBB0_32
## %bb.2:
	cmpb	$95, %cl
	jne	LBB0_8
## %bb.3:
	leaq	2(%rax), %rcx
	movq	%rcx, (%rbx)
	cmpb	$0, 2(%rax)
	je	LBB0_32
## %bb.4:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_cpp_demangle_read_type
	testl	%eax, %eax
	je	LBB0_32
## %bb.5:
	leaq	L_.str(%rip), %rsi
LBB0_6:
	movq	%rbx, %rdi
	callq	_DEM_PUSH_STR
	testl	%eax, %eax
	je	LBB0_32
LBB0_7:
	movl	$1, %r14d
	jmp	LBB0_32
LBB0_8:
	movsbl	%cl, %edi
	callq	_ELFTC_ISDIGIT
	testq	%rax, %rax
	je	LBB0_18
## %bb.9:
	movq	(%rbx), %r15
	movsbl	(%r15), %edi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	callq	_ELFTC_ISDIGIT
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movsbl	1(%rax), %edi
	jmp	LBB0_10
LBB0_12:
	movq	(%rbx), %r12
	cmpb	$95, (%r12)
	jne	LBB0_32
## %bb.13:
	xorl	%edi, %edi
	subq	%r15, %r12
	setne	%dil
	callq	_assert
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	cmpb	$0, 1(%rax)
	je	LBB0_32
## %bb.14:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_cpp_demangle_read_type
	testl	%eax, %eax
	je	LBB0_32
## %bb.15:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DEM_PUSH_STR
	testl	%eax, %eax
	je	LBB0_32
## %bb.16:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_cpp_demangle_push_str
	testl	%eax, %eax
	je	LBB0_32
## %bb.17:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_18:
	movq	8(%rbx), %r13
	movq	%rbx, %rdi
	callq	_cpp_demangle_read_expression
	testl	%eax, %eax
	je	LBB0_32
## %bb.19:
	leaq	8(%rbx), %r12
	movl	(%r12), %edx
	decl	%edx
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_vector_str_substr
	testq	%rax, %rax
	je	LBB0_32
## %bb.20:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %r15
	cmpq	%r15, %r13
	jae	LBB0_24
## %bb.21:
	subq	%r13, %r15
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_vector_str_pop
	testl	%eax, %eax
	je	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	decq	%r15
	jne	LBB0_22
LBB0_24:
	movq	(%rbx), %rax
	cmpb	$95, (%rax)
	jne	LBB0_30
## %bb.25:
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	cmpb	$0, 1(%rax)
	je	LBB0_30
## %bb.26:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_cpp_demangle_read_type
	testl	%eax, %eax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_33
## %bb.27:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DEM_PUSH_STR
	testl	%eax, %eax
	je	LBB0_34
## %bb.28:
	movq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_cpp_demangle_push_str
	testl	%eax, %eax
	je	LBB0_34
## %bb.29:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DEM_PUSH_STR
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_free
	testl	%ebx, %ebx
	jne	LBB0_7
	jmp	LBB0_35
LBB0_30:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_31:
	callq	_free
LBB0_32:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	movq	%r15, %rdi
	jmp	LBB0_31
LBB0_34:
	movq	%r15, %rdi
	callq	_free
LBB0_35:
	xorl	%r14d, %r14d
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[]"

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

L_.str.2:                               ## @.str.2
	.asciz	"]"

	.no_dead_strip	_cpp_demangle_read_array
.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_array
_cpp_demangle_read_array:               ; @cpp_demangle_read_array
	.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_31
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	add	x9, x8, #1
	str	x9, [x0]
	ldrb	w9, [x8, #1]
	cbz	w9, LBB0_30
; %bb.2:
	cmp	w9, #95
	b.ne	LBB0_8
; %bb.3:
	add	x9, x8, #2
	str	x9, [x19]
	ldrb	w8, [x8, #2]
	cbz	w8, LBB0_30
; %bb.4:
	mov	x0, x19
	mov	x1, #0
	bl	_cpp_demangle_read_type
	cbz	w0, LBB0_31
; %bb.5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_DEM_PUSH_STR
	cbz	w0, LBB0_31
LBB0_7:
	mov	w0, #1
	b	LBB0_31
LBB0_8:
	sxtb	w0, w9
	bl	_ELFTC_ISDIGIT
	cbz	x0, LBB0_17
; %bb.9:
	ldr	x20, [x19]
	ldrsb	w0, [x20]
	bl	_ELFTC_ISDIGIT
	cbz	x0, LBB0_11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x9, x8, #1
	str	x9, [x19]
	ldrsb	w0, [x8, #1]
	bl	_ELFTC_ISDIGIT
	cbnz	x0, LBB0_10
LBB0_11:
	ldr	x8, [x19]
	ldrb	w9, [x8]
	cmp	w9, #95
	b.ne	LBB0_30
; %bb.12:
	subs	x21, x8, x20
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19]
	add	x9, x8, #1
	str	x9, [x19]
	ldrb	w8, [x8, #1]
	cbz	w8, LBB0_30
; %bb.13:
	mov	x0, x19
	mov	x1, #0
	bl	_cpp_demangle_read_type
	cbz	w0, LBB0_31
; %bb.14:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DEM_PUSH_STR
	cbz	w0, LBB0_31
; %bb.15:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_cpp_demangle_push_str
	cbz	w0, LBB0_31
; %bb.16:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_17:
	mov	x21, x19
	ldr	x22, [x21, #8]!
	mov	x0, x19
	bl	_cpp_demangle_read_expression
	cbz	w0, LBB0_31
; %bb.18:
	ldr	w8, [x21]
	sub	w2, w8, #1
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x22
	bl	_vector_str_substr
	cbz	x0, LBB0_31
; %bb.19:
	mov	x20, x0
	ldr	x8, [x21]
	cmp	x22, x8
	b.hs	LBB0_23
; %bb.20:
	sub	x22, x8, x22
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_vector_str_pop
	cbz	w0, LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	subs	x22, x22, #1
	b.ne	LBB0_21
LBB0_23:
	ldr	x8, [x19]
	ldrb	w9, [x8]
	cmp	w9, #95
	b.ne	LBB0_29
; %bb.24:
	add	x9, x8, #1
	str	x9, [x19]
	ldrb	w8, [x8, #1]
	cbz	w8, LBB0_29
; %bb.25:
	mov	x0, x19
	mov	x1, #0
	bl	_cpp_demangle_read_type
	cbz	w0, LBB0_29
; %bb.26:
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_29
; %bb.27:
	ldr	x2, [sp, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_cpp_demangle_push_str
	cbz	w0, LBB0_29
; %bb.28:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_DEM_PUSH_STR
	mov	x19, x0
	mov	x0, x20
	bl	_free
	cbnz	w19, LBB0_7
	b	LBB0_30
LBB0_29:
	mov	x0, x20
	bl	_free
LBB0_30:
	mov	w0, #0
LBB0_31:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[]"

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

l_.str.2:                               ; @.str.2
	.asciz	"]"

	.no_dead_strip	_cpp_demangle_read_array
.subsections_via_symbols
