	.file	"extr_archive_read_disk_posix.c_tree_current_is_dir.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tree_current_is_dir, @function
tree_current_is_dir:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR hasLstat[rip], eax
	je	.L7
	call	tree_current_lstat@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR [rax]
	call	S_ISDIR@PLT
	mov	r8d, eax
	mov	eax, 1
	test	r8d, r8d
	jne	.L1
	mov	edi, DWORD PTR [rbx]
	call	S_ISLNK@PLT
	test	eax, eax
	je	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, rbp
	call	tree_current_stat@PLT
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR [rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	S_ISDIR@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tree_current_is_dir, .-tree_current_is_dir
	.comm	hasLstat,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_archive_read_disk_posix.c_tree_current_is_dir.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_current_is_dir, %function
tree_current_is_dir:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L19
	ldr	r2, [r0]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	tst	r2, r3
	mov	r4, r0
	beq	.L7
	bl	tree_current_lstat
	subs	r5, r0, #0
	beq	.L3
	ldr	r0, [r5]
	bl	S_ISDIR
	cmp	r0, #0
	beq	.L18
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L18:
	ldr	r0, [r5]
	bl	S_ISLNK
	cmp	r0, #0
	beq	.L3
.L7:
	mov	r0, r4
	bl	tree_current_stat
	cmp	r0, #0
	beq	.L3
	pop	{r4, r5, r6, lr}
	ldr	r0, [r0]
	b	S_ISDIR
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	hasLstat
	.size	tree_current_is_dir, .-tree_current_is_dir
	.comm	hasLstat,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
