	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function demangle_classname
_demangle_classname:                    ## @demangle_classname
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_1
LBB0_11:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strdup                         ## TAILCALL
LBB0_1:
	movl	$3, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx,%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addb	$-58, %cl
	cmpb	$-10, %cl
	jb	LBB0_2
LBB0_4:
	movl	%eax, %r12d
	addq	%rbx, %r12
	movq	%r12, %rdi
	callq	_atoi
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_strlen
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.5:
	cmpl	%eax, %r15d
	jge	LBB0_11
## %bb.6:
	movq	%r12, %rdi
	callq	_skipnum
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_r_str_ndup
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_skipnum
	subl	%ebx, %eax
	addl	%r15d, %eax
	movslq	%eax, %r15
	cmpb	$80, (%rbx,%r15)
	jne	LBB0_8
## %bb.7:
	addq	%rbx, %r15
	incq	%r15
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_skipnum
	subl	%ebx, %eax
	addl	%r12d, %eax
	movslq	%eax, %r15
LBB0_8:
	addq	%rbx, %r15
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_strlen
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.9:
	cmpl	%eax, %r12d
	jge	LBB0_10
## %bb.12:
	movq	%r15, %rdi
	callq	_skipnum
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_r_str_ndup
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_r_str_newf
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_TtC"

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

	.no_dead_strip	_demangle_classname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function demangle_classname
_demangle_classname:                    ; @demangle_classname
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strncmp
	cbnz	w0, LBB0_8
; %bb.1:
	mov	w8, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x19, x8]
	sub	w10, w9, #58
	add	x8, x8, #1
	cmp	w9, #0
	ccmn	w10, #10, #2, ne
	b.lo	LBB0_2
; %bb.3:
	sub	w8, w8, #1
	add	x22, x19, x8
	mov	x0, x22
	bl	_atoi
	mov	x21, x0
	mov	x0, x22
	bl	_strlen
	cmp	w21, #0
	ccmp	w21, w0, #0, ne
	b.ge	LBB0_8
; %bb.4:
	mov	x0, x22
	bl	_skipnum
	mov	x1, x21
	bl	_r_str_ndup
	mov	x20, x0
	mov	x0, x22
	bl	_skipnum
	sub	w8, w0, w19
	add	w8, w21, w8
	sxtw	x8, w8
	ldrb	w9, [x19, x8]
	cmp	w9, #80
	b.ne	LBB0_6
; %bb.5:
	add	w8, w8, #1
	add	x21, x19, w8, sxtw
	mov	x0, x21
	bl	_atoi
	mov	x22, x0
	mov	x0, x21
	bl	_skipnum
	sub	w8, w0, w19
	add	w8, w22, w8
	sxtw	x8, w8
LBB0_6:
	add	x22, x19, x8
	mov	x0, x22
	bl	_atoi
	mov	x21, x0
	mov	x0, x22
	bl	_strlen
	cmp	w21, #0
	ccmp	w21, w0, #0, ne
	b.lt	LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_free
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_strdup
LBB0_9:
	mov	x0, x22
	bl	_skipnum
	mov	x1, x21
	bl	_r_str_ndup
	mov	x19, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_r_str_newf
	mov	x21, x0
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_free
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_TtC"

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

	.no_dead_strip	_demangle_classname
.subsections_via_symbols
