	.file	"extr_max197.c_max197_show_range.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.text
	.p2align 4
	.type	max197_show_range, @function
max197_show_range:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	dev_get_drvdata@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	to_sensor_dev_attr_2@PLT
	lea	r15, 4[rbp]
	mov	rdi, r15
	mov	r14d, DWORD PTR [rax]
	mov	ebx, DWORD PTR 4[rax]
	call	mutex_lock_interruptible@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR ERESTARTSYS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
.L2:
	.cfi_restore_state
	mov	esi, r14d
	mov	rdi, rbp
	call	max197_is_full_range@PLT
	test	rax, rax
	je	.L4
	mov	r12d, DWORD PTR 0[rbp]
	test	ebx, ebx
	jne	.L14
.L6:
	mov	rdi, r15
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	edx, r12d
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 48
	lea	rsi, .LC0[rip]
	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
	jmp	sprintf@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, DWORD PTR 0[rbp]
	mov	r12d, edx
	shr	r12d, 31
	add	r12d, edx
	sar	r12d
	test	ebx, ebx
	je	.L6
.L14:
	mov	esi, r14d
	mov	rdi, rbp
	neg	r12d
	call	max197_is_bipolar@PLT
	mov	edx, 0
	test	rax, rax
	cmove	r12d, edx
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	max197_show_range, .-max197_show_range
	.comm	ERESTARTSYS,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_max197.c_max197_show_range.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	max197_show_range, %function
max197_show_range:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	mov	r6, r2
	bl	dev_get_drvdata
	mov	r4, r0
	mov	r0, r5
	bl	to_sensor_dev_attr_2
	mov	r3, r0
	add	r5, r4, #4
	mov	r0, r5
	ldm	r3, {r8, r9}
	bl	mutex_lock_interruptible
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L15
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r1, r8
	mov	r0, r4
	bl	max197_is_full_range
	ldr	r7, [r4]
	cmp	r0, #0
	addeq	r7, r7, r7, lsr #31
	asreq	r7, r7, #1
	cmp	r9, #0
	bne	.L14
.L6:
	mov	r0, r5
	bl	mutex_unlock
	mov	r2, r7
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r1, .L15+4
	b	sprintf
.L14:
	mov	r1, r8
	mov	r0, r4
	bl	max197_is_bipolar
	cmp	r0, #0
	moveq	r7, r0
	rsbne	r7, r7, #0
	b	.L6
.L16:
	.align	2
.L15:
	.word	ERESTARTSYS
	.word	.LC0
	.size	max197_show_range, .-max197_show_range
	.comm	ERESTARTSYS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
