	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audioplay_delete               ## -- Begin function audioplay_delete
	.p2align	4, 0x90
_audioplay_delete:                      ## @audioplay_delete
	.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	%rdi, %rbx
	movl	12(%rdi), %edi
	movq	_OMX_StateIdle@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ilclient_change_component_state
	movl	12(%rbx), %edi
	callq	_ILC_GET_HANDLE
	movq	_OMX_CommandStateSet@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_OMX_StateLoaded@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_OMX_SendCommand
	movq	_OMX_ErrorNone@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_assert
	movl	12(%rbx), %edi
	movl	16(%rbx), %edx
	movl	$100, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ilclient_disable_port_buffers
	movl	12(%rbx), %edi
	movl	(%r15), %esi
	callq	_ilclient_change_component_state
	movl	8(%rbx), %edi
	callq	_ilclient_cleanup_components
	xorl	%eax, %eax
	callq	_OMX_Deinit
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_assert
	movl	4(%rbx), %edi
	callq	_ilclient_destroy
	movq	%rbx, %rdi
	callq	_sem_destroy
	movq	%rbx, %rdi
	callq	_free
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OMX_StateIdle,4,2              ## @OMX_StateIdle
	.comm	_OMX_CommandStateSet,4,2        ## @OMX_CommandStateSet
	.comm	_OMX_StateLoaded,4,2            ## @OMX_StateLoaded
	.comm	_OMX_ErrorNone,8,3              ## @OMX_ErrorNone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audioplay_delete               ; -- Begin function audioplay_delete
	.p2align	2
_audioplay_delete:                      ; @audioplay_delete
	.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, x0
	ldr	w0, [x0, #12]
Lloh0:
	adrp	x8, _OMX_StateIdle@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OMX_StateIdle@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ilclient_change_component_state
	ldr	w0, [x19, #12]
	bl	_ILC_GET_HANDLE
Lloh3:
	adrp	x8, _OMX_CommandStateSet@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OMX_CommandStateSet@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x20, _OMX_StateLoaded@GOTPAGE
Lloh7:
	ldr	x20, [x20, _OMX_StateLoaded@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x3, #0
	bl	_OMX_SendCommand
Lloh8:
	adrp	x21, _OMX_ErrorNone@GOTPAGE
Lloh9:
	ldr	x21, [x21, _OMX_ErrorNone@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	ldp	w0, w2, [x19, #12]
	mov	w1, #100
	mov	x3, #0
	mov	x4, #0
	bl	_ilclient_disable_port_buffers
	ldr	w0, [x19, #12]
	ldr	w1, [x20]
	bl	_ilclient_change_component_state
	ldr	w0, [x19, #8]
	bl	_ilclient_cleanup_components
	bl	_OMX_Deinit
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	ldr	w0, [x19, #4]
	bl	_ilclient_destroy
	mov	x0, x19
	bl	_sem_destroy
	mov	x0, x19
	bl	_free
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OMX_StateIdle,4,2              ; @OMX_StateIdle
	.comm	_OMX_CommandStateSet,4,2        ; @OMX_CommandStateSet
	.comm	_OMX_StateLoaded,4,2            ; @OMX_StateLoaded
	.comm	_OMX_ErrorNone,8,3              ; @OMX_ErrorNone
.subsections_via_symbols
