	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_rs_get_pci_routing_table_length ## -- Begin function acpi_rs_get_pci_routing_table_length
	.p2align	4, 0x90
_acpi_rs_get_pci_routing_table_length:  ## @acpi_rs_get_pci_routing_table_length
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_rs_get_pci_routing_table_length@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movq	(%rbx), %r15
	testq	%r15, %r15
	jle	LBB0_42
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r12
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rax), %edi
	callq	_acpi_ns_get_pathname_length
	movq	%rax, %rdi
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	%rbx, %rdi
	callq	_ACPI_ROUND_UP_TO_64BIT
	movq	%rax, %rbx
	incq	%r14
	cmpq	%r14, %r15
	je	LBB0_41
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r14,8), %r13
	testq	%r13, %r13
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	movq	_ACPI_TYPE_PACKAGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_AE_AML_OPERAND_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rax
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_39
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_ACPI_TYPE_STRING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	_ACPI_TYPE_LOCAL_REFERENCE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_ACPI_REFCLASS_NAME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rdx), %rdx
	cmpq	%rdx, %rdi
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rdx, %rsi
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r8, %rdx
	jne	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, %rdx
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rax
	xorl	%edx, %edx
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%rdx, %rdx
	sete	%dl
	jne	LBB0_38
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rdx), %rdx
	cmpq	%rdx, %rdi
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rdx, %rsi
	jne	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r8, %rdx
	jne	LBB0_22
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, %rdx
	jmp	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rax
	xorl	%edx, %edx
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%rdx, %rdx
	sete	%dl
	jne	LBB0_38
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_30
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rdx), %rdx
	cmpq	%rdx, %rdi
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rdx, %rsi
	jne	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r8, %rdx
	jne	LBB0_30
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, %rdx
	jmp	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rax
	xorl	%edx, %edx
LBB0_31:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%rdx, %rdx
	sete	%dl
	jne	LBB0_38
## %bb.32:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_36
## %bb.33:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rdx), %rdx
	cmpq	%rdx, %rdi
	je	LBB0_37
## %bb.34:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rdx, %rsi
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r8, %rdx
	je	LBB0_37
LBB0_36:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rax
	xorl	%ecx, %ecx
LBB0_37:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%rcx, %rcx
	sete	%dl
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$8, %edi
	testb	%dl, %dl
	jne	LBB0_3
LBB0_39:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	_ACPI_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jne	LBB0_2
## %bb.40:                              ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdi
	jmp	LBB0_3
LBB0_41:
	addq	$4, %rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_43
LBB0_42:
	movl	$4, %ebx
LBB0_43:
	movq	%rbx, (%r14)
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rs_get_pci_routing_table_length,4,2 ## @rs_get_pci_routing_table_length
	.comm	_ACPI_TYPE_PACKAGE,8,3          ## @ACPI_TYPE_PACKAGE
	.comm	_AE_AML_OPERAND_TYPE,4,2        ## @AE_AML_OPERAND_TYPE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_ACPI_TYPE_STRING,8,3           ## @ACPI_TYPE_STRING
	.comm	_ACPI_TYPE_LOCAL_REFERENCE,8,3  ## @ACPI_TYPE_LOCAL_REFERENCE
	.comm	_ACPI_REFCLASS_NAME,8,3         ## @ACPI_REFCLASS_NAME
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_AE_OK,4,2                      ## @AE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_rs_get_pci_routing_table_length ; -- Begin function acpi_rs_get_pci_routing_table_length
	.p2align	2
_acpi_rs_get_pci_routing_table_length:  ; @acpi_rs_get_pci_routing_table_length
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _rs_get_pci_routing_table_length@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rs_get_pci_routing_table_length@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	ldr	x22, [x21]
	cmp	x22, #1
	b.lt	LBB0_36
; %bb.1:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x20, #0
	ldr	x21, [x21, #8]
Lloh3:
	adrp	x23, _AE_AML_OPERAND_TYPE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _AE_AML_OPERAND_TYPE@GOTPAGEOFF]
