	.file	"extr_app_main.c_mqtt_event_handler_cb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"MQTT_EVENT_CONNECTED"
.LC1:
	.string	"data_3"
.LC2:
	.string	"/topic/qos1"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"sent publish successful, msg_id=%d"
	.section	.rodata.str1.1
.LC4:
	.string	"/topic/qos0"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"sent subscribe successful, msg_id=%d"
	.align 8
.LC6:
	.string	"sent unsubscribe successful, msg_id=%d"
	.section	.rodata.str1.1
.LC7:
	.string	"MQTT_EVENT_DISCONNECTED"
	.section	.rodata.str1.8
	.align 8
.LC8:
	.string	"MQTT_EVENT_SUBSCRIBED, msg_id=%d"
	.section	.rodata.str1.1
.LC9:
	.string	"data"
	.section	.rodata.str1.8
	.align 8
.LC10:
	.string	"MQTT_EVENT_UNSUBSCRIBED, msg_id=%d"
	.align 8
.LC11:
	.string	"MQTT_EVENT_PUBLISHED, msg_id=%d"
	.section	.rodata.str1.1
.LC12:
	.string	"MQTT_EVENT_DATA"
.LC13:
	.string	"TOPIC=%.*s\r\n"
.LC14:
	.string	"DATA=%.*s\r\n"
.LC15:
	.string	"MQTT_EVENT_ERROR"
.LC16:
	.string	"Other event id:%d"
	.text
	.p2align 4
	.type	mqtt_event_handler_cb, @function
