	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ev_is_pci_root_bridge
_acpi_ev_is_pci_root_bridge:            ## @acpi_ev_is_pci_root_bridge
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rsi
	callq	_acpi_ut_execute_HID
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	movq	_FALSE@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	-48(%rbp), %rax
	movl	16(%rax), %edi
	callq	_acpi_ut_is_pci_root_bridge
	movq	%rax, %r14
	movq	-48(%rbp), %rdi
	callq	_ACPI_FREE
	movq	_TRUE@GOTPCREL(%rip), %r12
	testq	%r14, %r14
	je	LBB0_3
LBB0_10:
	movq	%r12, %r15
	jmp	LBB0_11
LBB0_3:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_acpi_ut_execute_CID
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movq	-40(%rbp), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_8
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_acpi_ut_is_pci_root_bridge
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movq	-40(%rbp), %rdi
	cmpq	(%rdi), %rbx
	jb	LBB0_6
LBB0_8:
	callq	_ACPI_FREE
LBB0_11:
	movq	(%r15), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-40(%rbp), %rdi
	callq	_ACPI_FREE
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_acpi_ev_is_pci_root_bridge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ev_is_pci_root_bridge
_acpi_ev_is_pci_root_bridge:            ; @acpi_ev_is_pci_root_bridge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	add	x1, sp, #8
	bl	_acpi_ut_execute_HID
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #16]
	bl	_acpi_ut_is_pci_root_bridge
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_ACPI_FREE
	cbz	x20, LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_4:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	mov	x1, sp
	mov	x0, x19
	bl	_acpi_ut_execute_CID
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_1
; %bb.6:
	ldr	x0, [sp]
	ldr	x8, [x0]
	cbz	x8, LBB0_10
; %bb.7:
	mov	x19, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0, #8]
	ldr	w0, [x8, x19, lsl #2]
	bl	_acpi_ut_is_pci_root_bridge
	cbnz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x19, x19, #1
	ldr	x0, [sp]
	ldr	x8, [x0]
	cmp	x19, x8
	b.lo	LBB0_8
LBB0_10:
	bl	_ACPI_FREE
	b	LBB0_1
LBB0_11:
	ldr	x0, [sp]
	bl	_ACPI_FREE
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_acpi_ev_is_pci_root_bridge
.subsections_via_symbols
