	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edac_device_create_block
_edac_device_create_block:              ## @edac_device_create_block
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movslq	4(%rsi), %rdx
	movl	16(%r14), %r8d
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movl	$4, %edi
	movq	%r12, %rcx
	movq	%r14, %r9
	xorl	%eax, %eax
	callq	_edac_dbg
	leaq	4(%r14), %r15
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edi
	movq	%r15, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_edac_dbg
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_kobject_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	16(%r14), %r8d
	movq	_ktype_block_ctrl@GOTPCREL(%rip), %rsi
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_kobject_init_and_add
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movslq	16(%r14), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%r13d, %r13d
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_edac_dbg
	movq	%rbx, %rdi
	callq	_kobject_put
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_11:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.5:
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.6:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rbx), %rdx
	movl	$4, %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rcx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_edac_dbg
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_sysfs_create_file
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incl	%r12d
	addq	$4, %rbx
	cmpl	(%r14), %r12d
	jl	LBB0_7
LBB0_9:
	movq	_KOBJ_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_kobject_uevent
	xorl	%r13d, %r13d
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_kobject_put
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Instance '%s' inst_p=%p  block '%s'  block_p=%p\n"

L_.str.1:                               ## @.str.1
	.asciz	"block kobj=%p  block kobj->parent=%p\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ktype_block_ctrl,4,2           ## @ktype_block_ctrl
L_.str.2:                               ## @.str.2
	.asciz	"%s"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to register instance '%s'\n"

L_.str.4:                               ## @.str.4
	.asciz	"creating block attrib='%s' attrib->%p to kobj=%p\n"

	.comm	_KOBJ_ADD,4,2                   ## @KOBJ_ADD
	.no_dead_strip	_edac_device_create_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edac_device_create_block
_edac_device_create_block:              ; @edac_device_create_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldrsw	x2, [x1, #4]
	ldr	w8, [x19, #16]
	stp	x8, x19, [sp, #8]
	str	x1, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	bl	_edac_dbg
	add	x20, x19, #4
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #4
	mov	x2, x20
	bl	_edac_dbg
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x22
	bl	_kobject_get
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	ldr	w4, [x19, #16]
Lloh4:
	adrp	x1, _ktype_block_ctrl@GOTPAGE
Lloh5:
	ldr	x1, [x1, _ktype_block_ctrl@GOTPAGEOFF]
Lloh6:
	adrp	x3, l_.str.2@PAGE
Lloh7:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_kobject_init_and_add
	cbz	w0, LBB0_5
; %bb.2:
	ldrsw	x2, [x19, #16]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_edac_dbg
	mov	x0, x22
	bl	_kobject_put
LBB0_3:
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_4:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	ldr	x21, [x19, #8]
	cbz	x21, LBB0_10
; %bb.6:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.7:
	mov	w24, #0
Lloh13:
	adrp	x22, l_.str.4@PAGE
Lloh14:
	add	x22, x22, l_.str.4@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x2, [x21]
	stp	x21, x20, [sp]
	mov	w0, #4
	mov	x1, x22
	bl	_edac_dbg
	mov	x0, x20
	mov	x1, x21
	bl	_sysfs_create_file
	cbnz	w0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w24, w24, #1
	add	x21, x21, #4
	ldr	w8, [x19]
	cmp	w24, w8
	b.lt	LBB0_8
LBB0_10:
Lloh15:
	adrp	x8, _KOBJ_ADD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KOBJ_ADD@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_kobject_uevent
	mov	w23, #0
	b	LBB0_4
LBB0_11:
	mov	x23, x0
	mov	x0, x20
	bl	_kobject_put
	b	LBB0_4
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Instance '%s' inst_p=%p  block '%s'  block_p=%p\n"

l_.str.1:                               ; @.str.1
	.asciz	"block kobj=%p  block kobj->parent=%p\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ktype_block_ctrl,4,2           ; @ktype_block_ctrl
l_.str.2:                               ; @.str.2
	.asciz	"%s"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to register instance '%s'\n"

l_.str.4:                               ; @.str.4
	.asciz	"creating block attrib='%s' attrib->%p to kobj=%p\n"

	.comm	_KOBJ_ADD,4,2                   ; @KOBJ_ADD
	.no_dead_strip	_edac_device_create_block
.subsections_via_symbols
