	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s68k_set_reg                   ## -- Begin function s68k_set_reg
	.p2align	4, 0x90
_s68k_set_reg:                          ## @s68k_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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$22, %edi
	ja	LBB0_35
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_FLAG_S@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.3:
	movq	_REG_USP@GOTPCREL(%rip), %rcx
	jmp	LBB0_34
LBB0_4:
	movl	%esi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_m68ki_set_sr                   ## TAILCALL
LBB0_5:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	jmp	LBB0_8
LBB0_6:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_m68ki_jump                     ## TAILCALL
LBB0_7:
	movq	_FLAG_S@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	testl	%ebx, %ebx
	je	LBB0_36
LBB0_8:
	movq	_REG_SP@GOTPCREL(%rip), %rcx
	jmp	LBB0_34
LBB0_9:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_16
	movq	_REG_IR@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_35
LBB0_10:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_D@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_11:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_D@GOTPCREL(%rip), %rcx
	jmp	LBB0_21
LBB0_12:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_D@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_13:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_D@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_14:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_D@GOTPCREL(%rip), %rcx
	jmp	LBB0_27
LBB0_15:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_D@GOTPCREL(%rip), %rcx
	jmp	LBB0_29
LBB0_16:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_D@GOTPCREL(%rip), %rcx
	jmp	LBB0_31
LBB0_17:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_D@GOTPCREL(%rip), %rcx
	jmp	LBB0_33
LBB0_18:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_A@GOTPCREL(%rip), %rcx
LBB0_19:
	movq	(%rcx), %rcx
	movq	%rax, 56(%rcx)
	jmp	LBB0_35
LBB0_20:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_A@GOTPCREL(%rip), %rcx
LBB0_21:
	movq	(%rcx), %rcx
	movq	%rax, 48(%rcx)
	jmp	LBB0_35
LBB0_22:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_A@GOTPCREL(%rip), %rcx
LBB0_23:
	movq	(%rcx), %rcx
	movq	%rax, 40(%rcx)
	jmp	LBB0_35
LBB0_24:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_A@GOTPCREL(%rip), %rcx
LBB0_25:
	movq	(%rcx), %rcx
	movq	%rax, 32(%rcx)
	jmp	LBB0_35
LBB0_26:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_A@GOTPCREL(%rip), %rcx
LBB0_27:
	movq	(%rcx), %rcx
	movq	%rax, 24(%rcx)
	jmp	LBB0_35
LBB0_28:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_A@GOTPCREL(%rip), %rcx
LBB0_29:
	movq	(%rcx), %rcx
	movq	%rax, 16(%rcx)
	jmp	LBB0_35
LBB0_30:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_A@GOTPCREL(%rip), %rcx
LBB0_31:
	movq	(%rcx), %rcx
	movq	%rax, 8(%rcx)
	jmp	LBB0_35
LBB0_32:
	movl	%esi, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_REG_A@GOTPCREL(%rip), %rcx
LBB0_33:
	movq	(%rcx), %rcx
LBB0_34:
	movq	%rax, (%rcx)
LBB0_35:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_36:
	movq	_REG_ISP@GOTPCREL(%rip), %rcx
	jmp	LBB0_34
	.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_35, LBB0_35-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-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_13, LBB0_13-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_20, LBB0_20-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_35
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.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_20
	.long	L0_0_set_22
	.long	L0_0_set_24
	.long	L0_0_set_26
	.long	L0_0_set_28
	.long	L0_0_set_30
	.long	L0_0_set_32
	.end_data_region
                                        ## -- End function
	.comm	_REG_D,8,3                      ## @REG_D
	.comm	_REG_A,8,3                      ## @REG_A
	.comm	_REG_SP,8,3                     ## @REG_SP
	.comm	_FLAG_S,4,2                     ## @FLAG_S
	.comm	_REG_USP,8,3                    ## @REG_USP
	.comm	_REG_ISP,8,3                    ## @REG_ISP
	.comm	_REG_IR,4,2                     ## @REG_IR
	.comm	_CPU_PREF_ADDR,8,3              ## @CPU_PREF_ADDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s68k_set_reg                   ; -- Begin function s68k_set_reg
	.p2align	2
_s68k_set_reg:                          ; @s68k_set_reg
	.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
	sub	w8, w0, #128
	cmp	w8, #22
	b.hi	LBB0_35
; %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, _FLAG_S@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FLAG_S@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
	cbz	w19, LBB0_8
; %bb.3:
Lloh5:
	adrp	x8, _REG_USP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REG_USP@GOTPAGEOFF]
	b	LBB0_34
LBB0_4:
	mov	x0, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_m68ki_set_sr
LBB0_5:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
	b	LBB0_8
LBB0_6:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_m68ki_jump
LBB0_7:
Lloh7:
	adrp	x8, _FLAG_S@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FLAG_S@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
	cbz	w19, LBB0_36
LBB0_8:
Lloh10:
	adrp	x8, _REG_SP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REG_SP@GOTPAGEOFF]
	b	LBB0_34
LBB0_9:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_16
Lloh12:
	adrp	x8, _REG_IR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_IR@GOTPAGEOFF]
