	.file	"extr_envctrl.c_envctrl_init_voltage_status.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	envctrl_init_voltage_status, @function
envctrl_init_voltage_status:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L4
	mov	rcx, QWORD PTR 16[rdi]
	lea	esi, -1[rax]
	mov	r8, QWORD PTR chnls_mask[rip]
	mov	edx, DWORD PTR 24[rdi]
	lea	rax, 8[rcx]
	lea	rsi, [rax+rsi*8]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	add	rax, 8
.L3:
	mov	rcx, QWORD PTR [rcx]
	or	edx, DWORD PTR [r8+rcx*4]
	mov	rcx, rax
	mov	DWORD PTR 24[rdi], edx
	cmp	rsi, rax
	jne	.L8
.L4:
	mov	rax, QWORD PTR 8[rdi]
	mov	edx, DWORD PTR ENVCTRL_VOLTAGESTAT_MON[rip]
	mov	DWORD PTR [rax], edx
	ret
	.cfi_endproc
.LFE0:
	.size	envctrl_init_voltage_status, .-envctrl_init_voltage_status
	.comm	chnls_mask,8,8
	.comm	ENVCTRL_VOLTAGESTAT_MON,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_envctrl.c_envctrl_init_voltage_status.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	envctrl_init_voltage_status, %function
envctrl_init_voltage_status:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0]
	str	lr, [sp, #-4]!
	cmp	ip, #0
	ble	.L4
	ldr	r2, .L9
	ldr	r3, [r0, #8]
	ldr	lr, [r2]
	sub	r3, r3, #4
	ldr	r2, [r0, #12]
	add	ip, r3, ip, lsl #2
.L3:
	ldr	r1, [r3, #4]!
	ldr	r1, [lr, r1, lsl #2]
	cmp	ip, r3
	orr	r2, r2, r1
	str	r2, [r0, #12]
	bne	.L3
.L4:
	ldr	r2, .L9+4
	ldr	r3, [r0, #4]
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	pc, [sp], #4
.L10:
	.align	2
.L9:
	.word	chnls_mask
	.word	ENVCTRL_VOLTAGESTAT_MON
	.size	envctrl_init_voltage_status, .-envctrl_init_voltage_status
	.comm	chnls_mask,4,4
	.comm	ENVCTRL_VOLTAGESTAT_MON,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
