	.file	"extr_file.c_dir_current.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/"
	.text
	.p2align 4
	.type	dir_current, @function
dir_current:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	test	rdi, rdi
	mov	r13d, DWORD PTR ISC_R_SUCCESS[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	setne	dil
	movzx	edi, dil
	call	REQUIRE@PLT
	xor	edi, edi
	test	r12, r12
	setne	dil
	call	REQUIRE@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	getcwd@PLT
	test	rax, rax
	je	.L9
	mov	rdi, rbp
	call	strlen@PLT
	add	eax, 1
	cdqe
	cmp	rax, r12
	je	.L7
	cmp	BYTE PTR 1[rbp], 0
	jne	.L10
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r13d, DWORD PTR ISC_R_NOSPACE[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, QWORD PTR errno[rip]
	cmp	rdi, QWORD PTR ERANGE[rip]
	je	.L7
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	isc__errno2result@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdx, r12
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	call	strlcat@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dir_current, .-dir_current
	.comm	errno,8,8
	.comm	ISC_R_SUCCESS,4,4
	.comm	ISC_R_NOSPACE,4,4
	.comm	ERANGE,8,8
	.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_file.c_dir_current.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dir_current, %function
dir_current:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	ldr	r3, .L13
	subs	r0, r0, #0
	movne	r0, #1
	ldr	r6, [r3]
	bl	REQUIRE
	subs	r0, r5, #0
	movne	r0, #1
	bl	REQUIRE
	mov	r1, r5
	mov	r0, r4
	bl	getcwd
	cmp	r0, #0
	beq	.L11
	mov	r0, r4
	bl	strlen
	add	r0, r0, #1
	cmp	r0, r5
	beq	.L5
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r2, .L13+4
	ldr	r3, .L13+8
	ldr	r0, [r2]
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L3
.L5:
	ldr	r3, .L13+12
	ldr	r6, [r3]
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L3:
	pop	{r4, r5, r6, lr}
	b	isc__errno2result
.L12:
	mov	r2, r5
	mov	r0, r4
	ldr	r1, .L13+16
	bl	strlcat
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	ISC_R_SUCCESS
	.word	errno
	.word	ERANGE
	.word	ISC_R_NOSPACE
	.word	.LC0
	.size	dir_current, .-dir_current
	.comm	errno,4,4
	.comm	ISC_R_SUCCESS,4,4
	.comm	ISC_R_NOSPACE,4,4
	.comm	ERANGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
