	.file	"extr_cs43130.c_cs43130_set_hv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cs43130_set_hv, @function
cs43130_set_hv:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR CS43130_DC_THRESHOLD[rip]
	test	eax, eax
	jle	.L5
	lea	r8d, -1[rax]
	xor	eax, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	lea	edi, 1[rax]
	lea	rcx, 1[rax]
	cmp	rax, r8
	je	.L10
	mov	rax, rcx
.L4:
	cmp	QWORD PTR [rdx+rax*8], rsi
	jl	.L3
.L8:
	lea	rbx, 0[0+rax*4]
.L2:
	mov	rax, QWORD PTR hv_seq[rip]
	mov	edi, DWORD PTR [rax+rbx]
	call	ARRAY_SIZE@PLT
	mov	rdi, rbp
	mov	edx, eax
	mov	rax, QWORD PTR hv_seq[rip]
	mov	esi, DWORD PTR [rax+rbx]
	call	regmap_multi_reg_write@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	movsx	rax, edi
	jmp	.L8
.L5:
	xor	ebx, ebx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	cs43130_set_hv, .-cs43130_set_hv
	.comm	hv_seq,8,8
	.comm	CS43130_DC_THRESHOLD,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_cs43130.c_cs43130_set_hv.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cs43130_set_hv, %function
cs43130_set_hv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	push	{r4, r5, r6, lr}
	ldr	lr, [r3]
	mov	r4, r0
	cmp	lr, #0
	ble	.L4
	mov	r3, #0
	sub	r2, r2, #4
	b	.L3
.L9:
	cmp	r3, lr
	beq	.L8
.L3:
	ldr	ip, [r2, #4]!
	lsl	r0, r3, #2
	cmp	ip, r1
	add	r3, r3, #1
	blt	.L9
.L2:
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r5, [r3, r0]
	mov	r0, r5
	bl	ARRAY_SIZE
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	regmap_multi_reg_write
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	lsl	r0, r3, #2
	b	.L2
.L4:
	mov	r0, #0
	b	.L2
.L11:
	.align	2
.L10:
	.word	CS43130_DC_THRESHOLD
	.word	hv_seq
	.size	cs43130_set_hv, .-cs43130_set_hv
	.comm	hv_seq,4,4
	.comm	CS43130_DC_THRESHOLD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
