	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_cas_32_pi              ## -- Begin function m68k_op_cas_32_pi
	.p2align	4, 0x90
_m68k_op_cas_32_pi:                     ## @m68k_op_cas_32_pi
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CPU_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CPU_TYPE_IS_EC020_PLUS
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_OPER_I_16
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_EA_AY_PI_32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_m68ki_read_32
	movl	%eax, %r12d
	movq	_REG_D@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	%r14d, %r15d
	andl	$7, %r15d
	movl	%r12d, %ebx
	subl	(%r13,%r15,4), %ebx
	xorl	%eax, %eax
	callq	_m68ki_trace_t0
	movl	%ebx, %edi
	callq	_NFLAG_32
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%ebx, %edi
	callq	_MASK_OUT_ABOVE_32
	movq	_FLAG_Z@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r13,%r15,4), %edi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_VFLAG_SUB_32
	movq	_FLAG_V@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r13,%r15,4), %edi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_CFLAG_SUB_32
	movq	_FLAG_C@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_COND_NE
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movl	%r12d, (%r13,%r15,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_m68ki_exception_illegal        ## TAILCALL
LBB0_2:
	movl	$3, %edi
	callq	_USE_CYCLES
	movq	_REG_D@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shrl	$6, %r14d
	andl	$7, %r14d
	movl	(%rax,%r14,4), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_m68ki_write_32                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_TYPE,4,2                   ## @CPU_TYPE
	.comm	_REG_D,8,3                      ## @REG_D
	.comm	_FLAG_N,4,2                     ## @FLAG_N
	.comm	_FLAG_Z,4,2                     ## @FLAG_Z
	.comm	_FLAG_V,4,2                     ## @FLAG_V
	.comm	_FLAG_C,4,2                     ## @FLAG_C
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_cas_32_pi              ; -- Begin function m68k_op_cas_32_pi
	.p2align	2
_m68k_op_cas_32_pi:                     ; @m68k_op_cas_32_pi
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _CPU_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPU_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_CPU_TYPE_IS_EC020_PLUS
	cbz	x0, LBB0_3
; %bb.1:
	bl	_OPER_I_16
	mov	x19, x0
	bl	_EA_AY_PI_32
	mov	x20, x0
	bl	_m68ki_read_32
	mov	x21, x0
Lloh3:
	adrp	x23, _REG_D@GOTPAGE
Lloh4:
	ldr	x23, [x23, _REG_D@GOTPAGEOFF]
	ldr	x24, [x23]
	and	w25, w19, #0x7
	lsl	x26, x25, #2
	ldr	w8, [x24, x26]
	sub	w22, w0, w8
	bl	_m68ki_trace_t0
	mov	x0, x22
	bl	_NFLAG_32
Lloh5:
	adrp	x8, _FLAG_N@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
	mov	x0, x22
	bl	_MASK_OUT_ABOVE_32
Lloh8:
	adrp	x8, _FLAG_Z@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
	ldr	w0, [x24, x26]
	mov	x1, x21
	mov	x2, x22
	bl	_VFLAG_SUB_32
Lloh11:
	adrp	x8, _FLAG_V@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FLAG_V@GOTPAGEOFF]
Lloh13:
	str	w0, [x8]
	ldr	w0, [x24, x26]
	mov	x1, x21
	mov	x2, x22
	bl	_CFLAG_SUB_32
Lloh14:
	adrp	x8, _FLAG_C@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FLAG_C@GOTPAGEOFF]
Lloh16:
	str	w0, [x8]
	bl	_COND_NE
	cbz	x0, LBB0_4
; %bb.2:
	str	w21, [x24, x25, lsl #2]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_m68ki_exception_illegal
LBB0_4:
	mov	w0, #3
	bl	_USE_CYCLES
	ldr	x8, [x23]
	ubfx	w9, w19, #6, #3
	ldr	w1, [x8, w9, uxtw #2]
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_m68ki_write_32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_TYPE,4,2                   ; @CPU_TYPE
	.comm	_REG_D,8,3                      ; @REG_D
	.comm	_FLAG_N,4,2                     ; @FLAG_N
	.comm	_FLAG_Z,4,2                     ; @FLAG_Z
	.comm	_FLAG_V,4,2                     ; @FLAG_V
	.comm	_FLAG_C,4,2                     ; @FLAG_C
.subsections_via_symbols
