	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edac_create_csrow_object
_edac_create_csrow_object:              ## @edac_create_csrow_object
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	4(%rsi), %r14
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r12, 8(%r15)
	movq	%r12, %rdi
	callq	_kobject_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_ktype_csrow@GOTPCREL(%rip), %rsi
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%r12, %rdx
	movl	%ebx, %r8d
	callq	_kobject_init_and_add
	testl	%eax, %eax
	je	LBB0_3
## %bb.9:
	movl	%eax, %r13d
	movq	%r12, %rdi
LBB0_10:
	callq	_kobject_put
	jmp	LBB0_11
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_11
LBB0_3:
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_edac_create_channel_files
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_6
LBB0_8:
	movq	_KOBJ_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_kobject_uevent
	xorl	%r13d, %r13d
LBB0_11:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%eax, %r13d
	movq	%r14, %rdi
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ktype_csrow,4,2                ## @ktype_csrow
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"csrow%d"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edac_create_csrow_object
_edac_create_csrow_object:              ; @edac_create_csrow_object
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	add	x19, x1, #4
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	x21, [x20, #8]
	mov	x0, x21
	bl	_kobject_get
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x1, _ktype_csrow@GOTPAGE
Lloh1:
	ldr	x1, [x1, _ktype_csrow@GOTPAGEOFF]
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x4, x22
	bl	_kobject_init_and_add
	cbz	w0, LBB0_5
; %bb.2:
	mov	x22, x0
	mov	x0, x21
LBB0_3:
	bl	_kobject_put
	b	LBB0_10
LBB0_4:
Lloh4:
	adrp	x8, _ENODEV@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_10
LBB0_5:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	w21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_edac_create_channel_files
	cbnz	w0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_7
LBB0_9:
Lloh7:
	adrp	x8, _KOBJ_ADD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KOBJ_ADD@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kobject_uevent
	mov	w22, #0
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x22, x0
	mov	x0, x19
	b	LBB0_3
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ktype_csrow,4,2                ; @ktype_csrow
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"csrow%d"

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