	.file	"extr_regress_buffer.c_test_evbuffer_add1.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"1"
.LC1:
	.string	"2"
.LC2:
	.string	"3"
	.text
	.p2align 4
	.type	test_evbuffer_add1, @function
test_evbuffer_add1:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	evbuffer_new@PLT
	mov	edx, 1
	lea	rsi, .LC0[rip]
	mov	rbp, rax
	mov	rdi, rax
	call	evbuffer_add@PLT
	mov	rdi, rbp
	call	evbuffer_validate@PLT
	mov	esi, 2048
	mov	rdi, rbp
	call	evbuffer_expand@PLT
	mov	rdi, rbp
	call	evbuffer_validate@PLT
	mov	edx, 1
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	evbuffer_add@PLT
	mov	rdi, rbp
	call	evbuffer_validate@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	evbuffer_add_printf@PLT
	mov	rdi, rbp
	call	evbuffer_validate@PLT
	mov	rdi, rbp
	call	evbuffer_get_length@PLT
	xor	edi, edi
	cmp	eax, 3
	sete	dil
	call	tt_assert@PLT
	mov	esi, -1
	mov	rdi, rbp
	call	evbuffer_pullup@PLT
	xor	edi, edi
	cmp	BYTE PTR [rax], 49
	mov	rbx, rax
	sete	dil
	call	tt_assert@PLT
	xor	edi, edi
	cmp	BYTE PTR 1[rbx], 50
	sete	dil
	call	tt_assert@PLT
	xor	edi, edi
	cmp	BYTE PTR 2[rbx], 51
	sete	dil
	call	tt_assert@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	evbuffer_free@PLT
	.cfi_endproc
.LFE0:
	.size	test_evbuffer_add1, .-test_evbuffer_add1
	.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_regress_buffer.c_test_evbuffer_add1.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"1\000"
	.align	2
.LC1:
	.ascii	"2\000"
	.align	2
.LC2:
	.ascii	"3\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_evbuffer_add1, %function
test_evbuffer_add1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	evbuffer_new
	mov	r4, r0
	mov	r2, #1
	ldr	r1, .L4
	bl	evbuffer_add
	mov	r0, r4
	bl	evbuffer_validate
	mov	r1, #2048
	mov	r0, r4
	bl	evbuffer_expand
	mov	r0, r4
	bl	evbuffer_validate
	mov	r2, #1
	ldr	r1, .L4+4
	mov	r0, r4
	bl	evbuffer_add
	mov	r0, r4
	bl	evbuffer_validate
	ldr	r1, .L4+8
	mov	r0, r4
	bl	evbuffer_add_printf
	mov	r0, r4
	bl	evbuffer_validate
	mov	r0, r4
	bl	evbuffer_get_length
	sub	r0, r0, #3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	tt_assert
	mvn	r1, #0
	mov	r0, r4
	bl	evbuffer_pullup
	mov	r5, r0
	ldrb	r0, [r0]	@ zero_extendqisi2
	sub	r0, r0, #49
	clz	r0, r0
	lsr	r0, r0, #5
	bl	tt_assert
	ldrb	r0, [r5, #1]	@ zero_extendqisi2
	sub	r0, r0, #50
	clz	r0, r0
	lsr	r0, r0, #5
	bl	tt_assert
	ldrb	r0, [r5, #2]	@ zero_extendqisi2
	sub	r0, r0, #51
	clz	r0, r0
	lsr	r0, r0, #5
	bl	tt_assert
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	evbuffer_free
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	test_evbuffer_add1, .-test_evbuffer_add1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
