	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_set_cpu_type              ## -- Begin function m68k_set_cpu_type
	.p2align	4, 0x90
_m68k_set_cpu_type:                     ## @m68k_set_cpu_type
	.cfi_startproc
## %bb.0:
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$3, %edi
	ja	LBB0_8
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	_CPU_TYPE_EC020@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CPU_TYPE@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_CPU_ADDRESS_MASK@GOTPCREL(%rip), %rax
	movl	$16777215, (%rax)               ## imm = 0xFFFFFF
	jmp	LBB0_6
LBB0_5:
	movq	_CPU_TYPE_020@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CPU_TYPE@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_CPU_ADDRESS_MASK@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_6:
	movq	_CPU_SR_MASK@GOTPCREL(%rip), %rax
	movl	$63263, (%rax)                  ## imm = 0xF71F
	movq	_m68ki_cycles@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %eax
	movq	_CYC_INSTRUCTION@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_m68ki_exception_cycle_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	$8, %rcx
	movl	$518, %r8d                      ## imm = 0x206
	movl	$2, %r9d
	movl	$4, %r11d
	xorl	%esi, %esi
	movl	$-2, %edx
	xorl	%eax, %eax
	xorl	%r10d, %r10d
	jmp	LBB0_7
LBB0_3:
	movq	_CPU_TYPE_010@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CPU_TYPE@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_CPU_ADDRESS_MASK@GOTPCREL(%rip), %rax
	movl	$16777215, (%rax)               ## imm = 0xFFFFFF
	movq	_CPU_SR_MASK@GOTPCREL(%rip), %rax
	movl	$42783, (%rax)                  ## imm = 0xA71F
	movq	_m68ki_cycles@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %eax
	movq	_CYC_INSTRUCTION@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_m68ki_exception_cycle_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	$4, %rcx
	movl	$130, %r8d
	movl	$1, %r10d
	movl	$3, %r9d
	movl	$6, %r11d
	xorl	%esi, %esi
	movl	$-4, %edx
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_2:
	movq	_CPU_TYPE_000@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CPU_TYPE@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_CPU_ADDRESS_MASK@GOTPCREL(%rip), %rax
	movl	$16777215, (%rax)               ## imm = 0xFFFFFF
	movq	_CPU_SR_MASK@GOTPCREL(%rip), %rax
	movl	$42783, (%rax)                  ## imm = 0xA71F
	movq	_m68ki_cycles@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	_CYC_INSTRUCTION@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_m68ki_exception_cycle_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$132, %r8d
	movl	$1, %r10d
	movl	$3, %r9d
	movl	$2, %esi
	movl	$-2, %edx
	movl	$-2, %eax
	movl	$2, %r11d
LBB0_7:
	movl	(%rcx), %ecx
	movq	_CYC_EXCEPTION@GOTPCREL(%rip), %rdi
	movl	%ecx, (%rdi)
	movq	_CYC_BCC_NOTAKE_B@GOTPCREL(%rip), %rcx
	movl	%edx, (%rcx)
	movq	_CYC_BCC_NOTAKE_W@GOTPCREL(%rip), %rcx
	movl	%esi, (%rcx)
	movq	_CYC_DBCC_F_NOEXP@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_CYC_DBCC_F_EXP@GOTPCREL(%rip), %rax
	movl	%r11d, (%rax)
	movq	_CYC_SCC_R_TRUE@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	movq	_CYC_MOVEM_W@GOTPCREL(%rip), %rax
	movl	$2, (%rax)
	movq	_CYC_MOVEM_L@GOTPCREL(%rip), %rax
	movl	%r9d, (%rax)
	movq	_CYC_SHIFT@GOTPCREL(%rip), %rax
	movl	%r10d, (%rax)
	movq	_CYC_RESET@GOTPCREL(%rip), %rax
	movl	%r8d, (%rax)
	popq	%rbp
