	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cr16_decode_command            ## -- Begin function cr16_decode_command
	.p2align	4, 0x90
_cr16_decode_command:                   ## @cr16_decode_command
	.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
	movq	%rdi, %r15
	callq	_r_read_le16
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_cr16_get_opcode_low
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$35, %eax
	ja	LBB0_14
## %bb.1:
	movabsq	$66709426201, %rcx              ## imm = 0xF88311019
	btq	%rax, %rcx
	jae	LBB0_2
## %bb.5:
	movl	%ebx, %edi
	callq	_cr16_get_opcode_hi
	cmpl	$135, %eax
	je	LBB0_8
## %bb.6:
	cmpl	$154, %eax
	jne	LBB0_10
## %bb.7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_i_r
	cmpl	$-1, %eax
	jne	LBB0_37
	jmp	LBB0_10
LBB0_8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_r_r
	cmpl	$-1, %eax
	jne	LBB0_37
LBB0_10:
	movl	%ebx, %edi
	callq	_cr16_get_opcode_low
	cmpl	$155, %eax
	jne	LBB0_14
## %bb.11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_scond
	cmpl	$-1, %eax
	jne	LBB0_37
	jmp	LBB0_14
LBB0_2:
	cmpq	$28, %rax
	je	LBB0_12
## %bb.3:
	cmpq	$29, %rax
	jne	LBB0_14
## %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_bcond01i
	cmpl	$-1, %eax
	jne	LBB0_37
	jmp	LBB0_14
LBB0_12:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_biti
	cmpl	$-1, %eax
	jne	LBB0_37
LBB0_14:
	movl	%ebx, %eax
	sarl	$13, %eax
	testl	$-3, %eax
	jne	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_bcond_br
	cmpl	$-1, %eax
	jne	LBB0_37
LBB0_16:
	movl	%ebx, %eax
	sarl	$9, %eax
	leal	-129(%rax), %ecx
	cmpl	$29, %ecx
	ja	LBB0_17
## %bb.20:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_26:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_muls
	cmpl	$-1, %eax
	jne	LBB0_37
	jmp	LBB0_28
LBB0_21:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_slpr
	cmpl	$-1, %eax
	jne	LBB0_37
	jmp	LBB0_28
LBB0_25:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_movz
	cmpl	$-1, %eax
	jne	LBB0_37
	jmp	LBB0_28
LBB0_17:
	cmpl	$11, %eax
	jne	LBB0_28
LBB0_18:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_jmp
	cmpl	$-1, %eax
	jne	LBB0_37
## %bb.19:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_bcond_br
	cmpl	$-1, %eax
	jne	LBB0_37
	jmp	LBB0_28
LBB0_22:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_r_r
	cmpl	$-1, %eax
	jne	LBB0_37
LBB0_23:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_bal
	cmpl	$-1, %eax
	jne	LBB0_37
	jmp	LBB0_28
LBB0_24:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_i_r
	cmpl	$-1, %eax
	jne	LBB0_37
LBB0_28:
	movl	%ebx, %eax
	sarl	$7, %eax
	leal	-136(%rax), %ecx
	cmpl	$4, %ecx
	jae	LBB0_29
## %bb.38:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_push_pop
	cmpl	$-1, %eax
	jne	LBB0_37
	jmp	LBB0_33
LBB0_29:
	cmpl	$133, %eax
	je	LBB0_31
## %bb.30:
	cmpl	$151, %eax
	jne	LBB0_33
LBB0_31:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_loadm_storm
	cmpl	$-1, %eax
	jne	LBB0_37
LBB0_33:
	movl	%ebx, %eax
	andl	$-1024, %eax                    ## imm = 0xFC00
	cmpl	$150528, %eax                   ## imm = 0x24C00
	jne	LBB0_35
## %bb.34:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_movd
	cmpl	$-1, %eax
	jne	LBB0_37
LBB0_35:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cr16_decode_misc
	cmpl	$-1, %eax
	jne	LBB0_37
## %bb.36:
	movl	%ebx, %edi
	callq	_cr16_get_opcode_hi
	movl	%eax, %ecx
	movl	$-1, %eax
	cmpl	$3, %ecx
	ja	LBB0_37
## %bb.39:
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cr16_decode_ld_st              ## TAILCALL
LBB0_37:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_24
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_21
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_28
	.long	L0_0_set_25
	.long	L0_0_set_25
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_21
	.long	L0_0_set_28
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cr16_decode_command            ; -- Begin function cr16_decode_command
	.p2align	2
