	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FrLdrHeapInsertFreeList
_FrLdrHeapInsertFreeList:               ## @FrLdrHeapInsertFreeList
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rsi)
	sete	%dil
	callq	_ASSERT
	movslq	(%rbx), %rax
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	shlq	$4, %rax
	movq	8(%rbx,%rax), %rax
	movl	(%rax), %ecx
	movslq	%ecx, %rax
	movq	%rax, %rdx
	shlq	$4, %rdx
	leaq	(%rbx,%rdx), %rsi
	cmpq	%r14, %rsi
	jb	LBB0_1
## %bb.2:
	movq	8(%r14), %rax
	movl	%ecx, (%rax)
	movq	8(%rbx,%rdx), %rcx
	movl	4(%rcx), %edx
	movl	%edx, 4(%rax)
	subq	%rbx, %r14
	shrq	$4, %r14
	movl	%r14d, 4(%rcx)
	movslq	4(%rax), %rax
	shlq	$4, %rax
	movq	8(%rbx,%rax), %rax
	movl	%r14d, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_FrLdrHeapInsertFreeList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FrLdrHeapInsertFreeList
_FrLdrHeapInsertFreeList:               ; @FrLdrHeapInsertFreeList
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
	cmp	x8, #0
	cset	w0, eq
	bl	_ASSERT
	ldrsw	x8, [x19], #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x19, x8, lsl #4
	ldr	x8, [x8, #8]
	ldr	w9, [x8]
	sxtw	x8, w9
	add	x10, x19, w9, sxtw #4
	cmp	x10, x20
	b.lo	LBB0_1
; %bb.2:
	ldr	x10, [x20, #8]
	add	x8, x19, x8, lsl #4
	ldr	x8, [x8, #8]
	ldr	w11, [x8, #4]
	stp	w9, w11, [x10]
	sub	x9, x20, x19
	lsr	x9, x9, #4
	str	w9, [x8, #4]
	ldrsw	x8, [x10, #4]
	add	x8, x19, x8, lsl #4
	ldr	x8, [x8, #8]
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_FrLdrHeapInsertFreeList
.subsections_via_symbols
