	.file	"extr_tree.c_xmlBufferCreate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"creating buffer"
	.text
	.p2align 4
	.globl	xmlBufferCreate
	.type	xmlBufferCreate, @function
xmlBufferCreate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, 4
	call	xmlMalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L7
	mov	edi, DWORD PTR xmlDefaultBufferSize[rip]
	mov	QWORD PTR 32[rax], 0
	mov	DWORD PTR [rax], edi
	mov	eax, DWORD PTR xmlBufferAllocScheme[rip]
	sal	edi, 3
	mov	DWORD PTR 24[r12], eax
	call	xmlMallocAtomic@PLT
	mov	QWORD PTR 16[r12], rax
	test	rax, rax
	je	.L8
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[r12], 0
.L1:
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	xmlTreeErrMemory@PLT
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	xmlTreeErrMemory@PLT
	mov	rdi, r12
	xor	r12d, r12d
	call	xmlFree@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	xmlBufferCreate, .-xmlBufferCreate
	.comm	xmlDefaultBufferSize,4,4
	.comm	xmlBufferAllocScheme,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_tree.c_xmlBufferCreate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"creating buffer\000"
	.text
	.align	2
	.global	xmlBufferCreate
	.syntax unified
	.arm
	.fpu softvfp
	.type	xmlBufferCreate, %function
xmlBufferCreate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r0, #4
	bl	xmlMalloc
	subs	r4, r0, #0
	beq	.L7
	mov	r6, #0
	ldr	r2, .L9
	ldr	r3, .L9+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	str	r6, [r4, #16]
	str	r0, [r4]
	str	r3, [r4, #12]
	lsl	r0, r0, #2
	bl	xmlMallocAtomic
	cmp	r0, r6
	str	r0, [r4, #8]
	mov	r5, r0
	strne	r6, [r0]
	strne	r6, [r4, #4]
	beq	.L8
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r0, .L9+8
	bl	xmlTreeErrMemory
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r0, .L9+8
	bl	xmlTreeErrMemory
	mov	r0, r4
	bl	xmlFree
	mov	r4, r5
	b	.L1
.L10:
	.align	2
.L9:
	.word	xmlDefaultBufferSize
	.word	xmlBufferAllocScheme
	.word	.LC0
	.size	xmlBufferCreate, .-xmlBufferCreate
	.comm	xmlDefaultBufferSize,4,4
	.comm	xmlBufferAllocScheme,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
