	.file	"extr_adxrs450.c_adxrs450_spi_read_reg_16.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"problem while reading 16 bit register 0x%02x\n"
	.text
	.p2align 4
	.type	adxrs450_spi_read_reg_16, @function
adxrs450_spi_read_reg_16:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, r13d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sal	r12d, 17
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 88
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	iio_priv@PLT
	pxor	xmm0, xmm0
	mov	QWORD PTR 56[rsp], 0
	mov	rbp, rax
	movups	XMMWORD PTR 8[rsp], xmm0
	movabs	rax, 17179869192
	mov	QWORD PTR [rsp], rax
	lea	rdx, 16[rbp]
	mov	rdi, rbp
	mov	QWORD PTR 32[rsp], rax
	lea	rax, 4[rbp]
	movups	XMMWORD PTR 40[rsp], xmm0
	mov	DWORD PTR 8[rsp], 1
	mov	QWORD PTR 24[rsp], rdx
	mov	QWORD PTR 48[rsp], rax
	call	mutex_lock@PLT
	or	r12d, DWORD PTR ADXRS450_READ_DATA[rip]
	mov	edi, r12d
	call	hweight32@PLT
	test	al, 1
	jne	.L2
	or	r12d, DWORD PTR ADXRS450_P[rip]
.L2:
	mov	edi, r12d
	mov	r12, rsp
	call	cpu_to_be32@PLT
	mov	rdi, r12
	mov	DWORD PTR 16[rbp], eax
	call	ARRAY_SIZE@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	rsi, r12
	mov	edx, eax
	call	spi_sync_transfer@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	mov	edi, DWORD PTR 4[rbp]
	call	be32_to_cpu@PLT
	sar	eax, 5
	and	eax, 65535
	mov	DWORD PTR [rbx], eax
.L4:
	mov	rdi, rbp
	call	mutex_unlock@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbp]
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L4
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	adxrs450_spi_read_reg_16, .-adxrs450_spi_read_reg_16
	.comm	ADXRS450_READ_DATA,4,4
	.comm	ADXRS450_P,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_adxrs450.c_adxrs450_spi_read_reg_16.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"problem while reading 16 bit register 0x%02x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adxrs450_spi_read_reg_16, %function
adxrs450_spi_read_reg_16:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L10
	sub	sp, sp, #52
	mov	r6, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	iio_priv
	mov	r2, #4
	mov	r1, #8
	mov	ip, #1
	mov	r3, #0
	add	lr, r0, #12
	str	lr, [sp, #20]
	add	lr, r0, r2
	str	lr, [sp, #36]
	str	r1, [sp, #4]
	str	r1, [sp, #24]
	str	r2, [sp, #8]
	str	r2, [sp, #28]
	str	ip, [sp, #12]
	mov	r4, r0
	str	r3, [sp, #16]
	str	r3, [sp, #32]
	str	r3, [sp, #40]
	bl	mutex_lock
	ldr	r3, .L10+4
	ldr	r5, [r3]
	orr	r5, r5, r6, lsl #17
	mov	r0, r5
	bl	hweight32
	tst	r0, #1
	ldreq	r3, .L10+8
	ldreq	r3, [r3]
	orreq	r5, r5, r3
	mov	r0, r5
	bl	cpu_to_be32
	str	r0, [r4, #12]
	add	r0, sp, #4
	ldr	r5, [r4, #8]
	bl	ARRAY_SIZE
	add	r1, sp, #4
	mov	r2, r0
	mov	r0, r5
	bl	spi_sync_transfer
	subs	r5, r0, #0
	bne	.L8
	ldr	r0, [r4, #4]
	bl	be32_to_cpu
	ldr	r3, .L10+12
	and	r3, r3, r0, asr #5
	str	r3, [r7]
.L4:
	mov	r0, r4
	bl	mutex_unlock
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r5
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	mov	r2, r6
	ldr	r1, .L10+16
	ldr	r0, [r4, #8]
	bl	dev_err
	b	.L4
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	ADXRS450_READ_DATA
	.word	ADXRS450_P
	.word	65535
	.word	.LC0
	.size	adxrs450_spi_read_reg_16, .-adxrs450_spi_read_reg_16
	.comm	ADXRS450_READ_DATA,4,4
	.comm	ADXRS450_P,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
