	.file	"extr_tasks.c_vTaskPlaceOnEventList.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vTaskPlaceOnEventList
	.type	vTaskPlaceOnEventList, @function
vTaskPlaceOnEventList:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	call	configASSERT@PLT
	lea	rdi, xTaskQueueMutex[rip]
	call	taskENTER_CRITICAL@PLT
	mov	r12, QWORD PTR pxCurrentTCB[rip]
	xor	eax, eax
	call	xPortGetCoreID@PLT
	mov	rdi, rbp
	mov	rsi, QWORD PTR [r12+rax*8]
	add	rsi, 8
	call	vListInsert@PLT
	mov	rbp, QWORD PTR pxCurrentTCB[rip]
	xor	eax, eax
	call	xPortGetCoreID@PLT
	mov	rdi, QWORD PTR 0[rbp+rax*8]
	call	uxListRemove@PLT
	test	rax, rax
	jne	.L2
	mov	r12, QWORD PTR pxCurrentTCB[rip]
	mov	ebp, DWORD PTR uxTopReadyPriority[rip]
	call	xPortGetCoreID@PLT
	mov	rax, QWORD PTR [r12+rax*8]
	mov	esi, ebp
	mov	edi, DWORD PTR 4[rax]
	call	portRESET_READY_PRIORITY@PLT
.L3:
	add	rbx, QWORD PTR xTickCount[rip]
	xor	eax, eax
	mov	rdi, rbx
	call	prvAddCurrentTaskToDelayedList@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, xTaskQueueMutex[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	taskEXIT_CRITICAL@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	eax, eax
	call	mtCOVERAGE_TEST_MARKER@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	vTaskPlaceOnEventList, .-vTaskPlaceOnEventList
	.comm	xTickCount,8,8
	.comm	xTaskQueueMutex,4,4
	.comm	xSuspendedTaskList,4,4
	.comm	uxTopReadyPriority,4,4
	.comm	pxCurrentTCB,8,8
	.comm	portMAX_DELAY,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_tasks.c_vTaskPlaceOnEventList.c"
	.text
	.align	2
	.global	vTaskPlaceOnEventList
	.syntax unified
	.arm
	.fpu softvfp
	.type	vTaskPlaceOnEventList, %function
vTaskPlaceOnEventList:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L6
	mov	r4, r1
	mov	r5, r0
	bl	configASSERT
	ldr	r0, .L6+4
	bl	taskENTER_CRITICAL
	ldr	r7, [r6]
	bl	xPortGetCoreID
	ldr	r1, [r7, r0, lsl #2]
	mov	r0, r5
	add	r1, r1, #8
	bl	vListInsert
	ldr	r5, [r6]
	bl	xPortGetCoreID
	ldr	r0, [r5, r0, lsl #2]
	bl	uxListRemove
	cmp	r0, #0
	bne	.L2
	ldr	r5, [r6]
	bl	xPortGetCoreID
	ldr	r2, .L6+8
	ldr	r3, [r5, r0, lsl #2]
	ldr	r1, [r2]
	ldr	r0, [r3, #4]
	bl	portRESET_READY_PRIORITY
.L3:
	ldr	r3, .L6+12
	ldr	r0, [r3]
	add	r0, r4, r0
	bl	prvAddCurrentTaskToDelayedList
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, .L6+4
	b	taskEXIT_CRITICAL
.L2:
	bl	mtCOVERAGE_TEST_MARKER
	b	.L3
.L7:
	.align	2
.L6:
	.word	pxCurrentTCB
	.word	xTaskQueueMutex
	.word	uxTopReadyPriority
	.word	xTickCount
	.size	vTaskPlaceOnEventList, .-vTaskPlaceOnEventList
	.comm	xTickCount,4,4
	.comm	xTaskQueueMutex,4,4
	.comm	xSuspendedTaskList,4,4
	.comm	uxTopReadyPriority,4,4
	.comm	pxCurrentTCB,4,4
	.comm	portMAX_DELAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
