	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_chk2cmp2_8_pcdi        ## -- Begin function m68k_op_chk2cmp2_8_pcdi
	.p2align	4, 0x90
_m68k_op_chk2cmp2_8_pcdi:               ## @m68k_op_chk2cmp2_8_pcdi
	.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_9
## %bb.1:
	xorl	%eax, %eax
	callq	_OPER_I_16
	movl	%eax, %r14d
	movq	_REG_DA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, %ecx
	shrl	$12, %ecx
	andl	$15, %ecx
	movzbl	(%rax,%rcx,4), %r13d
	xorl	%eax, %eax
	callq	_EA_PCDI_8
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_m68ki_read_pcrel_8
	movl	%eax, %r12d
	incl	%ebx
	movl	%ebx, %edi
	callq	_m68ki_read_pcrel_8
	movl	%eax, %r15d
	movl	%r14d, %edi
	callq	_BIT_F
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%r13d, %ebx
	subl	%r12d, %ebx
	jmp	LBB0_4
LBB0_9:
	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	%r13d, %edi
	callq	_MAKE_INT_8
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_MAKE_INT_8
	subl	%eax, %ebx
LBB0_4:
	movq	_FLAG_C@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	%rax, %rbx
	subl	%r13d, %r15d
	setne	%al
	cmpl	%r12d, %r13d
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	movq	_FLAG_Z@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_COND_CS
	testq	%rax, %rax
	jne	LBB0_5
## %bb.7:
	movl	%r15d, (%rbx)
	xorl	%eax, %eax
	callq	_COND_CS
	testq	%rax, %rax
	je	LBB0_8
LBB0_5:
	movl	%r14d, %edi
	callq	_BIT_B
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_EXCEPTION_CHK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_m68ki_exception_trap           ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_TYPE,4,2                   ## @CPU_TYPE
	.comm	_REG_DA,8,3                     ## @REG_DA
	.comm	_FLAG_C,4,2                     ## @FLAG_C
	.comm	_FLAG_Z,4,2                     ## @FLAG_Z
	.comm	_EXCEPTION_CHK,4,2              ## @EXCEPTION_CHK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_chk2cmp2_8_pcdi        ; -- Begin function m68k_op_chk2cmp2_8_pcdi
	.p2align	2
_m68k_op_chk2cmp2_8_pcdi:               ; @m68k_op_chk2cmp2_8_pcdi
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
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
Lloh3:
	adrp	x8, _REG_DA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_DA@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ubfx	w9, w0, #12, #4
	lsl	x9, x9, #2
	ldrb	w20, [x8, x9]
	bl	_EA_PCDI_8
	mov	x21, x0
	bl	_m68ki_read_pcrel_8
	mov	x22, x0
	add	w0, w21, #1
	bl	_m68ki_read_pcrel_8
	mov	x21, x0
	mov	x0, x19
	bl	_BIT_F
	cbz	w0, LBB0_4
; %bb.2:
	sub	w8, w20, w22
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_m68ki_exception_illegal
LBB0_4:
	mov	x0, x20
	bl	_MAKE_INT_8
	mov	x23, x0
	mov	x0, x22
	bl	_MAKE_INT_8
	sub	w8, w23, w0
LBB0_5:
Lloh6:
	adrp	x23, _FLAG_C@GOTPAGE
Lloh7:
	ldr	x23, [x23, _FLAG_C@GOTPAGEOFF]
	str	w8, [x23]
	cmp	w20, w22
	ccmp	w21, w20, #4, ne
	cset	w8, ne
Lloh8:
	adrp	x9, _FLAG_Z@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FLAG_Z@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
	bl	_COND_CS
	cbnz	x0, LBB0_7
; %bb.6:
	sub	w8, w21, w20
	str	w8, [x23]
	bl	_COND_CS
	cbz	x0, LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_BIT_B
	cbz	x0, LBB0_9
; %bb.8:
Lloh11:
	adrp	x8, _EXCEPTION_CHK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXCEPTION_CHK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_m68ki_exception_trap
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_TYPE,4,2                   ; @CPU_TYPE
	.comm	_REG_DA,8,3                     ; @REG_DA
	.comm	_FLAG_C,4,2                     ; @FLAG_C
	.comm	_FLAG_Z,4,2                     ; @FLAG_Z
	.comm	_EXCEPTION_CHK,4,2              ; @EXCEPTION_CHK
.subsections_via_symbols
