	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pico_main                      ## -- Begin function pico_main
	.p2align	4, 0x90
_pico_main:                             ## @pico_main
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_psp_init
	xorl	%eax, %eax
	callq	_emu_prepareDefaultConfig
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_emu_ReadConfig
	movq	_PicoConfigFile@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_config_readlrom
	xorl	%eax, %eax
	callq	_emu_Init
	xorl	%eax, %eax
	callq	_menu_init
	movq	_engineState@GOTPCREL(%rip), %rbx
	movl	$134, (%rbx)
	movl	$134, %esi
	leaq	LJTI0_0(%rip), %r15
	movq	_psp_unhandled_suspend@GOTPCREL(%rip), %r12
	movq	_engineStateSuspend@GOTPCREL(%rip), %r13
	movq	_rom_fname_reload@GOTPCREL(%rip), %r14
	jmp	LBB0_1
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_menu_loop
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %esi
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	leal	-128(%rsi), %eax
	cmpl	$6, %eax
	ja	LBB0_14
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_psp_wait_suspend
	cmpl	$128, (%rbx)
	je	LBB0_6
	jmp	LBB0_13
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, (%r12)
	xorl	%eax, %eax
	callq	_psp_resume_suspend
	xorl	%eax, %eax
	callq	_emu_HandleResume
	movl	(%r13), %eax
	movl	%eax, (%rbx)
	movl	(%rbx), %esi
	jmp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$130, (%rbx)
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, (%r12)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, (%r12)
	xorl	%eax, %eax
	callq	_psp_resume_suspend
	xorl	%eax, %eax
	callq	_emu_HandleResume
	movl	(%rbx), %esi
	jmp	LBB0_1
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %edi
	callq	_emu_reload_rom
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movq	_mp3_last_error@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	setne	%al
	leal	130(,%rax,4), %eax
	movl	%eax, (%rbx)
	movl	(%rbx), %esi
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_pemu_loop
	movl	(%rbx), %esi
	jmp	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_lprintf
	movl	$134, (%rbx)
	movl	(%rbx), %esi
	jmp	LBB0_1
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_lprintf
LBB0_15:
	xorl	%eax, %eax
	callq	_mp3_deinit
	xorl	%eax, %eax
	callq	_emu_Deinit
	xorl	%eax, %eax
	callq	_psp_finish
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_15
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_PicoConfigFile,4,2             ## @PicoConfigFile
	.comm	_engineState,4,2                ## @engineState
	.comm	_rom_fname_reload,4,2           ## @rom_fname_reload
	.comm	_mp3_last_error,4,2             ## @mp3_last_error
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PGS_ReloadRom == 0\n"

	.comm	_psp_unhandled_suspend,4,2      ## @psp_unhandled_suspend
	.comm	_engineStateSuspend,4,2         ## @engineStateSuspend
L_.str.1:                               ## @.str.1
	.asciz	"engine got into unknown state (%i), exitting\n"

	.comm	_rom_fname_loaded,4,2           ## @rom_fname_loaded
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pico_main                      ; -- Begin function pico_main
	.p2align	2
_pico_main:                             ; @pico_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	bl	_psp_init
	bl	_emu_prepareDefaultConfig
	mov	w0, #0
	mov	w1, #0
	bl	_emu_ReadConfig
Lloh0:
	adrp	x8, _PicoConfigFile@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PicoConfigFile@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_config_readlrom
	bl	_emu_Init
	bl	_menu_init
Lloh3:
	adrp	x20, _engineState@GOTPAGE
Lloh4:
	ldr	x20, [x20, _engineState@GOTPAGEOFF]
	mov	w21, #134
	str	w21, [x20]
Lloh5:
	adrp	x22, lJTI0_0@PAGE
Lloh6:
	add	x22, x22, lJTI0_0@PAGEOFF
Lloh7:
	adrp	x23, _psp_unhandled_suspend@GOTPAGE
Lloh8:
	ldr	x23, [x23, _psp_unhandled_suspend@GOTPAGEOFF]
Lloh9:
	adrp	x24, _engineStateSuspend@GOTPAGE
Lloh10:
	ldr	x24, [x24, _engineStateSuspend@GOTPAGEOFF]
Lloh11:
	adrp	x25, _rom_fname_reload@GOTPAGE
Lloh12:
	ldr	x25, [x25, _rom_fname_reload@GOTPAGEOFF]
	mov	w26, #130
Lloh13:
	adrp	x19, l_.str@PAGE
Lloh14:
	add	x19, x19, l_.str@PAGEOFF
Lloh15:
	adrp	x27, _mp3_last_error@GOTPAGE
Lloh16:
	ldr	x27, [x27, _mp3_last_error@GOTPAGEOFF]
	mov	w8, #134
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_menu_loop
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	sub	w9, w8, #128
	cmp	w9, #6
	b.hi	LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x8, LBB0_1
	ldrb	w10, [x22, x9]
	add	x8, x8, x10, lsl #2
	br	x8
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_psp_wait_suspend
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_5
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x23]
	bl	_psp_resume_suspend
	bl	_emu_HandleResume
	ldr	w8, [x24]
	str	w8, [x20]
	mov	w8, w8
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	w26, [x20]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	cbz	w8, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x23]
	bl	_psp_resume_suspend
	bl	_emu_HandleResume
	ldr	w8, [x20]
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	bl	_emu_reload_rom
	cbz	w0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x27]
	cmp	w8, #0
	csel	w8, w26, w21, eq
	str	w8, [x20]
	mov	w8, w8
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_pemu_loop
	ldr	w8, [x20]
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_lprintf
	str	w21, [x20]
	mov	w8, w21
	b	LBB0_3
LBB0_14:
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_lprintf
LBB0_15:
	bl	_mp3_deinit
	bl	_emu_Deinit
	bl	_psp_finish
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
                                        ; -- End function
	.comm	_PicoConfigFile,4,2             ; @PicoConfigFile
	.comm	_engineState,4,2                ; @engineState
	.comm	_rom_fname_reload,4,2           ; @rom_fname_reload
	.comm	_mp3_last_error,4,2             ; @mp3_last_error
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PGS_ReloadRom == 0\n"

	.comm	_psp_unhandled_suspend,4,2      ; @psp_unhandled_suspend
	.comm	_engineStateSuspend,4,2         ; @engineStateSuspend
l_.str.1:                               ; @.str.1
	.asciz	"engine got into unknown state (%i), exitting\n"

	.comm	_rom_fname_loaded,4,2           ; @rom_fname_loaded
.subsections_via_symbols
