	.file	"extr_adt7475.c_voltage_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.text
	.p2align 4
	.type	voltage_show, @function
voltage_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	adt7475_update_device@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	to_sensor_dev_attr_2@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L7
	movsx	rax, DWORD PTR [rbx]
	mov	ecx, DWORD PTR 4[rbx]
	cmp	eax, 128
	je	.L8
	movsx	rdi, ecx
	mov	rcx, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR 16[rbp]
	mov	rax, QWORD PTR [rcx+rax*8]
	movzx	esi, WORD PTR [rax+rdi*2]
	call	reg2volt@PLT
	mov	edx, eax
.L5:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	lea	rsi, .LC0[rip]
	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
	jmp	sprintf@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR 0[rbp]
	sar	edx, cl
	and	edx, 1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	voltage_show, .-voltage_show
	.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_adt7475.c_voltage_show.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	voltage_show, %function
voltage_show:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r2
	bl	adt7475_update_device
	mov	r4, r0
	mov	r0, r5
	bl	to_sensor_dev_attr_2
	mov	r5, r0
	mov	r0, r4
	bl	IS_ERR
	cmp	r0, #0
	bne	.L6
	ldm	r5, {r1, r3}
	cmp	r1, #128
	beq	.L7
	ldmib	r4, {r0, r2}
	ldr	r0, [r0, r1, lsl #2]
	lsl	r1, r3, #1
	ldrh	r1, [r0, r1]
	mov	r0, r3
	bl	reg2volt
	ldr	r1, .L8
	mov	r2, r0
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	sprintf
.L7:
	ldr	r2, [r4]
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	asr	r2, r2, r3
	ldr	r1, .L8
	and	r2, r2, #1
	b	sprintf
.L6:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	voltage_show, .-voltage_show
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
