	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LoadFile                       ## -- Begin function LoadFile
	.p2align	4, 0x90
_LoadFile:                              ## @LoadFile
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_deviceType@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TYPE_RECENT@GOTPCREL(%rip), %rcx
	movslq	%ebx, %r13
	cmpl	(%rcx), %eax
	je	LBB0_1
## %bb.2:
	movq	_fileDir@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_history@GOTPCREL(%rip), %rcx
	leaq	(,%r13,8), %rax
	addq	(%rcx), %rax
LBB0_3:
	movq	(%rax), %r14
	movq	_filelist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_sprintf
	movq	_rootdir@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TYPE_DVD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edx
	callq	_GUI_MsgBoxOpen
	movq	_system_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SYSTEM_MCD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.7:
	movq	_cdd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CD_OPEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.8:
	movq	_cdc@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_cdd_load
	movl	%eax, %ebx
	movq	_scd@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	%ebx, %r12d
	je	LBB0_9
## %bb.10:
	testl	%ebx, %ebx
	je	LBB0_11
LBB0_12:
	testl	%ebx, %ebx
	jle	LBB0_30
LBB0_13:
	movl	$1, %ebx
	testl	%r12d, %r12d
	movq	_filelist@GOTPCREL(%rip), %r12
	jne	LBB0_27
## %bb.14:
	movq	_config@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	callq	_slot_autosave
	movq	_romtype@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SYSTEM_SMS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.15:
	movq	_rom_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r12), %rax
	movq	(%rax,%r13,8), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	movl	$2, %ebx
	jmp	LBB0_23
LBB0_4:
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_MountDVD
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_31
LBB0_9:
	movq	_cdc@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_getrominfo
	xorl	%r12d, %r12d
	testl	%ebx, %ebx
	jne	LBB0_12
LBB0_11:
	movq	_NO_DISC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_cdd@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%r15, %rdi
	callq	_load_rom
	movl	%eax, %ebx
	testl	%ebx, %ebx
	jg	LBB0_13
LBB0_30:
	leaq	L_.str.8(%rip), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_GUI_WaitPrompt
	xorl	%ebx, %ebx
	jmp	LBB0_31
LBB0_16:
	movq	_SYSTEM_GG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	movq	_rom_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r12), %rax
	movq	(%rax,%r13,8), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	movl	$3, %ebx
	jmp	LBB0_23
LBB0_18:
	movq	_SYSTEM_SG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_20
## %bb.19:
	movq	_rom_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r12), %rax
	movq	(%rax,%r13,8), %rdx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	movl	$4, %ebx
	jmp	LBB0_23
LBB0_20:
	movq	_rom_filename@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	(%r12), %rcx
	movq	(%rcx,%r13,8), %rdx
	movq	_SYSTEM_MCD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_22
## %bb.21:
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	movl	$1, %ebx
	jmp	LBB0_23
