	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recovery_apply_type_descriptor
_recovery_apply_type_descriptor:        ## @recovery_apply_type_descriptor
	.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
	cmpl	$0, 16(%rsi)
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movl	(%rdi), %edi
	movl	8(%rsi), %esi
	xorl	%edx, %edx
	callq	_ht_up_find
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	movq	8(%r14), %rdi
	movl	12(%r12), %esi
	callq	_r_anal_rtti_msvc_demangle_class_name
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movl	12(%r12), %esi
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
LBB0_5:
	movl	12(%r12), %edi
	callq	_strdup
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_r_anal_class_create
	movl	(%r14), %edi
	movl	8(%r12), %esi
	movq	%rbx, %rdx
	callq	_ht_up_insert
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	cmpl	$0, 8(%rax)
	je	LBB0_10
## %bb.8:
	movl	4(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_recovery_apply_vtable
	movq	(%r12), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_recovery_apply_bases
	jmp	LBB0_10
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to demangle a class name: \"%s\"\n"

	.no_dead_strip	_recovery_apply_type_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recovery_apply_type_descriptor
_recovery_apply_type_descriptor:        ; @recovery_apply_type_descriptor
	.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
	ldr	w8, [x1, #16]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	ldr	w0, [x0]
	ldr	w1, [x1, #8]
	mov	x2, #0
	bl	_ht_up_find
	mov	x22, x0
	cbnz	x0, LBB0_10
; %bb.2:
	ldr	x0, [x19, #8]
	ldr	w1, [x20, #12]
	bl	_r_anal_rtti_msvc_demangle_class_name
	mov	x22, x0
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w1, [x20, #12]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
LBB0_5:
	ldr	w0, [x20, #12]
	bl	_strdup
	mov	x22, x0
	cbz	x0, LBB0_10
LBB0_6:
	mov	x0, x21
	mov	x1, x22
	bl	_r_anal_class_create
	ldr	w0, [x19]
	ldr	w1, [x20, #8]
	mov	x2, x22
	bl	_ht_up_insert
	ldr	x8, [x20]
	cbz	x8, LBB0_10
; %bb.7:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_10
; %bb.8:
	ldr	w2, [x8, #4]
	mov	x0, x21
	mov	x1, x22
	bl	_recovery_apply_vtable
	ldr	x2, [x20]
	mov	x0, x19
	mov	x1, x22
	bl	_recovery_apply_bases
	b	LBB0_10
LBB0_9:
	mov	x22, #0
LBB0_10:
	mov	x0, x22
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to demangle a class name: \"%s\"\n"

	.no_dead_strip	_recovery_apply_type_descriptor
.subsections_via_symbols
