	.file	"310904.c"
	.intel_syntax noprefix
	.text
	.local	initial_buf
	.comm	initial_buf,1048576,32
	.local	initial_buf_idx
	.comm	initial_buf_idx,8,8
	.local	libc_malloc
	.comm	libc_malloc,8,8
	.local	libc_calloc
	.comm	libc_calloc,8,8
	.local	libc_realloc
	.comm	libc_realloc,8,8
	.local	libc_free
	.comm	libc_free,8,8
	.section	.rodata
.LC0:
	.string	"malloc"
.LC1:
	.string	"calloc"
.LC2:
	.string	"realloc"
.LC3:
	.string	"free"
	.text
	.globl	init
	.type	init, @function
init:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rsi, .LC0[rip]
	mov	rdi, -1
	call	dlsym@PLT
	mov	QWORD PTR libc_malloc[rip], rax
	lea	rsi, .LC1[rip]
	mov	rdi, -1
	call	dlsym@PLT
	mov	QWORD PTR libc_calloc[rip], rax
	lea	rsi, .LC2[rip]
	mov	rdi, -1
	call	dlsym@PLT
	mov	QWORD PTR libc_realloc[rip], rax
	lea	rsi, .LC3[rip]
	mov	rdi, -1
	call	dlsym@PLT
	mov	QWORD PTR libc_free[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	init, .-init
	.section	.init_array,"aw"
	.align 8
	.quad	init
	.text
	.globl	initial_malloc
	.type	initial_malloc, @function
initial_malloc:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rdx, QWORD PTR initial_buf_idx[rip]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 8
	cmp	rax, 1048576
	jbe	.L3
	mov	eax, 0
	jmp	.L4
.L3:
	mov	rax, QWORD PTR initial_buf_idx[rip]
	lea	rdx, initial_buf[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR initial_buf_idx[rip]
	lea	rdx, 8[rax]
	lea	rax, initial_buf[rip]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 15
	and	rax, -8
	mov	rdx, rax
	mov	rax, QWORD PTR initial_buf_idx[rip]
	add	rax, rdx
	mov	QWORD PTR initial_buf_idx[rip], rax
	mov	rax, QWORD PTR -8[rbp]
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	initial_malloc, .-initial_malloc
	.globl	initial_free
	.type	initial_free, @function
initial_free:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	lea	rax, initial_buf[rip]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L6
	mov	rax, QWORD PTR initial_buf_idx[rip]
	lea	rdx, initial_buf[rip]
	add	rax, rdx
	cmp	QWORD PTR -8[rbp], rax
	jnb	.L6
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -8[rax]
	jmp	.L7
.L6:
	mov	eax, 0
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	initial_free, .-initial_free
	.globl	malloc
	.type	malloc, @function
malloc:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	initial_malloc
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -8[rbp]
	movabs	rdx, -9223372036854775808
	or	rax, rdx
	jmp	.L10
.L9:
	mov	rdx, QWORD PTR libc_malloc[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rdx
	mov	rdx, rax
	movabs	rax, -9223372036854775808
	or	rax, rdx
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	malloc, .-malloc
	.globl	calloc
	.type	calloc, @function
calloc:
.LFB10:
	.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	rax, QWORD PTR -24[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	initial_malloc
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L12
	mov	rax, QWORD PTR -8[rbp]
	movabs	rdx, -9223372036854775808
	or	rax, rdx
	jmp	.L13
.L12:
	mov	rcx, QWORD PTR libc_calloc[rip]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	mov	rdx, rax
	movabs	rax, -9223372036854775808
	or	rax, rdx
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	calloc, .-calloc
	.globl	realloc
	.type	realloc, @function
realloc:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	movabs	rdx, 9223372036854775807
	and	rax, rdx
	mov	rdi, rax
	call	initial_free
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L15
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	malloc
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	cmp	QWORD PTR -16[rbp], rax
	cmovbe	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	movabs	rcx, 9223372036854775807
	and	rdx, rcx
	mov	rsi, rdx
	mov	rdx, QWORD PTR -8[rbp]
	movabs	rcx, 9223372036854775807
	and	rdx, rcx
	mov	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L16
.L15:
	mov	rdx, QWORD PTR libc_realloc[rip]
	mov	rax, QWORD PTR -24[rbp]
	movabs	rcx, 9223372036854775807
	and	rax, rcx
	mov	rcx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	rdx
	mov	rdx, rax
	movabs	rax, -9223372036854775808
	or	rax, rdx
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	realloc, .-realloc
	.globl	free
	.type	free, @function
free:
.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]
	movabs	rdx, 9223372036854775807
	and	rax, rdx
	mov	rdi, rax
	call	initial_free
	test	rax, rax
	jne	.L20
	mov	rax, QWORD PTR libc_free[rip]
	mov	rdx, QWORD PTR -8[rbp]
	movabs	rcx, 9223372036854775807
	and	rdx, rcx
	mov	rdi, rdx
	call	rax
	jmp	.L17
.L20:
	nop
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	free, .-free
	.section	.rodata
	.align 8
.LC4:
	.string	"Usage: %s <path to dynamic library>\n"
.LC5:
	.string	"Loading shared object %s\n"
.LC6:
	.string	"Failed to load %s - %s\n"
.LC7:
	.string	"Unloading shared object %s\n"
	.align 8
.LC8:
	.string	"Application finished successfully!"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 2
	je	.L22
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L22:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	dlopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L23
	call	dlerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L23:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	dlclose@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"310904.c"
	.text
	.local	initial_buf
	.comm	initial_buf,1048576,4
	.local	initial_buf_idx
	.comm	initial_buf_idx,4,4
	.local	libc_malloc
	.comm	libc_malloc,4,4
	.local	libc_calloc
	.comm	libc_calloc,4,4
	.local	libc_realloc
	.comm	libc_realloc,4,4
	.local	libc_free
	.comm	libc_free,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"malloc\000"
	.align	2
.LC1:
	.ascii	"calloc\000"
	.align	2
.LC2:
	.ascii	"realloc\000"
	.align	2
.LC3:
	.ascii	"free\000"
	.text
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r1, .L2
	mvn	r0, #0
	bl	dlsym
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L2+4
	str	r2, [r3]
	ldr	r1, .L2+8
	mvn	r0, #0
	bl	dlsym
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L2+12
	str	r2, [r3]
	ldr	r1, .L2+16
	mvn	r0, #0
	bl	dlsym
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L2+20
	str	r2, [r3]
	ldr	r1, .L2+24
	mvn	r0, #0
	bl	dlsym
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L2+28
	str	r2, [r3]
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	libc_malloc
	.word	.LC1
	.word	libc_calloc
	.word	.LC2
	.word	libc_realloc
	.word	.LC3
	.word	libc_free
	.size	init, .-init
	.section	.init_array,"aw",%init_array
	.align	2
	.word	init(target1)
	.text
	.align	2
	.global	initial_malloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	initial_malloc, %function
initial_malloc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #4
	cmp	r3, #1048576
	bls	.L5
	mov	r3, #0
	b	.L6
.L5:
	ldr	r3, .L7
	ldr	r3, [r3]
	ldr	r2, .L7+4
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L7
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, .L7+4
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #7
	bic	r2, r3, #3
	ldr	r3, .L7
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L7
	str	r3, [r2]
	ldr	r3, [fp, #-8]
.L6:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L8:
	.align	2
.L7:
	.word	initial_buf_idx
	.word	initial_buf
	.size	initial_malloc, .-initial_malloc
	.align	2
	.global	initial_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	initial_free, %function
initial_free:
	@ 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]
	ldr	r2, .L12
	cmp	r3, r2
	bcc	.L10
	ldr	r3, .L12+4
	ldr	r3, [r3]
	ldr	r2, .L12
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcs	.L10
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #-4]
	b	.L11
.L10:
	mov	r3, #0
.L11:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L13:
	.align	2
.L12:
	.word	initial_buf
	.word	initial_buf_idx
	.size	initial_free, .-initial_free
	.align	2
	.global	malloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	malloc, %function
malloc:
	@ 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]
	ldr	r0, [fp, #-16]
	bl	initial_malloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-8]
	orr	r3, r3, #-2147483648
	b	.L16
.L15:
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r0, [fp, #-16]
	blx	r3
	mov	r3, r0
	orr	r3, r3, #-2147483648
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	libc_malloc
	.size	malloc, .-malloc
	.align	2
	.global	calloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	calloc, %function
calloc:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	mov	r0, r3
	bl	initial_malloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-8]
	orr	r3, r3, #-2147483648
	b	.L21
.L20:
	ldr	r3, .L22
	ldr	r3, [r3]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	blx	r3
	mov	r3, r0
	orr	r3, r3, #-2147483648
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	libc_calloc
	.size	calloc, .-calloc
	.align	2
	.global	realloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	realloc, %function
realloc:
	@ 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]
	ldr	r3, [fp, #-16]
	bic	r3, r3, #-2147483648
	mov	r0, r3
	bl	initial_free
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L25
	ldr	r0, [fp, #-20]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	bic	r3, r3, #-2147483648
	mov	r0, r3
	ldr	r3, [fp, #-16]
	bic	r3, r3, #-2147483648
	mov	r1, r3
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	movcc	r3, r2
	movcs	r3, r3
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	b	.L26
.L25:
	ldr	r3, .L27
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	bic	r2, r2, #-2147483648
	ldr	r1, [fp, #-20]
	mov	r0, r2
	blx	r3
	mov	r3, r0
	orr	r3, r3, #-2147483648
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	libc_realloc
	.size	realloc, .-realloc
	.align	2
	.global	free
	.syntax unified
	.arm
	.fpu softvfp
	.type	free, %function
free:
	@ 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	r3, [fp, #-8]
	bic	r3, r3, #-2147483648
	mov	r0, r3
	bl	initial_free
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L33
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	bic	r2, r2, #-2147483648
	mov	r0, r2
	blx	r3
	b	.L29
.L32:
	nop
.L29:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	libc_free
	.size	free, .-free
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Usage: %s <path to dynamic library>\012\000"
	.align	2
.LC5:
	.ascii	"Loading shared object %s\012\000"
	.align	2
.LC6:
	.ascii	"Failed to load %s - %s\012\000"
	.align	2
.LC7:
	.ascii	"Unloading shared object %s\012\000"
	.align	2
.LC8:
	.ascii	"Application finished successfully!\000"
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	beq	.L36
	ldr	r3, .L39
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L39+4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L36:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, .L39+8
	bl	printf
	ldr	r3, .L39+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #2
	ldr	r0, [fp, #-20]
	bl	dlopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L37
	ldr	r3, .L39
	ldr	r4, [r3]
	bl	dlerror
	mov	r3, r0
	ldr	r2, [fp, #-20]
	ldr	r1, .L39+16
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L37:
	ldr	r1, [fp, #-20]
	ldr	r0, .L39+20
	bl	printf
	ldr	r3, .L39+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, [fp, #-16]
	bl	dlclose
	ldr	r0, .L39+24
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L40:
	.align	2
.L39:
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	stdout
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
