	.file	"extr_connect.c_coalesce_t2.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"total data count of primary and secondary t2 differ source=%hu target=%hu"
	.align 8
.LC1:
	.string	"Server sent too much data. tgt_total_cnt=%hu total_in_tgt=%hu"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"no more data remains"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"transact2 2nd response contains too much data"
	.align 8
.LC4:
	.string	"coalesced DataCount too large (%u)"
	.section	.rodata.str1.1
.LC5:
	.string	"coalesced BCC too large (%u)"
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"coalesced BCC exceeds buffer size (%u)"
	.align 8
.LC7:
	.string	"waiting for more secondary responses"
	.align 8
.LC8:
	.string	"found the last secondary response"
	.text
	.p2align 4
	.type	coalesce_t2, @function
coalesce_t2:
.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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	add	rdi, 8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	get_unaligned_le16@PLT
	lea	rdi, 8[rbx]
	mov	r12d, eax
	call	get_unaligned_le16@PLT
	mov	r13d, eax
	cmp	r12d, eax
	je	.L2
	mov	ecx, eax
	mov	edx, r12d
	mov	edi, 1
	xor	eax, eax
	lea	rsi, .LC0[rip]
	call	cFYI@PLT
.L2:
	mov	rdi, rbx
	mov	r14d, r13d
	call	get_unaligned_le16@PLT
	mov	r12d, eax
	sub	r14d, r12d
	mov	r15d, r14d
	js	.L14
	je	.L15
	mov	rdi, rbp
	call	get_unaligned_le16@PLT
	mov	r13d, eax
	cmp	r14d, eax
	jb	.L16
.L6:
	lea	rdi, 4[rbx]
	call	get_unaligned_le16@PLT
	lea	rdi, 4[rbp]
	mov	DWORD PTR 12[rsp], eax
	call	get_unaligned_le16@PLT
	lea	edi, [r12+r13]
	cmp	DWORD PTR USHRT_MAX[rip], edi
	lea	rsi, .LC4[rip]
	movsx	r15, eax
	mov	edx, edi
	jb	.L12
	mov	rsi, rbx
	call	put_unaligned_le16@PLT
	mov	rdi, rbx
	call	get_bcc@PLT
	lea	edi, 0[r13+rax]
	cmp	DWORD PTR USHRT_MAX[rip], edi
	jb	.L17
	mov	rsi, rbx
	call	put_bcc@PLT
	mov	edi, DWORD PTR [rbx]
	call	be32_to_cpu@PLT
	mov	edx, DWORD PTR MAX_CIFS_HDR_SIZE[rip]
	add	edx, DWORD PTR CIFSMaxBufSize[rip]
	lea	edi, 0[r13+rax]
	sub	edx, 4
	cmp	edx, edi
	jb	.L18
	call	cpu_to_be32@PLT
	lea	rsi, 12[rbp+r15]
	mov	edx, r13d
	mov	DWORD PTR [rbx], eax
	movsx	rax, DWORD PTR 12[rsp]
	add	r12, rax
	lea	rdi, 12[rbx+r12]
	call	memcpy@PLT
	cmp	r14d, r13d
	je	.L10
	lea	rsi, .LC7[rip]
	mov	edi, 1
	xor	eax, eax
	mov	r15d, 1
	call	cFYI@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edx, edi
	lea	rsi, .LC5[rip]
.L12:
	mov	edi, 1
	xor	eax, eax
	call	cFYI@PLT
	mov	r15d, DWORD PTR EPROTO[rip]
	neg	r15d
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L15:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	mov	edi, 1
	xor	eax, eax
	call	cFYI@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rsi, .LC3[rip]
	mov	edi, 1
	xor	eax, eax
	call	cFYI@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edx, edi
	lea	rsi, .LC6[rip]
	mov	edi, 1
	xor	eax, eax
	call	cFYI@PLT
	mov	r15d, DWORD PTR ENOBUFS[rip]
	neg	r15d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	ecx, r12d
	mov	edx, r13d
	lea	rsi, .LC1[rip]
	xor	eax, eax
	mov	edi, 1
	call	cFYI@PLT
	mov	r15d, DWORD PTR EPROTO[rip]
	neg	r15d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rsi, .LC8[rip]
	mov	edi, 1
	xor	eax, eax
	xor	r15d, r15d
	call	cFYI@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	coalesce_t2, .-coalesce_t2
	.comm	USHRT_MAX,4,4
	.comm	MAX_CIFS_HDR_SIZE,4,4
	.comm	EPROTO,4,4
	.comm	ENOBUFS,4,4
	.comm	CIFSMaxBufSize,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_connect.c_coalesce_t2.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"total data count of primary and secondary t2 differ"
	.ascii	" source=%hu target=%hu\000"
	.align	2