LBB0_8:
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_CPU_TYPE_000,4,2               ## @CPU_TYPE_000
	.comm	_CPU_TYPE,4,2                   ## @CPU_TYPE
	.comm	_CPU_ADDRESS_MASK,4,2           ## @CPU_ADDRESS_MASK
	.comm	_CPU_SR_MASK,4,2                ## @CPU_SR_MASK
	.comm	_m68ki_cycles,8,3               ## @m68ki_cycles
	.comm	_CYC_INSTRUCTION,4,2            ## @CYC_INSTRUCTION
	.comm	_m68ki_exception_cycle_table,8,3 ## @m68ki_exception_cycle_table
	.comm	_CYC_EXCEPTION,4,2              ## @CYC_EXCEPTION
	.comm	_CYC_BCC_NOTAKE_B,4,2           ## @CYC_BCC_NOTAKE_B
	.comm	_CYC_BCC_NOTAKE_W,4,2           ## @CYC_BCC_NOTAKE_W
	.comm	_CYC_DBCC_F_NOEXP,4,2           ## @CYC_DBCC_F_NOEXP
	.comm	_CYC_DBCC_F_EXP,4,2             ## @CYC_DBCC_F_EXP
	.comm	_CYC_SCC_R_TRUE,4,2             ## @CYC_SCC_R_TRUE
	.comm	_CYC_MOVEM_W,4,2                ## @CYC_MOVEM_W
	.comm	_CYC_MOVEM_L,4,2                ## @CYC_MOVEM_L
	.comm	_CYC_SHIFT,4,2                  ## @CYC_SHIFT
	.comm	_CYC_RESET,4,2                  ## @CYC_RESET
	.comm	_CPU_TYPE_010,4,2               ## @CPU_TYPE_010
	.comm	_CPU_TYPE_EC020,4,2             ## @CPU_TYPE_EC020
	.comm	_CPU_TYPE_020,4,2               ## @CPU_TYPE_020
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_set_cpu_type              ; -- Begin function m68k_set_cpu_type
	.p2align	2
_m68k_set_cpu_type:                     ; @m68k_set_cpu_type
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_8
; %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:
	mov	w8, #0
	mov	w10, #0
	mov	w9, #0
Lloh2:
	adrp	x11, _CPU_TYPE_EC020@GOTPAGE
