	.file	"extr_dsp.c___dsp_def_taskcb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__dsp_def_taskcb, @function
__dsp_def_taskcb:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
	call	DSP_CheckMailFrom@PLT
	test	eax, eax
	je	.L2
	xor	eax, eax
	call	DSP_ReadMailFrom@PLT
	mov	rdi, QWORD PTR __dsp_currtask[rip]
	mov	edx, DWORD PTR [rdi]
	test	DWORD PTR DSPTASK_CANCEL[rip], edx
	je	.L30
	cmp	eax, -590282750
	je	.L3
.L30:
	add	eax, 590282752
	cmp	eax, 4
	ja	.L1
	lea	rdx, .L7[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L7:
	.long	.L10-.L7
	.long	.L9-.L7
	.long	.L8-.L7
	.long	.L3-.L7
	.long	.L6-.L7
	.text
.L71:
	cmp	rdi, QWORD PTR __dsp_rudetask[rip]
	je	.L68
	mov	edi, -841940991
	call	DSP_SendMailTo@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	xor	eax, eax
	call	DSP_CheckMailTo@PLT
	test	eax, eax
	jne	.L16
	mov	rsi, QWORD PTR __dsp_rudetask[rip]
	mov	rdi, QWORD PTR __dsp_currtask[rip]
	call	__dsp_exectask@PLT
	mov	rax, QWORD PTR __dsp_currtask[rip]
	mov	rdx, QWORD PTR DSPTASK_YIELD[rip]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR __dsp_rudetask[rip]
	mov	QWORD PTR __dsp_rudetask[rip], 0
	mov	QWORD PTR __dsp_currtask[rip], rax
	mov	eax, DWORD PTR FALSE[rip]
	mov	DWORD PTR __dsp_rudetask_pend[rip], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR TRUE[rip]
	cmp	DWORD PTR __dsp_rudetask_pend[rip], eax
	je	.L69
	cmp	QWORD PTR 32[rdi], 0
	je	.L70
	mov	rax, QWORD PTR 24[rdi]
	test	rax, rax
	je	.L28
	call	rax
.L28:
	mov	edi, -841940991
	call	DSP_SendMailTo@PLT
	.p2align 4,,10
	.p2align 3
.L29:
	xor	eax, eax
	call	DSP_CheckMailTo@PLT
	test	eax, eax
	jne	.L29
	mov	rax, QWORD PTR __dsp_currtask[rip]
	mov	rdx, QWORD PTR DSPTASK_DONE[rip]
	xor	edi, edi
	mov	rsi, QWORD PTR __dsp_firsttask[rip]
	mov	QWORD PTR 16[rax], rdx
	call	__dsp_exectask@PLT
	mov	rax, QWORD PTR __dsp_firsttask[rip]
	mov	rdi, QWORD PTR __dsp_lasttask[rip]
	mov	QWORD PTR __dsp_currtask[rip], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	__dsp_removetask@PLT
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR TRUE[rip]
	cmp	DWORD PTR __dsp_rudetask_pend[rip], eax
	je	.L71
	cmp	QWORD PTR 32[rdi], 0
	je	.L72
	mov	edi, -841940991
	call	DSP_SendMailTo@PLT
	.p2align 4,,10
	.p2align 3
.L21:
	xor	eax, eax
	call	DSP_CheckMailTo@PLT
	test	eax, eax
	jne	.L21
	mov	rdi, QWORD PTR __dsp_currtask[rip]
	mov	rsi, QWORD PTR 32[rdi]
	call	__dsp_exectask@PLT
	mov	rax, QWORD PTR __dsp_currtask[rip]
	mov	rdx, QWORD PTR DSPTASK_YIELD[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR __dsp_currtask[rip], rax
	jmp	.L1
.L6:
	mov	rax, QWORD PTR 8[rdi]
	test	rax, rax
	je	.L1
.L66:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	rax
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR DSPTASK_RUN[rip]
	mov	QWORD PTR 16[rdi], rax
	mov	rax, QWORD PTR 48[rdi]
	test	rax, rax
	jne	.L66
	jmp	.L1
.L9:
	mov	rax, QWORD PTR DSPTASK_RUN[rip]
	mov	QWORD PTR 16[rdi], rax
	mov	rax, QWORD PTR 40[rdi]
	test	rax, rax
	jne	.L66
	jmp	.L1
.L70:
	cmp	rdi, QWORD PTR __dsp_firsttask[rip]
	jne	.L1
	mov	rax, QWORD PTR 24[rdi]
	test	rax, rax
	je	.L26
	call	rax
.L26:
	mov	edi, -841940990
	call	DSP_SendMailTo@PLT
	.p2align 4,,10
	.p2align 3
.L27:
	xor	eax, eax
	call	DSP_CheckMailTo@PLT
	test	eax, eax
	jne	.L27
	mov	rdi, QWORD PTR __dsp_currtask[rip]
	mov	rax, QWORD PTR DSPTASK_DONE[rip]
	mov	QWORD PTR 16[rdi], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	__dsp_removetask@PLT
	.p2align 4,,10
	.p2align 3
.L69:
	.cfi_restore_state
	mov	rax, QWORD PTR 24[rdi]
	test	rax, rax
	je	.L23
	call	rax
.L23:
	mov	edi, -841940991
	call	DSP_SendMailTo@PLT
	.p2align 4,,10
	.p2align 3
.L24:
	xor	eax, eax
	call	DSP_CheckMailTo@PLT
	test	eax, eax
	jne	.L24
	mov	rsi, QWORD PTR __dsp_rudetask[rip]
	xor	edi, edi
	call	__dsp_exectask@PLT
	mov	rdi, QWORD PTR __dsp_currtask[rip]
	call	__dsp_removetask@PLT
	mov	rax, QWORD PTR __dsp_rudetask[rip]
	mov	QWORD PTR __dsp_rudetask[rip], 0
	mov	QWORD PTR __dsp_currtask[rip], rax
	mov	eax, DWORD PTR FALSE[rip]
	mov	DWORD PTR __dsp_rudetask_pend[rip], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L72:
	.cfi_restore_state
	cmp	rdi, QWORD PTR __dsp_firsttask[rip]
	je	.L73
	mov	edi, -841940991
	call	DSP_SendMailTo@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	xor	eax, eax
	call	DSP_CheckMailTo@PLT
	test	eax, eax
	jne	.L20
	mov	rsi, QWORD PTR __dsp_firsttask[rip]
	mov	rdi, QWORD PTR __dsp_currtask[rip]
	call	__dsp_exectask@PLT
	mov	rax, QWORD PTR __dsp_currtask[rip]
	mov	rdx, QWORD PTR DSPTASK_YIELD[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR __dsp_firsttask[rip]
	mov	QWORD PTR __dsp_currtask[rip], rax
	jmp	.L1
.L68:
	mov	edi, -841940989
	call	DSP_SendMailTo@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	xor	eax, eax
	call	DSP_CheckMailTo@PLT
	test	eax, eax
	jne	.L15
	mov	eax, DWORD PTR FALSE[rip]
	mov	rdi, QWORD PTR __dsp_currtask[rip]
	mov	QWORD PTR __dsp_rudetask[rip], 0
	mov	DWORD PTR __dsp_rudetask_pend[rip], eax
	mov	rax, QWORD PTR 40[rdi]
	test	rax, rax
	jne	.L66
	jmp	.L1
.L73:
	mov	edi, -841940989
	call	DSP_SendMailTo@PLT
	.p2align 4,,10
	.p2align 3
.L19:
	xor	eax, eax
	call	DSP_CheckMailTo@PLT
	test	eax, eax
	jne	.L19
	mov	rdi, QWORD PTR __dsp_currtask[rip]
	mov	rax, QWORD PTR 40[rdi]
	test	rax, rax
	jne	.L66
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	__dsp_def_taskcb, .-__dsp_def_taskcb
	.comm	__dsp_rudetask_pend,4,4
	.comm	__dsp_rudetask,8,8
	.comm	__dsp_lasttask,8,8
	.comm	__dsp_firsttask,8,8
	.comm	__dsp_currtask,8,8
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	DSPTASK_YIELD,8,8
	.comm	DSPTASK_RUN,8,8
	.comm	DSPTASK_DONE,8,8
	.comm	DSPTASK_CANCEL,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_dsp.c___dsp_def_taskcb.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__dsp_def_taskcb, %function
__dsp_def_taskcb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
.L2:
	bl	DSP_CheckMailFrom
	cmp	r0, #0
	beq	.L2
	bl	DSP_ReadMailFrom
	mov	r3, r0
	ldr	r2, .L69
	ldr	r4, .L69+4
	ldr	ip, [r2]
	ldr	r2, .L69+8
	ldr	r0, [r4]
	sub	r2, r3, r2
	clz	r2, r2
	ldr	r1, [r0]
	lsr	r2, r2, #5
	and	r1, r1, ip
	cmp	r1, #0
	moveq	r2, #0
	cmp	r2, #0
	bne	.L3
	add	r3, r3, #587202560
	add	r3, r3, #3080192
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L6:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L3
	.word	.L5
.L1:
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	ldr	r6, .L69+12
	ldr	r3, .L69+16
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L63
	ldr	r3, [r0, #16]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [r0, #12]
	cmp	r3, #0
	beq	.L27
	blx	r3
.L27:
	ldr	r0, .L69+20
	bl	DSP_SendMailTo
.L28:
	bl	DSP_CheckMailTo
	cmp	r0, #0
	bne	.L28
	ldr	r2, .L69+24
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r5, .L69+28
	str	r2, [r3, #8]
	ldr	r1, [r5]
	bl	__dsp_exectask
	ldr	r3, [r5]
	ldr	r2, .L69+32
	str	r3, [r4]
	ldr	r0, [r2]
	pop	{r4, r5, r6, r7, r8, lr}
	b	__dsp_removetask
.L5:
	ldr	r3, [r0, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L61:
	pop	{r4, r5, r6, r7, r8, lr}
	bx	r3
.L9:
	ldr	r2, .L69+36
	ldr	r3, [r0, #24]
	ldr	r2, [r2]
	cmp	r3, #0
	str	r2, [r0, #8]
	bne	.L61
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r2, .L69+36
	ldr	r3, [r0, #20]
	ldr	r2, [r2]
	cmp	r3, #0
	str	r2, [r0, #8]
	bne	.L61
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r6, .L69+12
	ldr	r3, .L69+16
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L65
	ldr	r3, [r0, #16]
	cmp	r3, #0
	beq	.L66
	ldr	r0, .L69+20
	bl	DSP_SendMailTo
.L20:
	bl	DSP_CheckMailTo
	cmp	r0, #0
	bne	.L20
	ldr	r0, [r4]
	ldr	r1, [r0, #16]
	bl	__dsp_exectask
	ldr	r3, [r4]
	ldr	r2, .L69+40
	ldr	r1, [r3, #16]
	ldr	r2, [r2]
	str	r1, [r4]
	str	r2, [r3, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L64:
	ldr	r3, .L69+28
	ldr	r3, [r3]
	cmp	r0, r3
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r0, #12]
	cmp	r3, #0
	beq	.L25
	blx	r3
.L25:
	ldr	r0, .L69+44
	bl	DSP_SendMailTo
.L26:
	bl	DSP_CheckMailTo
	cmp	r0, #0
	bne	.L26
	ldr	r3, .L69+24
	ldr	r0, [r4]
	ldr	r3, [r3]
	pop	{r4, r5, r6, r7, r8, lr}
	str	r3, [r0, #8]
	b	__dsp_removetask
.L63:
	ldr	r3, [r0, #12]
	cmp	r3, #0
	beq	.L22
	blx	r3
.L22:
	ldr	r0, .L69+20
	bl	DSP_SendMailTo
.L23:
	bl	DSP_CheckMailTo
	subs	r5, r0, #0
	bne	.L23
	ldr	r7, .L69+48
	ldr	r1, [r7]
	bl	__dsp_exectask
	ldr	r0, [r4]
	bl	__dsp_removetask
	ldr	r3, .L69+52
	ldr	r2, [r7]
	ldr	r3, [r3]
	str	r5, [r7]
	str	r2, [r4]
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L66:
	ldr	r5, .L69+28
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L67
	ldr	r0, .L69+20
	bl	DSP_SendMailTo
.L19:
	bl	DSP_CheckMailTo
	cmp	r0, #0
	bne	.L19
	ldr	r1, [r5]
	ldr	r0, [r4]
	bl	__dsp_exectask
	ldr	r2, .L69+40
	ldr	r1, [r5]
	ldr	r3, [r4]
	ldr	r2, [r2]
	str	r1, [r4]
	str	r2, [r3, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L65:
	ldr	r7, .L69+48
	ldr	r3, [r7]
	cmp	r0, r3
	beq	.L68
	ldr	r0, .L69+20
	bl	DSP_SendMailTo
.L15:
	bl	DSP_CheckMailTo
	subs	r5, r0, #0
	bne	.L15
	ldr	r1, [r7]
	ldr	r0, [r4]
	bl	__dsp_exectask
	ldr	r3, .L69+40
	ldr	r2, .L69+52
	ldr	r1, [r3]
	ldr	r3, [r4]
	ldr	r2, [r2]
	str	r1, [r3]
	ldr	r3, [r7]
	str	r2, [r6]
	str	r3, [r4]
	str	r5, [r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L68:
	ldr	r0, .L69+56
	bl	DSP_SendMailTo
.L14:
	bl	DSP_CheckMailTo
	subs	r3, r0, #0
	bne	.L14
	ldr	r0, [r4]
	ldr	r1, .L69+52
	ldr	r2, [r0, #20]
	ldr	r1, [r1]
	cmp	r2, #0
	str	r3, [r7]
	str	r1, [r6]
	popeq	{r4, r5, r6, r7, r8, pc}
	pop	{r4, r5, r6, r7, r8, lr}
	bx	r2
.L67:
	ldr	r0, .L69+56
	bl	DSP_SendMailTo
.L18:
	bl	DSP_CheckMailTo
	cmp	r0, #0
	bne	.L18
	ldr	r0, [r4]
	ldr	r3, [r0, #20]
	cmp	r3, #0
	bne	.L61
	pop	{r4, r5, r6, r7, r8, pc}
.L70:
	.align	2
.L69:
	.word	DSPTASK_CANCEL
	.word	__dsp_currtask
	.word	-590282750
	.word	__dsp_rudetask_pend
	.word	TRUE
	.word	-841940991
	.word	DSPTASK_DONE
	.word	__dsp_firsttask
	.word	__dsp_lasttask
	.word	DSPTASK_RUN
	.word	DSPTASK_YIELD
	.word	-841940990
	.word	__dsp_rudetask
	.word	FALSE
	.word	-841940989
	.size	__dsp_def_taskcb, .-__dsp_def_taskcb
	.comm	__dsp_rudetask_pend,4,4
	.comm	__dsp_rudetask,4,4
	.comm	__dsp_lasttask,4,4
	.comm	__dsp_firsttask,4,4
	.comm	__dsp_currtask,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	DSPTASK_YIELD,4,4
	.comm	DSPTASK_RUN,4,4
	.comm	DSPTASK_DONE,4,4
	.comm	DSPTASK_CANCEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
