	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_model1_to_2
_update_model1_to_2:                    ## @update_model1_to_2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, -16(%rbp)
	movl	$2, -24(%rbp)
	movslq	4(%rdi), %rax
	leal	1(%rax), %ecx
	movl	%ecx, -20(%rbp)
	testq	%rax, %rax
	jle	LBB0_10
## %bb.1:
	movl	%eax, %eax
	cmpl	$8, %eax
	jae	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_3:
	movl	%eax, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %r8
	movq	%r8, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %edx
	andl	$7, %edx
	cmpq	$56, %r8
	jb	LBB0_6
## %bb.4:
	andq	$-8, %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addq	$-8, %rsi
	jne	LBB0_5
LBB0_6:
	testq	%rdx, %rdx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	decq	%rdx
	jne	LBB0_7
LBB0_8:
	cmpq	%rax, %rcx
	je	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_9
LBB0_10:
	leaq	-24(%rbp), %rsi
	movl	$24, %edx
	callq	_memcpy
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_model1_to_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_model1_to_2
_update_model1_to_2:                    ; @update_model1_to_2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	stp	xzr, xzr, [sp, #16]
	mov	w9, #2
	ldr	w8, [x0, #4]
	add	w10, w8, #1
	stp	w9, w10, [sp, #8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	cmp	w8, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x9, #0
	b	LBB0_6
LBB0_3:
	and	x9, x8, #0xfffffff0
	mov	x10, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	subs	x10, x10, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_6:
	lsl	x10, x9, #2
	sub	x8, x8, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x10, x10, #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	add	x1, sp, #8
	mov	w2, #24
	bl	_memcpy
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_model1_to_2
.subsections_via_symbols
