	.file	"extr_can_network_example_slave_main.c_app_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Slave starting in %d\n"
.LC1:
	.string	"CAN_rx"
.LC2:
	.string	"CAN_tx"
.LC3:
	.string	"CAN_ctrl"
.LC4:
	.string	"Driver installed"
.LC5:
	.string	"Driver uninstalled"
	.text
	.p2align 4
	.globl	app_main
	.type	app_main, @function
app_main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rbp, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, 3
	sub	rsp, 8
	.cfi_def_cfa_offset 32
.L2:
	mov	esi, ebx
	mov	rdi, rbp
	call	printf@PLT
	mov	edi, 1000
	call	pdMS_TO_TICKS@PLT
	mov	edi, eax
	call	vTaskDelay@PLT
	sub	ebx, 1
	jne	.L2
	mov	esi, 4
	mov	edi, 1
	call	xQueueCreate@PLT
	mov	esi, 4
	mov	edi, 1
	mov	DWORD PTR tx_task_queue[rip], eax
	call	xQueueCreate@PLT
	mov	DWORD PTR rx_task_queue[rip], eax
	xor	eax, eax
	call	xSemaphoreCreateBinary@PLT
	mov	DWORD PTR ctrl_task_sem[rip], eax
	xor	eax, eax
	call	xSemaphoreCreateBinary@PLT
	mov	DWORD PTR stop_data_sem[rip], eax
	xor	eax, eax
	call	xSemaphoreCreateBinary@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	xor	r9d, r9d
	xor	ecx, ecx
	mov	DWORD PTR done_sem[rip], eax
	mov	eax, DWORD PTR tskNO_AFFINITY[rip]
	mov	edx, 4096
	lea	rsi, .LC1[rip]
	mov	r8d, DWORD PTR RX_TASK_PRIO[rip]
	mov	edi, DWORD PTR can_receive_task[rip]
	push	rax
	.cfi_def_cfa_offset 48
	call	xTaskCreatePinnedToCore@PLT
	mov	eax, DWORD PTR tskNO_AFFINITY[rip]
	xor	r9d, r9d
	xor	ecx, ecx
	mov	r8d, DWORD PTR TX_TASK_PRIO[rip]
	mov	edi, DWORD PTR can_transmit_task[rip]
	mov	edx, 4096
	lea	rsi, .LC2[rip]
	mov	DWORD PTR [rsp], eax
	call	xTaskCreatePinnedToCore@PLT
	mov	eax, DWORD PTR tskNO_AFFINITY[rip]
	xor	r9d, r9d
	xor	ecx, ecx
	mov	r8d, DWORD PTR CTRL_TSK_PRIO[rip]
	mov	edi, DWORD PTR can_control_task[rip]
	mov	edx, 4096
	lea	rsi, .LC3[rip]
	mov	DWORD PTR [rsp], eax
	call	xTaskCreatePinnedToCore@PLT
	lea	rdx, f_config[rip]
	lea	rsi, t_config[rip]
	lea	rdi, g_config[rip]
	call	can_driver_install@PLT
	mov	edi, eax
	call	ESP_ERROR_CHECK@PLT
	mov	edi, DWORD PTR EXAMPLE_TAG[rip]
	lea	rsi, .LC4[rip]
	call	ESP_LOGI@PLT
	mov	edi, DWORD PTR ctrl_task_sem[rip]
	call	xSemaphoreGive@PLT
	mov	esi, DWORD PTR portMAX_DELAY[rip]
	mov	edi, DWORD PTR done_sem[rip]
	call	xSemaphoreTake@PLT
	xor	eax, eax
	call	can_driver_uninstall@PLT
	mov	edi, eax
	call	ESP_ERROR_CHECK@PLT
	mov	edi, DWORD PTR EXAMPLE_TAG[rip]
	lea	rsi, .LC5[rip]
	call	ESP_LOGI@PLT
	mov	edi, DWORD PTR ctrl_task_sem[rip]
	call	vSemaphoreDelete@PLT
	mov	edi, DWORD PTR stop_data_sem[rip]
	call	vSemaphoreDelete@PLT
	mov	edi, DWORD PTR done_sem[rip]
	call	vSemaphoreDelete@PLT
	mov	edi, DWORD PTR tx_task_queue[rip]
	call	vQueueDelete@PLT
	mov	edi, DWORD PTR rx_task_queue[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	vQueueDelete@PLT
	.cfi_endproc
.LFE0:
	.size	app_main, .-app_main
	.comm	tx_task_queue,4,4
	.comm	tskNO_AFFINITY,4,4
	.comm	t_config,4,4
	.comm	stop_data_sem,4,4
	.comm	rx_task_queue,4,4
	.comm	portMAX_DELAY,4,4
	.comm	g_config,4,4
	.comm	f_config,4,4
	.comm	done_sem,4,4
	.comm	ctrl_task_sem,4,4
	.comm	can_transmit_task,4,4
	.comm	can_receive_task,4,4
	.comm	can_control_task,4,4
	.comm	TX_TASK_PRIO,4,4
	.comm	RX_TASK_PRIO,4,4
	.comm	EXAMPLE_TAG,4,4
	.comm	CTRL_TSK_PRIO,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_can_network_example_slave_main.c_app_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Slave starting in %d\012\000"
	.align	2
.LC1:
	.ascii	"CAN_rx\000"
	.align	2
.LC2:
	.ascii	"CAN_tx\000"
	.align	2
.LC3:
	.ascii	"CAN_ctrl\000"
	.align	2
.LC4:
	.ascii	"Driver installed\000"
	.align	2
.LC5:
	.ascii	"Driver uninstalled\000"
	.text
	.align	2
	.global	app_main
	.syntax unified
	.arm
	.fpu softvfp
	.type	app_main, %function
app_main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, #3
	ldr	r5, .L6
	sub	sp, sp, #16
.L2:
	mov	r1, r4
	mov	r0, r5
	bl	printf
	mov	r0, #1000
	bl	pdMS_TO_TICKS
	bl	vTaskDelay
	subs	r4, r4, #1
	bne	.L2
	mov	r1, #4
	mov	r0, #1
	bl	xQueueCreate
	mov	r3, r0
	ldr	r9, .L6+4
	mov	r1, #4
	mov	r0, #1
	str	r3, [r9]
	bl	xQueueCreate
	ldr	r8, .L6+8
	ldr	r6, .L6+12
	str	r0, [r8]
	bl	xSemaphoreCreateBinary
	str	r0, [r6]
	bl	xSemaphoreCreateBinary
	ldr	r10, .L6+16
	ldr	r7, .L6+20
	str	r0, [r10]
	bl	xSemaphoreCreateBinary
	mov	ip, r0
	ldr	r3, .L6+24
	ldr	r1, [r7]
	ldr	r2, [r3]
	ldr	r5, .L6+28
	ldr	r3, .L6+32
	str	r4, [sp, #4]
	str	r1, [sp, #8]
	str	r2, [sp]
	ldr	r0, [r3]
	str	ip, [r5]
	mov	r3, r4
	mov	r2, #4096
	ldr	r1, .L6+36
	bl	xTaskCreatePinnedToCore
	ldr	r3, .L6+40
	ldr	r1, [r7]
	ldr	r2, [r3]
	ldr	r3, .L6+44
	str	r4, [sp, #4]
	str	r1, [sp, #8]
	str	r2, [sp]
	ldr	r0, [r3]
	mov	r2, #4096
	mov	r3, r4
	ldr	r1, .L6+48
	bl	xTaskCreatePinnedToCore
	ldr	r2, .L6+52
	ldr	r3, [r7]
	ldr	r1, [r2]
	ldr	r2, .L6+56
	str	r3, [sp, #8]
	str	r4, [sp, #4]
	str	r1, [sp]
	mov	r3, r4
	ldr	r0, [r2]
	ldr	r1, .L6+60
	mov	r2, #4096
	bl	xTaskCreatePinnedToCore
	ldr	r4, .L6+64
	ldr	r2, .L6+68
	ldr	r1, .L6+72
	ldr	r0, .L6+76
	bl	can_driver_install
	bl	ESP_ERROR_CHECK
	ldr	r1, .L6+80
	ldr	r0, [r4]
	bl	ESP_LOGI
	ldr	r0, [r6]
	bl	xSemaphoreGive
	ldr	r3, .L6+84
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	xSemaphoreTake
	bl	can_driver_uninstall
	bl	ESP_ERROR_CHECK
	ldr	r1, .L6+88
	ldr	r0, [r4]
	bl	ESP_LOGI
	ldr	r0, [r6]
	bl	vSemaphoreDelete
	ldr	r0, [r10]
	bl	vSemaphoreDelete
	ldr	r0, [r5]
	bl	vSemaphoreDelete
	ldr	r0, [r9]
	bl	vQueueDelete
	ldr	r0, [r8]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	vQueueDelete
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	tx_task_queue
	.word	rx_task_queue
	.word	ctrl_task_sem
	.word	stop_data_sem
	.word	tskNO_AFFINITY
	.word	RX_TASK_PRIO
	.word	done_sem
	.word	can_receive_task
	.word	.LC1
	.word	TX_TASK_PRIO
	.word	can_transmit_task
	.word	.LC2
	.word	CTRL_TSK_PRIO
	.word	can_control_task
	.word	.LC3
	.word	EXAMPLE_TAG
	.word	f_config
	.word	t_config
	.word	g_config
	.word	.LC4
	.word	portMAX_DELAY
	.word	.LC5
	.size	app_main, .-app_main
	.comm	tx_task_queue,4,4
	.comm	tskNO_AFFINITY,4,4
	.comm	t_config,4,4
	.comm	stop_data_sem,4,4
	.comm	rx_task_queue,4,4
	.comm	portMAX_DELAY,4,4
	.comm	g_config,4,4
	.comm	f_config,4,4
	.comm	done_sem,4,4
	.comm	ctrl_task_sem,4,4
	.comm	can_transmit_task,4,4
	.comm	can_receive_task,4,4
	.comm	can_control_task,4,4
	.comm	TX_TASK_PRIO,4,4
	.comm	RX_TASK_PRIO,4,4
	.comm	EXAMPLE_TAG,4,4
	.comm	CTRL_TSK_PRIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
