	.file	"extr_string.c_do_attribute_tag_format.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	do_attribute_tag_format, @function
do_attribute_tag_format:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r9
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR [rsp], rcx
	lea	rdx, 16[rsp]
	mov	r14, QWORD PTR 112[rsp]
	mov	rdi, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rdi
	xor	edi, edi
	mov	rdi, r15
	mov	QWORD PTR 24[rsp], 0
	call	get_string_val@PLT
	mov	edi, eax
	mov	r12d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L1
	test	r13d, r13d
	jne	.L18
	xor	eax, eax
	call	jsstr_undefined@PLT
	mov	QWORD PTR 24[rsp], rax
.L4:
	test	rbx, rbx
	je	.L5
	mov	rdi, r14
	call	lstrlenW@PLT
	mov	rdi, rbp
	mov	r15d, eax
	call	lstrlenW@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	r13d, eax
	call	jsstr_length@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	DWORD PTR [rsp], r15d
	lea	r15d, [r15+r13*2]
	add	r15, rax
	call	jsstr_length@PLT
	lea	rsi, 32[rsp]
	lea	rdi, 9[r15+rax]
	call	jsstr_alloc_buf@PLT
	mov	r15, rax
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR 32[rsp]
	mov	rsi, rbp
	lea	rdx, 1[rax]
	mov	QWORD PTR 32[rsp], rdx
	mov	edx, r13d
	mov	BYTE PTR [rax], 60
	mov	rdi, QWORD PTR 32[rsp]
	call	memcpy@PLT
	mov	ecx, r13d
	mov	rsi, r14
	mov	rax, rcx
	add	rax, QWORD PTR 32[rsp]
	mov	QWORD PTR 8[rsp], rcx
	lea	rdx, 1[rax]
	mov	QWORD PTR 32[rsp], rdx
	mov	edx, DWORD PTR [rsp]
	mov	BYTE PTR [rax], 32
	mov	rdi, QWORD PTR 32[rsp]
	call	memcpy@PLT
	mov	eax, DWORD PTR [rsp]
	add	rax, QWORD PTR 32[rsp]
	lea	rdx, 1[rax]
	mov	QWORD PTR 32[rsp], rdx
	mov	BYTE PTR [rax], 61
	mov	rax, QWORD PTR 32[rsp]
	lea	rdx, 1[rax]
	mov	QWORD PTR 32[rsp], rdx
	mov	BYTE PTR [rax], 34
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	call	jsstr_flush@PLT
	cdqe
	add	rax, QWORD PTR 32[rsp]
	lea	rdx, 1[rax]
	mov	QWORD PTR 32[rsp], rdx
	mov	BYTE PTR [rax], 34
	mov	rax, QWORD PTR 32[rsp]
	lea	rdx, 1[rax]
	mov	QWORD PTR 32[rsp], rdx
	mov	BYTE PTR [rax], 62
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	call	jsstr_flush@PLT
	mov	rsi, rbp
	cdqe
	add	rax, QWORD PTR 32[rsp]
	lea	rdx, 1[rax]
	mov	QWORD PTR 32[rsp], rdx
	mov	BYTE PTR [rax], 60
	mov	rax, QWORD PTR 32[rsp]
	lea	rdx, 1[rax]
	mov	QWORD PTR 32[rsp], rdx
	mov	edx, r13d
	mov	BYTE PTR [rax], 47
	mov	rdi, QWORD PTR 32[rsp]
	call	memcpy@PLT
	mov	rcx, QWORD PTR 8[rsp]
	add	rcx, QWORD PTR 32[rsp]
	mov	rdi, r15
	mov	QWORD PTR 32[rsp], rcx
	mov	BYTE PTR [rcx], 62
	call	jsval_string@PLT
	mov	DWORD PTR [rbx], eax
.L5:
	mov	rdi, QWORD PTR 24[rsp]
	call	jsstr_release@PLT
.L16:
	mov	rdi, QWORD PTR 16[rsp]
	call	jsstr_release@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L18:
	.cfi_restore_state
	mov	rax, QWORD PTR [rsp]
	mov	rdi, r15
	lea	rdx, 24[rsp]
	mov	esi, DWORD PTR [rax]
	call	to_string@PLT
	mov	edi, eax
	mov	r12d, eax
	call	FAILED@PLT
	test	rax, rax
	je	.L4
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR 24[rsp]
	mov	r12d, DWORD PTR E_OUTOFMEMORY[rip]
	call	jsstr_release@PLT
	jmp	.L16
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	do_attribute_tag_format, .-do_attribute_tag_format
	.comm	E_OUTOFMEMORY,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_string.c_do_attribute_tag_format.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_attribute_tag_format, %function
