	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_retro_init                     ## -- Begin function retro_init
	.p2align	4, 0x90
_retro_init:                            ## @retro_init
	.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	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_emu_log@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	$0, -20(%rbp)
	movq	_RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-20(%rbp), %rsi
	callq	_environ_cb
	movq	_RETRO_ENVIRONMENT_SET_DISK_CONTROL_INTERFACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_disk_control@GOTPCREL(%rip), %rsi
	callq	_environ_cb
	movq	_POPT_EN_STEREO@GOTPCREL(%rip), %rcx
	movq	_POPT_EN_FM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_POPT_EN_PSG@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_POPT_EN_Z80@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_POPT_EN_MCD_PCM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_POPT_EN_MCD_CDDA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_POPT_EN_MCD_GFX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_POPT_EN_32X@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_POPT_EN_PWM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_POPT_ACC_SPRITES@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_POPT_DIS_32C_BORDER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PicoOpt@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_PsndRate@GOTPCREL(%rip), %rax
	movl	$44100, (%rax)                  ## imm = 0xAC44
	movq	_PicoAutoRgnOrder@GOTPCREL(%rip), %rax
	movl	$388, (%rax)                    ## imm = 0x184
	movq	_vout_width@GOTPCREL(%rip), %r14
	movl	$320, (%r14)                    ## imm = 0x140
	movq	_vout_height@GOTPCREL(%rip), %rax
	movl	$240, (%rax)
	movq	_VOUT_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VOUT_MAX_HEIGHT@GOTPCREL(%rip), %rax
	imull	(%rax), %edi
	addl	%edi, %edi
	callq	_malloc
	movq	_vout_buf@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_PicoInit
	movq	_PDF_RGB555@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PicoDrawSetOutFormat
	movl	(%rbx), %edi
	movl	(%r14), %esi
	addl	%esi, %esi
	callq	_PicoDrawSetOutBuf
	movq	_disk_tray_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PicoMCDopenTray@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_disk_tray_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PicoMCDcloseTray@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_PICO_INPUT_PAD_6BTN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	xorl	%edi, %edi
	callq	_PicoSetInputDevice
	movl	(%rbx), %esi
	movl	$1, %edi
	callq	_PicoSetInputDevice
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdout,8,3                     ## @stdout
	.comm	_emu_log,8,3                    ## @emu_log
	.comm	_RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL,4,2 ## @RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL
	.comm	_RETRO_ENVIRONMENT_SET_DISK_CONTROL_INTERFACE,4,2 ## @RETRO_ENVIRONMENT_SET_DISK_CONTROL_INTERFACE
	.comm	_disk_control,4,2               ## @disk_control
	.comm	_POPT_EN_STEREO,4,2             ## @POPT_EN_STEREO
	.comm	_POPT_EN_FM,4,2                 ## @POPT_EN_FM
	.comm	_POPT_EN_PSG,4,2                ## @POPT_EN_PSG
	.comm	_POPT_EN_Z80,4,2                ## @POPT_EN_Z80
	.comm	_POPT_EN_MCD_PCM,4,2            ## @POPT_EN_MCD_PCM
	.comm	_POPT_EN_MCD_CDDA,4,2           ## @POPT_EN_MCD_CDDA
	.comm	_POPT_EN_MCD_GFX,4,2            ## @POPT_EN_MCD_GFX
	.comm	_POPT_EN_32X,4,2                ## @POPT_EN_32X
	.comm	_POPT_EN_PWM,4,2                ## @POPT_EN_PWM
	.comm	_POPT_ACC_SPRITES,4,2           ## @POPT_ACC_SPRITES
	.comm	_POPT_DIS_32C_BORDER,4,2        ## @POPT_DIS_32C_BORDER
	.comm	_PicoOpt,4,2                    ## @PicoOpt
	.comm	_PsndRate,4,2                   ## @PsndRate
	.comm	_PicoAutoRgnOrder,4,2           ## @PicoAutoRgnOrder
	.comm	_vout_width,4,2                 ## @vout_width
	.comm	_vout_height,4,2                ## @vout_height
	.comm	_VOUT_MAX_WIDTH,4,2             ## @VOUT_MAX_WIDTH
	.comm	_VOUT_MAX_HEIGHT,4,2            ## @VOUT_MAX_HEIGHT
	.comm	_vout_buf,4,2                   ## @vout_buf
	.comm	_PDF_RGB555,4,2                 ## @PDF_RGB555
	.comm	_disk_tray_open,4,2             ## @disk_tray_open
	.comm	_PicoMCDopenTray,4,2            ## @PicoMCDopenTray
	.comm	_disk_tray_close,4,2            ## @disk_tray_close
	.comm	_PicoMCDcloseTray,4,2           ## @PicoMCDcloseTray
	.comm	_PICO_INPUT_PAD_6BTN,4,2        ## @PICO_INPUT_PAD_6BTN
	.comm	_POPT_EN_DRC,4,2                ## @POPT_EN_DRC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_retro_init                     ; -- Begin function retro_init
	.p2align	2
