	.file	"extr_m68kopac.c_m68k_op_chk2cmp2_32_al.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	m68k_op_chk2cmp2_32_al
	.type	m68k_op_chk2cmp2_32_al, @function
m68k_op_chk2cmp2_32_al:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edi, DWORD PTR CPU_TYPE[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	CPU_TYPE_IS_EC020_PLUS@PLT
	test	rax, rax
	mov	eax, 0
	je	.L2
	call	OPER_I_16@PLT
	mov	rdx, QWORD PTR REG_DA[rip]
	mov	r13d, eax
	sar	eax, 12
	and	eax, 15
	mov	ebp, DWORD PTR [rdx+rax*4]
	xor	eax, eax
	call	EA_AL_32@PLT
	mov	ebx, eax
	mov	edi, eax
	call	m68ki_read_32@PLT
	lea	edi, 4[rbx]
	mov	r12d, eax
	call	m68ki_read_32@PLT
	mov	edx, ebp
	mov	esi, ebp
	mov	edi, r12d
	sub	edx, r12d
	cmp	ebp, eax
	mov	r14d, eax
	setne	cl
	xor	eax, eax
	cmp	ebp, r12d
	mov	DWORD PTR FLAG_C[rip], edx
	setne	al
	and	eax, ecx
	mov	DWORD PTR FLAG_Z[rip], eax
	call	CFLAG_SUB_32@PLT
	mov	DWORD PTR FLAG_C[rip], eax
	xor	eax, eax
	call	COND_CS@PLT
	test	rax, rax
	je	.L3
.L16:
	mov	edi, r13d
	call	BIT_B@PLT
	test	rax, rax
	jne	.L19
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	m68ki_exception_illegal@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edx, r14d
	mov	esi, r14d
	mov	edi, ebp
	sub	edx, ebp
	mov	DWORD PTR FLAG_C[rip], edx
	call	CFLAG_SUB_32@PLT
	mov	DWORD PTR FLAG_C[rip], eax
	xor	eax, eax
	call	COND_CS@PLT
	test	rax, rax
	jne	.L16
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	edi, DWORD PTR EXCEPTION_CHK[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	m68ki_exception_trap@PLT
	.cfi_endproc
.LFE0:
	.size	m68k_op_chk2cmp2_32_al, .-m68k_op_chk2cmp2_32_al
	.comm	REG_DA,8,8
	.comm	FLAG_Z,4,4
	.comm	FLAG_C,4,4
	.comm	EXCEPTION_CHK,4,4
	.comm	CPU_TYPE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_m68kopac.c_m68k_op_chk2cmp2_32_al.c"
	.text
	.align	2
	.global	m68k_op_chk2cmp2_32_al
	.syntax unified
	.arm
	.fpu softvfp
	.type	m68k_op_chk2cmp2_32_al, %function
m68k_op_chk2cmp2_32_al:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L18
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r3]
	bl	CPU_TYPE_IS_EC020_PLUS
	cmp	r0, #0
	beq	.L2
	bl	OPER_I_16
	ldr	r2, .L18+4
	asr	r3, r0, #12
	ldr	r2, [r2]
	and	r3, r3, #15
	ldr	r4, [r2, r3, lsl #2]
	mov	r7, r0
	bl	EA_AL_32
	mov	r6, r0
	bl	m68ki_read_32
	mov	r5, r0
	add	r0, r6, #4
	bl	m68ki_read_32
	cmp	r4, r0
	cmpne	r4, r5
	movne	r1, #1
	moveq	r1, #0
	ldr	r3, .L18+8
	ldr	r8, .L18+12
	sub	r2, r4, r5
	str	r1, [r3]
	mov	r6, r0
	mov	r1, r4
	mov	r0, r5
	str	r2, [r8]
	bl	CFLAG_SUB_32
	str	r0, [r8]
	bl	COND_CS
	cmp	r0, #0
	beq	.L3
.L16:
	mov	r0, r7
	bl	BIT_B
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L18+16
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r3]
	b	m68ki_exception_trap
.L2:
	pop	{r4, r5, r6, r7, r8, lr}
	b	m68ki_exception_illegal
.L3:
	sub	r2, r6, r4
	mov	r1, r6
	mov	r0, r4
	str	r2, [r8]
	bl	CFLAG_SUB_32
	str	r0, [r8]
	bl	COND_CS
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	b	.L16
.L19:
	.align	2
.L18:
	.word	CPU_TYPE
	.word	REG_DA
	.word	FLAG_Z
	.word	FLAG_C
	.word	EXCEPTION_CHK
	.size	m68k_op_chk2cmp2_32_al, .-m68k_op_chk2cmp2_32_al
	.comm	REG_DA,4,4
	.comm	FLAG_Z,4,4
	.comm	FLAG_C,4,4
	.comm	EXCEPTION_CHK,4,4
	.comm	CPU_TYPE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
