	.file	"extr_gatt_attr.c_gatt_profile_find_clcb_by_bd_addr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gatt_profile_find_clcb_by_bd_addr, @function
gatt_profile_find_clcb_by_bd_addr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR GATT_MAX_APPS[rip], 0
	mov	r12, QWORD PTR gatt_cb[rip]
	jle	.L2
	mov	r13d, edi
	mov	rbp, rsi
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	add	rbx, 1
	add	r12, 32
	cmp	QWORD PTR GATT_MAX_APPS[rip], rbx
	jle	.L2
.L4:
	cmp	QWORD PTR 24[r12], 0
	je	.L5
	cmp	QWORD PTR [r12], rbp
	jne	.L5
	cmp	QWORD PTR 16[r12], 0
	je	.L5
	mov	edi, DWORD PTR 8[r12]
	mov	edx, DWORD PTR BD_ADDR_LEN[rip]
	mov	esi, r13d
	call	memcmp@PLT
	test	eax, eax
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	r12d, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	gatt_profile_find_clcb_by_bd_addr, .-gatt_profile_find_clcb_by_bd_addr
	.comm	gatt_cb,8,8
	.comm	GATT_MAX_APPS,8,8
	.comm	BD_ADDR_LEN,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_gatt_attr.c_gatt_profile_find_clcb_by_bd_addr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gatt_profile_find_clcb_by_bd_addr, %function
gatt_profile_find_clcb_by_bd_addr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, .L16
	ldr	r3, .L16+4
	ldr	r2, [r6]
	ldr	r4, [r3]
	cmp	r2, #0
	ble	.L2
	mov	r9, r0
	mov	r7, r1
	mov	r5, #0
	ldr	r8, .L16+8
	b	.L4
.L5:
	ldr	r3, [r6]
	add	r4, r4, #16
	cmp	r3, r5
	ble	.L2
.L4:
	ldr	r3, [r4, #12]
	add	r5, r5, #1
	cmp	r3, #0
	beq	.L5
	ldr	r3, [r4]
	cmp	r3, r7
	bne	.L5
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L5
	mov	r1, r9
	ldr	r2, [r8]
	ldr	r0, [r4, #4]
	bl	memcmp
	cmp	r0, #0
	bne	.L5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	GATT_MAX_APPS
	.word	gatt_cb
	.word	BD_ADDR_LEN
	.size	gatt_profile_find_clcb_by_bd_addr, .-gatt_profile_find_clcb_by_bd_addr
	.comm	gatt_cb,4,4
	.comm	GATT_MAX_APPS,4,4
	.comm	BD_ADDR_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