Lloh3:
	ldr	x11, [x11, _CPU_TYPE_EC020@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
Lloh5:
	adrp	x12, _CPU_TYPE@GOTPAGE
Lloh6:
	ldr	x12, [x12, _CPU_TYPE@GOTPAGEOFF]
Lloh7:
	str	w11, [x12]
Lloh8:
	adrp	x11, _CPU_ADDRESS_MASK@GOTPAGE
Lloh9:
	ldr	x11, [x11, _CPU_ADDRESS_MASK@GOTPAGEOFF]
	mov	w12, #16777215
	b	LBB0_4
LBB0_3:
	mov	w8, #0
	mov	w10, #0
	mov	w9, #0
Lloh10:
	adrp	x11, _CPU_TYPE_020@GOTPAGE
Lloh11:
	ldr	x11, [x11, _CPU_TYPE_020@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x11]
Lloh13:
	adrp	x12, _CPU_TYPE@GOTPAGE
Lloh14:
	ldr	x12, [x12, _CPU_TYPE@GOTPAGEOFF]
Lloh15:
	str	w11, [x12]
Lloh16:
	adrp	x11, _CPU_ADDRESS_MASK@GOTPAGE
Lloh17:
	ldr	x11, [x11, _CPU_ADDRESS_MASK@GOTPAGEOFF]
	mov	w12, #-1
LBB0_4:
Lloh18:
	adrp	x13, _CPU_SR_MASK@GOTPAGE
Lloh19:
	ldr	x13, [x13, _CPU_SR_MASK@GOTPAGEOFF]
	str	w12, [x11]
	mov	w11, #63263
Lloh20:
	str	w11, [x13]
Lloh21:
	adrp	x11, _m68ki_cycles@GOTPAGE
Lloh22:
	ldr	x11, [x11, _m68ki_cycles@GOTPAGEOFF]
Lloh23:
	ldr	x11, [x11]
Lloh24:
	adrp	x12, _CYC_INSTRUCTION@GOTPAGE
Lloh25:
	ldr	x12, [x12, _CYC_INSTRUCTION@GOTPAGEOFF]
Lloh26:
	adrp	x13, _m68ki_exception_cycle_table@GOTPAGE
Lloh27:
	ldr	x13, [x13, _m68ki_exception_cycle_table@GOTPAGEOFF]
Lloh28:
	ldr	x13, [x13]
	add	x13, x13, #8
	ldr	w11, [x11, #8]
Lloh29:
	str	w11, [x12]
	mov	w11, #518
	mov	w12, #2
	mov	w14, #4
	mov	w15, #-2
	b	LBB0_7
LBB0_5:
	mov	w8, #0
	mov	w10, #0
Lloh30:
	adrp	x9, _CPU_TYPE_010@GOTPAGE
Lloh31:
	ldr	x9, [x9, _CPU_TYPE_010@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x11, _CPU_TYPE@GOTPAGE
Lloh34:
	ldr	x11, [x11, _CPU_TYPE@GOTPAGEOFF]
Lloh35:
	str	w9, [x11]
Lloh36:
	adrp	x9, _CPU_ADDRESS_MASK@GOTPAGE
Lloh37:
	ldr	x9, [x9, _CPU_ADDRESS_MASK@GOTPAGEOFF]
	mov	w11, #16777215
Lloh38:
	str	w11, [x9]
Lloh39:
	adrp	x9, _CPU_SR_MASK@GOTPAGE
Lloh40:
	ldr	x9, [x9, _CPU_SR_MASK@GOTPAGEOFF]
	mov	w11, #42783
Lloh41:
	str	w11, [x9]
Lloh42:
	adrp	x9, _m68ki_cycles@GOTPAGE
Lloh43:
	ldr	x9, [x9, _m68ki_cycles@GOTPAGEOFF]
Lloh44:
	adrp	x12, _CYC_INSTRUCTION@GOTPAGE
Lloh45:
	ldr	x12, [x12, _CYC_INSTRUCTION@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
Lloh47:
	adrp	x11, _m68ki_exception_cycle_table@GOTPAGE
Lloh48:
	ldr	x11, [x11, _m68ki_exception_cycle_table@GOTPAGEOFF]
Lloh49:
	ldr	x11, [x11]
	add	x13, x11, #4
	mov	w11, #130
	ldr	w9, [x9, #4]
Lloh50:
	str	w9, [x12]
	mov	w9, #1
	mov	w12, #3
	mov	w14, #6
	mov	w15, #-4
	b	LBB0_7
LBB0_6:
Lloh51:
	adrp	x8, _CPU_TYPE_000@GOTPAGE
Lloh52:
	ldr	x8, [x8, _CPU_TYPE_000@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _CPU_TYPE@GOTPAGE
Lloh55:
	ldr	x9, [x9, _CPU_TYPE@GOTPAGEOFF]
Lloh56:
	adrp	x10, _CPU_ADDRESS_MASK@GOTPAGE
Lloh57:
	ldr	x10, [x10, _CPU_ADDRESS_MASK@GOTPAGEOFF]
Lloh58:
	str	w8, [x9]
	mov	w8, #16777215
Lloh59:
	str	w8, [x10]
Lloh60:
	adrp	x8, _CPU_SR_MASK@GOTPAGE
Lloh61:
	ldr	x8, [x8, _CPU_SR_MASK@GOTPAGEOFF]
	mov	w9, #42783
Lloh62:
	str	w9, [x8]
Lloh63:
	adrp	x8, _m68ki_cycles@GOTPAGE
Lloh64:
	ldr	x8, [x8, _m68ki_cycles@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
Lloh66:
	adrp	x9, _CYC_INSTRUCTION@GOTPAGE
Lloh67:
	ldr	x9, [x9, _CYC_INSTRUCTION@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh68:
	str	w8, [x9]
Lloh69:
	adrp	x8, _m68ki_exception_cycle_table@GOTPAGE
Lloh70:
	ldr	x8, [x8, _m68ki_exception_cycle_table@GOTPAGEOFF]
	mov	w11, #132
	mov	w9, #1
	mov	w12, #3
Lloh71:
	ldr	x13, [x8]
	mov	w8, #2
	mov	w15, #-2
	mov	w10, #-2
	mov	w14, #2
LBB0_7:
Lloh72:
	adrp	x16, _CYC_EXCEPTION@GOTPAGE
Lloh73:
	ldr	x16, [x16, _CYC_EXCEPTION@GOTPAGEOFF]
	ldr	w13, [x13]
Lloh74:
	str	w13, [x16]
Lloh75:
	adrp	x13, _CYC_BCC_NOTAKE_B@GOTPAGE
Lloh76:
	ldr	x13, [x13, _CYC_BCC_NOTAKE_B@GOTPAGEOFF]
Lloh77:
	adrp	x16, _CYC_BCC_NOTAKE_W@GOTPAGE
Lloh78:
	ldr	x16, [x16, _CYC_BCC_NOTAKE_W@GOTPAGEOFF]
Lloh79:
	str	w15, [x13]
Lloh80:
	str	w8, [x16]
Lloh81:
	adrp	x13, _CYC_DBCC_F_NOEXP@GOTPAGE
Lloh82:
	ldr	x13, [x13, _CYC_DBCC_F_NOEXP@GOTPAGEOFF]
Lloh83:
	adrp	x15, _CYC_DBCC_F_EXP@GOTPAGE
Lloh84:
	ldr	x15, [x15, _CYC_DBCC_F_EXP@GOTPAGEOFF]
Lloh85:
	str	w10, [x13]
Lloh86:
	str	w14, [x15]
Lloh87:
	adrp	x10, _CYC_SCC_R_TRUE@GOTPAGE
Lloh88:
	ldr	x10, [x10, _CYC_SCC_R_TRUE@GOTPAGEOFF]
Lloh89:
	adrp	x13, _CYC_MOVEM_W@GOTPAGE
Lloh90:
	ldr	x13, [x13, _CYC_MOVEM_W@GOTPAGEOFF]
Lloh91:
	str	w8, [x10]
	mov	w8, #2
Lloh92:
	str	w8, [x13]
Lloh93:
	adrp	x8, _CYC_MOVEM_L@GOTPAGE
Lloh94:
	ldr	x8, [x8, _CYC_MOVEM_L@GOTPAGEOFF]
Lloh95:
	str	w12, [x8]
Lloh96:
	adrp	x8, _CYC_SHIFT@GOTPAGE
Lloh97:
	ldr	x8, [x8, _CYC_SHIFT@GOTPAGEOFF]
Lloh98:
	str	w9, [x8]
Lloh99:
	adrp	x8, _CYC_RESET@GOTPAGE
Lloh100:
	ldr	x8, [x8, _CYC_RESET@GOTPAGEOFF]
Lloh101:
	str	w11, [x8]
LBB0_8:
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh29
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh50
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotStr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotStr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh59
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh58
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotStr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotStr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotStr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotStr	Lloh89, Lloh90, Lloh92
	.loh AdrpLdrGotStr	Lloh87, Lloh88, Lloh91
	.loh AdrpLdrGotStr	Lloh83, Lloh84, Lloh86
	.loh AdrpLdrGotStr	Lloh81, Lloh82, Lloh85
	.loh AdrpLdrGotStr	Lloh77, Lloh78, Lloh80
	.loh AdrpLdrGotStr	Lloh75, Lloh76, Lloh79
	.loh AdrpLdrGotStr	Lloh72, Lloh73, Lloh74
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_CPU_TYPE_000,4,2               ; @CPU_TYPE_000
	.comm	_CPU_TYPE,4,2                   ; @CPU_TYPE
	.comm	_CPU_ADDRESS_MASK,4,2           ; @CPU_ADDRESS_MASK
	.comm	_CPU_SR_MASK,4,2                ; @CPU_SR_MASK
	.comm	_m68ki_cycles,8,3               ; @m68ki_cycles
	.comm	_CYC_INSTRUCTION,4,2            ; @CYC_INSTRUCTION
	.comm	_m68ki_exception_cycle_table,8,3 ; @m68ki_exception_cycle_table
	.comm	_CYC_EXCEPTION,4,2              ; @CYC_EXCEPTION
	.comm	_CYC_BCC_NOTAKE_B,4,2           ; @CYC_BCC_NOTAKE_B
	.comm	_CYC_BCC_NOTAKE_W,4,2           ; @CYC_BCC_NOTAKE_W
	.comm	_CYC_DBCC_F_NOEXP,4,2           ; @CYC_DBCC_F_NOEXP
	.comm	_CYC_DBCC_F_EXP,4,2             ; @CYC_DBCC_F_EXP
	.comm	_CYC_SCC_R_TRUE,4,2             ; @CYC_SCC_R_TRUE
	.comm	_CYC_MOVEM_W,4,2                ; @CYC_MOVEM_W
	.comm	_CYC_MOVEM_L,4,2                ; @CYC_MOVEM_L
	.comm	_CYC_SHIFT,4,2                  ; @CYC_SHIFT
	.comm	_CYC_RESET,4,2                  ; @CYC_RESET
	.comm	_CPU_TYPE_010,4,2               ; @CPU_TYPE_010
	.comm	_CPU_TYPE_EC020,4,2             ; @CPU_TYPE_EC020
	.comm	_CPU_TYPE_020,4,2               ; @CPU_TYPE_020
.subsections_via_symbols