_cr16_decode_command:                   ; @cr16_decode_command
	.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
	mov	x20, x0
	bl	_r_read_le16
	mov	x21, x0
	bl	_cr16_get_opcode_low
	sub	w8, w0, #128
	cmp	w8, #35
	b.hi	LBB0_12
; %bb.1:
	mov	w9, #1
	lsl	x9, x9, x8
	mov	x10, #4121
	movk	x10, #34865, lsl #16
	movk	x10, #15, lsl #32
	tst	x9, x10
	b.eq	LBB0_8
; %bb.2:
	mov	x0, x21
	bl	_cr16_get_opcode_hi
	cmp	w0, #135
	b.eq	LBB0_5
; %bb.3:
	cmp	w0, #154
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_i_r
	cmn	w0, #1
	b.ne	LBB0_36
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_r_r
	cmn	w0, #1
	b.ne	LBB0_36
LBB0_6:
	mov	x0, x21
	bl	_cr16_get_opcode_low
	cmp	w0, #155
	b.ne	LBB0_12
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_scond
	cmn	w0, #1
	b.ne	LBB0_36
	b	LBB0_12
LBB0_8:
	cmp	x8, #28
	b.eq	LBB0_11
; %bb.9:
	cmp	x8, #29
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_bcond01i
	cmn	w0, #1
	b.ne	LBB0_36
	b	LBB0_12
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_biti
	cmn	w0, #1
	b.ne	LBB0_36
LBB0_12:
	asr	w8, w21, #13
	orr	w8, w8, #0x2
	cmp	w8, #2
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_bcond_br
	cmn	w0, #1
	b.ne	LBB0_36
LBB0_14:
	asr	w9, w21, #9
	sub	w8, w9, #129
	cmp	w8, #29
	b.hi	LBB0_19
; %bb.15:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_muls
	cmn	w0, #1
	b.ne	LBB0_36
	b	LBB0_25
LBB0_17:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_slpr
	cmn	w0, #1
	b.ne	LBB0_36
	b	LBB0_25
LBB0_18:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_movz
	cmn	w0, #1
	b.ne	LBB0_36
	b	LBB0_25
LBB0_19:
	cmp	w9, #11
	b.ne	LBB0_25
LBB0_20:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_jmp
	cmn	w0, #1
	b.ne	LBB0_36
; %bb.21:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_bcond_br
	cmn	w0, #1
	b.ne	LBB0_36
	b	LBB0_25
LBB0_22:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_r_r
	cmn	w0, #1
	b.ne	LBB0_36
LBB0_23:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_bal
	cmn	w0, #1
	b.ne	LBB0_36
	b	LBB0_25
LBB0_24:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_i_r
	cmn	w0, #1
	b.ne	LBB0_36
LBB0_25:
	asr	w8, w21, #7
	sub	w9, w8, #136
	cmp	w9, #4
	b.hs	LBB0_27
; %bb.26:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_push_pop
	cmn	w0, #1
	b.ne	LBB0_36
	b	LBB0_30
LBB0_27:
	cmp	w8, #133
	b.eq	LBB0_29
; %bb.28:
	cmp	w8, #151
	b.ne	LBB0_30
LBB0_29:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_loadm_storm
	cmn	w0, #1
	b.ne	LBB0_36
LBB0_30:
	lsr	w8, w21, #10
	cmp	w8, #147
	b.ne	LBB0_32
; %bb.31:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_movd
	cmn	w0, #1
	b.ne	LBB0_36
LBB0_32:
	mov	x0, x20
	mov	x1, x19
	bl	_cr16_decode_misc
	cmn	w0, #1
	b.ne	LBB0_36
; %bb.33:
	mov	x0, x21
	bl	_cr16_get_opcode_hi
	cmp	w0, #3
	b.hi	LBB0_35
; %bb.34:
	mov	x0, x20
	mov	x1, x19
	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	_cr16_decode_ld_st
LBB0_35:
	mov	w0, #-1
LBB0_36:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_22-LBB0_16)>>2
	.byte	(LBB0_24-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_18-LBB0_16)>>2
	.byte	(LBB0_18-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_20-LBB0_16)>>2
	.byte	(LBB0_20-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_23-LBB0_16)>>2
                                        ; -- End function
.subsections_via_symbols
