	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cr16_decode_r_r
_cr16_decode_r_r:                       ## @cr16_decode_r_r
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_r_read_le16
	movl	%eax, %ebx
	movl	$-1, %r15d
	testb	$1, %bl
	je	LBB0_7
## %bb.1:
	movl	%ebx, %eax
	sarl	$9, %eax
	movq	_CR16_TBIT_I_R@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.2:
	movq	_CR16_TBIT_R_R@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_cr16_print_4biti_opcode
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_cr16_anal_4bit_opcode
	jmp	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_cr16_print_4bit_opcode
	testq	%rax, %rax
	jne	LBB0_7
LBB0_6:
	movl	%ebx, %edi
	callq	_cr16_get_srcreg
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_cr16_get_dstreg
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_cr16_print_reg_reg
	xorl	%r15d, %r15d
	negq	%rax
	sbbl	%r15d, %r15d
	orl	$2, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CR16_TBIT_I_R,4,2              ## @CR16_TBIT_I_R
	.comm	_CR16_TBIT_R_R,4,2              ## @CR16_TBIT_R_R
	.no_dead_strip	_cr16_decode_r_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cr16_decode_r_r
_cr16_decode_r_r:                       ; @cr16_decode_r_r
	.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
	mov	x19, x1
	bl	_r_read_le16
	tbz	w0, #0, LBB0_4
; %bb.1:
	mov	x20, x0
	asr	w8, w0, #9
Lloh0:
	adrp	x9, _CR16_TBIT_I_R@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CR16_TBIT_I_R@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _CR16_TBIT_R_R@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CR16_TBIT_R_R@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w8, w9
	mov	x0, x19
	mov	x1, x20
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_3
; %bb.2:
	bl	_cr16_print_4bit_opcode
	cbnz	x0, LBB0_4
	b	LBB0_7
LBB0_3:
	bl	_cr16_print_4biti_opcode
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #-1
LBB0_5:
	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
	ret
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_anal_4bit_opcode
LBB0_7:
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x21, x0
	mov	x0, x20
	bl	_cr16_get_dstreg
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_cr16_print_reg_reg
	cmp	x0, #0
	mov	w8, #2
	csinv	w0, w8, wzr, eq
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CR16_TBIT_I_R,4,2              ; @CR16_TBIT_I_R
	.comm	_CR16_TBIT_R_R,4,2              ; @CR16_TBIT_R_R
	.no_dead_strip	_cr16_decode_r_r
.subsections_via_symbols
