	.file	"extr_gatt_utils.c_gatt_cmd_enq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	gatt_cmd_enq
	.type	gatt_cmd_enq, @function
gatt_cmd_enq:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	mov	r9d, ecx
	mov	rcx, QWORD PTR 16[rdi]
	lea	r10, [rax+rax*2]
	lea	rcx, [rcx+r10*8]
	mov	DWORD PTR 20[rcx], edx
	mov	DWORD PTR 16[rcx], r9d
	mov	QWORD PTR 8[rcx], r8
	mov	DWORD PTR [rcx], esi
	test	edx, edx
	jne	.L2
	mov	QWORD PTR 8[rdi], rax
.L2:
	add	rax, 1
	xor	edx, edx
	div	QWORD PTR GATT_CL_MAX_LCB[rip]
	mov	eax, DWORD PTR TRUE[rip]
	mov	QWORD PTR [rdi], rdx
	ret
	.cfi_endproc
.LFE0:
	.size	gatt_cmd_enq, .-gatt_cmd_enq
	.comm	TRUE,4,4
	.comm	GATT_CL_MAX_LCB,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_gatt_utils.c_gatt_cmd_enq.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.global	gatt_cmd_enq
	.syntax unified
	.arm
	.fpu softvfp
	.type	gatt_cmd_enq, %function
gatt_cmd_enq:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0]
	ldr	lr, [r4, #8]
	ldr	r5, [sp, #16]
	add	ip, lr, r0, lsl #4
	str	r3, [ip, #8]
	ldr	r3, .L5
	cmp	r2, #0
	str	r2, [ip, #12]
	str	r5, [ip, #4]
	str	r1, [lr, r0, lsl #4]
	ldr	r1, [r3]
	streq	r0, [r4, #4]
	add	r0, r0, #1
	bl	__aeabi_uidivmod
	ldr	r3, .L5+4
	str	r1, [r4]
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L6:
	.align	2
.L5:
	.word	GATT_CL_MAX_LCB
	.word	TRUE
	.size	gatt_cmd_enq, .-gatt_cmd_enq
	.comm	TRUE,4,4
	.comm	GATT_CL_MAX_LCB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
