	.file	"162644409.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"direct call to local_global_func()\n"
	.text
	.globl	local_global_func
	.type	local_global_func, @function
local_global_func:
.LFB6:
	.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, 35
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	local_global_func, .-local_global_func
	.section	.rodata
	.align 8
.LC1:
	.string	"########## preload test starting ##########\n"
	.align 8
.LC2:
	.string	"test failed, local global function was unexpectedly intercepted\n"
	.align 8
.LC3:
	.string	"########## preload test failed\n"
	.align 8
.LC4:
	.string	"########## preload test passed! ##########\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 44
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	call	local_global_func
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L4
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 64
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L5
.L4:
	call	run_test@PLT
	test	eax, eax
	je	.L6
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L5
.L6:
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 43
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	eax, 0
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"162644409.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"direct call to local_global_func()\012\000"
	.text
	.align	2
	.global	local_global_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	local_global_func, %function
local_global_func:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, .L3+4
	bl	fwrite
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	stdout
	.word	.LC0
	.size	local_global_func, .-local_global_func
	.section	.rodata
	.align	2
.LC1:
	.ascii	"########## preload test starting ##########\012\000"
	.align	2
.LC2:
	.ascii	"test failed, local global function was unexpectedly"
	.ascii	" intercepted\012\000"
	.align	2
.LC3:
	.ascii	"########## preload test failed\012\000"
	.align	2
.LC4:
	.ascii	"########## preload test passed! ##########\012\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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r2, #44
	mov	r1, #1
	ldr	r0, .L9+4
	bl	fwrite
	bl	local_global_func
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r2, #64
	mov	r1, #1
	ldr	r0, .L9+8
	bl	fwrite
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L9+12
	bl	fwrite
	mov	r3, #1
	b	.L7
.L6:
	bl	run_test
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L9+12
	bl	fwrite
	mvn	r3, #0
	b	.L7
.L8:
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r2, #43
	mov	r1, #1
	ldr	r0, .L9+16
	bl	fwrite
	mov	r3, #0
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	stdout
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
