	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_build_internal_name    ## -- Begin function acpi_ns_build_internal_name
	.p2align	4, 0x90
_acpi_ns_build_internal_name:           ## @acpi_ns_build_internal_name
	.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	%rdi, %r15
	movl	(%rdi), %r12d
	movq	8(%rdi), %r14
	movq	16(%rdi), %rbx
	movq	_ns_build_internal_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	cmpq	$0, 32(%r15)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.1:
	movb	$92, (%r14)
	movl	$1, %r13d
	cmpl	$2, %r12d
	jl	LBB0_11
## %bb.2:
	jne	LBB0_4
## %bb.3:
	movq	_AML_DUAL_NAME_PREFIX@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, 1(%rcx)
	leaq	2(%rcx), %r13
	jmp	LBB0_15
LBB0_5:
	cmpl	$0, 24(%r15)
	jle	LBB0_6
## %bb.7:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movb	$94, (%r14,%r13)
	incq	%r13
	movslq	24(%r15), %rax
	cmpq	%rax, %r13
	jl	LBB0_8
## %bb.9:
	cmpl	$2, %r12d
	jge	LBB0_12
LBB0_10:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_11:
	addq	%r14, %r13
	testl	%r12d, %r12d
	jne	LBB0_15
LBB0_27:
	movb	$0, (%r13)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT
	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
LBB0_4:
	movq	_AML_MULTI_NAME_PREFIX_OP@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, 1(%rcx)
	movb	%r12b, 2(%rcx)
	leaq	3(%rcx), %r13
	jmp	LBB0_15
LBB0_6:
	xorl	%r13d, %r13d
	cmpl	$2, %r12d
	jl	LBB0_10
LBB0_12:
	jne	LBB0_14
## %bb.13:
	movq	_AML_DUAL_NAME_PREFIX@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx,%r13)
	addq	%rcx, %r13
	incq	%r13
	jmp	LBB0_15
LBB0_14:
	movq	_AML_MULTI_NAME_PREFIX_OP@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx,%r13)
	movb	%r12b, 1(%rcx,%r13)
	addq	%rcx, %r13
	addq	$2, %r13
LBB0_15:
	movq	_ACPI_NAME_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=1
	movsbl	(%rbx), %edi
	callq	_acpi_ns_valid_path_separator
	testq	%rax, %rax
	je	LBB0_24
LBB0_26:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	addq	%rax, %r13
	decl	%r12d
	je	LBB0_27
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	testl	%eax, %eax
	jle	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=2
	movb	$95, (%r13,%r14)
LBB0_22:                                ##   in Loop: Header=BB0_18 Depth=2
	incq	%r14
	movslq	(%r15), %rax
	cmpq	%rax, %r14
	jge	LBB0_23
LBB0_18:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rbx), %edi
	callq	_acpi_ns_valid_path_separator
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movsbl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=2
	callq	_ACPI_TOUPPER
	movb	%al, (%r13,%r14)
	incq	%rbx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_ns_build_internal_name,4,2     ## @ns_build_internal_name
	.comm	_AML_DUAL_NAME_PREFIX,1,0       ## @AML_DUAL_NAME_PREFIX
	.comm	_AML_MULTI_NAME_PREFIX_OP,1,0   ## @AML_MULTI_NAME_PREFIX_OP
	.comm	_ACPI_NAME_SIZE,4,2             ## @ACPI_NAME_SIZE
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_ACPI_DB_EXEC,4,2               ## @ACPI_DB_EXEC
	.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_ns_build_internal_name    ; -- Begin function acpi_ns_build_internal_name
	.p2align	2
