	.file	"extr_softp11.c_add_object_attribute.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	add_object_attribute, @function
add_object_attribute:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	movsx	rbx, DWORD PTR [rdi]
	mov	rdi, QWORD PTR 8[rdi]
	mov	DWORD PTR 12[rsp], edx
	lea	esi, 1[rbx]
	sal	esi, 5
	call	realloc@PLT
	test	rax, rax
	je	.L12
	sal	rbx, 5
	mov	QWORD PTR 8[r13], rax
	mov	rdi, rbp
	lea	r15, [rax+rbx]
	mov	eax, DWORD PTR 12[rsp]
	mov	DWORD PTR [r15], r14d
	mov	DWORD PTR 24[r15], eax
	call	malloc@PLT
	mov	QWORD PTR 16[r15], rax
	mov	rdi, rax
	test	rbp, rbp
	je	.L4
	test	rax, rax
	je	.L12
.L4:
	mov	rdx, rbp
	mov	esi, r12d
	call	memcpy@PLT
	mov	rax, QWORD PTR 8[r13]
	mov	QWORD PTR 8[rax+rbx], rbp
	mov	eax, DWORD PTR CKR_OK[rip]
	add	DWORD PTR 0[r13], 1
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	eax, DWORD PTR CKR_DEVICE_MEMORY[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	add_object_attribute, .-add_object_attribute
	.comm	CKR_OK,4,4
	.comm	CKR_DEVICE_MEMORY,4,4
	.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_softp11.c_add_object_attribute.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_object_attribute, %function
add_object_attribute:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r4, [r0]
	mov	r5, r0
	add	r4, r4, #1
	lsl	r4, r4, #4
	mov	r9, r1
	ldr	r0, [r0, #4]
	mov	r1, r4
	mov	r8, r2
	mov	r7, r3
	ldr	r6, [sp, #32]
	bl	realloc
	cmp	r0, #0
	beq	.L6
	sub	r4, r4, #16
	add	r10, r0, r4
	str	r0, [r5, #4]
	str	r9, [r0, r4]
	mov	r0, r6
	str	r8, [r10, #12]
	bl	malloc
	clz	r3, r0
	cmp	r6, #0
	lsr	r3, r3, #5
	moveq	r3, #0
	cmp	r3, #0
	str	r0, [r10, #8]
	bne	.L6
	mov	r1, r7
	mov	r2, r6
	bl	memcpy
	ldr	r3, [r5]
	ldr	r1, [r5, #4]
	ldr	r2, .L8
	add	r4, r1, r4
	add	r3, r3, #1
	ldr	r0, [r2]
	str	r6, [r4, #4]
	str	r3, [r5]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r3, .L8+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	.align	2
.L8:
	.word	CKR_OK
	.word	CKR_DEVICE_MEMORY
	.size	add_object_attribute, .-add_object_attribute
	.comm	CKR_OK,4,4
	.comm	CKR_DEVICE_MEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
