	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d68020_cas2_32
_d68020_cas2_32:                        ## @d68020_cas2_32
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -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_32
	movl	%eax, %ebx
	movq	_g_dasm_str@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	shrl	$16, %eax
	andl	$7, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	andl	$7, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r13d
	shrl	$22, %r13d
	andl	$7, %r13d
	movl	%ebx, %r15d
	shrl	$6, %r15d
	andl	$7, %r15d
	movl	%ebx, %edi
	callq	_BIT_1F
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
	movl	%ebx, %r12d
	shrl	$28, %r12d
	andl	$7, %r12d
	movl	%ebx, %edi
	callq	_BIT_F
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	shrl	$12, %ebx
	andl	$7, %ebx
	leal	(%r14,%r14,2), %r10d
	addl	$65, %r10d
	leal	65(%rcx,%rcx,2), %eax
	leaq	L_.str(%rip), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	movl	%r15d, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	%r12
	pushq	%r10
	callq	_sprintf
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	"cas2.l  D%d:D%d, D%d:D%d, (%c%d):(%c%d); (2+)"

	.no_dead_strip	_d68020_cas2_32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d68020_cas2_32
_d68020_cas2_32:                        ; @d68020_cas2_32
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
Lloh0:
	adrp	x8, _M68020_PLUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M68020_PLUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LIMIT_CPU_TYPES
	bl	_read_imm_32
	mov	x19, x0
Lloh3:
	adrp	x8, _g_dasm_str@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_dasm_str@GOTPAGEOFF]
	ubfx	w20, w0, #16, #3
Lloh5:
	ldr	w21, [x8]
	and	w22, w0, #0x7
	ubfx	w23, w0, #22, #3
	ubfx	w24, w0, #6, #3
	bl	_BIT_1F
	mov	x25, x0
	ubfx	w26, w19, #28, #3
	mov	x0, x19
	bl	_BIT_F
	cmp	x0, #0
	mov	w8, #65
	mov	w9, #68
	csel	w10, w9, w8, eq
	ubfx	w11, w19, #12, #3
	str	w11, [sp, #4]
	strb	w10, [sp]
	cmp	x25, #0
	csel	w6, w9, w8, eq
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	mov	x7, x26
	bl	_sprintf
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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	"cas2.l  D%d:D%d, D%d:D%d, (%c%d):(%c%d); (2+)"

	.no_dead_strip	_d68020_cas2_32
.subsections_via_symbols
