	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_mull_32_di             ## -- Begin function m68k_op_mull_32_di
	.p2align	4, 0x90
_m68k_op_mull_32_di:                    ## @m68k_op_mull_32_di
	.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
	subq	$40, %rsp
	.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_6
## %bb.1:
	xorl	%eax, %eax
	callq	_OPER_I_16
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_OPER_AY_DI_32
	movl	%eax, %r15d
	movq	_REG_D@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, %ebx
	shrl	$12, %ebx
	andl	$7, %ebx
	movl	(%rax,%rbx,4), %r13d
	movl	%r13d, %edi
	xorl	%r15d, %edi
	callq	_GET_MSB_32
	movl	%eax, %r12d
	movq	_CFLAG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FLAG_C@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %edi
	callq	_BIT_B
	testq	%rax, %rax
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	je	LBB0_8
## %bb.2:
	movl	%r15d, %edi
	callq	_GET_MSB_32
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	negl	%r15d
	movl	%r15d, %edi
	callq	_MASK_OUT_ABOVE_32
	movl	%eax, %r15d
LBB0_4:
	movl	%r13d, %edi
	callq	_GET_MSB_32
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	negl	%r13d
	movl	%r13d, %edi
	callq	_MASK_OUT_ABOVE_32
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_6:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_m68ki_exception_illegal        ## TAILCALL
LBB0_8:
	movl	%r13d, %ebx
LBB0_9:
	movl	%r15d, %edi
	callq	_MASK_OUT_ABOVE_16
	movl	%eax, %r13d
	sarl	$16, %r15d
	movl	%ebx, %edi
	callq	_MASK_OUT_ABOVE_16
	movl	%eax, %r12d
	sarl	$16, %ebx
	movl	%eax, %r14d
	imull	%r13d, %r14d
	imull	%ebx, %r13d
	imull	%r15d, %r12d
	imull	%r15d, %ebx
	movl	%r13d, %edi
	callq	_MASK_OUT_ABOVE_16
	movl	%eax, %r15d
	shll	$16, %r15d
	addl	%r14d, %r15d
	movl	%r12d, %edi
	callq	_MASK_OUT_ABOVE_16
	shll	$16, %eax
	addl	%r15d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, %eax
	sarl	$16, %eax
	addl	%ebx, %eax
	movl	%r12d, %ebx
	sarl	$16, %ebx
	addl	%eax, %ebx
	sarl	$16, %r14d
	movl	%r13d, %edi
	callq	_MASK_OUT_ABOVE_16
	movl	%eax, %r15d
	addl	%r14d, %r15d
	movl	%r12d, %edi
	callq	_MASK_OUT_ABOVE_16
	movl	%eax, %r14d
	addl	%r15d, %r14d
	sarl	$16, %r14d
	addl	%ebx, %r14d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edi
	callq	_BIT_B
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	movq	_REG_D@GOTPCREL(%rip), %r12
	je	LBB0_13
## %bb.11:
	xorl	%edi, %edi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	negl	%r15d
	sbbl	%edi, %edi
	subl	%r14d, %edi
	callq	_MASK_OUT_ABOVE_32
	movl	%eax, %r14d
	movl	%r15d, %edi
	callq	_MASK_OUT_ABOVE_32
	movl	%eax, %r13d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_12:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	_REG_D@GOTPCREL(%rip), %r12
	jmp	LBB0_14
LBB0_13:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_14:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_15:
	movl	%ebx, %edi
	callq	_BIT_A
	movq	(%r12), %rcx
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	andl	$7, %ebx
	movl	%r14d, (%rcx,%rbx,4)
	movl	%r13d, (%rcx,%r15,4)
	movl	%r14d, %edi
	callq	_NFLAG_32
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	orl	%r13d, %r14d
	movq	_FLAG_Z@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movq	_VFLAG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_23
LBB0_17:
	movl	%r13d, (%rcx,%r15,4)
	movl	%r13d, %edi
	callq	_NFLAG_32
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_FLAG_Z@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movl	%ebx, %edi
	callq	_BIT_B
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:
	movl	%r13d, %edi
	callq	_GET_MSB_32
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	xorl	%ecx, %ecx
	cmpl	$-1, %r14d
	je	LBB0_23
LBB0_20:
	movl	%r13d, %edi
	callq	_GET_MSB_32
	xorl	%ecx, %ecx
	orl	%r14d, %eax
	jmp	LBB0_22
LBB0_21:
	xorl	%ecx, %ecx
	testl	%r14d, %r14d
LBB0_22:
	setne	%cl
	shll	$7, %ecx
LBB0_23:
	movq	_FLAG_V@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	addq	$40, %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_D,8,3                      ## @REG_D
	.comm	_CFLAG_CLEAR,4,2                ## @CFLAG_CLEAR
	.comm	_FLAG_C,4,2                     ## @FLAG_C
	.comm	_FLAG_N,4,2                     ## @FLAG_N
	.comm	_FLAG_Z,4,2                     ## @FLAG_Z
	.comm	_VFLAG_CLEAR,4,2                ## @VFLAG_CLEAR
	.comm	_FLAG_V,4,2                     ## @FLAG_V
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_mull_32_di             ; -- Begin function m68k_op_mull_32_di
	.p2align	2
