	.file	"extr_..utildarray.h_darray_split.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	darray_split, @function
darray_split:
.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
	mov	r14, rdi
	xor	edi, edi
	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
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR [rcx], r8
	mov	r15, rsp
	setnb	dil
	call	assert@PLT
	xor	edi, edi
	cmp	r13, rbp
	setne	dil
	call	assert@PLT
	mov	rdi, r15
	call	darray_init@PLT
	mov	rdx, rbx
	mov	rsi, r15
	mov	rdi, r14
	call	darray_copy@PLT
	mov	rdi, r13
	call	darray_free@PLT
	mov	rdi, rbp
	call	darray_free@PLT
	cmp	QWORD PTR [rbx], 0
	je	.L3
	mov	rcx, QWORD PTR [rsp]
	test	r12, r12
	jne	.L12
	lea	rax, -1[rcx]
	cmp	rax, r12
	ja	.L13
.L3:
	mov	rdi, r15
	call	darray_free@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 40
	.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
.L13:
	.cfi_restore_state
	sub	rcx, r12
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, r14
	mov	r13, rcx
	call	darray_item@PLT
	mov	rcx, r13
	mov	rsi, rbp
	mov	rdi, r14
	mov	edx, eax
	call	darray_copy_array@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edx, DWORD PTR 8[rsp]
	mov	rsi, r13
	mov	rdi, r14
	call	darray_copy_array@PLT
	mov	rcx, QWORD PTR [rsp]
	lea	rax, -1[rcx]
	cmp	rax, r12
	jbe	.L3
	jmp	.L13
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	darray_split, .-darray_split
	.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_..utildarray.h_darray_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	darray_split, %function
darray_split:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r5, r2
	mov	r7, r0
	mov	r4, r3
	sub	sp, sp, #16
	ldr	r3, [r3]
	ldr	r8, [sp, #40]
	cmp	r3, r8
	ldr	r3, .L15
	movcc	r0, #0
	movcs	r0, #1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	assert
	subs	r0, r6, r5
	movne	r0, #1
	bl	assert
	add	r0, sp, #4
	bl	darray_init
	mov	r2, r4
	add	r1, sp, #4
	mov	r0, r7
	bl	darray_copy
	mov	r0, r6
	bl	darray_free
	mov	r0, r5
	bl	darray_free
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L3
	cmp	r8, #0
	ldr	r3, [sp, #4]
	bne	.L12
	sub	r3, r3, #1
	cmp	r3, r8
	bhi	.L13
.L3:
	add	r0, sp, #4
	bl	darray_free
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	mov	r2, r8
	add	r1, sp, #4
	mov	r0, r7
	bl	darray_item
	ldr	r3, [sp, #4]
	mov	r2, r0
	mov	r1, r5
	mov	r0, r7
	sub	r3, r3, r8
	bl	darray_copy_array
	b	.L3
.L12:
	mov	r1, r6
	mov	r0, r7
	ldr	r2, [sp, #8]
	bl	darray_copy_array
	ldr	r3, [sp, #4]
	sub	r3, r3, #1
	cmp	r3, r8
	bls	.L3
	b	.L13
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	darray_split, .-darray_split
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
