	.file	"extr_counter.c_append_stat.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	append_stat, @function
append_stat:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR [rdi]
	mov	rdi, QWORD PTR 8[rdi]
	cmp	esi, DWORD PTR 4[rbp]
	je	.L7
.L2:
	movsx	rax, esi
	add	esi, 1
	sal	rax, 5
	add	rdi, rax
	mov	eax, DWORD PTR YRMCDS_OK[rip]
	mov	QWORD PTR 24[rdi], r12
	mov	QWORD PTR 16[rdi], r13
	mov	QWORD PTR [rdi], r14
	mov	QWORD PTR 8[rdi], r15
	mov	DWORD PTR 0[rbp], esi
.L1:
	add	rsp, 8
	.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
.L7:
	.cfi_restore_state
	add	esi, esi
	movsx	rsi, esi
	cmp	QWORD PTR INITIAL_STATS_CAPACITY[rip], rsi
	mov	rbx, rsi
	cmovnb	rbx, QWORD PTR INITIAL_STATS_CAPACITY[rip]
	mov	esi, ebx
	sal	esi, 5
	call	realloc@PLT
	mov	rdi, rax
	mov	eax, DWORD PTR YRMCDS_OUT_OF_MEMORY[rip]
	test	rdi, rdi
	je	.L1
	mov	DWORD PTR 4[rbp], ebx
	mov	esi, DWORD PTR 0[rbp]
	mov	QWORD PTR 8[rbp], rdi
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	append_stat, .-append_stat
	.comm	YRMCDS_OUT_OF_MEMORY,4,4
	.comm	YRMCDS_OK,4,4
	.comm	INITIAL_STATS_CAPACITY,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_counter.c_append_stat.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	append_stat, %function
append_stat:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	ip, [r0]
	ldr	r0, [r0, #4]
	mov	r7, r1
	cmp	ip, r0
	mov	r8, r2
	mov	r6, r3
	ldr	lr, [r4, #8]
	beq	.L7
.L2:
	ldr	r3, .L9
	ldr	r2, [sp, #24]
	ldr	r0, [r3]
	add	r5, lr, ip, lsl #4
	add	r3, ip, #1
	str	r7, [r5, #12]
	str	r8, [r5, #8]
	str	r6, [lr, ip, lsl #4]
	str	r2, [r5, #4]
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9+4
	lsl	ip, ip, #1
	ldr	r5, [r3]
	mov	r0, lr
	cmp	ip, r5
	movcs	r5, ip
	lsl	r1, r5, #4
	bl	realloc
	subs	lr, r0, #0
	stmibne	r4, {r5, lr}
	ldrne	ip, [r4]
	bne	.L2
.L8:
	ldr	r3, .L9+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	YRMCDS_OK
	.word	INITIAL_STATS_CAPACITY
	.word	YRMCDS_OUT_OF_MEMORY
	.size	append_stat, .-append_stat
	.comm	YRMCDS_OUT_OF_MEMORY,4,4
	.comm	YRMCDS_OK,4,4
	.comm	INITIAL_STATS_CAPACITY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
