	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_load_save_files          ## -- Begin function event_load_save_files
	.p2align	4, 0x90
_event_load_save_files:                 ## @event_load_save_files
	.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	_task_save_files@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_1
## %bb.2:
	movq	_RARCH_CTL_IS_SRAM_LOAD_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_rarch_ctl
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	(%r15), %rax
	movl	$1, %r14d
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_content_load_ram_file
	incl	%ebx
	movq	(%r15), %rax
	cmpl	(%rax), %ebx
	jb	LBB0_5
	jmp	LBB0_6
LBB0_1:
	xorl	%r14d, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_task_save_files,8,3            ## @task_save_files
	.comm	_RARCH_CTL_IS_SRAM_LOAD_DISABLED,4,2 ## @RARCH_CTL_IS_SRAM_LOAD_DISABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_load_save_files          ; -- Begin function event_load_save_files
	.p2align	2
_event_load_save_files:                 ; @event_load_save_files
	.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	x20, _task_save_files@GOTPAGE
Lloh1:
	ldr	x20, [x20, _task_save_files@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _RARCH_CTL_IS_SRAM_LOAD_DISABLED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RARCH_CTL_IS_SRAM_LOAD_DISABLED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_rarch_ctl
	cbz	x0, LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.4:
	mov	w19, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_content_load_ram_file
	add	w19, w19, #1
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w19, w8
	b.lo	LBB0_5
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_task_save_files,8,3            ; @task_save_files
	.comm	_RARCH_CTL_IS_SRAM_LOAD_DISABLED,4,2 ; @RARCH_CTL_IS_SRAM_LOAD_DISABLED
.subsections_via_symbols
