	.file	"extr_esp_gattc_api.c_esp_ble_gattc_get_descr_by_uuid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	esp_ble_gattc_get_descr_by_uuid
	.type	esp_ble_gattc_get_descr_by_uuid, @function
esp_ble_gattc_get_descr_by_uuid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR ESP_BLUEDROID_STATUS_ENABLED[rip]
	mov	rbx, QWORD PTR 80[rsp]
	mov	rbp, QWORD PTR 88[rsp]
	mov	QWORD PTR [rsp], rdx
	mov	DWORD PTR 12[rsp], r9d
	call	ESP_BLUEDROID_STATUS_CHECK@PLT
	test	rbx, rbx
	je	.L2
	test	rbp, rbp
	je	.L2
	cmp	QWORD PTR 0[rbp], 0
	jne	.L3
.L2:
	mov	eax, DWORD PTR ESP_GATT_INVALID_PDU[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rsi, r15
	mov	edi, r14d
	call	BTC_GATT_CREATE_CONN_ID@PLT
	mov	QWORD PTR 80[rsp], rbp
	mov	r9, rbx
	mov	ecx, r13d
	mov	r8d, DWORD PTR 12[rsp]
	mov	rsi, QWORD PTR [rsp]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	rdx, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rdi, rax
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	btc_ble_gattc_get_descr_by_uuid@PLT
	.cfi_endproc
.LFE0:
	.size	esp_ble_gattc_get_descr_by_uuid, .-esp_ble_gattc_get_descr_by_uuid
	.comm	ESP_GATT_INVALID_PDU,4,4
	.comm	ESP_BLUEDROID_STATUS_ENABLED,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_esp_gattc_api.c_esp_ble_gattc_get_descr_by_uuid.c"
	.text
	.align	2
	.global	esp_ble_gattc_get_descr_by_uuid
	.syntax unified
	.arm
	.fpu softvfp
	.type	esp_ble_gattc_get_descr_by_uuid, %function
esp_ble_gattc_get_descr_by_uuid:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	sub	sp, sp, #4
	ldr	r0, .L8
	ldr	r8, [sp, #48]
	ldr	r9, [sp, #52]
	ldr	r0, [r0]
	mov	r7, r1
	mov	r5, r2
	mov	r4, r3
	ldr	r10, [sp, #40]
	ldr	fp, [sp, #44]
	bl	ESP_BLUEDROID_STATUS_CHECK
	cmp	r9, #0
	cmpne	r8, #0
	beq	.L2
	ldr	r3, [r9]
	cmp	r3, #0
	bne	.L3
.L2:
	ldr	r3, .L8+4
	ldr	r0, [r3]
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	mov	r1, r7
	mov	r0, r6
	bl	BTC_GATT_CREATE_CONN_ID
	mov	r3, r10
	mov	r2, r4
	mov	r1, r5
	str	r9, [sp, #48]
	str	r8, [sp, #44]
	str	fp, [sp, #40]
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	btc_ble_gattc_get_descr_by_uuid
.L9:
	.align	2
.L8:
	.word	ESP_BLUEDROID_STATUS_ENABLED
	.word	ESP_GATT_INVALID_PDU
	.size	esp_ble_gattc_get_descr_by_uuid, .-esp_ble_gattc_get_descr_by_uuid
	.comm	ESP_GATT_INVALID_PDU,4,4
	.comm	ESP_BLUEDROID_STATUS_ENABLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
