	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_get_region_arguments   ## -- Begin function acpi_ds_get_region_arguments
	.p2align	4, 0x90
_acpi_ds_get_region_arguments:          ## @acpi_ds_get_region_arguments
	.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, %r14
	movq	_ds_get_region_arguments@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movq	_AOPOBJ_DATA_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_2
## %bb.1:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	%r14, %rdi
	callq	_acpi_ns_get_secondary_object
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_AE_NOT_EXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movq	24(%r14), %r15
	movq	_ACPI_TYPE_REGION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_acpi_ut_display_init_pathname
	movl	%eax, %edi
	callq	_ACPI_DEBUG_EXEC
	movq	%r15, %rdi
	callq	_acpi_ut_get_node_name
	movl	(%rbx), %edi
	callq	_ACPI_DEBUG_PRINT
	movl	4(%r15), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%r15, %rdi
	callq	_acpi_ds_execute_arguments
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_6:
	movl	20(%r14), %r13d
	movl	8(%r14), %r12d
	movl	16(%r14), %ebx
	movq	%r15, %rdi
	callq	_acpi_ut_get_node_name
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_acpi_os_validate_address
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%r15), %edi
	callq	_ACPI_EXCEPTION
	movq	_AOPOBJ_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_get_region_arguments,4,2    ## @ds_get_region_arguments
	.comm	_AOPOBJ_DATA_VALID,4,2          ## @AOPOBJ_DATA_VALID
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_AE_NOT_EXIST,4,2               ## @AE_NOT_EXIST
	.comm	_ACPI_TYPE_REGION,4,2           ## @ACPI_TYPE_REGION
	.comm	_ACPI_DB_EXEC,4,2               ## @ACPI_DB_EXEC
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AOPOBJ_INVALID,4,2             ## @AOPOBJ_INVALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_get_region_arguments   ; -- Begin function acpi_ds_get_region_arguments
	.p2align	2
_acpi_ds_get_region_arguments:          ; @acpi_ds_get_region_arguments
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ds_get_region_arguments@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_get_region_arguments@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ACPI_FUNCTION_TRACE_PTR
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _AOPOBJ_DATA_VALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AOPOBJ_DATA_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x24, _AE_OK@GOTPAGE
Lloh7:
	ldr	x24, [x24, _AE_OK@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x24]
	bl	_return_ACPI_STATUS
LBB0_2:
	mov	x0, x19
	bl	_acpi_ns_get_secondary_object
	mov	x21, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _AE_NOT_EXIST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AE_NOT_EXIST@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_4:
	ldr	x20, [x19, #24]
Lloh11:
	adrp	x8, _ACPI_TYPE_REGION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ACPI_TYPE_REGION@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, #0
	bl	_acpi_ut_display_init_pathname
	bl	_ACPI_DEBUG_EXEC
	mov	x0, x20
	bl	_acpi_ut_get_node_name
	ldr	w0, [x21]
	bl	_ACPI_DEBUG_PRINT
	ldr	w1, [x20, #4]
	ldp	w3, w2, [x21]
	mov	x0, x20
	bl	_acpi_ds_execute_arguments
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_return_ACPI_STATUS
LBB0_6:
	ldp	w22, w21, [x19, #16]
	ldr	w23, [x19, #8]
	mov	x0, x20
	bl	_acpi_ut_get_node_name
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_acpi_os_validate_address
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x20]
	bl	_ACPI_EXCEPTION
Lloh14:
	adrp	x8, _AOPOBJ_INVALID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AOPOBJ_INVALID@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w21, [x24]
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_get_region_arguments,4,2    ; @ds_get_region_arguments
	.comm	_AOPOBJ_DATA_VALID,4,2          ; @AOPOBJ_DATA_VALID
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_AE_NOT_EXIST,4,2               ; @AE_NOT_EXIST
	.comm	_ACPI_TYPE_REGION,4,2           ; @ACPI_TYPE_REGION
	.comm	_ACPI_DB_EXEC,4,2               ; @ACPI_DB_EXEC
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AOPOBJ_INVALID,4,2             ; @AOPOBJ_INVALID
.subsections_via_symbols
