	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edac_pci_create_instance_kobj
_edac_pci_create_instance_kobj:         ## @edac_pci_create_instance_kobj
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_edac_dbg
	movq	_edac_pci_top_main_kobj@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_kobject_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r12), %edx
	movq	_ktype_pci_instance@GOTPCREL(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	movl	%r14d, %r8d
	callq	_kobject_init_and_add
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movl	$2, %edi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_edac_dbg
	movl	(%r12), %edi
	callq	_kobject_put
	jmp	LBB0_5
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_KOBJ_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_kobject_uevent
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$1, %edi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_edac_dbg
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_edac_pci_top_main_kobj,4,2     ## @edac_pci_top_main_kobj
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ktype_pci_instance,4,2         ## @ktype_pci_instance
L_.str.1:                               ## @.str.1
	.asciz	"pci%d"

L_.str.2:                               ## @.str.2
	.asciz	"failed to register instance pci%d\n"

	.comm	_KOBJ_ADD,4,2                   ## @KOBJ_ADD
L_.str.3:                               ## @.str.3
	.asciz	"Register instance 'pci%d' kobject\n"

	.no_dead_strip	_edac_pci_create_instance_kobj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edac_pci_create_instance_kobj
_edac_pci_create_instance_kobj:         ; @edac_pci_create_instance_kobj
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_edac_dbg
Lloh2:
	adrp	x22, _edac_pci_top_main_kobj@GOTPAGE
Lloh3:
	ldr	x22, [x22, _edac_pci_top_main_kobj@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_kobject_get
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w2, [x22]
Lloh4:
	adrp	x1, _ktype_pci_instance@GOTPAGE
Lloh5:
	ldr	x1, [x1, _ktype_pci_instance@GOTPAGEOFF]
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x4, x19
	bl	_kobject_init_and_add
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.2:
	str	x19, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #2
	bl	_edac_dbg
	ldr	w0, [x22]
	bl	_kobject_put
	b	LBB0_5
LBB0_3:
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x8, _KOBJ_ADD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KOBJ_ADD@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_kobject_uevent
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	str	x19, [sp]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_edac_dbg
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_edac_pci_top_main_kobj,4,2     ; @edac_pci_top_main_kobj
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ktype_pci_instance,4,2         ; @ktype_pci_instance
l_.str.1:                               ; @.str.1
	.asciz	"pci%d"

l_.str.2:                               ; @.str.2
	.asciz	"failed to register instance pci%d\n"

	.comm	_KOBJ_ADD,4,2                   ; @KOBJ_ADD
l_.str.3:                               ; @.str.3
	.asciz	"Register instance 'pci%d' kobject\n"

	.no_dead_strip	_edac_pci_create_instance_kobj
.subsections_via_symbols
