	.file	"extr_....utilcirclebuf.h_circlebuf_push_back.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	circlebuf_push_back, @function
circlebuf_push_back:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbp, QWORD PTR [rdi]
	mov	rbx, rdi
	add	QWORD PTR 8[rdi], rdx
	add	rbp, rdx
	call	circlebuf_ensure_capacity@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	rdi, QWORD PTR [rbx]
	cmp	rax, rbp
	jnb	.L2
	add	r12, rdi
	mov	r8, QWORD PTR 24[rbx]
	sub	r12, rax
	sub	rax, rdi
	mov	r13, rax
	jne	.L10
.L3:
	lea	rsi, [r14+r13]
	mov	rdx, r12
	mov	rdi, r8
	call	memcpy@PLT
	sub	rbp, QWORD PTR 16[rbx]
	mov	QWORD PTR [rbx], rbp
	pop	rbx
	.cfi_remember_state
	.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
	add	rdi, r8
	mov	rdx, rax
	mov	rsi, r14
	call	memcpy@PLT
	mov	r8, QWORD PTR 24[rbx]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	add	rdi, QWORD PTR 24[rbx]
	mov	rdx, r12
	mov	rsi, r14
	call	memcpy@PLT
	mov	QWORD PTR [rbx], rbp
	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
	.cfi_endproc
.LFE0:
	.size	circlebuf_push_back, .-circlebuf_push_back
	.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_....utilcirclebuf.h_circlebuf_push_back.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	circlebuf_push_back, %function
circlebuf_push_back:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, [r0, #4]
	ldr	r6, [r0]
	add	r3, r3, r2
	str	r3, [r0, #4]
	add	r6, r2, r6
	mov	r5, r2
	mov	r7, r1
	bl	circlebuf_ensure_capacity
	ldr	r3, [r4, #8]
	cmp	r3, r6
	bcs	.L2
	ldr	r1, [r4]
	ldr	r0, [r4, #12]
	add	r5, r1, r5
	subs	r8, r3, r1
	sub	r5, r5, r3
	bne	.L10
.L3:
	mov	r2, r5
	add	r1, r7, r8
	bl	memcpy
	ldr	r3, [r4, #8]
	sub	r6, r6, r3
	str	r6, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	add	r0, r0, r1
	mov	r2, r8
	mov	r1, r7
	bl	memcpy
	ldr	r0, [r4, #12]
	b	.L3
.L2:
	ldr	r0, [r4, #12]
	ldr	r3, [r4]
	mov	r2, r5
	mov	r1, r7
	add	r0, r0, r3
	bl	memcpy
	str	r6, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
	.size	circlebuf_push_back, .-circlebuf_push_back
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
