	.file	"626889.c"
	.intel_syntax noprefix
	.text
	.type	streq, @function
streq:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	sete	al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	streq, .-streq
	.type	xreaddir, @function
xreaddir:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L4
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	xreaddir, .-xreaddir
	.section	.rodata
.LC0:
	.string	"the_stack_data/626889.c"
	.align 8
.LC1:
	.string	"(0 <= rv && rv <= sizeof(buf)) || rv == -1"
	.text
	.type	f_reg, @function
f_reg:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	QWORD PTR -4136[rbp], rdi
	mov	QWORD PTR -4144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdi, rax
	call	dirfd@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -4144[rbp]
	mov	edx, 2048
	mov	rsi, rax
	mov	edi, ecx
	mov	eax, 0
	call	openat@PLT
	mov	DWORD PTR -4124[rbp], eax
	cmp	DWORD PTR -4124[rbp], -1
	je	.L12
	lea	rcx, -4112[rbp]
	mov	eax, DWORD PTR -4124[rbp]
	mov	edx, 4096
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -4120[rbp], rax
	cmp	QWORD PTR -4120[rbp], 0
	js	.L9
	mov	rax, QWORD PTR -4120[rbp]
	cmp	rax, 4096
	jbe	.L10
.L9:
	cmp	QWORD PTR -4120[rbp], -1
	je	.L10
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 62
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L10:
	mov	eax, DWORD PTR -4124[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L6
.L12:
	nop
.L6:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	f_reg, .-f_reg
	.section	.rodata
	.align 8
.LC2:
	.string	"(0 <= rv && rv <= len) || rv == -1"
	.text
	.type	f_reg_write, @function
f_reg_write:
.LFB9:
	.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	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	dirfd@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, ecx
	mov	eax, 0
	call	openat@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	je	.L18
	mov	rdx, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	js	.L16
	mov	rax, QWORD PTR -8[rbp]
	cmp	QWORD PTR -48[rbp], rax
	jnb	.L17
.L16:
	cmp	QWORD PTR -8[rbp], -1
	je	.L17
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 75
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L17:
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L13
.L18:
	nop
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	f_reg_write, .-f_reg_write
	.type	f_lnk, @function
f_lnk:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	QWORD PTR -4136[rbp], rdi
	mov	QWORD PTR -4144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdi, rax
	call	dirfd@PLT
	mov	edi, eax
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4144[rbp]
	mov	ecx, 4096
	mov	rsi, rax
	call	readlinkat@PLT
	mov	QWORD PTR -4120[rbp], rax
	cmp	QWORD PTR -4120[rbp], 0
	js	.L20
	mov	rax, QWORD PTR -4120[rbp]
	cmp	rax, 4096
	jbe	.L23
.L20:
	cmp	QWORD PTR -4120[rbp], -1
	je	.L24
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 85
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L23:
.L24:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	f_lnk, .-f_lnk
	.section	.rodata
.LC3:
	.string	"de->d_type == DT_DIR"
.LC4:
	.string	"."
.LC5:
	.string	"streq(de->d_name, \".\")"
.LC6:
	.string	".."
.LC7:
	.string	"streq(de->d_name, \"..\")"
.LC8:
	.string	"!streq(de->d_name, \".\")"
.LC9:
	.string	"!streq(de->d_name, \"..\")"
.LC10:
	.string	"sysrq-trigger"
.LC11:
	.string	"h"
.LC12:
	.string	"clear_refs"
.LC13:
	.string	"1"
.LC14:
	.string	"0"
	.text
	.type	f, @function
f:
.LFB11:
	.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	xreaddir
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR 18[rax]
	cmp	al, 4
	je	.L26
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 93
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L26:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 19
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	streq
	test	al, al
	jne	.L27
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 94
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L27:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	xreaddir
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR 18[rax]
	cmp	al, 4
	je	.L28
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 97
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L28:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 19
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	streq
	test	al, al
	jne	.L30
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 98
	lea	rsi, .LC0[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L42:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 19
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	streq
	xor	eax, 1
	test	al, al
	jne	.L31
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 101
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L31:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 19
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	streq
	xor	eax, 1
	test	al, al
	jne	.L32
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 102
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L32:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR 18[rax]
	movzx	eax, al
	cmp	eax, 10
	je	.L33
	cmp	eax, 10
	jg	.L34
	cmp	eax, 4
	je	.L35
	cmp	eax, 8
	jne	.L34
	cmp	DWORD PTR -60[rbp], 0
	jne	.L36
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 19
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	streq
	test	al, al
	je	.L36
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, 19[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	ecx, 1
	lea	rdx, .LC11[rip]
	mov	rdi, rax
	call	f_reg_write
	jmp	.L37
.L36:
	cmp	DWORD PTR -60[rbp], 1
	jne	.L38
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 19
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	streq
	test	al, al
	je	.L38
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, 19[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	ecx, 1
	lea	rdx, .LC13[rip]
	mov	rdi, rax
	call	f_reg_write
	jmp	.L37
.L38:
	cmp	DWORD PTR -60[rbp], 3
	jne	.L39
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 19
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	streq
	test	al, al
	je	.L39
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, 19[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	ecx, 1
	lea	rdx, .LC13[rip]
	mov	rdi, rax
	call	f_reg_write
	jmp	.L37
.L39:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	f_reg
.L37:
	jmp	.L30
.L35:
	mov	rax, QWORD PTR -32[rbp]
	lea	rbx, 19[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	dirfd@PLT
	mov	edx, 65536
	mov	rsi, rbx
	mov	edi, eax
	mov	eax, 0
	call	openat@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], -1
	jne	.L40
	jmp	.L30
.L40:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	fdopendir@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L41
	jmp	.L30
.L41:
	mov	eax, DWORD PTR -60[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	f
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	closedir@PLT
	jmp	.L30
.L33:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	f_lnk
	jmp	.L30
.L34:
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 133
	lea	rsi, .LC0[rip]
	lea	rdi, .LC14[rip]
	call	__assert_fail@PLT
.L30:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	xreaddir
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L42
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	f, .-f
	.section	.rodata
.LC15:
	.string	"/proc"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.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
	lea	rdi, .LC15[rip]
	call	opendir@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L44
	mov	eax, 2
	jmp	.L45
.L44:
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	f
	mov	eax, 0
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 6
__PRETTY_FUNCTION__.3:
	.string	"f_reg"
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 12
__PRETTY_FUNCTION__.2:
	.string	"f_reg_write"
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 6
__PRETTY_FUNCTION__.1:
	.string	"f_lnk"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 2
__PRETTY_FUNCTION__.0:
	.string	"f"
	.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	"626889.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	streq, %function
streq:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	streq, .-streq
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xreaddir, %function
xreaddir:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	readdir
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	xreaddir, .-xreaddir
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/626889.c\000"
	.align	2
.LC1:
	.ascii	"(0 <= rv && rv <= sizeof(buf)) || rv == -1\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	f_reg, %function
f_reg:
	@ args = 0, pretend = 0, frame = 4120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-24]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-20]
	bl	dirfd
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	mov	r2, #2048
	ldr	r1, [r1, #-24]
	mov	r0, r3
	bl	openat
	str	r0, [r4, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmn	r3, #1
	beq	.L12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #4096
	mov	r1, r3
	ldr	r0, [r0, #-12]
	bl	read
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	blt	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #4096
	bls	.L10
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmn	r3, #1
	beq	.L10
	ldr	r3, .L13+4
	mov	r2, #62
	ldr	r1, .L13+8
	ldr	r0, .L13+12
	bl	__assert_fail
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-12]
	bl	close
	b	.L6
.L12:
	nop
.L6:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	__PRETTY_FUNCTION__.5787
	.word	.LC0
	.word	.LC1
	.size	f_reg, .-f_reg
	.section	.rodata
	.align	2
.LC3:
	.ascii	"(0 <= rv && rv <= len) || rv == -1\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	f_reg_write, %function
f_reg_write:
	@ 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]
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	dirfd
	mov	r3, r0
	mov	r2, #1
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	openat
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L20
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-12]
	bl	write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L18
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcs	.L19
.L18:
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L19
	ldr	r3, .L21
	mov	r2, #75
	ldr	r1, .L21+4
	ldr	r0, .L21+8
	bl	__assert_fail
.L19:
	ldr	r0, [fp, #-12]
	bl	close
	b	.L15
.L20:
	nop
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	__PRETTY_FUNCTION__.5796
	.word	.LC0
	.word	.LC3
	.size	f_reg_write, .-f_reg_write
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	f_lnk, %function
f_lnk:
	@ args = 0, pretend = 0, frame = 4112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-16]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-12]
	bl	dirfd
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	mov	r3, #4096
	ldr	r1, [r1, #-16]
	bl	readlinkat
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	blt	.L24
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #4096
	bls	.L27
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmn	r3, #1
	beq	.L28
	ldr	r3, .L29+4
	mov	r2, #85
	ldr	r1, .L29+8
	ldr	r0, .L29+12
	bl	__assert_fail
.L27:
.L28:
	nop
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC4
	.word	__PRETTY_FUNCTION__.5803
	.word	.LC0
	.word	.LC1
	.size	f_lnk, .-f_lnk
	.section	.rodata
	.align	2
.LC5:
	.ascii	"de->d_type == DT_DIR\000"
	.align	2
.LC6:
	.ascii	".\000"
	.align	2
.LC7:
	.ascii	"streq(de->d_name, \".\")\000"
	.align	2
.LC8:
	.ascii	"..\000"
	.align	2
.LC9:
	.ascii	"streq(de->d_name, \"..\")\000"
	.align	2
.LC10:
	.ascii	"!streq(de->d_name, \".\")\000"
	.align	2
.LC11:
	.ascii	"!streq(de->d_name, \"..\")\000"
	.align	2
.LC12:
	.ascii	"sysrq-trigger\000"
	.align	2
.LC13:
	.ascii	"h\000"
	.align	2
.LC14:
	.ascii	"clear_refs\000"
	.align	2
.LC15:
	.ascii	"1\000"
	.align	2
.LC16:
	.ascii	"0\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	f, %function
f:
	@ 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, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	xreaddir
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #4
	beq	.L32
	ldr	r3, .L49
	mov	r2, #93
	ldr	r1, .L49+4
	ldr	r0, .L49+8
	bl	__assert_fail
.L32:
	ldr	r3, [fp, #-16]
	add	r3, r3, #11
	ldr	r1, .L49+12
	mov	r0, r3
	bl	streq
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	ldr	r3, .L49
	mov	r2, #94
	ldr	r1, .L49+4
	ldr	r0, .L49+16
	bl	__assert_fail
.L33:
	ldr	r0, [fp, #-24]
	bl	xreaddir
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #4
	beq	.L34
	ldr	r3, .L49
	mov	r2, #97
	ldr	r1, .L49+4
	ldr	r0, .L49+8
	bl	__assert_fail
.L34:
	ldr	r3, [fp, #-16]
	add	r3, r3, #11
	ldr	r1, .L49+20
	mov	r0, r3
	bl	streq
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	ldr	r3, .L49
	mov	r2, #98
	ldr	r1, .L49+4
	ldr	r0, .L49+24
	bl	__assert_fail
.L48:
	ldr	r3, [fp, #-16]
	add	r3, r3, #11
	ldr	r1, .L49+12
	mov	r0, r3
	bl	streq
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L37
	ldr	r3, .L49
	mov	r2, #101
	ldr	r1, .L49+4
	ldr	r0, .L49+28
	bl	__assert_fail
.L37:
	ldr	r3, [fp, #-16]
	add	r3, r3, #11
	ldr	r1, .L49+20
	mov	r0, r3
	bl	streq
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L38
	ldr	r3, .L49
	mov	r2, #102
	ldr	r1, .L49+4
	ldr	r0, .L49+32
	bl	__assert_fail
.L38:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L39
	cmp	r3, #10
	bgt	.L40
	cmp	r3, #4
	beq	.L41
	cmp	r3, #8
	bne	.L40
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-16]
	add	r3, r3, #11
	ldr	r1, .L49+36
	mov	r0, r3
	bl	streq
	mov	r3, r0
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-16]
	add	r1, r3, #11
	mov	r3, #1
	ldr	r2, .L49+40
	ldr	r0, [fp, #-24]
	bl	f_reg_write
	b	.L43
.L42:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L44
	ldr	r3, [fp, #-16]
	add	r3, r3, #11
	ldr	r1, .L49+44
	mov	r0, r3
	bl	streq
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-16]
	add	r1, r3, #11
	mov	r3, #1
	ldr	r2, .L49+48
	ldr	r0, [fp, #-24]
	bl	f_reg_write
	b	.L43
.L44:
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	bne	.L45
	ldr	r3, [fp, #-16]
	add	r3, r3, #11
	ldr	r1, .L49+44
	mov	r0, r3
	bl	streq
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-16]
	add	r1, r3, #11
	mov	r3, #1
	ldr	r2, .L49+48
	ldr	r0, [fp, #-24]
	bl	f_reg_write
	b	.L43
.L45:
	ldr	r3, [fp, #-16]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	f_reg
.L43:
	b	.L36
.L41:
	ldr	r0, [fp, #-24]
	bl	dirfd
	ldr	r3, [fp, #-16]
	add	r3, r3, #11
	mov	r2, #16384
	mov	r1, r3
	bl	openat
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L46
	b	.L36
.L46:
	ldr	r0, [fp, #-12]
	bl	fdopendir
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L47
	b	.L36
.L47:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	f
	ldr	r0, [fp, #-8]
	bl	closedir
	b	.L36
.L39:
	ldr	r3, [fp, #-16]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	f_lnk
	b	.L36
.L40:
	ldr	r3, .L49
	mov	r2, #133
	ldr	r1, .L49+4
	ldr	r0, .L49+52
	bl	__assert_fail
.L36:
	ldr	r0, [fp, #-24]
	bl	xreaddir
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L48
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	__PRETTY_FUNCTION__.5809
	.word	.LC0
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	f, .-f
	.section	.rodata
	.align	2
.LC17:
	.ascii	"/proc\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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L54
	bl	opendir
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L52
	mov	r3, #2
	b	.L53
.L52:
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	f
	mov	r3, #0
.L53:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC17
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5787, %object
	.size	__PRETTY_FUNCTION__.5787, 6
__PRETTY_FUNCTION__.5787:
	.ascii	"f_reg\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5796, %object
	.size	__PRETTY_FUNCTION__.5796, 12
__PRETTY_FUNCTION__.5796:
	.ascii	"f_reg_write\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5803, %object
	.size	__PRETTY_FUNCTION__.5803, 6
__PRETTY_FUNCTION__.5803:
	.ascii	"f_lnk\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5809, %object
	.size	__PRETTY_FUNCTION__.5809, 2
__PRETTY_FUNCTION__.5809:
	.ascii	"f\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