Lloh5:
	adrp	x24, _FALSE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
Lloh7:
	adrp	x25, _ACPI_TYPE_STRING@GOTPAGE
Lloh8:
	ldr	x25, [x25, _ACPI_TYPE_STRING@GOTPAGEOFF]
Lloh9:
	adrp	x27, _ACPI_REFCLASS_NAME@GOTPAGE
Lloh10:
	ldr	x27, [x27, _ACPI_REFCLASS_NAME@GOTPAGEOFF]
Lloh11:
	adrp	x28, _TRUE@GOTPAGE
Lloh12:
	ldr	x28, [x28, _TRUE@GOTPAGEOFF]
Lloh13:
	adrp	x19, _ACPI_TYPE_PACKAGE@GOTPAGE
Lloh14:
	ldr	x19, [x19, _ACPI_TYPE_PACKAGE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x8, #8]
	bl	_acpi_ns_get_pathname_length
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x0, x20
	bl	_ACPI_ROUND_UP_TO_64BIT
	mov	x20, x0
	add	x21, x21, #8
	subs	x22, x22, #1
	b.eq	LBB0_35
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x21]
	cbz	x26, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x19]
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x23]
	bl	_return_ACPI_STATUS
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #8]
	ldr	x9, [x24]
	cbnz	x9, LBB0_33
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x25]
Lloh15:
	adrp	x9, _ACPI_TYPE_LOCAL_REFERENCE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ACPI_TYPE_LOCAL_REFERENCE@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x9]
	ldr	x11, [x27]
	ldr	x9, [x28]
	ldr	x13, [x8]
	cbz	x13, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x13]
	cmp	x12, x13
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, x9
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x10, x13
	ccmp	x13, x11, #0, eq
	mov	x14, x9
	b.eq	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, #0
	add	x8, x8, #8
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x14, #0
	cset	w13, eq
	cbnz	x14, LBB0_26
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x8]
	cbz	x13, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x13]
	cmp	x12, x13
	b.eq	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x10, x13
	ccmp	x13, x11, #0, eq
	b.eq	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, #0
	add	x8, x8, #8
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, x9
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x14, #0
	cset	w13, eq
	cbnz	x14, LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x8]
	cbz	x13, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x13]
	cmp	x12, x13
	b.eq	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x10, x13
	ccmp	x13, x11, #0, eq
	b.eq	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, #0
	add	x8, x8, #8
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, x9
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x14, #0
	cset	w13, eq
	cbz	x14, LBB0_28
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	tbz	w13, #0, LBB0_33
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #8
	b	LBB0_3
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x8]
	cbz	x13, LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x13]
	cmp	x12, x13
	b.eq	LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x10, x13
	ccmp	x13, x11, #0, eq
	b.eq	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x9, #0
	add	x8, x8, #8
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x9, #0
	cset	w13, eq
	tbnz	w13, #0, LBB0_27
LBB0_33:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8]
	ldr	x9, [x8]
	ldr	x10, [x25]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.34:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x9, #1
	b	LBB0_3
LBB0_35:
	add	x8, x20, #4
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_37
LBB0_36:
	mov	w8, #4
LBB0_37:
	str	x8, [x19]
Lloh18:
	adrp	x8, _AE_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_return_ACPI_STATUS
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_rs_get_pci_routing_table_length,4,2 ; @rs_get_pci_routing_table_length
	.comm	_ACPI_TYPE_PACKAGE,8,3          ; @ACPI_TYPE_PACKAGE
	.comm	_AE_AML_OPERAND_TYPE,4,2        ; @AE_AML_OPERAND_TYPE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_ACPI_TYPE_STRING,8,3           ; @ACPI_TYPE_STRING
	.comm	_ACPI_TYPE_LOCAL_REFERENCE,8,3  ; @ACPI_TYPE_LOCAL_REFERENCE
	.comm	_ACPI_REFCLASS_NAME,8,3         ; @ACPI_REFCLASS_NAME
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
