	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edac_pci_create_sysfs          ## -- Begin function edac_pci_create_sysfs
	.p2align	4, 0x90
_edac_pci_create_sysfs:                 ## @edac_pci_create_sysfs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_edac_dbg
	xorl	%eax, %eax
	callq	_edac_pci_main_kobj_setup
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movl	(%r14), %esi
	movq	%r14, %rdi
	callq	_edac_pci_create_instance_kobj
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	leaq	16(%r14), %rdi
	movq	8(%r14), %rsi
	movq	_EDAC_PCI_SYMLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_sysfs_create_link
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	movl	%eax, %edx
	callq	_edac_dbg
	movq	%r14, %rdi
	callq	_edac_pci_unregister_sysfs_instance_kobj
LBB0_5:
	xorl	%eax, %eax
	callq	_edac_pci_main_kobj_teardown
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"idx=%d\n"

	.comm	_EDAC_PCI_SYMLINK,4,2           ## @EDAC_PCI_SYMLINK
L_.str.1:                               ## @.str.1
	.asciz	"sysfs_create_link() returned err= %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edac_pci_create_sysfs          ; -- Begin function edac_pci_create_sysfs
	.p2align	2
_edac_pci_create_sysfs:                 ; @edac_pci_create_sysfs
	.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	x19, x0
	mov	x21, x0
	ldr	w2, [x21], #16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_edac_dbg
	bl	_edac_pci_main_kobj_setup
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	w1, [x19]
	mov	x0, x19
	bl	_edac_pci_create_instance_kobj
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x1, [x19, #8]
Lloh2:
	adrp	x8, _EDAC_PCI_SYMLINK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EDAC_PCI_SYMLINK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_sysfs_create_link
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #0
	mov	x2, x20
	bl	_edac_dbg
	mov	x0, x19
	bl	_edac_pci_unregister_sysfs_instance_kobj
LBB0_4:
	bl	_edac_pci_main_kobj_teardown
LBB0_5:
	mov	x0, x20
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"idx=%d\n"

	.comm	_EDAC_PCI_SYMLINK,4,2           ; @EDAC_PCI_SYMLINK
l_.str.1:                               ; @.str.1
	.asciz	"sysfs_create_link() returned err= %d\n"

.subsections_via_symbols
