	.file	"extr_adt7316.c_adt7316_show_ad_bound.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.text
	.p2align 4
	.type	adt7316_show_ad_bound, @function
adt7316_show_ad_bound:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	to_iio_dev_attr@PLT
	mov	rdi, r13
	mov	rbp, rax
	call	dev_to_iio_dev@PLT
	mov	rdi, rax
	call	iio_priv@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	rbx, rax
	mov	eax, DWORD PTR [rax]
	and	eax, DWORD PTR ID_FAMILY_MASK[rip]
	cmp	eax, DWORD PTR ID_ADT73XX[rip]
	je	.L16
	mov	edi, DWORD PTR 16[rbx]
	mov	rdx, rsp
	call	[QWORD PTR 8[rbx]]
	test	eax, eax
	jne	.L17
.L5:
	mov	rcx, QWORD PTR [rsp]
	mov	eax, DWORD PTR [rbx]
	and	eax, DWORD PTR ID_FAMILY_MASK[rip]
	cmp	eax, DWORD PTR ID_ADT75XX[rip]
	mov	edx, ecx
	je	.L18
.L6:
	lea	eax, -256[rcx]
	and	ecx, 128
	cmovne	edx, eax
.L7:
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	sprintf@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L16:
	.cfi_restore_state
	mov	eax, DWORD PTR EPERM[rip]
	neg	eax
	cmp	rsi, QWORD PTR ADT7316_EX_TEMP_LOW[rip]
	jg	.L1
	mov	edi, DWORD PTR 16[rbx]
	mov	rdx, rsp
	call	[QWORD PTR 8[rbx]]
	test	eax, eax
	je	.L5
.L17:
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	eax, DWORD PTR 4[rbx]
	test	DWORD PTR ADT7516_SEL_AIN1_2_EX_TEMP_MASK[rip], eax
	je	.L7
	jmp	.L6
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	adt7316_show_ad_bound, .-adt7316_show_ad_bound
	.comm	ID_FAMILY_MASK,4,4
	.comm	ID_ADT75XX,4,4
	.comm	ID_ADT73XX,4,4
	.comm	EPERM,4,4
	.comm	EIO,4,4
	.comm	ADT7516_SEL_AIN1_2_EX_TEMP_MASK,4,4
	.comm	ADT7316_EX_TEMP_LOW,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_adt7316.c_adt7316_show_ad_bound.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adt7316_show_ad_bound, %function
adt7316_show_ad_bound:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L21
	sub	sp, sp, #12
	mov	r4, r0
	mov	r0, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	to_iio_dev_attr
	mov	r5, r0
	mov	r0, r4
	bl	dev_to_iio_dev
	bl	iio_priv
	ldr	r7, .L21+4
	ldr	r2, .L21+8
	ldr	r1, [r7]
	ldr	r3, [r0]
	ldr	r2, [r2]
	and	r3, r3, r1
	cmp	r3, r2
	mov	r4, r0
	ldrne	r1, [r5]
	beq	.L17
.L3:
	mov	r2, sp
	ldr	r3, [r4, #8]
	ldr	r0, [r4, #12]
	blx	r3
	cmp	r0, #0
	bne	.L18
	ldr	r2, .L21+12
	ldr	r1, [r7]
	ldr	r3, [r4]
	ldr	r2, [r2]
	and	r3, r3, r1
	cmp	r3, r2
	ldr	r2, [sp]
	beq	.L19
.L6:
	tst	r2, #128
	subne	r2, r2, #256
.L7:
	mov	r0, r6
	ldr	r1, .L21+16
	bl	sprintf
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L17:
	ldr	r3, .L21+20
	ldr	r1, [r5]
	ldr	r3, [r3]
	cmp	r1, r3
	ble	.L3
	ldr	r3, .L21+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L18:
	ldr	r3, .L21+28
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L19:
	ldr	r3, .L21+32
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	tst	r1, r3
	beq	.L7
	b	.L6
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC1
	.word	ID_FAMILY_MASK
	.word	ID_ADT73XX
	.word	ID_ADT75XX
	.word	.LC0
	.word	ADT7316_EX_TEMP_LOW
	.word	EPERM
	.word	EIO
	.word	ADT7516_SEL_AIN1_2_EX_TEMP_MASK
	.size	adt7316_show_ad_bound, .-adt7316_show_ad_bound
	.comm	ID_FAMILY_MASK,4,4
	.comm	ID_ADT75XX,4,4
	.comm	ID_ADT73XX,4,4
	.comm	EPERM,4,4
	.comm	EIO,4,4
	.comm	ADT7516_SEL_AIN1_2_EX_TEMP_MASK,4,4
	.comm	ADT7316_EX_TEMP_LOW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
