	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_io_68k_write                   ## -- Begin function io_68k_write
	.p2align	4, 0x90
_io_68k_write:                          ## @io_68k_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	-1(%rdi), %eax
	cmpl	$14, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	_io_reg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%edi, %edx
	movl	%esi, (%rcx,%rdx,4)
	movq	_port@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	(%rdi,%rax,8), %r8
	movl	12(%rcx,%rdx,4), %eax
	movl	%esi, %edi
	movl	%eax, %esi
	popq	%rbp
	jmpq	*%r8                            ## TAILCALL
LBB0_5:
	andl	$248, %esi
LBB0_6:
	movq	_io_reg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	movl	%esi, (%rax,%rcx,4)
LBB0_7:
	popq	%rbp
	retq
LBB0_3:
	movq	_io_reg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	cmpl	%esi, (%rax,%rcx,4)
	je	LBB0_7
## %bb.4:
	movl	%esi, (%rax,%rcx,4)
	movq	_port@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leal	-4(%rdi), %edx
	movq	(%rcx,%rdx,8), %rcx
	addl	$-3, %edi
	movl	(%rax,%rdi,4), %edi
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_io_reg,8,3                     ## @io_reg
	.comm	_port,8,3                       ## @port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_io_68k_write                   ; -- Begin function io_68k_write
	.p2align	2
_io_68k_write:                          ; @io_68k_write
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #1
	cmp	w8, #14
	b.hi	LBB0_6
; %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:
Lloh2:
	adrp	x9, _io_reg@GOTPAGE
Lloh3:
	ldr	x9, [x9, _io_reg@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	str	w1, [x9, w0, uxtw #2]
Lloh5:
	adrp	x10, _port@GOTPAGE
Lloh6:
	ldr	x10, [x10, _port@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	ldr	x2, [x10, w8, uxtw #3]
	add	w8, w0, #3
	ldr	w8, [x9, w8, uxtw #2]
	mov	x0, x1
	mov	x1, x8
	br	x2
LBB0_3:
Lloh8:
	adrp	x8, _io_reg@GOTPAGE
Lloh9:
	ldr	x8, [x8, _io_reg@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	w1, [x8, w0, uxtw #2]
	ret
LBB0_4:
	and	w8, w1, #0xf8
Lloh11:
	adrp	x9, _io_reg@GOTPAGE
Lloh12:
	ldr	x9, [x9, _io_reg@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	str	w8, [x9, w0, uxtw #2]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _io_reg@GOTPAGE
Lloh15:
	ldr	x8, [x8, _io_reg@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w9, [x8, w0, uxtw #2]
	cmp	w9, w1
	b.ne	LBB0_7
LBB0_6:
	ret
LBB0_7:
	mov	w9, w0
	str	w1, [x8, x9, lsl #2]
Lloh17:
	adrp	x9, _port@GOTPAGE
Lloh18:
	ldr	x9, [x9, _port@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	sub	w10, w0, #4
	ldr	x2, [x9, w10, uxtw #3]
	sub	w9, w0, #3
	ldr	w0, [x8, w9, uxtw #2]
	br	x2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_io_reg,8,3                     ; @io_reg
	.comm	_port,8,3                       ; @port
.subsections_via_symbols
