	.file	"extr_l2c_ble.c_l2cble_process_conn_update_evt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"l2cble_process_conn_update_evt: Invalid handle: %d"
	.align 8
.LC1:
	.string	"l2cble_process_conn_update_evt: Error status: %d"
	.align 8
.LC2:
	.string	"l2cble_process_conn_update_evt: conn_update_mask=%d"
	.text
	.p2align 4
	.globl	l2cble_process_conn_update_evt
	.type	l2cble_process_conn_update_evt, @function
l2cble_process_conn_update_evt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	l2cu_find_lcb_by_handle@PLT
	test	rax, rax
	je	.L9
	cmp	QWORD PTR HCI_SUCCESS[rip], rbp
	mov	rbx, rax
	je	.L10
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	call	L2CAP_TRACE_WARNING@PLT
.L4:
	mov	eax, DWORD PTR L2C_BLE_UPDATE_PENDING[rip]
	or	eax, DWORD PTR L2C_BLE_UPDATE_PARAM_FULL[rip]
	lea	r12, 8[rbx]
	not	eax
	and	DWORD PTR [rbx], eax
	mov	rdi, r12
	call	btu_stop_timer@PLT
	cmp	QWORD PTR conn_param_update_cb[rip], 0
	je	.L5
	mov	rsi, rbp
	mov	rdi, rbx
	call	l2c_send_update_conn_params_cb@PLT
.L5:
	mov	rdi, rbx
	call	l2cble_start_conn_update@PLT
	cmp	rax, QWORD PTR TRUE[rip]
	je	.L11
.L6:
	lea	rdi, 4[rbx]
	call	btu_stop_timer@PLT
	mov	esi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	lea	rdi, .LC2[rip]
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	L2CAP_TRACE_DEBUG@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	QWORD PTR 32[rax], r14
	mov	QWORD PTR 24[rax], r13
	mov	QWORD PTR 16[rax], r12
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, rbx
	call	CalConnectParamTimeout@PLT
	mov	esi, DWORD PTR BTU_TTYPE_L2CAP_UPDA_CONN_PARAMS[rip]
	mov	rdi, r12
	mov	edx, eax
	call	btu_start_timer@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rsi, r15
	lea	rdi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	L2CAP_TRACE_WARNING@PLT
	.cfi_endproc
.LFE0:
	.size	l2cble_process_conn_update_evt, .-l2cble_process_conn_update_evt
	.comm	conn_param_update_cb,8,8
	.comm	TRUE,8,8
	.comm	L2C_BLE_UPDATE_PENDING,4,4
	.comm	L2C_BLE_UPDATE_PARAM_FULL,4,4
	.comm	HCI_SUCCESS,8,8
	.comm	BTU_TTYPE_L2CAP_UPDA_CONN_PARAMS,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_l2c_ble.c_l2cble_process_conn_update_evt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"l2cble_process_conn_update_evt: Invalid handle: %d\000"
	.align	2
.LC1:
	.ascii	"l2cble_process_conn_update_evt: Error status: %d\000"
	.align	2
.LC2:
	.ascii	"l2cble_process_conn_update_evt: conn_update_mask=%d"
	.ascii	"\000"
	.text
	.align	2
	.global	l2cble_process_conn_update_evt
	.syntax unified
	.arm
	.fpu softvfp
	.type	l2cble_process_conn_update_evt, %function
l2cble_process_conn_update_evt:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, [sp, #32]
	mov	r5, r1
	mov	r8, r2
	mov	r7, r3
	mov	r6, r0
	bl	l2cu_find_lcb_by_handle
	subs	r4, r0, #0
	beq	.L12
	ldr	r3, .L15
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L13
	mov	r1, r5
	ldr	r0, .L15+4
	bl	L2CAP_TRACE_WARNING
.L4:
	mov	r6, r4
	ldr	r3, .L15+8
	ldr	r2, .L15+12
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, [r4]
	orr	r2, r2, r1
	bic	r3, r3, r2
	str	r3, [r6], #8
	mov	r0, r6
	bl	btu_stop_timer
	ldr	r3, .L15+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	mov	r1, r5
	mov	r0, r4
	bl	l2c_send_update_conn_params_cb
.L5:
	mov	r0, r4
	bl	l2cble_start_conn_update
	ldr	r3, .L15+20
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L14
.L6:
	add	r0, r4, #4
	bl	btu_stop_timer
	ldr	r1, [r4]
	ldr	r0, .L15+24
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	L2CAP_TRACE_DEBUG
.L13:
	str	r8, [r4, #20]
	str	r7, [r4, #16]
	str	r9, [r4, #12]
	b	.L4
.L14:
	mov	r0, r4
	bl	CalConnectParamTimeout
	ldr	r3, .L15+28
	mov	r2, r0
	ldr	r1, [r3]
	mov	r0, r6
	bl	btu_start_timer
	b	.L6
.L12:
	mov	r1, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r0, .L15+32
	b	L2CAP_TRACE_WARNING
.L16:
	.align	2
.L15:
	.word	HCI_SUCCESS
	.word	.LC1
	.word	L2C_BLE_UPDATE_PARAM_FULL
	.word	L2C_BLE_UPDATE_PENDING
	.word	conn_param_update_cb
	.word	TRUE
	.word	.LC2
	.word	BTU_TTYPE_L2CAP_UPDA_CONN_PARAMS
	.word	.LC0
	.size	l2cble_process_conn_update_evt, .-l2cble_process_conn_update_evt
	.comm	conn_param_update_cb,4,4
	.comm	TRUE,4,4
	.comm	L2C_BLE_UPDATE_PENDING,4,4
	.comm	L2C_BLE_UPDATE_PARAM_FULL,4,4
	.comm	HCI_SUCCESS,4,4
	.comm	BTU_TTYPE_L2CAP_UPDA_CONN_PARAMS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
