	.file	"extr_ueagle-atm.c_uea_send_cmvs_e4.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ATU-R firmware version : %x\n"
.LC1:
	.string	"bad cmvs version %d\n"
.LC2:
	.string	"Entering in R-ACT-REQ state\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"modem started, waiting synchronization...\n"
	.text
	.p2align 4
	.type	uea_send_cmvs_e4, @function
uea_send_cmvs_e4:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r9d, 1
	xor	r8d, r8d
	xor	ecx, ecx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	esi, 1
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	edx, DWORD PTR E4_SA_CNTL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 2
	call	uea_write_cmv_e4@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	edx, DWORD PTR E4_SA_INFO[rip]
	mov	r9, rbp
	xor	r8d, r8d
	mov	rdi, rbp
	mov	ecx, 55
	mov	esi, 2
	call	uea_read_cmv_e4@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	r12d, DWORD PTR 0[rbp]
	mov	rdi, rbp
	call	INS_TO_USBDEV@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	mov	edx, r12d
	xor	eax, eax
	call	uea_info@PLT
	lea	rcx, 4[rsp]
	lea	rdx, 16[rsp]
	mov	rdi, rbp
	lea	rsi, 8[rsp]
	call	request_cmvs@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	r13d, DWORD PTR 4[rsp]
	cmp	r13d, 2
	jne	.L3
	mov	rbx, QWORD PTR 8[rsp]
	test	eax, eax
	je	.L4
	lea	eax, -1[rax]
	sal	rax, 4
	lea	r13, 16[rbx+rax]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L14:
	add	rbx, 16
	cmp	rbx, r13
	je	.L4
.L6:
	mov	rdi, rbx
	call	get_unaligned_le32@PLT
	lea	rdi, 4[rbx]
	mov	r15d, eax
	call	get_unaligned_le32@PLT
	lea	rdi, 8[rbx]
	mov	r14d, eax
	call	get_unaligned_le32@PLT
	lea	rdi, 12[rbx]
	mov	r12d, eax
	call	get_unaligned_le32@PLT
	mov	ecx, r12d
	mov	r9d, r15d
	mov	r8d, r14d
	mov	edx, eax
	mov	esi, 1
	mov	rdi, rbp
	call	uea_write_cmv_e4@PLT
	mov	r12d, eax
	test	eax, eax
	jns	.L14
.L5:
	mov	rdi, QWORD PTR 16[rsp]
	call	release_firmware@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L3:
	.cfi_restore_state
	mov	rdi, rbp
	call	INS_TO_USBDEV@PLT
	mov	edx, r13d
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	uea_err@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, DWORD PTR E4_SA_CNTL[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	esi, 1
	mov	r9d, 2
	mov	rdi, rbp
	call	uea_write_cmv_e4@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	INS_TO_USBDEV@PLT
	lea	rsi, .LC2[rip]
	mov	edi, eax
	call	uea_vdbg@PLT
	mov	rdi, rbp
	call	INS_TO_USBDEV@PLT
	lea	rsi, .LC3[rip]
	mov	edi, eax
	xor	eax, eax
	call	uea_info@PLT
	jmp	.L5
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	uea_send_cmvs_e4, .-uea_send_cmvs_e4
	.comm	E4_SA_INFO,4,4
	.comm	E4_SA_CNTL,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_ueagle-atm.c_uea_send_cmvs_e4.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ATU-R firmware version : %x\012\000"
	.align	2
.LC1:
	.ascii	"bad cmvs version %d\012\000"
	.align	2
.LC2:
	.ascii	"Entering in R-ACT-REQ state\012\000"
	.align	2
.LC3:
	.ascii	"modem started, waiting synchronization...\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uea_send_cmvs_e4, %function
uea_send_cmvs_e4:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r1, #1
	mov	r6, #0
	mov	r5, #2
	ldr	r9, .L17
	sub	sp, sp, #28
	ldr	ip, .L17+4
	str	r1, [sp, #4]
	str	r6, [sp]
	mov	r3, r6
	ldr	r2, [r9]
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	mov	r7, r0
	str	r5, [sp, #16]
	bl	uea_write_cmv_e4
	subs	r4, r0, #0
	blt	.L1
	stm	sp, {r6, r7}
	ldr	r3, .L17+8
	mov	r1, r5
	ldr	r2, [r3]
	mov	r0, r7
	mov	r3, #55
	bl	uea_read_cmv_e4
	subs	r4, r0, #0
	blt	.L1
	mov	r0, r7
	bl	INS_TO_USBDEV
	ldr	r2, [r7]
	ldr	r1, .L17+12
	bl	uea_info
	mov	r0, r7
	add	r3, sp, #16
	add	r2, sp, #12
	add	r1, sp, #8
	bl	request_cmvs
	subs	r4, r0, #0
	blt	.L1
	ldr	r3, [sp, #16]
	cmp	r3, r5
	bne	.L3
	cmp	r4, r6
	ldr	r5, [sp, #8]
	beq	.L4
	add	r5, r5, #12
	b	.L6
.L15:
	add	r6, r6, #1
	cmp	r4, r6
	add	r5, r5, #16
	beq	.L4
.L6:
	mov	r0, r5
	bl	get_unaligned_le32
	mov	r8, r0
	sub	r0, r5, #4
	bl	get_unaligned_le32
	mov	r10, r0
	sub	r0, r5, #8
	bl	get_unaligned_le32
	mov	fp, r0
	sub	r0, r5, #12
	bl	get_unaligned_le32
	mov	r3, r10
	str	r0, [sp, #4]
	mov	r2, r8
	mov	r1, #1
	mov	r0, r7
	str	fp, [sp]
	bl	uea_write_cmv_e4
	cmp	r0, #0
	bge	.L15
	mov	r4, r0
	b	.L5
.L3:
	mov	r0, r7
	bl	INS_TO_USBDEV
	ldr	r2, [sp, #16]
	ldr	r1, .L17+16
	bl	uea_err
.L5:
	ldr	r0, [sp, #12]
	bl	release_firmware
.L1:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r3, #0
	mov	r1, #2
	ldr	r2, [r9]
	str	r3, [sp]
	str	r1, [sp, #4]
	mov	r0, r7
	mov	r1, #1
	bl	uea_write_cmv_e4
	mov	r4, r0
	mov	r0, r7
	bl	INS_TO_USBDEV
	ldr	r1, .L17+20
	bl	uea_vdbg
	mov	r0, r7
	bl	INS_TO_USBDEV
	ldr	r1, .L17+24
	bl	uea_info
	b	.L5
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	E4_SA_CNTL
	.word	.LC4
	.word	E4_SA_INFO
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	uea_send_cmvs_e4, .-uea_send_cmvs_e4
	.comm	E4_SA_INFO,4,4
	.comm	E4_SA_CNTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
