	.file	"extr_bta_dm_act.c_bta_dm_pin_cback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bta_dm_pin_cback, @function
bta_dm_pin_cback:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR bta_dm_cb[rip], 0
	mov	eax, DWORD PTR BTM_NOT_AUTHORIZED[rip]
	je	.L1
	mov	ebp, esi
	mov	esi, edi
	mov	edi, DWORD PTR 20[rsp]
	mov	ebx, ecx
	mov	r12, rdx
	call	bdcpy@PLT
	mov	edi, DWORD PTR 16[rsp]
	mov	esi, ebp
	call	BTA_COPY_DEVICE_CLASS@PLT
	mov	eax, DWORD PTR BD_NAME_LEN[rip]
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, r12
	mov	esi, 8
	lea	ecx, -1[rax]
	call	BCM_STRNCPY_S@PLT
	movsx	rdx, DWORD PTR BD_NAME_LEN[rip]
	mov	rax, QWORD PTR 8[rsp]
	mov	rsi, rsp
	mov	edi, DWORD PTR BTA_DM_PIN_REQ_EVT[rip]
	mov	QWORD PTR -8[rax+rdx*8], 0
	mov	DWORD PTR [rsp], ebx
	call	[QWORD PTR bta_dm_cb[rip]]
	mov	eax, DWORD PTR BTM_CMD_STARTED[rip]
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bta_dm_pin_cback, .-bta_dm_pin_cback
	.comm	bta_dm_cb,8,8
	.comm	BTM_NOT_AUTHORIZED,4,4
	.comm	BTM_CMD_STARTED,4,4
	.comm	BTA_DM_PIN_REQ_EVT,4,4
	.comm	BD_NAME_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_bta_dm_act.c_bta_dm_pin_cback.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_pin_cback, %function
bta_dm_pin_cback:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L9
	mov	r8, r3
	ldr	ip, [r6]
	ldr	r3, .L9+4
	sub	sp, sp, #24
	cmp	ip, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L7
	mov	r5, r1
	mov	r4, r2
	mov	r1, r0
	ldr	r7, .L9+8
	ldr	r0, [sp, #16]
	bl	bdcpy
	mov	r1, r5
	ldr	r0, [sp, #12]
	bl	BTA_COPY_DEVICE_CLASS
	ldr	r3, [r7]
	mov	r2, r4
	mov	r1, #4
	sub	r3, r3, #1
	ldr	r0, [sp, #8]
	bl	BCM_STRNCPY_S
	mov	ip, #0
	ldr	r2, [r7]
	ldr	r0, [sp, #8]
	ldr	r1, .L9+12
	sub	r2, r2, #-1073741823
	ldr	r3, [r6]
	str	ip, [r0, r2, lsl #2]
	ldr	r0, [r1]
	str	r8, [sp, #4]
	add	r1, sp, #4
	blx	r3
	ldr	r3, .L9+16
	ldr	r0, [r3]
.L1:
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9+20
	ldr	r0, [r3]
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	bta_dm_cb
	.word	.LC0
	.word	BD_NAME_LEN
	.word	BTA_DM_PIN_REQ_EVT
	.word	BTM_CMD_STARTED
	.word	BTM_NOT_AUTHORIZED
	.size	bta_dm_pin_cback, .-bta_dm_pin_cback
	.comm	bta_dm_cb,4,4
	.comm	BTM_NOT_AUTHORIZED,4,4
	.comm	BTM_CMD_STARTED,4,4
	.comm	BTA_DM_PIN_REQ_EVT,4,4
	.comm	BD_NAME_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
