	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cz80_Set_Reg                   ## -- Begin function Cz80_Set_Reg
	.p2align	4, 0x90
_Cz80_Set_Reg:                          ## @Cz80_Set_Reg
	.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 $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$18, %esi
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_zSP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_zR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	8(%rdi), %rax
	movq	_CZ80_FETCH_SFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	%rdx, %rsi
	shrq	%cl, %rsi
	movq	(%rax,%rsi,8), %rax
	movq	%rax, (%rdi)
	addq	%rdx, %rax
	movq	%rax, 16(%rdi)
	popq	%rbp
	retq
LBB0_6:
	movq	_zIY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_zIX@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	movq	%rdx, 32(%rdi)
LBB0_9:
	popq	%rbp
	retq
LBB0_10:
	movq	_zIM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_11:
	xorl	%eax, %eax
	testq	%rdx, %rdx
	setne	%al
	shll	$2, %eax
	movq	_zIFF2@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_12:
	xorl	%eax, %eax
	testq	%rdx, %rdx
	setne	%al
	shll	$2, %eax
	movq	_zIFF1@GOTPCREL(%rip), %rcx
LBB0_13:
	movl	%eax, (%rcx)
	popq	%rbp
	retq
LBB0_14:
	movq	_zI@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_15:
	movq	_zHL2@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_16:
	movq	_zHL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_17:
	movq	%rdx, 24(%rdi)
	popq	%rbp
	retq
LBB0_18:
	movq	_zDE2@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_19:
	movq	_zDE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_20:
	movq	_zBC2@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_21:
	movq	_zBC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_22:
	movq	_zAF2@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_23:
	movq	_zAF@GOTPCREL(%rip), %rax
LBB0_3:
	movq	%rdx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_21
	.long	L0_0_set_22
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.comm	_CZ80_FETCH_SFT,8,3             ## @CZ80_FETCH_SFT
	.comm	_zSP,8,3                        ## @zSP
	.comm	_zAF,8,3                        ## @zAF
	.comm	_zBC,8,3                        ## @zBC
	.comm	_zDE,8,3                        ## @zDE
	.comm	_zHL,8,3                        ## @zHL
	.comm	_zIX,8,3                        ## @zIX
	.comm	_zIY,8,3                        ## @zIY
	.comm	_zAF2,8,3                       ## @zAF2
	.comm	_zBC2,8,3                       ## @zBC2
	.comm	_zDE2,8,3                       ## @zDE2
	.comm	_zHL2,8,3                       ## @zHL2
	.comm	_zR,8,3                         ## @zR
	.comm	_zI,8,3                         ## @zI
	.comm	_zIM,8,3                        ## @zIM
	.comm	_zIFF1,4,2                      ## @zIFF1
	.comm	_zIFF2,4,2                      ## @zIFF2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cz80_Set_Reg                   ; -- Begin function Cz80_Set_Reg
	.p2align	2
_Cz80_Set_Reg:                          ; @Cz80_Set_Reg
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #18
	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:
Lloh2:
	adrp	x8, _zSP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _zSP@GOTPAGEOFF]
Lloh4:
	str	x2, [x8]
	ret
LBB0_3:
Lloh5:
	adrp	x8, _zR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _zR@GOTPAGEOFF]
Lloh7:
	str	x2, [x8]
	ret
LBB0_4:
	ldr	x8, [x0, #8]
Lloh8:
	adrp	x9, _CZ80_FETCH_SFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CZ80_FETCH_SFT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	lsr	x9, x2, x9
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [x0]
	add	x8, x8, x2
	str	x8, [x0, #16]
	ret
LBB0_5:
Lloh11:
	adrp	x8, _zIY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _zIY@GOTPAGEOFF]
Lloh13:
	str	x2, [x8]
	ret
LBB0_6:
Lloh14:
	adrp	x8, _zIX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _zIX@GOTPAGEOFF]
Lloh16:
	str	x2, [x8]
	ret
