	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cr16_decode_jmp
_cr16_decode_jmp:                       ## @cr16_decode_jmp
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_r_read_le16
	movl	%eax, %r15d
	movl	%eax, %ecx
	sarl	$9, %ecx
	cmpl	$11, %ecx
	je	LBB0_9
## %bb.1:
	movl	$-1, %eax
	cmpl	$129, %ecx
	je	LBB0_7
## %bb.2:
	cmpl	$128, %ecx
	jne	LBB0_17
## %bb.3:
	movl	%r15d, %eax
	andl	$480, %eax                      ## imm = 0x1E0
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	decl	%ebx
	movl	12(%r14), %r12d
	cmpl	$448, %eax                      ## imm = 0x1C0
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %edi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_6
LBB0_7:
	testb	$1, %r15b
	je	LBB0_16
## %bb.8:
	movl	12(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	decl	%esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	%r15d, %edi
	callq	_cr16_get_dstreg
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_cr16_get_srcreg
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_cr16_print_reg_reg
	movq	_CR16_TYPE_JUMP_UNK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	jmp	LBB0_15
LBB0_9:
	testb	$1, %r15b
	jne	LBB0_11
## %bb.10:
	movl	12(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	decl	%edx
	leaq	L_.str.3(%rip), %rsi
	callq	_strncpy
	movl	8(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %r12d
	decl	%r12d
	movq	_cr16_regs_names@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	movl	%r15d, %edi
	callq	_cr16_get_dstreg
	movq	8(%rbx,%rax,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rbx
	movl	%r15d, %edi
	callq	_cr16_get_dstreg
	movq	(%rbx,%rax,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rbx
	movl	%r15d, %edi
	callq	_cr16_get_srcreg
	movq	8(%rbx,%rax,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rbx
	movl	%r15d, %edi
	callq	_cr16_get_srcreg
	movq	(%rbx,%rax,8), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.4(%rip), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_15
LBB0_5:
	movq	_cr16_conds@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	%r15d, %edi
	callq	_cr16_get_dstreg
	movq	(%r13,%rax,8), %rcx
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %r13
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %edi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_6:
	movl	8(%r14), %r12d
	movl	(%r13), %ebx
	decl	%ebx
	movq	_cr16_regs_names@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	%r15d, %edi
	callq	_cr16_get_srcreg
	movq	(%r13,%rax,8), %rcx
	leaq	L_.str.2(%rip), %rdx
	movl	%r12d, %edi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_15
LBB0_11:
	movl	%r15d, %edi
	callq	_cr16_get_dstreg
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	decl	%ebx
	movl	12(%r14), %r12d
	cmpq	$14, %rax
	jne	LBB0_12
## %bb.13:
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%ebx, %edx
	callq	_strncpy
	movl	8(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r13), %ebx
	jmp	LBB0_14
LBB0_12:
	movq	_cr16_conds@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	%r15d, %edi
	callq	_cr16_get_dstreg
	movq	(%r13,%rax,8), %rcx
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %edi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_snprintf
	movl	8(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_14:
	decl	%ebx
	movq	_cr16_regs_names@GOTPCREL(%rip), %r12
	movq	(%r12), %r13
	movl	%r15d, %edi
	callq	_cr16_get_srcreg
	movq	8(%r13,%rax,8), %r13
	movq	(%r12), %r12
	movl	%r15d, %edi
	callq	_cr16_get_srcreg
	movq	(%r12,%rax,8), %r8
	leaq	L_.str.5(%rip), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_15:
	movl	$2, %eax
LBB0_16:
	movq	_CR16_TYPE_JUMP_UNK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%r14)
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CR16_INSTR_MAXLEN,4,2          ## @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"jump"

L_.str.1:                               ## @.str.1
	.asciz	"j%s"

	.comm	_cr16_conds,8,3                 ## @cr16_conds
L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_cr16_regs_names,8,3            ## @cr16_regs_names
L_.str.3:                               ## @.str.3
	.asciz	"jal"

	.comm	_CR16_TYPE_JUMP_UNK,8,3         ## @CR16_TYPE_JUMP_UNK
L_.str.4:                               ## @.str.4
	.asciz	"(%s,%s),(%s,%s)"

L_.str.5:                               ## @.str.5
	.asciz	"(%s,%s)"

	.no_dead_strip	_cr16_decode_jmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cr16_decode_jmp
_cr16_decode_jmp:                       ; @cr16_decode_jmp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x1
	bl	_r_read_le16
	mov	x20, x0
	asr	w8, w0, #9
	cmp	w8, #11
	b.eq	LBB0_7
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.3:
	and	w8, w20, #0x1e0
	ldr	w21, [x19, #12]
Lloh0:
	adrp	x23, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w9, [x23]
	sub	w22, w9, #1
	cmp	w8, #448
	b.ne	LBB0_11
; %bb.4:
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_12
LBB0_5:
	tbnz	w20, #0, LBB0_10
; %bb.6:
	mov	w0, #-1
	b	LBB0_19
LBB0_7:
	tbnz	w20, #0, LBB0_13
; %bb.8:
	ldr	w0, [x19, #12]
Lloh4:
	adrp	x22, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh5:
	ldr	x22, [x22, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w8, [x22]
	sub	w2, w8, #1
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strncpy
	ldr	w21, [x19, #8]
	ldr	w8, [x22]
	sub	w22, w8, #1
Lloh8:
	adrp	x23, _cr16_regs_names@GOTPAGE
Lloh9:
	ldr	x23, [x23, _cr16_regs_names@GOTPAGEOFF]
	ldr	x24, [x23]
	mov	x0, x20
	bl	_cr16_get_dstreg
	add	x8, x24, x0, lsl #3
	ldr	x24, [x8, #8]
	ldr	x25, [x23]
	mov	x0, x20
	bl	_cr16_get_dstreg
	ldr	x25, [x25, x0, lsl #3]
	ldr	x26, [x23]
	mov	x0, x20
	bl	_cr16_get_srcreg
	add	x8, x26, x0, lsl #3
	ldr	x26, [x8, #8]
	ldr	x23, [x23]
	mov	x0, x20
	bl	_cr16_get_srcreg
	ldr	x8, [x23, x0, lsl #3]
	stp	x26, x8, [sp, #16]
	stp	x24, x25, [sp]
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_17
LBB0_9:
	mov	w0, #-1
	b	LBB0_20
LBB0_10:
	ldr	w0, [x19, #12]
Lloh12:
	adrp	x8, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	sub	w1, w8, #1
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_snprintf
	mov	x0, x20
	bl	_cr16_get_dstreg
	mov	x21, x0
	mov	x0, x20
	bl	_cr16_get_srcreg
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_cr16_print_reg_reg
Lloh17:
	adrp	x8, _CR16_TYPE_JUMP_UNK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CR16_TYPE_JUMP_UNK@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_18
LBB0_11:
Lloh20:
	adrp	x8, _cr16_conds@GOTPAGE
Lloh21:
	ldr	x8, [x8, _cr16_conds@GOTPAGEOFF]
Lloh22:
	ldr	x24, [x8]
	mov	x0, x20
	bl	_cr16_get_dstreg
	ldr	x8, [x24, x0, lsl #3]
	str	x8, [sp]
Lloh23:
	adrp	x2, l_.str.1@PAGE
Lloh24:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_12:
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
	ldr	w21, [x19, #8]
	ldr	w8, [x23]
	sub	w22, w8, #1
Lloh25:
	adrp	x8, _cr16_regs_names@GOTPAGE
Lloh26:
	ldr	x8, [x8, _cr16_regs_names@GOTPAGEOFF]
Lloh27:
	ldr	x23, [x8]
	mov	x0, x20
	bl	_cr16_get_srcreg
	ldr	x8, [x23, x0, lsl #3]
	str	x8, [sp]
Lloh28:
	adrp	x2, l_.str.2@PAGE
Lloh29:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_13:
	mov	x0, x20
	bl	_cr16_get_dstreg
	ldr	w21, [x19, #12]
Lloh30:
	adrp	x23, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh31:
	ldr	x23, [x23, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w8, [x23]
	sub	w22, w8, #1
	cmp	x0, #14
	b.ne	LBB0_15
; %bb.14:
Lloh32:
	adrp	x1, l_.str@PAGE
Lloh33:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_strncpy
	b	LBB0_16
LBB0_15:
Lloh34:
	adrp	x8, _cr16_conds@GOTPAGE
Lloh35:
	ldr	x8, [x8, _cr16_conds@GOTPAGEOFF]
Lloh36:
	ldr	x24, [x8]
	mov	x0, x20
	bl	_cr16_get_dstreg
	ldr	x8, [x24, x0, lsl #3]
	str	x8, [sp]
Lloh37:
	adrp	x2, l_.str.1@PAGE
Lloh38:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
LBB0_16:
	ldr	w21, [x19, #8]
	ldr	w8, [x23]
	sub	w22, w8, #1
Lloh39:
	adrp	x23, _cr16_regs_names@GOTPAGE
Lloh40:
	ldr	x23, [x23, _cr16_regs_names@GOTPAGEOFF]
	ldr	x24, [x23]
	mov	x0, x20
	bl	_cr16_get_srcreg
	add	x8, x24, x0, lsl #3
	ldr	x24, [x8, #8]
	ldr	x23, [x23]
	mov	x0, x20
	bl	_cr16_get_srcreg
	ldr	x8, [x23, x0, lsl #3]
	stp	x24, x8, [sp]
Lloh41:
	adrp	x2, l_.str.5@PAGE
Lloh42:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_17:
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
LBB0_18:
	mov	w0, #2
LBB0_19:
Lloh43:
	adrp	x8, _CR16_TYPE_JUMP_UNK@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CR16_TYPE_JUMP_UNK@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_20:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_CR16_INSTR_MAXLEN,4,2          ; @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"jump"

l_.str.1:                               ; @.str.1
	.asciz	"j%s"

	.comm	_cr16_conds,8,3                 ; @cr16_conds
l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_cr16_regs_names,8,3            ; @cr16_regs_names
l_.str.3:                               ; @.str.3
	.asciz	"jal"

	.comm	_CR16_TYPE_JUMP_UNK,8,3         ; @CR16_TYPE_JUMP_UNK
l_.str.4:                               ; @.str.4
	.asciz	"(%s,%s),(%s,%s)"

l_.str.5:                               ; @.str.5
	.asciz	"(%s,%s)"

	.no_dead_strip	_cr16_decode_jmp
.subsections_via_symbols
