	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function demangle_class
_demangle_class:                        ## @demangle_class
	.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
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	callq	_string_init
	movq	%rbx, %rdi
	callq	_register_Btype
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_demangle_class_name
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	-56(%rbp), %r12
	testb	$1, (%rbx)
	jne	LBB0_4
## %bb.3:
	testb	$1, 4(%rbx)
	je	LBB0_9
LBB0_4:
	movslq	8(%rbx), %rax
	leal	1(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_6
## %bb.5:
	addq	-48(%rbp), %rax
	movq	%rax, -56(%rbp)
LBB0_6:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_string_prepends
	testb	$1, 4(%rbx)
	movq	%rbx, %r13
	je	LBB0_8
## %bb.7:
	leaq	4(%rbx), %r13
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_string_prepend
LBB0_8:
	decl	(%r13)
LBB0_9:
	movq	%r12, -56(%rbp)
	movq	-48(%rbp), %r13
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	callq	_LEN_STRING
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_remember_Ktype
	movq	-48(%rbp), %r13
	movq	%r12, %rdi
	callq	_LEN_STRING
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_remember_Btype
	movq	%rbx, %rdi
	callq	_SCOPE_STRING
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_string_prepend
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_string_prepends
	movl	$1, %ebx
	jmp	LBB0_10
LBB0_1:
	xorl	%ebx, %ebx
LBB0_10:
	leaq	-56(%rbp), %rdi
	callq	_string_delete
	movl	%ebx, %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	"~"

	.no_dead_strip	_demangle_class
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function demangle_class
_demangle_class:                        ; @demangle_class
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, sp
	bl	_string_init
	mov	x0, x20
	bl	_register_Btype
	mov	x21, x0
	mov	x2, sp
	mov	x0, x20
	mov	x1, x22
	bl	_demangle_class_name
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x22, [sp]
	ldrb	w8, [x20]
	tbnz	w8, #0, LBB0_3
; %bb.2:
	ldrb	w8, [x20, #4]
	tbz	w8, #0, LBB0_8
LBB0_3:
	ldrsw	x8, [x20, #8]
	add	w9, w8, #1
	cmp	w9, #2
	b.lo	LBB0_5
; %bb.4:
	ldr	x9, [sp, #8]
	add	x8, x9, x8
	str	x8, [sp]
LBB0_5:
	mov	x1, sp
	mov	x0, x19
	bl	_string_prepends
	mov	x23, x20
	ldrb	w9, [x23, #4]!
	mov	x8, x20
	tbz	w9, #0, LBB0_7
; %bb.6:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_string_prepend
	mov	x8, x23
LBB0_7:
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
LBB0_8:
	str	x22, [sp]
	ldr	x22, [sp, #8]
	mov	x0, sp
	bl	_LEN_STRING
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_remember_Ktype
	ldr	x22, [sp, #8]
	mov	x0, sp
	bl	_LEN_STRING
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_remember_Btype
	mov	x0, x20
	bl	_SCOPE_STRING
	mov	x1, x0
	mov	x0, x19
	bl	_string_prepend
	mov	x1, sp
	mov	x0, x19
	bl	_string_prepends
	mov	w19, #1
	b	LBB0_10
LBB0_9:
	mov	w19, #0
LBB0_10:
	mov	x0, sp
	bl	_string_delete
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"~"

	.no_dead_strip	_demangle_class
.subsections_via_symbols
