	.file	"90765725.c"
	.intel_syntax noprefix
	.text
	.local	__roseTraceFilePtr
	.comm	__roseTraceFilePtr,8,8
	.local	__roseTraceFile
	.comm	__roseTraceFile,4096,32
	.section	.rodata
.LC0:
	.string	"ROSE_TRACE_FULL_FILE_PATH"
.LC1:
	.string	"ROSE_TRACE_DIR"
	.align 8
.LC2:
	.string	"\n ROSE_TRACE_DIR is not set, using current directory %s for logging traces"
	.align 8
.LC3:
	.string	"\n Failed to  get gethostname() for trace file... exiting"
.LC4:
	.string	"%s/%s-%lu-0.rosetrace"
.LC5:
	.string	"%s"
.LC6:
	.string	"wb"
	.align 8
.LC7:
	.string	"\n Failed to open the trace file %s ... exiting"
.LC8:
	.string	"\n  Trace file name = %s"
	.text
	.type	__ROSE_TraceStartup, @function
__ROSE_TraceStartup:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	getenv@PLT
	mov	QWORD PTR -4120[rbp], rax
	cmp	QWORD PTR -4120[rbp], 0
	jne	.L2
	lea	rdi, .LC1[rip]
	call	getenv@PLT
	mov	QWORD PTR -4128[rbp], rax
	cmp	QWORD PTR -4128[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR -4128[rbp]
	mov	esi, 4096
	mov	rdi, rax
	call	getcwd@PLT
	mov	QWORD PTR -4128[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -4128[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L3:
	lea	rax, -4112[rbp]
	mov	esi, 4096
	mov	rdi, rax
	call	gethostname@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 56
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, -1
	call	exit@PLT
.L4:
	call	getpid@PLT
	mov	DWORD PTR -4132[rbp], eax
	mov	ecx, DWORD PTR -4132[rbp]
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4128[rbp]
	mov	r9d, ecx
	mov	r8, rdx
	mov	rcx, rax
	lea	rdx, .LC4[rip]
	mov	esi, 4096
	lea	rdi, __roseTraceFile[rip]
	mov	eax, 0
	call	snprintf@PLT
	jmp	.L5
.L2:
	mov	rax, QWORD PTR -4120[rbp]
	mov	rcx, rax
	lea	rdx, .LC5[rip]
	mov	esi, 4096
	lea	rdi, __roseTraceFile[rip]
	mov	eax, 0
	call	snprintf@PLT
.L5:
	lea	rsi, .LC6[rip]
	lea	rdi, __roseTraceFile[rip]
	call	fopen@PLT
	mov	QWORD PTR __roseTraceFilePtr[rip], rax
	mov	rax, QWORD PTR __roseTraceFilePtr[rip]
	test	rax, rax
	jne	.L6
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, __roseTraceFile[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, __roseTraceFile[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	__ROSE_TraceStartup, .-__ROSE_TraceStartup
	.section	.init_array,"aw"
	.align 8
	.quad	__ROSE_TraceStartup
	.section	.rodata
	.align 8
.LC9:
	.string	"\n Trace file %s was not closed!"
	.align 8
.LC10:
	.string	"\n All traces written to file %s "
	.text
	.type	__ROSE_TraceEnd, @function
__ROSE_TraceEnd:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR __roseTraceFilePtr[rip]
	test	rax, rax
	je	.L11
	mov	rax, QWORD PTR __roseTraceFilePtr[rip]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L10
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, __roseTraceFile[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L11
.L10:
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, __roseTraceFile[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L11:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	__ROSE_TraceEnd, .-__ROSE_TraceEnd
	.section	.fini_array,"aw"
	.align 8
	.quad	__ROSE_TraceEnd
	.section	.rodata
	.align 8
.LC11:
	.string	"\n Failed to write to trace ... exiting"
	.text
	.globl	ROSE_Tracing_Instrumentor
	.type	ROSE_Tracing_Instrumentor, @function
ROSE_Tracing_Instrumentor:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rdx, QWORD PTR __roseTraceFilePtr[rip]
	lea	rax, -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L13
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, __roseTraceFile[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR __roseTraceFilePtr[rip]
	mov	rdi, rax
	call	fclose@PLT
	mov	QWORD PTR __roseTraceFilePtr[rip], 0
	mov	edi, -1
	call	exit@PLT
.L13:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ROSE_Tracing_Instrumentor, .-ROSE_Tracing_Instrumentor
	.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	"90765725.c"
	.text
	.local	__roseTraceFilePtr
	.comm	__roseTraceFilePtr,4,4
	.local	__roseTraceFile
	.comm	__roseTraceFile,4096,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ROSE_TRACE_FULL_FILE_PATH\000"
	.align	2
.LC1:
	.ascii	"ROSE_TRACE_DIR\000"
	.align	2
.LC2:
	.ascii	"\012 ROSE_TRACE_DIR is not set, using current direc"
	.ascii	"tory %s for logging traces\000"
	.align	2
.LC3:
	.ascii	"\012 Failed to  get gethostname() for trace file..."
	.ascii	" exiting\000"
	.align	2
.LC4:
	.ascii	"%s/%s-%lu-0.rosetrace\000"
	.align	2
.LC5:
	.ascii	"%s\000"
	.align	2
.LC6:
	.ascii	"wb\000"
	.align	2
.LC7:
	.ascii	"\012 Failed to open the trace file %s ... exiting\000"
	.align	2
.LC8:
	.ascii	"\012  Trace file name = %s\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ROSE_TraceStartup, %function
__ROSE_TraceStartup:
	@ 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, #28
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r0, .L8+4
	bl	getenv
	str	r0, [r4, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bne	.L2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r0, .L8+8
	bl	getenv
	str	r0, [r4, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	bne	.L3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #4096
	ldr	r0, [r3, #-16]
	bl	getcwd
	str	r0, [r4, #-16]
	ldr	r3, .L8+12
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-16]
	ldr	r1, .L8+16
	mov	r0, r3
	bl	fprintf
.L3:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #4096
	mov	r0, r3
	bl	gethostname
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L8+12
	ldr	r3, [r3]
	mov	r2, #56
	mov	r1, #1
	ldr	r0, .L8+20
	bl	fwrite
	mvn	r0, #0
	bl	exit
.L4:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	bl	getpid
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	str	r3, [sp, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [sp]
	ldr	r3, [r2, #-16]
	ldr	r2, .L8+24
	mov	r1, #4096
	ldr	r0, .L8+28
	bl	snprintf
	b	.L5
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	ldr	r2, .L8+32
	mov	r1, #4096
	ldr	r0, .L8+28
	bl	snprintf
.L5:
	ldr	r1, .L8+36
	ldr	r0, .L8+28
	bl	fopen
	mov	r3, r0
	ldr	r2, .L8+40
	str	r3, [r2]
	ldr	r3, .L8+40
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L8+12
	ldr	r3, [r3]
	ldr	r2, .L8+28
	ldr	r1, .L8+44
	mov	r0, r3
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L6:
	ldr	r3, .L8+48
	ldr	r3, [r3]
	ldr	r2, .L8+28
	ldr	r1, .L8+52
	mov	r0, r3
	bl	fprintf
	nop
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	__roseTraceFile
	.word	.LC5
	.word	.LC6
	.word	__roseTraceFilePtr
	.word	.LC7
	.word	stdout
	.word	.LC8
	.size	__ROSE_TraceStartup, .-__ROSE_TraceStartup
	.section	.init_array,"aw",%init_array
	.align	2
	.word	__ROSE_TraceStartup(target1)
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\012 Trace file %s was not closed!\000"
	.align	2
.LC11:
	.ascii	"\012 All traces written to file %s \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ROSE_TraceEnd, %function
__ROSE_TraceEnd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldr	r2, .L14+8
	ldr	r1, .L14+12
	mov	r0, r3
	bl	fprintf
	b	.L13
.L12:
	ldr	r3, .L14+16
	ldr	r3, [r3]
	ldr	r2, .L14+8
	ldr	r1, .L14+20
	mov	r0, r3
	bl	fprintf
.L13:
	nop
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	__roseTraceFilePtr
	.word	stderr
	.word	__roseTraceFile
	.word	.LC10
	.word	stdout
	.word	.LC11
	.size	__ROSE_TraceEnd, .-__ROSE_TraceEnd
	.section	.fini_array,"aw",%fini_array
	.align	2
	.word	__ROSE_TraceEnd(target1)
	.section	.rodata
	.align	2
.LC12:
	.ascii	"\012 Failed to write to trace ... exiting\000"
	.text
	.align	2
	.global	ROSE_Tracing_Instrumentor
	.syntax unified
	.arm
	.fpu softvfp
	.type	ROSE_Tracing_Instrumentor, %function
ROSE_Tracing_Instrumentor:
	@ 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, #-12]
	str	r1, [fp, #-8]
	ldr	r3, .L18
	ldr	r3, [r3]
	sub	r0, fp, #12
	mov	r2, #1
	mov	r1, #8
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L17
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldr	r2, .L18+8
	ldr	r1, .L18+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L18
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, .L18
	mov	r2, #0
	str	r2, [r3]
	mvn	r0, #0
	bl	exit
.L17:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	__roseTraceFilePtr
	.word	stderr
	.word	__roseTraceFile
	.word	.LC12
	.size	ROSE_Tracing_Instrumentor, .-ROSE_Tracing_Instrumentor
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
