	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function system_announce
_system_announce:                       ## @system_announce
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PicoAHW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PAHW_SMS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_12
LBB0_2:
	movq	_PAHW_PICO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_12
LBB0_4:
	movq	_PAHW_32X@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_PAHW_MCD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	orl	%ecx, %esi
	movl	%eax, %edi
	notl	%edi
	testl	%edi, %esi
	jne	LBB0_6
## %bb.5:
	movq	_Pico@GOTPCREL(%rip), %rax
	movl	$192, %ecx
	andl	(%rax), %ecx
	cmpl	$128, %ecx
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_11
LBB0_6:
	testl	%eax, %edx
	je	LBB0_8
## %bb.7:
	movq	_Pico@GOTPCREL(%rip), %rax
	movl	$192, %ecx
	andl	(%rax), %ecx
	cmpl	$128, %ecx
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.5(%rip), %rdx
LBB0_11:
	cmoveq	%rax, %rdx
LBB0_12:
	movq	_Pico@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rax)
	leaq	L_.str.11(%rip), %rax
	leaq	L_.str.10(%rip), %rsi
	cmoveq	%rax, %rsi
	movl	$60, %eax
	movl	$50, %ecx
	cmovel	%eax, %ecx
	leaq	L_.str.12(%rip), %rdi
	leaq	L_.str(%rip), %r8
	popq	%rbp
	jmp	_emu_status_msg                 ## TAILCALL
LBB0_8:
	testl	%eax, %ecx
	je	LBB0_10
## %bb.9:
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_12
LBB0_10:
	movq	_Pico@GOTPCREL(%rip), %rax
	movl	$192, %ecx
	andl	(%rax), %ecx
	cmpl	$128, %ecx
	leaq	L_.str.9(%rip), %rax
	leaq	L_.str.8(%rip), %rdx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_PicoAHW,4,2                    ## @PicoAHW
	.comm	_PAHW_SMS,4,2                   ## @PAHW_SMS
L_.str.1:                               ## @.str.1
	.asciz	"Master System"

	.comm	_PAHW_PICO,4,2                  ## @PAHW_PICO
L_.str.2:                               ## @.str.2
	.asciz	"Pico"

	.comm	_PAHW_32X,4,2                   ## @PAHW_32X
	.comm	_PAHW_MCD,4,2                   ## @PAHW_MCD
L_.str.3:                               ## @.str.3
	.asciz	"32X + Mega CD"

	.comm	_Pico,16,3                      ## @Pico
L_.str.4:                               ## @.str.4
	.asciz	"32X + Sega CD"

L_.str.5:                               ## @.str.5
	.asciz	"Mega CD"

L_.str.6:                               ## @.str.6
	.asciz	"Sega CD"

L_.str.7:                               ## @.str.7
	.asciz	"32X"

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

L_.str.9:                               ## @.str.9
	.asciz	"Genesis"

L_.str.10:                              ## @.str.10
	.asciz	"PAL"

L_.str.11:                              ## @.str.11
	.asciz	"NTSC"

L_.str.12:                              ## @.str.12
	.asciz	"%s %s / %dFPS%s"

	.no_dead_strip	_system_announce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function system_announce
_system_announce:                       ; @system_announce
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PicoAHW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PicoAHW@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _PAHW_SMS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAHW_SMS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
Lloh6:
	adrp	x8, _Pico@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Pico@GOTPAGEOFF]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_2:
Lloh10:
	adrp	x10, _PAHW_PICO@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PAHW_PICO@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_4:
Lloh15:
	adrp	x10, _PAHW_32X@GOTPAGE
Lloh16:
	ldr	x10, [x10, _PAHW_32X@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	adrp	x11, _PAHW_MCD@GOTPAGE
Lloh19:
	ldr	x11, [x11, _PAHW_MCD@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	orr	w12, w11, w10
	bics	wzr, w12, w9
	b.ne	LBB0_6
; %bb.5:
	ldr	w9, [x8]
	and	w9, w9, #0xc0
Lloh21:
	adrp	x10, l_.str.3@PAGE
Lloh22:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh23:
	adrp	x11, l_.str.4@PAGE
Lloh24:
	add	x11, x11, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_6:
	tst	w11, w9
	b.eq	LBB0_10
; %bb.7:
	ldr	w9, [x8]
	and	w9, w9, #0xc0
Lloh25:
	adrp	x10, l_.str.5@PAGE
Lloh26:
	add	x10, x10, l_.str.5@PAGEOFF
Lloh27:
	adrp	x11, l_.str.6@PAGE
Lloh28:
	add	x11, x11, l_.str.6@PAGEOFF
LBB0_8:
	cmp	w9, #128
	csel	x2, x11, x10, eq
LBB0_9:
	ldr	x8, [x8, #8]
Lloh29:
	adrp	x9, l_.str.10@PAGE
Lloh30:
	add	x9, x9, l_.str.10@PAGEOFF
Lloh31:
	adrp	x10, l_.str.11@PAGE
Lloh32:
	add	x10, x10, l_.str.11@PAGEOFF
	cmp	x8, #0
	csel	x1, x10, x9, eq
	mov	w8, #50
	mov	w9, #60
Lloh33:
	adrp	x0, l_.str.12@PAGE
Lloh34:
	add	x0, x0, l_.str.12@PAGEOFF
Lloh35:
	adrp	x4, l_.str@PAGE
Lloh36:
	add	x4, x4, l_.str@PAGEOFF
	csel	w3, w9, w8, eq
	b	_emu_status_msg
LBB0_10:
	tst	w10, w9
	b.eq	LBB0_12
; %bb.11:
Lloh37:
	adrp	x2, l_.str.7@PAGE
Lloh38:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_9
LBB0_12:
	ldr	w9, [x8]
	and	w9, w9, #0xc0
Lloh39:
	adrp	x10, l_.str.8@PAGE
Lloh40:
	add	x10, x10, l_.str.8@PAGEOFF
Lloh41:
	adrp	x11, l_.str.9@PAGE
Lloh42:
	add	x11, x11, l_.str.9@PAGEOFF
	b	LBB0_8
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_PicoAHW,4,2                    ; @PicoAHW
	.comm	_PAHW_SMS,4,2                   ; @PAHW_SMS
l_.str.1:                               ; @.str.1
	.asciz	"Master System"

	.comm	_PAHW_PICO,4,2                  ; @PAHW_PICO
l_.str.2:                               ; @.str.2
	.asciz	"Pico"

	.comm	_PAHW_32X,4,2                   ; @PAHW_32X
	.comm	_PAHW_MCD,4,2                   ; @PAHW_MCD
l_.str.3:                               ; @.str.3
	.asciz	"32X + Mega CD"

	.comm	_Pico,16,3                      ; @Pico
l_.str.4:                               ; @.str.4
	.asciz	"32X + Sega CD"

l_.str.5:                               ; @.str.5
	.asciz	"Mega CD"

l_.str.6:                               ; @.str.6
	.asciz	"Sega CD"

l_.str.7:                               ; @.str.7
	.asciz	"32X"

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

l_.str.9:                               ; @.str.9
	.asciz	"Genesis"

l_.str.10:                              ; @.str.10
	.asciz	"PAL"

l_.str.11:                              ; @.str.11
	.asciz	"NTSC"

l_.str.12:                              ; @.str.12
	.asciz	"%s %s / %dFPS%s"

	.no_dead_strip	_system_announce
.subsections_via_symbols
