	.file	"extr_btm_sec.c_btm_read_local_oob_complete.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"btm_read_local_oob_complete:%d\n"
	.text
	.p2align 4
	.globl	btm_read_local_oob_complete
	.type	btm_read_local_oob_complete, @function
btm_read_local_oob_complete:
.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, 40
	.cfi_def_cfa_offset 64
	mov	rbp, QWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rsi, rbp
	call	BTM_TRACE_EVENT@PLT
	cmp	QWORD PTR HCI_SUCCESS[rip], rbp
	je	.L11
	mov	eax, DWORD PTR BTM_ERR_PROCESSING[rip]
	mov	DWORD PTR 12[rsp], eax
.L3:
	mov	rax, QWORD PTR btm_cb[rip]
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR BTM_SP_LOC_OOB_EVT[rip]
	lea	rsi, 12[rsp]
	call	rax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 40
	.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
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR 20[rsp]
	lea	rbp, 8[rbx]
	mov	eax, DWORD PTR BTM_SUCCESS[rip]
	mov	rsi, rbp
	mov	DWORD PTR 12[rsp], eax
	call	STREAM_TO_ARRAY16@PLT
	mov	edi, DWORD PTR 16[rsp]
	mov	rsi, rbp
	call	STREAM_TO_ARRAY16@PLT
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	btm_read_local_oob_complete, .-btm_read_local_oob_complete
	.comm	btm_cb,8,8
	.comm	HCI_SUCCESS,8,8
	.comm	BTM_SUCCESS,4,4
	.comm	BTM_SP_LOC_OOB_EVT,4,4
	.comm	BTM_ERR_PROCESSING,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_btm_sec.c_btm_read_local_oob_complete.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"btm_read_local_oob_complete:%d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	btm_read_local_oob_complete
	.syntax unified
	.arm
	.fpu softvfp
	.type	btm_read_local_oob_complete, %function
btm_read_local_oob_complete:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r5, [r0]
	ldr	r3, .L13
	sub	sp, sp, #20
	mov	r4, r0
	mov	r1, r5
	ldr	r0, .L13+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	BTM_TRACE_EVENT
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L11
	ldr	r3, .L13+12
	ldr	r3, [r3]
	str	r3, [sp]
.L3:
	ldr	r3, .L13+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L1
	ldr	r2, .L13+20
	mov	r1, sp
	ldr	r0, [r2]
	blx	r3
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	ldr	r3, .L13+24
	add	r4, r4, #4
	ldr	r3, [r3]
	mov	r1, r4
	ldr	r0, [sp, #8]
	str	r3, [sp]
	bl	STREAM_TO_ARRAY16
	mov	r1, r4
	ldr	r0, [sp, #4]
	bl	STREAM_TO_ARRAY16
	b	.L3
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	.LC0
	.word	HCI_SUCCESS
	.word	BTM_ERR_PROCESSING
	.word	btm_cb
	.word	BTM_SP_LOC_OOB_EVT
	.word	BTM_SUCCESS
	.size	btm_read_local_oob_complete, .-btm_read_local_oob_complete
	.comm	btm_cb,4,4
	.comm	HCI_SUCCESS,4,4
	.comm	BTM_SUCCESS,4,4
	.comm	BTM_SP_LOC_OOB_EVT,4,4
	.comm	BTM_ERR_PROCESSING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
