	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bsv_movie_check
_bsv_movie_check:                       ## @bsv_movie_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_bsv_movie_state_handle@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movq	_bsv_movie_state@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_5
## %bb.2:
	cmpl	$0, 4(%rbx)
	je	LBB0_3
## %bb.4:
	movq	_MSG_MOVIE_PLAYBACK_ENDED@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_msg_hash_to_str
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movl	%eax, %edi
	movl	$2, %esi
	movl	$180, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_runloop_msg_queue_push
	movl	(%r14), %edi
	callq	_msg_hash_to_str
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_RARCH_LOG
	xorl	%eax, %eax
	callq	_bsv_movie_deinit
	movq	$0, (%rbx)
	movl	$1, %ebx
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_runloop_check_movie_init       ## TAILCALL
LBB0_5:
	movq	_MSG_MOVIE_RECORD_STOPPED@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_msg_hash_to_str
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movl	$1, %ebx
	movl	%eax, %edi
	movl	$2, %esi
	movl	$180, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_runloop_msg_queue_push
	movl	(%r14), %edi
	callq	_msg_hash_to_str
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_RARCH_LOG
	xorl	%eax, %eax
	callq	_bsv_movie_deinit
	jmp	LBB0_6
LBB0_3:
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bsv_movie_state_handle,4,2     ## @bsv_movie_state_handle
	.comm	_bsv_movie_state,8,2            ## @bsv_movie_state
	.comm	_MSG_MOVIE_PLAYBACK_ENDED,4,2   ## @MSG_MOVIE_PLAYBACK_ENDED
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ## @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ## @MESSAGE_QUEUE_CATEGORY_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_MSG_MOVIE_RECORD_STOPPED,4,2   ## @MSG_MOVIE_RECORD_STOPPED
	.no_dead_strip	_bsv_movie_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bsv_movie_check
_bsv_movie_check:                       ; @bsv_movie_check
	.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	x8, _bsv_movie_state_handle@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bsv_movie_state_handle@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x19, _bsv_movie_state@GOTPAGE
Lloh4:
	ldr	x19, [x19, _bsv_movie_state@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_6
; %bb.3:
Lloh5:
	adrp	x20, _MSG_MOVIE_PLAYBACK_ENDED@GOTPAGE
Lloh6:
	ldr	x20, [x20, _MSG_MOVIE_PLAYBACK_ENDED@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_msg_hash_to_str
Lloh7:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
Lloh10:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh12:
	ldr	w6, [x8]
	mov	w1, #2
	mov	w2, #180
	mov	w3, #0
	mov	x4, #0
	bl	_runloop_msg_queue_push
	ldr	w0, [x20]
	bl	_msg_hash_to_str
	mov	x1, x0
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_LOG
	bl	_bsv_movie_deinit
	str	xzr, [x19]
	mov	w19, #1
	b	LBB0_7
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_runloop_check_movie_init
LBB0_5:
Lloh15:
	adrp	x20, _MSG_MOVIE_RECORD_STOPPED@GOTPAGE
Lloh16:
	ldr	x20, [x20, _MSG_MOVIE_RECORD_STOPPED@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_msg_hash_to_str
Lloh17:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
Lloh20:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh22:
	ldr	w6, [x8]
	mov	w19, #1
	mov	w1, #2
	mov	w2, #180
	mov	w3, #1
	mov	x4, #0
	bl	_runloop_msg_queue_push
	ldr	w0, [x20]
	bl	_msg_hash_to_str
	mov	x1, x0
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_LOG
	bl	_bsv_movie_deinit
	b	LBB0_7
LBB0_6:
	mov	w19, #0
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_bsv_movie_state_handle,4,2     ; @bsv_movie_state_handle
	.comm	_bsv_movie_state,8,2            ; @bsv_movie_state
	.comm	_MSG_MOVIE_PLAYBACK_ENDED,4,2   ; @MSG_MOVIE_PLAYBACK_ENDED
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ; @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ; @MESSAGE_QUEUE_CATEGORY_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_MSG_MOVIE_RECORD_STOPPED,4,2   ; @MSG_MOVIE_RECORD_STOPPED
	.no_dead_strip	_bsv_movie_check
.subsections_via_symbols
