	.file	"extr_hid-asus.c_asus_battery_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"asus-keyboard-%s-battery"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Unable to register battery device\n"
	.text
	.p2align 4
	.type	asus_battery_probe, @function
asus_battery_probe:
.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, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	hid_get_drvdata@PLT
	mov	edi, DWORD PTR asus_battery_props[rip]
	mov	rbx, rax
	mov	QWORD PTR 56[rax], 0
	mov	QWORD PTR [rsp], rax
	mov	eax, DWORD PTR POWER_SUPPLY_STATUS_UNKNOWN[rip]
	mov	DWORD PTR 44[rbx], edi
	mov	DWORD PTR 52[rbx], eax
	mov	DWORD PTR [rbx], 0
	call	ARRAY_SIZE@PLT
	mov	QWORD PTR 24[rbx], 0
	mov	edi, DWORD PTR 4[rbp]
	mov	DWORD PTR 40[rbx], eax
	mov	eax, DWORD PTR asus_battery_get_property[rip]
	mov	DWORD PTR 36[rbx], eax
	mov	eax, DWORD PTR POWER_SUPPLY_TYPE_BATTERY[rip]
	mov	DWORD PTR 32[rbx], eax
	call	strlen@PLT
	test	rax, rax
	je	.L2
	mov	ecx, DWORD PTR 4[rbp]
.L3:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	call	devm_kasprintf@PLT
	mov	DWORD PTR 16[rbx], eax
	test	eax, eax
	jne	.L4
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.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
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR jiffies[rip]
	mov	rdx, rsp
	lea	rsi, 16[rbx]
	mov	rdi, rbp
	mov	DWORD PTR 48[rbx], eax
	call	devm_power_supply_register@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	mov	rdi, QWORD PTR 8[rbx]
	test	rax, rax
	jne	.L11
	mov	rsi, rbp
	xor	r12d, r12d
	call	power_supply_powers@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, rbp
	call	dev_name@PLT
	mov	ecx, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	call	PTR_ERR@PLT
	mov	QWORD PTR 8[rbx], 0
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	r12d, eax
	call	hid_err@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	asus_battery_probe, .-asus_battery_probe
	.comm	jiffies,4,4
	.comm	asus_battery_props,4,4
	.comm	asus_battery_get_property,4,4
	.comm	POWER_SUPPLY_TYPE_BATTERY,4,4
	.comm	POWER_SUPPLY_STATUS_UNKNOWN,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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-asus.c_asus_battery_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"asus-keyboard-%s-battery\000"
	.align	2
.LC1:
	.ascii	"Unable to register battery device\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	asus_battery_probe, %function
asus_battery_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L12
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r0
	bl	hid_get_drvdata
	mov	r6, #0
	mov	r4, r0
	ldr	r2, .L12+4
	ldr	r3, .L12+8
	ldr	r0, [r2]
	ldr	r3, [r3]
	str	r4, [sp]
	str	r3, [r4, #36]
	str	r6, [r4, #40]
	str	r6, [r4]
	str	r0, [r4, #28]
	bl	ARRAY_SIZE
	ldr	r2, .L12+12
	ldr	r3, .L12+16
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L12+20
	str	r0, [r4, #24]
	str	r6, [r4, #12]
	ldr	r0, [r5, #4]
	str	r1, [r4, #20]
	str	r2, [r4, #16]
	ldr	r6, [r3]
	bl	strlen
	cmp	r0, #0
	beq	.L2
	ldr	r3, [r5, #4]
.L3:
	mov	r1, r6
	mov	r0, r5
	ldr	r2, .L12+24
	bl	devm_kasprintf
	cmp	r0, #0
	str	r0, [r4, #8]
	bne	.L4
	ldr	r3, .L12+28
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L12+32
	mov	r2, sp
	ldr	r3, [r3]
	add	r1, r4, #8
	str	r3, [r4, #32]
	mov	r0, r5
	bl	devm_power_supply_register
	str	r0, [r4, #4]
	bl	IS_ERR
	subs	r6, r0, #0
	bne	.L11
	mov	r1, r5
	ldr	r0, [r4, #4]
	bl	power_supply_powers
	b	.L1
.L2:
	mov	r0, r5
	bl	dev_name
	mov	r3, r0
	b	.L3
.L11:
	ldr	r0, [r4, #4]
	bl	PTR_ERR
	mov	r3, #0
	mov	r6, r0
	ldr	r1, .L12+36
	mov	r0, r5
	str	r3, [r4, #4]
	bl	hid_err
	b	.L1
.L10:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	asus_battery_props
	.word	POWER_SUPPLY_STATUS_UNKNOWN
	.word	asus_battery_get_property
	.word	POWER_SUPPLY_TYPE_BATTERY
	.word	GFP_KERNEL
	.word	.LC0
	.word	ENOMEM
	.word	jiffies
	.word	.LC1
	.size	asus_battery_probe, .-asus_battery_probe
	.comm	jiffies,4,4
	.comm	asus_battery_props,4,4
	.comm	asus_battery_get_property,4,4
	.comm	POWER_SUPPLY_TYPE_BATTERY,4,4
	.comm	POWER_SUPPLY_STATUS_UNKNOWN,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
