	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GlueFreeBlocks
_GlueFreeBlocks:                        ## @GlueFreeBlocks
	.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, %r15
	movq	$0, -48(%rbp)
	movl	$8192, (%rdi)                   ## imm = 0x2000
	movl	32(%rdi), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	8(%r15), %rax
	cmpq	16(%r15), %rax
	je	LBB0_2
## %bb.1:
	movq	$0, (%rax)
LBB0_2:
	movq	_PPMD_NUM_INDEXES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-48(%rbp), %r14
	testl	%eax, %eax
	je	LBB0_12
## %bb.3:
	xorl	%r12d, %r12d
	movq	_EMPTY_NODE@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_PPMD_NUM_INDEXES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movl	%eax, %ecx
	cmpq	%rcx, %r12
	jae	LBB0_12
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_8 Depth 3
	movq	24(%r15), %rcx
	movq	(%rcx,%r12,8), %rbx
	movq	$0, (%rcx,%r12,8)
	testq	%rbx, %rbx
	jne	LBB0_5
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	16(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_8 Depth 3
	movq	%rbx, %rdi
	callq	_NODE
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%rbx, (%r14)
	movq	%rax, %r14
	addq	$16, %r14
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	8(%rax), %rcx
	leaq	(%rcx,%rcx,2), %rdx
	movq	(%rax,%rdx,8), %rdx
	cmpq	(%r13), %rdx
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=3
	leaq	(%rcx,%rcx,2), %rdx
	addq	8(%rax,%rdx,8), %rcx
	movq	%rcx, 8(%rax)
	movq	$0, 8(%rax,%rdx,8)
	jmp	LBB0_8
LBB0_12:
	movq	$0, (%r14)
	movq	-48(%rbp), %r14
	testq	%r14, %r14
	movq	_PPMD_NUM_INDEXES@GOTPCREL(%rip), %r13
	jne	LBB0_13
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_InsertNode
	movq	_PPMD_NUM_INDEXES@GOTPCREL(%rip), %r13
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	testq	%r14, %r14
	je	LBB0_20
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movq	%r14, %rdi
	callq	_NODE
	movq	16(%rax), %r14
	movl	8(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, %r12
	cmpl	$129, %ebx
	jb	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13), %edx
	decl	%edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_InsertNode
	addl	$-128, %ebx
	addq	$3072, %r12                     ## imm = 0xC00
	cmpl	$128, %ebx
	ja	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	%ebx, %edi
	callq	_U2I
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_I2U
	cmpl	%ebx, %eax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	decl	%r13d
	movl	%r13d, %edi
	callq	_I2U
	movl	%eax, %ecx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%r12,%rcx,8), %rsi
	notl	%eax
	addl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_InsertNode
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_PPMD_NUM_INDEXES,4,2           ## @PPMD_NUM_INDEXES
	.comm	_EMPTY_NODE,8,3                 ## @EMPTY_NODE
	.no_dead_strip	_GlueFreeBlocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GlueFreeBlocks
_GlueFreeBlocks:                        ; @GlueFreeBlocks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	str	xzr, [sp, #8]
	mov	w8, #8192
	str	w8, [x0]
	ldr	w0, [x0, #32]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	str	xzr, [x8]
LBB0_2:
Lloh0:
	adrp	x24, _PPMD_NUM_INDEXES@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PPMD_NUM_INDEXES@GOTPAGEOFF]
	ldr	w8, [x24]
	cbz	w8, LBB0_12
; %bb.3:
	mov	x22, #0
	add	x21, sp, #8
	mov	w23, #24
Lloh2:
	adrp	x25, _EMPTY_NODE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _EMPTY_NODE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, uxtw
	b.hs	LBB0_13
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;       Child Loop BB0_10 Depth 3
	ldr	x9, [x19, #24]
	lsl	x10, x22, #3
	ldr	x20, [x9, x10]
	str	xzr, [x9, x10]
	cbnz	x20, LBB0_8
	b	LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	x20, [x0, #16]
	cbz	x20, LBB0_4
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_10 Depth 3
	mov	x0, x20
	bl	_NODE
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	str	x20, [x21]
	add	x21, x0, #16
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x0, #8]
	mul	x9, x8, x23
	ldr	x9, [x0, x9]
	ldr	x10, [x25]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=3
	madd	x9, x8, x23, x0
	ldr	x10, [x9, #8]
	add	x8, x10, x8
	str	x8, [x0, #8]
	str	xzr, [x9, #8]
	b	LBB0_10
LBB0_12:
	add	x21, sp, #8
LBB0_13:
	str	xzr, [x21]
	ldr	x20, [sp, #8]
	cbz	x20, LBB0_22
; %bb.14:
	mov	w25, #24
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_InsertNode
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	cbz	x20, LBB0_22
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	mov	x0, x20
	bl	_NODE
	ldr	x20, [x0, #16]
	ldr	w22, [x0, #8]
	cbz	w22, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x21, x0
	cmp	w22, #129
	b.lo	LBB0_20
LBB0_19:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x24]
	sub	w2, w8, #1
	mov	x0, x19
	mov	x1, x21
	bl	_InsertNode
	sub	w22, w22, #128
	add	x21, x21, #3072
	cmp	w22, #128
	b.hi	LBB0_19
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x22
	bl	_U2I
	mov	x23, x0
	bl	_I2U
	cmp	w0, w22
	b.eq	LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	sub	w23, w23, #1
	mov	x0, x23
	bl	_I2U
	umaddl	x1, w0, w25, x21
	mvn	w8, w0
	add	w2, w22, w8
	mov	x0, x19
	bl	_InsertNode
	b	LBB0_15
LBB0_22:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PPMD_NUM_INDEXES,4,2           ; @PPMD_NUM_INDEXES
	.comm	_EMPTY_NODE,8,3                 ; @EMPTY_NODE
	.no_dead_strip	_GlueFreeBlocks
.subsections_via_symbols
