	.file	"extr_cm3323.c_cm3323_write_raw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cm3323_write_raw, @function
cm3323_write_raw:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, r8
	call	iio_priv@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	cmp	rbx, 128
	je	.L6
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	mov	r14, rax
	mov	rdi, rax
	call	mutex_lock@PLT
	mov	edx, r13d
	mov	esi, ebp
	mov	rdi, r14
	call	cm3323_set_it_bits@PLT
	mov	rdi, r14
	mov	r12d, eax
	call	mutex_unlock@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	cm3323_write_raw, .-cm3323_write_raw
	.comm	EINVAL,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_cm3323.c_cm3323_write_raw.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cm3323_write_raw, %function
cm3323_write_raw:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [sp, #16]
	mov	r4, r2
	mov	r6, r3
	bl	iio_priv
	cmp	r5, #128
	beq	.L6
	ldr	r3, .L7
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L6:
	mov	r5, r0
	bl	mutex_lock
	mov	r1, r4
	mov	r2, r6
	mov	r0, r5
	bl	cm3323_set_it_bits
	mov	r4, r0
	mov	r0, r5
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	EINVAL
	.size	cm3323_write_raw, .-cm3323_write_raw
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
