	.file	"extr_mxl111sf.c_mxl111sf_ctrl_program_regs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed on reg #%d (0x%02x)"
	.text
	.p2align 4
	.globl	mxl111sf_ctrl_program_regs
	.type	mxl111sf_ctrl_program_regs, @function
mxl111sf_ctrl_program_regs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR [rsi]
	mov	edx, DWORD PTR 4[rbx]
	mov	ecx, DWORD PTR 8[rbx]
	mov	r12d, esi
	or	r12d, edx
	or	r12d, ecx
	je	.L1
	mov	rbp, rdi
	xor	r13d, r13d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR 12[rbx]
	mov	edx, DWORD PTR 16[rbx]
	add	rbx, 12
	add	r13d, 1
	mov	ecx, DWORD PTR 8[rbx]
	mov	eax, esi
	or	eax, edx
	or	eax, ecx
	je	.L1
.L4:
	mov	rdi, rbp
	call	mxl111sf_write_reg_mask@PLT
	mov	edi, eax
	mov	r12d, eax
	call	mxl_fail@PLT
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR [rbx]
	mov	esi, r13d
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
.L1:
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	mxl111sf_ctrl_program_regs, .-mxl111sf_ctrl_program_regs
	.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_mxl111sf.c_mxl111sf_ctrl_program_regs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed on reg #%d (0x%02x)\000"
	.text
	.align	2
	.global	mxl111sf_ctrl_program_regs
	.syntax unified
	.arm
	.fpu softvfp
	.type	mxl111sf_ctrl_program_regs, %function
mxl111sf_ctrl_program_regs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r1, [r1]
	ldmib	r4, {r2, r3}
	orr	r7, r1, r2
	orrs	r7, r7, r3
	beq	.L1
	mov	r6, r0
	mov	r5, #0
	b	.L4
.L3:
	add	r1, r4, #12
	ldm	r1, {r1, r2, r3}
	orr	r0, r1, r2
	orrs	r0, r0, r3
	add	r5, r5, #1
	add	r4, r4, #12
	beq	.L1
.L4:
	mov	r0, r6
	bl	mxl111sf_write_reg_mask
	mov	r7, r0
	bl	mxl_fail
	cmp	r0, #0
	beq	.L3
	mov	r1, r5
	ldr	r2, [r4]
	ldr	r0, .L11
	bl	pr_err
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	mxl111sf_ctrl_program_regs, .-mxl111sf_ctrl_program_regs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
