	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_root_hv_pci_bus
_create_root_hv_pci_bus:                ## @create_root_hv_pci_bus
	.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, %rbx
	movq	16(%rdi), %rdi
	leaq	36(%rbx), %rcx
	leaq	32(%rbx), %r8
	movq	_hv_pcifront_ops@GOTPCREL(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_pci_create_root_bus
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	24(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	16(%rbx), %rax
	movq	%rax, 24(%rbx)
	xorl	%eax, %eax
	callq	_pci_lock_rescan_remove
	movq	8(%rbx), %rdi
	callq	_pci_scan_child_bus
	movq	8(%rbx), %rdi
	callq	_pci_bus_assign_resources
	movq	%rbx, %rdi
	callq	_hv_pci_assign_slots
	movq	8(%rbx), %rdi
	callq	_pci_bus_add_devices
	xorl	%eax, %eax
	callq	_pci_unlock_rescan_remove
	movq	_hv_pcibus_installed@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hv_pcifront_ops,4,2            ## @hv_pcifront_ops
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_hv_pcibus_installed,4,2        ## @hv_pcibus_installed
	.no_dead_strip	_create_root_hv_pci_bus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_root_hv_pci_bus
_create_root_hv_pci_bus:                ; @create_root_hv_pci_bus
	.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
	ldr	x0, [x0, #16]
	add	x3, x19, #36
	add	x4, x19, #32
Lloh0:
	adrp	x2, _hv_pcifront_ops@GOTPAGE
Lloh1:
	ldr	x2, [x2, _hv_pcifront_ops@GOTPAGEOFF]
	mov	w1, #0
	bl	_pci_create_root_bus
	str	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	mov	x9, x19
	str	x8, [x9, #24]!
	str	x9, [x0]
	bl	_pci_lock_rescan_remove
	ldr	x0, [x19, #8]
	bl	_pci_scan_child_bus
	ldr	x0, [x19, #8]
	bl	_pci_bus_assign_resources
	mov	x0, x19
	bl	_hv_pci_assign_slots
	ldr	x0, [x19, #8]
	bl	_pci_bus_add_devices
	bl	_pci_unlock_rescan_remove
	mov	w0, #0
Lloh2:
	adrp	x8, _hv_pcibus_installed@GOTPAGE
Lloh3:
	ldr	x8, [x8, _hv_pcibus_installed@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_hv_pcifront_ops,4,2            ; @hv_pcifront_ops
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_hv_pcibus_installed,4,2        ; @hv_pcibus_installed
	.no_dead_strip	_create_root_hv_pci_bus
.subsections_via_symbols
