	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetRootPath                    ## -- Begin function GetRootPath
	.p2align	4, 0x90
_GetRootPath:                           ## @GetRootPath
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	cmpq	$0, (%rdi)
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r13
	movq	8(%rdi), %rbx
	movl	$58, %edi
	callq	__T
	cmpq	%rax, %rbx
	jne	LBB0_12
## %bb.2:
	movq	(%r13), %rbx
	movl	$48, %edi
	callq	__T
	xorl	%r12d, %r12d
	cmpq	%rax, %rbx
	jl	LBB0_5
## %bb.3:
	movq	(%r13), %rbx
	movl	$57, %edi
	callq	__T
	cmpq	%rax, %rbx
	jg	LBB0_5
## %bb.4:
	movl	(%r13), %r12d
	movl	$48, %edi
	callq	__T
	subl	%eax, %r12d
	addl	$28, %r12d
LBB0_5:
	movq	(%r13), %rbx
	movl	$97, %edi
	callq	__T
	cmpq	%rax, %rbx
	jl	LBB0_8
## %bb.6:
	movq	(%r13), %rbx
	movl	$122, %edi
	callq	__T
	cmpq	%rax, %rbx
	jg	LBB0_8
## %bb.7:
	movl	(%r13), %r12d
	movl	$97, %edi
	callq	__T
	subl	%eax, %r12d
	incl	%r12d
	movslq	%r12d, %rbx
	movl	$65, %edi
	callq	__T
	addq	%rbx, %rax
	decq	%rax
	movq	%rax, (%r13)
LBB0_8:
	movq	(%r13), %rbx
	movl	$65, %edi
	callq	__T
	cmpq	%rax, %rbx
	jl	LBB0_11
## %bb.9:
	movq	(%r13), %rbx
	movl	$90, %edi
	callq	__T
	cmpq	%rax, %rbx
	jg	LBB0_11
## %bb.10:
	movl	(%r13), %r12d
	movl	$65, %edi
	callq	__T
	subl	%eax, %r12d
	incl	%r12d
LBB0_11:
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	__tgetdcwd
	testq	%rax, %rax
	jmp	LBB0_13
LBB0_12:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_GetCurrentDirectory
	testl	%eax, %eax
LBB0_13:
	sete	%al
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetRootPath                    ; -- Begin function GetRootPath
	.p2align	2
_GetRootPath:                           ; @GetRootPath
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	x22, [x0, #8]
	mov	w0, #58
	bl	__T
	cmp	x22, x0
	b.ne	LBB0_5
; %bb.2:
	ldr	x22, [x21]
	mov	w0, #48
	bl	__T
	cmp	x22, x0
	b.lt	LBB0_4
; %bb.3:
	ldr	x22, [x21]
	mov	w0, #57
	bl	__T
	cmp	x22, x0
	b.le	LBB0_6
LBB0_4:
	mov	w22, #0
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_GetCurrentDirectory
	cmp	w0, #0
	b	LBB0_14
LBB0_6:
	ldr	w22, [x21]
	mov	w0, #48
	bl	__T
	sub	w8, w22, w0
	add	w22, w8, #28
LBB0_7:
	ldr	x23, [x21]
	mov	w0, #97
	bl	__T
	cmp	x23, x0
	b.lt	LBB0_10
; %bb.8:
	ldr	x23, [x21]
	mov	w0, #122
	bl	__T
	cmp	x23, x0
	b.gt	LBB0_10
; %bb.9:
	ldr	w22, [x21]
	mov	w0, #97
	bl	__T
	sub	w8, w22, w0
	add	w22, w8, #1
	mov	w0, #65
	bl	__T
	add	x8, x0, w22, sxtw
	sub	x8, x8, #1
	str	x8, [x21]
LBB0_10:
	ldr	x23, [x21]
	mov	w0, #65
	bl	__T
	cmp	x23, x0
	b.lt	LBB0_13
; %bb.11:
	ldr	x23, [x21]
	mov	w0, #90
	bl	__T
	cmp	x23, x0
	b.gt	LBB0_13
; %bb.12:
	ldr	w21, [x21]
	mov	w0, #65
	bl	__T
	sub	w8, w21, w0
	add	w22, w8, #1
LBB0_13:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	__tgetdcwd
	cmp	x0, #0
LBB0_14:
	cset	w0, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