mqtt_event_handler_cb:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR [rdi]
	mov	ebp, DWORD PTR 32[rdi]
	mov	edi, DWORD PTR TAG[rip]
	lea	eax, -128[rdx]
	cmp	eax, 6
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rsi, .LC12[rip]
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	edx, DWORD PTR 28[rbx]
	mov	rsi, QWORD PTR 8[rbx]
	lea	rdi, .LC13[rip]
	call	printf@PLT
	mov	edx, DWORD PTR 24[rbx]
	mov	rsi, QWORD PTR 16[rbx]
	lea	rdi, .LC14[rip]
	call	printf@PLT
	mov	eax, DWORD PTR ESP_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	ESP_LOGI@PLT
	xor	r9d, r9d
	mov	r8d, 1
	xor	ecx, ecx
	mov	edi, ebp
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	call	esp_mqtt_client_publish@PLT
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC3[rip]
	mov	edx, eax
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	edi, ebp
	xor	edx, edx
	lea	rsi, .LC4[rip]
	call	esp_mqtt_client_subscribe@PLT
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC5[rip]
	mov	edx, eax
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	edi, ebp
	mov	edx, 1
	lea	rsi, .LC2[rip]
	call	esp_mqtt_client_subscribe@PLT
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC5[rip]
	mov	edx, eax
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	edi, ebp
	lea	rsi, .LC2[rip]
	call	esp_mqtt_client_unsubscribe@PLT
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC6[rip]
	mov	edx, eax
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	eax, DWORD PTR ESP_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rbx]
	lea	rsi, .LC10[rip]
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	eax, DWORD PTR ESP_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rbx]
	lea	rsi, .LC8[rip]
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	edi, ebp
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC4[rip]
	call	esp_mqtt_client_publish@PLT
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC3[rip]
	mov	edx, eax
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	eax, DWORD PTR ESP_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rbx]
	lea	rsi, .LC11[rip]
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	eax, DWORD PTR ESP_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rsi, .LC15[rip]
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	eax, DWORD PTR ESP_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rsi, .LC7[rip]
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	eax, DWORD PTR ESP_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	lea	rsi, .LC16[rip]
	xor	eax, eax
	call	ESP_LOGI@PLT
	mov	eax, DWORD PTR ESP_OK[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mqtt_event_handler_cb, .-mqtt_event_handler_cb
	.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
	.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_event_handler_cb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"MQTT_EVENT_CONNECTED\000"
	.align	2
.LC1:
	.ascii	"data_3\000"
	.align	2
.LC2:
	.ascii	"/topic/qos1\000"
	.align	2
.LC3:
	.ascii	"sent publish successful, msg_id=%d\000"
	.align	2
.LC4:
	.ascii	"/topic/qos0\000"
	.align	2
.LC5:
	.ascii	"sent subscribe successful, msg_id=%d\000"
	.align	2
.LC6:
	.ascii	"sent unsubscribe successful, msg_id=%d\000"
	.align	2
.LC7:
	.ascii	"MQTT_EVENT_DISCONNECTED\000"
	.align	2
.LC8:
	.ascii	"MQTT_EVENT_SUBSCRIBED, msg_id=%d\000"
	.align	2
.LC9:
	.ascii	"data\000"
	.align	2
.LC10:
	.ascii	"MQTT_EVENT_UNSUBSCRIBED, msg_id=%d\000"
	.align	2
.LC11:
	.ascii	"MQTT_EVENT_PUBLISHED, msg_id=%d\000"
	.align	2
.LC12:
	.ascii	"MQTT_EVENT_DATA\000"
	.align	2
.LC13:
	.ascii	"TOPIC=%.*s\015\012\000"
	.align	2
.LC14:
	.ascii	"DATA=%.*s\015\012\000"
	.align	2
.LC15:
	.ascii	"MQTT_EVENT_ERROR\000"
	.align	2
.LC16:
	.ascii	"Other event id:%d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mqtt_event_handler_cb, %function
mqtt_event_handler_cb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r2, [r0]
	ldr	r5, .L14
	sub	r3, r2, #128
	mov	r4, r0
	ldr	r6, [r0, #24]
	sub	sp, sp, #12
	ldr	r0, [r5]
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	mov	r4, #0
	mov	r7, #1
	ldr	r1, .L14+4
	bl	ESP_LOGI
	mov	r3, r4
	ldr	r2, .L14+8
	ldr	r1, .L14+12
	mov	r0, r6
	str	r4, [sp, #4]
	str	r7, [sp]
	bl	esp_mqtt_client_publish
	ldr	r1, .L14+16
	mov	r2, r0
	ldr	r0, [r5]
	bl	ESP_LOGI
	mov	r2, r4
	ldr	r1, .L14+20
	mov	r0, r6
	bl	esp_mqtt_client_subscribe
	ldr	r1, .L14+24
	mov	r2, r0
	ldr	r0, [r5]
	bl	ESP_LOGI
	mov	r2, r7
	ldr	r1, .L14+12
	mov	r0, r6
	bl	esp_mqtt_client_subscribe
	ldr	r1, .L14+24
	mov	r2, r0
	ldr	r0, [r5]
	bl	ESP_LOGI
	ldr	r1, .L14+12
	mov	r0, r6
	bl	esp_mqtt_client_unsubscribe
	ldr	r1, .L14+28
	mov	r2, r0
	ldr	r0, [r5]
	bl	ESP_LOGI
.L11:
	ldr	r3, .L14+32
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	ldr	r2, [r4, #4]
	ldr	r1, .L14+36
	bl	ESP_LOGI
	ldr	r3, .L14+32
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	ldr	r2, [r4, #4]
	ldr	r1, .L14+40
	bl	ESP_LOGI
	mov	r3, #0
	mov	r0, r6
	str	r3, [sp, #4]
	str	r3, [sp]
	ldr	r2, .L14+44
	ldr	r1, .L14+20
	bl	esp_mqtt_client_publish
	ldr	r1, .L14+16
	mov	r2, r0
	ldr	r0, [r5]
	bl	ESP_LOGI
	ldr	r3, .L14+32
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	ldr	r2, [r4, #4]
	ldr	r1, .L14+48
	bl	ESP_LOGI
	ldr	r3, .L14+32
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	ldr	r1, .L14+52
	bl	ESP_LOGI
	ldr	r3, .L14+32
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	ldr	r1, .L14+56
	bl	ESP_LOGI
	ldr	r3, .L14+32
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	ldr	r1, .L14+60
	bl	ESP_LOGI
	ldr	r2, [r4, #20]
	ldr	r1, [r4, #8]
	ldr	r0, .L14+64
	bl	printf
	ldr	r2, [r4, #16]
	ldr	r1, [r4, #12]
	ldr	r0, .L14+68
	bl	printf
	ldr	r3, .L14+32
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r1, .L14+72
	bl	ESP_LOGI
	b	.L11
.L15:
	.align	2
.L14:
	.word	TAG
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	ESP_OK
	.word	.LC10
	.word	.LC8
	.word	.LC9
	.word	.LC11
	.word	.LC15
	.word	.LC7
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC16
	.size	mqtt_event_handler_cb, .-mqtt_event_handler_cb
	.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
