	.file	"extr_app_main.c_mqtt_app_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"[APP] Free memory: %d bytes"
	.text
	.p2align 4
	.type	mqtt_app_start, @function
mqtt_app_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR mqtt_eclipse_org_pem_start[rip]
	mov	QWORD PTR [rsp], rax
	mov	eax, DWORD PTR CONFIG_BROKER_URI[rip]
	mov	DWORD PTR 8[rsp], eax
	xor	eax, eax
	call	esp_get_free_heap_size@PLT
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC0[rip]
	mov	edx, eax
	call	ESP_LOGI@PLT
	mov	rdi, rsp
	call	esp_mqtt_client_init@PLT
	mov	edx, DWORD PTR mqtt_event_handler[rip]
	mov	esi, DWORD PTR ESP_EVENT_ANY_ID[rip]
	mov	ebp, eax
	mov	ecx, eax
	mov	edi, eax
	call	esp_mqtt_client_register_event@PLT
	mov	edi, ebp
	call	esp_mqtt_client_start@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mqtt_app_start, .-mqtt_app_start
	.comm	mqtt_event_handler,4,4
	.comm	mqtt_eclipse_org_pem_start,8,8
	.comm	TAG,4,4
	.comm	ESP_EVENT_ANY_ID,4,4
	.comm	CONFIG_BROKER_URI,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_app_main.c_mqtt_app_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[APP] Free memory: %d bytes\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mqtt_app_start, %function
mqtt_app_start:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r1, .L6
	ldr	r2, .L6+4
	ldr	r3, .L6+8
	ldr	r4, [r1]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L6+12
	sub	sp, sp, #16
	ldr	r1, [r1]
	str	r1, [sp, #12]
	mov	r1,#0
	stmib	sp, {r2, r3}
	bl	esp_get_free_heap_size
	ldr	r1, .L6+16
	mov	r2, r0
	mov	r0, r4
	bl	ESP_LOGI
	add	r0, sp, #4
	bl	esp_mqtt_client_init
	mov	r4, r0
	ldr	r2, .L6+20
	ldr	r1, .L6+24
	mov	r3, r0
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	esp_mqtt_client_register_event
	mov	r0, r4
	bl	esp_mqtt_client_start
	ldr	r3, .L6+12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	TAG
	.word	mqtt_eclipse_org_pem_start
	.word	CONFIG_BROKER_URI
	.word	.LC1
	.word	.LC0
	.word	mqtt_event_handler
	.word	ESP_EVENT_ANY_ID
	.size	mqtt_app_start, .-mqtt_app_start
	.comm	mqtt_event_handler,4,4
	.comm	mqtt_eclipse_org_pem_start,4,4
	.comm	TAG,4,4
	.comm	ESP_EVENT_ANY_ID,4,4
	.comm	CONFIG_BROKER_URI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
