	.file	"788921.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"./critical"
	.text
	.globl	silly_function
	.type	silly_function, @function
silly_function:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -304[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	call	stat@PLT
	mov	rdx, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR -160[rbp]
	cmp	rdx, rax
	jne	.L2
	mov	rdx, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR -152[rbp]
	cmp	rdx, rax
	je	.L7
.L2:
	mov	rax, QWORD PTR -328[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -320[rbp], eax
	mov	rax, QWORD PTR -256[rbp]
	sub	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -312[rbp], rax
	mov	rax, QWORD PTR -256[rbp]
	sub	rax, 1
	mov	rdx, rax
	mov	rcx, QWORD PTR -312[rbp]
	mov	eax, DWORD PTR -320[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR -320[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rdx, -304[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	rdx, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR -160[rbp]
	cmp	rdx, rax
	jne	.L4
	mov	rdx, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR -152[rbp]
	cmp	rdx, rax
	je	.L8
.L4:
	mov	rax, QWORD PTR -328[rbp]
	mov	esi, 513
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -316[rbp], eax
	mov	rax, QWORD PTR -256[rbp]
	sub	rax, 1
	mov	rdx, rax
	mov	rcx, QWORD PTR -312[rbp]
	mov	eax, DWORD PTR -316[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -316[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L1
.L7:
	nop
	jmp	.L1
.L8:
	nop
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	silly_function, .-silly_function
	.section	.rodata
.LC1:
	.string	"./not"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC1[rip]
	call	silly_function
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"788921.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"./critical\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	silly_function
	.syntax unified
	.arm
	.fpu softvfp
	.type	silly_function, %function
silly_function:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #208
	str	r0, [fp, #-208]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #188
	mov	r1, r3
	ldr	r0, [fp, #-208]
	bl	stat
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, .L9+4
	bl	stat
	sub	r1, fp, #188
	ldmia	r1, {r0-r1}
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L2
	ldr	r2, [fp, #-176]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	beq	.L7
.L2:
	mov	r1, #0
	ldr	r0, [fp, #-208]
	bl	open
	str	r0, [fp, #-200]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-196]
	ldr	r0, [fp, #-200]
	bl	read
	ldr	r0, [fp, #-200]
	bl	close
	sub	r3, fp, #188
	mov	r1, r3
	ldr	r0, [fp, #-208]
	bl	stat
	sub	r1, fp, #188
	ldmia	r1, {r0-r1}
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L4
	ldr	r2, [fp, #-176]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	beq	.L8
.L4:
	ldr	r1, .L9+8
	ldr	r0, [fp, #-208]
	bl	open
	str	r0, [fp, #-192]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-196]
	ldr	r0, [fp, #-192]
	bl	write
	ldr	r0, [fp, #-192]
	bl	close
	ldr	r0, [fp, #-196]
	bl	free
	b	.L1
.L7:
	nop
	b	.L1
.L8:
	nop
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.word	513
	.size	silly_function, .-silly_function
	.section	.rodata
	.align	2
.LC2:
	.ascii	"./not\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L13
	bl	silly_function
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
