	.file	"extr_vhci_sysfs.c_set_status_attr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"status"
.LC1:
	.string	"status.%d"
	.text
	.p2align 4
	.type	set_status_attr, @function
set_status_attr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movsx	rbp, edi
	mov	rcx, rbp
	sal	rbp, 4
	add	rbp, QWORD PTR status_attrs[rip]
	mov	edi, DWORD PTR 12[rbp]
	test	ecx, ecx
	jne	.L2
	lea	rsi, .LC0[rip]
	call	strcpy@PLT
.L3:
	mov	eax, DWORD PTR 12[rbp]
	mov	rdi, rbp
	mov	DWORD PTR 4[rbp], eax
	mov	eax, DWORD PTR S_IRUGO[rip]
	mov	DWORD PTR 0[rbp], eax
	mov	eax, DWORD PTR status_show[rip]
	mov	DWORD PTR 8[rbp], eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	sysfs_attr_init@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR MAX_STATUS_NAME[rip]
	lea	rdx, .LC1[rip]
	lea	rsi, 1[rax]
	call	snprintf@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	set_status_attr, .-set_status_attr
	.comm	status_show,4,4
	.comm	status_attrs,8,8
	.comm	S_IRUGO,4,4
	.comm	MAX_STATUS_NAME,8,8
	.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_vhci_sysfs.c_set_status_attr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"status\000"
	.align	2
.LC1:
	.ascii	"status.%d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_status_attr, %function
set_status_attr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L6
	push	{r4, r5, r6, lr}
	ldr	r6, [r3]
	cmp	r0, #0
	add	r5, r6, r0, lsl #4
	mov	r4, r0
	ldr	r0, [r5, #12]
	bne	.L2
	ldr	r1, .L6+4
	bl	strcpy
.L3:
	ldr	r2, .L6+8
	ldr	r3, .L6+12
	ldr	r1, [r5, #12]
	ldr	r3, [r3]
	ldr	r2, [r2]
	str	r1, [r5, #4]
	mov	r0, r5
	str	r2, [r6, r4, lsl #4]
	str	r3, [r5, #8]
	pop	{r4, r5, r6, lr}
	b	sysfs_attr_init
.L2:
	ldr	r3, .L6+16
	ldr	r2, .L6+20
	ldr	r1, [r3]
	mov	r3, r4
	add	r1, r1, #1
	bl	snprintf
	b	.L3
.L7:
	.align	2
.L6:
	.word	status_attrs
	.word	.LC0
	.word	S_IRUGO
	.word	status_show
	.word	MAX_STATUS_NAME
	.word	.LC1
	.size	set_status_attr, .-set_status_attr
	.comm	status_show,4,4
	.comm	status_attrs,4,4
	.comm	S_IRUGO,4,4
	.comm	MAX_STATUS_NAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
