	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m68kq68_init
_m68kq68_init:                          ## @m68kq68_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_q68_create
	movq	_state@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_q68_set_irq
	movl	(%rbx), %edi
	movq	_dummy_read@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_q68_set_readb_func
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_q68_set_readw_func
	movl	(%rbx), %edi
	movq	_dummy_write@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_q68_set_writeb_func
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_q68_set_writew_func
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_state,4,2                      ## @state
	.comm	_dummy_read,4,2                 ## @dummy_read
	.comm	_dummy_write,4,2                ## @dummy_write
	.no_dead_strip	_m68kq68_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m68kq68_init
_m68kq68_init:                          ; @m68kq68_init
	.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
	bl	_q68_create
Lloh0:
	adrp	x19, _state@GOTPAGE
Lloh1:
	ldr	x19, [x19, _state@GOTPAGEOFF]
	str	w0, [x19]
	cbz	w0, LBB0_2
; %bb.1:
	mov	w1, #0
	bl	_q68_set_irq
	ldr	w0, [x19]
Lloh2:
	adrp	x20, _dummy_read@GOTPAGE
Lloh3:
	ldr	x20, [x20, _dummy_read@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_q68_set_readb_func
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_q68_set_readw_func
	ldr	w0, [x19]
Lloh4:
	adrp	x20, _dummy_write@GOTPAGE
Lloh5:
	ldr	x20, [x20, _dummy_write@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_q68_set_writeb_func
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_q68_set_writew_func
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_state,4,2                      ; @state
	.comm	_dummy_read,4,2                 ; @dummy_read
	.comm	_dummy_write,4,2                ; @dummy_write
	.no_dead_strip	_m68kq68_init
.subsections_via_symbols
