	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpp_demangle_read_subst_std
_cpp_demangle_read_subst_std:           ## @cpp_demangle_read_subst_std
	.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_17
## %bb.1:
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rdi
	callq	_vector_str_init
	testl	%eax, %eax
	je	LBB0_17
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_cpp_demangle_push_str
	testl	%eax, %eax
	je	LBB0_14
## %bb.3:
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	$5, %edx
	callq	_vector_str_push
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:
	addq	$2, (%rbx)
	xorl	%r15d, %r15d
	cmpq	$0, 8(%rbx)
	setg	%r15b
	movq	16(%rbx,%r15,8), %r14
	movq	%rbx, %rdi
	callq	_cpp_demangle_read_uqname
	testl	%eax, %eax
	je	LBB0_14
## %bb.5:
	leaq	(%rbx,%r15,8), %r12
	addq	$16, %r12
	movl	(%r12), %edx
	decl	%edx
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_vector_str_substr
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_15
## %bb.6:
	movq	%rax, %r15
	movq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rdi
	movq	%rax, %rsi
	callq	_vector_str_push
	testl	%eax, %eax
	je	LBB0_16
## %bb.7:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_cpp_demangle_push_subst_v
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:
	movq	(%rbx), %rax
	cmpb	$73, (%rax)
	jne	LBB0_13
## %bb.9:
	movq	(%r12), %r13
	movq	%rbx, %rdi
	callq	_cpp_demangle_read_tmpl_args
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:
	movq	%r15, %rdi
	callq	_free
	movl	(%r12), %edx
	decl	%edx
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_vector_str_substr
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	%rax, %r15
	movq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rdi
	movq	%rax, %rsi
	callq	_vector_str_push
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_cpp_demangle_push_subst_v
	testl	%eax, %eax
	je	LBB0_16
LBB0_13:
	movl	$1, %r14d
	jmp	LBB0_16
LBB0_14:
	xorl	%r14d, %r14d
LBB0_15:
	xorl	%r15d, %r15d
LBB0_16:
	movq	%r15, %rdi
	callq	_free
	leaq	-48(%rbp), %rdi
	callq	_vector_str_dest
LBB0_17:
	movl	%r14d, %eax
	addq	$24, %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	"std::"

	.no_dead_strip	_cpp_demangle_read_subst_std
.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_subst_std
_cpp_demangle_read_subst_std:           ; @cpp_demangle_read_subst_std
	.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
	mov	x19, x0
	cbz	x0, LBB0_18
; %bb.1:
	add	x0, sp, #8
	bl	_vector_str_init
	cbz	w0, LBB0_15
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_cpp_demangle_push_str
	cbz	w0, LBB0_14
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w2, #5
	bl	_vector_str_push
	cbz	w0, LBB0_14
; %bb.4:
	ldp	x8, x9, [x19]
	add	x8, x8, #2
	str	x8, [x19]
	add	x8, x19, #24
	add	x10, x19, #16
	cmp	x9, #0
	csel	x21, x8, x10, gt
	ldr	x20, [x21]
	mov	x0, x19
	bl	_cpp_demangle_read_uqname
	cbz	w0, LBB0_14
; %bb.5:
	ldr	w8, [x21]
	sub	w2, w8, #1
	mov	x3, sp
	mov	x0, x21
	mov	x1, x20
	bl	_vector_str_substr
	mov	x20, x0
	cbz	x0, LBB0_16
; %bb.6:
	ldr	x2, [sp]
	add	x0, sp, #8
	mov	x1, x20
	bl	_vector_str_push
	cbz	w0, LBB0_16
; %bb.7:
	add	x1, sp, #8
	mov	x0, x19
	bl	_cpp_demangle_push_subst_v
	cbz	w0, LBB0_16
; %bb.8:
	ldr	x8, [x19]
	ldrb	w8, [x8]
	cmp	w8, #73
	b.ne	LBB0_13
; %bb.9:
	ldr	x22, [x21]
	mov	x0, x19
	bl	_cpp_demangle_read_tmpl_args
	cbz	w0, LBB0_16
; %bb.10:
	mov	x0, x20
	bl	_free
	ldr	w8, [x21]
	sub	w2, w8, #1
	mov	x3, sp
	mov	x0, x21
	mov	x1, x22
	bl	_vector_str_substr
	mov	x20, x0
	cbz	x0, LBB0_16
; %bb.11:
	ldr	x2, [sp]
	add	x0, sp, #8
	mov	x1, x20
	bl	_vector_str_push
	cbz	w0, LBB0_16
; %bb.12:
	add	x1, sp, #8
	mov	x0, x19
	bl	_cpp_demangle_push_subst_v
	cbz	w0, LBB0_16
LBB0_13:
	mov	w19, #1
	b	LBB0_17
LBB0_14:
	mov	w19, #0
	mov	x20, #0
	b	LBB0_17
LBB0_15:
	mov	w19, #0
	b	LBB0_18
LBB0_16:
	mov	w19, #0
LBB0_17:
	mov	x0, x20
	bl	_free
	add	x0, sp, #8
	bl	_vector_str_dest
LBB0_18:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"std::"

	.no_dead_strip	_cpp_demangle_read_subst_std
.subsections_via_symbols
