	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_current_is_dir
_tree_current_is_dir:                   ## @tree_current_is_dir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_hasLstat@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_tree_current_lstat
	movq	%rax, %r14
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_6
## %bb.2:
	movl	(%r14), %edi
	callq	_S_ISDIR
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.3:
	movl	(%r14), %edi
	callq	_S_ISLNK
	movl	%eax, %ecx
	movl	$0, %eax
	testl	%ecx, %ecx
	je	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_tree_current_stat
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_S_ISDIR                        ## TAILCALL
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hasLstat,4,2                   ## @hasLstat
	.no_dead_strip	_tree_current_is_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_current_is_dir
_tree_current_is_dir:                   ; @tree_current_is_dir
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _hasLstat@GOTPAGE
Lloh1:
	ldr	x9, [x9, _hasLstat@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_tree_current_lstat
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
	ldr	w0, [x0]
	bl	_S_ISDIR
	cbz	w0, LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_7
LBB0_4:
	ldr	w0, [x20]
	bl	_S_ISLNK
	cbz	w0, LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_tree_current_stat
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_S_ISDIR
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_hasLstat,4,2                   ; @hasLstat
	.no_dead_strip	_tree_current_is_dir
.subsections_via_symbols
