	.file	"extr_bipbuffer.c_bipbuf_offer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bipbuf_offer
	.type	bipbuf_offer, @function
bipbuf_offer:
.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
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	bipbuf_unused@PLT
	mov	r8d, eax
	xor	eax, eax
	cmp	r8d, ebx
	jl	.L1
	cmp	DWORD PTR 0[rbp], 1
	mov	rdi, QWORD PTR 16[rbp]
	movsx	r13, ebx
	je	.L9
	add	rdi, QWORD PTR 8[rbp]
	mov	edx, ebx
	mov	rsi, r12
	call	memcpy@PLT
	add	QWORD PTR 8[rbp], r13
.L4:
	mov	rdi, rbp
	call	__check_for_switch_to_b@PLT
	mov	eax, ebx
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L9:
	.cfi_restore_state
	add	rdi, QWORD PTR 24[rbp]
	mov	edx, ebx
	mov	rsi, r12
	call	memcpy@PLT
	add	QWORD PTR 24[rbp], r13
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	bipbuf_offer, .-bipbuf_offer
	.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_bipbuffer.c_bipbuf_offer.c"
	.text
	.align	2
	.global	bipbuf_offer
	.syntax unified
	.arm
	.fpu softvfp
	.type	bipbuf_offer, %function
bipbuf_offer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	mov	r6, r1
	mov	r5, r0
	bl	bipbuf_unused
	cmp	r0, r4
	blt	.L5
	ldr	r3, [r5]
	ldr	r2, [r5, #8]
	cmp	r3, #1
	beq	.L8
	ldr	r0, [r5, #4]
	mov	r1, r6
	add	r0, r2, r0
	mov	r2, r4
	bl	memcpy
	ldr	r3, [r5, #4]
	add	r3, r3, r4
	str	r3, [r5, #4]
.L4:
	mov	r0, r5
	bl	__check_for_switch_to_b
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r0, [r5, #12]
	mov	r1, r6
	add	r0, r2, r0
	mov	r2, r4
	bl	memcpy
	ldr	r3, [r5, #12]
	add	r3, r3, r4
	str	r3, [r5, #12]
	b	.L4
.L5:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
	.size	bipbuf_offer, .-bipbuf_offer
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
