	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_is_dir
_remote_is_dir:                         ## @remote_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
	movl	$1, %edx
	callq	_do_stat
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.3:
	movl	4(%rax), %edi
	popq	%rbp
	jmp	_S_ISDIR                        ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH2_FILEXFER_ATTR_PERMISSIONS,4,2 ## @SSH2_FILEXFER_ATTR_PERMISSIONS
	.no_dead_strip	_remote_is_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_is_dir
_remote_is_dir:                         ; @remote_is_dir
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w2, #1
	bl	_do_stat
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSH2_FILEXFER_ATTR_PERMISSIONS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x0, #4]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_S_ISDIR
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH2_FILEXFER_ATTR_PERMISSIONS,4,2 ; @SSH2_FILEXFER_ATTR_PERMISSIONS
	.no_dead_strip	_remote_is_dir
.subsections_via_symbols
