	.file	"946597.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s : no arguments\n"
.LC1:
	.string	"Cannot make directory"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	lea	r11, -77824[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2248
	.cfi_offset 3, -24
	mov	DWORD PTR -80068[rbp], edi
	mov	QWORD PTR -80080[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -80068[rbp], 1
	jg	.L2
	mov	rax, QWORD PTR -80080[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -80080[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -80048[rbp], rax
	mov	DWORD PTR -80056[rbp], 0
.L6:
	mov	rax, QWORD PTR -80048[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -80040[rbp], rax
	cmp	QWORD PTR -80040[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR -80048[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -80056[rbp]
	cdqe
	mov	QWORD PTR -80032[rbp+rax*8], rdx
	nop
	mov	DWORD PTR -80052[rbp], 0
	jmp	.L7
.L3:
	mov	rax, QWORD PTR -80040[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -80040[rbp]
	add	rax, 1
	mov	ebx, DWORD PTR -80056[rbp]
	lea	edx, 1[rbx]
	mov	DWORD PTR -80056[rbp], edx
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	movsx	rax, ebx
	mov	QWORD PTR -80032[rbp+rax*8], rdx
	mov	rax, QWORD PTR -80040[rbp]
	mov	BYTE PTR [rax], 0
	jmp	.L6
.L8:
	mov	eax, DWORD PTR -80052[rbp]
	cdqe
	mov	rax, QWORD PTR -80032[rbp+rax*8]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -80052[rbp], 1
.L7:
	mov	eax, DWORD PTR -80052[rbp]
	cmp	eax, DWORD PTR -80056[rbp]
	jle	.L8
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"946597.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s : no arguments\012\000"
	.align	2
.LC1:
	.ascii	"Cannot make directory\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #39936
	sub	sp, sp, #100
	sub	r3, fp, #36864
	sub	r3, r3, #12
	str	r0, [r3, #-3164]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	str	r1, [r3, #-3168]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3164]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, .L11+4
	ldr	r0, [r3]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3168]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L11+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3168]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #36864
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [r4, #-3148]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3156]
.L6:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r1, #47
	ldr	r0, [r3, #-3148]
	bl	strrchr
	str	r0, [r4, #-3144]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3144]
	cmp	r3, #0
	bne	.L3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r0, [r3, #-3148]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3156]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-3140]
	nop
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3152]
	b	.L7
.L3:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3144]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L11+4
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L11+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3144]
	add	r2, r3, #1
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r4, [r3, #-3156]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r1, r3
	add	r3, r4, #1
	str	r3, [r1, #-3156]
	mov	r0, r2
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r4, #2
	add	r3, r1, r3
	str	r2, [r3, #-3140]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3144]
	mov	r2, #0
	strb	r2, [r3]
	b	.L6
.L8:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3152]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3140]
	mov	r0, r3
	bl	puts
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3152]
	add	r3, r3, #1
	str	r3, [r2, #-3152]
.L7:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r2, [r2, #-3152]
	ldr	r3, [r3, #-3156]
	cmp	r2, r3
	ble	.L8
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	stderr
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
