	.file	"extr_edac_device_sysfs.c_edac_device_create_block.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Instance '%s' inst_p=%p  block '%s'  block_p=%p\n"
	.align 8
.LC1:
	.string	"block kobj=%p  block kobj->parent=%p\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%s"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"Failed to register instance '%s'\n"
	.align 8
.LC4:
	.string	"creating block attrib='%s' attrib->%p to kobj=%p\n"
	.text
	.p2align 4
	.type	edac_device_create_block, @function
edac_device_create_block:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	rcx, rsi
	xor	eax, eax
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	mov	edi, 4
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	r9, rbp
	lea	r12, 4[rbp]
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	movsx	rdx, DWORD PTR 4[rsi]
	mov	r8d, DWORD PTR 16[rbp]
	lea	rsi, .LC0[rip]
	call	edac_dbg@PLT
	mov	rcx, r12
	mov	rdx, r12
	mov	edi, 4
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	edac_dbg@PLT
	xor	esi, esi
	mov	rdi, r12
	mov	edx, 4
	call	memset@PLT
	mov	rdi, r14
	call	kobject_get@PLT
	test	rax, rax
	je	.L13
	mov	r8d, DWORD PTR 16[rbp]
	mov	rdx, r13
	mov	rdi, r12
	mov	r15, rax
	lea	rcx, .LC2[rip]
	lea	rsi, ktype_block_ctrl[rip]
	call	kobject_init_and_add@PLT
	mov	DWORD PTR 12[rsp], eax
	test	eax, eax
	jne	.L15
	mov	rbx, QWORD PTR 8[rbp]
	test	rbx, rbx
	je	.L5
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	jle	.L5
	xor	r14d, r14d
	lea	r15, .LC4[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	add	r14d, 1
	add	rbx, 4
	cmp	DWORD PTR 0[rbp], r14d
	jle	.L5
.L7:
	movsx	rdx, DWORD PTR [rbx]
	mov	r8, r12
	mov	rcx, rbx
	mov	rsi, r15
	mov	edi, 4
	xor	eax, eax
	call	edac_dbg@PLT
	mov	rsi, rbx
	mov	rdi, r12
	call	sysfs_create_file@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L6
	mov	rdi, r12
	call	kobject_put@PLT
	mov	DWORD PTR 12[rsp], r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR KOBJ_ADD[rip]
	mov	rdi, r12
	call	kobject_uevent@PLT
.L1:
	mov	eax, DWORD PTR 12[rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	movsx	rdx, DWORD PTR 16[rbp]
	mov	edi, 1
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	edac_dbg@PLT
	mov	rdi, r15
	call	kobject_put@PLT
.L13:
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	mov	DWORD PTR 12[rsp], eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	edac_device_create_block, .-edac_device_create_block
	.comm	ktype_block_ctrl,4,4
	.comm	KOBJ_ADD,4,4
	.comm	ENODEV,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_edac_device_sysfs.c_edac_device_create_block.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Instance '%s' inst_p=%p  block '%s'  block_p=%p\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"block kobj=%p  block kobj->parent=%p\012\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"Failed to register instance '%s'\012\000"
	.align	2
.LC4:
	.ascii	"creating block attrib='%s' attrib->%p to kobj=%p\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	edac_device_create_block, %function
edac_device_create_block:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r2
	mov	r7, r0
	mov	r0, #4
	ldr	r3, [r2, #12]
	sub	sp, sp, #8
	str	r3, [sp]
	str	r2, [sp, #4]
	add	r4, r6, r0
	mov	r3, r1
	ldr	r2, [r1, #4]
	mov	r5, r1
	ldr	r1, .L16
	bl	edac_dbg
	mov	r3, r4
	mov	r2, r4
	ldr	r1, .L16+4
	mov	r0, #4
	bl	edac_dbg
	mov	r3, #0
	mov	r0, r7
	strb	r3, [r6, #4]
	strb	r3, [r4, #1]
	strb	r3, [r4, #2]
	strb	r3, [r4, #3]
	bl	kobject_get
	subs	r7, r0, #0
	beq	.L13
	ldr	r3, [r6, #12]
	mov	r2, r5
	str	r3, [sp]
	mov	r0, r4
	ldr	r3, .L16+8
	ldr	r1, .L16+12
	bl	kobject_init_and_add
	subs	r9, r0, #0
	bne	.L15
	ldr	r5, [r6, #8]
	cmp	r5, #0
	beq	.L5
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L5
	mov	r8, r9
	ldr	r10, .L16+16
	b	.L7
.L6:
	ldr	r3, [r6]
	add	r5, r5, #4
	cmp	r3, r8
	ble	.L5
.L7:
	ldr	r2, [r5]
	mov	r3, r5
	mov	r1, r10
	mov	r0, #4
	str	r4, [sp]
	bl	edac_dbg
	mov	r1, r5
	mov	r0, r4
	bl	sysfs_create_file
	subs	r7, r0, #0
	add	r8, r8, #1
	beq	.L6
	mov	r9, r7
	mov	r0, r4
	bl	kobject_put
	mov	r0, r9
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	ldr	r3, .L16+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	kobject_uevent
	mov	r0, r9
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	mov	r0, #1
	ldr	r2, [r6, #12]
	ldr	r1, .L16+24
	bl	edac_dbg
	mov	r0, r7
	bl	kobject_put
.L13:
	ldr	r3, .L16+28
	ldr	r9, [r3]
	rsb	r9, r9, #0
	mov	r0, r9
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	ktype_block_ctrl
	.word	.LC4
	.word	KOBJ_ADD
	.word	.LC3
	.word	ENODEV
	.size	edac_device_create_block, .-edac_device_create_block
	.comm	ktype_block_ctrl,4,4
	.comm	KOBJ_ADD,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
