	.file	"extr_bta_dm_act.c_bta_dm_inq_results_cb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bta_dm_inq_results_cb, @function
bta_dm_inq_results_cb:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 72
	.cfi_def_cfa_offset 96
	mov	esi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	edi, DWORD PTR 52[rsp]
	call	bdcpy@PLT
	mov	edx, DWORD PTR DEV_CLASS_LEN[rip]
	mov	esi, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR 48[rsp]
	call	memcpy@PLT
	mov	esi, DWORD PTR 24[rbx]
	xor	edi, edi
	call	BTM_COD_SERVICE_CLASS@PLT
	mov	rdx, QWORD PTR 4[rbx]
	mov	edi, DWORD PTR [rbx]
	mov	QWORD PTR 8[rsp], rbp
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR 16[rsp], rdx
	mov	rdx, QWORD PTR 12[rbx]
	mov	QWORD PTR 40[rsp], rax
	mov	eax, DWORD PTR 20[rbx]
	mov	QWORD PTR 24[rsp], rdx
	mov	DWORD PTR 32[rsp], eax
	call	BTM_InqDbRead@PLT
	test	rax, rax
	je	.L4
	mov	rbx, rax
	mov	rdx, QWORD PTR bta_dm_search_cb[rip]
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR [rsp], rax
	test	rdx, rdx
	je	.L10
	mov	edi, DWORD PTR BTA_DM_INQ_RES_EVT[rip]
	mov	rsi, rsp
	call	rdx
	mov	rax, QWORD PTR [rsp]
.L10:
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR TRUE[rip]
	mov	QWORD PTR [rbx], rax
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 72
	.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
.L4:
	.cfi_restore_state
	mov	rax, QWORD PTR bta_dm_search_cb[rip]
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR BTA_DM_INQ_RES_EVT[rip]
	mov	rsi, rsp
	call	rax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bta_dm_inq_results_cb, .-bta_dm_inq_results_cb
	.comm	bta_dm_search_cb,8,8
	.comm	TRUE,8,8
	.comm	FALSE,8,8
	.comm	DEV_CLASS_LEN,4,4
	.comm	BTM_COD_SERVICE_LMTD_DISCOVER,4,4
	.comm	BTA_DM_INQ_RES_EVT,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_bta_dm_act.c_bta_dm_inq_results_cb.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bta_dm_inq_results_cb, %function
bta_dm_inq_results_cb:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	mov	r5, r1
	sub	sp, sp, #52
	ldr	r3, .L15
	ldr	r1, [r0]
	ldr	r0, [sp, #40]
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	bdcpy
	ldr	r3, .L15+4
	ldr	r1, [r4, #24]
	ldr	r2, [r3]
	ldr	r0, [sp, #36]
	bl	memcpy
	ldr	r1, [r4, #24]
	mov	r0, #0
	bl	BTM_COD_SERVICE_CLASS
	ldr	r3, .L15+8
	ldr	r2, [r4, #20]
	ldr	lr, [r4, #16]
	ldr	ip, [r4, #12]
	ldr	r1, [r4, #8]
	ldr	r3, [r3]
	str	r2, [sp, #28]
	ldm	r4, {r0, r2}
	str	r5, [sp, #8]
	str	lr, [sp, #24]
	str	ip, [sp, #20]
	str	r1, [sp, #16]
	str	r2, [sp, #12]
	str	r3, [sp, #32]
	bl	BTM_InqDbRead
	subs	r4, r0, #0
	beq	.L4
	ldr	r2, .L15+12
	ldr	r3, .L15+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, #0
	str	r3, [sp, #4]
	beq	.L10
	ldr	r3, .L15+16
	add	r1, sp, #4
	ldr	r0, [r3]
	blx	r2
	ldr	r3, [sp, #4]
.L10:
	cmp	r3, #0
	ldrne	r3, .L15+20
	ldrne	r3, [r3]
	strne	r3, [r4]
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, pc}
.L4:
	ldr	r3, .L15+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L1
	ldr	r2, .L15+16
	add	r1, sp, #4
	ldr	r0, [r2]
	blx	r3
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	DEV_CLASS_LEN
	.word	FALSE
	.word	bta_dm_search_cb
	.word	BTA_DM_INQ_RES_EVT
	.word	TRUE
	.size	bta_dm_inq_results_cb, .-bta_dm_inq_results_cb
	.comm	bta_dm_search_cb,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	DEV_CLASS_LEN,4,4
	.comm	BTM_COD_SERVICE_LMTD_DISCOVER,4,4
	.comm	BTA_DM_INQ_RES_EVT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
