	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function live_image_destructor
_live_image_destructor:                 ## @live_image_destructor
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	je	LBB0_6
## %bb.1:
	movq	_KEYMGR_GCC3_DW2_OBJ_LIST@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	__keymgr_get_and_lock_processwide_ptr
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	4(%r14), %eax
	movq	_seen_objects@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movl	(%r14), %eax
	movq	_unseen_objects@GOTPCREL(%rip), %r13
	movl	%eax, (%r13)
	movq	16(%rbx), %rdi
	callq	___deregister_frame_info_bases
	movl	(%r12), %eax
	movl	%eax, 4(%r14)
	movl	(%r13), %eax
	movl	%eax, (%r14)
LBB0_3:
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	__keymgr_set_and_unlock_processwide_ptr
	movq	24(%rbx), %rdi
	callq	_free
	movq	$0, 24(%rbx)
	movq	_ALLOCED_IMAGE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	16(%rbx), %rdi
	callq	_free
LBB0_5:
	movq	$0, 16(%rbx)
LBB0_6:
	movl	$0, (%rbx)
	movq	$0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEYMGR_GCC3_DW2_OBJ_LIST,4,2   ## @KEYMGR_GCC3_DW2_OBJ_LIST
	.comm	_seen_objects,4,2               ## @seen_objects
	.comm	_unseen_objects,4,2             ## @unseen_objects
	.comm	_ALLOCED_IMAGE_MASK,4,2         ## @ALLOCED_IMAGE_MASK
	.no_dead_strip	_live_image_destructor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function live_image_destructor
_live_image_destructor:                 ; @live_image_destructor
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_6
; %bb.1:
Lloh0:
	adrp	x21, _KEYMGR_GCC3_DW2_OBJ_LIST@GOTPAGE
Lloh1:
	ldr	x21, [x21, _KEYMGR_GCC3_DW2_OBJ_LIST@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	__keymgr_get_and_lock_processwide_ptr
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [x20, #4]
Lloh2:
	adrp	x22, _seen_objects@GOTPAGE
Lloh3:
	ldr	x22, [x22, _seen_objects@GOTPAGEOFF]
	str	w8, [x22]
	ldr	w8, [x20]
Lloh4:
	adrp	x23, _unseen_objects@GOTPAGE
Lloh5:
	ldr	x23, [x23, _unseen_objects@GOTPAGEOFF]
	str	w8, [x23]
	ldr	x0, [x19, #16]
	bl	___deregister_frame_info_bases
	ldr	w8, [x22]
	ldr	w9, [x23]
	stp	w9, w8, [x20]
LBB0_3:
	ldr	w0, [x21]
	mov	x1, x20
	bl	__keymgr_set_and_unlock_processwide_ptr
	ldr	x0, [x19, #24]
	bl	_free
	str	xzr, [x19, #24]
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _ALLOCED_IMAGE_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ALLOCED_IMAGE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	x0, [x19, #16]
	bl	_free
LBB0_5:
	str	xzr, [x19, #16]
LBB0_6:
	str	wzr, [x19]
	str	xzr, [x19, #8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_KEYMGR_GCC3_DW2_OBJ_LIST,4,2   ; @KEYMGR_GCC3_DW2_OBJ_LIST
	.comm	_seen_objects,4,2               ; @seen_objects
	.comm	_unseen_objects,4,2             ; @unseen_objects
	.comm	_ALLOCED_IMAGE_MASK,4,2         ; @ALLOCED_IMAGE_MASK
	.no_dead_strip	_live_image_destructor
.subsections_via_symbols
