	.file	"634058.c"
	.intel_syntax noprefix
	.text
	.globl	buff_path
	.bss
	.align 32
	.type	buff_path, @object
	.size	buff_path, 100
buff_path:
	.zero	100
	.globl	pt_Dir
	.align 8
	.type	pt_Dir, @object
	.size	pt_Dir, 8
pt_Dir:
	.zero	8
	.globl	dirEnt
	.align 8
	.type	dirEnt, @object
	.size	dirEnt, 8
dirEnt:
	.zero	8
	.section	.rodata
.LC0:
	.string	"erreur getwcd \n"
.LC1:
	.string	"erreur mkdir\n"
.LC2:
	.string	"erreur opendir \n"
	.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
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 1
	jne	.L2
	mov	esi, 100
	lea	rdi, buff_path[rip]
	call	getcwd@PLT
	test	rax, rax
	jne	.L3
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, buff_path[rip]
	call	memcpy@PLT
.L3:
	lea	rdi, buff_path[rip]
	call	opendir@PLT
	mov	QWORD PTR pt_Dir[rip], rax
	mov	rax, QWORD PTR pt_Dir[rip]
	test	rax, rax
	jne	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L5
	mov	esi, 448
	lea	rdi, buff_path[rip]
	call	mkdir@PLT
	cmp	eax, -1
	jne	.L6
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	eax, 0
	jmp	.L7
.L5:
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	rax, QWORD PTR dirEnt[rip]
	add	rax, 19
	mov	rdi, rax
	call	puts@PLT
.L8:
	mov	rax, QWORD PTR pt_Dir[rip]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR dirEnt[rip], rax
	mov	rax, QWORD PTR dirEnt[rip]
	test	rax, rax
	jne	.L9
	mov	rax, QWORD PTR pt_Dir[rip]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, 0
.L7:
	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	"634058.c"
	.text
	.comm	buff_path,100,4
	.comm	pt_Dir,4,4
	.comm	dirEnt,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"erreur getwcd \012\000"
	.align	2
.LC1:
	.ascii	"erreur mkdir\012\000"
	.align	2
.LC2:
	.ascii	"erreur opendir \012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L2
	mov	r1, #100
	ldr	r0, .L10
	bl	getcwd
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L10+4
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r4, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L10
	bl	memcpy
.L3:
	ldr	r0, .L10
	bl	opendir
	mov	r3, r0
	ldr	r2, .L10+8
	str	r3, [r2]
	ldr	r3, .L10+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L8
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L5
	mov	r1, #448
	ldr	r0, .L10
	bl	mkdir
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L10+12
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	mov	r3, #0
	b	.L7
.L5:
	ldr	r0, .L10+16
	bl	perror
	mov	r0, #1
	bl	exit
.L9:
	ldr	r3, .L10+20
	ldr	r3, [r3]
	add	r3, r3, #11
	mov	r0, r3
	bl	puts
.L8:
	ldr	r3, .L10+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	readdir
	mov	r3, r0
	ldr	r2, .L10+20
	str	r3, [r2]
	ldr	r3, .L10+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L10+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	closedir
	mov	r3, #0
.L7:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	buff_path
	.word	.LC0
	.word	pt_Dir
	.word	.LC1
	.word	.LC2
	.word	dirEnt
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