LBB0_7:
	str	x2, [x0, #32]
LBB0_8:
	ret
LBB0_9:
Lloh17:
	adrp	x8, _zIM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _zIM@GOTPAGEOFF]
Lloh19:
	str	x2, [x8]
	ret
LBB0_10:
	cmp	x2, #0
	cset	w8, ne
	lsl	w8, w8, #2
Lloh20:
	adrp	x9, _zIFF2@GOTPAGE
Lloh21:
	ldr	x9, [x9, _zIFF2@GOTPAGEOFF]
Lloh22:
	str	w8, [x9]
	ret
LBB0_11:
	cmp	x2, #0
	cset	w8, ne
	lsl	w8, w8, #2
Lloh23:
	adrp	x9, _zIFF1@GOTPAGE
Lloh24:
	ldr	x9, [x9, _zIFF1@GOTPAGEOFF]
Lloh25:
	str	w8, [x9]
	ret
LBB0_12:
Lloh26:
	adrp	x8, _zI@GOTPAGE
Lloh27:
	ldr	x8, [x8, _zI@GOTPAGEOFF]
Lloh28:
	str	x2, [x8]
	ret
LBB0_13:
Lloh29:
	adrp	x8, _zHL2@GOTPAGE
Lloh30:
	ldr	x8, [x8, _zHL2@GOTPAGEOFF]
Lloh31:
	str	x2, [x8]
	ret
LBB0_14:
Lloh32:
	adrp	x8, _zHL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _zHL@GOTPAGEOFF]
Lloh34:
	str	x2, [x8]
	ret
LBB0_15:
	str	x2, [x0, #24]
	ret
LBB0_16:
Lloh35:
	adrp	x8, _zDE2@GOTPAGE
Lloh36:
	ldr	x8, [x8, _zDE2@GOTPAGEOFF]
Lloh37:
	str	x2, [x8]
	ret
LBB0_17:
Lloh38:
	adrp	x8, _zDE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _zDE@GOTPAGEOFF]
Lloh40:
	str	x2, [x8]
	ret
LBB0_18:
Lloh41:
	adrp	x8, _zBC2@GOTPAGE
Lloh42:
	ldr	x8, [x8, _zBC2@GOTPAGEOFF]
Lloh43:
	str	x2, [x8]
	ret
LBB0_19:
Lloh44:
	adrp	x8, _zBC@GOTPAGE
Lloh45:
	ldr	x8, [x8, _zBC@GOTPAGEOFF]
Lloh46:
	str	x2, [x8]
	ret
LBB0_20:
Lloh47:
	adrp	x8, _zAF2@GOTPAGE
Lloh48:
	ldr	x8, [x8, _zAF2@GOTPAGEOFF]
Lloh49:
	str	x2, [x8]
	ret
LBB0_21:
Lloh50:
	adrp	x8, _zAF@GOTPAGE
Lloh51:
	ldr	x8, [x8, _zAF@GOTPAGEOFF]
Lloh52:
	str	x2, [x8]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
                                        ; -- End function
	.comm	_CZ80_FETCH_SFT,8,3             ; @CZ80_FETCH_SFT
	.comm	_zSP,8,3                        ; @zSP
	.comm	_zAF,8,3                        ; @zAF
	.comm	_zBC,8,3                        ; @zBC
	.comm	_zDE,8,3                        ; @zDE
	.comm	_zHL,8,3                        ; @zHL
	.comm	_zIX,8,3                        ; @zIX
	.comm	_zIY,8,3                        ; @zIY
	.comm	_zAF2,8,3                       ; @zAF2
	.comm	_zBC2,8,3                       ; @zBC2
	.comm	_zDE2,8,3                       ; @zDE2
	.comm	_zHL2,8,3                       ; @zHL2
	.comm	_zR,8,3                         ; @zR
	.comm	_zI,8,3                         ; @zI
	.comm	_zIM,8,3                        ; @zIM
	.comm	_zIFF1,4,2                      ; @zIFF1
	.comm	_zIFF2,4,2                      ; @zIFF2
.subsections_via_symbols
