	.file	"extr_nsembed.c_nsnode_to_nsstring.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not get nsIContentSerializer: %08x\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Init failed: %08x\n"
.LC2:
	.string	"Flush failed: %08x\n"
	.text
	.p2align 4
	.globl	nsnode_to_nsstring
	.type	nsnode_to_nsstring, @function
nsnode_to_nsstring:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	xor	edx, edx
	lea	rcx, IID_nsIContentSerializer[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR pCompMgr[rip]
	mov	esi, DWORD PTR NS_HTMLSERIALIZER_CONTRACTID[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r8, rsp
	call	nsIComponentManager_CreateInstanceByContractID@PLT
	mov	edi, eax
	mov	ebp, eax
	call	NS_FAILED@PLT
	test	rax, rax
	jne	.L17
	mov	r8d, DWORD PTR FALSE[rip]
	mov	rdi, QWORD PTR [rsp]
	xor	ecx, ecx
	xor	esi, esi
	mov	edx, 100
	mov	r9d, r8d
	call	nsIContentSerializer_Init@PLT
	mov	edi, eax
	mov	ebp, eax
	call	NS_FAILED@PLT
	test	rax, rax
	jne	.L18
.L4:
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, r12
	mov	rdx, r13
	call	nsnode_to_nsstring_rec@PLT
	mov	edi, eax
	mov	r12d, eax
	call	SUCCEEDED@PLT
	test	rax, rax
	jne	.L19
.L6:
	mov	rdi, QWORD PTR [rsp]
	call	nsIContentSerializer_Release@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.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
.L19:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, r13
	call	nsIContentSerializer_Flush@PLT
	mov	edi, eax
	mov	ebp, eax
	call	NS_FAILED@PLT
	test	rax, rax
	je	.L6
	mov	esi, ebp
	lea	rdi, .LC2[rip]
	call	ERR@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	esi, ebp
	lea	rdi, .LC1[rip]
	call	ERR@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L17:
	mov	esi, ebp
	lea	rdi, .LC0[rip]
	call	ERR@PLT
	mov	r12d, DWORD PTR E_FAIL[rip]
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nsnode_to_nsstring, .-nsnode_to_nsstring
	.comm	pCompMgr,4,4
	.comm	NS_HTMLSERIALIZER_CONTRACTID,4,4
	.comm	IID_nsIContentSerializer,4,4
	.comm	FALSE,4,4
	.comm	E_FAIL,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_nsembed.c_nsnode_to_nsstring.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not get nsIContentSerializer: %08x\012\000"
	.align	2
.LC1:
	.ascii	"Init failed: %08x\012\000"
	.align	2
.LC2:
	.ascii	"Flush failed: %08x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nsnode_to_nsstring
	.syntax unified
	.arm
	.fpu softvfp
	.type	nsnode_to_nsstring, %function
nsnode_to_nsstring:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r2, .L21
	sub	sp, sp, #16
	mov	r4, r1
	ldr	r1, .L21+4
	ldr	ip, .L21+8
	add	r3, sp, #8
	ldr	r1, [r1]
	mov	r5, r0
	ldr	r0, [r2]
	str	r3, [sp]
	mov	r2, #0
	ldr	r3, .L21+12
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	bl	nsIComponentManager_CreateInstanceByContractID
	mov	r6, r0
	bl	NS_FAILED
	subs	r3, r0, #0
	bne	.L17
	ldr	r2, .L21+16
	mov	r1, r3
	ldr	r2, [r2]
	ldr	r0, [sp, #8]
	str	r2, [sp, #4]
	str	r2, [sp]
	mov	r2, #100
	bl	nsIContentSerializer_Init
	mov	r6, r0
	bl	NS_FAILED
	cmp	r0, #0
	bne	.L18
.L4:
	mov	r1, r5
	mov	r2, r4
	ldr	r0, [sp, #8]
	bl	nsnode_to_nsstring_rec
	mov	r5, r0
	bl	SUCCEEDED
	cmp	r0, #0
	bne	.L19
.L6:
	ldr	r0, [sp, #8]
	bl	nsIContentSerializer_Release
.L1:
	ldr	r3, .L21+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L19:
	mov	r1, r4
	ldr	r0, [sp, #8]
	bl	nsIContentSerializer_Flush
	mov	r4, r0
	bl	NS_FAILED
	cmp	r0, #0
	beq	.L6
	mov	r1, r4
	ldr	r0, .L21+20
	bl	ERR
	b	.L6
.L18:
	mov	r1, r6
	ldr	r0, .L21+24
	bl	ERR
	b	.L4
.L17:
	mov	r1, r6
	ldr	r0, .L21+28
	bl	ERR
	ldr	r3, .L21+32
	ldr	r5, [r3]
	b	.L1
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	pCompMgr
	.word	NS_HTMLSERIALIZER_CONTRACTID
	.word	.LC3
	.word	IID_nsIContentSerializer
	.word	FALSE
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.word	E_FAIL
	.size	nsnode_to_nsstring, .-nsnode_to_nsstring
	.comm	pCompMgr,4,4
	.comm	NS_HTMLSERIALIZER_CONTRACTID,4,4
	.comm	IID_nsIContentSerializer,4,4
	.comm	FALSE,4,4
	.comm	E_FAIL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
