	.file	"extr_clnt.c_rpc_switch_client_transport.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"RPC:       failed to create new xprt for clnt %p\n"
	.align 8
.LC1:
	.string	"RPC:       failed to switch xprt for clnt %p\n"
	.align 8
.LC2:
	.string	"RPC:       replaced xprt for clnt %p\n"
	.text
	.p2align 4
	.globl	rpc_switch_client_transport
	.type	rpc_switch_client_transport, @function
rpc_switch_client_transport:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	call	xprt_create_transport@PLT
	mov	rdi, rax
	mov	r14, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L9
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, r14
	call	xprt_switch_alloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR 24[rbp]
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, rbp
	mov	r15d, DWORD PTR [rax]
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR 24[rsp], rax
	call	rpc_clnt_set_transport@PLT
	lea	r10, 8[rbp]
	mov	rsi, r13
	mov	rdi, r10
	mov	QWORD PTR 8[rsp], r10
	mov	r12, rax
	call	xprt_iter_xchg_switch@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	rpc_unregister_client@PLT
	mov	rdi, rbp
	call	__rpc_clnt_remove_pipedir@PLT
	mov	rdi, rbp
	call	rpc_clnt_debugfs_unregister@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR 0[rbp], rbp
	xor	edx, edx
	mov	esi, r15d
	mov	rdi, rbp
	mov	QWORD PTR 16[rsp], rax
	call	rpc_client_register@PLT
	mov	r10, QWORD PTR 8[rsp]
	test	eax, eax
	mov	ebx, eax
	jne	.L11
	xor	eax, eax
	call	synchronize_rcu@PLT
	mov	rax, QWORD PTR 16[rsp]
	cmp	rbp, rax
	je	.L6
	mov	rdi, rax
	call	rpc_release_client@PLT
.L6:
	mov	rdi, r13
	call	xprt_switch_put@PLT
	mov	rdi, r12
	call	xprt_put@PLT
	mov	rsi, rbp
	lea	rdi, .LC2[rip]
	call	dprintk@PLT
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, ebx
	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
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	dprintk@PLT
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r14
	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	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, r10
	mov	rsi, r13
	call	xprt_iter_xchg_switch@PLT
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	mov	r13, rax
	call	rpc_clnt_set_transport@PLT
	mov	rax, QWORD PTR 16[rsp]
	mov	esi, r15d
	xor	edx, edx
	mov	rdi, rbp
	mov	QWORD PTR 0[rbp], rax
	call	rpc_client_register@PLT
	mov	rdi, r13
	call	xprt_switch_put@PLT
	mov	rdi, r14
	call	xprt_put@PLT
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	call	dprintk@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, r14
	call	xprt_put@PLT
	mov	ebx, DWORD PTR ENOMEM[rip]
	neg	ebx
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	rpc_switch_client_transport, .-rpc_switch_client_transport
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_clnt.c_rpc_switch_client_transport.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"RPC:       failed to create new xprt for clnt %p\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"RPC:       failed to switch xprt for clnt %p\012\000"
	.align	2
.LC2:
	.ascii	"RPC:       replaced xprt for clnt %p\012\000"
	.text
	.align	2
	.global	rpc_switch_client_transport
	.syntax unified
	.arm
	.fpu softvfp
	.type	rpc_switch_client_transport, %function
rpc_switch_client_transport:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	sub	sp, sp, #12
	mov	r0, r1
	mov	r7, r2
	bl	xprt_create_transport
	mov	r5, r0
	bl	IS_ERR
	subs	r6, r0, #0
	bne	.L9
	ldr	r3, .L12
	mov	r0, r5
	ldr	r1, [r3]
	bl	xprt_switch_alloc
	subs	r9, r0, #0
	beq	.L10
	ldr	r3, [r4, #12]
	mov	r2, r7
	ldr	fp, [r3]
	ldr	r3, [r4, #8]
	mov	r1, r5
	mov	r0, r4
	str	r3, [sp, #4]
	bl	rpc_clnt_set_transport
	add	r3, r4, #4
	mov	r1, r9
	mov	r8, r0
	mov	r0, r3
	str	r3, [sp]
	bl	xprt_iter_xchg_switch
	mov	r9, r0
	mov	r0, r4
	bl	rpc_unregister_client
	mov	r0, r4
	bl	__rpc_clnt_remove_pipedir
	mov	r0, r4
	bl	rpc_clnt_debugfs_unregister
	ldr	r10, [r4]
	mov	r1, fp
	mov	r2, r6
	mov	r0, r4
	str	r4, [r4]
	bl	rpc_client_register
	subs	r7, r0, #0
	ldr	r3, [sp]
	bne	.L11
	bl	synchronize_rcu
	cmp	r4, r10
	beq	.L6
	mov	r0, r10
	bl	rpc_release_client
.L6:
	mov	r0, r9
	bl	xprt_switch_put
	mov	r0, r8
	bl	xprt_put
	mov	r1, r4
	ldr	r0, .L12+4
	bl	dprintk
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	mov	r1, r4
	ldr	r0, .L12+8
	bl	dprintk
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	PTR_ERR
.L11:
	mov	r1, r9
	mov	r0, r3
	bl	xprt_iter_xchg_switch
	mov	r3, r0
	mov	r1, r8
	mov	r8, r3
	ldr	r2, [sp, #4]
	mov	r0, r4
	bl	rpc_clnt_set_transport
	mov	r2, r6
	mov	r1, fp
	mov	r0, r4
	str	r10, [r4]
	bl	rpc_client_register
	mov	r0, r8
	bl	xprt_switch_put
	mov	r0, r5
	bl	xprt_put
	mov	r1, r4
	ldr	r0, .L12+12
	bl	dprintk
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	mov	r0, r5
	bl	xprt_put
	ldr	r3, .L12+16
	ldr	r7, [r3]
	rsb	r7, r7, #0
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	.align	2
.L12:
	.word	GFP_KERNEL
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	ENOMEM
	.size	rpc_switch_client_transport, .-rpc_switch_client_transport
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
