	.file	"extr_utils.c_strsplit_by_char.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	strsplit_by_char
	.type	strsplit_by_char, @function
strsplit_by_char:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	rdi, rdi
	je	.L2
	cmp	BYTE PTR [rdi], 0
	mov	r15, rdi
	je	.L2
	mov	edi, 64
	mov	ebp, edx
	call	malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	lea	rbx, 1[r15]
	mov	esi, 8
	xor	edx, edx
	mov	r14d, 1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	test	al, al
	je	.L8
.L7:
	add	rbx, 1
.L5:
	movzx	eax, BYTE PTR -1[rbx]
	lea	rcx, [r12+rdx*8]
	cmp	al, bpl
	jne	.L24
	test	bpl, bpl
	je	.L8
	mov	BYTE PTR -1[rbx], 0
	mov	QWORD PTR [rcx], r15
	cmp	r14d, esi
	jne	.L22
	mov	esi, r14d
	mov	rdi, r12
	lea	r15d, [r14+r14]
	sal	esi, 4
	call	realloc@PLT
	test	rax, rax
	je	.L25
	mov	r12, rax
	mov	esi, r15d
.L22:
	movsx	rdx, r14d
	mov	r15, rbx
	add	r14d, 1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	mov	QWORD PTR [rcx], r15
	test	r13, r13
	je	.L1
	mov	DWORD PTR 0[r13], r14d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L2:
	.cfi_restore_state
	mov	DWORD PTR 0[r13], 0
	xor	r12d, r12d
	jmp	.L1
.L25:
	mov	rdi, r12
	xor	r12d, r12d
	call	free@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	strsplit_by_char, .-strsplit_by_char
	.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_utils.c_strsplit_by_char.c"
	.text
	.align	2
	.global	strsplit_by_char
	.syntax unified
	.arm
	.fpu softvfp
	.type	strsplit_by_char, %function
strsplit_by_char:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r2
	subs	r2, r0, #0
	mov	r8, r1
	sub	sp, sp, #12
	beq	.L2
	ldrb	r4, [r2]	@ zero_extendqisi2
	cmp	r4, #0
	beq	.L2
	mov	r0, #32
	str	r2, [sp, #4]
	bl	malloc
	subs	r6, r0, #0
	beq	.L1
	mov	r0, #0
	ldr	r2, [sp, #4]
	mov	r9, r0
	mov	fp, #8
	mov	r10, #1
	add	r5, r2, #1
	b	.L5
.L23:
	cmp	r4, #0
	beq	.L8
.L7:
	ldrb	r4, [r5], #1	@ zero_extendqisi2
.L5:
	cmp	r4, r7
	add	r3, r6, r0
	bne	.L23
	cmp	r4, #0
	beq	.L8
	cmp	fp, r10
	strb	r9, [r5, #-1]
	str	r2, [r3]
	bne	.L10
	lsl	fp, fp, #1
	mov	r0, r6
	lsl	r1, fp, #2
	bl	realloc
	subs	r4, r0, #0
	beq	.L24
	lsl	r0, r10, #2
	mov	r6, r4
	mov	r2, r5
	add	r10, r10, #1
	b	.L7
.L8:
	cmp	r8, #0
	str	r2, [r3]
	strne	r10, [r8]
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	lsl	r0, r10, #2
	mov	r2, r5
	add	r10, r10, #1
	b	.L7
.L2:
	mov	r6, #0
	mov	r0, r6
	str	r6, [r8]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	mov	r0, r6
	bl	free
	mov	r6, r4
	b	.L1
	.size	strsplit_by_char, .-strsplit_by_char
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
