	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function event_init_content
_event_init_content:                    ## @event_init_content
	.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
	movl	$0, -12(%rbp)
	movl	$0, -16(%rbp)
	leaq	-12(%rbp), %rdi
	leaq	-16(%rbp), %rsi
	callq	_content_get_status
	movq	_current_core_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CORE_TYPE_PLAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	cmpl	$0, -12(%rbp)
	sete	%dl
	andb	%cl, %dl
	movzbl	%dl, %ecx
	movq	_rarch_use_sram@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	_CORE_TYPE_DUMMY@GOTPCREL(%rip), %rcx
	movl	$1, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.1:
	xorl	%eax, %eax
	callq	_content_set_subsystem_info
	leaq	-12(%rbp), %rdi
	leaq	-16(%rbp), %rsi
	callq	_content_get_status
	cmpl	$0, -12(%rbp)
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_path_fill_names
LBB0_3:
	xorl	%eax, %eax
	callq	_content_init
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	callq	_command_event_set_savestate_auto_index
	xorl	%eax, %eax
	callq	_event_load_save_files
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_MSG_SKIPPING_SRAM_LOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_RARCH_LOG
LBB0_7:
	xorl	%eax, %eax
	callq	_command_event_load_auto_state
	xorl	%eax, %eax
	callq	_bsv_movie_deinit
	xorl	%eax, %eax
	callq	_bsv_movie_init
	movq	_CMD_EVENT_NETPLAY_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_command_event
	jmp	LBB0_8
LBB0_4:
	movq	_runloop_core_running@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_core_type,8,3          ## @current_core_type
	.comm	_CORE_TYPE_PLAIN,8,3            ## @CORE_TYPE_PLAIN
	.comm	_rarch_use_sram,4,2             ## @rarch_use_sram
	.comm	_CORE_TYPE_DUMMY,8,3            ## @CORE_TYPE_DUMMY
	.comm	_runloop_core_running,4,2       ## @runloop_core_running
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s.\n"

	.comm	_MSG_SKIPPING_SRAM_LOAD,4,2     ## @MSG_SKIPPING_SRAM_LOAD
	.comm	_CMD_EVENT_NETPLAY_INIT,4,2     ## @CMD_EVENT_NETPLAY_INIT
	.comm	_configuration_settings,8,3     ## @configuration_settings
	.no_dead_strip	_event_init_content
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function event_init_content
_event_init_content:                    ; @event_init_content
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	stur	wzr, [x29, #-4]
	str	wzr, [sp, #8]
	sub	x0, x29, #4
	add	x1, sp, #8
	bl	_content_get_status
Lloh0:
	adrp	x8, _current_core_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_core_type@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CORE_TYPE_PLAIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CORE_TYPE_PLAIN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	ldur	w9, [x29, #-4]
	ccmp	w9, #0, #0, eq
Lloh6:
	adrp	x9, _rarch_use_sram@GOTPAGE
Lloh7:
	ldr	x9, [x9, _rarch_use_sram@GOTPAGEOFF]
	cset	w10, eq
Lloh8:
	str	w10, [x9]
Lloh9:
	adrp	x9, _CORE_TYPE_DUMMY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CORE_TYPE_DUMMY@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.1:
	bl	_content_set_subsystem_info
	sub	x0, x29, #4
	add	x1, sp, #8
	bl	_content_get_status
	ldur	w8, [x29, #-4]
	cbz	w8, LBB0_7
; %bb.2:
	bl	_content_init
	cbz	w0, LBB0_8
LBB0_3:
	bl	_command_event_set_savestate_auto_index
	bl	_event_load_save_files
	cbz	x0, LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _MSG_SKIPPING_SRAM_LOAD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_SKIPPING_SRAM_LOAD@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_LOG
LBB0_5:
	bl	_command_event_load_auto_state
	bl	_bsv_movie_deinit
	bl	_bsv_movie_init
Lloh17:
	adrp	x8, _CMD_EVENT_NETPLAY_INIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CMD_EVENT_NETPLAY_INIT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_command_event
LBB0_6:
	mov	w0, #1
	b	LBB0_9
LBB0_7:
	bl	_path_fill_names
	bl	_content_init
	cbnz	w0, LBB0_3
LBB0_8:
Lloh20:
	adrp	x8, _runloop_core_running@GOTPAGE
Lloh21:
	ldr	x8, [x8, _runloop_core_running@GOTPAGEOFF]
Lloh22:
	str	wzr, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_current_core_type,8,3          ; @current_core_type
	.comm	_CORE_TYPE_PLAIN,8,3            ; @CORE_TYPE_PLAIN
	.comm	_rarch_use_sram,4,2             ; @rarch_use_sram
	.comm	_CORE_TYPE_DUMMY,8,3            ; @CORE_TYPE_DUMMY
	.comm	_runloop_core_running,4,2       ; @runloop_core_running
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s.\n"

	.comm	_MSG_SKIPPING_SRAM_LOAD,4,2     ; @MSG_SKIPPING_SRAM_LOAD
	.comm	_CMD_EVENT_NETPLAY_INIT,4,2     ; @CMD_EVENT_NETPLAY_INIT
	.comm	_configuration_settings,8,3     ; @configuration_settings
	.no_dead_strip	_event_init_content
.subsections_via_symbols
