	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cr16_decode_slpr
_cr16_decode_slpr:                      ## @cr16_decode_slpr
	.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
	callq	_r_read_le16
	movl	%eax, %r15d
	movq	_instrs_4bit@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %ebx
	sarl	$9, %ebx
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	8(%r14), %rdi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	$7, %edx
	callq	_r_str_ncpy
	cmpl	$128, %ebx
	je	LBB0_6
LBB0_4:
	cmpl	$129, %ebx
	jne	LBB0_8
## %bb.5:
	movl	4(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	decl	%r12d
	movq	_cr16_regs_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r15d, %edi
	callq	_cr16_get_srcreg
	movq	(%rbx,%rax,8), %r13
	movq	_dedicated_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r15d, %edi
	callq	_cr16_get_dstreg
	jmp	LBB0_7
LBB0_2:
	movq	$0, (%rdi)
	cmpl	$128, %ebx
	jne	LBB0_4
LBB0_6:
	movl	4(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	decl	%r12d
	movq	_dedicated_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r15d, %edi
	callq	_cr16_get_dstreg
	movq	(%rbx,%rax,8), %r13
	movq	_cr16_regs_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r15d, %edi
	callq	_cr16_get_srcreg
LBB0_7:
	movq	(%rbx,%rax,8), %r8
	leaq	L_.str(%rip), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movq	%r13, %rcx
	callq	_snprintf
LBB0_8:
	movq	_CR16_TYPE_SLPR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$2, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_instrs_4bit,8,3                ## @instrs_4bit
	.comm	_CR16_INSTR_MAXLEN,4,2          ## @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s,%s"

	.comm	_cr16_regs_names,8,3            ## @cr16_regs_names
	.comm	_dedicated_regs,8,3             ## @dedicated_regs
	.comm	_CR16_TYPE_SLPR,4,2             ## @CR16_TYPE_SLPR
	.no_dead_strip	_cr16_decode_slpr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cr16_decode_slpr
_cr16_decode_slpr:                      ; @cr16_decode_slpr
	.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
	bl	_r_read_le16
	mov	x20, x0
Lloh0:
	adrp	x8, _instrs_4bit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _instrs_4bit@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	asr	w21, w0, #9
	ldr	x1, [x8, w21, sxtw #3]
	ldr	x0, [x19, #8]
	cbz	x1, LBB0_4
; %bb.1:
	mov	w2, #7
	bl	_r_str_ncpy
	cmp	w21, #128
	b.eq	LBB0_5
LBB0_2:
	cmp	w21, #129
	b.ne	LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w21, [x19, #4]
Lloh5:
	ldr	w8, [x8]
	sub	w22, w8, #1
Lloh6:
	adrp	x8, _cr16_regs_names@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cr16_regs_names@GOTPAGEOFF]
Lloh8:
	ldr	x23, [x8]
	mov	x0, x20
	bl	_cr16_get_srcreg
	ldr	x23, [x23, x0, lsl #3]
Lloh9:
	adrp	x8, _dedicated_regs@GOTPAGE
Lloh10:
	ldr	x8, [x8, _dedicated_regs@GOTPAGEOFF]
Lloh11:
	ldr	x24, [x8]
	mov	x0, x20
	bl	_cr16_get_dstreg
	b	LBB0_6
LBB0_4:
	str	xzr, [x0]
	cmp	w21, #128
	b.ne	LBB0_2
LBB0_5:
Lloh12:
	adrp	x8, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w21, [x19, #4]
Lloh14:
	ldr	w8, [x8]
	sub	w22, w8, #1
Lloh15:
	adrp	x8, _dedicated_regs@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dedicated_regs@GOTPAGEOFF]
Lloh17:
	ldr	x23, [x8]
	mov	x0, x20
	bl	_cr16_get_dstreg
	ldr	x23, [x23, x0, lsl #3]
Lloh18:
	adrp	x8, _cr16_regs_names@GOTPAGE
Lloh19:
	ldr	x8, [x8, _cr16_regs_names@GOTPAGEOFF]
Lloh20:
	ldr	x24, [x8]
	mov	x0, x20
	bl	_cr16_get_srcreg
LBB0_6:
	ldr	x4, [x24, x0, lsl #3]
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	x3, x23
	bl	_snprintf
LBB0_7:
Lloh23:
	adrp	x8, _CR16_TYPE_SLPR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CR16_TYPE_SLPR@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_instrs_4bit,8,3                ; @instrs_4bit
	.comm	_CR16_INSTR_MAXLEN,4,2          ; @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s,%s"

	.comm	_cr16_regs_names,8,3            ; @cr16_regs_names
	.comm	_dedicated_regs,8,3             ; @dedicated_regs
	.comm	_CR16_TYPE_SLPR,4,2             ; @CR16_TYPE_SLPR
	.no_dead_strip	_cr16_decode_slpr
.subsections_via_symbols
