	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_am
_remove_am:                             ## @remove_am
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, 32(%rdi)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_XLOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_plog
LBB0_3:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpq	%rbx, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	8(%rbx), %rcx
	movq	%rcx, (%rax)
LBB0_6:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rcx, (%rax)
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movq	%rax, (%rcx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XLOG_WARNING,4,2               ## @XLOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"children of \"%s\" still exist - deleting anyway"

	.no_dead_strip	_remove_am
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_am
_remove_am:                             ; @remove_am
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _XLOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XLOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19, #24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
LBB0_3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x9, [x8]
	cmp	x9, x19
	b.eq	LBB0_10
LBB0_5:
	ldp	x8, x9, [x19]
	cbz	x8, LBB0_7
LBB0_6:
	str	x9, [x8]
LBB0_7:
	cbz	x9, LBB0_9
; %bb.8:
	str	x8, [x9]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	x9, [x19, #8]
	str	x9, [x8]
	ldp	x8, x9, [x19]
	cbnz	x8, LBB0_6
	b	LBB0_7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XLOG_WARNING,4,2               ; @XLOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"children of \"%s\" still exist - deleting anyway"

	.no_dead_strip	_remove_am
.subsections_via_symbols
