	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cr16_decode_ld_st
_cr16_decode_ld_st:                     ## @cr16_decode_ld_st
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_r_read_le16
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_cr16_print_ld_sw_opcode
	movl	$-1, %r15d
	testq	%rax, %rax
	je	LBB0_1
LBB0_30:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%r12d, %edi
	callq	_cr16_get_opcode_159_0
	andl	$-33, %eax
	cmpl	$69, %eax
	je	LBB0_8
## %bb.2:
	cmpl	$5, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$4, %eax
	jne	LBB0_10
## %bb.4:
	movl	%r12d, %eax
	notl	%eax
	testb	$-64, %al
	jne	LBB0_10
## %bb.5:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_r_read_at_le16
	movl	%r12d, %ecx
	shll	$9, %ecx
	andl	$131072, %ecx                   ## imm = 0x20000
	movl	%r12d, %ebx
	andl	$32, %ebx
	shll	$11, %ebx
	orl	%ecx, %ebx
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_cr16_print_short_abs18
	movl	$4, %r15d
	jmp	LBB0_30
LBB0_8:
	movl	%r12d, %eax
	notl	%eax
	testb	$-63, %al
	jne	LBB0_10
## %bb.9:
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_cr16_get_dstreg
	andl	$9, %eax
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_cr16_print_short_reg_rel
	testl	%eax, %eax
	jne	LBB0_30
	jmp	LBB0_29
LBB0_10:
	movl	%r12d, %eax
	sarl	$11, %eax
	andl	$-5, %eax
	addl	$-18, %eax
	cmpl	$9, %eax
	ja	LBB0_24
## %bb.11:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:
	testb	$1, %r12b
	jne	LBB0_13
LBB0_24:
	movl	%r12d, %eax
	sarl	$14, %eax
	cmpl	$2, %eax
	je	LBB0_27
## %bb.25:
	cmpl	$3, %eax
	jne	LBB0_30
## %bb.26:
	movl	%r12d, %eax
	andl	$1, %eax
	movl	%r12d, %ebx
	shrl	$8, %ebx
	andl	$30, %ebx
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_cr16_get_dstreg
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movl	$1, %r8d
	jmp	LBB0_28
LBB0_6:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_r_read_at_le16
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_cr16_get_dstreg
	andl	$9, %eax
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_cr16_print_short_reg_rel
	testl	%eax, %eax
	jne	LBB0_30
## %bb.7:
	movl	$4, %r15d
	jmp	LBB0_30
LBB0_15:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_r_read_at_le16
	movl	%r12d, %ebx
	shll	$7, %ebx
	andl	$196608, %ebx                   ## imm = 0x30000
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	cmpl	$15, %eax
	jne	LBB0_17
## %bb.16:
	movl	%r12d, %edi
	callq	_cr16_get_dstreg
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_20
LBB0_23:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_r_read_at_le16
	movl	%r12d, %ebx
	shll	$7, %ebx
	andl	$196608, %ebx                   ## imm = 0x30000
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_cr16_get_dstreg
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	movl	$1, %r8d
	jmp	LBB0_14
LBB0_18:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_r_read_at_le16
	movl	%r12d, %ebx
	shll	$7, %ebx
	andl	$196608, %ebx                   ## imm = 0x30000
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_cr16_get_dstreg
	movl	%eax, %r15d
	cmpl	$15, %r13d
	jne	LBB0_21
## %bb.19:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	$1, %ecx
LBB0_20:
	callq	_cr16_print_long_reg
	movl	$4, %r15d
	jmp	LBB0_30
LBB0_13:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_r_read_at_le16
	movl	%r12d, %ebx
	shll	$7, %ebx
	andl	$196608, %ebx                   ## imm = 0x30000
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_cr16_get_dstreg
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
LBB0_14:
	callq	_cr16_print_reg_rel_reg
	movl	$4, %r15d
	jmp	LBB0_30
LBB0_17:
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_cr16_get_dstreg
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	jmp	LBB0_22
LBB0_21:
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	movl	$1, %r8d
LBB0_22:
	callq	_cr16_print_longregreg_reg
	movl	$4, %r15d
	jmp	LBB0_30
LBB0_27:
	movl	%r12d, %eax
	andl	$1, %eax
	movl	%r12d, %ebx
	shrl	$8, %ebx
	andl	$30, %ebx
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_cr16_get_dstreg
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
LBB0_28:
	callq	_cr16_print_reg_reg_rel
LBB0_29:
	movl	$2, %r15d
	jmp	LBB0_30
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_23
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_cr16_decode_ld_st
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cr16_decode_ld_st
_cr16_decode_ld_st:                     ; @cr16_decode_ld_st
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_r_read_le16
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_cr16_print_ld_sw_opcode
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #-1
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x20
	bl	_cr16_get_opcode_159_0
	and	w8, w0, #0xffffffdf
	cmp	w8, #69
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #5
	b.eq	LBB0_16
