	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edac_pci_main_kobj_setup
_edac_pci_main_kobj_setup:              ## @edac_pci_main_kobj_setup
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_edac_dbg
	movq	_edac_pci_sysfs_refcount@GOTPCREL(%rip), %rdi
	callq	_atomic_inc_return
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_edac_get_sysfs_subsys
	movq	%rax, %r14
	movq	_THIS_MODULE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	movq	_edac_pci_top_main_kobj@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	(%r14), %rdx
	movq	_ktype_edac_pci_main_kobj@GOTPCREL(%rip), %rsi
	leaq	L_.str.3(%rip), %rcx
	movl	%eax, %edi
	callq	_kobject_init_and_add
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_edac_dbg
	movl	(%r12), %edi
	callq	_kfree
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_edac_dbg
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_edac_dbg
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	(%r15), %edi
	callq	_module_put
LBB0_8:
	movq	_edac_pci_sysfs_refcount@GOTPCREL(%rip), %rdi
	callq	_atomic_dec
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	(%r12), %edi
	movq	_KOBJ_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kobject_uevent
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_edac_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_edac_pci_sysfs_refcount,4,2    ## @edac_pci_sysfs_refcount
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
L_.str.1:                               ## @.str.1
	.asciz	"try_module_get() failed\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_edac_pci_top_main_kobj,4,2     ## @edac_pci_top_main_kobj
L_.str.2:                               ## @.str.2
	.asciz	"Failed to allocate\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ktype_edac_pci_main_kobj,4,2   ## @ktype_edac_pci_main_kobj
L_.str.3:                               ## @.str.3
	.asciz	"pci"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to register '.../edac/pci'\n"

	.comm	_KOBJ_ADD,4,2                   ## @KOBJ_ADD
L_.str.5:                               ## @.str.5
	.asciz	"Registered '.../edac/pci' kobject\n"

	.no_dead_strip	_edac_pci_main_kobj_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edac_pci_main_kobj_setup
_edac_pci_main_kobj_setup:              ; @edac_pci_main_kobj_setup
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_edac_dbg
Lloh2:
	adrp	x0, _edac_pci_sysfs_refcount@GOTPAGE
Lloh3:
	ldr	x0, [x0, _edac_pci_sysfs_refcount@GOTPAGEOFF]
	bl	_atomic_inc_return
	mov	w19, #0
	cmp	w0, #1
	b.ne	LBB0_9
; %bb.1:
	bl	_edac_get_sysfs_subsys
	mov	x19, x0
Lloh4:
	adrp	x20, _THIS_MODULE@GOTPAGE
Lloh5:
	ldr	x20, [x20, _THIS_MODULE@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_try_module_get
	cbz	w0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
Lloh9:
	adrp	x21, _edac_pci_top_main_kobj@GOTPAGE
Lloh10:
	ldr	x21, [x21, _edac_pci_top_main_kobj@GOTPAGEOFF]
	str	w0, [x21]
	cbz	w0, LBB0_6
; %bb.3:
	ldr	x2, [x19]
Lloh11:
	adrp	x1, _ktype_edac_pci_main_kobj@GOTPAGE
Lloh12:
	ldr	x1, [x1, _ktype_edac_pci_main_kobj@GOTPAGEOFF]
Lloh13:
	adrp	x3, l_.str.3@PAGE
Lloh14:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_kobject_init_and_add
	mov	x19, x0
	cbz	w0, LBB0_10
; %bb.4:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_edac_dbg
	ldr	w0, [x21]
	bl	_kfree
	b	LBB0_7
LBB0_5:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_edac_dbg
Lloh19:
	adrp	x8, _ENODEV@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_8
LBB0_6:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_edac_dbg
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_7:
	ldr	w0, [x20]
	bl	_module_put
LBB0_8:
Lloh27:
	adrp	x0, _edac_pci_sysfs_refcount@GOTPAGE
Lloh28:
	ldr	x0, [x0, _edac_pci_sysfs_refcount@GOTPAGEOFF]
	bl	_atomic_dec
LBB0_9:
	mov	x0, x19
	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_10:
	ldr	w0, [x21]
Lloh29:
	adrp	x8, _KOBJ_ADD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _KOBJ_ADD@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_kobject_uevent
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_edac_dbg
	b	LBB0_9
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_edac_pci_sysfs_refcount,4,2    ; @edac_pci_sysfs_refcount
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
l_.str.1:                               ; @.str.1
	.asciz	"try_module_get() failed\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_edac_pci_top_main_kobj,4,2     ; @edac_pci_top_main_kobj
l_.str.2:                               ; @.str.2
	.asciz	"Failed to allocate\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ktype_edac_pci_main_kobj,4,2   ; @ktype_edac_pci_main_kobj
l_.str.3:                               ; @.str.3
	.asciz	"pci"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to register '.../edac/pci'\n"

	.comm	_KOBJ_ADD,4,2                   ; @KOBJ_ADD
l_.str.5:                               ; @.str.5
	.asciz	"Registered '.../edac/pci' kobject\n"

	.no_dead_strip	_edac_pci_main_kobj_setup
.subsections_via_symbols
