	.file	"extr_wm831x-isink.c_wm831x_isink_set_current.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wm831x_isink_set_current, @function
wm831x_isink_set_current:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	rdev_get_drvdata@PLT
	mov	rdi, QWORD PTR wm831x_isinkv_values[rip]
	mov	r15, QWORD PTR 8[rax]
	mov	r14, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR wm831x_isinkv_values[rip]
	mov	edx, ebp
	mov	eax, DWORD PTR [rdi+rbx*4]
	add	rbx, 1
	cmp	r12d, ebp
	cmovle	edx, r12d
	cmp	edx, eax
	jge	.L7
.L2:
	mov	r13d, ebx
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L3
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR [r14]
	mov	edx, DWORD PTR WM831X_CS1_ISEL_MASK[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	ecx, r13d
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rdi, r15
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	wm831x_set_bits@PLT
	.cfi_endproc
.LFE0:
	.size	wm831x_isink_set_current, .-wm831x_isink_set_current
	.comm	wm831x_isinkv_values,8,8
	.comm	WM831X_CS1_ISEL_MASK,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_wm831x-isink.c_wm831x_isink_set_current.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm831x_isink_set_current, %function
wm831x_isink_set_current:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r5, r2
	bl	rdev_get_drvdata
	ldr	r6, .L8
	cmp	r4, r5
	mov	r7, r0
	movlt	r5, r4
	ldr	r8, [r0, #4]
	mov	r4, #0
	ldr	r0, [r6]
	b	.L2
.L4:
	ldr	r0, [r6]
	ldr	r3, [r0, r4, lsl #2]
	cmp	r5, r3
	bge	.L7
	add	r4, r4, #1
.L2:
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L4
	ldr	r3, .L8+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r2, .L8+8
	mov	r3, r4
	mov	r0, r8
	ldr	r1, [r7]
	ldr	r2, [r2]
	pop	{r4, r5, r6, r7, r8, lr}
	b	wm831x_set_bits
.L9:
	.align	2
.L8:
	.word	wm831x_isinkv_values
	.word	EINVAL
	.word	WM831X_CS1_ISEL_MASK
	.size	wm831x_isink_set_current, .-wm831x_isink_set_current
	.comm	wm831x_isinkv_values,4,4
	.comm	WM831X_CS1_ISEL_MASK,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
