	.file	"extr_sysview_heap_log.c_app_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failed to create queue!"
.LC1:
	.string	"Failed to init heap trace!"
.LC2:
	.string	"alloc"
	.text
	.p2align 4
	.globl	app_main
	.type	app_main, @function
app_main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdi, esp_sysview_vprintf[rip]
	call	esp_log_set_vprintf@PLT
	mov	esi, 8
	mov	edi, 10
	call	xQueueCreate@PLT
	test	rax, rax
	je	.L6
	mov	r12, rax
	xor	eax, eax
	call	heap_trace_init_tohost@PLT
	cmp	rax, QWORD PTR ESP_OK[rip]
	je	.L3
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC1[rip]
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	ESP_LOGE@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	sub	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edi, DWORD PTR alloc_task[rip]
	mov	rcx, r12
	xor	r9d, r9d
	push	0
	.cfi_def_cfa_offset 32
	mov	edx, 2048
	mov	r8d, 5
	lea	rsi, .LC2[rip]
	call	xTaskCreatePinnedToCore@PLT
	pop	rax
	.cfi_def_cfa_offset 24
	pop	rdx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC0[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ESP_LOGE@PLT
	.cfi_endproc
.LFE0:
	.size	app_main, .-app_main
	.comm	esp_sysview_vprintf,4,4
	.comm	alloc_task,4,4
	.comm	TAG,4,4
	.comm	ESP_OK,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_sysview_heap_log.c_app_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to create queue!\000"
	.align	2
.LC1:
	.ascii	"Failed to init heap trace!\000"
	.align	2
.LC2:
	.ascii	"alloc\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, lr}
	ldr	r0, .L8
	sub	sp, sp, #16
	bl	esp_log_set_vprintf
	mov	r1, #4
	mov	r0, #10
	bl	xQueueCreate
	subs	r4, r0, #0
	beq	.L7
	bl	heap_trace_init_tohost
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L3
	ldr	r3, .L8+8
	ldr	r1, .L8+12
	ldr	r0, [r3]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, lr}
	b	ESP_LOGE
.L3:
	mov	r2, #0
	mov	r0, #5
	stm	sp, {r0, r2}
	ldr	r1, .L8+16
	str	r2, [sp, #8]
	mov	r3, r4
	mov	r2, #2048
	ldr	r0, [r1]
	ldr	r1, .L8+20
	bl	xTaskCreatePinnedToCore
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L7:
	ldr	r3, .L8+8
	ldr	r1, .L8+24
	ldr	r0, [r3]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, lr}
	b	ESP_LOGE
.L9:
	.align	2
.L8:
	.word	esp_sysview_vprintf
	.word	ESP_OK
	.word	TAG
	.word	.LC1
	.word	alloc_task
	.word	.LC2
	.word	.LC0
	.size	app_main, .-app_main
	.comm	esp_sysview_vprintf,4,4
	.comm	alloc_task,4,4
	.comm	TAG,4,4
	.comm	ESP_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
