	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function M68KC68KInit
_M68KC68KInit:                          ## @M68KC68KInit
	.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
	movl	$65536, %edi                    ## imm = 0x10000
	callq	_T2MemoryInit
	movq	_SoundDummy@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	movl	$255, %esi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_memset
LBB0_2:
	movq	_C68K@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_C68k_Init
	movl	$1114111, %ebx                  ## imm = 0x10FFFF
	movq	_M68K@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	leal	-65535(%rbx), %edi
	movl	(%r14), %edx
	movl	%ebx, %esi
	callq	*(%rax)
	addl	$65536, %ebx                    ## imm = 0x10000
	cmpl	$16842751, %ebx                 ## imm = 0x100FFFF
	jne	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SoundDummy,8,3                 ## @SoundDummy
	.comm	_C68K,4,2                       ## @C68K
	.comm	_M68K,8,3                       ## @M68K
	.no_dead_strip	_M68KC68KInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function M68KC68KInit
_M68KC68KInit:                          ; @M68KC68KInit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	w0, #65536
	bl	_T2MemoryInit
Lloh0:
	adrp	x19, _SoundDummy@GOTPAGE
Lloh1:
	ldr	x19, [x19, _SoundDummy@GOTPAGEOFF]
	str	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w1, #255
	mov	w2, #65536
	bl	_memset
LBB0_2:
Lloh2:
	adrp	x0, _C68K@GOTPAGE
Lloh3:
	ldr	x0, [x0, _C68K@GOTPAGEOFF]
	mov	x1, #0
	bl	_C68k_Init
	mov	w20, #0
Lloh4:
	adrp	x21, _M68K@GOTPAGE
Lloh5:
	ldr	x21, [x21, _M68K@GOTPAGEOFF]
	mov	w22, #1114111
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	w0, w20, #256, lsl #12          ; =1048576
	add	w1, w20, w22
	ldr	w2, [x19]
	blr	x8
	add	w20, w20, #16, lsl #12          ; =65536
	cmp	w20, #3840, lsl #12             ; =15728640
	b.ne	LBB0_3
; %bb.4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SoundDummy,8,3                 ; @SoundDummy
	.comm	_C68K,4,2                       ; @C68K
	.comm	_M68K,8,3                       ; @M68K
	.no_dead_strip	_M68KC68KInit
.subsections_via_symbols
