	.file	"extr_typelib.c_WMSFT_append_arraydesc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	WMSFT_append_arraydesc, @function
WMSFT_append_arraydesc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rdi]
	mov	r13d, DWORD PTR [rsi]
	mov	rdi, QWORD PTR 8[r12]
	lea	esi, 8[r13+rax*8]
	mov	DWORD PTR [r12], esi
	test	rdi, rdi
	jne	.L2
	mov	edi, esi
	call	heap_alloc@PLT
	mov	QWORD PTR 8[r12], rax
.L3:
	movsx	rdx, r13d
	lea	rdi, 16[rbp]
	xor	ecx, ecx
	mov	rsi, r12
	lea	rbx, [rdx+rax]
	xor	edx, edx
	call	WMSFT_append_typedesc@PLT
	mov	DWORD PTR [rbx], eax
	mov	edx, DWORD PTR 0[rbp]
	mov	eax, edx
	sal	eax, 19
	or	eax, edx
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	jle	.L1
	mov	rcx, QWORD PTR 8[rbp]
	lea	rdx, 8[rbx]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR [rcx+rax*8]
	add	rdx, 8
	mov	DWORD PTR -8[rdx], esi
	mov	esi, DWORD PTR 4[rcx+rax*8]
	add	rax, 1
	mov	DWORD PTR -4[rdx], esi
	cmp	DWORD PTR 0[rbp], eax
	jg	.L5
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	heap_realloc@PLT
	mov	QWORD PTR 8[r12], rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	WMSFT_append_arraydesc, .-WMSFT_append_arraydesc
	.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_typelib.c_WMSFT_append_arraydesc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	WMSFT_append_arraydesc, %function
WMSFT_append_arraydesc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	ldr	r1, [r0]
	ldr	r6, [r7]
	mov	r5, r0
	ldr	r0, [r7, #4]
	add	r1, r1, #1
	add	r1, r6, r1, lsl #3
	cmp	r0, #0
	str	r1, [r7]
	bne	.L2
	mov	r0, r1
	bl	heap_alloc
	mov	r4, r0
	str	r0, [r7, #4]
.L3:
	mov	r3, #0
	mov	r1, r7
	mov	r2, r3
	add	r0, r5, #8
	bl	WMSFT_append_typedesc
	str	r0, [r4, r6]
	ldr	r2, [r5]
	add	r3, r4, r6
	orr	r2, r2, r2, lsl #19
	str	r2, [r3, #4]
	ldr	r2, [r5]
	cmp	r2, #0
	ble	.L1
	mov	r2, #0
	ldr	r0, [r5, #4]
	add	r3, r3, #8
	add	ip, r0, #4
.L5:
	ldr	r1, [r0, r2, lsl #3]
	add	r3, r3, #8
	str	r1, [r3, #-8]
	ldr	r1, [ip, r2, lsl #3]
	add	r2, r2, #1
	str	r1, [r3, #-4]
	ldr	r1, [r5]
	cmp	r1, r2
	bgt	.L5
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	bl	heap_realloc
	mov	r4, r0
	str	r0, [r7, #4]
	b	.L3
	.size	WMSFT_append_arraydesc, .-WMSFT_append_arraydesc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
