	.file	"extr_hid-logitech-hidpp.c_hidpp_battery_get_property.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Logitech "
.LC1:
	.string	"Logitech"
	.text
	.p2align 4
	.type	hidpp_battery_get_property, @function
hidpp_battery_get_property:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	call	power_supply_get_drvdata@PLT
	lea	esi, -128[rbx]
	cmp	esi, 7
	ja	.L2
	lea	rdx, .L4[rip]
	mov	r12, rax
	movsx	rax, DWORD PTR [rdx+rsi*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.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:
	mov	eax, DWORD PTR 20[r12]
	mov	DWORD PTR 0[rbp], eax
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR 24[r12]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	DWORD PTR 0[rbp], eax
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, DWORD PTR 28[r12]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	DWORD PTR 0[rbp], eax
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[r12]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 0[rbp], rax
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR POWER_SUPPLY_SCOPE_DEVICE[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	DWORD PTR 0[rbp], eax
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR 16[r12]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	DWORD PTR 0[rbp], eax
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, QWORD PTR [r12]
	mov	edx, 9
	lea	rsi, .LC0[rip]
	call	strncmp@PLT
	test	eax, eax
	jne	.L13
	mov	rdx, QWORD PTR [r12]
	add	rdx, 9
	mov	QWORD PTR 0[rbp], rdx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rax, .LC1[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	QWORD PTR 0[rbp], rax
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rax, QWORD PTR [r12]
	mov	QWORD PTR 0[rbp], rax
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	hidpp_battery_get_property, .-hidpp_battery_get_property
	.comm	POWER_SUPPLY_SCOPE_DEVICE,4,4
	.comm	EINVAL,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_hid-logitech-hidpp.c_hidpp_battery_get_property.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Logitech \000"
	.align	2
.LC1:
	.ascii	"Logitech\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hidpp_battery_get_property, %function
hidpp_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	power_supply_get_drvdata
	sub	r1, r4, #128
	cmp	r1, #7
	ldrls	pc, [pc, r1, asl #2]
	b	.L2
.L4:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r3, [r0, #16]
	mov	r0, #0
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r3, [r0, #20]
	mov	r0, #0
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r3, [r0, #4]
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L16
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, [r0, #8]
	mov	r0, #0
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r4, [r0]
	mov	r2, #9
	mov	r0, r4
	ldr	r1, .L16+4
	bl	strncmp
	cmp	r0, #0
	addeq	r4, r4, #9
	streq	r4, [r5]
	movne	r0, #0
	strne	r4, [r5]
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L16+8
	mov	r0, #0
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r3, [r0, #12]
	mov	r0, #0
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L16+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L17:
	.align	2
.L16:
	.word	POWER_SUPPLY_SCOPE_DEVICE
	.word	.LC0
	.word	.LC1
	.word	EINVAL
	.size	hidpp_battery_get_property, .-hidpp_battery_get_property
	.comm	POWER_SUPPLY_SCOPE_DEVICE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
