	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_delete_result_if_not_used ## -- Begin function acpi_ds_delete_result_if_not_used
	.p2align	4, 0x90
_acpi_ds_delete_result_if_not_used:     ## @acpi_ds_delete_result_if_not_used
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ds_delete_result_if_not_used@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE_PTR
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_ERROR
LBB0_2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_acpi_ds_is_result_used
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	leaq	-32(%rbp), %rdi
	movq	%r15, %rsi
	callq	_acpi_ds_result_pop
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_acpi_ut_remove_reference
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_delete_result_if_not_used,4,2 ## @ds_delete_result_if_not_used
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Null Op"

	.comm	_return_VOID,4,2                ## @return_VOID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_delete_result_if_not_used ; -- Begin function acpi_ds_delete_result_if_not_used
	.p2align	2
_acpi_ds_delete_result_if_not_used:     ; @acpi_ds_delete_result_if_not_used
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ds_delete_result_if_not_used@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_delete_result_if_not_used@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE_PTR
	cbnz	x21, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_ERROR
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	bl	_acpi_ds_is_result_used
	cbnz	w0, LBB0_5
; %bb.3:
	add	x0, sp, #8
	mov	x1, x20
	bl	_acpi_ds_result_pop
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_acpi_ut_remove_reference
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_delete_result_if_not_used,4,2 ; @ds_delete_result_if_not_used
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Null Op"

	.comm	_return_VOID,4,2                ; @return_VOID
.subsections_via_symbols
