	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_restart_control_method ## -- Begin function acpi_ds_restart_control_method
	.p2align	4, 0x90
_acpi_ds_restart_control_method:        ## @acpi_ds_restart_control_method
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ds_restart_control_method@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movl	32(%rbx), %edi
	callq	_acpi_ut_get_node_name
	movl	%r14d, %edi
	callq	_ACPI_DEBUG_PRINT
	movl	%ebx, %edi
	callq	_ACPI_DEBUG_PRINT
	testq	%r14, %r14
	je	LBB0_8
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_acpi_ds_result_push
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_acpi_ut_remove_reference
	movl	%r15d, %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movq	%r14, (%rbx)
	jmp	LBB0_8
LBB0_5:
	movq	16(%rbx), %r15
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_acpi_ds_do_implicit_return
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	cmpq	%r14, %r15
	jne	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	callq	_acpi_ut_remove_reference
LBB0_8:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_restart_control_method,4,2  ## @ds_restart_control_method
	.comm	_ACPI_DB_DISPATCH,4,2           ## @ACPI_DB_DISPATCH
	.comm	_FALSE,4,2                      ## @FALSE
	.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_restart_control_method ; -- Begin function acpi_ds_restart_control_method
	.p2align	2
_acpi_ds_restart_control_method:        ; @acpi_ds_restart_control_method
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ds_restart_control_method@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_restart_control_method@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_ACPI_FUNCTION_TRACE_PTR
	ldr	w0, [x20, #32]
	bl	_acpi_ut_get_node_name
	mov	x0, x19
	bl	_ACPI_DEBUG_PRINT
	mov	x0, x20
	bl	_ACPI_DEBUG_PRINT
	cbz	x19, LBB0_7
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_acpi_ds_result_push
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_acpi_ut_remove_reference
	mov	x0, x21
	bl	_return_ACPI_STATUS
LBB0_4:
	str	x19, [x20]
	b	LBB0_7
LBB0_5:
	ldr	x21, [x20, #16]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_acpi_ds_do_implicit_return
	cmp	w0, #0
	ccmp	x21, x19, #4, ne
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_acpi_ut_remove_reference
LBB0_7:
Lloh6:
	adrp	x8, _AE_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh8:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_restart_control_method,4,2  ; @ds_restart_control_method
	.comm	_ACPI_DB_DISPATCH,4,2           ; @ACPI_DB_DISPATCH
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
