	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_PruneNodes_r               ## -- Begin function AAS_PruneNodes_r
	.p2align	4, 0x90
_AAS_PruneNodes_r:                      ## @AAS_PruneNodes_r
	.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
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 16(%rdi)
	jne	LBB0_13
## %bb.2:
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_AAS_PruneNodes_r
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_AAS_PruneNodes_r
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	(%rbx), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rcx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.3:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.4:
	movq	16(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.5:
	movq	16(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rcx
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	jne	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rsi
	movq	(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_7
## %bb.8:
	cmpq	%rsi, %rcx
	jne	LBB0_13
## %bb.9:
	movq	_c_numprunes@GOTPCREL(%rip), %rdx
	incl	(%rdx)
	movq	%rcx, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	(%rax), %rdi
	callq	_AAS_FreeTmpNode
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_AAS_FreeTmpNode
	movq	(%rbx), %rax
	movq	$0, (%rax)
	movq	(%rbx), %rax
	movq	$0, 8(%rax)
	jmp	LBB0_13
LBB0_10:
	testq	%rcx, %rcx
	jne	LBB0_13
## %bb.11:
	movq	_c_numprunes@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%rbx, %rdi
	callq	_AAS_FreeTmpNode
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_c_numprunes,4,2                ## @c_numprunes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_PruneNodes_r               ; -- Begin function AAS_PruneNodes_r
	.p2align	2
_AAS_PruneNodes_r:                      ; @AAS_PruneNodes_r
	.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
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_AAS_PruneNodes_r
	ldr	x8, [x19]
	str	x0, [x8]
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_AAS_PruneNodes_r
	ldr	x8, [x19]
	str	x0, [x8, #8]
	ldr	x8, [x19]
	ldp	x10, x9, [x8]
	cbz	x10, LBB0_11
; %bb.4:
	cbz	x9, LBB0_2
; %bb.5:
	ldr	x11, [x10, #16]
	cbz	x11, LBB0_2
; %bb.6:
	ldr	x10, [x9, #16]
	cbz	x10, LBB0_2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x11
	ldr	x11, [x11]
	cbnz	x11, LBB0_7
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x10
	ldr	x10, [x10]
	cbnz	x10, LBB0_8
; %bb.9:
	cmp	x9, x11
	b.ne	LBB0_2
; %bb.10:
Lloh0:
	adrp	x10, _c_numprunes@GOTPAGE
Lloh1:
	ldr	x10, [x10, _c_numprunes@GOTPAGEOFF]
	ldr	w11, [x10]
	add	w11, w11, #1
	str	w11, [x10]
	stp	xzr, x9, [x19, #8]
	ldr	x0, [x8]
	bl	_AAS_FreeTmpNode
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_AAS_FreeTmpNode
	ldr	x8, [x19]
	str	xzr, [x8]
	ldr	x8, [x19]
	str	xzr, [x8, #8]
	b	LBB0_2
LBB0_11:
	cbnz	x9, LBB0_2
; %bb.12:
Lloh2:
	adrp	x8, _c_numprunes@GOTPAGE
Lloh3:
	ldr	x8, [x8, _c_numprunes@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x19
	bl	_AAS_FreeTmpNode
	mov	x19, #0
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_c_numprunes,4,2                ; @c_numprunes
.subsections_via_symbols
