	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d68020_divl
_d68020_divl:                           ## @d68020_divl
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_M68020_PLUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LIMIT_CPU_TYPES
	xorl	%eax, %eax
	callq	_read_imm_16
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_BIT_A
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_g_dasm_str@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_BIT_B
	xorl	%r15d, %r15d
	testq	%rax, %rax
	sete	%r15b
	movq	_g_cpu_ir@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_ea_mode_str_32
	movl	%ebx, %r8d
	andl	$7, %r8d
	shrl	$12, %ebx
	andl	$7, %ebx
	leal	(%r15,%r15), %edx
	addl	$115, %edx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rcx
	movl	%ebx, %r9d
	jmp	LBB0_4
LBB0_2:
	movl	%ebx, %r14d
	andl	$7, %r14d
	movl	%ebx, %r15d
	shrl	$12, %r15d
	andl	$7, %r15d
	movq	_g_dasm_str@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%ebx, %edi
	callq	_BIT_B
	testq	%rax, %rax
	sete	%bl
	addb	%bl, %bl
	addb	$115, %bl
	movq	_g_cpu_ir@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_ea_mode_str_32
	movq	%rax, %rcx
	movzbl	%bl, %edx
	cmpl	%r15d, %r14d
	jne	LBB0_3
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edi
	movl	%r14d, %r8d
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edi
	movl	%r14d, %r8d
	movl	%r15d, %r9d
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_M68020_PLUS,4,2                ## @M68020_PLUS
	.comm	_g_dasm_str,4,2                 ## @g_dasm_str
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"div%c.l  %s, D%d:D%d; (2+)"

	.comm	_g_cpu_ir,4,2                   ## @g_cpu_ir
L_.str.1:                               ## @.str.1
	.asciz	"div%c.l  %s, D%d; (2+)"

L_.str.2:                               ## @.str.2
	.asciz	"div%cl.l %s, D%d:D%d; (2+)"

	.no_dead_strip	_d68020_divl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d68020_divl
_d68020_divl:                           ; @d68020_divl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x8, _M68020_PLUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M68020_PLUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LIMIT_CPU_TYPES
	bl	_read_imm_16
	mov	x20, x0
	bl	_BIT_A
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _g_dasm_str@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_dasm_str@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x0, x20
	bl	_BIT_B
	mov	x21, x0
Lloh6:
	adrp	x8, _g_cpu_ir@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_cpu_ir@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_get_ea_mode_str_32
	mov	x3, x0
	and	w4, w20, #0x7
	ubfx	w8, w20, #12, #3
	str	x8, [sp]
	cmp	x21, #0
	mov	w8, #115
	mov	w9, #117
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	csel	w2, w9, w8, eq
	mov	x0, x19
	b	LBB0_5
LBB0_2:
	and	w19, w20, #0x7
	ubfx	w22, w20, #12, #3
Lloh11:
	adrp	x8, _g_dasm_str@GOTPAGE
Lloh12:
	ldr	x8, [x8, _g_dasm_str@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_BIT_B
	cmp	x0, #0
	mov	w8, #115
	mov	w9, #117
	csel	w20, w9, w8, eq
Lloh14:
	adrp	x8, _g_cpu_ir@GOTPAGE
Lloh15:
	ldr	x8, [x8, _g_cpu_ir@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_get_ea_mode_str_32
	mov	x3, x0
	cmp	w19, w22
	b.ne	LBB0_4
; %bb.3:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	mov	x4, x19
	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
	add	sp, sp, #64
	b	_sprintf
LBB0_4:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	str	x22, [sp]
	mov	x0, x21
	mov	x2, x20
	mov	x4, x19
LBB0_5:
	bl	_sprintf
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_M68020_PLUS,4,2                ; @M68020_PLUS
	.comm	_g_dasm_str,4,2                 ; @g_dasm_str
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"div%c.l  %s, D%d:D%d; (2+)"

	.comm	_g_cpu_ir,4,2                   ; @g_cpu_ir
l_.str.1:                               ; @.str.1
	.asciz	"div%c.l  %s, D%d; (2+)"

l_.str.2:                               ; @.str.2
	.asciz	"div%cl.l %s, D%d:D%d; (2+)"

	.no_dead_strip	_d68020_divl
.subsections_via_symbols
