	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_item_path
_get_item_path:                         ## @get_item_path
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r13
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	%edi, %r12d
	movq	_TVIF_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	%rsi, -72(%rbp)
	leaq	-88(%rbp), %rsi
	callq	_TreeView_GetItem
	movq	_FALSE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, (%r14)
	movq	_TRUE@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_3:
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_TreeView_GetParent
	movl	%r12d, %edi
	movq	%rax, %rsi
	movq	%r14, %rdx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r13, %r8
	movq	%r15, %r9
	callq	_get_item_path
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	movslq	(%r13), %rcx
	movq	(%r14), %rax
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.6:
	movl	$92, (%rax,%rcx,4)
	movl	(%r13), %ecx
	incl	%ecx
	movl	%ecx, (%r13)
	jmp	LBB0_7
LBB0_5:
	xorl	%ecx, %ecx
LBB0_7:
	movl	(%r15), %r14d
	movq	_TVIF_TEXT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, -64(%rbp)
	movq	%rbx, -72(%rbp)
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, -88(%rbp)
	subl	%ecx, %r14d
	movl	%r14d, -80(%rbp)
	leaq	-88(%rbp), %rsi
	movl	%r12d, %edi
	callq	_TreeView_GetItem
	testl	%eax, %eax
	je	LBB0_14
## %bb.8:
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r14d, %rbx
	movq	-88(%rbp), %rdi
	callq	_wcslen
	decq	%rbx
	cmpq	%rbx, %rax
	jb	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r12d, %r15d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movl	(%r12), %ecx
	addl	%ecx, %ecx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapReAlloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, (%rbx)
	movl	(%r12), %r14d
	addl	%r14d, %r14d
	movl	%r14d, (%r12)
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movslq	(%r13), %rcx
	movq	_TVIF_TEXT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, -64(%rbp)
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, -72(%rbp)
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, -88(%rbp)
	subl	%ecx, %r14d
	movl	%r14d, -80(%rbp)
	movl	%r15d, %r12d
	movl	%r15d, %edi
	leaq	-88(%rbp), %rsi
	callq	_TreeView_GetItem
	testl	%eax, %eax
	jne	LBB0_9
LBB0_14:
	movq	_FALSE@GOTPCREL(%rip), %rcx
LBB0_15:
	movq	(%rcx), %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	addl	%eax, (%r13)
	movq	_TRUE@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_TVIF_PARAM,4,2                 ## @TVIF_PARAM
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_TVIF_TEXT,4,2                  ## @TVIF_TEXT
	.no_dead_strip	_get_item_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_item_path
_get_item_path:                         ; @get_item_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x5
	mov	x19, x4
	mov	x21, x3
	mov	x24, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _TVIF_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TVIF_PARAM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #32]
	str	x1, [sp, #24]
	add	x1, sp, #8
	bl	_TreeView_GetItem
	cbz	w0, LBB0_13
; %bb.1:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_4
; %bb.2:
	str	x8, [x24]
LBB0_3:
Lloh3:
	adrp	x24, _TRUE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
	b	LBB0_14
LBB0_4:
	mov	x0, x23
	mov	x1, x22
	bl	_TreeView_GetParent
	mov	x1, x0
	mov	x0, x23
	mov	x2, x24
	mov	x3, x21
	mov	x4, x19
	mov	x5, x20
	bl	_get_item_path
	cbz	x0, LBB0_13
; %bb.5:
	ldrsw	x9, [x19]
	ldr	x8, [x21]
	cbz	w9, LBB0_7
; %bb.6:
	mov	w10, #92
	str	w10, [x8, x9, lsl #2]
	ldr	w9, [x19]
	add	w9, w9, #1
	str	w9, [x19]
LBB0_7:
	ldr	w10, [x20]
Lloh5:
	adrp	x25, _TVIF_TEXT@GOTPAGE
Lloh6:
	ldr	x25, [x25, _TVIF_TEXT@GOTPAGEOFF]
	ldr	w11, [x25]
	str	w11, [sp, #32]
	str	x22, [sp, #24]
	add	x8, x8, w9, sxtw #2
	str	x8, [sp, #8]
	sub	w27, w10, w9
	str	w27, [sp, #16]
	add	x1, sp, #8
	mov	x0, x23
	bl	_TreeView_GetItem
Lloh7:
	adrp	x24, _FALSE@GOTPAGE
Lloh8:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
	cbz	w0, LBB0_14
; %bb.8:
Lloh9:
	adrp	x26, _TRUE@GOTPAGE
Lloh10:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x27, w27
	ldr	x0, [sp, #8]
	bl	_wcslen
	sub	x8, x27, #1
	cmp	x0, x8
	b.lo	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_GetProcessHeap
	ldr	x2, [x21]
	ldr	w8, [x20]
	lsl	w3, w8, #1
	mov	w1, #0
	bl	_HeapReAlloc
	cbz	x0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x0, [x21]
	ldr	w8, [x20]
	lsl	w8, w8, #1
	str	w8, [x20]
	ldr	x9, [x26]
	cbz	x9, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrsw	x9, [x19]
	ldr	w10, [x25]
	str	w10, [sp, #32]
	str	x22, [sp, #24]
	add	x10, x0, x9, lsl #2
	str	x10, [sp, #8]
	sub	w27, w8, w9
	str	w27, [sp, #16]
	add	x1, sp, #8
	mov	x0, x23
	bl	_TreeView_GetItem
	cbnz	w0, LBB0_9
	b	LBB0_14
LBB0_13:
Lloh11:
	adrp	x24, _FALSE@GOTPAGE
Lloh12:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
LBB0_14:
	ldr	x0, [x24]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_15:
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	b	LBB0_3
LBB0_16:
	mov	x24, x26
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_TVIF_PARAM,4,2                 ; @TVIF_PARAM
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_TVIF_TEXT,4,2                  ; @TVIF_TEXT
	.no_dead_strip	_get_item_path
.subsections_via_symbols
