	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_concat_template        ## -- Begin function acpi_ex_concat_template
	.p2align	4, 0x90
_acpi_ex_concat_template:               ## @acpi_ex_concat_template
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_ex_concat_template@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_acpi_ut_get_resource_end_tag
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	-48(%rbp), %rdi
	movq	(%r15), %rsi
	callq	_ACPI_PTR_DIFF
	movl	%eax, %r13d
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_acpi_ut_get_resource_end_tag
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi
	movq	(%r14), %rsi
	callq	_ACPI_PTR_DIFF
	movl	%eax, %r12d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	addl	%r13d, %r14d
	leal	(%r12,%r13), %edi
	addl	$4, %edi
	callq	_acpi_ut_create_buffer_object
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_6:
	movq	(%rbx), %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_ACPI_MEMCPY
	movslq	%r13d, %rax
	leaq	(%r15,%rax,4), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movl	%r12d, %edx
	callq	_ACPI_MEMCPY
	leal	3(%r14), %eax
	cltq
	movl	$0, (%r15,%rax,4)
	movq	_ACPI_RESOURCE_NAME_END_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	$1, %eax
	addl	$2, %r14d
	movslq	%r14d, %rcx
	movl	%eax, (%r15,%rcx,4)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ex_concat_template,4,2         ## @ex_concat_template
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_ACPI_RESOURCE_NAME_END_TAG,4,2 ## @ACPI_RESOURCE_NAME_END_TAG
	.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_ex_concat_template        ; -- Begin function acpi_ex_concat_template
	.p2align	2
_acpi_ex_concat_template:               ; @acpi_ex_concat_template
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ex_concat_template@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ex_concat_template@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	add	x1, sp, #8
	mov	x0, x21
	bl	_acpi_ut_get_resource_end_tag
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_return_ACPI_STATUS
LBB0_2:
	ldr	x0, [sp, #8]
	ldr	x1, [x21]
	bl	_ACPI_PTR_DIFF
	mov	x22, x0
	add	x1, sp, #8
	mov	x0, x20
	bl	_acpi_ut_get_resource_end_tag
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x23
	bl	_return_ACPI_STATUS
LBB0_4:
	ldr	x0, [sp, #8]
	ldr	x1, [x20]
	bl	_ACPI_PTR_DIFF
	mov	x24, x0
	add	w26, w0, w22
	add	w0, w26, #4
	bl	_acpi_ut_create_buffer_object
	mov	x23, x0
	cbnz	x0, LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_6:
	ldr	x25, [x23]
	ldr	x1, [x21]
	mov	x0, x25
	mov	x2, x22
	bl	_ACPI_MEMCPY
	add	x0, x25, w22, sxtw #2
	ldr	x1, [x20]
	mov	x2, x24
	bl	_ACPI_MEMCPY
	add	w8, w26, #3
	str	wzr, [x25, w8, sxtw #2]
Lloh6:
	adrp	x8, _ACPI_RESOURCE_NAME_END_TAG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACPI_RESOURCE_NAME_END_TAG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w8, w8, #0x1
	add	w9, w26, #2
	str	w8, [x25, w9, sxtw #2]
	str	x23, [x19]
Lloh9:
	adrp	x8, _AE_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ex_concat_template,4,2         ; @ex_concat_template
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_ACPI_RESOURCE_NAME_END_TAG,4,2 ; @ACPI_RESOURCE_NAME_END_TAG
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
