	.file	"272609.c"
	.intel_syntax noprefix
	.text
	.globl	overriddenvar
	.data
	.align 4
	.type	overriddenvar, @object
	.size	overriddenvar, 4
overriddenvar:
	.long	-1
	.globl	shlibvar1
	.align 4
	.type	shlibvar1, @object
	.size	shlibvar1, 4
shlibvar1:
	.long	3
	.text
	.globl	shlib_mainvar
	.type	shlib_mainvar, @function
shlib_mainvar:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR mainvar[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	shlib_mainvar, .-shlib_mainvar
	.globl	shlib_overriddenvar
	.type	shlib_overriddenvar, @function
shlib_overriddenvar:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR overriddenvar[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	shlib_overriddenvar, .-shlib_overriddenvar
	.globl	shlib_shlibvar1
	.type	shlib_shlibvar1, @function
shlib_shlibvar1:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR shlibvar1[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	shlib_shlibvar1, .-shlib_shlibvar1
	.globl	shlib_shlibvar2
	.type	shlib_shlibvar2, @function
shlib_shlibvar2:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR shlibvar2[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	shlib_shlibvar2, .-shlib_shlibvar2
	.globl	shlib_shlibcall
	.type	shlib_shlibcall, @function
shlib_shlibcall:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	shlib_shlibcalled@PLT
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	shlib_shlibcall, .-shlib_shlibcall
	.globl	shlib_shlibcall2
	.type	shlib_shlibcall2, @function
shlib_shlibcall2:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	shlib_overriddencall2
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	shlib_shlibcall2, .-shlib_shlibcall2
	.globl	shlib_overriddencall2
	.type	shlib_overriddencall2, @function
shlib_overriddencall2:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 7
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	shlib_overriddencall2, .-shlib_overriddencall2
	.globl	shlib_maincall
	.type	shlib_maincall, @function
shlib_maincall:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	main_called@PLT
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	shlib_maincall, .-shlib_maincall
	.globl	shlib_checkfunptr1
	.type	shlib_checkfunptr1, @function
shlib_checkfunptr1:
.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, shlib_shlibvar1[rip]
	cmp	QWORD PTR -8[rbp], rax
	sete	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	shlib_checkfunptr1, .-shlib_checkfunptr1
	.globl	shlib_checkfunptr2
	.type	shlib_checkfunptr2, @function
shlib_checkfunptr2:
.LFB9:
	.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
	mov	rax, QWORD PTR main_called@GOTPCREL[rip]
	cmp	QWORD PTR -8[rbp], rax
	sete	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	shlib_checkfunptr2, .-shlib_checkfunptr2
	.globl	shlib_getfunptr1
	.type	shlib_getfunptr1, @function
shlib_getfunptr1:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rax, shlib_shlibvar1[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	shlib_getfunptr1, .-shlib_getfunptr1
	.globl	shlib_getfunptr2
	.type	shlib_getfunptr2, @function
shlib_getfunptr2:
.LFB11:
	.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 main_called@GOTPCREL[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	shlib_getfunptr2, .-shlib_getfunptr2
	.data
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.long	6
	.section	.rodata
.LC0:
	.string	"Hello, world\n"
	.section	.data.rel.local,"aw"
	.align 8
	.type	str, @object
	.size	str, 8
str:
	.quad	.LC0
	.text
	.globl	shlib_check
	.type	shlib_check, @function
shlib_check:
.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	eax, DWORD PTR i[rip]
	cmp	eax, 6
	je	.L26
	mov	eax, 0
	jmp	.L27
.L26:
	lea	rax, .LC0[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR str[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	movzx	ecx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	je	.L28
	mov	eax, 0
	jmp	.L27
.L28:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L30
	mov	eax, 0
	jmp	.L27
.L30:
	mov	eax, 0
	call	shlib_shlibvar1
	cmp	eax, 3
	je	.L31
	mov	eax, 0
	jmp	.L27
.L31:
	mov	eax, 1
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	shlib_check, .-shlib_check
	.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	"272609.c"
	.text
	.global	overriddenvar
	.data
	.align	2
	.type	overriddenvar, %object
	.size	overriddenvar, 4
overriddenvar:
	.word	-1
	.global	shlibvar1
	.align	2
	.type	shlibvar1, %object
	.size	shlibvar1, 4
shlibvar1:
	.word	3
	.text
	.align	2
	.global	shlib_mainvar
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_mainvar, %function
shlib_mainvar:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L4:
	.align	2
.L3:
	.word	mainvar
	.size	shlib_mainvar, .-shlib_mainvar
	.align	2
	.global	shlib_overriddenvar
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_overriddenvar, %function
shlib_overriddenvar:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L7
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L8:
	.align	2
.L7:
	.word	overriddenvar
	.size	shlib_overriddenvar, .-shlib_overriddenvar
	.align	2
	.global	shlib_shlibvar1
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_shlibvar1, %function
shlib_shlibvar1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L11
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L12:
	.align	2
.L11:
	.word	shlibvar1
	.size	shlib_shlibvar1, .-shlib_shlibvar1
	.align	2
	.global	shlib_shlibvar2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_shlibvar2, %function
shlib_shlibvar2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L15
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	shlibvar2
	.size	shlib_shlibvar2, .-shlib_shlibvar2
	.align	2
	.global	shlib_shlibcall
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_shlibcall, %function
shlib_shlibcall:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	shlib_shlibcalled
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
	.size	shlib_shlibcall, .-shlib_shlibcall
	.align	2
	.global	shlib_shlibcall2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_shlibcall2, %function
shlib_shlibcall2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	shlib_overriddencall2
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
	.size	shlib_shlibcall2, .-shlib_shlibcall2
	.align	2
	.global	shlib_overriddencall2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_overriddencall2, %function
shlib_overriddencall2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #7
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	shlib_overriddencall2, .-shlib_overriddencall2
	.align	2
	.global	shlib_maincall
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_maincall, %function
shlib_maincall:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	main_called
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
	.size	shlib_maincall, .-shlib_maincall
	.align	2
	.global	shlib_checkfunptr1
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_checkfunptr1, %function
shlib_checkfunptr1:
	@ 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, .L27
	cmp	r3, r2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L28:
	.align	2
.L27:
	.word	shlib_shlibvar1
	.size	shlib_checkfunptr1, .-shlib_checkfunptr1
	.align	2
	.global	shlib_checkfunptr2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_checkfunptr2, %function
shlib_checkfunptr2:
	@ 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, .L31
	cmp	r3, r2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L32:
	.align	2
.L31:
	.word	main_called
	.size	shlib_checkfunptr2, .-shlib_checkfunptr2
	.align	2
	.global	shlib_getfunptr1
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_getfunptr1, %function
shlib_getfunptr1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L35
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L36:
	.align	2
.L35:
	.word	shlib_shlibvar1
	.size	shlib_getfunptr1, .-shlib_getfunptr1
	.align	2
	.global	shlib_getfunptr2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_getfunptr2, %function
shlib_getfunptr2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L39
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L40:
	.align	2
.L39:
	.word	main_called
	.size	shlib_getfunptr2, .-shlib_getfunptr2
	.data
	.align	2
	.type	i, %object
	.size	i, 4
i:
	.word	6
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hello, world\012\000"
	.data
	.align	2
	.type	str, %object
	.size	str, 4
str:
	.word	.LC0
	.text
	.align	2
	.global	shlib_check
	.syntax unified
	.arm
	.fpu softvfp
	.type	shlib_check, %function
shlib_check:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L48
	ldr	r3, [r3]
	cmp	r3, #6
	beq	.L42
	mov	r3, #0
	b	.L43
.L42:
	ldr	r3, .L48+4
	str	r3, [fp, #-12]
	ldr	r3, .L48+8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L44
.L45:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L44
	mov	r3, #0
	b	.L43
.L44:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L45
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L46
	mov	r3, #0
	b	.L43
.L46:
	bl	shlib_shlibvar1
	mov	r3, r0
	cmp	r3, #3
	beq	.L47
	mov	r3, #0
	b	.L43
.L47:
	mov	r3, #1
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	i
	.word	.LC0
	.word	str
	.size	shlib_check, .-shlib_check
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
