	.file	"extr_bta_ag_main.c_bta_ag_resume_open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"bta_ag_resume_open, Handle(%d)"
	.align 8
.LC1:
	.string	"bta_ag_resume_open, Null p_scb"
	.text
	.p2align 4
	.globl	bta_ag_resume_open
	.type	bta_ag_resume_open, @function
bta_ag_resume_open:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L2
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	bta_ag_scb_to_idx@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	APPL_TRACE_DEBUG@PLT
	mov	rax, QWORD PTR BTA_AG_INIT_ST[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L8
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore 6
	lea	rdi, .LC1[rip]
	jmp	APPL_TRACE_ERROR@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rax, QWORD PTR BTA_AG_OPENING_ST[rip]
	mov	rdi, rbp
	xor	esi, esi
	mov	QWORD PTR 0[rbp], rax
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	bta_ag_start_open@PLT
	.cfi_endproc
.LFE0:
	.size	bta_ag_resume_open, .-bta_ag_resume_open
	.comm	BTA_AG_OPENING_ST,8,8
	.comm	BTA_AG_INIT_ST,8,8
	.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_ag_main.c_bta_ag_resume_open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bta_ag_resume_open, Handle(%d)\000"
	.align	2
.LC1:
	.ascii	"bta_ag_resume_open, Null p_scb\000"
	.text
	.align	2
	.global	bta_ag_resume_open
	.syntax unified
	.arm
	.fpu softvfp
	.type	bta_ag_resume_open, %function
bta_ag_resume_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	beq	.L2
	bl	bta_ag_scb_to_idx
	mov	r1, r0
	ldr	r0, .L6
	bl	APPL_TRACE_DEBUG
	ldr	r3, .L6+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	popne	{r4, pc}
	ldr	r3, .L6+8
	mov	r0, r4
	ldr	r3, [r3]
	mov	r1, #0
	str	r3, [r4]
	pop	{r4, lr}
	b	bta_ag_start_open
.L2:
	ldr	r0, .L6+12
	pop	{r4, lr}
	b	APPL_TRACE_ERROR
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	BTA_AG_INIT_ST
	.word	BTA_AG_OPENING_ST
	.word	.LC1
	.size	bta_ag_resume_open, .-bta_ag_resume_open
	.comm	BTA_AG_OPENING_ST,4,4
	.comm	BTA_AG_INIT_ST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
