	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_create_index_field     ## -- Begin function acpi_ds_create_index_field
	.p2align	4, 0x90
_acpi_ds_create_index_field:            ## @acpi_ds_create_index_field
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	_ds_create_index_field@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movq	24(%rbx), %r12
	movl	(%r15), %edi
	movl	16(%r12), %esi
	movq	_ACPI_TYPE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ACPI_IMODE_EXECUTE@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	_ACPI_NS_SEARCH_PARENT@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	leaq	-52(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r15, %r9
	callq	_acpi_ns_lookup
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	16(%r12), %edi
	movl	%ebx, %esi
	callq	_ACPI_ERROR_NAMESPACE
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	(%r12), %r12
	movl	(%r15), %edi
	movl	16(%r12), %esi
	movq	_ACPI_TYPE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	movl	(%r13), %r8d
	leaq	-56(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r15, %r9
	callq	_acpi_ns_lookup
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	16(%r12), %edi
	movl	%ebx, %esi
	callq	_ACPI_ERROR_NAMESPACE
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movq	(%r12), %rax
	movq	8(%rax), %rcx
	movq	%rcx, -64(%rbp)
	movq	_ACPI_TYPE_LOCAL_INDEX_FIELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -72(%rbp)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -80(%rbp)
	movq	(%rax), %rdx
	leaq	-80(%rbp), %rdi
	movq	%r15, %rsi
	callq	_acpi_ds_get_field_names
	movl	%eax, %edi
	callq	_return_ACPI_STATUS
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_create_index_field,4,2      ## @ds_create_index_field
	.comm	_ACPI_TYPE_ANY,4,2              ## @ACPI_TYPE_ANY
	.comm	_ACPI_IMODE_EXECUTE,4,2         ## @ACPI_IMODE_EXECUTE
	.comm	_ACPI_NS_SEARCH_PARENT,4,2      ## @ACPI_NS_SEARCH_PARENT
	.comm	_ACPI_TYPE_LOCAL_INDEX_FIELD,4,2 ## @ACPI_TYPE_LOCAL_INDEX_FIELD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_create_index_field     ; -- Begin function acpi_ds_create_index_field
	.p2align	2
_acpi_ds_create_index_field:            ; @acpi_ds_create_index_field
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ds_create_index_field@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_create_index_field@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_ACPI_FUNCTION_TRACE_PTR
	ldr	x22, [x21, #24]
	ldr	w0, [x19]
	ldr	w1, [x22, #16]
Lloh3:
	adrp	x23, _ACPI_TYPE_ANY@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ACPI_TYPE_ANY@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh5:
	adrp	x24, _ACPI_IMODE_EXECUTE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ACPI_IMODE_EXECUTE@GOTPAGEOFF]
	ldr	w3, [x24]
Lloh7:
	adrp	x25, _ACPI_NS_SEARCH_PARENT@GOTPAGE
Lloh8:
	ldr	x25, [x25, _ACPI_NS_SEARCH_PARENT@GOTPAGEOFF]
	ldr	w4, [x25]
	mov	x26, sp
	add	x6, x26, #28
	mov	x5, x19
	bl	_acpi_ns_lookup
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x22, #16]
	mov	x1, x21
	bl	_ACPI_ERROR_NAMESPACE
	mov	x0, x21
	bl	_return_ACPI_STATUS
LBB0_2:
	ldr	x22, [x22]
	ldr	w0, [x19]
	ldr	w1, [x22, #16]
	ldr	w2, [x23]
	ldr	w3, [x24]
	ldr	w4, [x25]
	add	x6, x26, #24
	mov	x5, x19
	bl	_acpi_ns_lookup
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x22, #16]
	mov	x1, x21
	bl	_ACPI_ERROR_NAMESPACE
	mov	x0, x21
	bl	_return_ACPI_STATUS
LBB0_4:
	ldr	x8, [x22]
	ldr	x9, [x8, #8]
	str	x9, [sp, #16]
Lloh9:
	adrp	x9, _ACPI_TYPE_LOCAL_INDEX_FIELD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACPI_TYPE_LOCAL_INDEX_FIELD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	str	w9, [sp, #8]
	str	x20, [sp]
	ldr	x2, [x8]
	mov	x0, sp
	mov	x1, x19
	bl	_acpi_ds_get_field_names
	bl	_return_ACPI_STATUS
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_create_index_field,4,2      ; @ds_create_index_field
	.comm	_ACPI_TYPE_ANY,4,2              ; @ACPI_TYPE_ANY
	.comm	_ACPI_IMODE_EXECUTE,4,2         ; @ACPI_IMODE_EXECUTE
	.comm	_ACPI_NS_SEARCH_PARENT,4,2      ; @ACPI_NS_SEARCH_PARENT
	.comm	_ACPI_TYPE_LOCAL_INDEX_FIELD,4,2 ; @ACPI_TYPE_LOCAL_INDEX_FIELD
.subsections_via_symbols