.LC1:
	.ascii	"Server sent too much data. tgt_total_cnt=%hu total_"
	.ascii	"in_tgt=%hu\000"
	.align	2
.LC2:
	.ascii	"no more data remains\000"
	.align	2
.LC3:
	.ascii	"transact2 2nd response contains too much data\000"
	.align	2
.LC4:
	.ascii	"coalesced DataCount too large (%u)\000"
	.align	2
.LC5:
	.ascii	"coalesced BCC too large (%u)\000"
	.align	2
.LC6:
	.ascii	"coalesced BCC exceeds buffer size (%u)\000"
	.align	2
.LC7:
	.ascii	"waiting for more secondary responses\000"
	.align	2
.LC8:
	.ascii	"found the last secondary response\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	coalesce_t2, %function
coalesce_t2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	add	r0, r0, #8
	mov	r4, r1
	bl	get_unaligned_le16
	mov	r7, r0
	add	r0, r4, #8
	bl	get_unaligned_le16
	cmp	r7, r0
	mov	r5, r0
	beq	.L2
	mov	r3, r0
	mov	r2, r7
	mov	r0, #1
	ldr	r1, .L19
	bl	cFYI
.L2:
	mov	r0, r4
	bl	get_unaligned_le16
	sub	r7, r5, r0
	cmp	r7, #0
	mov	r8, r0
	blt	.L14
	beq	.L15
	mov	r0, r6
	bl	get_unaligned_le16
	cmp	r7, r0
	mov	r5, r0
	bcc	.L16
.L6:
	add	r0, r4, #4
	bl	get_unaligned_le16
	mov	r10, r0
	add	r0, r6, #4
	bl	get_unaligned_le16
	ldr	fp, .L19+4
	add	r2, r8, r5
	ldr	r3, [fp]
	mov	r9, r0
	cmp	r3, r2
	ldrcc	r1, .L19+8
	bcc	.L12
	mov	r0, r2
	mov	r1, r4
	bl	put_unaligned_le16
	mov	r0, r4
	bl	get_bcc
	ldr	r3, [fp]
	add	r0, r5, r0
	cmp	r3, r0
	bcc	.L17
	mov	r1, r4
	bl	put_bcc
	ldr	r0, [r4]
	bl	be32_to_cpu
	ldr	r3, .L19+12
	ldr	r2, .L19+16
	ldr	r3, [r3]
	ldr	r2, [r2]
	add	r0, r5, r0
	add	r3, r3, r2
	sub	r3, r3, #4
	cmp	r3, r0
	bcc	.L18
	bl	cpu_to_be32
	add	r8, r10, r8
	str	r0, [r4], #12
	add	r1, r6, #12
	mov	r2, r5
	add	r0, r4, r8
	add	r1, r1, r9
	bl	memcpy
	cmp	r7, r5
	beq	.L10
	mov	r0, #1
	ldr	r1, .L19+20
	bl	cFYI
	mov	r7, #1
	b	.L1
.L17:
	mov	r2, r0
	ldr	r1, .L19+24
.L12:
	mov	r0, #1
	bl	cFYI
	ldr	r3, .L19+28
	ldr	r7, [r3]
	rsb	r7, r7, #0
.L1:
	mov	r0, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	ldr	r1, .L19+32
	mov	r0, #1
	bl	cFYI
	mov	r0, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	ldr	r1, .L19+36
	mov	r0, #1
	bl	cFYI
	b	.L6
.L18:
	mov	r2, r0
	ldr	r1, .L19+40
	mov	r0, #1
	bl	cFYI
	ldr	r3, .L19+44
	ldr	r7, [r3]
	rsb	r7, r7, #0
	b	.L1
.L14:
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L19+48
	mov	r0, #1
	bl	cFYI
	ldr	r3, .L19+28
	ldr	r7, [r3]
	rsb	r7, r7, #0
	mov	r0, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	mov	r0, #1
	ldr	r1, .L19+52
	bl	cFYI
	mov	r7, #0
	b	.L1
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	USHRT_MAX
	.word	.LC4
	.word	CIFSMaxBufSize
	.word	MAX_CIFS_HDR_SIZE
	.word	.LC7
	.word	.LC5
	.word	EPROTO
	.word	.LC2
	.word	.LC3
	.word	.LC6
	.word	ENOBUFS
	.word	.LC1
	.word	.LC8
	.size	coalesce_t2, .-coalesce_t2
	.comm	USHRT_MAX,4,4
	.comm	MAX_CIFS_HDR_SIZE,4,4
	.comm	EPROTO,4,4
	.comm	ENOBUFS,4,4
	.comm	CIFSMaxBufSize,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
