	.file	"extr_yealink.c_store_line.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	store_line, @function
store_line:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	lea	rdi, sysfs_rwsema[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	down_write@PLT
	mov	rdi, r12
	call	dev_get_drvdata@PLT
	test	rax, rax
	je	.L12
	cmp	rbp, r13
	cmova	rbp, r13
	test	rbp, rbp
	je	.L4
	mov	r12, rax
	add	rbp, rbx
	sub	r14d, ebx
	.p2align 4,,10
	.p2align 3
.L5:
	movsx	edx, BYTE PTR [rbx]
	lea	esi, [r14+rbx]
	mov	rdi, r12
	add	rbx, 1
	call	setChar@PLT
	cmp	rbx, rbp
	jne	.L5
.L4:
	lea	rdi, sysfs_rwsema[rip]
	call	up_write@PLT
	mov	rax, r13
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	lea	rdi, sysfs_rwsema[rip]
	call	up_write@PLT
	mov	rax, QWORD PTR ENODEV[rip]
	neg	rax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	store_line, .-store_line
	.comm	sysfs_rwsema,4,4
	.comm	ENODEV,8,8
	.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_yealink.c_store_line.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_line, %function
store_line:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	ldr	r0, .L13
	mov	r4, r1
	mov	r7, r2
	mov	r8, r3
	ldr	r5, [sp, #24]
	bl	down_write
	mov	r0, r6
	bl	dev_get_drvdata
	subs	r6, r0, #0
	beq	.L12
	cmp	r5, r7
	movcs	r5, r7
	cmp	r5, #0
	beq	.L4
	sub	r8, r8, r4
	sub	r4, r4, #1
	add	r8, r8, #1
	add	r5, r4, r5
.L5:
	add	r1, r8, r4
	ldrb	r2, [r4, #1]!	@ zero_extendqisi2
	mov	r0, r6
	bl	setChar
	cmp	r4, r5
	bne	.L5
.L4:
	ldr	r0, .L13
	bl	up_write
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r0, .L13
	bl	up_write
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	sysfs_rwsema
	.word	ENODEV
	.size	store_line, .-store_line
	.comm	sysfs_rwsema,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
