	.file	"extr_cachedump.c_copy_msg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	copy_msg, @function
copy_msg:
.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
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r14, QWORD PTR 8[rsi]
	mov	eax, DWORD PTR [r14]
	cmp	eax, DWORD PTR RR_COUNT_MAX[rip]
	jle	.L2
.L4:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
.L2:
	.cfi_restore_state
	lea	eax, -1[rax+rax*2]
	mov	rbx, rsi
	mov	r12, rdx
	mov	rsi, r14
	lea	edx, 24[0+rax*4]
	mov	r13, rcx
	mov	rbp, rdi
	call	regional_alloc_init@PLT
	mov	QWORD PTR 0[r13], rax
	test	rax, rax
	je	.L4
	movsx	rdx, DWORD PTR [r14]
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, rbp
	sal	rdx, 4
	add	rdx, QWORD PTR 8[rax]
	mov	QWORD PTR 16[rax], rdx
	mov	edx, 16
	call	regional_alloc_init@PLT
	mov	QWORD PTR [r12], rax
	mov	rbx, rax
	test	rax, rax
	je	.L4
	mov	rsi, QWORD PTR 8[rax]
	mov	edx, DWORD PTR [rax]
	mov	rdi, rbp
	call	regional_alloc_init@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR [r12]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR 8[rax], 0
	pop	r12
	.cfi_def_cfa_offset 24
	setne	al
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	movzx	eax, al
	ret
	.cfi_endproc
.LFE0:
	.size	copy_msg, .-copy_msg
	.comm	RR_COUNT_MAX,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_cachedump.c_copy_msg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_msg, %function
copy_msg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, [r1, #4]
	mov	r4, r1
	ldr	r1, .L13
	ldr	ip, [r8]
	ldr	r1, [r1]
	cmp	ip, r1
	ble	.L2
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r5, r2
	add	r2, ip, #1
	mov	r1, r8
	lsl	r2, r2, #3
	mov	r7, r3
	mov	r6, r0
	bl	regional_alloc_init
	cmp	r0, #0
	str	r0, [r7]
	beq	.L4
	ldr	r2, [r8]
	ldr	r3, [r0, #4]
	ldr	r1, [r4]
	add	r3, r3, r2, lsl #4
	str	r3, [r0, #8]
	mov	r2, #8
	mov	r0, r6
	bl	regional_alloc_init
	cmp	r0, #0
	mov	r4, r0
	str	r0, [r5]
	beq	.L4
	mov	r0, r6
	ldr	r2, [r4]
	ldr	r1, [r4, #4]
	bl	regional_alloc_init
	ldr	r3, [r5]
	str	r0, [r4, #4]
	ldr	r0, [r3, #4]
	subs	r0, r0, #0
	movne	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	RR_COUNT_MAX
	.size	copy_msg, .-copy_msg
	.comm	RR_COUNT_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