_m68k_op_mull_32_di:                    ; @m68k_op_mull_32_di
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
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_11
; %bb.1:
	bl	_OPER_I_16
	mov	x19, x0
	bl	_OPER_AY_DI_32
	mov	x22, x0
Lloh3:
	adrp	x25, _REG_D@GOTPAGE
Lloh4:
	ldr	x25, [x25, _REG_D@GOTPAGEOFF]
	ldr	x8, [x25]
	ubfx	w24, w19, #12, #3
	ldr	w21, [x8, w24, uxtw #2]
	eor	w0, w21, w0
	bl	_GET_MSB_32
	mov	x20, x0
Lloh5:
	adrp	x8, _CFLAG_CLEAR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _FLAG_C@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
	mov	x0, x19
	bl	_BIT_B
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x22
	bl	_GET_MSB_32
	cbz	w0, LBB0_4
; %bb.3:
	neg	w0, w22
	bl	_MASK_OUT_ABOVE_32
	mov	x22, x0
LBB0_4:
	mov	x0, x21
	bl	_GET_MSB_32
	cbz	w0, LBB0_6
; %bb.5:
	neg	w0, w21
	bl	_MASK_OUT_ABOVE_32
	mov	x21, x0
LBB0_6:
	mov	x0, x22
	bl	_MASK_OUT_ABOVE_16
	mov	x23, x0
	asr	w26, w22, #16
	mov	x0, x21
	bl	_MASK_OUT_ABOVE_16
	asr	w8, w21, #16
	mul	w27, w0, w23
	mul	w22, w23, w8
	mul	w23, w0, w26
	mul	w26, w26, w8
	mov	x0, x22
	bl	_MASK_OUT_ABOVE_16
	add	w21, w27, w0, lsl #16
	mov	x0, x23
	bl	_MASK_OUT_ABOVE_16
	add	w21, w21, w0, lsl #16
	add	w8, w26, w22, asr #16
	add	w26, w8, w23, asr #16
	mov	x0, x22
	bl	_MASK_OUT_ABOVE_16
	add	w22, w0, w27, asr #16
	mov	x0, x23
	bl	_MASK_OUT_ABOVE_16
	add	w8, w22, w0
	add	w22, w26, w8, asr #16
	mov	x0, x19
	bl	_BIT_B
	cbz	x0, LBB0_9
; %bb.7:
	cbz	w20, LBB0_9
; %bb.8:
	cmp	w21, #0
	csetm	w8, ne
	sub	w0, w8, w22
	bl	_MASK_OUT_ABOVE_32
	mov	x22, x0
	neg	w0, w21
	bl	_MASK_OUT_ABOVE_32
	mov	x21, x0
LBB0_9:
	mov	x0, x19
	bl	_BIT_A
	ldr	x8, [x25]
	cbz	x0, LBB0_12
; %bb.10:
	and	w9, w19, #0x7
	str	w22, [x8, w9, uxtw #2]
	str	w21, [x8, x24, lsl #2]
	mov	x0, x22
	bl	_NFLAG_32
Lloh11:
	adrp	x8, _FLAG_N@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh13:
	str	w0, [x8]
	orr	w8, w22, w21
Lloh14:
	adrp	x9, _FLAG_Z@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FLAG_Z@GOTPAGEOFF]
Lloh16:
	str	w8, [x9]
Lloh17:
	adrp	x8, _VFLAG_CLEAR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	b	LBB0_18
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_m68ki_exception_illegal
LBB0_12:
	str	w21, [x8, x24, lsl #2]
	mov	x0, x21
	bl	_NFLAG_32
Lloh20:
	adrp	x8, _FLAG_N@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh22:
	str	w0, [x8]
Lloh23:
	adrp	x8, _FLAG_Z@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh25:
	str	w21, [x8]
	mov	x0, x19
	bl	_BIT_B
	cbz	x0, LBB0_15
; %bb.13:
	mov	x0, x21
	bl	_GET_MSB_32
	cmp	w0, #0
	ccmn	w22, #1, #0, ne
	b.eq	LBB0_17
; %bb.14:
	mov	x0, x21
	bl	_GET_MSB_32
	orr	w8, w0, w22
	cmp	w8, #0
	b	LBB0_16
LBB0_15:
	cmp	w22, #0
LBB0_16:
	cset	w8, ne
	lsl	w8, w8, #7
	b	LBB0_18
LBB0_17:
	mov	w8, #0
LBB0_18:
Lloh26:
	adrp	x9, _FLAG_V@GOTPAGE
Lloh27:
	ldr	x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh28:
	str	w8, [x9]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_TYPE,4,2                   ; @CPU_TYPE
	.comm	_REG_D,8,3                      ; @REG_D
	.comm	_CFLAG_CLEAR,4,2                ; @CFLAG_CLEAR
	.comm	_FLAG_C,4,2                     ; @FLAG_C
	.comm	_FLAG_N,4,2                     ; @FLAG_N
	.comm	_FLAG_Z,4,2                     ; @FLAG_Z
	.comm	_VFLAG_CLEAR,4,2                ; @VFLAG_CLEAR
	.comm	_FLAG_V,4,2                     ; @FLAG_V
.subsections_via_symbols
