	.file	"extr_zpool_main.c_print_zpool_dir_scripts.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s/%s"
	.text
	.p2align 4
	.type	print_zpool_dir_scripts, @function
print_zpool_dir_scripts:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rdi
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAXPATHLEN[rip]
	mov	rcx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L24:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L24
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L25
.L4:
	mov	rdi, r13
	mov	r12, rsp
	lea	r15, -60[rbp]
	call	opendir@PLT
	mov	r14, rax
	test	rax, rax
	je	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r14
	call	readdir@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L26
.L10:
	mov	rcx, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	mov	rdx, r13
	call	sprintf@PLT
	mov	rsi, r15
	mov	rdi, r12
	call	stat@PLT
	test	rax, rax
	jne	.L5
	mov	edi, DWORD PTR -60[rbp]
	test	DWORD PTR S_IXUSR[rip], edi
	je	.L5
	call	S_ISREG@PLT
	test	rax, rax
	je	.L5
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, r12
	call	print_zpool_script_help@PLT
	mov	rdi, r14
	call	readdir@PLT
	mov	rbx, rax
	test	rax, rax
	jne	.L10
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rdi, r14
	call	closedir@PLT
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	print_zpool_dir_scripts, .-print_zpool_dir_scripts
	.comm	S_IXUSR,4,4
	.comm	MAXPATHLEN,4,4
	.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_zpool_main.c_print_zpool_dir_scripts.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s/%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_zpool_dir_scripts, %function
print_zpool_dir_scripts:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #8
	ldr	r3, .L20
	ldr	r2, .L20+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	str	r2, [fp, #-32]
	mov	r2,#0
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r7, r0
	bl	opendir
	subs	r6, r0, #0
	beq	.L1
	mov	r5, sp
	ldr	r8, .L20+8
	ldr	r9, .L20+12
.L2:
	mov	r0, r6
	bl	readdir
	subs	r4, r0, #0
	beq	.L18
.L7:
	mov	r2, r7
	mov	r1, r8
	ldr	r3, [r4]
	mov	r0, r5
	bl	sprintf
	mov	r0, r5
	sub	r1, fp, #36
	bl	stat
	cmp	r0, #0
	bne	.L2
	ldr	r0, [fp, #-36]
	ldr	r3, [r9]
	tst	r0, r3
	beq	.L2
	bl	S_ISREG
	cmp	r0, #0
	beq	.L2
	mov	r1, r5
	ldr	r0, [r4]
	bl	print_zpool_script_help
	mov	r0, r6
	bl	readdir
	subs	r4, r0, #0
	bne	.L7
.L18:
	mov	r0, r6
	bl	closedir
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	MAXPATHLEN
	.word	.LC1
	.word	.LC0
	.word	S_IXUSR
	.size	print_zpool_dir_scripts, .-print_zpool_dir_scripts
	.comm	S_IXUSR,4,4
	.comm	MAXPATHLEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