; %bb.5:
	cmp	w8, #4
	b.ne	LBB0_10
; %bb.6:
	mvn	w8, w20
	tst	w8, #0xc0
	b.ne	LBB0_10
; %bb.7:
	mov	x0, x21
	mov	w1, #2
	bl	_r_read_at_le16
	lsr	w8, w20, #5
	lsl	w9, w20, #9
	and	w9, w9, #0x20000
	bfi	w9, w8, #16, #1
	orr	w21, w9, w0
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_cr16_print_short_abs18
	mov	w0, #4
	b	LBB0_2
LBB0_8:
	mov	w8, #193
	bics	wzr, w8, w20
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x21, x0
	mov	x0, x20
	bl	_cr16_get_dstreg
	mov	w8, #9
	and	w3, w0, w8
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_cr16_print_short_reg_rel
	cbnz	w0, LBB0_1
	b	LBB0_28
LBB0_10:
	asr	w8, w20, #11
	and	w8, w8, #0xfffffffb
	sub	w8, w8, #18
	cmp	w8, #9
	b.hi	LBB0_13
; %bb.11:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_12
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_12:
	tbnz	w20, #0, LBB0_24
LBB0_13:
	asr	w8, w20, #14
	cmp	w8, #2
	b.eq	LBB0_26
; %bb.14:
	cmp	w8, #3
	b.ne	LBB0_1
; %bb.15:
	lsr	w8, w20, #8
	and	w21, w8, #0x1e
	bfxil	w21, w20, #0, #1
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x22, x0
	mov	x0, x20
	bl	_cr16_get_dstreg
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	w4, #1
	b	LBB0_27
LBB0_16:
	mov	x0, x21
	mov	w1, #2
	bl	_r_read_at_le16
	mov	x21, x0
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x22, x0
	mov	x0, x20
	bl	_cr16_get_dstreg
	mov	w8, #9
	and	w3, w0, w8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_cr16_print_short_reg_rel
	cbnz	w0, LBB0_1
	b	LBB0_23
LBB0_17:
	mov	x0, x21
	mov	w1, #2
	bl	_r_read_at_le16
	lsl	w8, w20, #7
	and	w8, w8, #0x30000
	orr	w21, w0, w8
	mov	x0, x20
	bl	_cr16_get_srcreg
	cmp	w0, #15
	b.ne	LBB0_29
; %bb.18:
	mov	x0, x20
	bl	_cr16_get_dstreg
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	b	LBB0_22
LBB0_19:
	mov	x0, x21
	mov	w1, #2
	bl	_r_read_at_le16
	lsl	w8, w20, #7
	and	w8, w8, #0x30000
	orr	w21, w0, w8
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x22, x0
	mov	x0, x20
	bl	_cr16_get_dstreg
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w4, #1
	b	LBB0_25
LBB0_20:
	mov	x0, x21
	mov	w1, #2
	bl	_r_read_at_le16
	lsl	w8, w20, #7
	and	w8, w8, #0x30000
	orr	w21, w0, w8
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x23, x0
	mov	x0, x20
	bl	_cr16_get_dstreg
	mov	x22, x0
	cmp	w23, #15
	b.ne	LBB0_30
; %bb.21:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w3, #1
LBB0_22:
	bl	_cr16_print_long_reg
LBB0_23:
	mov	w0, #4
	b	LBB0_2
LBB0_24:
	mov	x0, x21
	mov	w1, #2
	bl	_r_read_at_le16
	lsl	w8, w20, #7
	and	w8, w8, #0x30000
	orr	w21, w0, w8
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x22, x0
	mov	x0, x20
	bl	_cr16_get_dstreg
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w4, #0
LBB0_25:
	bl	_cr16_print_reg_rel_reg
	mov	w0, #4
	b	LBB0_2
LBB0_26:
	lsr	w8, w20, #8
	and	w21, w8, #0x1e
	bfxil	w21, w20, #0, #1
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x22, x0
	mov	x0, x20
	bl	_cr16_get_dstreg
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	w4, #0
LBB0_27:
	bl	_cr16_print_reg_reg_rel
LBB0_28:
	mov	w0, #2
	b	LBB0_2
LBB0_29:
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x22, x0
	mov	x0, x20
	bl	_cr16_get_dstreg
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w4, #0
	b	LBB0_31
LBB0_30:
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w4, #1
LBB0_31:
	bl	_cr16_print_longregreg_reg
	mov	w0, #4
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_17-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_19-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
                                        ; -- End function
	.no_dead_strip	_cr16_decode_ld_st
.subsections_via_symbols
