	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RestartModel
_RestartModel:                          ## @RestartModel
	.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, %r14
	movl	128(%rdi), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	112(%r14), %rcx
	addq	120(%r14), %rcx
	movq	%rcx, 104(%r14)
	movslq	(%r14), %rdx
	addq	%rdx, %rcx
	leal	7(%rdx), %eax
	testq	%rdx, %rdx
	cmovnsl	%edx, %eax
	sarl	$3, %eax
	movq	_UNIT_SIZE@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rsi
	cltd
	idivl	%esi
                                        ## kill: def $eax killed $eax def $rax
	imull	%esi, %eax
	leal	(,%rax,8), %edx
	subl	%eax, %edx
	movslq	%edx, %rax
	movq	%rcx, %rdx
	subq	%rax, %rdx
	movq	%rdx, 96(%r14)
	movq	%rdx, 56(%r14)
	movl	8(%r14), %eax
	movl	%eax, 4(%r14)
	cmpl	$12, %eax
	movl	$12, %edi
	cmovll	%eax, %edi
	notl	%edi
	movl	%edi, 16(%r14)
	movl	%edi, 12(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 80(%r14)
	subq	%rsi, %rcx
	movq	%rcx, 64(%r14)
	movq	%rcx, 72(%r14)
	movq	%rcx, 48(%r14)
	movq	$0, 16(%rcx)
	movabsq	$1103806595328, %rax            ## imm = 0x10100000100
	movq	%rax, (%rcx)
	movq	%rdx, 40(%r14)
	movl	$128, %edi
	callq	_U2B
	addq	%rax, 56(%r14)
	movq	40(%r14), %rdi
	callq	_REF
	movq	48(%r14), %rcx
	movl	%eax, 8(%rcx)
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rax
	leaq	(%rax,%r15), %rdi
	movq	%rbx, 8(%rax,%r15)
	movl	$1, (%rax,%r15)
	xorl	%esi, %esi
	callq	_SetSuccessor
	incq	%rbx
	addq	$16, %r15
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	movq	32(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_kInitBinEsc@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	_PPMD_BIN_SCALE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	16(%r11), %r8d
	movl	(%r11), %r10d
	movl	4(%r11), %r15d
	movl	8(%r11), %r12d
	movl	12(%r11), %r13d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rdi,8), %rbx
	leal	2(%rdi), %ecx
	movl	%r10d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	subq	%rax, %rsi
	movq	%rsi, (%rbx)
	movq	%rsi, 64(%rbx)
	movq	%rsi, 128(%rbx)
	movq	%rsi, 192(%rbx)
	movq	%rsi, 256(%rbx)
	movq	%rsi, 320(%rbx)
	movq	%rsi, 384(%rbx)
	movq	%rsi, 448(%rbx)
	movq	_PPMD_BIN_SCALE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r9
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	movq	%r9, %rdx
	subq	%rax, %rdx
	movq	%rdx, 8(%rbx)
	movq	%rdx, 72(%rbx)
	movq	%rdx, 136(%rbx)
	movq	%rdx, 200(%rbx)
	movq	%rdx, 264(%rbx)
	movq	%rdx, 328(%rbx)
	movq	%rdx, 392(%rbx)
	movq	%rdx, 456(%rbx)
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	movq	%r9, %rdx
	subq	%rax, %rdx
	movq	%rdx, 16(%rbx)
	movq	%rdx, 80(%rbx)
	movq	%rdx, 144(%rbx)
	movq	%rdx, 208(%rbx)
	movq	%rdx, 272(%rbx)
	movq	%rdx, 336(%rbx)
	movq	%rdx, 400(%rbx)
	movq	%rdx, 464(%rbx)
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	movq	%r9, %rdx
	subq	%rax, %rdx
	movq	%rdx, 24(%rbx)
	movq	%rdx, 88(%rbx)
	movq	%rdx, 152(%rbx)
	movq	%rdx, 216(%rbx)
	movq	%rdx, 280(%rbx)
	movq	%rdx, 344(%rbx)
	movq	%rdx, 408(%rbx)
	movq	%rdx, 472(%rbx)
	movl	%r8d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	movq	%r9, %rdx
	subq	%rax, %rdx
	movq	%rdx, 32(%rbx)
	movq	%rdx, 96(%rbx)
	movq	%rdx, 160(%rbx)
	movq	%rdx, 224(%rbx)
	movq	%rdx, 288(%rbx)
	movq	%rdx, 352(%rbx)
	movq	%rdx, 416(%rbx)
	movq	%rdx, 480(%rbx)
	movl	20(%r11), %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	subq	%rax, %r9
	movq	%r9, 40(%rbx)
	movq	%r9, 104(%rbx)
	movq	%r9, 168(%rbx)
	movq	%r9, 232(%rbx)
	movq	%r9, 296(%rbx)
	movq	%r9, 360(%rbx)
	movq	%r9, 424(%rbx)
	movq	%r9, 488(%rbx)
	movq	(%rsi), %rsi
	movl	24(%r11), %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	movq	%rsi, %rdx
	subq	%rax, %rdx
	movq	%rdx, 48(%rbx)
	movq	%rdx, 112(%rbx)
	movq	%rdx, 176(%rbx)
	movq	%rdx, 240(%rbx)
	movq	%rdx, 304(%rbx)
	movq	%rdx, 368(%rbx)
	movq	%rdx, 432(%rbx)
	movq	%rdx, 496(%rbx)
	movl	28(%r11), %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	movq	%rsi, %rcx
	subq	%rax, %rcx
	movq	%rcx, 56(%rbx)
	movq	%rcx, 120(%rbx)
	movq	%rcx, 184(%rbx)
	movq	%rcx, 248(%rbx)
	movq	%rcx, 312(%rbx)
	movq	%rcx, 376(%rbx)
	movq	%rcx, 440(%rbx)
	movq	%rcx, 504(%rbx)
	incq	%rdi
	cmpq	$128, %rdi
	jne	LBB0_3
## %bb.4:
	movq	24(%r14), %r8
	xorl	%r9d, %r9d
	movq	_PPMD_PERIOD_BITS@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r8,%r9,8), %rdi
	leal	(%r9,%r9,4), %ebx
	addl	$10, %ebx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rsi), %ecx
	addl	$-4, %ecx
	movl	%ecx, (%rdi,%rax)
	movl	%ebx, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movq	%rdx, 8(%rdi,%rax)
	movl	$4, 4(%rdi,%rax)
	movl	(%rsi), %ecx
	addl	$-4, %ecx
	movl	%ecx, 16(%rdi,%rax)
	movl	%ebx, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movq	%rdx, 24(%rdi,%rax)
	movl	$4, 20(%rdi,%rax)
	addq	$32, %rax
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r9
	cmpq	$25, %r9
	jne	LBB0_5
