	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_method_data_get_node   ## -- Begin function acpi_ds_method_data_get_node
	.p2align	4, 0x90
_acpi_ds_method_data_get_node:          ## @acpi_ds_method_data_get_node
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	_ds_method_data_get_node@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	cmpl	$129, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$128, %ebx
	jne	LBB0_8
## %bb.2:
	movq	_ACPI_METHOD_MAX_LOCAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	cmpq	%r12, %rdi
	jae	LBB0_4
## %bb.3:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_ERROR
	movq	_AE_AML_INVALID_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	shlq	$2, %r12
	addq	8(%r15), %r12
	movq	%r12, (%r14)
	jmp	LBB0_9
LBB0_5:
	movq	_ACPI_METHOD_MAX_ARG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	cmpq	%r12, %rdi
	jae	LBB0_7
## %bb.6:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_ERROR
	movq	_AE_AML_INVALID_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_7:
	shlq	$2, %r12
	addq	(%r15), %r12
	movq	%r12, (%r14)
	jmp	LBB0_9
LBB0_8:
	movl	%ebx, %edi
	callq	_ACPI_ERROR
	movq	_AE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_9:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_method_data_get_node,4,2    ## @ds_method_data_get_node
	.comm	_ACPI_METHOD_MAX_LOCAL,8,3      ## @ACPI_METHOD_MAX_LOCAL
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_AML_INVALID_INDEX,4,2       ## @AE_AML_INVALID_INDEX
	.comm	_ACPI_METHOD_MAX_ARG,8,3        ## @ACPI_METHOD_MAX_ARG
	.comm	_AE_TYPE,4,2                    ## @AE_TYPE
	.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_ds_method_data_get_node   ; -- Begin function acpi_ds_method_data_get_node
	.p2align	2
_acpi_ds_method_data_get_node:          ; @acpi_ds_method_data_get_node
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _ds_method_data_get_node@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_method_data_get_node@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	cmp	w22, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w22, #128
	b.ne	LBB0_9
; %bb.2:
Lloh3:
	adrp	x8, _ACPI_METHOD_MAX_LOCAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPI_METHOD_MAX_LOCAL@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	cmp	x0, x20
	b.hs	LBB0_4
; %bb.3:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_ERROR
Lloh6:
	adrp	x8, _AE_AML_INVALID_INDEX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AE_AML_INVALID_INDEX@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_4:
	ldr	x8, [x21, #8]
	b	LBB0_8
LBB0_5:
Lloh9:
	adrp	x8, _ACPI_METHOD_MAX_ARG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ACPI_METHOD_MAX_ARG@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	cmp	x0, x20
	b.hs	LBB0_7
; %bb.6:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_ERROR
Lloh12:
	adrp	x8, _AE_AML_INVALID_INDEX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AE_AML_INVALID_INDEX@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_7:
	ldr	x8, [x21]
LBB0_8:
	add	x8, x8, x20, lsl #2
	str	x8, [x19]
	b	LBB0_10
LBB0_9:
	mov	x0, x22
	bl	_ACPI_ERROR
Lloh15:
	adrp	x8, _AE_TYPE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AE_TYPE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_10:
Lloh18:
	adrp	x8, _AE_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_method_data_get_node,4,2    ; @ds_method_data_get_node
	.comm	_ACPI_METHOD_MAX_LOCAL,8,3      ; @ACPI_METHOD_MAX_LOCAL
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_AML_INVALID_INDEX,4,2       ; @AE_AML_INVALID_INDEX
	.comm	_ACPI_METHOD_MAX_ARG,8,3        ; @ACPI_METHOD_MAX_ARG
	.comm	_AE_TYPE,4,2                    ; @AE_TYPE
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
