	.file	"extr_M68KDisassembler.c_d68020_divl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	d68020_divl, @function
d68020_divl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR M68020_PLUS[rip]
	call	LIMIT_CPU_TYPES@PLT
	mov	rdi, rbp
	call	read_imm_16@PLT
	mov	edi, eax
	mov	r13d, eax
	call	BIT_B@PLT
	mov	ecx, 4
	mov	rdi, rbp
	mov	ebx, r13d
	test	rax, rax
	mov	esi, DWORD PTR M68K_INS_DIVU[rip]
	cmovne	esi, DWORD PTR M68K_INS_DIVS[rip]
	mov	edx, 2
	sar	ebx, 12
	call	build_init_op@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	ecx, 4
	mov	rdi, rbp
	mov	r12, QWORD PTR [rax]
	and	ebx, 7
	mov	rsi, r12
	call	get_ea_mode_op@PLT
	mov	edx, DWORD PTR M68K_AM_NONE[rip]
	mov	eax, r13d
	mov	DWORD PTR 40[r12], ebx
	and	eax, 7
	mov	DWORD PTR 44[r12], edx
	mov	edx, DWORD PTR M68K_OP_REG_PAIR[rip]
	mov	DWORD PTR 36[r12], eax
	mov	DWORD PTR 32[r12], edx
	cmp	eax, ebx
	jne	.L4
.L6:
	mov	eax, DWORD PTR M68K_OP_REG[rip]
	movsx	rbx, ebx
	add	rbx, QWORD PTR M68K_REG_D0[rip]
	mov	QWORD PTR 24[r12], rbx
	mov	DWORD PTR 32[r12], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, r13d
	call	BIT_A@PLT
	test	eax, eax
	je	.L6
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	d68020_divl, .-d68020_divl
	.comm	M68K_REG_D0,8,8
	.comm	M68K_OP_REG_PAIR,4,4
	.comm	M68K_OP_REG,4,4
	.comm	M68K_INS_DIVU,4,4
	.comm	M68K_INS_DIVS,4,4
	.comm	M68K_AM_NONE,4,4
	.comm	M68020_PLUS,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_M68KDisassembler.c_d68020_divl.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	d68020_divl, %function
d68020_divl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L12
	ldr	r1, [r3]
	bl	LIMIT_CPU_TYPES
	mov	r0, r4
	bl	read_imm_16
	mov	r6, r0
	bl	BIT_B
	cmp	r0, #0
	ldreq	r3, .L12+4
	ldrne	r3, .L12+8
	mov	r2, #2
	ldr	r1, [r3]
	mov	r0, r4
	mov	r3, #4
	bl	build_init_op
	ldr	r5, [r0]
	ldr	r2, [r4]
	mov	r3, #4
	mov	r1, r5
	mov	r0, r4
	bl	get_ea_mode_op
	ldr	r2, .L12+12
	ldr	r3, .L12+16
	asr	r4, r6, #12
	ldr	r1, [r2]
	and	r4, r4, #7
	ldr	r2, [r3]
	and	r3, r6, #7
	cmp	r3, r4
	str	r1, [r5, #36]
	str	r2, [r5, #24]
	str	r3, [r5, #28]
	str	r4, [r5, #32]
	bne	.L4
.L6:
	ldr	r3, .L12+20
	ldr	r2, .L12+24
	ldr	r3, [r3]
	ldr	r2, [r2]
	add	r4, r3, r4
	str	r4, [r5, #20]
	str	r2, [r5, #24]
	pop	{r4, r5, r6, pc}
.L4:
	mov	r0, r6
	bl	BIT_A
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	b	.L6
.L13:
	.align	2
.L12:
	.word	M68020_PLUS
	.word	M68K_INS_DIVU
	.word	M68K_INS_DIVS
	.word	M68K_AM_NONE
	.word	M68K_OP_REG_PAIR
	.word	M68K_REG_D0
	.word	M68K_OP_REG
	.size	d68020_divl, .-d68020_divl
	.comm	M68K_REG_D0,4,4
	.comm	M68K_OP_REG_PAIR,4,4
	.comm	M68K_OP_REG,4,4
	.comm	M68K_INS_DIVU,4,4
	.comm	M68K_INS_DIVS,4,4
	.comm	M68K_AM_NONE,4,4
	.comm	M68020_PLUS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
