	.file	"extr_rtld.c_linkmap_add.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	linkmap_add, @function
linkmap_add:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR 40[rdi]
	lea	rsi, 8[rdi]
	lea	rcx, obj_rtld[rip]
	mov	DWORD PTR 28[rdi], eax
	mov	rax, QWORD PTR 44[rdi]
	mov	QWORD PTR 32[rdi], rax
	mov	rax, QWORD PTR r_debug[rip]
	test	rax, rax
	jne	.L2
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	cmp	rax, rcx
	je	.L12
.L2:
	mov	rdx, rax
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L13
	mov	QWORD PTR 16[rdi], rdx
	mov	QWORD PTR 8[rdi], 0
	mov	QWORD PTR [rdx], rsi
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	mov	QWORD PTR 8[rdi], rax
	mov	QWORD PTR 16[rdi], rdx
	mov	QWORD PTR 8[rax], rsi
	mov	QWORD PTR [rdx], rsi
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	mov	QWORD PTR r_debug[rip], rsi
	ret
	.cfi_endproc
.LFE0:
	.size	linkmap_add, .-linkmap_add
	.comm	r_debug,8,8
	.comm	obj_rtld,32,32
	.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_rtld.c_linkmap_add.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	linkmap_add, %function
linkmap_add:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L15
	ldr	ip, [r0, #32]
	ldr	r3, [r2]
	str	lr, [sp, #-4]!
	ldr	r1, [r0, #28]
	ldr	lr, [r0, #36]
	cmp	r3, #0
	str	ip, [r0, #20]
	str	lr, [r0, #24]
	str	r1, [r0, #16]
	add	ip, r0, #4
	beq	.L6
	ldr	r1, .L15+4
	b	.L2
.L14:
	cmp	r3, r1
	beq	.L13
.L2:
	mov	r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	str	r2, [r0, #8]
	str	r3, [r0, #4]
.L6:
	str	ip, [r2]
	ldr	pc, [sp], #4
.L13:
	str	r3, [r0, #4]
	str	r2, [r0, #8]
	str	ip, [r3, #4]
	str	ip, [r2]
	ldr	pc, [sp], #4
.L16:
	.align	2
.L15:
	.word	r_debug
	.word	obj_rtld
	.size	linkmap_add, .-linkmap_add
	.comm	r_debug,4,4
	.comm	obj_rtld,24,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
