	.file	"extr_bdflib.c__bdf_list_split.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_bdf_list_split, @function
_bdf_list_split:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	r14, QWORD PTR FT_Err_Ok[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 8[rdi], 0
	mov	QWORD PTR [rdi], 0
	je	.L2
	mov	rax, QWORD PTR 16[rdi]
	mov	rdx, QWORD PTR empty[rip]
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rdx
	mov	QWORD PTR 16[rax], rdx
	mov	QWORD PTR 24[rax], rdx
	mov	QWORD PTR 32[rax], rdx
.L2:
	test	r13, r13
	je	.L1
	cmp	BYTE PTR [rbx], 0
	je	.L1
	test	r15, r15
	je	.L4
	cmp	BYTE PTR [r15], 0
	jne	.L5
.L4:
	mov	edi, DWORD PTR Invalid_Argument[rip]
	call	FT_THROW@PLT
	mov	r14, rax
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L55
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r14
	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
.L5:
	.cfi_restore_state
	lea	rbp, 16[rsp]
	mov	esi, 32
	mov	rdi, rbp
	call	FT_MEM_ZERO@PLT
	movsx	esi, BYTE PTR [r15]
	test	sil, sil
	je	.L26
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	sil, 43
	jne	.L7
	cmp	BYTE PTR 1[r15], 0
	jne	.L7
	mov	r15d, 1
.L6:
	lea	rax, [rbx+r13]
	xor	edx, edx
	mov	QWORD PTR 8[rsp], rax
	cmp	rbx, rax
	jnb	.L56
	.p2align 4,,10
	.p2align 3
.L9:
	movsx	esi, BYTE PTR [rbx]
	test	sil, sil
	je	.L20
	mov	r13, rbx
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L12:
	movsx	esi, BYTE PTR 1[r13]
	add	r13, 1
	test	sil, sil
	je	.L11
.L21:
	mov	rdi, rbp
	call	sbitset@PLT
	test	rax, rax
	je	.L12
.L11:
	mov	rax, QWORD PTR [r12]
	lea	rsi, 1[rax]
	cmp	rax, QWORD PTR 8[r12]
	je	.L57
.L13:
	mov	rcx, QWORD PTR 16[r12]
	cmp	rbx, r13
	cmovnb	rbx, QWORD PTR empty[rip]
	mov	QWORD PTR [r12], rsi
	mov	QWORD PTR [rcx+rax*8], rbx
	test	r15d, r15d
	jne	.L58
	cmp	BYTE PTR 0[r13], 0
	je	.L30
	mov	BYTE PTR 0[r13], 0
	lea	rbx, 1[r13]
.L18:
	cmp	rbx, r13
	jbe	.L31
.L59:
	xor	edx, edx
	cmp	BYTE PTR [rbx], 0
	sete	dl
.L17:
	cmp	QWORD PTR 8[rsp], rbx
	ja	.L9
.L20:
	mov	rax, QWORD PTR [r12]
	lea	rcx, [rax+rdx]
	cmp	rcx, QWORD PTR 8[r12]
	jnb	.L24
.L22:
	mov	rdi, QWORD PTR 16[r12]
	lea	rsi, 0[0+rax*8]
	lea	rcx, [rdi+rsi]
	test	rdx, rdx
	je	.L23
	mov	rdx, QWORD PTR empty[rip]
	add	rax, 1
	mov	QWORD PTR [r12], rax
	mov	QWORD PTR [rcx], rdx
	lea	rcx, 8[rdi+rsi]
.L23:
.L3:
	endbr64
	mov	QWORD PTR [rcx], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, rbp
	add	r15, 1
	call	setsbit@PLT
	movsx	esi, BYTE PTR [r15]
	test	sil, sil
	jne	.L8
.L26:
	xor	r15d, r15d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L30:
	mov	rbx, r13
	xor	edx, edx
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L58:
	movsx	esi, BYTE PTR 0[r13]
	mov	rbx, r13
	test	sil, sil
	jne	.L16
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L19:
	mov	BYTE PTR [rbx], 0
	movsx	esi, BYTE PTR 1[rbx]
	add	rbx, 1
	test	sil, sil
	je	.L18
.L16:
	mov	rdi, rbp
	call	sbitset@PLT
	test	rax, rax
	jne	.L19
	cmp	rbx, r13
	ja	.L59
	.p2align 4,,10
	.p2align 3
.L31:
	xor	edx, edx
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L57:
	mov	rdi, r12
	call	_bdf_list_ensure@PLT
	mov	r14, rax
	test	rax, rax
	jne	.L1
	mov	rax, QWORD PTR [r12]
	lea	rsi, 1[rax]
	jmp	.L13
.L24:
	lea	rsi, 1[rcx]
	mov	rdi, r12
	mov	QWORD PTR 8[rsp], rdx
	call	_bdf_list_ensure@PLT
	mov	r14, rax
	test	rax, rax
	jne	.L1
	mov	rax, QWORD PTR [r12]
	mov	rdx, QWORD PTR 8[rsp]
	jmp	.L22
.L56:
	mov	rcx, QWORD PTR [r12]
	cmp	QWORD PTR 8[r12], rcx
	jbe	.L24
	mov	rax, QWORD PTR 16[r12]
	lea	rcx, [rax+rcx*8]
	jmp	.L23
.L55:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	_bdf_list_split, .-_bdf_list_split
	.comm	empty,8,8
	.comm	Invalid_Argument,4,4
	.comm	FT_Err_Ok,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_bdflib.c__bdf_list_split.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_bdf_list_split, %function
_bdf_list_split:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	mov	r0, #0
	ldr	lr, [r6, #4]
	mov	r8, r3
	ldr	ip, .L63
	ldr	r3, .L63+4
	sub	sp, sp, #44
	cmp	lr, r0
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ldr	r10, [ip]
	mov	r4, r1
	mov	r5, r2
	str	r0, [r6]
	beq	.L2
	ldr	r3, .L63+8
	ldr	r2, [r6, #8]
	ldr	r0, [r3]
	str	r0, [r2]
	str	r0, [r2, #4]
	str	r0, [r2, #8]
	str	r0, [r2, #12]
	str	r0, [r2, #16]
.L2:
	cmp	r8, #0
	beq	.L1
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L1
	cmp	r4, #0
	beq	.L4
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
.L4:
	ldr	r3, .L63+12
	ldr	r0, [r3]
	bl	FT_THROW
	mov	r10, r0
.L1:
	ldr	r3, .L63+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L59
	mov	r0, r10
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r1, #32
	add	r0, sp, #4
	bl	FT_MEM_ZERO
	ldrb	r1, [r4]	@ zero_extendqisi2
	cmp	r1, #0
	beq	.L26
.L8:
	cmp	r1, #43
	bne	.L7
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	mov	r7, #1
.L6:
	add	r8, r5, r8
	cmp	r5, r8
	bcs	.L60
	mov	r4, #0
	mov	r9, r4
	ldr	fp, .L63+8
.L9:
	ldrb	r1, [r5]	@ zero_extendqisi2
	cmp	r1, #0
	beq	.L20
	mov	r4, r5
	b	.L21
.L12:
	ldrb	r1, [r4, #1]!	@ zero_extendqisi2
	cmp	r1, #0
	beq	.L11
.L21:
	add	r0, sp, #4
	bl	sbitset
	cmp	r0, #0
	beq	.L12
.L11:
	ldr	r3, [r6]
	ldr	r2, [r6, #4]
	add	r1, r3, #1
	cmp	r3, r2
	beq	.L61
.L13:
	cmp	r5, r4
	ldrcs	r5, [fp]
	ldr	r2, [r6, #8]
	cmp	r7, #0
	str	r1, [r6]
	str	r5, [r2, r3, lsl #2]
	bne	.L62
	ldrb	r3, [r4]	@ zero_extendqisi2
	mov	r5, r4
	cmp	r3, #0
	beq	.L31
	strb	r7, [r5], #1
.L18:
	cmp	r5, r4
	bls	.L31
	ldrb	r1, [r5]	@ zero_extendqisi2
	clz	r4, r1
	lsr	r4, r4, #5
.L17:
	cmp	r8, r5
	bhi	.L9
.L20:
	ldr	r3, [r6]
	ldr	r2, [r6, #4]
	add	r1, r3, r4
	cmp	r1, r2
	bcs	.L24
.L22:
	ldr	r2, [r6, #8]
	cmp	r4, #0
	add	r1, r2, r3, lsl #2
	lsl	r0, r3, #2
	beq	.L23
	ldr	ip, .L63+8
	add	r1, r0, #4
	ldr	r0, [ip]
	add	ip, r3, #1
	str	ip, [r6]
	add	r1, r2, r1
	str	r0, [r2, r3, lsl #2]
.L23:
.L3:
	mov	r3, #0
	str	r3, [r1]
	b	.L1
.L7:
	add	r0, sp, #4
	bl	setsbit
	ldrb	r1, [r4, #1]!	@ zero_extendqisi2
	cmp	r1, #0
	bne	.L8
.L26:
	mov	r7, r1
	b	.L6
.L31:
	mov	r4, #0
	b	.L17
.L62:
	ldrb	r1, [r4]	@ zero_extendqisi2
	mov	r5, r4
	cmp	r1, #0
	bne	.L16
	b	.L31
.L19:
	strb	r9, [r5]
	ldrb	r1, [r5, #1]!	@ zero_extendqisi2
	cmp	r1, #0
	beq	.L18
.L16:
	add	r0, sp, #4
	bl	sbitset
	cmp	r0, #0
	bne	.L19
	b	.L18
.L61:
	mov	r0, r6
	bl	_bdf_list_ensure
	subs	r10, r0, #0
	bne	.L1
	ldr	r3, [r6]
	add	r1, r3, #1
	b	.L13
.L33:
	mov	r4, #0
.L24:
	mov	r0, r6
	add	r1, r1, #1
	bl	_bdf_list_ensure
	subs	r10, r0, #0
	bne	.L1
	ldr	r3, [r6]
	b	.L22
.L60:
	ldm	r6, {r1, r3}
	cmp	r3, r1
	bls	.L33
	ldr	r3, [r6, #8]
	add	r1, r3, r1, lsl #2
	b	.L23
.L59:
	bl	__stack_chk_fail
.L64:
	.align	2
.L63:
	.word	FT_Err_Ok
	.word	.LC0
	.word	empty
	.word	Invalid_Argument
	.size	_bdf_list_split, .-_bdf_list_split
	.comm	empty,4,4
	.comm	Invalid_Argument,4,4
	.comm	FT_Err_Ok,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
