	.file	"extr_buffer_iocp.c_evbuffer_commit_write_.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	evbuffer_commit_write_
	.type	evbuffer_commit_write_, @function
evbuffer_commit_write_:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	upcast_evbuffer@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	EVBUFFER_LOCK@PLT
	xor	edi, edi
	cmp	QWORD PTR [rbx], 0
	je	.L2
	mov	eax, DWORD PTR 8[rbx]
	xor	edi, edi
	test	eax, eax
	sete	dil
.L2:
	call	EVUTIL_ASSERT@PLT
	mov	rdi, rbp
	mov	esi, 1
	call	evbuffer_unfreeze@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	evbuffer_drain@PLT
	mov	esi, DWORD PTR EVBUFFER_MEM_PINNED_W[rip]
	mov	rdi, rbx
	call	pin_release@PLT
	mov	QWORD PTR [rbx], 0
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	evbuffer_decref_and_unlock_@PLT
	.cfi_endproc
.LFE0:
	.size	evbuffer_commit_write_, .-evbuffer_commit_write_
	.comm	EVBUFFER_MEM_PINNED_W,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_buffer_iocp.c_evbuffer_commit_write_.c"
	.text
	.align	2
	.global	evbuffer_commit_write_
	.syntax unified
	.arm
	.fpu softvfp
	.type	evbuffer_commit_write_, %function
evbuffer_commit_write_:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r4, r0
	bl	upcast_evbuffer
	mov	r5, r0
	mov	r0, r4
	bl	EVBUFFER_LOCK
	ldr	r0, [r5]
	cmp	r0, #0
	ldrne	r0, [r5, #4]
	clzne	r0, r0
	lsrne	r0, r0, #5
	bl	EVUTIL_ASSERT
	mov	r1, #1
	mov	r0, r4
	bl	evbuffer_unfreeze
	mov	r1, r6
	mov	r0, r4
	bl	evbuffer_drain
	ldr	r3, .L8
	mov	r0, r5
	ldr	r1, [r3]
	bl	pin_release
	mov	r3, #0
	mov	r0, r4
	str	r3, [r5]
	pop	{r4, r5, r6, lr}
	b	evbuffer_decref_and_unlock_
.L9:
	.align	2
.L8:
	.word	EVBUFFER_MEM_PINNED_W
	.size	evbuffer_commit_write_, .-evbuffer_commit_write_
	.comm	EVBUFFER_MEM_PINNED_W,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
