	.file	"extr_parse.c_write_exp_string.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	write_exp_string
	.type	write_exp_string, @function
write_exp_string:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	add	edi, 1
	call	BYTES_TO_EXP_ELEM@PLT
	mov	edi, DWORD PTR expout_size[rip]
	mov	ebp, eax
	mov	eax, DWORD PTR expout_ptr[rip]
	lea	esi, 2[rbp+rax]
	cmp	esi, edi
	jge	.L5
.L2:
	mov	edi, ebx
	call	write_exp_elt_longcst@PLT
	mov	rax, QWORD PTR expout[rip]
	movsx	rdx, DWORD PTR expout_ptr[rip]
	mov	rsi, rbx
	sar	rsi, 32
	mov	rax, QWORD PTR [rax]
	lea	r12, [rax+rdx*4]
	mov	edx, ebx
	mov	rdi, r12
	call	memcpy@PLT
	movsx	rax, ebx
	mov	edi, ebx
	mov	BYTE PTR [r12+rax], 0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	add	DWORD PTR expout_ptr[rip], ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	write_exp_elt_longcst@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	esi, 10
	add	edi, edi
	call	max@PLT
	mov	edi, eax
	mov	DWORD PTR expout_size[rip], eax
	call	EXP_ELEM_TO_BYTES@PLT
	mov	rdi, QWORD PTR expout[rip]
	lea	rsi, 8[rax]
	call	xrealloc@PLT
	mov	QWORD PTR expout[rip], rax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	write_exp_string, .-write_exp_string
	.comm	expout_size,4,4
	.comm	expout_ptr,4,4
	.comm	expout,8,8
	.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_parse.c_write_exp_string.c"
	.text
	.align	2
	.global	write_exp_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_exp_string, %function
write_exp_string:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	add	r3, sp, #8
	stmdb	r3, {r0, r1}
	ldr	r4, [sp]
	ldr	r5, .L7
	add	r0, r4, #1
	bl	BYTES_TO_EXP_ELEM
	ldr	r8, .L7+4
	ldr	r3, [r5]
	add	r1, r0, #2
	mov	r6, r0
	ldr	r0, [r8]
	add	r1, r1, r3
	cmp	r1, r0
	bge	.L4
	ldr	r7, .L7+8
.L2:
	mov	r0, r4
	bl	write_exp_elt_longcst
	ldr	r2, [r7]
	ldr	r3, [r5]
	ldr	r7, [r2]
	ldr	r1, [sp, #4]
	add	r7, r7, r3, lsl #2
	mov	r2, r4
	mov	r0, r7
	bl	memcpy
	mov	r3, #0
	mov	r0, r4
	strb	r3, [r7, r4]
	ldr	r3, [r5]
	add	r6, r3, r6
	str	r6, [r5]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	write_exp_elt_longcst
.L4:
	add	r1, r1, #10
	lsl	r0, r0, #1
	bl	max
	ldr	r7, .L7+8
	str	r0, [r8]
	ldr	r8, [r7]
	bl	EXP_ELEM_TO_BYTES
	mov	r1, r0
	mov	r0, r8
	add	r1, r1, #4
	bl	xrealloc
	str	r0, [r7]
	b	.L2
.L8:
	.align	2
.L7:
	.word	expout_ptr
	.word	expout_size
	.word	expout
	.size	write_exp_string, .-write_exp_string
	.comm	expout_size,4,4
	.comm	expout_ptr,4,4
	.comm	expout,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
