	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CreateSuccessors
_CreateSuccessors:                      ## @CreateSuccessors
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movl	%esi, -72(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %rdi
	callq	_SUCCESSOR
	movq	%rax, %r15
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_PPMD8_MAX_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	xorl	%r13d, %r13d
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_2
## %bb.1:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movq	%rax, (%r14)
	movl	$1, %r13d
LBB0_2:
	cmpq	$0, 16(%r12)
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%r12, %rdi
	callq	_SUFFIX
	movq	%rax, %r12
	testq	%rbx, %rbx
	je	LBB0_4
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_SUCCESSOR
	cmpq	%r15, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %eax
	incl	%r13d
	movq	%rbx, (%r14,%rax,8)
	cmpq	$0, 16(%r12)
	movl	$0, %ebx
	jne	LBB0_3
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%r12)
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_STATS
	movq	%rax, %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movq	(%rax), %rax
	addq	$-16, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rcx
	addq	$16, %rbx
	cmpq	%rax, 16(%rcx)
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rbx), %eax
	movq	_MAX_FREQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	$-9, %ecx
	cmpl	%ecx, %eax
	jge	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%eax
	movl	%eax, 8(%rbx)
	incl	8(%r12)
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_ONE_STATE
	movq	%rax, %rbx
	movl	8(%rax), %r14d
	movq	%r12, %rdi
	callq	_SUFFIX
	cmpq	$0, (%rax)
	sete	%al
	cmpl	$24, 8(%rbx)
	setl	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	addl	%r14d, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, 8(%rbx)
	jmp	LBB0_10
LBB0_11:
	movq	%rax, %rdi
	callq	_CTX
	movq	%rax, %r12
	testl	%r13d, %r13d
	je	LBB0_30
LBB0_13:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_Ppmd8_GetPtr
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	incq	%r15
	leaq	-88(%rbp), %rdi
	movq	%r15, %rsi
	movq	%rbx, %r15
	callq	_SetSuccessor
	movq	24(%rbx), %rax
	xorl	%ebx, %ebx
	cmpq	$64, (%rax)
	setae	%bl
	shlq	$4, %rbx
	xorl	%r14d, %r14d
	cmpq	$64, -88(%rbp)
	setae	%r14b
	cmpq	$0, (%r12)
	je	LBB0_14
## %bb.15:
	movq	%r12, %rdi
	callq	_STATS
	movq	-88(%rbp), %rcx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdx
	addq	$16, %rax
	cmpq	%rcx, (%rdx)
	jne	LBB0_16
## %bb.17:
	movl	-8(%rax), %eax
	movl	8(%r12), %ecx
	movl	(%r12), %edx
	addl	%eax, %edx
	subl	%edx, %ecx
	incl	%ecx
	leal	(%rax,%rax), %edx
	addl	$-2, %edx
	cmpl	%ecx, %edx
	jle	LBB0_18
## %bb.19:
	leal	(%rax,%rcx,2), %eax
	addl	$-4, %eax
	cltd
	idivl	%ecx
	jmp	LBB0_20
LBB0_14:
	movq	%r12, %rdi
	callq	_ONE_STATE
	movl	8(%rax), %eax
	jmp	LBB0_21
LBB0_18:
	decl	%eax
	leal	(%rax,%rax,4), %edx
	xorl	%eax, %eax
	cmpl	%ecx, %edx
	setg	%al
LBB0_20:
	incl	%eax
