	.file	"extr_xmlIO.c_xmlParserInputBufferPush.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	xmlParserInputBufferPush
	.type	xmlParserInputBufferPush, @function
xmlParserInputBufferPush:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	test	esi, esi
	js	.L1
	mov	rbx, rdi
	test	rdi, rdi
	je	.L10
	cmp	QWORD PTR 24[rdi], 0
	jne	.L10
	cmp	QWORD PTR 32[rdi], 0
	mov	rsi, rdx
	je	.L5
	mov	rdi, QWORD PTR 8[rdi]
	test	rdi, rdi
	je	.L12
.L6:
	mov	edx, r12d
	call	xmlBufAdd@PLT
	test	eax, eax
	jne	.L10
	mov	rdi, QWORD PTR 8[rbx]
	call	xmlBufUse@PLT
	mov	esi, 1
	mov	rdi, rbx
	mov	r12d, eax
	call	xmlCharEncInput@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L13
	mov	rdi, QWORD PTR 8[rbx]
	call	xmlBufUse@PLT
	sub	r12d, eax
	add	DWORD PTR 16[rbx], r12d
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r13d
	pop	rbx
	.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
.L12:
	.cfi_restore_state
	xor	eax, eax
	mov	QWORD PTR 8[rsp], rdx
	call	xmlBufCreate@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR [rdi]
	mov	edx, r12d
	call	xmlBufAdd@PLT
	test	eax, eax
	jne	.L10
	mov	r13d, r12d
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	mov	rdi, QWORD PTR XML_IO_ENCODER[rip]
	xor	esi, esi
	call	xmlIOErr@PLT
	mov	rax, QWORD PTR XML_IO_ENCODER[rip]
	mov	QWORD PTR 24[rbx], rax
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r13d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	xmlParserInputBufferPush, .-xmlParserInputBufferPush
	.comm	xmlGenericErrorContext,4,4
	.comm	XML_IO_ENCODER,8,8
	.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_xmlIO.c_xmlParserInputBufferPush.c"
	.text
	.align	2
	.global	xmlParserInputBufferPush
	.syntax unified
	.arm
	.fpu softvfp
	.type	xmlParserInputBufferPush, %function
xmlParserInputBufferPush:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	subs	r5, r1, #0
	movlt	r5, #0
	sub	sp, sp, #12
	blt	.L1
	cmp	r0, #0
	mov	r4, r0
	beq	.L4
	ldr	r3, [r0, #12]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [r0, #16]
	mov	r1, r2
	cmp	r3, #0
	beq	.L5
	ldr	r0, [r0, #4]
	cmp	r0, #0
	beq	.L11
.L6:
	mov	r2, r5
	bl	xmlBufAdd
	subs	r7, r0, #0
	bne	.L4
	ldr	r0, [r4, #4]
	bl	xmlBufUse
	mov	r1, #1
	mov	r6, r0
	mov	r0, r4
	bl	xmlCharEncInput
	subs	r5, r0, #0
	blt	.L12
	ldr	r0, [r4, #4]
	bl	xmlBufUse
	ldr	r3, [r4, #8]
	add	r3, r6, r3
	sub	r3, r3, r0
	str	r3, [r4, #8]
.L1:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	str	r2, [sp, #4]
	bl	xmlBufCreate
	ldr	r1, [sp, #4]
	str	r0, [r4, #4]
	b	.L6
.L5:
	mov	r2, r5
	ldr	r0, [r0]
	bl	xmlBufAdd
	cmp	r0, #0
	beq	.L1
.L4:
	mvn	r5, #0
	b	.L1
.L12:
	ldr	r5, .L13
	mov	r1, r7
	ldr	r0, [r5]
	bl	xmlIOErr
	ldr	r3, [r5]
	mvn	r5, #0
	str	r3, [r4, #12]
	b	.L1
.L14:
	.align	2
.L13:
	.word	XML_IO_ENCODER
	.size	xmlParserInputBufferPush, .-xmlParserInputBufferPush
	.comm	xmlGenericErrorContext,4,4
	.comm	XML_IO_ENCODER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
