	.file	"extr_domdoc.c_node_to_string.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"(null)"
.LC1:
	.string	"%ws"
.LC2:
	.string	".."
.LC3:
	.string	"%d"
.LC4:
	.string	"get_parentNode failed (%08x)\n"
	.text
	.p2align 4
	.type	node_to_string, @function
node_to_string:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L15
	mov	rbp, QWORD PTR S_OK[rip]
	mov	r12, rdi
	call	IXMLDOMNode_AddRef@PLT
	cmp	rbp, QWORD PTR S_OK[rip]
	jne	.L11
	lea	rax, 28[rsp]
	lea	r13, 24[rsp]
	mov	QWORD PTR 8[rsp], rax
	lea	r14, 32[rsp]
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rsi, r13
	mov	rdi, r12
	call	IXMLDOMNode_get_nodeType@PLT
	mov	edi, eax
	call	ole_check@PLT
	mov	edi, DWORD PTR 24[rsp]
	mov	rsi, rbx
	call	get_str_for_type@PLT
	mov	rdi, rbx
	call	strlen@PLT
	cdqe
	add	rbx, rax
	mov	eax, DWORD PTR NODE_ATTRIBUTE[rip]
	cmp	DWORD PTR 24[rsp], eax
	je	.L16
	mov	rsi, r14
	mov	rdi, r12
	call	IXMLDOMNode_get_parentNode@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	get_node_position@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, rbx
	mov	edx, eax
	call	sprintf@PLT
	mov	rdi, rbx
	call	strlen@PLT
	movsx	rcx, eax
	lea	r15, [rbx+rcx]
.L6:
	mov	rdi, rbp
	call	SUCCEEDED@PLT
	mov	rdx, rbp
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	ok@PLT
	mov	rdi, r12
	call	IXMLDOMNode_Release@PLT
	cmp	QWORD PTR S_OK[rip], rbp
	mov	r12, QWORD PTR 32[rsp]
	je	.L17
.L4:
	mov	BYTE PTR [r15], 0
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	BYTE PTR [r15], 46
	cmp	rbp, QWORD PTR S_OK[rip]
	lea	rbx, 1[r15]
	je	.L8
	.p2align 4,,10
	.p2align 3
.L11:
	mov	r15, rbx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, r12
	lea	rbp, 1[rbx]
	call	IXMLDOMNode_get_nodeName@PLT
	mov	edi, eax
	call	ole_check@PLT
	mov	BYTE PTR [rbx], 39
	mov	edx, DWORD PTR 28[rsp]
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	wsprintfA@PLT
	mov	rdi, rbp
	call	strlen@PLT
	mov	edi, DWORD PTR 28[rsp]
	cdqe
	add	rbp, rax
	mov	BYTE PTR 0[rbp], 39
	lea	r15, 1[rbp]
	call	SysFreeString@PLT
	lea	rdi, .LC2[rip]
	call	_bstr_@PLT
	mov	rdx, r14
	mov	rdi, r12
	mov	esi, eax
	call	IXMLDOMNode_selectSingleNode@PLT
	mov	rbp, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	lstrcpyA@PLT
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	node_to_string, .-node_to_string
	.comm	S_OK,8,8
	.comm	NODE_ATTRIBUTE,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_domdoc.c_node_to_string.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(null)\000"
	.align	2
.LC1:
	.ascii	"%ws\000"
	.align	2
.LC2:
	.ascii	"..\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"get_parentNode failed (%08x)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	node_to_string, %function
node_to_string:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L20
	sub	sp, sp, #20
	subs	fp, r0, #0
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L16
	ldr	r6, .L20+4
	ldr	r5, [r6]
	bl	IXMLDOMNode_AddRef
	ldr	r3, [r6]
	cmp	r5, r3
	bne	.L4
	ldr	r8, .L20+8
	ldr	r10, .L20+12
	ldr	r7, .L20+16
.L8:
	mov	r1, sp
	mov	r0, fp
	bl	IXMLDOMNode_get_nodeType
	bl	ole_check
	mov	r1, r4
	ldr	r0, [sp]
	bl	get_str_for_type
	mov	r0, r4
	bl	strlen
	ldr	r1, [sp]
	ldr	r2, [r8]
	mov	r5, r0
	cmp	r1, r2
	add	r9, r4, r0
	beq	.L17
	add	r1, sp, #4
	mov	r0, fp
	bl	IXMLDOMNode_get_parentNode
	mov	r5, r0
	mov	r0, fp
	bl	get_node_position
	mov	r1, r10
	mov	r2, r0
	mov	r0, r9
	bl	sprintf
	mov	r0, r9
	bl	strlen
	add	r4, r9, r0
.L6:
	mov	r0, r5
	bl	SUCCEEDED
	mov	r2, r5
	mov	r1, r7
	bl	ok
	mov	r0, fp
	bl	IXMLDOMNode_Release
	ldr	r3, [r6]
	ldr	fp, [sp, #4]
	cmp	r3, r5
	beq	.L18
.L4:
	mov	r3, #0
	strb	r3, [r4]
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	mov	r3, #46
	strb	r3, [r4], #1
	ldr	r3, [r6]
	cmp	r5, r3
	beq	.L8
	b	.L4
.L17:
	add	r1, sp, #8
	mov	r0, fp
	bl	IXMLDOMNode_get_nodeName
	bl	ole_check
	mov	r3, #39
	add	r9, r9, #1
	ldr	r2, [sp, #8]
	ldr	r1, .L20+20
	strb	r3, [r4, r5]
	mov	r0, r9
	bl	wsprintfA
	mov	r0, r9
	bl	strlen
	mov	r3, #39
	mov	r4, r0
	ldr	r0, [sp, #8]
	strb	r3, [r9, r4]
	bl	SysFreeString
	ldr	r0, .L20+24
	bl	_bstr_
	add	r2, sp, #4
	mov	r1, r0
	mov	r0, fp
	bl	IXMLDOMNode_selectSingleNode
	add	r4, r9, r4
	mov	r5, r0
	add	r4, r4, #1
	b	.L6
.L16:
	mov	r0, r1
	ldr	r1, .L20+28
	bl	lstrcpyA
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC5
	.word	S_OK
	.word	NODE_ATTRIBUTE
	.word	.LC3
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	node_to_string, .-node_to_string
	.comm	S_OK,4,4
	.comm	NODE_ATTRIBUTE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
