	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_create_capabilities_sysfs
_pci_create_capabilities_sysfs:         ## @pci_create_capabilities_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_pcie_vpd_create_sysfs_dev_files
	movq	%rbx, %rdi
	callq	_pcie_aspm_create_sysfs_dev_files
	xorl	%r14d, %r14d
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.1:
	movq	_dev_attr_reset@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_create_file
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_pcie_aspm_remove_sysfs_dev_files
	movq	%rbx, %rdi
	callq	_pcie_vpd_remove_sysfs_dev_files
	movl	%r15d, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_attr_reset,4,2             ## @dev_attr_reset
	.no_dead_strip	_pci_create_capabilities_sysfs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_create_capabilities_sysfs
_pci_create_capabilities_sysfs:         ; @pci_create_capabilities_sysfs
	.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
	mov	x19, x0
	bl	_pcie_vpd_create_sysfs_dev_files
	mov	x0, x19
	bl	_pcie_aspm_create_sysfs_dev_files
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, _dev_attr_reset@GOTPAGE
Lloh1:
	ldr	x1, [x1, _dev_attr_reset@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_pcie_aspm_remove_sysfs_dev_files
	mov	x0, x19
	bl	_pcie_vpd_remove_sysfs_dev_files
	b	LBB0_4
LBB0_3:
	mov	w20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_attr_reset,4,2             ; @dev_attr_reset
	.no_dead_strip	_pci_create_capabilities_sysfs
.subsections_via_symbols
