	.file	"32949972.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s/%s"
.LC1:
	.string	"%llu\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
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 216
	.cfi_offset 3, -24
	mov	DWORD PTR -4308[rbp], edi
	mov	QWORD PTR -4320[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -4320[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -4288[rbp], rax
	mov	QWORD PTR -4296[rbp], 0
	jmp	.L2
.L11:
	mov	rax, QWORD PTR -4280[rbp]
	lea	rcx, 19[rax]
	mov	rax, QWORD PTR -4320[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -4128[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	esi, 4096
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	cmp	eax, 4095
	ja	.L2
	lea	rdx, -4272[rbp]
	lea	rax, -4128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	not	eax
	shr	eax, 31
	movzx	eax, al
	mov	DWORD PTR -4300[rbp], eax
	cmp	DWORD PTR -4300[rbp], 0
	je	.L4
	mov	eax, DWORD PTR -4248[rbp]
	and	eax, 61440
	cmp	eax, 32768
	jne	.L4
	mov	eax, 1
	jmp	.L5
.L4:
	mov	eax, 0
.L5:
	mov	DWORD PTR -4300[rbp], eax
	cmp	DWORD PTR -4300[rbp], 0
	je	.L6
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -4280[rbp]
	movzx	eax, BYTE PTR 19[rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	je	.L6
	mov	eax, 1
	jmp	.L7
.L6:
	mov	eax, 0
.L7:
	mov	DWORD PTR -4300[rbp], eax
	cmp	DWORD PTR -4300[rbp], 0
	je	.L8
	mov	ebx, DWORD PTR -4244[rbp]
	call	getuid@PLT
	cmp	ebx, eax
	jne	.L8
	mov	eax, 1
	jmp	.L9
.L8:
	mov	eax, 0
.L9:
	mov	DWORD PTR -4300[rbp], eax
	cmp	DWORD PTR -4300[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -4224[rbp]
	add	QWORD PTR -4296[rbp], rax
.L2:
	mov	rax, QWORD PTR -4288[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -4280[rbp], rax
	cmp	QWORD PTR -4280[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -4296[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4288[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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	"32949972.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s/%s\000"
	.align	2
.LC1:
	.ascii	"%llu\012\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 = 4224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #4224
	sub	sp, sp, #12
	sub	r3, fp, #4096
	sub	r3, r3, #20
	str	r0, [r3, #-124]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	str	r1, [r3, #-128]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-128]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r6, r2
	mov	r0, r3
	bl	opendir
	str	r0, [r6, #-116]
	sub	r3, fp, #4160
	sub	r3, r3, #20
	sub	r3, r3, #32
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	b	.L2
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-128]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-112]
	add	r3, r3, #11
	sub	r0, fp, #4096
	sub	r0, r0, #20
	sub	r0, r0, #4
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L14+4
	mov	r1, #4096
	bl	snprintf
	mov	r3, r0
	cmp	r3, #4096
	bcs	.L2
	sub	r2, fp, #4160
	sub	r2, r2, #20
	sub	r2, r2, #32
	sub	r3, fp, #4096
	sub	r3, r3, #20
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	sub	r2, fp, #4096
	sub	r2, r2, #20
	str	r3, [r2, #-108]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-108]
	cmp	r3, #0
	beq	.L4
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	and	r3, r3, #61440
	cmp	r3, #32768
	bne	.L4
	mov	r3, #1
	b	.L5
.L4:
	mov	r3, #0
.L5:
	sub	r2, fp, #4096
	sub	r2, r2, #20
	str	r3, [r2, #-108]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-108]
	cmp	r3, #0
	beq	.L6
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-112]
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L6
	mov	r3, #1
	b	.L7
.L6:
	mov	r3, #0
.L7:
	sub	r2, fp, #4096
	sub	r2, r2, #20
	str	r3, [r2, #-108]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-108]
	cmp	r3, #0
	beq	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r6, [r3, #-72]
	bl	getuid
	mov	r3, r0
	cmp	r6, r3
	bne	.L8
	mov	r3, #1
	b	.L9
.L8:
	mov	r3, #0
.L9:
	sub	r2, fp, #4096
	sub	r2, r2, #20
	str	r3, [r2, #-108]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-108]
	cmp	r3, #0
	beq	.L2
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-52]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #4160
	sub	r1, r1, #20
	sub	r1, r1, #32
	mov	ip, r1
	sub	r1, fp, #4160
	sub	r1, r1, #20
	sub	r1, r1, #32
	ldmdb	r1, {r0-r1}
	adds	r4, r0, r2
	adc	r5, r1, r3
	stmdb	ip, {r4-r5}
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r6, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-116]
	bl	readdir
	str	r0, [r6, #-112]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-112]
	cmp	r3, #0
	bne	.L11
	sub	r3, fp, #4160
	sub	r3, r3, #20
	sub	r3, r3, #32
	ldmdb	r3, {r2-r3}
	ldr	r0, .L14+8
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-116]
	bl	closedir
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC2
	.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
