	.file	"5626.c"
	.intel_syntax noprefix
	.text
	.data
	.align 4
	.type	trace_fd, @object
	.size	trace_fd, 4
trace_fd:
	.long	-1
	.section	.rodata
.LC0:
	.string	"Error Setting CPU Affinity"
.LC2:
	.string	"JATW_Thread_1_1 ... Pi = %f"
.LC5:
	.string	"JATW_Thread_1_2 ... e = %f"
	.text
	.globl	Thread1
	.type	Thread1, @function
Thread1:
.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, 192
	mov	QWORD PTR -184[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 16
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	QWORD PTR -152[rbp], 1
	cmp	QWORD PTR -152[rbp], 1023
	ja	.L3
	mov	rax, QWORD PTR -152[rbp]
	shr	rax, 6
	lea	rdx, 0[0+rax*8]
	lea	rcx, -144[rbp]
	add	rdx, rcx
	mov	rsi, QWORD PTR [rdx]
	mov	rdx, QWORD PTR -152[rbp]
	and	edx, 63
	mov	edi, 1
	mov	ecx, edx
	sal	rdi, cl
	mov	rdx, rdi
	lea	rcx, 0[0+rax*8]
	lea	rax, -144[rbp]
	add	rax, rcx
	or	rdx, rsi
	mov	QWORD PTR [rax], rdx
.L3:
	call	pthread_self@PLT
	mov	rcx, rax
	lea	rax, -144[rbp]
	mov	rdx, rax
	mov	esi, 128
	mov	rdi, rcx
	call	pthread_setaffinity_np@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	je	.L4
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L4:
	mov	rax, QWORD PTR .LC1[rip]
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	trace_write
	pxor	xmm0, xmm0
	movsd	QWORD PTR -160[rbp], xmm0
	mov	DWORD PTR -168[rbp], 0
	jmp	.L5
.L6:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -168[rbp]
	mulsd	xmm0, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -168[rbp]
	add	eax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -160[rbp], xmm0
	add	DWORD PTR -168[rbp], 1
.L5:
	cmp	DWORD PTR -168[rbp], 999999
	jle	.L6
	mov	rax, QWORD PTR .LC4[rip]
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	trace_write
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Thread1, .-Thread1
	.section	.rodata
.LC7:
	.string	"JATW_Thread_2_1... %f"
.LC8:
	.string	"JATW_Thread_2_2"
	.text
	.globl	Thread2
	.type	Thread2, @function
Thread2:
.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, 192
	mov	QWORD PTR -184[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 16
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	QWORD PTR -152[rbp], 1
	cmp	QWORD PTR -152[rbp], 1023
	ja	.L10
	mov	rax, QWORD PTR -152[rbp]
	shr	rax, 6
	lea	rdx, 0[0+rax*8]
	lea	rcx, -144[rbp]
	add	rdx, rcx
	mov	rsi, QWORD PTR [rdx]
	mov	rdx, QWORD PTR -152[rbp]
	and	edx, 63
	mov	edi, 1
	mov	ecx, edx
	sal	rdi, cl
	mov	rdx, rdi
	lea	rcx, 0[0+rax*8]
	lea	rax, -144[rbp]
	add	rax, rcx
	or	rdx, rsi
	mov	QWORD PTR [rax], rdx
.L10:
	call	pthread_self@PLT
	mov	rcx, rax
	lea	rax, -144[rbp]
	mov	rdx, rax
	mov	esi, 128
	mov	rdi, rcx
	call	pthread_setaffinity_np@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	je	.L11
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L11:
	mov	rax, QWORD PTR .LC6[rip]
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	trace_write
	pxor	xmm0, xmm0
	movsd	QWORD PTR -160[rbp], xmm0
	mov	DWORD PTR -168[rbp], 0
	jmp	.L12
.L13:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -168[rbp]
	mulsd	xmm0, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -168[rbp]
	add	eax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -160[rbp], xmm0
	add	DWORD PTR -168[rbp], 1
.L12:
	cmp	DWORD PTR -168[rbp], 999999
	jle	.L13
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	trace_write
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Thread2, .-Thread2
	.section	.rodata
	.align 8
.LC9:
	.string	"This is a Hellow World program to test trace_marker"
	.align 8
.LC10:
	.string	"/sys/kernel/debug/tracing/trace_marker"
	.align 8
.LC11:
	.string	"Error Opening trace marker, try running with sudo"
	.align 8
.LC12:
	.string	"Successfully opened trace_marker"
.LC13:
	.string	"JATW_1"
.LC14:
	.string	"Error Spawning Thread1"
.LC15:
	.string	"Spawned Thread1"
.LC16:
	.string	"Error Spawning Thread2"
.LC17:
	.string	"Spawned Thread2"
.LC18:
	.string	"JATW_2"
.LC19:
	.string	"Successfully closed the file"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	esi, 1
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR trace_fd[rip], eax
	mov	eax, DWORD PTR trace_fd[rip]
	test	eax, eax
	jns	.L16
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L17
.L16:
	lea	rdi, .LC12[rip]
	call	puts@PLT
.L17:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	trace_write
	lea	rax, -24[rbp]
	mov	ecx, 0
	lea	rdx, Thread1[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L18
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L19
.L18:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	lea	rax, -16[rbp]
	mov	ecx, 0
	lea	rdx, Thread2[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L20
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L21
.L20:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	trace_write
	mov	eax, DWORD PTR trace_fd[rip]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jne	.L22
	lea	rdi, .LC19[rip]
	call	puts@PLT
.L22:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
.LC20:
	.string	"Written Successfully"
	.text
	.globl	trace_write
	.type	trace_write, @function
trace_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, 496
	mov	QWORD PTR -488[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	.L26
	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
.L26:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR trace_fd[rip]
	test	eax, eax
	js	.L30
	mov	DWORD PTR -472[rbp], 8
	mov	DWORD PTR -468[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -464[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -456[rbp], rax
	lea	rcx, -472[rbp]
	mov	rdx, QWORD PTR -488[rbp]
	lea	rax, -448[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	vsnprintf@PLT
	mov	DWORD PTR -476[rbp], eax
	mov	eax, DWORD PTR -476[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR trace_fd[rip]
	lea	rcx, -448[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	jmp	.L25
.L30:
	nop
.L25:
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	trace_write, .-trace_write
	.section	.rodata
	.align 8
.LC1:
	.long	1374389535
	.long	1074339512
	.align 8
.LC4:
	.long	2061584302
	.long	1074114068
	.align 8
.LC6:
	.long	130984820
	.long	1074342487
	.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	"5626.c"
	.text
	.data
	.align	2
	.type	trace_fd, %object
	.size	trace_fd, 4
trace_fd:
	.word	-1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Error Setting CPU Affinity\000"
	.align	2
.LC1:
	.ascii	"JATW_Thread_1_1 ... Pi = %f\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
.LC2:
	.ascii	"JATW_Thread_1_2 ... e = %f\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Thread1
	.syntax unified
	.arm
	.fpu softvfp
	.type	Thread1, %function
Thread1:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #168
	str	r0, [fp, #-176]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #144
	mov	r0, r3
	mov	r3, #128
	mov	r2, r3
	mov	r1, #0
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-164]
	ldr	r3, [fp, #-164]
	cmp	r3, #1024
	bcs	.L3
	ldr	r3, [fp, #-164]
	lsr	r3, r3, #5
	lsl	r2, r3, #2
	sub	r1, fp, #144
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-164]
	and	r2, r2, #31
	mov	r0, #1
	lsl	r2, r0, r2
	lsl	r3, r3, #2
	sub	r0, fp, #144
	add	r3, r0, r3
	orr	r2, r1, r2
	str	r2, [r3]
.L3:
	bl	pthread_self
	sub	r3, fp, #144
	mov	r2, r3
	mov	r1, #128
	bl	pthread_setaffinity_np
	str	r0, [fp, #-160]
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	beq	.L4
	ldr	r0, .L8+4
	bl	puts
.L4:
	ldr	r2, .L8+8
	ldr	r3, .L8+12
	ldr	r0, .L8+16
	bl	trace_write
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-168]
	b	.L5
.L6:
	ldr	r0, [fp, #-168]
	bl	__aeabi_i2d
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	str	r3, [fp, #-168]
.L5:
	ldr	r3, [fp, #-168]
	ldr	r2, .L8+20
	cmp	r3, r2
	blt	.L6
	ldr	r2, .L8+24
	ldr	r3, .L8+28
	ldr	r0, .L8+32
	bl	trace_write
	nop
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC3
	.word	.LC0
	.word	1374389535
	.word	1074339512
	.word	.LC1
	.word	1000000
	.word	2061584302
	.word	1074114068
	.word	.LC2
	.size	Thread1, .-Thread1
	.section	.rodata
	.align	2
.LC4:
	.ascii	"JATW_Thread_2_1... %f\000"
	.align	2
.LC5:
	.ascii	"JATW_Thread_2_2\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Thread2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Thread2, %function
Thread2:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #168
	str	r0, [fp, #-176]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #144
	mov	r0, r3
	mov	r3, #128
	mov	r2, r3
	mov	r1, #0
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-164]
	ldr	r3, [fp, #-164]
	cmp	r3, #1024
	bcs	.L12
	ldr	r3, [fp, #-164]
	lsr	r3, r3, #5
	lsl	r2, r3, #2
	sub	r1, fp, #144
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-164]
	and	r2, r2, #31
	mov	r0, #1
	lsl	r2, r0, r2
	lsl	r3, r3, #2
	sub	r0, fp, #144
	add	r3, r0, r3
	orr	r2, r1, r2
	str	r2, [r3]
.L12:
	bl	pthread_self
	sub	r3, fp, #144
	mov	r2, r3
	mov	r1, #128
	bl	pthread_setaffinity_np
	str	r0, [fp, #-160]
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	beq	.L13
	ldr	r0, .L17+4
	bl	puts
.L13:
	ldr	r2, .L17+8
	ldr	r3, .L17+12
	ldr	r0, .L17+16
	bl	trace_write
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-168]
	b	.L14
.L15:
	ldr	r0, [fp, #-168]
	bl	__aeabi_i2d
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	str	r3, [fp, #-168]
.L14:
	ldr	r3, [fp, #-168]
	ldr	r2, .L17+20
	cmp	r3, r2
	blt	.L15
	ldr	r0, .L17+24
	bl	trace_write
	nop
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC6
	.word	.LC0
	.word	130984820
	.word	1074342487
	.word	.LC4
	.word	1000000
	.word	.LC5
	.size	Thread2, .-Thread2
	.section	.rodata
	.align	2
.LC7:
	.ascii	"This is a Hellow World program to test trace_marker"
	.ascii	"\000"
	.align	2
.LC8:
	.ascii	"/sys/kernel/debug/tracing/trace_marker\000"
	.align	2
.LC9:
	.ascii	"Error Opening trace marker, try running with sudo\000"
	.align	2
.LC10:
	.ascii	"Successfully opened trace_marker\000"
	.align	2
.LC11:
	.ascii	"JATW_1\000"
	.align	2
.LC12:
	.ascii	"Error Spawning Thread1\000"
	.align	2
.LC13:
	.ascii	"Spawned Thread1\000"
	.align	2
.LC14:
	.ascii	"Error Spawning Thread2\000"
	.align	2
.LC15:
	.ascii	"Spawned Thread2\000"
	.align	2
.LC16:
	.ascii	"JATW_2\000"
	.align	2
.LC17:
	.ascii	"Successfully closed the file\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L29+4
	bl	puts
	mov	r1, #1
	ldr	r0, .L29+8
	bl	open
	mov	r3, r0
	ldr	r2, .L29+12
	str	r3, [r2]
	ldr	r3, .L29+12
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L20
	ldr	r0, .L29+16
	bl	puts
	b	.L21
.L20:
	ldr	r0, .L29+20
	bl	puts
.L21:
	ldr	r0, .L29+24
	bl	trace_write
	sub	r0, fp, #16
	mov	r3, #0
	ldr	r2, .L29+28
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r0, .L29+32
	bl	printf
	b	.L23
.L22:
	ldr	r0, .L29+36
	bl	printf
.L23:
	sub	r0, fp, #12
	mov	r3, #0
	ldr	r2, .L29+40
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r0, .L29+44
	bl	printf
	b	.L25
.L24:
	ldr	r0, .L29+48
	bl	printf
.L25:
	ldr	r3, [fp, #-16]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-12]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r0, .L29+52
	bl	trace_write
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L29+56
	bl	puts
.L26:
	mov	r3, #0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC18
	.word	.LC7
	.word	.LC8
	.word	trace_fd
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	Thread1
	.word	.LC12
	.word	.LC13
	.word	Thread2
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.section	.rodata
	.align	2
.LC19:
	.ascii	"Written Successfully\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	trace_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	trace_write, %function
trace_write:
	@ args = 4, pretend = 16, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	ldr	r3, [fp, #4]
	str	r3, [fp, #-280]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L36+4
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L35
	add	r3, fp, #8
	str	r3, [fp, #-272]
	sub	r0, fp, #264
	ldr	r3, [fp, #-272]
	ldr	r2, [fp, #-280]
	mov	r1, #256
	bl	vsnprintf
	str	r0, [fp, #-268]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-268]
	sub	r1, fp, #264
	mov	r0, r3
	bl	write
	ldr	r0, .L36+8
	bl	puts
	b	.L31
.L35:
	nop
.L31:
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L37:
	.align	2
.L36:
	.word	.LC20
	.word	trace_fd
	.word	.LC19
	.size	trace_write, .-trace_write
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
