	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_edac_l3_create_debugfs_nodes
_xgene_edac_l3_create_debugfs_nodes:    ## @xgene_edac_l3_create_debugfs_nodes
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %rbx
	movq	_CONFIG_EDAC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	8(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-42(%rbp), %r14
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_snprintf
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_edac_debugfs_create_dir_at
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	_xgene_edac_l3_debug_inject_fops@GOTPCREL(%rip), %r8
	movq	%rax, %rdx
	movq	%r15, %rcx
	callq	_debugfs_create_file
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_EDAC_DEBUG,4,2          ## @CONFIG_EDAC_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"l3c%d"

L_.str.1:                               ## @.str.1
	.asciz	"l3_inject_ctrl"

	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_xgene_edac_l3_debug_inject_fops,4,2 ## @xgene_edac_l3_debug_inject_fops
	.no_dead_strip	_xgene_edac_l3_create_debugfs_nodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_edac_l3_create_debugfs_nodes
_xgene_edac_l3_create_debugfs_nodes:    ; @xgene_edac_l3_create_debugfs_nodes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x20, [x0]
Lloh3:
	adrp	x8, _CONFIG_EDAC_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONFIG_EDAC_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w3, [x20]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #14
	mov	w1, #10
	bl	_snprintf
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	add	x0, sp, #14
	bl	_edac_debugfs_create_dir_at
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
Lloh8:
	adrp	x8, _S_IWUSR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S_IWUSR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh13:
	adrp	x4, _xgene_edac_l3_debug_inject_fops@GOTPAGE
Lloh14:
	ldr	x4, [x4, _xgene_edac_l3_debug_inject_fops@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
LBB0_4:
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_EDAC_DEBUG,4,2          ; @CONFIG_EDAC_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"l3c%d"

l_.str.1:                               ; @.str.1
	.asciz	"l3_inject_ctrl"

	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_xgene_edac_l3_debug_inject_fops,4,2 ; @xgene_edac_l3_debug_inject_fops
	.no_dead_strip	_xgene_edac_l3_create_debugfs_nodes
.subsections_via_symbols
