	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlpar_sysfs_init               ## -- Begin function dlpar_sysfs_init
	.p2align	4, 0x90
_dlpar_sysfs_init:                      ## @dlpar_sysfs_init
	.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	_DLPAR_KOBJ_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_pci_slots_kset@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_kobject_create_and_add
	movq	_dlpar_kobj@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_dlpar_attr_group@GOTPCREL(%rip), %rsi
	movl	%eax, %edi
	callq	_sysfs_create_group
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_kobject_put
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DLPAR_KOBJ_NAME,4,2            ## @DLPAR_KOBJ_NAME
	.comm	_pci_slots_kset,8,3             ## @pci_slots_kset
	.comm	_dlpar_kobj,4,2                 ## @dlpar_kobj
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_dlpar_attr_group,4,2           ## @dlpar_attr_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlpar_sysfs_init               ; -- Begin function dlpar_sysfs_init
	.p2align	2
_dlpar_sysfs_init:                      ; @dlpar_sysfs_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _DLPAR_KOBJ_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DLPAR_KOBJ_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _pci_slots_kset@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pci_slots_kset@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	bl	_kobject_create_and_add
Lloh6:
	adrp	x20, _dlpar_kobj@GOTPAGE
Lloh7:
	ldr	x20, [x20, _dlpar_kobj@GOTPAGEOFF]
	str	w0, [x20]
	cbz	w0, LBB0_3
; %bb.1:
Lloh8:
	adrp	x1, _dlpar_attr_group@GOTPAGE
Lloh9:
	ldr	x1, [x1, _dlpar_attr_group@GOTPAGEOFF]
	bl	_sysfs_create_group
	mov	x19, x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x20]
	bl	_kobject_put
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_DLPAR_KOBJ_NAME,4,2            ; @DLPAR_KOBJ_NAME
	.comm	_pci_slots_kset,8,3             ; @pci_slots_kset
	.comm	_dlpar_kobj,4,2                 ; @dlpar_kobj
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_dlpar_attr_group,4,2           ; @dlpar_attr_group
.subsections_via_symbols