Lloh14:
	str	w0, [x8]
	b	LBB0_35
LBB0_10:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh15:
	adrp	x8, _REG_D@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_D@GOTPAGEOFF]
	b	LBB0_19
LBB0_11:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh17:
	adrp	x8, _REG_D@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REG_D@GOTPAGEOFF]
	b	LBB0_21
LBB0_12:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh19:
	adrp	x8, _REG_D@GOTPAGE
Lloh20:
	ldr	x8, [x8, _REG_D@GOTPAGEOFF]
	b	LBB0_23
LBB0_13:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh21:
	adrp	x8, _REG_D@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REG_D@GOTPAGEOFF]
	b	LBB0_25
LBB0_14:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh23:
	adrp	x8, _REG_D@GOTPAGE
Lloh24:
	ldr	x8, [x8, _REG_D@GOTPAGEOFF]
	b	LBB0_27
LBB0_15:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh25:
	adrp	x8, _REG_D@GOTPAGE
Lloh26:
	ldr	x8, [x8, _REG_D@GOTPAGEOFF]
	b	LBB0_29
LBB0_16:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh27:
	adrp	x8, _REG_D@GOTPAGE
Lloh28:
	ldr	x8, [x8, _REG_D@GOTPAGEOFF]
	b	LBB0_31
LBB0_17:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh29:
	adrp	x8, _REG_D@GOTPAGE
Lloh30:
	ldr	x8, [x8, _REG_D@GOTPAGEOFF]
	b	LBB0_33
LBB0_18:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh31:
	adrp	x8, _REG_A@GOTPAGE
Lloh32:
	ldr	x8, [x8, _REG_A@GOTPAGEOFF]
LBB0_19:
	ldr	x8, [x8]
	str	x0, [x8, #56]
	b	LBB0_35
LBB0_20:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh33:
	adrp	x8, _REG_A@GOTPAGE
Lloh34:
	ldr	x8, [x8, _REG_A@GOTPAGEOFF]
LBB0_21:
	ldr	x8, [x8]
	str	x0, [x8, #48]
	b	LBB0_35
LBB0_22:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh35:
	adrp	x8, _REG_A@GOTPAGE
Lloh36:
	ldr	x8, [x8, _REG_A@GOTPAGEOFF]
LBB0_23:
	ldr	x8, [x8]
	str	x0, [x8, #40]
	b	LBB0_35
LBB0_24:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh37:
	adrp	x8, _REG_A@GOTPAGE
Lloh38:
	ldr	x8, [x8, _REG_A@GOTPAGEOFF]
LBB0_25:
	ldr	x8, [x8]
	str	x0, [x8, #32]
	b	LBB0_35
LBB0_26:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh39:
	adrp	x8, _REG_A@GOTPAGE
Lloh40:
	ldr	x8, [x8, _REG_A@GOTPAGEOFF]
LBB0_27:
	ldr	x8, [x8]
	str	x0, [x8, #24]
	b	LBB0_35
LBB0_28:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh41:
	adrp	x8, _REG_A@GOTPAGE
Lloh42:
	ldr	x8, [x8, _REG_A@GOTPAGEOFF]
LBB0_29:
	ldr	x8, [x8]
	str	x0, [x8, #16]
	b	LBB0_35
LBB0_30:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh43:
	adrp	x8, _REG_A@GOTPAGE
Lloh44:
	ldr	x8, [x8, _REG_A@GOTPAGEOFF]
LBB0_31:
	ldr	x8, [x8]
	str	x0, [x8, #8]
	b	LBB0_35
LBB0_32:
	mov	x0, x1
	bl	_MASK_OUT_ABOVE_32
Lloh45:
	adrp	x8, _REG_A@GOTPAGE
Lloh46:
	ldr	x8, [x8, _REG_A@GOTPAGEOFF]
LBB0_33:
	ldr	x8, [x8]
LBB0_34:
	str	x0, [x8]
LBB0_35:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_36:
Lloh47:
	adrp	x8, _REG_ISP@GOTPAGE
Lloh48:
	ldr	x8, [x8, _REG_ISP@GOTPAGEOFF]
	b	LBB0_34
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_35-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_20-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_24-LBB0_2)>>2
	.byte	(LBB0_26-LBB0_2)>>2
	.byte	(LBB0_28-LBB0_2)>>2
	.byte	(LBB0_30-LBB0_2)>>2
	.byte	(LBB0_32-LBB0_2)>>2
                                        ; -- End function
	.comm	_REG_D,8,3                      ; @REG_D
	.comm	_REG_A,8,3                      ; @REG_A
	.comm	_REG_SP,8,3                     ; @REG_SP
	.comm	_FLAG_S,4,2                     ; @FLAG_S
	.comm	_REG_USP,8,3                    ; @REG_USP
	.comm	_REG_ISP,8,3                    ; @REG_ISP
	.comm	_REG_IR,4,2                     ; @REG_IR
	.comm	_CPU_PREF_ADDR,8,3              ; @CPU_PREF_ADDR
.subsections_via_symbols
