	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edac_create_dimm_object
_edac_create_dimm_object:               ## @edac_create_dimm_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	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	%rdi, 16(%rsi)
	movq	_dimm_attr_type@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rsi)
	movq	%rsi, %rdi
	callq	_device_initialize
	movq	%r15, (%rbx)
	cmpq	$0, 8(%r15)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_dev_set_name
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_dev_set_drvdata
	movq	%r15, %rdi
	callq	_pm_runtime_forbid
	movq	%rbx, %rdi
	callq	_device_add
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_dev_name
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_edac_dbg
	movq	%rbx, %rdi
	callq	_put_device
	jmp	LBB0_4
LBB0_2:
	movq	_CONFIG_EDAC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	-112(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$80, %edx
	callq	_edac_dimm_info_location
	movq	%rbx, %rdi
	callq	_dev_name
	leaq	L_.str.3(%rip), %rsi
	xorl	%edi, %edi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_edac_dbg
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_dimm_attr_type,4,2             ## @dimm_attr_type
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rank%d"

L_.str.1:                               ## @.str.1
	.asciz	"dimm%d"

L_.str.2:                               ## @.str.2
	.asciz	"failure: create device %s\n"

	.comm	_CONFIG_EDAC_DEBUG,4,2          ## @CONFIG_EDAC_DEBUG
L_.str.3:                               ## @.str.3
	.asciz	"device %s created at location %s\n"

	.no_dead_strip	_edac_create_dimm_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_dimm_object
_edac_create_dimm_object:               ; @edac_create_dimm_object
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _dimm_attr_type@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dimm_attr_type@GOTPAGEOFF]
	stp	x8, x0, [x1, #8]
	mov	x0, x1
	bl	_device_initialize
	str	x21, [x19]
	ldr	x8, [x21, #8]
Lloh5:
	adrp	x9, l_.str@PAGE
Lloh6:
	add	x9, x9, l_.str@PAGEOFF
Lloh7:
	adrp	x10, l_.str.1@PAGE
Lloh8:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x1, x10, x9, eq
	mov	x0, x19
	mov	x2, x20
	bl	_dev_set_name
	mov	x0, x19
	mov	x1, x19
	bl	_dev_set_drvdata
	mov	x0, x21
	bl	_pm_runtime_forbid
	mov	x0, x19
	bl	_device_add
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_dev_name
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_edac_dbg
	mov	x0, x19
	bl	_put_device
	b	LBB0_4
LBB0_2:
Lloh11:
	adrp	x8, _CONFIG_EDAC_DEBUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CONFIG_EDAC_DEBUG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_4
; %bb.3:
	add	x21, sp, #8
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #80
	bl	_edac_dimm_info_location
	mov	x0, x19
	bl	_dev_name
	mov	x2, x0
	str	x21, [sp]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #0
	bl	_edac_dbg
LBB0_4:
	ldur	x8, [x29, #-40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_dimm_attr_type,4,2             ; @dimm_attr_type
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rank%d"

l_.str.1:                               ; @.str.1
	.asciz	"dimm%d"

l_.str.2:                               ; @.str.2
	.asciz	"failure: create device %s\n"

	.comm	_CONFIG_EDAC_DEBUG,4,2          ; @CONFIG_EDAC_DEBUG
l_.str.3:                               ; @.str.3
	.asciz	"device %s created at location %s\n"

	.no_dead_strip	_edac_create_dimm_object
.subsections_via_symbols