LBB0_21:
	leaq	(%rbx,%r14,8), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, -80(%rbp)
	movl	%r13d, %r14d
	negl	%r14d
	decl	%r13d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	_UNIT_SIZE@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	movq	%rbx, (%r15)
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	$0, (%rbx)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_ONE_STATE
	movups	-88(%rbp), %xmm0
	movups	%xmm0, (%rax)
	movq	%r12, %rdi
	callq	_REF
	movq	%rax, 16(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r13,8), %r15
	movq	%rbx, %rdi
	callq	_REF
	movq	%r15, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_SetSuccessor
	decq	%r13
	movq	%rbx, %r12
	cmpl	%r13d, %r14d
	je	LBB0_25
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rbx
	cmpq	8(%r15), %rbx
	jne	LBB0_23
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	16(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_RemoveNode
	movq	%rax, %rbx
	jmp	LBB0_24
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_AllocUnitsRare
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_24
## %bb.29:
	xorl	%r12d, %r12d
	jmp	LBB0_30
LBB0_25:
	movq	%rbx, %r12
LBB0_30:
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PPMD8_MAX_ORDER,4,2            ## @PPMD8_MAX_ORDER
	.comm	_MAX_FREQ,4,2                   ## @MAX_FREQ
	.comm	_UNIT_SIZE,8,3                  ## @UNIT_SIZE
	.no_dead_strip	_CreateSuccessors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CreateSuccessors
_CreateSuccessors:                      ; @CreateSuccessors
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x0, [x0, #24]
	bl	_SUCCESSOR
	mov	x21, x0
	mov	x24, sp
Lloh3:
	adrp	x8, _PPMD8_MAX_ORDER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PPMD8_MAX_ORDER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x25, x9, x8
	mov	sp, x25
	cbz	w23, LBB0_12
; %bb.1:
	mov	w26, #0
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_13
LBB0_2:
Lloh8:
	adrp	x27, _MAX_FREQ@GOTPAGE
Lloh9:
	ldr	x27, [x27, _MAX_FREQ@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x20
	bl	_SUFFIX
	mov	x20, x0
	cbz	x22, LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_SUCCESSOR
	cmp	x0, x21
	b.ne	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w26, #1
	str	x22, [x25, w26, uxtw #3]
	ldr	x8, [x20, #16]
	mov	x26, x23
	mov	x22, #0
	cbnz	x8, LBB0_3
	b	LBB0_15
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_STATS
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	sub	x22, x0, #16
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x22, #16]!
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22, #8]
	ldr	w9, [x27]
	sub	w9, w9, #9
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w8, #1
	str	w8, [x22, #8]
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_ONE_STATE
	mov	x22, x0
	ldr	w23, [x0, #8]
	mov	x0, x20
	bl	_SUFFIX
	ldr	x8, [x0]
	cmp	x8, #0
	ldr	w8, [x22, #8]
	ccmp	w8, #24, #0, eq
	cinc	w8, w23, lt
	str	w8, [x22, #8]
	b	LBB0_4
LBB0_12:
	ldr	x8, [x19, #24]
	str	x8, [x25]
	mov	w26, #1
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_2
LBB0_13:
	mov	x23, x26
	b	LBB0_15
LBB0_14:
	bl	_CTX
	mov	x20, x0
	mov	x23, x26
	cbz	w26, LBB0_32
LBB0_15:
	mov	x0, x19
	mov	x1, x21
	bl	_Ppmd8_GetPtr
	ldr	x8, [x0]
	stur	x8, [x29, #-104]
	add	x1, x21, #1
	sub	x0, x29, #104
	bl	_SetSuccessor
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cmp	x8, #63
	cset	w8, hi
	lsl	x22, x8, #4
	ldur	x8, [x29, #-104]
	cmp	x8, #63
	cset	w21, hi
	ldr	x8, [x20]
	cbz	x8, LBB0_20
; %bb.16:
	mov	x0, x20
	bl	_STATS
	ldur	x8, [x29, #-104]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x0], #16
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.18:
	ldur	w8, [x0, #-8]
	sub	w9, w8, #1
	ldr	w10, [x20, #8]
	ldr	w11, [x20]
	add	w11, w8, w11
	sub	w10, w10, w11
	add	w10, w10, #1
	cmp	w10, w9, lsl #1
	b.ge	LBB0_21
; %bb.19:
	add	w8, w8, w10, lsl #1
	sub	w8, w8, #4
	sdiv	w8, w8, w10
	b	LBB0_22
LBB0_20:
	mov	x0, x20
	bl	_ONE_STATE
	ldr	w8, [x0, #8]
	b	LBB0_23
LBB0_21:
	add	w8, w9, w9, lsl #2
	cmp	w8, w10
	cset	w8, gt
LBB0_22:
	add	w8, w8, #1
LBB0_23:
	bfi	x22, x21, #3, #1
	stur	w8, [x29, #-96]
	sub	w8, w23, #1
	add	x25, x25, w8, uxtw #3
Lloh10:
	adrp	x26, _UNIT_SIZE@GOTPAGE
Lloh11:
	ldr	x26, [x26, _UNIT_SIZE@GOTPAGEOFF]
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	x9, [x26]
	sub	x21, x8, x9
	str	x21, [x19]
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	str	xzr, [x21]
	str	x22, [x21, #24]
	mov	x0, x21
	bl	_ONE_STATE
	ldur	q0, [x29, #-104]
	str	q0, [x0]
	mov	x0, x20
	bl	_REF
	str	x0, [x21, #16]
	sub	w23, w23, #1
	ldr	x20, [x25], #-8
	mov	x0, x21
	bl	_REF
	mov	x1, x0
	mov	x0, x20
	bl	_SetSuccessor
	mov	x20, x21
	cbz	w23, LBB0_31
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x19
	mov	w1, #0
	bl	_RemoveNode
	mov	x21, x0
	b	LBB0_25
LBB0_29:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x19
	mov	w1, #0
	bl	_AllocUnitsRare
	mov	x21, x0
	cbnz	x0, LBB0_25
; %bb.30:
	mov	x20, #0
	b	LBB0_32
LBB0_31:
	mov	x20, x21
LBB0_32:
	mov	sp, x24
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	mov	x0, x20
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PPMD8_MAX_ORDER,4,2            ; @PPMD8_MAX_ORDER
	.comm	_MAX_FREQ,4,2                   ; @MAX_FREQ
	.comm	_UNIT_SIZE,8,3                  ; @UNIT_SIZE
	.no_dead_strip	_CreateSuccessors
.subsections_via_symbols
