	.file	"extr_xmlhttprequest.c_return_nscstr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed: %08x\n"
	.text
	.p2align 4
	.type	return_nscstr, @function
return_nscstr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	NS_FAILED@PLT
	test	rax, rax
	jne	.L10
	mov	rsi, rsp
	mov	rdi, rbp
	call	nsACString_GetData@PLT
	mov	rdx, QWORD PTR [rsp]
	cmp	BYTE PTR [rdx], 0
	jne	.L11
	mov	QWORD PTR [rbx], 0
.L6:
	mov	rdi, rbp
	call	nsACString_Finish@PLT
	mov	eax, DWORD PTR S_OK[rip]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR CP_UTF8[rip]
	xor	r8d, r8d
	xor	r9d, r9d
	xor	esi, esi
	mov	ecx, -1
	call	MultiByteToWideChar@PLT
	xor	edi, edi
	mov	esi, eax
	mov	r12d, eax
	call	SysAllocStringLen@PLT
	mov	QWORD PTR [rbx], rax
	mov	r8, rax
	test	rax, rax
	je	.L13
	mov	rdx, QWORD PTR [rsp]
	mov	edi, DWORD PTR CP_UTF8[rip]
	mov	r9d, r12d
	xor	esi, esi
	mov	ecx, -1
	call	MultiByteToWideChar@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, r12d
	lea	rdi, .LC0[rip]
	call	ERR@PLT
	mov	rdi, rbp
	call	nsACString_Finish@PLT
	mov	eax, DWORD PTR E_FAIL[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, rbp
	call	nsACString_Finish@PLT
	mov	eax, DWORD PTR E_OUTOFMEMORY[rip]
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	return_nscstr, .-return_nscstr
	.comm	S_OK,4,4
	.comm	E_OUTOFMEMORY,4,4
	.comm	E_FAIL,4,4
	.comm	CP_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_xmlhttprequest.c_return_nscstr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed: %08x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	return_nscstr, %function
return_nscstr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L14
	sub	sp, sp, #16
	mov	r6, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r0
	bl	NS_FAILED
	subs	r5, r0, #0
	bne	.L10
	mov	r0, r6
	add	r1, sp, #8
	bl	nsACString_GetData
	ldr	r2, [sp, #8]
	ldrb	r3, [r2]	@ zero_extendqisi2
	cmp	r3, #0
	streq	r3, [r7]
	bne	.L11
.L6:
	mov	r0, r6
	bl	nsACString_Finish
	ldr	r3, .L14+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r8, .L14+8
	mvn	r3, #0
	mov	r1, r5
	ldr	r0, [r8]
	str	r5, [sp, #4]
	str	r5, [sp]
	bl	MultiByteToWideChar
	mov	r4, r0
	mov	r0, r5
	mov	r1, r4
	bl	SysAllocStringLen
	cmp	r0, #0
	str	r0, [r7]
	beq	.L13
	stm	sp, {r0, r4}
	mov	r1, r5
	mvn	r3, #0
	ldr	r0, [r8]
	ldr	r2, [sp, #8]
	bl	MultiByteToWideChar
	b	.L6
.L10:
	mov	r1, r4
	ldr	r0, .L14+12
	bl	ERR
	mov	r0, r6
	bl	nsACString_Finish
	ldr	r3, .L14+16
	ldr	r0, [r3]
	b	.L1
.L13:
	mov	r0, r6
	bl	nsACString_Finish
	ldr	r3, .L14+20
	ldr	r0, [r3]
	b	.L1
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	S_OK
	.word	CP_UTF8
	.word	.LC0
	.word	E_FAIL
	.word	E_OUTOFMEMORY
	.size	return_nscstr, .-return_nscstr
	.comm	S_OK,4,4
	.comm	E_OUTOFMEMORY,4,4
	.comm	E_FAIL,4,4
	.comm	CP_UTF8,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