do_attribute_tag_format:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r3
	sub	sp, sp, #20
	ldr	r3, .L20
	mov	r5, r2
	add	r8, sp, #56
	mov	r2, sp
	ldm	r8, {r8, r9, r10}
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r6, r0
	str	ip, [sp, #4]
	bl	get_string_val
	mov	r4, r0
	bl	FAILED
	cmp	r0, #0
	bne	.L1
	cmp	r5, #0
	bne	.L18
	bl	jsstr_undefined
	str	r0, [sp, #4]
.L4:
	cmp	r8, #0
	beq	.L5
	mov	r0, r10
	bl	lstrlenW
	mov	r7, r0
	mov	r0, r9
	bl	lstrlenW
	mov	r5, r0
	ldr	r0, [sp, #4]
	bl	jsstr_length
	mov	r6, r0
	ldr	r0, [sp]
	bl	jsstr_length
	add	fp, r7, #9
	add	fp, fp, r5, lsl #1
	add	r6, r6, fp
	add	r0, r6, r0
	add	r1, sp, #8
	bl	jsstr_alloc_buf
	subs	r6, r0, #0
	beq	.L6
	mov	fp, #60
	ldr	r3, [sp, #8]
	mov	r2, r5
	add	r1, r3, #1
	str	r1, [sp, #8]
	strb	fp, [r3]
	mov	r1, r9
	ldr	r0, [sp, #8]
	bl	memcpy
	mov	r0, #32
	ldr	r2, [sp, #8]
	mov	r1, r10
	add	r3, r2, r5
	add	r3, r3, #1
	str	r3, [sp, #8]
	strb	r0, [r2, r5]
	ldr	r0, [sp, #8]
	mov	r2, r7
	bl	memcpy
	mov	r0, #61
	mov	r3, #34
	ldr	r1, [sp, #8]
	mov	r10, #62
	add	r2, r1, r7
	add	r2, r2, #1
	str	r2, [sp, #8]
	strb	r0, [r1, r7]
	ldr	r2, [sp, #8]
	add	r1, r2, #1
	str	r1, [sp, #8]
	strb	r3, [r2]
	ldmib	sp, {r0, r1}
	bl	jsstr_flush
	mov	r3, #34
	ldr	r1, [sp, #8]
	add	r2, r1, r0
	add	r2, r2, #1
	str	r2, [sp, #8]
	strb	r3, [r1, r0]
	ldr	r3, [sp, #8]
	add	r2, r3, #1
	str	r2, [sp, #8]
	strb	r10, [r3]
	ldr	r1, [sp, #8]
	ldr	r0, [sp]
	bl	jsstr_flush
	mov	ip, #47
	ldr	r2, [sp, #8]
	mov	r1, r9
	add	r3, r2, r0
	add	r3, r3, #1
	str	r3, [sp, #8]
	strb	fp, [r2, r0]
	ldr	r3, [sp, #8]
	mov	r2, r5
	add	r0, r3, #1
	str	r0, [sp, #8]
	strb	ip, [r3]
	ldr	r0, [sp, #8]
	bl	memcpy
	ldr	r3, [sp, #8]
	mov	r0, r6
	add	r2, r3, r5
	str	r2, [sp, #8]
	strb	r10, [r3, r5]
	bl	jsval_string
	str	r0, [r8]
.L5:
	ldr	r0, [sp, #4]
	bl	jsstr_release
.L16:
	ldr	r0, [sp]
	bl	jsstr_release
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	ldr	r1, [r7]
	add	r2, sp, #4
	mov	r0, r6
	bl	to_string
	mov	r4, r0
	bl	FAILED
	cmp	r0, #0
	beq	.L4
	b	.L16
.L6:
	ldr	r3, .L20+4
	ldr	r0, [sp, #4]
	ldr	r4, [r3]
	bl	jsstr_release
	b	.L16
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	E_OUTOFMEMORY
	.size	do_attribute_tag_format, .-do_attribute_tag_format
	.comm	E_OUTOFMEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
