	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MatchByName
_MatchByName:                           ## @MatchByName
	.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
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-2048, %esi                    ## imm = 0xF800
	roll	$21, %esi
	movl	$-1, %r14d
	cmpl	$7, %esi
	ja	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_20:
	testl	%edx, %edx
	je	LBB0_22
## %bb.21:
	movq	_SYSROM_roms@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_12
LBB0_22:
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movl	$2, %r15d
	testq	%rax, %rax
	je	LBB0_6
## %bb.23:
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.24:
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.25:
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.26:
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_19
LBB0_27:
	testl	%edx, %edx
	je	LBB0_29
## %bb.28:
	movq	_SYSROM_roms@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, 24(%rax)
	je	LBB0_12
LBB0_29:
	leaq	L_.str.15(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movl	$3, %r15d
	testq	%rax, %rax
	je	LBB0_6
## %bb.30:
	leaq	L_.str.16(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.31:
	leaq	L_.str.17(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.32:
	leaq	L_.str.18(%rip), %rsi
	jmp	LBB0_19
LBB0_2:
	testl	%edx, %edx
	je	LBB0_4
## %bb.3:
	movq	_SYSROM_roms@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.10:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_12
LBB0_5:
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_13:
	testl	%edx, %edx
	je	LBB0_15
## %bb.14:
	movq	_SYSROM_roms@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_12
LBB0_15:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_6
## %bb.16:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.17:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.18:
	leaq	L_.str.9(%rip), %rsi
LBB0_19:
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_12
LBB0_6:
	leaq	(%r15,%r15,2), %rax
	leaq	_MatchByName.offsets(%rip), %rcx
	movl	4(%rcx,%rax,4), %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_20
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_27
	.long	L0_0_set_2
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"atariosa.rom"

L_.str.1:                               ## @.str.1
	.asciz	"atari_osa.rom"

L_.str.2:                               ## @.str.2
	.asciz	"atari_os_a.rom"

L_.str.3:                               ## @.str.3
	.asciz	"atariosb.rom"

L_.str.4:                               ## @.str.4
	.asciz	"atari_osb.rom"

L_.str.5:                               ## @.str.5
	.asciz	"atari_os_b.rom"

L_.str.6:                               ## @.str.6
	.asciz	"atarixlxe.rom"

L_.str.7:                               ## @.str.7
	.asciz	"atarixl.rom"

L_.str.8:                               ## @.str.8
	.asciz	"atari_xlxe.rom"

L_.str.9:                               ## @.str.9
	.asciz	"atari_xl_xe.rom"

L_.str.10:                              ## @.str.10
	.asciz	"atari5200.rom"

L_.str.11:                              ## @.str.11
	.asciz	"atar5200.rom"

L_.str.12:                              ## @.str.12
	.asciz	"5200.rom"

L_.str.13:                              ## @.str.13
	.asciz	"5200.bin"

L_.str.14:                              ## @.str.14
	.asciz	"atari_5200.rom"

L_.str.15:                              ## @.str.15
	.asciz	"ataribasic.rom"

L_.str.16:                              ## @.str.16
	.asciz	"ataribas.rom"

L_.str.17:                              ## @.str.17
	.asciz	"basic.rom"

L_.str.18:                              ## @.str.18
	.asciz	"atari_basic.rom"

	.section	__TEXT,__const
	.p2align	4                               ## @MatchByName.offsets
_MatchByName.offsets:
	.long	10240                           ## 0x2800
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	16384                           ## 0x4000
	.long	128                             ## 0x80
	.long	7                               ## 0x7
	.long	2048                            ## 0x800
	.long	131                             ## 0x83
	.long	12                              ## 0xc
	.long	8192                            ## 0x2000
	.long	129                             ## 0x81
	.long	18                              ## 0x12

	.comm	_SYSROM_roms,8,3                ## @SYSROM_roms
	.no_dead_strip	_MatchByName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MatchByName
_MatchByName:                           ; @MatchByName
	.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
	mov	x19, x0
	sub	w8, w1, #2048
	ror	w8, w8, #11
	mov	w0, #-1
	cmp	w8, #7
	b.hi	LBB0_35
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	cbz	w2, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _SYSROM_roms@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SYSROM_roms@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_32
LBB0_4:
Lloh5:
	adrp	x1, l_.str.10@PAGE
Lloh6:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.5:
Lloh7:
	adrp	x1, l_.str.11@PAGE
Lloh8:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.6:
Lloh9:
	adrp	x1, l_.str.12@PAGE
Lloh10:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.7:
Lloh11:
	adrp	x1, l_.str.13@PAGE
Lloh12:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.8:
Lloh13:
	adrp	x1, l_.str.14@PAGE
Lloh14:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_32
LBB0_9:
	mov	w8, #2
	b	LBB0_34
LBB0_10:
	cbz	w2, LBB0_12
; %bb.11:
Lloh15:
	adrp	x8, _SYSROM_roms@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SYSROM_roms@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_32
LBB0_12:
Lloh18:
	adrp	x1, l_.str.15@PAGE
Lloh19:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.13:
Lloh20:
	adrp	x1, l_.str.16@PAGE
Lloh21:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.14:
Lloh22:
	adrp	x1, l_.str.17@PAGE
Lloh23:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.15:
Lloh24:
	adrp	x1, l_.str.18@PAGE
Lloh25:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_32
LBB0_16:
	mov	w8, #3
	b	LBB0_34
LBB0_17:
	cbz	w2, LBB0_19
; %bb.18:
Lloh26:
	adrp	x8, _SYSROM_roms@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SYSROM_roms@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_32
LBB0_19:
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_25
; %bb.20:
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_25
; %bb.21:
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_25
; %bb.22:
Lloh35:
	adrp	x1, l_.str.3@PAGE
Lloh36:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_25
; %bb.23:
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_25
; %bb.24:
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_32
LBB0_25:
	mov	x8, #0
	b	LBB0_34
LBB0_26:
	cbz	w2, LBB0_28
; %bb.27:
Lloh41:
	adrp	x8, _SYSROM_roms@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SYSROM_roms@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_32
LBB0_28:
Lloh44:
	adrp	x1, l_.str.6@PAGE
Lloh45:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_33
; %bb.29:
Lloh46:
	adrp	x1, l_.str.7@PAGE
Lloh47:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_33
; %bb.30:
Lloh48:
	adrp	x1, l_.str.8@PAGE
Lloh49:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_33
; %bb.31:
Lloh50:
	adrp	x1, l_.str.9@PAGE
Lloh51:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_33
LBB0_32:
	mov	w0, #-1
	b	LBB0_35
LBB0_33:
	mov	w8, #1
LBB0_34:
	mov	w9, #12
Lloh52:
	adrp	x10, _MatchByName.offsets@PAGE
Lloh53:
	add	x10, x10, _MatchByName.offsets@PAGEOFF
	madd	x8, x8, x9, x10
	ldr	w0, [x8, #4]
LBB0_35:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_35-LBB0_2)>>2
	.byte	(LBB0_35-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_35-LBB0_2)>>2
	.byte	(LBB0_35-LBB0_2)>>2
	.byte	(LBB0_26-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"atariosa.rom"

l_.str.1:                               ; @.str.1
	.asciz	"atari_osa.rom"

l_.str.2:                               ; @.str.2
	.asciz	"atari_os_a.rom"

l_.str.3:                               ; @.str.3
	.asciz	"atariosb.rom"

l_.str.4:                               ; @.str.4
	.asciz	"atari_osb.rom"

l_.str.5:                               ; @.str.5
	.asciz	"atari_os_b.rom"

l_.str.6:                               ; @.str.6
	.asciz	"atarixlxe.rom"

l_.str.7:                               ; @.str.7
	.asciz	"atarixl.rom"

l_.str.8:                               ; @.str.8
	.asciz	"atari_xlxe.rom"

l_.str.9:                               ; @.str.9
	.asciz	"atari_xl_xe.rom"

l_.str.10:                              ; @.str.10
	.asciz	"atari5200.rom"

l_.str.11:                              ; @.str.11
	.asciz	"atar5200.rom"

l_.str.12:                              ; @.str.12
	.asciz	"5200.rom"

l_.str.13:                              ; @.str.13
	.asciz	"5200.bin"

l_.str.14:                              ; @.str.14
	.asciz	"atari_5200.rom"

l_.str.15:                              ; @.str.15
	.asciz	"ataribasic.rom"

l_.str.16:                              ; @.str.16
	.asciz	"ataribas.rom"

l_.str.17:                              ; @.str.17
	.asciz	"basic.rom"

l_.str.18:                              ; @.str.18
	.asciz	"atari_basic.rom"

	.section	__TEXT,__const
	.p2align	2                               ; @MatchByName.offsets
_MatchByName.offsets:
	.long	10240                           ; 0x2800
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	16384                           ; 0x4000
	.long	128                             ; 0x80
	.long	7                               ; 0x7
	.long	2048                            ; 0x800
	.long	131                             ; 0x83
	.long	12                              ; 0xc
	.long	8192                            ; 0x2000
	.long	129                             ; 0x81
	.long	18                              ; 0x12

	.comm	_SYSROM_roms,8,3                ; @SYSROM_roms
	.no_dead_strip	_MatchByName
.subsections_via_symbols