_acpi_ns_build_internal_name:           ; @acpi_ns_build_internal_name
	.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	x20, x0
	ldr	w21, [x0]
	ldp	x19, x22, [x0, #8]
Lloh0:
	adrp	x8, _ns_build_internal_name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ns_build_internal_name@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_3
; %bb.1:
	mov	w8, #92
	strb	w8, [x19]
	cmp	w21, #2
	b.ge	LBB0_9
; %bb.2:
	mov	w8, #1
	b	LBB0_7
LBB0_3:
	ldr	w8, [x20, #24]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.4:
	mov	x8, #0
	mov	w9, #94
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	strb	w9, [x19, x8]
	add	x8, x8, #1
	ldrsw	x10, [x20, #24]
	cmp	x8, x10
	b.lt	LBB0_5
; %bb.6:
	cmp	w21, #1
	b.gt	LBB0_13
LBB0_7:
	add	x20, x19, x8
	cbnz	w21, LBB0_16
LBB0_8:
	strb	wzr, [x20]
	mov	x0, x19
	bl	_ACPI_DEBUG_PRINT
Lloh3:
	adrp	x8, _AE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh5:
	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
	b	_return_ACPI_STATUS
LBB0_9:
	b.ne	LBB0_11
; %bb.10:
Lloh6:
	adrp	x8, _AML_DUAL_NAME_PREFIX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AML_DUAL_NAME_PREFIX@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x19, #1]
	add	x20, x19, #2
	b	LBB0_16
LBB0_11:
Lloh8:
	adrp	x8, _AML_MULTI_NAME_PREFIX_OP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AML_MULTI_NAME_PREFIX_OP@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x19, #1]
	strb	w21, [x19, #2]
	add	x20, x19, #3
	b	LBB0_16
LBB0_12:
	mov	x8, #0
	cmp	w21, #1
	b.le	LBB0_7
LBB0_13:
	cmp	w21, #2
	b.ne	LBB0_15
; %bb.14:
Lloh10:
	adrp	x9, _AML_DUAL_NAME_PREFIX@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AML_DUAL_NAME_PREFIX@GOTPAGEOFF]
	ldrb	w9, [x9]
	add	x20, x19, x8
	strb	w9, [x20], #1
	b	LBB0_16
LBB0_15:
Lloh12:
	adrp	x9, _AML_MULTI_NAME_PREFIX_OP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AML_MULTI_NAME_PREFIX_OP@GOTPAGEOFF]
	ldrb	w9, [x9]
	add	x8, x19, x8
	strb	w9, [x8]
	strb	w21, [x8, #1]
	add	x20, x8, #2
LBB0_16:
Lloh14:
	adrp	x23, _ACPI_NAME_SIZE@GOTPAGE
Lloh15:
	ldr	x23, [x23, _ACPI_NAME_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	w24, #95
Lloh16:
	adrp	x25, _AE_BAD_PARAMETER@GOTPAGE
Lloh17:
	ldr	x25, [x25, _AE_BAD_PARAMETER@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	ldrsb	w0, [x22]
	bl	_acpi_ns_valid_path_separator
	cbz	x0, LBB0_26
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x23]
	add	x20, x20, x8
	subs	w21, w21, #1
	b.eq	LBB0_8
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x26, #0
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=2
	strb	w24, [x20, x26]
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	add	x26, x26, #1
	ldrsw	x8, [x23]
	cmp	x26, x8
	b.ge	LBB0_17
LBB0_23:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x22]
	bl	_acpi_ns_valid_path_separator
	cbnz	x0, LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	ldrsb	w0, [x22]
	cbz	w0, LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=2
	bl	_ACPI_TOUPPER
	strb	w0, [x20, x26]
	add	x22, x22, #1
	b	LBB0_22
LBB0_26:                                ;   in Loop: Header=BB0_19 Depth=1
	ldrb	w8, [x22]
	cbz	w8, LBB0_18
; %bb.27:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w0, [x25]
	bl	_return_ACPI_STATUS
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ns_build_internal_name,4,2     ; @ns_build_internal_name
	.comm	_AML_DUAL_NAME_PREFIX,1,0       ; @AML_DUAL_NAME_PREFIX
	.comm	_AML_MULTI_NAME_PREFIX_OP,1,0   ; @AML_MULTI_NAME_PREFIX_OP
	.comm	_ACPI_NAME_SIZE,4,2             ; @ACPI_NAME_SIZE
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_ACPI_DB_EXEC,4,2               ; @ACPI_DB_EXEC
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
