	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TREEVIEW_InsertAfter
_TREEVIEW_InsertAfter:                  ## @TREEVIEW_InsertAfter
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%rdx, %rdx
	setne	%dil
	callq	_assert
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	xorl	%edi, %edi
	cmpq	%r15, 32(%rbx)
	sete	%dil
	callq	_assert
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, 16(%rax)
LBB0_3:
	movq	%rax, 24(%r14)
	movq	%r14, 24(%rbx)
	jmp	LBB0_5
LBB0_4:
	movq	$0, 24(%r14)
LBB0_5:
	movq	%rbx, 16(%r14)
	cmpq	%rbx, 8(%r15)
	je	LBB0_6
## %bb.7:
	cmpq	$0, (%r15)
	je	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r14, 8(%r15)
	cmpq	$0, (%r15)
	jne	LBB0_9
LBB0_8:
	movq	%r14, (%r15)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_TREEVIEW_InsertAfter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TREEVIEW_InsertAfter
_TREEVIEW_InsertAfter:                  ; @TREEVIEW_InsertAfter
	.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, x2
	mov	x21, x1
	mov	x20, x0
	cmp	x2, #0
	cset	w0, ne
	bl	_assert
	cbz	x21, LBB0_4
; %bb.1:
	ldr	x8, [x21, #32]
	cmp	x8, x19
	cset	w0, eq
	bl	_assert
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_3
; %bb.2:
	str	x20, [x8, #16]
LBB0_3:
	str	x8, [x20, #24]
	str	x20, [x21, #24]
	b	LBB0_5
LBB0_4:
	str	xzr, [x20, #24]
LBB0_5:
	str	x21, [x20, #16]
	ldr	x8, [x19, #8]
	cmp	x8, x21
	b.eq	LBB0_8
; %bb.6:
	ldr	x8, [x19]
	cbz	x8, LBB0_9
LBB0_7:
	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
LBB0_8:
	str	x20, [x19, #8]
	ldr	x8, [x19]
	cbnz	x8, LBB0_7
LBB0_9:
	str	x20, [x19]
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_TREEVIEW_InsertAfter
.subsections_via_symbols
