	.file	"extr_gap_api.c_GAP_Init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	GAP_Init
	.type	GAP_Init, @function
GAP_Init:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edi, 4
	call	osi_malloc@PLT
	mov	QWORD PTR gap_cb_ptr[rip], rax
	test	rax, rax
	je	.L6
	mov	edx, 4
	xor	esi, esi
	lea	rdi, gap_cb[rip]
	call	memset@PLT
	mov	eax, DWORD PTR BT_TRACE_LEVEL_NONE[rip]
	mov	DWORD PTR gap_cb[rip], eax
	xor	eax, eax
	call	gap_conn_init@PLT
	xor	eax, eax
	call	gap_attr_db_init@PLT
	mov	eax, DWORD PTR BT_STATUS_SUCCESS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR BT_STATUS_NOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	GAP_Init, .-GAP_Init
	.comm	gap_cb_ptr,8,8
	.comm	gap_cb,4,4
	.comm	GAP_INITIAL_TRACE_LEVEL,4,4
	.comm	BT_TRACE_LEVEL_NONE,4,4
	.comm	BT_STATUS_SUCCESS,4,4
	.comm	BT_STATUS_NOMEM,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_gap_api.c_GAP_Init.c"
	.text
	.align	2
	.global	GAP_Init
	.syntax unified
	.arm
	.fpu softvfp
	.type	GAP_Init, %function
GAP_Init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r0, #4
	push	{r4, lr}
	bl	osi_malloc
	ldr	r3, .L7
	cmp	r0, #0
	str	r0, [r3]
	beq	.L6
	ldr	r2, .L7+4
	ldr	r3, .L7+8
	ldr	r2, [r2]
	str	r2, [r3]
	bl	gap_conn_init
	bl	gap_attr_db_init
	ldr	r3, .L7+12
	ldr	r0, [r3]
	pop	{r4, pc}
.L6:
	ldr	r3, .L7+16
	ldr	r0, [r3]
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	gap_cb_ptr
	.word	BT_TRACE_LEVEL_NONE
	.word	gap_cb
	.word	BT_STATUS_SUCCESS
	.word	BT_STATUS_NOMEM
	.size	GAP_Init, .-GAP_Init
	.comm	gap_cb_ptr,4,4
	.comm	gap_cb,4,4
	.comm	GAP_INITIAL_TRACE_LEVEL,4,4
	.comm	BT_TRACE_LEVEL_NONE,4,4
	.comm	BT_STATUS_SUCCESS,4,4
	.comm	BT_STATUS_NOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
