	.file	"extr_messenger.c_ceph_con_send.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"con_send %p closed, dropping %p\n"
	.align 8
.LC1:
	.string	"----- %p to %s%lld %d=%s len %d+%d+%d -----\n"
	.text
	.p2align 4
	.globl	ceph_con_send
	.type	ceph_con_send, @function
ceph_con_send:
.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, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	lea	r14, 8[r12]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 24[rdi]
	mov	edi, DWORD PTR 12[rsi]
	mov	rbx, QWORD PTR 32[rsi]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 20[rsi], eax
	call	le32_to_cpu@PLT
	xor	edi, edi
	cmp	rbx, rax
	setne	dil
	call	BUG_ON@PLT
	mov	DWORD PTR 0[rbp], 1
	mov	rdi, r14
	call	mutex_lock@PLT
	mov	rax, QWORD PTR CON_STATE_CLOSED[rip]
	cmp	QWORD PTR [r12], rax
	je	.L6
	mov	rsi, r12
	lea	r13, 24[rbp]
	mov	rdi, rbp
	call	msg_con_set@PLT
	mov	rdi, r13
	call	list_empty@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	BUG_ON@PLT
	lea	rsi, 16[r12]
	mov	rdi, r13
	call	list_add_tail@PLT
	mov	edi, DWORD PTR 4[rbp]
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	QWORD PTR 8[rsp], rax
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR 12[rbp]
	mov	QWORD PTR [rsp], rax
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	r15, rax
	call	le16_to_cpu@PLT
	mov	edi, eax
	call	ceph_msg_type_name@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	ebx, eax
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 12[r12]
	mov	r13d, eax
	call	ENTITY_NAME@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	r9, r15
	mov	r8d, ebx
	mov	edx, eax
	lea	rdi, .LC1[rip]
	xor	eax, eax
	push	rsi
	.cfi_def_cfa_offset 88
	mov	rcx, QWORD PTR 8[rsp]
	mov	rsi, rbp
	push	rcx
	.cfi_def_cfa_offset 96
	mov	ecx, r13d
	call	dout@PLT
	mov	rdi, r12
	call	clear_standby@PLT
	mov	rdi, r14
	call	mutex_unlock@PLT
	mov	esi, DWORD PTR CON_FLAG_WRITE_PENDING[rip]
	mov	rdi, r12
	call	con_flag_test_and_set@PLT
	pop	rdx
	.cfi_def_cfa_offset 88
	pop	rcx
	.cfi_def_cfa_offset 80
	test	rax, rax
	je	.L7
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L7:
	.cfi_restore_state
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r12
	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	queue_con@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdx, rbp
	mov	rsi, r12
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	dout@PLT
	mov	rdi, rbp
	call	ceph_msg_put@PLT
	add	rsp, 24
	.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	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	ceph_con_send, .-ceph_con_send
	.comm	CON_STATE_CLOSED,8,8
	.comm	CON_FLAG_WRITE_PENDING,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_messenger.c_ceph_con_send.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"con_send %p closed, dropping %p\012\000"
	.align	2
.LC1:
	.ascii	"----- %p to %s%lld %d=%s len %d+%d+%d -----\012\000"
	.text
	.align	2
	.global	ceph_con_send
	.syntax unified
	.arm
	.fpu softvfp
	.type	ceph_con_send, %function
ceph_con_send:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0, #16]
	mov	r5, r0
	ldr	r3, [r3]
	ldr	r0, [r1, #12]
	str	r3, [r1, #20]
	sub	sp, sp, #20
	mov	r4, r1
	ldr	r6, [r1, #28]
	bl	le32_to_cpu
	subs	r0, r6, r0
	movne	r0, #1
	bl	BUG_ON
	mov	r3, #1
	add	r10, r5, #4
	str	r3, [r4]
	mov	r0, r10
	bl	mutex_lock
	ldr	r3, .L8
	ldr	r2, [r5]
	ldr	r3, [r3]
	mov	r1, r5
	cmp	r2, r3
	beq	.L6
	add	r6, r4, #24
	mov	r0, r4
	bl	msg_con_set
	mov	r0, r6
	bl	list_empty
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	add	r1, r5, #12
	mov	r0, r6
	bl	list_add_tail
	ldr	r0, [r5, #8]
	bl	ENTITY_NAME
	mov	r6, r0
	ldr	r0, [r4, #16]
	bl	le16_to_cpu
	mov	r7, r0
	ldr	r0, [r4, #16]
	bl	le16_to_cpu
	bl	ceph_msg_type_name
	mov	fp, r0
	ldr	r0, [r4, #12]
	bl	le32_to_cpu
	mov	r8, r0
	ldr	r0, [r4, #8]
	bl	le32_to_cpu
	mov	r9, r0
	ldr	r0, [r4, #4]
	bl	le32_to_cpu
	mov	r3, r7
	mov	r2, r6
	mov	r1, r4
	str	r0, [sp, #12]
	stmib	sp, {r8, r9}
	ldr	r0, .L8+4
	str	fp, [sp]
	bl	dout
	mov	r0, r5
	bl	clear_standby
	mov	r0, r10
	bl	mutex_unlock
	ldr	r3, .L8+8
	mov	r0, r5
	ldr	r1, [r3]
	bl	con_flag_test_and_set
	cmp	r0, #0
	beq	.L7
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	queue_con
.L6:
	mov	r2, r4
	ldr	r0, .L8+12
	bl	dout
	mov	r0, r4
	bl	ceph_msg_put
	mov	r0, r10
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	mutex_unlock
.L9:
	.align	2
.L8:
	.word	CON_STATE_CLOSED
	.word	.LC1
	.word	CON_FLAG_WRITE_PENDING
	.word	.LC0
	.size	ceph_con_send, .-ceph_con_send
	.comm	CON_STATE_CLOSED,4,4
	.comm	CON_FLAG_WRITE_PENDING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
