	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function moveToNeighbor
_moveToNeighbor:                        ## @moveToNeighbor
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.2:
	movl	%edx, %r14d
	movq	%rsi, %r15
	movl	4(%rbx), %edi
	callq	_Vector_size
	cmpl	%r14d, %eax
	jle	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_MetersPanel_setMoving
	movl	4(%rbx), %edi
	movl	%r14d, %esi
	callq	_Vector_take
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_Panel_remove
	movl	4(%r15), %edi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_Vector_insert
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_Meter_toListItem
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_Panel_insert
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Panel_setSelected
	movl	$1, %r12d
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_MetersPanel_setMoving
LBB0_4:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_moveToNeighbor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function moveToNeighbor
_moveToNeighbor:                        ; @moveToNeighbor
	.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	w22, #0
	cbz	x1, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x20, x2
	mov	x19, x1
	ldr	w0, [x21, #4]
	bl	_Vector_size
	cmp	w0, w20
	b.le	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	w1, #0
	bl	_MetersPanel_setMoving
	ldr	w0, [x21, #4]
	mov	x1, x20
	bl	_Vector_take
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	bl	_Panel_remove
	ldr	w0, [x19, #4]
	mov	x1, x20
	mov	x2, x22
	bl	_Vector_insert
	mov	x0, x22
	mov	w1, #0
	bl	_Meter_toListItem
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_Panel_insert
	mov	x0, x19
	mov	x1, x20
	bl	_Panel_setSelected
	mov	w22, #1
	mov	x0, x19
	mov	w1, #1
	bl	_MetersPanel_setMoving
	b	LBB0_5
LBB0_4:
	mov	w22, #0
LBB0_5:
	mov	x0, x22
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_moveToNeighbor
.subsections_via_symbols
