	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function context_destroy
_context_destroy:                       ## @context_destroy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_mpv@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_MPV_FORMAT_INT64@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	_playback_time@GOTPCREL(%rip), %rcx
	callq	_mpv_get_property
	movq	_mpv_gl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mpv_render_context_free
	movl	(%rbx), %edi
	callq	_mpv_terminate_destroy
	movq	_RETRO_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_log_cb                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mpv,4,2                        ## @mpv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"playback-time"

	.comm	_MPV_FORMAT_INT64,4,2           ## @MPV_FORMAT_INT64
	.comm	_playback_time,4,2              ## @playback_time
	.comm	_mpv_gl,4,2                     ## @mpv_gl
	.comm	_RETRO_LOG_INFO,4,2             ## @RETRO_LOG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"Context destroyed.\n"

	.no_dead_strip	_context_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function context_destroy
_context_destroy:                       ; @context_destroy
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _mpv@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mpv@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _MPV_FORMAT_INT64@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MPV_FORMAT_INT64@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
Lloh7:
	adrp	x3, _playback_time@GOTPAGE
Lloh8:
	ldr	x3, [x3, _playback_time@GOTPAGEOFF]
	bl	_mpv_get_property
Lloh9:
	adrp	x8, _mpv_gl@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mpv_gl@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_mpv_render_context_free
	ldr	w0, [x19]
	bl	_mpv_terminate_destroy
Lloh12:
	adrp	x8, _RETRO_LOG_INFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RETRO_LOG_INFO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_log_cb
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mpv,4,2                        ; @mpv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"playback-time"

	.comm	_MPV_FORMAT_INT64,4,2           ; @MPV_FORMAT_INT64
	.comm	_playback_time,4,2              ; @playback_time
	.comm	_mpv_gl,4,2                     ; @mpv_gl
	.comm	_RETRO_LOG_INFO,4,2             ; @RETRO_LOG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"Context destroyed.\n"

	.no_dead_strip	_context_destroy
.subsections_via_symbols
