	.file	"extr_expand.c_reprocess.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	reprocess, @function
reprocess:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movsx	rbx, edi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], edx
	call	stackblock@PLT
	mov	edx, DWORD PTR SIZE_MAX[rip]
	mov	rbp, QWORD PTR expdest[rip]
	add	rbx, rax
	mov	eax, edx
	sub	rbp, rbx
	shr	eax, 31
	add	eax, edx
	sar	eax
	cdqe
	cmp	rax, rbp
	jbe	.L2
	cmp	QWORD PTR PTRDIFF_MAX[rip], rbp
	jb	.L2
.L3:
	mov	rdi, QWORD PTR buflen.1958[rip]
	mov	r8, QWORD PTR buf.1957[rip]
	cmp	rdi, rbp
	jbe	.L31
	cmp	rdi, 127
	ja	.L8
	mov	QWORD PTR buflen.1958[rip], 128
	mov	edi, 128
	cmp	rbp, 127
	jbe	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	add	rdi, rdi
	cmp	rdi, rbp
	jbe	.L9
	mov	QWORD PTR buflen.1958[rip], rdi
.L8:
	test	r8, r8
	je	.L7
.L10:
	mov	rdi, r8
	mov	rdx, rbp
	mov	rsi, rbx
	xor	r15d, r15d
	call	memcpy@PLT
	mov	rax, QWORD PTR buf.1957[rip]
	mov	edi, ebp
	neg	edi
	mov	BYTE PTR [rax+rbp], 0
	mov	rsi, QWORD PTR expdest[rip]
	call	STADJUST@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, QWORD PTR buf.1957[rip]
	add	rdi, r15
	mov	QWORD PTR [rsp], rdi
	call	strlen@PLT
	mov	edx, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR [rsp]
	mov	r8, r14
	mov	rbx, rax
	mov	ecx, r13d
	mov	esi, r12d
	call	strtodest@PLT
	lea	rax, [r15+rbx]
	lea	r15, 1[rax]
	cmp	rax, rbp
	je	.L1
	test	DWORD PTR EXP_SPLIT[rip], r12d
	je	.L11
	test	r13d, r13d
	jne	.L14
	test	rbx, rbx
	je	.L11
	cmp	rbp, r15
	jbe	.L11
.L14:
	mov	rdx, QWORD PTR expdest[rip]
	mov	rcx, r14
	mov	esi, r12d
	xor	edi, edi
	call	NEXTWORD@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
	call	abort@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 24
	.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
.L31:
	.cfi_restore_state
	mov	rdi, r8
	call	ckfree@PLT
	mov	rdi, QWORD PTR buflen.1958[rip]
	mov	QWORD PTR buf.1957[rip], 0
	cmp	rdi, 127
	jbe	.L5
	cmp	rdi, rbp
	ja	.L7
	xor	r8d, r8d
	jmp	.L9
.L5:
	mov	QWORD PTR buflen.1958[rip], 128
	xor	r8d, r8d
	mov	edi, 128
	cmp	rbp, 127
	ja	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	call	ckmalloc@PLT
	mov	QWORD PTR buf.1957[rip], rax
	mov	r8, rax
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	reprocess, .-reprocess
	.local	buf.1957
	.comm	buf.1957,8,8
	.local	buflen.1958
	.comm	buflen.1958,8,8
	.comm	expdest,8,8
	.comm	SIZE_MAX,4,4
	.comm	PTRDIFF_MAX,8,8
	.comm	INTON,4,4
	.comm	INTOFF,4,4
	.comm	EXP_SPLIT,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_expand.c_reprocess.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reprocess, %function
reprocess:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	mov	fp, r0
	mov	r10, r2
	mov	r8, r3
	mov	r7, r1
	bl	stackblock
	ldr	r3, .L29
	ldr	r2, .L29+4
	ldr	r3, [r3]
	ldr	r5, [r2]
	add	fp, r0, fp
	sub	r6, r5, fp
	add	r3, r3, r3, lsr #31
	cmp	r6, r3, asr #1
	bcs	.L2
	ldr	r3, .L29+8
	ldr	r3, [r3]
	cmp	r3, r6
	bcc	.L2
	ldr	r9, .L29+12
	ldm	r9, {r0, r3}
	cmp	r0, r6
	bls	.L28
.L4:
	cmp	r0, #127
	bhi	.L8
	mov	r0, #128
	cmp	r6, #127
	str	r0, [r9]
	bls	.L8
.L9:
	lsl	r0, r0, #1
	cmp	r0, r6
	bls	.L9
	str	r0, [r9]
.L8:
	cmp	r3, #0
	beq	.L7
.L10:
	mov	r1, fp
	mov	r0, r3
	mov	r2, r6
	bl	memcpy
	mov	r4, #0
	ldr	r3, .L29+4
	strb	r4, [r0, r6]
	ldr	r1, [r3]
	sub	r0, fp, r5
	bl	STADJUST
.L11:
	ldr	r3, [r9, #4]
	add	fp, r3, r4
	mov	r0, fp
	bl	strlen
	mov	r5, r0
	ldr	r3, [sp, #48]
	add	r4, r4, r5
	str	r3, [sp]
	mov	r0, fp
	mov	r3, r8
	mov	r2, r10
	mov	r1, r7
	bl	strtodest
	cmp	r4, r6
	add	r4, r4, #1
	beq	.L1
	ldr	r3, .L29+16
	ldr	r3, [r3]
	tst	r7, r3
	beq	.L11
	cmp	r8, #0
	bne	.L14
	cmp	r5, #0
	cmpne	r6, r4
	bls	.L11
.L14:
	ldr	r2, .L29+4
	mov	r1, r7
	ldr	r3, [sp, #48]
	ldr	r2, [r2]
	mov	r0, #0
	bl	NEXTWORD
	b	.L11
.L2:
	ldr	r9, .L29+12
	bl	abort
	ldm	r9, {r0, r3}
	cmp	r0, r6
	bhi	.L4
.L28:
	mov	r0, r3
	bl	ckfree
	mov	r3, #0
	ldr	r0, [r9]
	str	r3, [r9, #4]
	cmp	r0, #127
	bls	.L5
	cmp	r0, r6
	bls	.L9
.L7:
	bl	ckmalloc
	mov	r3, r0
	str	r0, [r9, #4]
	b	.L10
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r2, #128
	cmp	r6, #127
	mov	r0, r2
	str	r2, [r9]
	bhi	.L9
	b	.L7
.L30:
	.align	2
.L29:
	.word	SIZE_MAX
	.word	expdest
	.word	PTRDIFF_MAX
	.word	.LANCHOR0
	.word	EXP_SPLIT
	.size	reprocess, .-reprocess
	.comm	expdest,4,4
	.comm	SIZE_MAX,4,4
	.comm	PTRDIFF_MAX,4,4
	.comm	INTON,4,4
	.comm	INTOFF,4,4
	.comm	EXP_SPLIT,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	buflen.4242, %object
	.size	buflen.4242, 4
buflen.4242:
	.space	4
	.type	buf.4241, %object
	.size	buf.4241, 4
buf.4241:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
