	.file	"extr_parser.c_xmlCtxtReset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	xmlCtxtReset
	.type	xmlCtxtReset, @function
xmlCtxtReset:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L26
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	call	xmlFreeInputStream@PLT
.L2:
	mov	rdi, rbx
	call	inputPop@PLT
	mov	rdi, rax
	test	rax, rax
	jne	.L4
	mov	QWORD PTR 320[rbx], 0
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR 312[rbx], 0
	mov	QWORD PTR 304[rbx], 0
	test	rax, rax
	je	.L5
	mov	DWORD PTR [rax], -1
	mov	QWORD PTR 8[rbx], rax
.L6:
	mov	QWORD PTR 296[rbx], 0
	mov	rdi, QWORD PTR 264[rbx]
	mov	QWORD PTR 288[rbx], 0
	mov	QWORD PTR 280[rbx], 0
	mov	QWORD PTR 272[rbx], 0
	call	DICT_FREE@PLT
	mov	rdi, QWORD PTR 256[rbx]
	mov	QWORD PTR 264[rbx], 0
	call	DICT_FREE@PLT
	mov	rdi, QWORD PTR 248[rbx]
	mov	QWORD PTR 256[rbx], 0
	call	DICT_FREE@PLT
	mov	rdi, QWORD PTR 240[rbx]
	mov	QWORD PTR 248[rbx], 0
	call	DICT_FREE@PLT
	mov	rdi, QWORD PTR 232[rbx]
	mov	QWORD PTR 240[rbx], 0
	call	DICT_FREE@PLT
	mov	rdi, QWORD PTR 224[rbx]
	mov	QWORD PTR 232[rbx], 0
	test	rdi, rdi
	je	.L7
	call	xmlFreeDoc@PLT
.L7:
	mov	eax, DWORD PTR XML_PARSER_START[rip]
	lea	rdi, 64[rbx]
	mov	QWORD PTR 224[rbx], 0
	mov	QWORD PTR 216[rbx], 0
	mov	DWORD PTR 184[rbx], eax
	movabs	rax, 8589934591
	mov	QWORD PTR 16[rbx], rax
	movabs	rax, 4294967297
	mov	QWORD PTR 24[rbx], rax
	mov	rax, QWORD PTR XML_ERR_OK[rip]
	mov	QWORD PTR 208[rbx], 0
	mov	QWORD PTR 112[rbx], rax
	mov	eax, DWORD PTR XML_CHAR_ENCODING_UTF8[rip]
	mov	QWORD PTR 200[rbx], 0
	mov	QWORD PTR 192[rbx], 0
	mov	QWORD PTR 176[rbx], 0
	mov	QWORD PTR 168[rbx], 0
	mov	QWORD PTR 144[rbx], 0
	mov	QWORD PTR 136[rbx], 0
	mov	QWORD PTR 128[rbx], 0
	mov	QWORD PTR 120[rbx], 0
	mov	QWORD PTR 104[rbx], 0
	mov	DWORD PTR 96[rbx], eax
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 88[rbx], 0
	mov	QWORD PTR 80[rbx], 0
	mov	QWORD PTR 72[rbx], 0
	call	xmlInitNodeInfoSeq@PLT
	mov	rdi, QWORD PTR 56[rbx]
	test	rdi, rdi
	je	.L8
	mov	rsi, QWORD PTR xmlHashDefaultDeallocator[rip]
	call	xmlHashFree@PLT
	mov	QWORD PTR 56[rbx], 0
.L8:
	mov	rdi, QWORD PTR 48[rbx]
	test	rdi, rdi
	je	.L9
	xor	esi, esi
	call	xmlHashFree@PLT
	mov	QWORD PTR 48[rbx], 0
