	.file	"extr_adis16480.c_adis16480_set_calibbias.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	adis16480_set_calibbias, @function
adis16480_set_calibbias:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR adis16480_calibbias_regs[rip]
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rdx, QWORD PTR [rsi]
	mov	rbx, rsi
	mov	ebp, DWORD PTR [rax+rdx*4]
	call	iio_priv@PLT
	mov	ecx, DWORD PTR 8[rbx]
	mov	rdi, rax
	cmp	ecx, 129
	jle	.L11
	sub	ecx, 130
	cmp	ecx, 1
	ja	.L4
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	mov	esi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	adis_write_reg_32@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	cmp	ecx, 127
	jg	.L12
.L4:
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	lea	eax, 32768[r12]
	cmp	eax, 65535
	ja	.L4
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	mov	esi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	adis_write_reg_16@PLT
	.cfi_endproc
.LFE0:
	.size	adis16480_set_calibbias, .-adis16480_set_calibbias
	.comm	adis16480_calibbias_regs,8,8
	.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_adis16480.c_adis16480_set_calibbias.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adis16480_set_calibbias, %function
adis16480_set_calibbias:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r3, .L13
	ldr	r1, [r1]
	ldr	r3, [r3]
	mov	r5, r2
	ldr	r6, [r3, r1, lsl #2]
	bl	iio_priv
	ldr	r3, [r4, #4]
	cmp	r3, #129
	ble	.L11
	sub	r3, r3, #130
	cmp	r3, #1
	bhi	.L4
	mov	r2, r5
	mov	r1, r6
	pop	{r4, r5, r6, lr}
	b	adis_write_reg_32
.L11:
	cmp	r3, #127
	bgt	.L12
.L4:
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	add	r3, r5, #32768
	cmp	r3, #65536
	bcs	.L4
	mov	r2, r5
	mov	r1, r6
	pop	{r4, r5, r6, lr}
	b	adis_write_reg_16
.L14:
	.align	2
.L13:
	.word	adis16480_calibbias_regs
	.word	EINVAL
	.size	adis16480_set_calibbias, .-adis16480_set_calibbias
	.comm	adis16480_calibbias_regs,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