LBB0_22:
	leaq	L_.str.7(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_sprintf
LBB0_23:
	movq	_rom_filename@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movq	(%r15), %rcx
	movl	%eax, %edx
	decl	%eax
	addq	%rcx, %rax
	incq	%rax
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$2, %edx
	jl	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	decq	%rax
	cmpb	$46, -1(%rcx,%rdx)
	leaq	-1(%rdx), %rdx
	jne	LBB0_24
## %bb.26:
	movb	$0, (%rax)
LBB0_27:
	movq	(%r12), %rax
	movq	(%rax,%r13,8), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_history_add_file
	movq	_deviceType@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	_TYPE_RECENT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_29
## %bb.28:
	movl	$-1, (%rcx)
LBB0_29:
	xorl	%eax, %eax
	callq	_GUI_MsgBoxClose
	movl	$1, %ebx
LBB0_31:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.32:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_deviceType,4,2                 ## @deviceType
	.comm	_TYPE_RECENT,4,2                ## @TYPE_RECENT
	.comm	_history,8,3                    ## @history
	.comm	_fileDir,8,3                    ## @fileDir
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s"

	.comm	_filelist,8,3                   ## @filelist
	.comm	_rootdir,8,3                    ## @rootdir
	.comm	_TYPE_DVD,8,3                   ## @TYPE_DVD
L_.str.1:                               ## @.str.1
	.asciz	"Information"

L_.str.2:                               ## @.str.2
	.asciz	"Loading game..."

	.comm	_system_hw,4,2                  ## @system_hw
	.comm	_SYSTEM_MCD,4,2                 ## @SYSTEM_MCD
	.comm	_cdd,8,3                        ## @cdd
	.comm	_CD_OPEN,8,3                    ## @CD_OPEN
	.comm	_cdc,8,3                        ## @cdc
	.comm	_scd,8,3                        ## @scd
	.comm	_NO_DISC,8,3                    ## @NO_DISC
	.comm	_config,8,2                     ## @config
	.comm	_romtype,4,2                    ## @romtype
	.comm	_SYSTEM_SMS,4,2                 ## @SYSTEM_SMS
	.comm	_rom_filename,8,3               ## @rom_filename
L_.str.3:                               ## @.str.3
	.asciz	"ms/%s"

	.comm	_SYSTEM_GG,4,2                  ## @SYSTEM_GG
L_.str.4:                               ## @.str.4
	.asciz	"gg/%s"

	.comm	_SYSTEM_SG,4,2                  ## @SYSTEM_SG
L_.str.5:                               ## @.str.5
	.asciz	"sg/%s"

L_.str.6:                               ## @.str.6
	.asciz	"cd/%s"

L_.str.7:                               ## @.str.7
	.asciz	"md/%s"

L_.str.8:                               ## @.str.8
	.asciz	"Error"

L_.str.9:                               ## @.str.9
	.asciz	"Unable to load game"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LoadFile                       ; -- Begin function LoadFile
	.p2align	2
_LoadFile:                              ; @LoadFile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x23, _deviceType@GOTPAGE
Lloh9:
	ldr	x23, [x23, _deviceType@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh10:
	adrp	x24, _TYPE_RECENT@GOTPAGE
Lloh11:
	ldr	x24, [x24, _TYPE_RECENT@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh12:
	adrp	x10, _history@GOTPAGE
Lloh13:
	ldr	x10, [x10, _history@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	sbfiz	x11, x20, #3, #32
	add	x10, x10, x11
Lloh15:
	adrp	x12, _fileDir@GOTPAGE
Lloh16:
	ldr	x12, [x12, _fileDir@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x10, x12, eq
	ldr	x19, [x8]
Lloh17:
	adrp	x25, _filelist@GOTPAGE
Lloh18:
	ldr	x25, [x25, _filelist@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x8, [x8, x11]
	str	x8, [sp, #-16]!
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_sprintf
	add	sp, sp, #16
Lloh21:
	adrp	x8, _rootdir@GOTPAGE
Lloh22:
	ldr	x8, [x8, _rootdir@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _TYPE_DVD@GOTPAGE
Lloh25:
	ldr	x9, [x9, _TYPE_DVD@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	x22, [x8, x9, lsl #3]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_strncmp
	cbz	w0, LBB0_12
LBB0_1:
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #1
	bl	_GUI_MsgBoxOpen
Lloh31:
	adrp	x8, _system_hw@GOTPAGE
Lloh32:
	ldr	x8, [x8, _system_hw@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x26, _SYSTEM_MCD@GOTPAGE
Lloh35:
	ldr	x26, [x26, _SYSTEM_MCD@GOTPAGEOFF]
	ldr	w9, [x26]
Lloh36:
	adrp	x27, _cdd@GOTPAGE
Lloh37:
	ldr	x27, [x27, _cdd@GOTPAGEOFF]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.2:
	ldr	x8, [x27]
Lloh38:
	adrp	x9, _CD_OPEN@GOTPAGE
Lloh39:
	ldr	x9, [x9, _CD_OPEN@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.3:
	mov	x23, x24
Lloh41:
	adrp	x24, _cdc@GOTPAGE
Lloh42:
	ldr	x24, [x24, _cdc@GOTPAGEOFF]
	ldr	x1, [x24]
	mov	x0, x21
	bl	_cdd_load
	mov	x22, x0
Lloh43:
	adrp	x8, _scd@GOTPAGE
Lloh44:
	ldr	x8, [x8, _scd@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	mov	x28, x0
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x0, [x24]
	bl	_getrominfo
	mov	w28, #0
LBB0_5:
	mov	x24, x23
Lloh46:
	adrp	x23, _deviceType@GOTPAGE
Lloh47:
	ldr	x23, [x23, _deviceType@GOTPAGEOFF]
	cbz	w22, LBB0_10
; %bb.6:
	cmp	w22, #1
	b.lt	LBB0_11
LBB0_7:
	sxtw	x21, w20
	cbz	w28, LBB0_14
; %bb.8:
	mov	w20, #1
	b	LBB0_27
LBB0_9:
	mov	w28, #0
LBB0_10:
Lloh48:
	adrp	x8, _NO_DISC@GOTPAGE
Lloh49:
	ldr	x8, [x8, _NO_DISC@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	str	x8, [x27]
	mov	x0, x21
	bl	_load_rom
	mov	x22, x0
	cmp	w22, #1
	b.ge	LBB0_7
LBB0_11:
Lloh51:
	adrp	x0, l_.str.8@PAGE
Lloh52:
	add	x0, x0, l_.str.8@PAGEOFF
Lloh53:
	adrp	x1, l_.str.9@PAGE
Lloh54:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_GUI_WaitPrompt
	mov	w0, #0
	b	LBB0_30
LBB0_12:
	sub	x1, x29, #96
	mov	x0, x21
	bl	_stat
	cbz	x0, LBB0_1
; %bb.13:
	bl	_MountDVD
	cbnz	w0, LBB0_1
	b	LBB0_30
LBB0_14:
Lloh55:
	adrp	x8, _config@GOTPAGE
Lloh56:
	ldr	x8, [x8, _config@GOTPAGEOFF]
	ldp	w1, w0, [x8]
	bl	_slot_autosave
Lloh57:
	adrp	x8, _romtype@GOTPAGE
Lloh58:
	ldr	x8, [x8, _romtype@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
Lloh60:
	adrp	x9, _SYSTEM_SMS@GOTPAGE
Lloh61:
	ldr	x9, [x9, _SYSTEM_SMS@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
Lloh63:
	adrp	x22, _rom_filename@GOTPAGE
Lloh64:
	ldr	x22, [x22, _rom_filename@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	x0, [x22]
	ldr	x8, [x25]
	ldr	x2, [x8, x21, lsl #3]
Lloh65:
	adrp	x1, l_.str.3@PAGE
Lloh66:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sprintf
	mov	w20, #2
	b	LBB0_23
LBB0_16:
Lloh67:
	adrp	x9, _SYSTEM_GG@GOTPAGE
Lloh68:
	ldr	x9, [x9, _SYSTEM_GG@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	ldr	x0, [x22]
	ldr	x8, [x25]
	ldr	x2, [x8, x21, lsl #3]
Lloh70:
	adrp	x1, l_.str.4@PAGE
Lloh71:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_sprintf
	mov	w20, #3
	b	LBB0_23
LBB0_18:
Lloh72:
	adrp	x9, _SYSTEM_SG@GOTPAGE
Lloh73:
	ldr	x9, [x9, _SYSTEM_SG@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.19:
	ldr	x0, [x22]
	ldr	x8, [x25]
	ldr	x2, [x8, x21, lsl #3]
Lloh75:
	adrp	x1, l_.str.5@PAGE
Lloh76:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_sprintf
	mov	w20, #4
	b	LBB0_23
LBB0_20:
	ldr	w9, [x26]
	ldr	x0, [x22]
	ldr	x10, [x25]
	ldr	x2, [x10, x21, lsl #3]
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.21:
Lloh77:
	adrp	x1, l_.str.6@PAGE
Lloh78:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_sprintf
	mov	w20, #1
	b	LBB0_23
LBB0_22:
Lloh79:
	adrp	x1, l_.str.7@PAGE
Lloh80:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_sprintf
	mov	w20, #0
LBB0_23:
	ldr	x0, [x22]
	bl	_strlen
	ldr	x10, [x22]
	mov	w9, w0
	sub	w8, w0, #1
	add	x8, x8, x10
	add	x8, x8, #1
	sub	x10, x10, #1
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	cmp	w9, #2
	b.lt	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldrb	w11, [x10, x9]
	sub	x9, x9, #1
	sub	x8, x8, #1
	cmp	w11, #46
	b.ne	LBB0_24
; %bb.26:
	strb	wzr, [x8]
LBB0_27:
	ldr	x8, [x25]
	ldr	x1, [x8, x21, lsl #3]
	mov	x0, x19
	mov	x2, x20
	bl	_history_add_file
	ldr	w8, [x23]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_29
; %bb.28:
	mov	w8, #-1
	str	w8, [x23]
LBB0_29:
	bl	_GUI_MsgBoxClose
	mov	w0, #1
LBB0_30:
	ldur	x8, [x29, #-88]
Lloh81:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh82:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.31:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_32:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_deviceType,4,2                 ; @deviceType
	.comm	_TYPE_RECENT,4,2                ; @TYPE_RECENT
	.comm	_history,8,3                    ; @history
	.comm	_fileDir,8,3                    ; @fileDir
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s"

	.comm	_filelist,8,3                   ; @filelist
	.comm	_rootdir,8,3                    ; @rootdir
	.comm	_TYPE_DVD,8,3                   ; @TYPE_DVD
l_.str.1:                               ; @.str.1
	.asciz	"Information"

l_.str.2:                               ; @.str.2
	.asciz	"Loading game..."

	.comm	_system_hw,4,2                  ; @system_hw
	.comm	_SYSTEM_MCD,4,2                 ; @SYSTEM_MCD
	.comm	_cdd,8,3                        ; @cdd
	.comm	_CD_OPEN,8,3                    ; @CD_OPEN
	.comm	_cdc,8,3                        ; @cdc
	.comm	_scd,8,3                        ; @scd
	.comm	_NO_DISC,8,3                    ; @NO_DISC
	.comm	_config,8,2                     ; @config
	.comm	_romtype,4,2                    ; @romtype
	.comm	_SYSTEM_SMS,4,2                 ; @SYSTEM_SMS
	.comm	_rom_filename,8,3               ; @rom_filename
l_.str.3:                               ; @.str.3
	.asciz	"ms/%s"

	.comm	_SYSTEM_GG,4,2                  ; @SYSTEM_GG
l_.str.4:                               ; @.str.4
	.asciz	"gg/%s"

	.comm	_SYSTEM_SG,4,2                  ; @SYSTEM_SG
l_.str.5:                               ; @.str.5
	.asciz	"sg/%s"

l_.str.6:                               ; @.str.6
	.asciz	"cd/%s"

l_.str.7:                               ; @.str.7
	.asciz	"md/%s"

l_.str.8:                               ; @.str.8
	.asciz	"Error"

l_.str.9:                               ; @.str.9
	.asciz	"Unable to load game"

.subsections_via_symbols
