	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _reset_thread
__reset_thread:                         ## @_reset_thread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movslq	(%rdi), %rdx
	movslq	(%rcx), %r8
	imulq	%r8, %rdx
	movq	16(%rcx), %rsi
	addq	%rdx, %rsi
	movq	%rsi, 16(%rax)
	addq	8(%rcx), %rdx
	movq	%rdx, 8(%rax)
	movq	$0, (%rax)
	movl	%r8d, %ecx
	shrl	$31, %ecx
	addl	%r8d, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	addq	%rcx, %rsi
	movq	%rsi, 40(%rax)
	addq	%rcx, %rdx
	movq	%rdx, 32(%rax)
	movq	$0, 24(%rax)
	movl	$-1, 4(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__reset_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _reset_thread
__reset_thread:                         ; @_reset_thread
	.cfi_startproc
; %bb.0:
	ldrsw	x8, [x0]
	ldp	x10, x9, [x0, #8]
	ldrsw	x11, [x9]
	mul	x8, x11, x8
	ldp	x9, x12, [x9, #8]
	cmp	w11, #0
	cinc	w11, w11, lt
	sbfx	x11, x11, #1, #31
	add	x9, x9, x8
	add	x13, x9, x11
	stp	xzr, x9, [x10]
	add	x8, x12, x8
	add	x9, x8, x11
	stp	x13, x9, [x10, #32]
	stp	x8, xzr, [x10, #16]
	mov	w8, #-1
	str	w8, [x0, #4]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__reset_thread
.subsections_via_symbols
