	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_SetupReachabilityHeap      ## -- Begin function AAS_SetupReachabilityHeap
	.p2align	4, 0x90
_AAS_SetupReachabilityHeap:             ## @AAS_SetupReachabilityHeap
	.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	_AAS_MAX_REACHABILITYSIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$3, %edi
	callq	_GetClearedMemory
	movq	_reachabilityheap@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %edx
	leal	-1(%rdx), %r8d
	cmpl	$2, %edx
	jl	LBB0_8
## %bb.1:
	movl	%r8d, %r9d
	leaq	-1(%r9), %rdx
	movl	%r9d, %esi
	andl	$3, %esi
	cmpq	$3, %rdx
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_5
LBB0_3:
	andl	$-4, %r9d
	movl	$16, %edi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rax,%rdi), %rbx
	addq	$-8, %rbx
	movq	%rbx, -16(%rax,%rdi)
	movq	(%rcx), %rax
	leaq	(%rax,%rdi), %rbx
	movq	%rbx, -8(%rax,%rdi)
	movq	(%rcx), %rax
	leaq	(%rax,%rdi), %rbx
	addq	$8, %rbx
	movq	%rbx, (%rax,%rdi)
	movq	(%rcx), %rax
	addq	$4, %rdx
	leaq	(%rax,%rdi), %rbx
	addq	$16, %rbx
	movq	%rbx, 8(%rax,%rdi)
	movq	(%rcx), %rax
	addq	$32, %rdi
	cmpq	%rdx, %r9
	jne	LBB0_4
LBB0_5:
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.6:
	leaq	8(,%rdx,8), %rdx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rax,%rdx), %rdi
	movq	%rdi, -8(%rax,%rdx)
	movq	(%rcx), %rax
	addq	$8, %rdx
	decq	%rsi
	jne	LBB0_7
LBB0_8:
	movslq	%r8d, %rdx
	movq	$0, (%rax,%rdx,8)
	movq	(%rcx), %rax
	movq	_nextreachability@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_numlreachabilities@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AAS_MAX_REACHABILITYSIZE,4,2   ## @AAS_MAX_REACHABILITYSIZE
	.comm	_reachabilityheap,8,3           ## @reachabilityheap
	.comm	_nextreachability,8,3           ## @nextreachability
	.comm	_numlreachabilities,8,3         ## @numlreachabilities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_SetupReachabilityHeap      ; -- Begin function AAS_SetupReachabilityHeap
	.p2align	2
_AAS_SetupReachabilityHeap:             ; @AAS_SetupReachabilityHeap
	.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
Lloh0:
	adrp	x19, _AAS_MAX_REACHABILITYSIZE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _AAS_MAX_REACHABILITYSIZE@GOTPAGEOFF]
	ldr	w8, [x19]
	lsl	w0, w8, #3
	bl	_GetClearedMemory
Lloh2:
	adrp	x8, _reachabilityheap@GOTPAGE
Lloh3:
	ldr	x8, [x8, _reachabilityheap@GOTPAGEOFF]
	str	x0, [x8]
	ldr	w10, [x19]
	sub	w9, w10, #1
	cmp	w10, #2
	b.lt	LBB0_3
; %bb.1:
	mov	x10, #0
	lsl	x11, x9, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x12, x0, x10
	add	x13, x12, #8
	str	x13, [x12]
	ldr	x0, [x8]
	add	x10, x10, #8
	cmp	x11, x10
	b.ne	LBB0_2
LBB0_3:
	str	xzr, [x0, w9, sxtw #3]
	ldr	x8, [x8]
Lloh4:
	adrp	x9, _nextreachability@GOTPAGE
Lloh5:
	ldr	x9, [x9, _nextreachability@GOTPAGEOFF]
Lloh6:
	str	x8, [x9]
Lloh7:
	adrp	x8, _numlreachabilities@GOTPAGE
Lloh8:
	ldr	x8, [x8, _numlreachabilities@GOTPAGEOFF]
Lloh9:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AAS_MAX_REACHABILITYSIZE,4,2   ; @AAS_MAX_REACHABILITYSIZE
	.comm	_reachabilityheap,8,3           ; @reachabilityheap
	.comm	_nextreachability,8,3           ; @nextreachability
	.comm	_numlreachabilities,8,3         ; @numlreachabilities
.subsections_via_symbols
