	.file	"extr_mkpath.c_mkpath.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/"
.LC1:
	.string	"%s"
.LC2:
	.string	"%s: %s"
	.text
	.p2align 4
	.globl	mkpath
	.type	mkpath, @function
mkpath:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	lea	rbp, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r13, 4[rsp]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rax, QWORD PTR ENOENT[rip]
	cmp	QWORD PTR errno[rip], rax
	jne	.L6
	mov	esi, 511
	mov	rdi, r12
	call	mkdir@PLT
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR EEXIST[rip]
	cmp	QWORD PTR errno[rip], rax
	jne	.L6
.L5:
	mov	BYTE PTR [rbx], 47
	test	r14b, r14b
	je	.L15
.L7:
	mov	rdi, rbx
	mov	rsi, rbp
	call	strspn@PLT
	mov	rsi, rbp
	cdqe
	add	rbx, rax
	mov	rdi, rbx
	call	strcspn@PLT
	mov	rsi, r13
	mov	rdi, r12
	cdqe
	add	rbx, rax
	movzx	r14d, BYTE PTR [rbx]
	mov	BYTE PTR [rbx], 0
	call	stat@PLT
	test	rax, rax
	jne	.L16
	mov	edi, DWORD PTR 4[rsp]
	call	S_ISDIR@PLT
	test	eax, eax
	jne	.L5
	mov	edi, DWORD PTR ENOTDIR[rip]
	call	strerror@PLT
	mov	rsi, r12
	lea	rdi, .LC2[rip]
	mov	edx, eax
	call	warnx@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rsi, r12
	lea	rdi, .LC1[rip]
	call	warn@PLT
	mov	eax, -1
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mkpath, .-mkpath
	.comm	errno,8,8
	.comm	ENOTDIR,4,4
	.comm	ENOENT,8,8
	.comm	EEXIST,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_mkpath.c_mkpath.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"%s: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mkpath
	.syntax unified
	.arm
	.fpu softvfp
	.type	mkpath, %function
mkpath:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L18
	sub	sp, sp, #12
	mov	r7, r0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r4, r0
	ldr	r6, .L18+4
	ldr	r9, .L18+8
	ldr	r10, .L18+12
	b	.L7
.L16:
	ldr	r2, [r9]
	ldr	r3, [r10]
	cmp	r2, r3
	bne	.L6
	mov	r0, r7
	ldr	r1, .L18+16
	bl	mkdir
	cmp	r0, #0
	beq	.L5
	ldr	r3, .L18+20
	ldr	r2, [r9]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L6
.L5:
	mov	r3, #47
	cmp	r5, #0
	strb	r3, [r8, fp]
	beq	.L15
.L7:
	mov	r1, r6
	mov	r0, r4
	bl	strspn
	add	r8, r4, r0
	mov	r1, r6
	mov	r0, r8
	bl	strcspn
	mov	r3, #0
	mov	fp, r0
	ldrb	r5, [r8, r0]	@ zero_extendqisi2
	mov	r1, sp
	mov	r0, r7
	strb	r3, [r8, fp]
	bl	stat
	cmp	r0, #0
	add	r4, r8, fp
	bne	.L16
	ldr	r0, [sp]
	bl	S_ISDIR
	cmp	r0, #0
	bne	.L5
	ldr	r3, .L18+24
	ldr	r0, [r3]
	bl	strerror
	mov	r1, r7
	mov	r2, r0
	ldr	r0, .L18+28
	bl	warnx
	mvn	r0, #0
	b	.L1
.L15:
	mov	r0, r5
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mov	r1, r7
	ldr	r0, .L18+32
	bl	warn
	mvn	r0, #0
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC3
	.word	.LC0
	.word	errno
	.word	ENOENT
	.word	511
	.word	EEXIST
	.word	ENOTDIR
	.word	.LC2
	.word	.LC1
	.size	mkpath, .-mkpath
	.comm	errno,4,4
	.comm	ENOTDIR,4,4
	.comm	ENOENT,4,4
	.comm	EEXIST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
