	.file	"extr_clnt.c_rpc_create_xprt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rpc_create_xprt, @function
rpc_create_xprt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR 8[rdi]
	mov	rbx, rdi
	test	rax, rax
	je	.L2
	cmp	QWORD PTR [rax], 0
	je	.L2
	mov	eax, DWORD PTR [rdi]
	xor	edi, edi
	test	DWORD PTR XPRT_TRANSPORT_BC[rip], eax
	sete	dil
	call	WARN_ON_ONCE@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	rbp, QWORD PTR [rax]
	mov	rdi, rbp
	call	xprt_switch_get@PLT
.L3:
	xor	ecx, ecx
	mov	rdx, r12
	mov	rdi, rbx
	mov	rsi, rbp
	call	rpc_new_client@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L1
	mov	eax, DWORD PTR 4[rbx]
	test	DWORD PTR RPC_CLNT_CREATE_NOPING[rip], eax
	je	.L31
.L6:
	mov	edx, DWORD PTR RPC_CLNT_CREATE_SOFTERR[rip]
	mov	ecx, DWORD PTR RPC_CLNT_CREATE_HARDRTRY[rip]
	mov	DWORD PTR [r12], 1
	or	ecx, edx
	test	ecx, eax
	je	.L9
	mov	DWORD PTR [r12], 0
	test	edx, eax
	je	.L9
	mov	DWORD PTR 4[r12], 1
.L9:
	test	DWORD PTR RPC_CLNT_CREATE_AUTOBIND[rip], eax
	je	.L11
	mov	DWORD PTR 8[r12], 1
.L11:
	test	DWORD PTR RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT[rip], eax
	je	.L12
	mov	DWORD PTR 12[r12], 1
.L12:
	test	DWORD PTR RPC_CLNT_CREATE_DISCRTRY[rip], eax
	je	.L13
	mov	DWORD PTR 16[r12], 1
.L13:
	test	DWORD PTR RPC_CLNT_CREATE_QUIET[rip], eax
	jne	.L1
	mov	DWORD PTR 20[r12], 1
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, r12
	call	xprt_switch_alloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L32
	cmp	QWORD PTR [r12], 0
	je	.L3
	mov	rdi, rax
	call	xprt_switch_get@PLT
	mov	rax, QWORD PTR [r12]
	mov	QWORD PTR [rax], rbp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L31:
	mov	rdi, r12
	call	rpc_ping@PLT
	mov	ebp, eax
	test	eax, eax
	jne	.L7
	mov	eax, DWORD PTR 4[rbx]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rdi, r12
	call	xprt_put@PLT
	mov	edi, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	edi
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, r12
	call	rpc_shutdown_client@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	rpc_create_xprt, .-rpc_create_xprt
	.comm	XPRT_TRANSPORT_BC,4,4
	.comm	RPC_CLNT_CREATE_SOFTERR,4,4
	.comm	RPC_CLNT_CREATE_QUIET,4,4
	.comm	RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT,4,4
	.comm	RPC_CLNT_CREATE_NOPING,4,4
	.comm	RPC_CLNT_CREATE_HARDRTRY,4,4
	.comm	RPC_CLNT_CREATE_DISCRTRY,4,4
	.comm	RPC_CLNT_CREATE_AUTOBIND,4,4
	.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_create_xprt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rpc_create_xprt, %function
rpc_create_xprt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r0
	mov	r5, r1
	beq	.L2
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L40
	ldr	r2, [r0]
	ldr	r3, [r3]
	tst	r2, r3
	moveq	r0, #1
	movne	r0, #0
	bl	WARN_ON_ONCE
	ldr	r3, [r4, #8]
	ldr	r6, [r3]
	mov	r0, r6
	bl	xprt_switch_get
.L3:
	mov	r2, r5
	mov	r1, r6
	mov	r3, #0
	mov	r0, r4
	bl	rpc_new_client
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L1
	ldr	r3, .L40+4
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L37
.L6:
	mov	r0, #1
	ldr	r1, .L40+8
	ldr	r3, .L40+12
	ldr	r1, [r1]
	ldr	r3, [r3]
	str	r0, [r5]
	orr	r3, r1, r3
	tst	r3, r2
	bne	.L38
.L9:
	ldr	r3, .L40+16
	ldr	r3, [r3]
	tst	r2, r3
	movne	r3, #1
	strne	r3, [r5, #8]
	ldr	r3, .L40+20
	ldr	r3, [r3]
	tst	r2, r3
	movne	r3, #1
	strne	r3, [r5, #12]
	ldr	r3, .L40+24
	ldr	r3, [r3]
	tst	r2, r3
	movne	r3, #1
	strne	r3, [r5, #16]
	ldr	r3, .L40+28
	ldr	r3, [r3]
	tst	r2, r3
	moveq	r3, #1
	streq	r3, [r5, #20]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L40+32
	mov	r0, r5
	ldr	r1, [r3]
	bl	xprt_switch_alloc
	subs	r6, r0, #0
	beq	.L39
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L3
	bl	xprt_switch_get
	ldr	r3, [r5]
	str	r6, [r3]
	b	.L3
.L38:
	mov	r3, #0
	tst	r1, r2
	str	r3, [r5]
	strne	r0, [r5, #4]
	b	.L9
.L37:
	mov	r0, r5
	bl	rpc_ping
	subs	r6, r0, #0
	bne	.L7
	ldr	r2, [r4, #4]
	b	.L6
.L39:
	mov	r0, r5
	bl	xprt_put
	pop	{r4, r5, r6, lr}
	ldr	r3, .L40+36
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L7:
	mov	r0, r5
	bl	rpc_shutdown_client
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	ERR_PTR
.L41:
	.align	2
.L40:
	.word	XPRT_TRANSPORT_BC
	.word	RPC_CLNT_CREATE_NOPING
	.word	RPC_CLNT_CREATE_SOFTERR
	.word	RPC_CLNT_CREATE_HARDRTRY
	.word	RPC_CLNT_CREATE_AUTOBIND
	.word	RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT
	.word	RPC_CLNT_CREATE_DISCRTRY
	.word	RPC_CLNT_CREATE_QUIET
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	rpc_create_xprt, .-rpc_create_xprt
	.comm	XPRT_TRANSPORT_BC,4,4
	.comm	RPC_CLNT_CREATE_SOFTERR,4,4
	.comm	RPC_CLNT_CREATE_QUIET,4,4
	.comm	RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT,4,4
	.comm	RPC_CLNT_CREATE_NOPING,4,4
	.comm	RPC_CLNT_CREATE_HARDRTRY,4,4
	.comm	RPC_CLNT_CREATE_DISCRTRY,4,4
	.comm	RPC_CLNT_CREATE_AUTOBIND,4,4
	.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
