	.file	"extr_prof.c_prof_tdata_merge_iter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	prof_tdata_merge_iter, @function
prof_tdata_merge_iter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR 4[rsi]
	mov	edi, DWORD PTR [rdx]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	malloc_mutex_lock@PLT
	mov	eax, DWORD PTR 44[rbx]
	test	eax, eax
	je	.L10
	mov	DWORD PTR [rbx], 0
.L6:
	mov	esi, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR 0[rbp]
	call	malloc_mutex_unlock@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	DWORD PTR [rbx], 1
	lea	rdi, 8[rbx]
	xor	esi, esi
	lea	r14, 40[rbx]
	mov	edx, 4
	lea	r13, 16[rsp]
	lea	r12, 8[rsp]
	call	memset@PLT
	mov	QWORD PTR 8[rsp], 0
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR 0[rbp]
	mov	rdx, rbx
	call	prof_tctx_merge_tdata@PLT
.L3:
	xor	edx, edx
	mov	rcx, r13
	mov	rsi, r12
	mov	rdi, r14
	call	ckh_iter@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR 32[rbx]
	add	DWORD PTR 16[rbp], eax
	mov	rax, QWORD PTR 24[rbx]
	add	DWORD PTR 12[rbp], eax
	cmp	QWORD PTR opt_prof_accum[rip], 0
	je	.L6
	mov	rax, QWORD PTR 16[rbx]
	add	DWORD PTR 8[rbp], eax
	mov	rax, QWORD PTR 8[rbx]
	add	DWORD PTR 4[rbp], eax
	jmp	.L6
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	prof_tdata_merge_iter, .-prof_tdata_merge_iter
	.comm	opt_prof_accum,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_prof.c_prof_tdata_merge_iter.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	prof_tdata_merge_iter, %function
prof_tdata_merge_iter:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r3, .L15
	sub	sp, sp, #16
	ldr	r1, [r1, #4]
	ldr	r0, [r2]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r5, r2
	bl	malloc_mutex_lock
	ldr	r3, [r4, #28]
	cmp	r3, #0
	movne	r3, #0
	strne	r3, [r4]
	beq	.L13
.L6:
	ldr	r1, [r4, #4]
	ldr	r0, [r5]
	bl	malloc_mutex_unlock
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L13:
	mov	r2, r4
	mov	r1, #1
	str	r1, [r2], #8
	str	r3, [sp, #4]
	strb	r3, [r4, #8]
	add	r6, r4, #24
	strb	r3, [r2, #1]
	strb	r3, [r2, #2]
	strb	r3, [r2, #3]
	b	.L3
.L4:
	mov	r2, r4
	ldr	r1, [sp, #8]
	ldr	r0, [r5]
	bl	prof_tctx_merge_tdata
.L3:
	mov	r2, #0
	mov	r0, r6
	add	r3, sp, #8
	add	r1, sp, #4
	bl	ckh_iter
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L15+4
	ldr	r0, [r4, #20]
	ldr	r1, [r3]
	ldr	r2, [r5, #16]
	ldr	r3, [r5, #12]
	cmp	r1, #0
	ldr	r1, [r4, #16]
	add	r2, r2, r0
	add	r3, r3, r1
	str	r2, [r5, #16]
	str	r3, [r5, #12]
	beq	.L6
	ldr	r0, [r4, #12]
	ldr	r1, [r4, #8]
	ldr	r2, [r5, #8]
	ldr	r3, [r5, #4]
	add	r2, r2, r0
	add	r3, r3, r1
	str	r2, [r5, #8]
	str	r3, [r5, #4]
	b	.L6
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	opt_prof_accum
	.size	prof_tdata_merge_iter, .-prof_tdata_merge_iter
	.comm	opt_prof_accum,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
