	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_build_external_path    ## -- Begin function acpi_ns_build_external_path
	.p2align	4, 0x90
_acpi_ns_build_external_path:           ## @acpi_ns_build_external_path
	.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	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_ACPI_FUNCTION_ENTRY
	movq	_ACPI_NAME_SIZE@GOTPCREL(%rip), %r13
	cmpl	%ebx, (%r13)
	jge	LBB0_8
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movslq	%ebx, %rbx
	movb	$0, -1(%r15,%rbx)
	decq	%rbx
	movl	(%r13), %eax
	cmpl	%eax, %ebx
	jle	LBB0_6
## %bb.2:
	movq	_acpi_gbl_root_node@GOTPCREL(%rip), %rcx
	cmpq	%r12, (%rcx)
	je	LBB0_6
## %bb.3:
	movq	_ACPI_PATH_SEPARATOR@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	subl	%eax, %ebx
	movslq	%ebx, %rbx
	leaq	(%r15,%rbx), %rdi
	leaq	8(%r12), %rsi
	callq	_ACPI_MOVE_32_TO_32
	movq	(%r12), %r12
	movzbl	(%r14), %eax
	movb	%al, -1(%r15,%rbx)
	decq	%rbx
	movl	(%r13), %eax
	cmpl	%eax, %ebx
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_acpi_gbl_root_node@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	jne	LBB0_4
LBB0_6:
	movq	_AML_ROOT_PREFIX@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%r15,%rbx)
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.7:
	addl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%r15d, %edi
	callq	_ACPI_ERROR
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_AML_ROOT_PREFIX@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%r15)
	movb	$0, 1(%r15)
LBB0_9:
	movq	_AE_OK@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_NAME_SIZE,4,2             ## @ACPI_NAME_SIZE
	.comm	_AML_ROOT_PREFIX,1,0            ## @AML_ROOT_PREFIX
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_acpi_gbl_root_node,8,3         ## @acpi_gbl_root_node
	.comm	_ACPI_PATH_SEPARATOR,1,0        ## @ACPI_PATH_SEPARATOR
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_build_external_path    ; -- Begin function acpi_ns_build_external_path
	.p2align	2
_acpi_ns_build_external_path:           ; @acpi_ns_build_external_path
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_ACPI_FUNCTION_ENTRY
Lloh0:
	adrp	x22, _ACPI_NAME_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ACPI_NAME_SIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, w21
	b.ge	LBB0_6
; %bb.1:
	sxtw	x21, w21
	sub	x8, x21, #1
	strb	wzr, [x19, x8]
	ldr	w9, [x22]
Lloh2:
	adrp	x23, _acpi_gbl_root_node@GOTPAGE
Lloh3:
	ldr	x23, [x23, _acpi_gbl_root_node@GOTPAGEOFF]
	ldr	x10, [x23]
	cmp	w8, w9
	ccmp	x10, x20, #4, gt
	b.eq	LBB0_4
; %bb.2:
Lloh4:
	adrp	x24, _ACPI_PATH_SEPARATOR@GOTPAGE
Lloh5:
	ldr	x24, [x24, _ACPI_PATH_SEPARATOR@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x8, w8
	sub	x25, x8, w9, sxtw
	add	x0, x19, w25, sxtw
	add	x1, x20, #8
	bl	_ACPI_MOVE_32_TO_32
	ldr	x20, [x20]
	sub	x8, x25, #1
	ldrb	w9, [x24]
	strb	w9, [x19, x8]
	ldr	w9, [x22]
	ldr	x10, [x23]
	cmp	w8, w9
	ccmp	x20, x10, #4, gt
	b.ne	LBB0_3
LBB0_4:
Lloh6:
	adrp	x9, _AML_ROOT_PREFIX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AML_ROOT_PREFIX@GOTPAGEOFF]
	ldrb	w9, [x9]
	strb	w9, [x19, x8]
	cbz	w8, LBB0_7
; %bb.5:
	add	w0, w19, w21
	bl	_ACPI_ERROR
Lloh8:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh10:
	adrp	x8, _AML_ROOT_PREFIX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AML_ROOT_PREFIX@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x19]
	strb	wzr, [x19, #1]
LBB0_7:
Lloh12:
	adrp	x8, _AE_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_NAME_SIZE,4,2             ; @ACPI_NAME_SIZE
	.comm	_AML_ROOT_PREFIX,1,0            ; @AML_ROOT_PREFIX
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_acpi_gbl_root_node,8,3         ; @acpi_gbl_root_node
	.comm	_ACPI_PATH_SEPARATOR,1,0        ; @ACPI_PATH_SEPARATOR
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
.subsections_via_symbols
