	.file	"extr_ssl3_buffer.c_ssl3_release_write_buffer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ssl3_release_write_buffer
	.type	ssl3_release_write_buffer, @function
ssl3_release_write_buffer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	je	.L4
	lea	rbx, -1[rax]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r12
	call	RECORD_LAYER_get_wbuf@PLT
	lea	rbp, [rax+rbx*8]
	sub	rbx, 1
	mov	rdi, QWORD PTR 0[rbp]
	call	OPENSSL_free@PLT
	mov	QWORD PTR 0[rbp], 0
	cmp	rbx, -1
	jne	.L3
.L4:
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	QWORD PTR [r12], 0
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ssl3_release_write_buffer, .-ssl3_release_write_buffer
	.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_ssl3_buffer.c_ssl3_release_write_buffer.c"
	.text
	.align	2
	.global	ssl3_release_write_buffer
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl3_release_write_buffer, %function
ssl3_release_write_buffer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	mov	r6, r0
	cmp	r4, #0
	beq	.L4
	mov	r7, #0
	sub	r4, r4, #1
.L3:
	mov	r0, r6
	bl	RECORD_LAYER_get_wbuf
	mov	r5, r0
	ldr	r0, [r0, r4, lsl #2]
	bl	OPENSSL_free
	str	r7, [r5, r4, lsl #2]
	subs	r4, r4, #1
	bcs	.L3
.L4:
	mov	r3, #0
	mov	r0, #1
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
	.size	ssl3_release_write_buffer, .-ssl3_release_write_buffer
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
