	.file	"extr_bq24190_charger.c_bq24190_charger_set_property.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"prop: %d\n"
	.text
	.p2align 4
	.type	bq24190_charger_set_property, @function
bq24190_charger_set_property:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	power_supply_get_drvdata@PLT
	mov	edx, ebx
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR [rax]
	mov	rbp, rax
	call	dev_dbg@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	pm_runtime_get_sync@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	lea	esi, -128[rbx]
	cmp	esi, 5
	ja	.L3
	lea	rdx, .L5[rip]
	mov	rdi, rbp
	movsx	rax, DWORD PTR [rdx+rsi*4]
	mov	rsi, r13
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L10-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L6:
	call	bq24190_charger_set_current@PLT
	mov	r12d, eax
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR 0[rbp]
	call	pm_runtime_mark_last_busy@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	pm_runtime_put_autosuspend@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L4:
	.cfi_restore_state
	call	bq24190_charger_set_charge_type@PLT
	mov	r12d, eax
	jmp	.L11
.L10:
	call	bq24190_charger_set_temp_alert_max@PLT
	mov	r12d, eax
	jmp	.L11
.L9:
	call	bq24190_charger_set_online@PLT
	mov	r12d, eax
	jmp	.L11
.L8:
	call	bq24190_charger_set_iinlimit@PLT
	mov	r12d, eax
	jmp	.L11
.L7:
	call	bq24190_charger_set_voltage@PLT
	mov	r12d, eax
	jmp	.L11
.L3:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	bq24190_charger_set_property, .-bq24190_charger_set_property
	.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_bq24190_charger.c_bq24190_charger_set_property.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"prop: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bq24190_charger_set_property, %function
bq24190_charger_set_property:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r7, r2
	bl	power_supply_get_drvdata
	mov	r5, r0
	mov	r2, r4
	ldr	r1, .L14
	ldr	r0, [r0]
	bl	dev_dbg
	ldr	r0, [r5]
	bl	pm_runtime_get_sync
	subs	r6, r0, #0
	blt	.L1
	sub	r1, r4, #128
	cmp	r1, #5
	ldrls	pc, [pc, r1, asl #2]
	b	.L3
.L5:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L4:
	mov	r1, r7
	mov	r0, r5
	bl	bq24190_charger_set_charge_type
	mov	r6, r0
.L11:
	ldr	r0, [r5]
	bl	pm_runtime_mark_last_busy
	ldr	r0, [r5]
	bl	pm_runtime_put_autosuspend
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r1, r7
	mov	r0, r5
	bl	bq24190_charger_set_temp_alert_max
	mov	r6, r0
	b	.L11
.L9:
	mov	r1, r7
	mov	r0, r5
	bl	bq24190_charger_set_online
	mov	r6, r0
	b	.L11
.L8:
	mov	r1, r7
	mov	r0, r5
	bl	bq24190_charger_set_iinlimit
	mov	r6, r0
	b	.L11
.L7:
	mov	r1, r7
	mov	r0, r5
	bl	bq24190_charger_set_voltage
	mov	r6, r0
	b	.L11
.L6:
	mov	r1, r7
	mov	r0, r5
	bl	bq24190_charger_set_current
	mov	r6, r0
	b	.L11
.L3:
	ldr	r3, .L14+4
	ldr	r0, [r3]
	rsb	r6, r0, #0
	b	.L11
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	EINVAL
	.size	bq24190_charger_set_property, .-bq24190_charger_set_property
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
