	.file	"extr_power_meter.c_register_ro_attrs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	register_ro_attrs, @function
register_ro_attrs:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rdi]
	mov	rax, QWORD PTR 8[rsi]
	mov	r12, QWORD PTR 16[rdi]
	sal	rbx, 5
	add	rbx, QWORD PTR 8[rdi]
	test	rax, rax
	je	.L2
	mov	r13, rdi
	mov	rbp, rsi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 24[rbp]
	add	rbp, 16
	add	QWORD PTR 0[r13], 1
	add	rbx, 32
	test	rax, rax
	je	.L2
.L5:
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR S_IRUGO[rip]
	mov	rsi, rbx
	mov	rdi, r12
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR 4[rbp]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 24[rbx], eax
	call	device_create_file@PLT
	test	eax, eax
	je	.L3
	mov	QWORD PTR [rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
.L4:
	endbr64
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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	register_ro_attrs, .-register_ro_attrs
	.comm	S_IRUGO,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_power_meter.c_register_ro_attrs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	register_ro_attrs, %function
register_ro_attrs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r1, #8]
	push	{r4, r5, r6, r7, r8, lr}
	ldm	r0, {r3, r4}
	cmp	r2, #0
	ldr	r6, [r0, #8]
	add	r4, r4, r3, lsl #4
	beq	.L2
	mov	r7, r0
	ldr	r8, .L12
	add	r5, r1, #12
	b	.L5
.L3:
	ldr	r3, [r7]
	ldr	r2, [r5, #-4]
	add	r3, r3, #1
	cmp	r2, #0
	add	r4, r4, #16
	str	r3, [r7]
	beq	.L2
.L5:
	ldr	r3, [r8]
	mov	r1, r4
	stm	r4, {r2, r3}
	ldr	r3, [r5, #-8]
	mov	r0, r6
	str	r3, [r4, #8]
	ldr	r3, [r5, #-12]
	add	r5, r5, #12
	str	r3, [r4, #12]
	bl	device_create_file
	cmp	r0, #0
	beq	.L3
	mov	r3, #0
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	S_IRUGO
	.size	register_ro_attrs, .-register_ro_attrs
	.comm	S_IRUGO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
