	.file	"extr_dm-thin.c_schedule_external_copy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	schedule_external_copy, @function
schedule_external_copy:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rax, QWORD PTR 16[rdi]
	mov	r9, rcx
	mov	rcx, QWORD PTR [rdi]
	movsx	r10, DWORD PTR [rax]
	lea	eax, 1[rsi]
	imul	eax, r10d
	movsx	r11, eax
	cmp	rcx, r11
	jge	.L7
	sub	eax, r10d
	cdqe
	cmp	rcx, rax
	jle	.L4
	sub	rcx, rax
	mov	r10d, DWORD PTR 8[rdi]
	push	rcx
	.cfi_def_cfa_offset 24
	mov	ecx, esi
	push	r8
	.cfi_def_cfa_offset 32
	mov	r8d, edx
	mov	edx, r10d
	call	schedule_copy@PLT
	pop	rax
	.cfi_def_cfa_offset 24
	pop	rdx
	.cfi_def_cfa_offset 16
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rcx, r9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	schedule_zero@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	push	r10
	.cfi_def_cfa_offset 24
	mov	r11d, DWORD PTR 8[rdi]
	mov	ecx, esi
	push	r8
	.cfi_def_cfa_offset 32
	mov	r8d, edx
	mov	edx, r11d
	call	schedule_copy@PLT
	pop	rcx
	.cfi_def_cfa_offset 24
	pop	rsi
	.cfi_def_cfa_offset 16
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	schedule_external_copy, .-schedule_external_copy
	.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_dm-thin.c_schedule_external_copy.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	schedule_external_copy, %function
schedule_external_copy:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r5, [r0, #8]
	add	ip, r1, #1
	ldr	r8, [r5]
	ldr	r5, [r0]
	mul	ip, r8, ip
	sub	sp, sp, #20
	cmp	r5, ip
	mov	lr, r0
	mov	r4, r1
	mov	r7, r2
	mov	r6, r3
	ldr	r9, [sp, #48]
	strge	r8, [sp, #12]
	bge	.L6
	sub	ip, ip, r8
	cmp	r5, ip
	ble	.L4
	sub	ip, r5, ip
	str	ip, [sp, #12]
.L6:
	stmib	sp, {r6, r9}
	str	r7, [sp]
	mov	r3, r4
	ldr	r2, [lr, #4]
	bl	schedule_copy
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L4:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	schedule_zero
	.size	schedule_external_copy, .-schedule_external_copy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
