	.file	"extr_h_locking.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dl_iterate_phdr"
.LC1:
	.string	"dlopen"
.LC2:
	.string	"dlclose"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edi, 2
	je	.L12
	mov	eax, 1
	ret
.L12:
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rdi, QWORD PTR 8[rsi]
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L13
.L4:
	mov	rdi, QWORD PTR 8[rbx]
	lea	rsi, .LC1[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L14
.L5:
	mov	rdi, QWORD PTR 8[rbx]
	lea	rsi, .LC2[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L15
.L3:
	mov	eax, 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	test_dl_iterate_phdr@PLT
	jmp	.L4
.L15:
	call	test_dlclose@PLT
	jmp	.L3
.L14:
	call	test_dlopen@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_h_locking.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dl_iterate_phdr\000"
	.align	2
.LC1:
	.ascii	"dlopen\000"
	.align	2
.LC2:
	.ascii	"dlclose\000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #2
	bne	.L8
	push	{r4, lr}
	mov	r4, r1
	ldr	r1, .L15
	ldr	r0, [r4, #4]
	bl	strcmp
	cmp	r0, #0
	beq	.L12
.L4:
	ldr	r1, .L15+4
	ldr	r0, [r4, #4]
	bl	strcmp
	cmp	r0, #0
	beq	.L13
.L5:
	ldr	r0, [r4, #4]
	ldr	r1, .L15+8
	bl	strcmp
	cmp	r0, #0
	beq	.L14
.L3:
	mov	r0, #1
	pop	{r4, pc}
.L8:
	mov	r0, #1
	bx	lr
.L14:
	bl	test_dlclose
	b	.L3
.L12:
	bl	test_dl_iterate_phdr
	b	.L4
.L13:
	bl	test_dlopen
	b	.L5
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
