	.file	"extr_dso.c_dso__new.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dso__new
	.type	dso__new, @function
dso__new:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	strlen@PLT
	mov	edi, 1
	lea	rsi, 89[rax]
	call	calloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR 80[rax]
	mov	rsi, rbp
	call	strcpy@PLT
	mov	esi, DWORD PTR 80[r12]
	mov	rdi, r12
	call	dso__set_long_name@PLT
	mov	esi, DWORD PTR 80[r12]
	mov	rdi, r12
	call	dso__set_short_name@PLT
	mov	eax, DWORD PTR MAP__NR_TYPES[rip]
	test	eax, eax
	jle	.L3
	sub	eax, 1
	lea	rsi, 8[0+rax*8]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rcx, QWORD PTR 64[r12]
	mov	rdx, QWORD PTR RB_ROOT[rip]
	mov	QWORD PTR [rcx+rax], rdx
	mov	rcx, QWORD PTR 72[r12]
	mov	QWORD PTR [rcx+rax], rdx
	add	rax, 8
	cmp	rax, rsi
	jne	.L4
.L3:
	mov	rax, QWORD PTR RB_ROOT[rip]
	mov	rdi, r12
	mov	QWORD PTR 32[r12], 0
	mov	QWORD PTR 24[r12], 0
	mov	QWORD PTR 56[r12], rax
	mov	rax, QWORD PTR DSO_BINARY_TYPE__NOT_FOUND[rip]
	mov	QWORD PTR 16[r12], 0
	mov	QWORD PTR 48[r12], rax
	mov	QWORD PTR 40[r12], rax
	mov	eax, DWORD PTR DSO_TYPE_USER[rip]
	mov	DWORD PTR 8[r12], eax
	mov	eax, DWORD PTR DSO_SWAP__UNSET[rip]
	mov	DWORD PTR 4[r12], eax
	call	INIT_LIST_HEAD@PLT
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dso__new, .-dso__new
	.comm	RB_ROOT,8,8
	.comm	MAP__NR_TYPES,4,4
	.comm	DSO_TYPE_USER,4,4
	.comm	DSO_SWAP__UNSET,4,4
	.comm	DSO_BINARY_TYPE__NOT_FOUND,8,8
	.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_dso.c_dso__new.c"
	.text
	.align	2
	.global	dso__new
	.syntax unified
	.arm
	.fpu softvfp
	.type	dso__new, %function
dso__new:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	strlen
	mov	r1, r0
	mov	r0, #1
	add	r1, r1, #49
	bl	calloc
	subs	r4, r0, #0
	beq	.L1
	mov	r1, r5
	ldr	r0, [r4, #44]
	bl	strcpy
	ldr	r1, [r4, #44]
	mov	r0, r4
	bl	dso__set_long_name
	mov	r0, r4
	ldr	r1, [r4, #44]
	bl	dso__set_short_name
	ldr	r3, .L13
	ldr	r0, [r3]
	cmp	r0, #0
	ldrle	ip, .L13+4
	ble	.L3
	mov	r3, #0
	ldr	ip, .L13+4
.L4:
	ldr	r1, [r4, #36]
	ldr	r2, [ip]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, [r4, #40]
	str	r2, [r1, r3, lsl #2]
	add	r3, r3, #1
	cmp	r3, r0
	bne	.L4
.L3:
	mov	r3, #0
	ldr	r2, .L13+8
	ldr	r0, .L13+12
	ldr	r1, .L13+16
	ldr	r2, [r2]
	ldr	r0, [r0]
	ldr	ip, [ip]
	ldr	r1, [r1]
	str	r0, [r4, #8]
	str	ip, [r4, #32]
	mov	r0, r4
	str	r2, [r4, #28]
	str	r2, [r4, #24]
	str	r1, [r4, #4]
	str	r3, [r4, #20]
	str	r3, [r4, #16]
	str	r3, [r4, #12]
	bl	INIT_LIST_HEAD
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	MAP__NR_TYPES
	.word	RB_ROOT
	.word	DSO_BINARY_TYPE__NOT_FOUND
	.word	DSO_TYPE_USER
	.word	DSO_SWAP__UNSET
	.size	dso__new, .-dso__new
	.comm	RB_ROOT,4,4
	.comm	MAP__NR_TYPES,4,4
	.comm	DSO_TYPE_USER,4,4
	.comm	DSO_SWAP__UNSET,4,4
	.comm	DSO_BINARY_TYPE__NOT_FOUND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
