	.file	"77077.c"
	.intel_syntax noprefix
	.text
	.globl	ftypes
	.section	.rodata
.LC0:
	.string	"unknown files"
.LC1:
	.string	"regular files"
.LC2:
	.string	"directories"
.LC3:
	.string	"block special"
.LC4:
	.string	"char special"
.LC5:
	.string	"FIFO special"
.LC6:
	.string	"symbolic links"
.LC7:
	.string	"sockets special"
	.section	.data.rel.local,"aw"
	.align 32
	.type	ftypes, @object
	.size	ftypes, 128
ftypes:
	.quad	.LC0
	.quad	0
	.quad	.LC1
	.quad	0
	.quad	.LC2
	.quad	0
	.quad	.LC3
	.quad	0
	.quad	.LC4
	.quad	0
	.quad	.LC5
	.quad	0
	.quad	.LC6
	.quad	0
	.quad	.LC7
	.quad	0
	.section	.rodata
	.align 8
.LC8:
	.string	"usage: %s <starting-pathname>\n"
.LC10:
	.string	"%s\t= %7ld, %5.2f %%\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	cmp	DWORD PTR -36[rbp], 2
	je	.L2
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L3
.L2:
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, _stat_func[rip]
	mov	rdi, rax
	call	_myftw
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, ftypes[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	add	QWORD PTR -16[rbp], rax
	add	DWORD PTR -24[rbp], 1
.L4:
	cmp	DWORD PTR -24[rbp], 7
	jle	.L5
	cmp	QWORD PTR -16[rbp], 0
	jne	.L6
	mov	QWORD PTR -16[rbp], 1
.L6:
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, ftypes[rip]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -16[rbp]
	divsd	xmm0, xmm1
	movq	rcx, xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -24[rbp], 1
.L7:
	cmp	DWORD PTR -24[rbp], 7
	jle	.L8
	mov	eax, DWORD PTR -20[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC11:
	.string	"for S_FIDIR for %s\n"
.LC12:
	.string	"can't read directory %s\n"
.LC13:
	.string	"stat error for %s\n"
	.align 8
.LC14:
	.string	"unknown ftw type %d for pathname %s\n"
	.text
	.type	_stat_func, @function
_stat_func:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -36[rbp], 4
	je	.L10
	cmp	DWORD PTR -36[rbp], 4
	jg	.L11
	cmp	DWORD PTR -36[rbp], 3
	je	.L12
	cmp	DWORD PTR -36[rbp], 3
	jg	.L11
	cmp	DWORD PTR -36[rbp], 1
	je	.L13
	cmp	DWORD PTR -36[rbp], 2
	je	.L14
	jmp	.L11
.L13:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 61440
	cmp	eax, 49152
	je	.L15
	cmp	eax, 49152
	ja	.L24
	cmp	eax, 32768
	je	.L17
	cmp	eax, 32768
	ja	.L24
	cmp	eax, 24576
	je	.L18
	cmp	eax, 24576
	ja	.L24
	cmp	eax, 16384
	je	.L19
	cmp	eax, 16384
	ja	.L24
	cmp	eax, 4096
	je	.L20
	cmp	eax, 8192
	je	.L21
	jmp	.L24
.L17:
	mov	DWORD PTR -4[rbp], 1
	jmp	.L16
.L18:
	mov	DWORD PTR -4[rbp], 3
	jmp	.L16
.L21:
	mov	DWORD PTR -4[rbp], 4
	jmp	.L16
.L20:
	mov	DWORD PTR -4[rbp], 5
	jmp	.L16
.L15:
	mov	DWORD PTR -4[rbp], 7
	jmp	.L16
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L16:
	jmp	.L24
.L14:
	mov	DWORD PTR -4[rbp], 2
	jmp	.L22
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L11:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L24:
	nop
.L22:
	mov	eax, DWORD PTR -4[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, ftypes[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	lea	rcx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, ftypes[rip+8]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	_stat_func, .-_stat_func
	.section	.rodata
.LC15:
	.string	"."
.LC16:
	.string	".."
.LC17:
	.string	"%s/%s"
	.text
	.type	_dopath, @function
_dopath:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1232
	mov	QWORD PTR -1224[rbp], rdi
	mov	QWORD PTR -1232[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -1184[rbp]
	mov	eax, 0
	mov	ecx, 18
	mov	rdi, rdx
	rep stosq
	lea	rdx, -1184[rbp]
	mov	rax, QWORD PTR -1224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lstat@PLT
	test	eax, eax
	jns	.L26
	lea	rcx, -1184[rbp]
	mov	rax, QWORD PTR -1224[rbp]
	mov	r8, QWORD PTR -1232[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	rdi, rax
	call	r8
	jmp	.L38
.L26:
	mov	eax, DWORD PTR -1160[rbp]
	and	eax, 61440
	cmp	eax, 16384
	je	.L28
	lea	rcx, -1184[rbp]
	mov	rax, QWORD PTR -1224[rbp]
	mov	r8, QWORD PTR -1232[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	r8
	jmp	.L38
.L28:
	lea	rcx, -1184[rbp]
	mov	rax, QWORD PTR -1224[rbp]
	mov	r8, QWORD PTR -1232[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	rdi, rax
	call	r8
	mov	DWORD PTR -1212[rbp], eax
	cmp	DWORD PTR -1212[rbp], 0
	je	.L29
	mov	eax, DWORD PTR -1212[rbp]
	jmp	.L38
.L29:
	mov	rax, QWORD PTR -1224[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -1208[rbp], rax
	cmp	QWORD PTR -1208[rbp], 0
	jne	.L30
	lea	rcx, -1184[rbp]
	mov	rax, QWORD PTR -1224[rbp]
	mov	r8, QWORD PTR -1232[rbp]
	mov	edx, 3
	mov	rsi, rcx
	mov	rdi, rax
	call	r8
	jmp	.L38
.L30:
	mov	QWORD PTR -1200[rbp], 0
	mov	QWORD PTR -1192[rbp], 0
.L37:
	mov	rax, QWORD PTR -1208[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -1200[rbp], rax
	cmp	QWORD PTR -1200[rbp], 0
	je	.L40
	mov	rax, QWORD PTR -1200[rbp]
	add	rax, 19
	mov	QWORD PTR -1192[rbp], rax
	mov	rax, QWORD PTR -1192[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L41
	mov	rax, QWORD PTR -1192[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L41
	mov	QWORD PTR -1040[rbp], 0
	mov	QWORD PTR -1032[rbp], 0
	lea	rdx, -1024[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	mov	rcx, QWORD PTR -1192[rbp]
	mov	rdx, QWORD PTR -1224[rbp]
	lea	rax, -1040[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC17[rip]
	mov	esi, 1024
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	rdx, QWORD PTR -1232[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	_dopath
	mov	DWORD PTR -1212[rbp], eax
	cmp	DWORD PTR -1212[rbp], 0
	je	.L37
	jmp	.L32
.L40:
	nop
.L32:
	mov	rax, QWORD PTR -1208[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, DWORD PTR -1212[rbp]
	jmp	.L38
.L41:
	nop
	jmp	.L37
.L38:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	_dopath, .-_dopath
	.section	.rodata
.LC18:
	.string	"%s"
	.text
	.type	_myftw, @function
_myftw:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 544
	mov	QWORD PTR -536[rbp], rdi
	mov	QWORD PTR -544[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	lea	rdx, -512[rbp]
	mov	eax, 0
	mov	ecx, 62
	mov	rdi, rdx
	rep stosq
	mov	rdx, QWORD PTR -536[rbp]
	lea	rax, -528[rbp]
	mov	rcx, rdx
	lea	rdx, .LC18[rip]
	mov	esi, 512
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -528[rbp]
	lea	rsi, _stat_func[rip]
	mov	rdi, rax
	call	_dopath
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	_myftw, .-_myftw
	.section	.rodata
	.align 8
.LC9:
	.long	0
	.long	1079574528
	.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	"77077.c"
	.text
	.global	ftypes
	.section	.rodata
	.align	2
.LC0:
	.ascii	"unknown files\000"
	.align	2
.LC1:
	.ascii	"regular files\000"
	.align	2
.LC2:
	.ascii	"directories\000"
	.align	2
.LC3:
	.ascii	"block special\000"
	.align	2
.LC4:
	.ascii	"char special\000"
	.align	2
.LC5:
	.ascii	"FIFO special\000"
	.align	2
.LC6:
	.ascii	"symbolic links\000"
	.align	2
.LC7:
	.ascii	"sockets special\000"
	.data
	.align	2
	.type	ftypes, %object
	.size	ftypes, 64
ftypes:
	.word	.LC0
	.word	0
	.word	.LC1
	.word	0
	.word	.LC2
	.word	0
	.word	.LC3
	.word	0
	.word	.LC4
	.word	0
	.word	.LC5
	.word	0
	.word	.LC6
	.word	0
	.word	.LC7
	.word	0
	.section	.rodata
	.align	2
.LC8:
	.ascii	"usage: %s <starting-pathname>\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
.LC9:
	.ascii	"%s\011= %7ld, %5.2f %%\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	beq	.L2
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L9
	bl	printf
	mov	r3, #1
	b	.L3
.L2:
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L9+4
	mov	r0, r3
	bl	_myftw
	str	r0, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L4
.L5:
	ldr	r2, .L9+8
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L4:
	ldr	r3, [fp, #-32]
	cmp	r3, #7
	ble	.L5
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L6
	mov	r3, #1
	str	r3, [fp, #-36]
.L6:
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L7
.L8:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, .L9+8
	add	r3, r3, r2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r4, [r3]
	ldr	r3, [fp, #-24]
	ldr	r5, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L9+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L9+16
	bl	printf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L7:
	ldr	r3, [fp, #-32]
	cmp	r3, #7
	ble	.L8
	ldr	r3, [fp, #-28]
.L3:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC8
	.word	_stat_func
	.word	ftypes
	.word	1079574528
	.word	.LC9
	.size	main, .-main
	.section	.rodata
	.align	2
.LC10:
	.ascii	"for S_FIDIR for %s\012\000"
	.align	2
.LC11:
	.ascii	"can't read directory %s\012\000"
	.align	2
.LC12:
	.ascii	"stat error for %s\012\000"
	.align	2
.LC13:
	.ascii	"unknown ftw type %d for pathname %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_stat_func, %function
_stat_func:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L12
.L14:
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L13
.L17:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	and	r3, r3, #61440
	cmp	r3, #49152
	beq	.L18
	cmp	r3, #49152
	bhi	.L27
	cmp	r3, #32768
	beq	.L20
	cmp	r3, #32768
	bhi	.L27
	cmp	r3, #24576
	beq	.L21
	cmp	r3, #24576
	bhi	.L27
	cmp	r3, #16384
	beq	.L22
	cmp	r3, #16384
	bhi	.L27
	cmp	r3, #4096
	beq	.L23
	cmp	r3, #8192
	beq	.L24
	b	.L27
.L20:
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L19
.L21:
	mov	r3, #3
	str	r3, [fp, #-8]
	b	.L19
.L24:
	mov	r3, #4
	str	r3, [fp, #-8]
	b	.L19
.L23:
	mov	r3, #5
	str	r3, [fp, #-8]
	b	.L19
.L18:
	mov	r3, #7
	str	r3, [fp, #-8]
	b	.L19
.L22:
	ldr	r1, [fp, #-16]
	ldr	r0, .L28
	bl	printf
	nop
.L19:
	b	.L27
.L16:
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L25
.L15:
	ldr	r1, [fp, #-16]
	ldr	r0, .L28+4
	bl	printf
	b	.L25
.L13:
	ldr	r1, [fp, #-16]
	ldr	r0, .L28+8
	bl	printf
	b	.L25
.L12:
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-24]
	ldr	r0, .L28+12
	bl	printf
	b	.L25
.L27:
	nop
.L25:
	ldr	r2, .L28+16
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r1, .L28+16
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	ftypes
	.size	_stat_func, .-_stat_func
	.section	.rodata
	.align	2
.LC14:
	.ascii	".\000"
	.align	2
.LC15:
	.ascii	"..\000"
	.align	2
.LC16:
	.ascii	"%s/%s\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_dopath, %function
_dopath:
	@ args = 0, pretend = 0, frame = 1144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1152
	str	r0, [fp, #-1144]
	str	r1, [fp, #-1148]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1120
	sub	r3, r3, #4
	mov	r2, #88
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1120
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1144]
	bl	lstat
	mov	r3, r0
	cmp	r3, #0
	bge	.L31
	sub	r1, fp, #1120
	sub	r1, r1, #4
	ldr	r3, [fp, #-1148]
	mov	r2, #4
	ldr	r0, [fp, #-1144]
	blx	r3
	mov	r3, r0
	b	.L43
.L31:
	ldr	r3, [fp, #-1108]
	and	r3, r3, #61440
	cmp	r3, #16384
	beq	.L33
	sub	r1, fp, #1120
	sub	r1, r1, #4
	ldr	r3, [fp, #-1148]
	mov	r2, #1
	ldr	r0, [fp, #-1144]
	blx	r3
	mov	r3, r0
	b	.L43
.L33:
	sub	r1, fp, #1120
	sub	r1, r1, #4
	ldr	r3, [fp, #-1148]
	mov	r2, #2
	ldr	r0, [fp, #-1144]
	blx	r3
	str	r0, [fp, #-1140]
	ldr	r3, [fp, #-1140]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-1140]
	b	.L43
.L34:
	ldr	r0, [fp, #-1144]
	bl	opendir
	str	r0, [fp, #-1136]
	ldr	r3, [fp, #-1136]
	cmp	r3, #0
	bne	.L35
	sub	r1, fp, #1120
	sub	r1, r1, #4
	ldr	r3, [fp, #-1148]
	mov	r2, #3
	ldr	r0, [fp, #-1144]
	blx	r3
	mov	r3, r0
	b	.L43
.L35:
	mov	r3, #0
	str	r3, [fp, #-1132]
	mov	r3, #0
	str	r3, [fp, #-1128]
.L42:
	ldr	r0, [fp, #-1136]
	bl	readdir
	str	r0, [fp, #-1132]
	ldr	r3, [fp, #-1132]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-1132]
	add	r3, r3, #11
	str	r3, [fp, #-1128]
	ldr	r1, [fp, #-1128]
	ldr	r0, .L47+4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r1, [fp, #-1128]
	ldr	r0, .L47+8
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	mov	r3, #0
	str	r3, [fp, #-1032]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #1024
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, [fp, #-1128]
	str	r3, [sp]
	ldr	r3, [fp, #-1144]
	ldr	r2, .L47+12
	mov	r1, #1024
	bl	snprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1148]
	mov	r0, r3
	bl	_dopath
	str	r0, [fp, #-1140]
	ldr	r3, [fp, #-1140]
	cmp	r3, #0
	beq	.L42
	b	.L37
.L45:
	nop
.L37:
	ldr	r0, [fp, #-1136]
	bl	closedir
	ldr	r3, [fp, #-1140]
	b	.L43
.L46:
	nop
	b	.L42
.L43:
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC17
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	_dopath, .-_dopath
	.section	.rodata
	.align	2
.LC18:
	.ascii	"%s\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_myftw, %function
_myftw:
	@ args = 0, pretend = 0, frame = 528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #528
	str	r0, [fp, #-528]
	str	r1, [fp, #-532]
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-520]
	sub	r3, fp, #516
	mov	r2, #508
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #520
	ldr	r3, [fp, #-528]
	ldr	r2, .L52+4
	mov	r1, #512
	bl	snprintf
	sub	r3, fp, #520
	ldr	r1, .L52+8
	mov	r0, r3
	bl	_dopath
	mov	r3, r0
	ldr	r2, .L52
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC19
	.word	.LC18
	.word	_stat_func
	.size	_myftw, .-_myftw
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
