	.file	"663625.c"
	.intel_syntax noprefix
	.text
	.globl	extrae_home
	.bss
	.align 8
	.type	extrae_home, @object
	.size	extrae_home, 8
extrae_home:
	.zero	8
	.section	.rodata
.LC0:
	.string	"LD_PRELOAD"
.LC1:
	.string	"LD_PRELOAD=%s/lib/%s"
.LC2:
	.string	"LD_PRELOAD=%s:%s/lib/%s"
	.text
	.globl	preload_this
	.type	preload_this, @function
preload_this:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 48
	mov	QWORD PTR -16424[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16408[rbp], 0
	lea	rdi, .LC0[rip]
	call	getenv@PLT
	mov	QWORD PTR -16408[rbp], rax
	cmp	QWORD PTR -16408[rbp], 0
	jne	.L2
	mov	rdx, QWORD PTR extrae_home[rip]
	mov	rcx, QWORD PTR -16424[rbp]
	lea	rax, -16400[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC1[rip]
	mov	esi, 16384
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	jmp	.L3
.L2:
	mov	rcx, QWORD PTR extrae_home[rip]
	mov	rsi, QWORD PTR -16424[rbp]
	mov	rdx, QWORD PTR -16408[rbp]
	lea	rax, -16400[rbp]
	mov	r9, rsi
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC2[rip]
	mov	esi, 16384
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
.L3:
	lea	rax, -16400[rbp]
	mov	rdi, rax
	call	putenv@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	preload_this, .-preload_this
	.section	.rodata
.LC3:
	.string	":"
	.align 8
.LC4:
	.string	"extrae-loader: The following modules will be loaded:\n"
.LC5:
	.string	"#%d: %s [%s]\n"
	.align 8
.LC6:
	.string	"extrae-loader: WARNING: Any module loaded!\n"
	.text
	.globl	show_preload
	.type	show_preload, @function
show_preload:
.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, 48
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	lea	rdi, .LC0[rip]
	call	getenv@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 53
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	jmp	.L7
.L8:
	add	DWORD PTR -36[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	__xpg_basename@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	r8, rsi
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rsi, .LC3[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -32[rbp], rax
.L7:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L10
.L6:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 43
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
.L10:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	show_preload, .-show_preload
	.section	.rodata
	.align 8
.LC7:
	.string	"extrae-loader: Looking for '%s'... "
.LC8:
	.string	"no (%s)\n"
.LC9:
	.string	"yes\n"
	.text
	.globl	look_for_symbol
	.type	look_for_symbol, @function
look_for_symbol:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -32[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	dlsym@PLT
	mov	QWORD PTR -16[rbp], rax
	call	dlerror@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L13
.L12:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	eax, 1
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	look_for_symbol, .-look_for_symbol
	.section	.rodata
.LC10:
	.string	"Extrae_init"
	.text
	.globl	detect_extrae
	.type	detect_extrae, @function
detect_extrae:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	look_for_symbol
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	detect_extrae, .-detect_extrae
	.section	.rodata
.LC11:
	.string	"MPI_Init"
.LC12:
	.string	"mpi_init"
.LC13:
	.string	"mpi_init_"
.LC14:
	.string	"mpi_init__"
.LC15:
	.string	"MPI_INIT"
.LC16:
	.string	"MPI_Init_thread"
.LC17:
	.string	"mpi_init_thread"
.LC18:
	.string	"mpi_init_thread_"
.LC19:
	.string	"mpi_init_thread__"
.LC20:
	.string	"MPI_INIT_THREAD"
	.text
	.globl	detect_mpi
	.type	detect_mpi, @function
detect_mpi:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -104[rbp], 0
	mov	DWORD PTR -100[rbp], 0
	lea	rax, .LC11[rip]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rax, .LC13[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC15[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC16[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC17[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC18[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC19[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC20[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L17
.L19:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	mov	rdx, QWORD PTR -96[rbp+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	look_for_symbol
	mov	DWORD PTR -100[rbp], eax
	add	DWORD PTR -104[rbp], 1
.L17:
	cmp	DWORD PTR -104[rbp], 9
	jg	.L18
	cmp	DWORD PTR -100[rbp], 0
	je	.L19
.L18:
	mov	eax, DWORD PTR -100[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	detect_mpi, .-detect_mpi
	.section	.rodata
.LC21:
	.string	"_xlsmpParallelDoSetup_TPO"
.LC22:
	.string	"__kmpc_fork_call"
.LC23:
	.string	"GOMP_parallel_start"
	.text
	.globl	detect_openmp
	.type	detect_openmp, @function
detect_openmp:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	lea	rax, .LC21[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC22[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC23[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L23
.L25:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	rdx, QWORD PTR -32[rbp+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	look_for_symbol
	mov	DWORD PTR -36[rbp], eax
	add	DWORD PTR -40[rbp], 1
.L23:
	cmp	DWORD PTR -40[rbp], 2
	jg	.L24
	cmp	DWORD PTR -36[rbp], 0
	je	.L25
.L24:
	mov	eax, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	detect_openmp, .-detect_openmp
	.section	.rodata
.LC24:
	.string	"pthread_create"
	.text
	.globl	detect_pthreads
	.type	detect_pthreads, @function
detect_pthreads:
.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
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	look_for_symbol
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	detect_pthreads, .-detect_pthreads
	.section	.rodata
.LC25:
	.string	"cudaLaunch"
	.text
	.globl	detect_cuda
	.type	detect_cuda, @function
detect_cuda:
.LFB13:
	.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	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	call	look_for_symbol
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	detect_cuda, .-detect_cuda
	.section	.rodata
.LC26:
	.string	"clCreateBuffer"
	.text
	.globl	detect_opencl
	.type	detect_opencl, @function
detect_opencl:
.LFB14:
	.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	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	look_for_symbol
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	detect_opencl, .-detect_opencl
	.section	.rodata
.LC27:
	.string	"\nSYNTAX\n"
	.align 8
.LC28:
	.string	"  extrae-loader [OPTIONS] <binary> [args ...]\n\n"
.LC29:
	.string	"OPTIONS\n"
	.text
	.globl	print_help
	.type	print_help, @function
print_help:
.LFB15:
	.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 stdout[rip]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	print_help, .-print_help
	.section	.rodata
.LC30:
	.string	"EXTRAE_HOME"
	.align 8
.LC31:
	.string	"extrae-loader: ERROR: Environment variable EXTRAE_HOME is not set!\n"
	.align 8
.LC32:
	.string	"extrae-loader: ERROR: Can not find binary '%s'\n"
	.align 8
.LC33:
	.string	"extrae-loader: ERROR: File '%s' is not an executable\n"
	.align 8
.LC34:
	.string	"extrae-loader: Opening application binary '%s'... "
.LC35:
	.string	"error!\n%s\n"
.LC36:
	.string	"ok!\n"
	.align 8
.LC37:
	.string	"extrae-loader: Extrae core not detected\n"
.LC38:
	.string	"libextrae-core.so"
.LC39:
	.string	"extrae-loader: MPI detected\n"
.LC40:
	.string	"libextrae-mpi.so"
	.align 8
.LC41:
	.string	"extrae-loader: OpenMP detected\n"
.LC42:
	.string	"libextrae-openmp.so"
	.align 8
.LC43:
	.string	"/home/bsc41/bsc41127/tests/single-lib-extrae/app"
.LC44:
	.string	"Unknown command\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	DWORD PTR -228[rbp], edi
	mov	QWORD PTR -240[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	DWORD PTR -208[rbp], 0
	mov	DWORD PTR -204[rbp], 0
	mov	DWORD PTR -200[rbp], 0
	mov	DWORD PTR -196[rbp], 0
	mov	DWORD PTR -192[rbp], 0
	mov	DWORD PTR -188[rbp], 0
	lea	rdi, .LC30[rip]
	call	getenv@PLT
	mov	QWORD PTR extrae_home[rip], rax
	mov	rax, QWORD PTR extrae_home[rip]
	test	rax, rax
	jne	.L36
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 67
	mov	esi, 1
	lea	rdi, .LC31[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L36:
	cmp	DWORD PTR -228[rbp], 2
	je	.L37
	mov	eax, 0
	call	print_help
	mov	edi, 1
	call	exit@PLT
.L37:
	mov	rax, QWORD PTR -240[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -168[rbp], rax
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	je	.L38
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -168[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 64
	test	eax, eax
	jne	.L39
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -168[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L39:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -168[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -168[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	dlopen@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L40
	call	dlerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L40:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC36[rip]
	call	fwrite@PLT
	call	dlerror@PLT
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	detect_extrae
	mov	DWORD PTR -208[rbp], eax
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	detect_mpi
	mov	DWORD PTR -204[rbp], eax
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	detect_openmp
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], 0
	jne	.L41
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	detect_pthreads
	mov	DWORD PTR -196[rbp], eax
.L41:
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	detect_cuda
	mov	DWORD PTR -192[rbp], eax
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	detect_opencl
	mov	DWORD PTR -188[rbp], eax
	cmp	DWORD PTR -208[rbp], 0
	jne	.L42
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC37[rip]
	call	fwrite@PLT
	lea	rdi, .LC38[rip]
	call	preload_this
.L42:
	cmp	DWORD PTR -204[rbp], 1
	jne	.L43
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC39[rip]
	call	fwrite@PLT
	lea	rdi, .LC40[rip]
	call	preload_this
.L43:
	cmp	DWORD PTR -200[rbp], 1
	jne	.L44
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC41[rip]
	call	fwrite@PLT
	lea	rdi, .LC42[rip]
	call	preload_this
.L44:
	mov	eax, 0
	call	show_preload
	call	fork@PLT
	mov	DWORD PTR -184[rbp], eax
	cmp	DWORD PTR -184[rbp], 0
	jne	.L45
	mov	esi, 0
	lea	rdi, .LC43[rip]
	call	execv@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC44[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
.L45:
	lea	rax, -212[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR -180[rbp]
	cmp	eax, DWORD PTR -184[rbp]
	jne	.L45
	mov	eax, DWORD PTR -212[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.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	"663625.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"MPI_Init\000"
	.align	2
.LC1:
	.ascii	"mpi_init\000"
	.align	2
.LC2:
	.ascii	"mpi_init_\000"
	.align	2
.LC3:
	.ascii	"mpi_init__\000"
	.align	2
.LC4:
	.ascii	"MPI_INIT\000"
	.align	2
.LC5:
	.ascii	"MPI_Init_thread\000"
	.align	2
.LC6:
	.ascii	"mpi_init_thread\000"
	.align	2
.LC7:
	.ascii	"mpi_init_thread_\000"
	.align	2
.LC8:
	.ascii	"mpi_init_thread__\000"
	.align	2
.LC9:
	.ascii	"MPI_INIT_THREAD\000"
	.align	2
.LC11:
	.ascii	"_xlsmpParallelDoSetup_TPO\000"
	.align	2
.LC12:
	.ascii	"__kmpc_fork_call\000"
	.align	2
.LC13:
	.ascii	"GOMP_parallel_start\000"
	.text
	.global	extrae_home
	.bss
	.align	2
	.type	extrae_home, %object
	.size	extrae_home, 4
extrae_home:
	.space	4
	.section	.rodata
	.align	2
.LC15:
	.ascii	"LD_PRELOAD\000"
	.align	2
.LC16:
	.ascii	"LD_PRELOAD=%s/lib/%s\000"
	.align	2
.LC17:
	.ascii	"LD_PRELOAD=%s:%s/lib/%s\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	preload_this
	.syntax unified
	.arm
	.fpu softvfp
	.type	preload_this, %function
preload_this:
	@ args = 0, pretend = 0, frame = 16400
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #16384
	sub	sp, sp, #28
	sub	r3, fp, #16384
	sub	r3, r3, #12
	str	r0, [r3, #-12]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-8]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r0, .L5+4
	bl	getenv
	str	r0, [r4, #-8]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L5+8
	ldr	r2, [r3]
	sub	r0, fp, #16384
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L5+12
	mov	r1, #16384
	bl	snprintf
	b	.L3
.L2:
	ldr	r3, .L5+8
	ldr	r3, [r3]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r1, r2
	sub	r0, fp, #16384
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [r1, #-8]
	ldr	r2, .L5+16
	mov	r1, #16384
	bl	snprintf
.L3:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	putenv
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC18
	.word	.LC15
	.word	extrae_home
	.word	.LC16
	.word	.LC17
	.size	preload_this, .-preload_this
	.section	.rodata
	.align	2
.LC19:
	.ascii	":\000"
	.align	2
.LC20:
	.ascii	"extrae-loader: The following modules will be loaded"
	.ascii	":\012\000"
	.align	2
.LC21:
	.ascii	"#%d: %s [%s]\012\000"
	.align	2
.LC22:
	.ascii	"extrae-loader: WARNING: Any module loaded!\012\000"
	.text
	.align	2
	.global	show_preload
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_preload, %function
show_preload:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, .L13
	bl	getenv
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L8
	ldr	r0, [fp, #-16]
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r1, .L13+4
	ldr	r0, [fp, #-12]
	bl	strtok
	str	r0, [fp, #-24]
	ldr	r3, .L13+8
	ldr	r3, [r3]
	mov	r2, #53
	mov	r1, #1
	ldr	r0, .L13+12
	bl	fwrite
	b	.L9
.L10:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	__xpg_basename
	str	r0, [fp, #-8]
	ldr	r3, .L13+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r1, .L13+16
	bl	fprintf
	ldr	r1, .L13+4
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-24]
.L9:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L10
	ldr	r0, [fp, #-12]
	bl	free
	b	.L12
.L8:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	mov	r2, #43
	mov	r1, #1
	ldr	r0, .L13+20
	bl	fwrite
.L12:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC15
	.word	.LC19
	.word	stderr
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	show_preload, .-show_preload
	.section	.rodata
	.align	2
.LC23:
	.ascii	"extrae-loader: Looking for '%s'... \000"
	.align	2
.LC24:
	.ascii	"no (%s)\012\000"
	.align	2
.LC25:
	.ascii	"yes\012\000"
	.text
	.align	2
	.global	look_for_symbol
	.syntax unified
	.arm
	.fpu softvfp
	.type	look_for_symbol, %function
look_for_symbol:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, .L18+4
	mov	r0, r3
	bl	fprintf
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	dlsym
	str	r0, [fp, #-12]
	bl	dlerror
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L18+8
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L17
.L16:
	ldr	r3, .L18
	ldr	r3, [r3]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L18+12
	bl	fwrite
	mov	r3, #1
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	stderr
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	look_for_symbol, .-look_for_symbol
	.section	.rodata
	.align	2
.LC26:
	.ascii	"Extrae_init\000"
	.text
	.align	2
	.global	detect_extrae
	.syntax unified
	.arm
	.fpu softvfp
	.type	detect_extrae, %function
detect_extrae:
	@ 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]
	ldr	r1, .L22
	ldr	r0, [fp, #-8]
	bl	look_for_symbol
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC26
	.size	detect_extrae, .-detect_extrae
	.section	.rodata
	.align	2
.LC27:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	detect_mpi
	.syntax unified
	.arm
	.fpu softvfp
	.type	detect_mpi, %function
detect_mpi:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, .L30+4
	sub	ip, fp, #48
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	b	.L25
.L27:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	look_for_symbol
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L25:
	ldr	r3, [fp, #-56]
	cmp	r3, #9
	bgt	.L26
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L27
.L26:
	ldr	r3, [fp, #-52]
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC28
	.word	.LC27
	.size	detect_mpi, .-detect_mpi
	.section	.rodata
	.align	2
.LC29:
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	detect_openmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	detect_openmp, %function
detect_openmp:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r2, .L38+4
	sub	r3, fp, #20
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	b	.L33
.L35:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	look_for_symbol
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L33:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bgt	.L34
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L35
.L34:
	ldr	r3, [fp, #-24]
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC30
	.word	.LC29
	.size	detect_openmp, .-detect_openmp
	.section	.rodata
	.align	2
.LC31:
	.ascii	"pthread_create\000"
	.text
	.align	2
	.global	detect_pthreads
	.syntax unified
	.arm
	.fpu softvfp
	.type	detect_pthreads, %function
detect_pthreads:
	@ 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]
	ldr	r1, .L42
	ldr	r0, [fp, #-8]
	bl	look_for_symbol
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC31
	.size	detect_pthreads, .-detect_pthreads
	.section	.rodata
	.align	2
.LC32:
	.ascii	"cudaLaunch\000"
	.text
	.align	2
	.global	detect_cuda
	.syntax unified
	.arm
	.fpu softvfp
	.type	detect_cuda, %function
detect_cuda:
	@ 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]
	ldr	r1, .L46
	ldr	r0, [fp, #-8]
	bl	look_for_symbol
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC32
	.size	detect_cuda, .-detect_cuda
	.section	.rodata
	.align	2
.LC33:
	.ascii	"clCreateBuffer\000"
	.text
	.align	2
	.global	detect_opencl
	.syntax unified
	.arm
	.fpu softvfp
	.type	detect_opencl, %function
detect_opencl:
	@ 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]
	ldr	r1, .L50
	ldr	r0, [fp, #-8]
	bl	look_for_symbol
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC33
	.size	detect_opencl, .-detect_opencl
	.section	.rodata
	.align	2
.LC34:
	.ascii	"\012SYNTAX\012\000"
	.align	2
.LC35:
	.ascii	"  extrae-loader [OPTIONS] <binary> [args ...]\012\012"
	.ascii	"\000"
	.align	2
.LC36:
	.ascii	"OPTIONS\012\000"
	.text
	.align	2
	.global	print_help
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_help, %function
print_help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L53+4
	bl	fwrite
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L53+8
	bl	fwrite
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L53+12
	bl	fwrite
	ldr	r3, .L53
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	nop
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	stdout
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.size	print_help, .-print_help
	.section	.rodata
	.align	2
.LC37:
	.ascii	"EXTRAE_HOME\000"
	.align	2
.LC38:
	.ascii	"extrae-loader: ERROR: Environment variable EXTRAE_H"
	.ascii	"OME is not set!\012\000"
	.align	2
.LC39:
	.ascii	"extrae-loader: ERROR: Can not find binary '%s'\012\000"
	.align	2
.LC40:
	.ascii	"extrae-loader: ERROR: File '%s' is not an executabl"
	.ascii	"e\012\000"
	.align	2
.LC41:
	.ascii	"extrae-loader: Opening application binary '%s'... \000"
	.align	2
.LC42:
	.ascii	"error!\012%s\012\000"
	.align	2
.LC43:
	.ascii	"ok!\012\000"
	.align	2
.LC44:
	.ascii	"extrae-loader: Extrae core not detected\012\000"
	.align	2
.LC45:
	.ascii	"libextrae-core.so\000"
	.align	2
.LC46:
	.ascii	"extrae-loader: MPI detected\012\000"
	.align	2
.LC47:
	.ascii	"libextrae-mpi.so\000"
	.align	2
.LC48:
	.ascii	"extrae-loader: OpenMP detected\012\000"
	.align	2
.LC49:
	.ascii	"libextrae-openmp.so\000"
	.align	2
.LC50:
	.ascii	"/home/bsc41/bsc41127/tests/single-lib-extrae/app\000"
	.align	2
.LC51:
	.ascii	"Unknown command\012\000"
	.align	2
.LC52:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #156
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	ldr	r3, .L68
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-132]
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-120]
	ldr	r0, .L68+4
	bl	getenv
	mov	r3, r0
	ldr	r2, .L68+8
	str	r3, [r2]
	ldr	r3, .L68+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L56
	ldr	r3, .L68+12
	ldr	r3, [r3]
	mov	r2, #67
	mov	r1, #1
	ldr	r0, .L68+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L56:
	ldr	r3, [fp, #-160]
	cmp	r3, #2
	beq	.L57
	bl	print_help
	mov	r0, #1
	bl	exit
.L57:
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-144]
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, [fp, #-144]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	ldr	r3, .L68+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	ldr	r1, .L68+20
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L58:
	ldr	r3, [fp, #-92]
	and	r3, r3, #64
	cmp	r3, #0
	bne	.L59
	ldr	r3, .L68+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	ldr	r1, .L68+24
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L59:
	ldr	r3, .L68+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	ldr	r1, .L68+28
	mov	r0, r3
	bl	fprintf
	mov	r1, #1
	ldr	r0, [fp, #-144]
	bl	dlopen
	str	r0, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L60
	ldr	r3, .L68+12
	ldr	r4, [r3]
	bl	dlerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L68+32
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L60:
	ldr	r3, .L68+12
	ldr	r3, [r3]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L68+36
	bl	fwrite
	bl	dlerror
	ldr	r0, [fp, #-148]
	bl	detect_extrae
	str	r0, [fp, #-140]
	ldr	r0, [fp, #-148]
	bl	detect_mpi
	str	r0, [fp, #-136]
	ldr	r0, [fp, #-148]
	bl	detect_openmp
	str	r0, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bne	.L61
	ldr	r0, [fp, #-148]
	bl	detect_pthreads
	str	r0, [fp, #-128]
.L61:
	ldr	r0, [fp, #-148]
	bl	detect_cuda
	str	r0, [fp, #-124]
	ldr	r0, [fp, #-148]
	bl	detect_opencl
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L62
	ldr	r3, .L68+12
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L68+40
	bl	fwrite
	ldr	r0, .L68+44
	bl	preload_this
.L62:
	ldr	r3, [fp, #-136]
	cmp	r3, #1
	bne	.L63
	ldr	r3, .L68+12
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L68+48
	bl	fwrite
	ldr	r0, .L68+52
	bl	preload_this
.L63:
	ldr	r3, [fp, #-132]
	cmp	r3, #1
	bne	.L64
	ldr	r3, .L68+12
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L68+56
	bl	fwrite
	ldr	r0, .L68+60
	bl	preload_this
.L64:
	bl	show_preload
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L65
	mov	r1, #0
	ldr	r0, .L68+64
	bl	execv
	ldr	r3, .L68+12
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L68+68
	bl	fwrite
	mov	r0, #0
	bl	exit
.L65:
	sub	r3, fp, #152
	mov	r0, r3
	bl	wait
	str	r0, [fp, #-112]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	bne	.L65
	ldr	r3, [fp, #-152]
	ldr	r2, .L68
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L67
	bl	__stack_chk_fail
.L67:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L69:
	.align	2
.L68:
	.word	.LC52
	.word	.LC37
	.word	extrae_home
	.word	stderr
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
