	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d68020_chk2_cmp2_16
_d68020_chk2_cmp2_16:                   ## @d68020_chk2_cmp2_16
	.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
	movq	_g_dasm_str@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_BIT_B
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r15
	cmoveq	%rax, %r15
	movq	_g_cpu_ir@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_ea_mode_str_16
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_BIT_F
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	shrl	$12, %ebx
	andl	$7, %ebx
	leal	(%rcx,%rcx,2), %r8d
	addl	$65, %r8d
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movl	%ebx, %r9d
	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	"%s.w  %s, %c%d; (2+)"

L_.str.1:                               ## @.str.1
	.asciz	"chk2"

L_.str.2:                               ## @.str.2
	.asciz	"cmp2"

	.comm	_g_cpu_ir,4,2                   ## @g_cpu_ir
	.no_dead_strip	_d68020_chk2_cmp2_16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d68020_chk2_cmp2_16
_d68020_chk2_cmp2_16:                   ; @d68020_chk2_cmp2_16
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
Lloh3:
	adrp	x8, _g_dasm_str@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_dasm_str@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	bl	_BIT_B
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x21, x9, x8, eq
Lloh10:
	adrp	x8, _g_cpu_ir@GOTPAGE
Lloh11:
	ldr	x8, [x8, _g_cpu_ir@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_get_ea_mode_str_16
	mov	x22, x0
	mov	x0, x19
	bl	_BIT_F
	ubfx	w5, w19, #12, #3
	cmp	x0, #0
	mov	w8, #65
	mov	w9, #68
	csel	w4, w9, w8, eq
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sprintf
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.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	"%s.w  %s, %c%d; (2+)"

l_.str.1:                               ; @.str.1
	.asciz	"chk2"

l_.str.2:                               ; @.str.2
	.asciz	"cmp2"

	.comm	_g_cpu_ir,4,2                   ; @g_cpu_ir
	.no_dead_strip	_d68020_chk2_cmp2_16
.subsections_via_symbols
