	.file	"84496.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%F %X"
.LC1:
	.string	"%s "
	.text
	.globl	logger
	.type	logger, @function
logger:
.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, 336
	mov	QWORD PTR -328[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L2
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L2:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	lea	rax, -312[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -312[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -304[rbp], rax
	mov	rdx, QWORD PTR -304[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	esi, 80
	mov	rdi, rax
	call	strftime@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -296[rbp], 8
	mov	DWORD PTR -292[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -288[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -280[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, -296[rbp]
	mov	rcx, QWORD PTR -328[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	mov	DWORD PTR -316[rbp], eax
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	logger, .-logger
	.globl	gThaw
	.bss
	.align 4
	.type	gThaw, @object
	.size	gThaw, 4
gThaw:
	.zero	4
	.text
	.globl	globalSignalHandler
	.type	globalSignalHandler, @function
globalSignalHandler:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 10
	jne	.L6
	mov	DWORD PTR gThaw[rip], 1
.L6:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	globalSignalHandler, .-globalSignalHandler
	.section	.rodata
	.align 8
.LC2:
	.string	"Usage: safefreeze TimeoutInSeconds MountPoint1 [MountPoint2 [MountPoint3 [..]]]\n"
	.text
	.globl	printUsage
	.type	printUsage, @function
printUsage:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	logger
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printUsage, .-printUsage
	.section	.rodata
.LC3:
	.string	"Failed to open: %s\n"
.LC4:
	.string	"Failed to stat: %s\n"
.LC5:
	.string	"Path not a directory: %s\n"
	.align 8
.LC6:
	.string	"Failed to setup signal handlers\n"
.LC7:
	.string	"Freezing: %s\n"
.LC8:
	.string	"Failed to FIFREEZE: %s\n"
	.align 8
.LC9:
	.string	"Failed to send FreezeCompletion to parent process\n"
.LC10:
	.string	"sleep for 1 second \n"
	.align 8
.LC11:
	.string	"Failed to receive timely Thaw from parent process\n"
	.align 8
.LC12:
	.string	"Inconsistent snapshot because of SLEEP failure \n"
.LC13:
	.string	"Thawing: %s\n"
.LC14:
	.string	"Failed to FITHAW: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.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, 248
	.cfi_offset 3, -24
	mov	DWORD PTR -244[rbp], edi
	mov	QWORD PTR -256[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -240[rbp], 0
	mov	DWORD PTR -228[rbp], 0
	mov	DWORD PTR -236[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	DWORD PTR -232[rbp], 0
	cmp	DWORD PTR -244[rbp], 2
	jg	.L9
	mov	eax, 0
	call	printUsage
	mov	DWORD PTR -240[rbp], 1
	cmp	DWORD PTR -240[rbp], 0
	jne	.L39
.L9:
	mov	rax, QWORD PTR -256[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jg	.L11
	mov	eax, 0
	call	printUsage
	mov	DWORD PTR -240[rbp], 1
	cmp	DWORD PTR -240[rbp], 0
	jne	.L40
.L11:
	mov	eax, DWORD PTR -244[rbp]
	sub	eax, 2
	mov	DWORD PTR -236[rbp], eax
	mov	eax, DWORD PTR -236[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -224[rbp], rax
	mov	DWORD PTR -232[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], -1
	add	DWORD PTR -232[rbp], 1
.L12:
	mov	eax, DWORD PTR -232[rbp]
	cmp	eax, DWORD PTR -236[rbp]
	jl	.L13
	mov	DWORD PTR -232[rbp], 0
	jmp	.L14
.L19:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -256[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -192[rbp], rax
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	lea	rbx, [rdx+rax]
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jns	.L15
	mov	rax, QWORD PTR -192[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	logger
	mov	DWORD PTR -240[rbp], 1
	cmp	DWORD PTR -240[rbp], 0
	jne	.L41
.L15:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	rdx, -176[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	cmp	eax, -1
	jne	.L17
	mov	rax, QWORD PTR -192[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	logger
	mov	DWORD PTR -240[rbp], 1
	cmp	DWORD PTR -240[rbp], 0
	jne	.L42
.L17:
	mov	eax, DWORD PTR -152[rbp]
	and	eax, 16384
	test	eax, eax
	jne	.L18
	mov	rax, QWORD PTR -192[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	logger
	mov	DWORD PTR -240[rbp], 1
	cmp	DWORD PTR -240[rbp], 0
	jne	.L43
.L18:
	add	DWORD PTR -232[rbp], 1
.L14:
	mov	eax, DWORD PTR -232[rbp]
	cmp	eax, DWORD PTR -236[rbp]
	jl	.L19
	lea	rdx, -176[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	lea	rax, globalSignalHandler[rip]
	mov	QWORD PTR -176[rbp], rax
	lea	rax, -176[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1
	call	sigaction@PLT
	test	eax, eax
	jne	.L20
	lea	rax, -176[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 2
	call	sigaction@PLT
	test	eax, eax
	jne	.L20
	lea	rax, -176[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 3
	call	sigaction@PLT
	test	eax, eax
	jne	.L20
	lea	rax, -176[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 6
	call	sigaction@PLT
	test	eax, eax
	jne	.L20
	lea	rax, -176[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 13
	call	sigaction@PLT
	test	eax, eax
	jne	.L20
	lea	rax, -176[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 15
	call	sigaction@PLT
	test	eax, eax
	jne	.L20
	lea	rax, -176[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 10
	call	sigaction@PLT
	test	eax, eax
	jne	.L20
	lea	rax, -176[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 12
	call	sigaction@PLT
	test	eax, eax
	jne	.L20
	lea	rax, -176[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 20
	call	sigaction@PLT
	test	eax, eax
	jne	.L20
	lea	rax, -176[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 21
	call	sigaction@PLT
	test	eax, eax
	jne	.L20
	lea	rax, -176[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 22
	call	sigaction@PLT
	test	eax, eax
	je	.L21
.L20:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	logger
	mov	DWORD PTR -240[rbp], 1
	cmp	DWORD PTR -240[rbp], 0
	jne	.L44
.L21:
	mov	DWORD PTR -232[rbp], 0
	jmp	.L22
.L24:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -256[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -200[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	logger
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, 0
	mov	esi, 3221510263
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	je	.L23
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	logger
	mov	DWORD PTR -240[rbp], 1
	cmp	DWORD PTR -240[rbp], 0
	jne	.L45
.L23:
	add	DWORD PTR -232[rbp], 1
.L22:
	mov	eax, DWORD PTR -232[rbp]
	cmp	eax, DWORD PTR -236[rbp]
	jl	.L24
	call	getppid@PLT
	mov	esi, 10
	mov	edi, eax
	call	kill@PLT
	test	eax, eax
	je	.L25
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	logger
	mov	DWORD PTR -240[rbp], 1
	cmp	DWORD PTR -240[rbp], 0
	jne	.L46
.L25:
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -208[rbp], rax
	mov	DWORD PTR -232[rbp], 0
	jmp	.L26
.L29:
	mov	eax, DWORD PTR gThaw[rip]
	cmp	eax, 1
	je	.L47
	mov	edi, 1
	call	sleep@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	logger
	add	DWORD PTR -232[rbp], 1
.L26:
	mov	eax, DWORD PTR -232[rbp]
	cmp	eax, DWORD PTR -228[rbp]
	jl	.L29
	jmp	.L28
.L47:
	nop
.L28:
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	eax, DWORD PTR gThaw[rip]
	cmp	eax, 1
	je	.L30
	mov	eax, DWORD PTR -228[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	cmp	QWORD PTR -216[rbp], rax
	jl	.L30
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	logger
	mov	DWORD PTR -240[rbp], 1
	cmp	DWORD PTR -240[rbp], 0
	jmp	.L10
.L30:
	mov	eax, DWORD PTR gThaw[rip]
	cmp	eax, 1
	je	.L48
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	logger
	mov	DWORD PTR -240[rbp], 2
	cmp	DWORD PTR -240[rbp], 0
	jmp	.L48
.L39:
	nop
	jmp	.L10
.L40:
	nop
	jmp	.L10
.L41:
	nop
	jmp	.L10
.L42:
	nop
	jmp	.L10
.L43:
	nop
	jmp	.L10
.L44:
	nop
	jmp	.L10
.L45:
	nop
	jmp	.L10
.L46:
	nop
	jmp	.L10
.L48:
	nop
.L10:
	cmp	QWORD PTR -224[rbp], 0
	je	.L32
	mov	eax, DWORD PTR -236[rbp]
	sub	eax, 1
	mov	DWORD PTR -232[rbp], eax
	jmp	.L33
.L36:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	js	.L34
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -256[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	logger
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, 0
	mov	esi, 3221510264
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	je	.L35
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	logger
	mov	DWORD PTR -240[rbp], 1
.L35:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], -1
.L34:
	sub	DWORD PTR -232[rbp], 1
.L33:
	cmp	DWORD PTR -232[rbp], 0
	jns	.L36
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -224[rbp], 0
.L32:
	mov	eax, DWORD PTR -240[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"84496.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%F %X\000"
	.align	2
.LC1:
	.ascii	"%s \000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	logger
	.syntax unified
	.arm
	.fpu softvfp
	.type	logger, %function
logger:
	@ args = 4, pretend = 16, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, [fp, #4]
	str	r3, [fp, #-112]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #104
	mov	r0, r3
	bl	time
	sub	r3, fp, #104
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-96]
	sub	r0, fp, #88
	ldr	r3, [fp, #-96]
	ldr	r2, .L3+4
	mov	r1, #80
	bl	strftime
	sub	r3, fp, #88
	mov	r1, r3
	ldr	r0, .L3+8
	bl	printf
	add	r3, fp, #8
	str	r3, [fp, #-100]
	ldr	r3, .L3+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-100]
	ldr	r1, [fp, #-112]
	mov	r0, r3
	bl	vfprintf
	str	r0, [fp, #-92]
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L4:
	.align	2
.L3:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	stdout
	.size	logger, .-logger
	.global	gThaw
	.bss
	.align	2
	.type	gThaw, %object
	.size	gThaw, 4
gThaw:
	.space	4
	.text
	.align	2
	.global	globalSignalHandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	globalSignalHandler, %function
globalSignalHandler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L7
	ldr	r3, .L8
	mov	r2, #1
	str	r2, [r3]
.L7:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	gThaw
	.size	globalSignalHandler, .-globalSignalHandler
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Usage: safefreeze TimeoutInSeconds MountPoint1 [Mou"
	.ascii	"ntPoint2 [MountPoint3 [..]]]\012\000"
	.text
	.align	2
	.global	printUsage
	.syntax unified
	.arm
	.fpu softvfp
	.type	printUsage, %function
printUsage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L11
	bl	logger
	nop
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC3
	.size	printUsage, .-printUsage
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Failed to open: %s\012\000"
	.align	2
.LC5:
	.ascii	"Failed to stat: %s\012\000"
	.align	2
.LC6:
	.ascii	"Path not a directory: %s\012\000"
	.align	2
.LC7:
	.ascii	"Failed to setup signal handlers\012\000"
	.align	2
.LC8:
	.ascii	"Freezing: %s\012\000"
	.align	2
.LC9:
	.ascii	"Failed to FIFREEZE: %s\012\000"
	.align	2
.LC10:
	.ascii	"Failed to send FreezeCompletion to parent process\012"
	.ascii	"\000"
	.align	2
.LC11:
	.ascii	"sleep for 1 second \012\000"
	.align	2
.LC12:
	.ascii	"Failed to receive timely Thaw from parent process\012"
	.ascii	"\000"
	.align	2
.LC13:
	.ascii	"Inconsistent snapshot because of SLEEP failure \012"
	.ascii	"\000"
	.align	2
.LC14:
	.ascii	"Thawing: %s\012\000"
	.align	2
.LC15:
	.ascii	"Failed to FITHAW: %s\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #284
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-284]
	mov	r3, #0
	str	r3, [fp, #-268]
	mov	r3, #0
	str	r3, [fp, #-280]
	mov	r3, #0
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-288]
	cmp	r3, #2
	bgt	.L14
	bl	printUsage
	mov	r3, #1
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L44
.L14:
	ldr	r3, [fp, #-292]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bgt	.L16
	bl	printUsage
	mov	r3, #1
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L45
.L16:
	ldr	r3, [fp, #-288]
	sub	r3, r3, #2
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-280]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L17
.L18:
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L17:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-280]
	cmp	r2, r3
	blt	.L18
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L19
.L24:
	ldr	r3, [fp, #-272]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-252]
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r4, r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-252]
	bl	open
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [r4]
	cmp	r3, #0
	bge	.L20
	ldr	r1, [fp, #-252]
	ldr	r0, .L54+4
	bl	logger
	mov	r3, #1
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L46
.L20:
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #244
	mov	r1, r2
	mov	r0, r3
	bl	fstat
	mov	r3, r0
	cmn	r3, #1
	bne	.L22
	ldr	r1, [fp, #-252]
	ldr	r0, .L54+8
	bl	logger
	mov	r3, #1
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L47
.L22:
	ldr	r3, [fp, #-228]
	and	r3, r3, #16384
	cmp	r3, #0
	bne	.L23
	ldr	r1, [fp, #-252]
	ldr	r0, .L54+12
	bl	logger
	mov	r3, #1
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L48
.L23:
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L19:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-280]
	cmp	r2, r3
	blt	.L24
	sub	r3, fp, #156
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L54+16
	str	r3, [fp, #-156]
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #1
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #3
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #6
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #13
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #15
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #10
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #12
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #20
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #21
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #22
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
.L25:
	ldr	r0, .L54+20
	bl	logger
	mov	r3, #1
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L49
.L26:
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L27
.L29:
	ldr	r3, [fp, #-272]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-256]
	ldr	r1, [fp, #-256]
	ldr	r0, .L54+24
	bl	logger
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L54+28
	mov	r0, r3
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r1, [fp, #-256]
	ldr	r0, .L54+32
	bl	logger
	mov	r3, #1
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L50
.L28:
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L27:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-280]
	cmp	r2, r3
	blt	.L29
	bl	getppid
	mov	r3, r0
	mov	r1, #10
	mov	r0, r3
	bl	kill
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r0, .L54+36
	bl	logger
	mov	r3, #1
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L51
.L30:
	mov	r0, #0
	bl	time
	str	r0, [fp, #-264]
	mov	r0, #0
	bl	time
	str	r0, [fp, #-260]
	mov	r3, #0
	str	r3, [fp, #-272]
	b	.L31
.L34:
	ldr	r3, .L54+40
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L52
	mov	r0, #1
	bl	sleep
	ldr	r0, .L54+44
	bl	logger
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L31:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-268]
	cmp	r2, r3
	blt	.L34
	b	.L33
.L52:
	nop
.L33:
	mov	r0, #0
	bl	time
	str	r0, [fp, #-264]
	ldr	r3, .L54+40
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L35
	ldr	r2, [fp, #-260]
	ldr	r3, [fp, #-268]
	add	r3, r2, r3
	ldr	r2, [fp, #-264]
	cmp	r2, r3
	blt	.L35
	ldr	r0, .L54+48
	bl	logger
	mov	r3, #1
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	b	.L15
.L35:
	ldr	r3, .L54+40
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L53
	ldr	r0, .L54+52
	bl	logger
	mov	r3, #2
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	b	.L53
.L44:
	nop
	b	.L15
.L45:
	nop
	b	.L15
.L46:
	nop
	b	.L15
.L47:
	nop
	b	.L15
.L48:
	nop
	b	.L15
.L49:
	nop
	b	.L15
.L50:
	nop
	b	.L15
.L51:
	nop
	b	.L15
.L53:
	nop
.L15:
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-280]
	sub	r3, r3, #1
	str	r3, [fp, #-272]
	b	.L38
.L41:
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L39
	ldr	r3, [fp, #-272]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-248]
	ldr	r1, [fp, #-248]
	ldr	r0, .L54+56
	bl	logger
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L54+60
	mov	r0, r3
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	ldr	r1, [fp, #-248]
	ldr	r0, .L54+64
	bl	logger
	mov	r3, #1
	str	r3, [fp, #-284]
.L40:
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
.L39:
	ldr	r3, [fp, #-272]
	sub	r3, r3, #1
	str	r3, [fp, #-272]
.L38:
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	bge	.L41
	ldr	r0, [fp, #-276]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-276]
.L37:
	ldr	r3, [fp, #-284]
	ldr	r2, .L54
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC16
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	globalSignalHandler
	.word	.LC7
	.word	.LC8
	.word	-1073457033
	.word	.LC9
	.word	.LC10
	.word	gThaw
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	-1073457032
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
