	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function model_reset
_model_reset:                           ## @model_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, (%rdi)
	movq	8(%rdi), %r8
	js	LBB0_3
## %bb.1:
	movq	16(%rdi), %rcx
	movq	$-1, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, 4(%r8,%rdx,4)
	movl	(%rdi), %eax
	addl	%esi, %eax
	movl	%eax, 4(%rcx,%rdx,4)
	movslq	(%rdi), %rax
	incq	%rdx
	decl	%esi
	cmpq	%rax, %rdx
	jl	LBB0_2
LBB0_3:
	movl	$0, (%r8)
	cmpl	$0, (%rdi)
	jle	LBB0_6
## %bb.4:
	movq	24(%rdi), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, 4(%rax,%rcx,4)
	leaq	1(%rcx), %rdx
	movslq	(%rdi), %rsi
	movq	%rdx, %rcx
	cmpq	%rsi, %rdx
	jl	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_model_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function model_reset
_model_reset:                           ; @model_reset
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	ldr	x8, [x0, #8]
	tbnz	w9, #31, LBB0_3
; %bb.1:
	mov	w9, #0
	mov	x11, #0
	ldr	x10, [x0, #16]
	mov	w12, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x13, x11, #2
	str	w12, [x8, x13]
	ldr	w14, [x0]
	add	w14, w9, w14
	str	w14, [x10, x13]
	add	x13, x11, #1
	ldrsw	x14, [x0]
	sub	w9, w9, #1
	cmp	x11, x14
	mov	x11, x13
	b.lt	LBB0_2
LBB0_3:
	str	wzr, [x8]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x9, #0
	ldr	x8, [x0, #24]
	add	x8, x8, #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	w9, [x8, x9, lsl #2]
	add	x10, x9, #1
	ldrsw	x11, [x0]
	mov	x9, x10
	cmp	x10, x11
	b.lt	LBB0_5
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_model_reset
.subsections_via_symbols