.L9:
	mov	rax, QWORD PTR XML_ERR_OK[rip]
	cmp	QWORD PTR 32[rbx], rax
	jne	.L27
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	lea	rdi, 32[rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_restore 3
	.cfi_def_cfa_offset 8
	jmp	xmlResetError@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	QWORD PTR 8[rbx], 0
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	ret
	.cfi_endproc
.LFE0:
	.size	xmlCtxtReset, .-xmlCtxtReset
	.comm	xmlParserValidityWarning,4,4
	.comm	xmlParserValidityError,4,4
	.comm	xmlHashDefaultDeallocator,8,8
	.comm	XML_PARSER_START,4,4
	.comm	XML_ERR_OK,8,8
	.comm	XML_CHAR_ENCODING_UTF8,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_parser.c_xmlCtxtReset.c"
	.text
	.align	2
	.global	xmlCtxtReset
	.syntax unified
	.arm
	.fpu softvfp
	.type	xmlCtxtReset, %function
xmlCtxtReset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	bne	.L2
	pop	{r4, r5, r6, pc}
.L4:
	bl	xmlFreeInputStream
.L2:
	mov	r0, r4
	bl	inputPop
	subs	r3, r0, #0
	bne	.L4
	ldr	r2, [r4]
	mov	r5, #0
	cmp	r2, #0
	str	r3, [r4, #172]
	str	r3, [r4, #168]
	str	r3, [r4, #164]
	mvnne	r3, #0
	ldr	r0, [r4, #144]
	strne	r3, [r2]
	str	r2, [r4, #4]
	str	r5, [r4, #160]
	str	r5, [r4, #156]
	str	r5, [r4, #152]
	str	r5, [r4, #148]
	bl	DICT_FREE
	ldr	r0, [r4, #140]
	str	r5, [r4, #144]
	bl	DICT_FREE
	ldr	r0, [r4, #136]
	str	r5, [r4, #140]
	bl	DICT_FREE
	ldr	r0, [r4, #132]
	str	r5, [r4, #136]
	bl	DICT_FREE
	ldr	r0, [r4, #128]
	str	r5, [r4, #132]
	bl	DICT_FREE
	ldr	r0, [r4, #124]
	str	r5, [r4, #128]
	cmp	r0, r5
	beq	.L7
	bl	xmlFreeDoc
.L7:
	mov	r5, #0
	mov	r3, #1
	mvn	r2, #0
	ldr	r1, .L24
	ldr	r6, .L24+4
	ldr	r1, [r1]
	ldr	r0, .L24+8
	str	r1, [r4, #104]
	ldr	r0, [r0]
	ldr	r1, [r6]
	str	r0, [r4, #56]
	str	r1, [r4, #64]
	str	r5, [r4, #124]
	str	r5, [r4, #120]
	str	r5, [r4, #116]
	str	r5, [r4, #112]
	str	r5, [r4, #108]
	str	r5, [r4, #100]
	str	r5, [r4, #96]
	str	r5, [r4, #80]
	str	r5, [r4, #76]
	str	r5, [r4, #72]
	str	r5, [r4, #68]
	str	r5, [r4, #60]
	str	r5, [r4, #28]
	str	r5, [r4, #52]
	str	r5, [r4, #48]
	str	r5, [r4, #44]
	str	r2, [r4, #8]
	str	r3, [r4, #12]
	str	r3, [r4, #16]
	str	r3, [r4, #20]
	add	r0, r4, #40
	bl	xmlInitNodeInfoSeq
	ldr	r0, [r4, #36]
	cmp	r0, r5
	beq	.L8
	ldr	r3, .L24+12
	ldr	r1, [r3]
	bl	xmlHashFree
	str	r5, [r4, #36]
.L8:
	ldr	r0, [r4, #32]
	cmp	r0, #0
	beq	.L9
	mov	r1, #0
	bl	xmlHashFree
	mov	r3, #0
	str	r3, [r4, #32]
.L9:
	ldr	r3, [r6]
	ldr	r2, [r4, #24]
	cmp	r2, r3
	popeq	{r4, r5, r6, pc}
	add	r0, r4, #24
	pop	{r4, r5, r6, lr}
	b	xmlResetError
.L25:
	.align	2
.L24:
	.word	XML_PARSER_START
	.word	XML_ERR_OK
	.word	XML_CHAR_ENCODING_UTF8
	.word	xmlHashDefaultDeallocator
	.size	xmlCtxtReset, .-xmlCtxtReset
	.comm	xmlParserValidityWarning,4,4
	.comm	xmlParserValidityError,4,4
	.comm	xmlHashDefaultDeallocator,4,4
	.comm	XML_PARSER_START,4,4
	.comm	XML_ERR_OK,4,4
	.comm	XML_CHAR_ENCODING_UTF8,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