_retro_init:                            ; @retro_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _stdout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh2:
	adrp	x9, _emu_log@GOTPAGE
Lloh3:
	ldr	x9, [x9, _emu_log@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	str	x8, [x9]
	str	wzr, [sp, #12]
Lloh6:
	adrp	x8, _RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_environ_cb
Lloh9:
	adrp	x8, _RETRO_ENVIRONMENT_SET_DISK_CONTROL_INTERFACE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RETRO_ENVIRONMENT_SET_DISK_CONTROL_INTERFACE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, _disk_control@GOTPAGE
Lloh13:
	ldr	x1, [x1, _disk_control@GOTPAGEOFF]
	bl	_environ_cb
Lloh14:
	adrp	x8, _POPT_EN_STEREO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _POPT_EN_STEREO@GOTPAGEOFF]
Lloh16:
	adrp	x9, _POPT_EN_FM@GOTPAGE
Lloh17:
	ldr	x9, [x9, _POPT_EN_FM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _POPT_EN_PSG@GOTPAGE
Lloh21:
	ldr	x9, [x9, _POPT_EN_PSG@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _POPT_EN_Z80@GOTPAGE
Lloh24:
	ldr	x9, [x9, _POPT_EN_Z80@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _POPT_EN_MCD_PCM@GOTPAGE
Lloh27:
	ldr	x10, [x10, _POPT_EN_MCD_PCM@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh28:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _POPT_EN_MCD_CDDA@GOTPAGE
Lloh30:
	ldr	x9, [x9, _POPT_EN_MCD_CDDA@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _POPT_EN_MCD_GFX@GOTPAGE
Lloh33:
	ldr	x9, [x9, _POPT_EN_MCD_GFX@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
Lloh35:
	adrp	x10, _POPT_EN_32X@GOTPAGE
Lloh36:
	ldr	x10, [x10, _POPT_EN_32X@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh37:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh38:
	adrp	x9, _POPT_EN_PWM@GOTPAGE
Lloh39:
	ldr	x9, [x9, _POPT_EN_PWM@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh41:
	adrp	x9, _POPT_ACC_SPRITES@GOTPAGE
Lloh42:
	ldr	x9, [x9, _POPT_ACC_SPRITES@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
Lloh44:
	adrp	x10, _POPT_DIS_32C_BORDER@GOTPAGE
Lloh45:
	ldr	x10, [x10, _POPT_DIS_32C_BORDER@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh46:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh47:
	adrp	x9, _PicoOpt@GOTPAGE
Lloh48:
	ldr	x9, [x9, _PicoOpt@GOTPAGEOFF]
Lloh49:
	str	w8, [x9]
Lloh50:
	adrp	x8, _PsndRate@GOTPAGE
Lloh51:
	ldr	x8, [x8, _PsndRate@GOTPAGEOFF]
	mov	w9, #44100
Lloh52:
	str	w9, [x8]
Lloh53:
	adrp	x8, _PicoAutoRgnOrder@GOTPAGE
Lloh54:
	ldr	x8, [x8, _PicoAutoRgnOrder@GOTPAGEOFF]
	mov	w9, #388
Lloh55:
	str	w9, [x8]
Lloh56:
	adrp	x19, _vout_width@GOTPAGE
Lloh57:
	ldr	x19, [x19, _vout_width@GOTPAGEOFF]
	mov	w8, #320
	str	w8, [x19]
Lloh58:
	adrp	x8, _vout_height@GOTPAGE
Lloh59:
	ldr	x8, [x8, _vout_height@GOTPAGEOFF]
	mov	w9, #240
Lloh60:
	str	w9, [x8]
Lloh61:
	adrp	x8, _VOUT_MAX_WIDTH@GOTPAGE
Lloh62:
	ldr	x8, [x8, _VOUT_MAX_WIDTH@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	adrp	x9, _VOUT_MAX_HEIGHT@GOTPAGE
Lloh65:
	ldr	x9, [x9, _VOUT_MAX_HEIGHT@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	mul	w8, w8, w9
	lsl	w0, w8, #1
	bl	_malloc
Lloh67:
	adrp	x20, _vout_buf@GOTPAGE
Lloh68:
	ldr	x20, [x20, _vout_buf@GOTPAGEOFF]
	str	w0, [x20]
	bl	_PicoInit
Lloh69:
	adrp	x8, _PDF_RGB555@GOTPAGE
Lloh70:
	ldr	x8, [x8, _PDF_RGB555@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PicoDrawSetOutFormat
	ldr	w0, [x20]
	ldr	w8, [x19]
	lsl	w1, w8, #1
	bl	_PicoDrawSetOutBuf
Lloh72:
	adrp	x8, _disk_tray_open@GOTPAGE
Lloh73:
	ldr	x8, [x8, _disk_tray_open@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
Lloh75:
	adrp	x9, _PicoMCDopenTray@GOTPAGE
Lloh76:
	ldr	x9, [x9, _PicoMCDopenTray@GOTPAGEOFF]
Lloh77:
	str	w8, [x9]
Lloh78:
	adrp	x8, _disk_tray_close@GOTPAGE
Lloh79:
	ldr	x8, [x8, _disk_tray_close@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
Lloh81:
	adrp	x9, _PicoMCDcloseTray@GOTPAGE
Lloh82:
	ldr	x9, [x9, _PicoMCDcloseTray@GOTPAGEOFF]
Lloh83:
	str	w8, [x9]
Lloh84:
	adrp	x19, _PICO_INPUT_PAD_6BTN@GOTPAGE
Lloh85:
	ldr	x19, [x19, _PICO_INPUT_PAD_6BTN@GOTPAGEOFF]
	ldr	w1, [x19]
	mov	w0, #0
	bl	_PicoSetInputDevice
	ldr	w1, [x19]
	mov	w0, #1
	bl	_PicoSetInputDevice
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGotStr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotStr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotStr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotStr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_stdout,8,3                     ; @stdout
	.comm	_emu_log,8,3                    ; @emu_log
	.comm	_RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL,4,2 ; @RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL
	.comm	_RETRO_ENVIRONMENT_SET_DISK_CONTROL_INTERFACE,4,2 ; @RETRO_ENVIRONMENT_SET_DISK_CONTROL_INTERFACE
	.comm	_disk_control,4,2               ; @disk_control
	.comm	_POPT_EN_STEREO,4,2             ; @POPT_EN_STEREO
	.comm	_POPT_EN_FM,4,2                 ; @POPT_EN_FM
	.comm	_POPT_EN_PSG,4,2                ; @POPT_EN_PSG
	.comm	_POPT_EN_Z80,4,2                ; @POPT_EN_Z80
	.comm	_POPT_EN_MCD_PCM,4,2            ; @POPT_EN_MCD_PCM
	.comm	_POPT_EN_MCD_CDDA,4,2           ; @POPT_EN_MCD_CDDA
	.comm	_POPT_EN_MCD_GFX,4,2            ; @POPT_EN_MCD_GFX
	.comm	_POPT_EN_32X,4,2                ; @POPT_EN_32X
	.comm	_POPT_EN_PWM,4,2                ; @POPT_EN_PWM
	.comm	_POPT_ACC_SPRITES,4,2           ; @POPT_ACC_SPRITES
	.comm	_POPT_DIS_32C_BORDER,4,2        ; @POPT_DIS_32C_BORDER
	.comm	_PicoOpt,4,2                    ; @PicoOpt
	.comm	_PsndRate,4,2                   ; @PsndRate
	.comm	_PicoAutoRgnOrder,4,2           ; @PicoAutoRgnOrder
	.comm	_vout_width,4,2                 ; @vout_width
	.comm	_vout_height,4,2                ; @vout_height
	.comm	_VOUT_MAX_WIDTH,4,2             ; @VOUT_MAX_WIDTH
	.comm	_VOUT_MAX_HEIGHT,4,2            ; @VOUT_MAX_HEIGHT
	.comm	_vout_buf,4,2                   ; @vout_buf
	.comm	_PDF_RGB555,4,2                 ; @PDF_RGB555
	.comm	_disk_tray_open,4,2             ; @disk_tray_open
	.comm	_PicoMCDopenTray,4,2            ; @PicoMCDopenTray
	.comm	_disk_tray_close,4,2            ; @disk_tray_close
	.comm	_PicoMCDcloseTray,4,2           ; @PicoMCDcloseTray
	.comm	_PICO_INPUT_PAD_6BTN,4,2        ; @PICO_INPUT_PAD_6BTN
	.comm	_POPT_EN_DRC,4,2                ; @POPT_EN_DRC
.subsections_via_symbols
