	.file	"extr_cfcnfg.c_caif_disconnect_client.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"nothing to disconnect\n"
	.text
	.p2align 4
	.globl	caif_disconnect_client
	.type	caif_disconnect_client, @function
caif_disconnect_client:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	get_cfcnfg@PLT
	xor	edi, edi
	test	rbp, rbp
	setne	dil
	mov	rbx, rax
	call	caif_assert@PLT
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rbp
	call	cfctrl_cancel_req@PLT
	mov	r12, QWORD PTR 0[rbp]
	test	r12, r12
	je	.L2
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, r12
	call	cfmuxl_remove_uplayer@PLT
	mov	edi, DWORD PTR [rbx]
	mov	rdx, rbp
	mov	rsi, r12
	mov	r13, rax
	call	cfctrl_linkdown_req@PLT
	test	r13, r13
	je	.L3
	xor	esi, esi
	mov	rdi, r13
	call	layer_set_up@PLT
.L3:
	xor	eax, eax
	call	synchronize_rcu@PLT
	mov	rax, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L4
	mov	esi, DWORD PTR CAIF_CTRLCMD_DEINIT_RSP[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	rax
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	caif_disconnect_client, .-caif_disconnect_client
	.comm	CAIF_CTRLCMD_DEINIT_RSP,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_cfcnfg.c_caif_disconnect_client.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"nothing to disconnect\012\000"
	.text
	.align	2
	.global	caif_disconnect_client
	.syntax unified
	.arm
	.fpu softvfp
	.type	caif_disconnect_client, %function
caif_disconnect_client:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	bl	get_cfcnfg
	mov	r5, r0
	subs	r0, r4, #0
	movne	r0, #1
	bl	caif_assert
	mov	r1, r4
	ldr	r0, [r5]
	bl	cfctrl_cancel_req
	ldr	r6, [r4]
	cmp	r6, #0
	beq	.L2
	mov	r1, r6
	ldr	r0, [r5, #4]
	bl	cfmuxl_remove_uplayer
	mov	r7, r0
	mov	r1, r6
	mov	r2, r4
	ldr	r0, [r5]
	bl	cfctrl_linkdown_req
	cmp	r7, #0
	beq	.L3
	mov	r0, r7
	mov	r1, #0
	bl	layer_set_up
.L3:
	bl	synchronize_rcu
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L4
	ldr	r2, .L13
	mov	r0, r4
	ldr	r1, [r2]
	mov	r2, #0
	blx	r3
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r0, .L13+4
	bl	pr_debug
	b	.L3
.L14:
	.align	2
.L13:
	.word	CAIF_CTRLCMD_DEINIT_RSP
	.word	.LC0
	.size	caif_disconnect_client, .-caif_disconnect_client
	.comm	CAIF_CTRLCMD_DEINIT_RSP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
