	.file	"extr_ds2780_battery.c_ds2780_battery_get_property.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ds2780_battery_get_property, @function
ds2780_battery_get_property:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	to_ds2780_device_info@PLT
	lea	esi, -128[rbx]
	cmp	esi, 9
	ja	.L2
	mov	rdi, rax
	lea	rax, .L4[rip]
	movsx	rcx, DWORD PTR [rax+rsi*4]
	add	rcx, rax
	notrack jmp	rcx
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L13-.L4
	.long	.L12-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ds2780_get_accumulated_current@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ds2780_get_capacity@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ds2780_get_voltage@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ds2780_get_temperature@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ds2780_get_status@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	eax, DWORD PTR model[rip]
	mov	DWORD PTR 0[rbp], eax
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR manufacturer[rip]
	mov	DWORD PTR 0[rbp], eax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, DWORD PTR CURRENT_NOW[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ds2780_get_current@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR CURRENT_AVG[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ds2780_get_current@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ds2780_get_charge_now@PLT
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ds2780_battery_get_property, .-ds2780_battery_get_property
	.comm	model,4,4
	.comm	manufacturer,4,4
	.comm	EINVAL,4,4
	.comm	CURRENT_NOW,4,4
	.comm	CURRENT_AVG,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_ds2780_battery.c_ds2780_battery_get_property.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ds2780_battery_get_property, %function
ds2780_battery_get_property:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r2
	bl	to_ds2780_device_info
	sub	r3, r4, #128
	cmp	r3, #9
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	mov	r1, r5
	pop	{r4, r5, r6, lr}
	b	ds2780_get_capacity
.L13:
	mov	r1, r5
	pop	{r4, r5, r6, lr}
	b	ds2780_get_voltage
.L12:
	mov	r1, r5
	pop	{r4, r5, r6, lr}
	b	ds2780_get_temperature
.L11:
	mov	r1, r5
	pop	{r4, r5, r6, lr}
	b	ds2780_get_status
.L10:
	ldr	r3, .L17
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L17+4
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L17+8
	mov	r2, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	ds2780_get_current
.L7:
	ldr	r3, .L17+12
	mov	r2, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	ds2780_get_current
.L6:
	mov	r1, r5
	pop	{r4, r5, r6, lr}
	b	ds2780_get_charge_now
.L5:
	mov	r1, r5
	pop	{r4, r5, r6, lr}
	b	ds2780_get_accumulated_current
.L2:
	ldr	r3, .L17+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L18:
	.align	2
.L17:
	.word	model
	.word	manufacturer
	.word	CURRENT_NOW
	.word	CURRENT_AVG
	.word	EINVAL
	.size	ds2780_battery_get_property, .-ds2780_battery_get_property
	.comm	model,4,4
	.comm	manufacturer,4,4
	.comm	EINVAL,4,4
	.comm	CURRENT_NOW,4,4
	.comm	CURRENT_AVG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