## %bb.8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNIT_SIZE,4,2                  ## @UNIT_SIZE
	.comm	_PPMD_BIN_SCALE,8,3             ## @PPMD_BIN_SCALE
	.comm	_kInitBinEsc,8,3                ## @kInitBinEsc
	.comm	_PPMD_PERIOD_BITS,4,2           ## @PPMD_PERIOD_BITS
	.no_dead_strip	_RestartModel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function RestartModel
lCPI0_0:
	.long	256                             ; 0x100
	.long	257                             ; 0x101
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_RestartModel:                          ; @RestartModel
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w0, [x0, #128]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldp	x9, x8, [x19, #112]
	ldrsw	x10, [x19]
	add	x8, x9, x8
	add	x9, x8, x10
	str	x8, [x19, #104]
	add	w8, w10, #7
	cmp	w10, #0
	csel	w8, w8, w10, lt
	asr	w8, w8, #3
Lloh0:
	adrp	x10, _UNIT_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _UNIT_SIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x10, [x10]
	sdiv	w8, w8, w10
	ldr	w11, [x19, #8]
	str	w11, [x19, #4]
	mov	w12, #12
	cmp	w11, #12
	csel	w11, w11, w12, lt
	mvn	w11, w11
	stp	w11, w11, [x19, #12]
	mul	w8, w10, w8
	lsl	w11, w8, #3
	sub	w8, w11, w8
	sub	x8, x9, w8, sxtw
	stp	xzr, x8, [x19, #88]
	sub	x9, x9, x10
	stp	x8, x9, [x19, #56]
	stp	x9, xzr, [x19, #72]
	str	xzr, [x9, #16]
Lloh3:
	adrp	x10, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	str	d0, [x9]
	stp	x8, x9, [x19, #40]
	mov	w0, #128
	bl	_U2B
	ldr	x8, [x19, #56]
	add	x8, x8, x0
	str	x8, [x19, #56]
	ldr	x0, [x19, #40]
	bl	_REF
	mov	x20, #0
	mov	x21, #0
	ldr	x8, [x19, #48]
	str	w0, [x8, #8]
	mov	w22, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x0, x8, x20
	str	x21, [x0, #8]
	str	w22, [x0]
	mov	w1, #0
	bl	_SetSuccessor
	add	x21, x21, #1
	add	x20, x20, #16
	cmp	x21, #256
	b.ne	LBB0_1
; %bb.2:
	mov	x8, #0
	ldr	x9, [x19, #32]
Lloh5:
	adrp	x10, _kInitBinEsc@GOTPAGE
Lloh6:
	ldr	x10, [x10, _kInitBinEsc@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	adrp	x11, _PPMD_BIN_SCALE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _PPMD_BIN_SCALE@GOTPAGEOFF]
	ldr	x2, [x11]
	ldp	w16, w12, [x10, #12]
	ldp	w13, w14, [x10]
	ldr	w15, [x10, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x17, [x9, x8, lsl #3]
	add	w1, w8, #2
	udiv	w0, w13, w1
	sub	x0, x2, x0
	str	x0, [x17]
	ldr	x2, [x11]
	udiv	w3, w14, w1
	sub	x3, x2, x3
	udiv	w4, w15, w1
	sub	x4, x2, x4
	stp	x3, x4, [x17, #8]
	stp	x3, x4, [x17, #72]
	stp	x3, x4, [x17, #136]
	stp	x3, x4, [x17, #200]
	stp	x3, x4, [x17, #264]
	stp	x3, x4, [x17, #328]
	stp	x3, x4, [x17, #392]
	stp	x3, x4, [x17, #456]
	udiv	w3, w16, w1
	sub	x3, x2, x3
	udiv	w4, w12, w1
	sub	x4, x2, x4
	stp	x3, x4, [x17, #24]
	stp	x3, x4, [x17, #88]
	stp	x3, x4, [x17, #152]
	stp	x3, x4, [x17, #216]
	stp	x3, x4, [x17, #280]
	stp	x3, x4, [x17, #344]
	stp	x3, x4, [x17, #408]
	stp	x3, x4, [x17, #472]
	ldp	w3, w4, [x10, #20]
	udiv	w3, w3, w1
	sub	x3, x2, x3
	ldr	x2, [x11]
	udiv	w4, w4, w1
	sub	x4, x2, x4
	stp	x3, x4, [x17, #40]
	stp	x3, x4, [x17, #104]
	stp	x3, x4, [x17, #168]
	stp	x3, x4, [x17, #232]
	stp	x3, x4, [x17, #296]
	stp	x3, x4, [x17, #360]
	stp	x3, x4, [x17, #424]
	stp	x3, x4, [x17, #488]
	ldr	w3, [x10, #28]
	udiv	w1, w3, w1
	sub	x1, x2, x1
	stp	x1, x0, [x17, #56]
	stp	x1, x0, [x17, #120]
	stp	x1, x0, [x17, #184]
	stp	x1, x0, [x17, #248]
	stp	x1, x0, [x17, #312]
	stp	x1, x0, [x17, #376]
	stp	x1, x0, [x17, #440]
	str	x1, [x17, #504]
	add	x8, x8, #1
	cmp	x8, #128
	b.ne	LBB0_3
; %bb.4:
	mov	x8, #0
	ldr	x9, [x19, #24]
Lloh10:
	adrp	x10, _PPMD_PERIOD_BITS@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PPMD_PERIOD_BITS@GOTPAGEOFF]
	mov	w11, #4
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x12, #0
	ldr	x13, [x9, x8, lsl #3]
	add	w14, w8, w8, lsl #2
	add	w14, w14, #10
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w15, [x10]
	sub	w15, w15, #4
	add	x16, x13, x12
	lsl	w17, w14, w15
	str	x17, [x16, #8]
	stp	w15, w11, [x16]
	add	x12, x12, #16
	cmp	x12, #256
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	cmp	x8, #25
	b.ne	LBB0_5
; %bb.8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_UNIT_SIZE,4,2                  ; @UNIT_SIZE
	.comm	_PPMD_BIN_SCALE,8,3             ; @PPMD_BIN_SCALE
	.comm	_kInitBinEsc,8,3                ; @kInitBinEsc
	.comm	_PPMD_PERIOD_BITS,4,2           ; @PPMD_PERIOD_BITS
	.no_dead_strip	_RestartModel
.subsections_via_symbols
