	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cr16_decode_muls               ## -- Begin function cr16_decode_muls
	.p2align	4, 0x90
_cr16_decode_muls:                      ## @cr16_decode_muls
	.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, %ebx
	movl	%eax, %ecx
	sarl	$9, %ecx
	movl	$2, %eax
	cmpl	$128, %ecx
	je	LBB0_5
## %bb.1:
	cmpl	$129, %ecx
	je	LBB0_4
## %bb.2:
	cmpl	$130, %ecx
	jne	LBB0_9
## %bb.3:
	movl	4(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	decl	%esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	(%r14), %r14d
	movl	(%r15), %r15d
	decl	%r15d
	movq	_cr16_regs_names@GOTPCREL(%rip), %r13
	movq	(%r13), %r12
	movl	%ebx, %edi
	callq	_cr16_get_srcreg
	movq	(%r12,%rax,8), %r12
	movq	(%r13), %r13
	movl	%ebx, %edi
	callq	_cr16_get_dstreg
	movq	(%r13,%rax,8), %r8
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_8
LBB0_5:
	movl	$-1, %eax
	testb	$12, %bl
	jne	LBB0_9
## %bb.6:
	movl	4(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	decl	%esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_7
LBB0_4:
	movl	4(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	decl	%esi
	leaq	L_.str.2(%rip), %rdx
LBB0_7:
	xorl	%eax, %eax
	callq	_snprintf
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r15), %r15d
	decl	%r15d
	movq	_cr16_regs_names@GOTPCREL(%rip), %r14
	movq	(%r14), %r12
	movl	%ebx, %edi
	callq	_cr16_get_srcreg
	movq	(%r12,%rax,8), %r12
	movq	(%r14), %r13
	movl	%ebx, %edi
	callq	_cr16_get_dstreg
	movq	8(%r13,%rax,8), %r13
	movq	(%r14), %r14
	movl	%ebx, %edi
	callq	_cr16_get_dstreg
	movq	(%r14,%rax,8), %r9
	leaq	L_.str.3(%rip), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	movq	%r12, %rcx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_snprintf
LBB0_8:
	movl	$2, %eax
LBB0_9:
	addq	$8, %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	"mulsb"

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

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

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

L_.str.4:                               ## @.str.4
	.asciz	"muluw"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cr16_decode_muls               ; -- Begin function cr16_decode_muls
	.p2align	2
_cr16_decode_muls:                      ; @cr16_decode_muls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	bl	_r_read_le16
	mov	x19, x0
	asr	w8, w0, #9
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_10
; %bb.3:
	ldr	w0, [x20, #4]
Lloh0:
	adrp	x21, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w8, [x21]
	sub	w1, w8, #1
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	ldr	w20, [x20]
	ldr	w8, [x21]
	sub	w21, w8, #1
Lloh4:
	adrp	x22, _cr16_regs_names@GOTPAGE
Lloh5:
	ldr	x22, [x22, _cr16_regs_names@GOTPAGEOFF]
	ldr	x23, [x22]
	mov	x0, x19
	bl	_cr16_get_srcreg
	ldr	x23, [x23, x0, lsl #3]
	ldr	x22, [x22]
	mov	x0, x19
	bl	_cr16_get_dstreg
	ldr	x8, [x22, x0, lsl #3]
	stp	x23, x8, [sp]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_4:
	tst	w19, #0xc
	b.eq	LBB0_7
; %bb.5:
	mov	w0, #-1
	b	LBB0_11
LBB0_6:
	ldr	w0, [x20, #4]
Lloh8:
	adrp	x21, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh9:
	ldr	x21, [x21, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w8, [x21]
	sub	w1, w8, #1
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
	ldr	w0, [x20, #4]
Lloh12:
	adrp	x21, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh13:
	ldr	x21, [x21, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w8, [x21]
	sub	w1, w8, #1
Lloh14:
	adrp	x2, l_.str.4@PAGE
Lloh15:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_8:
	bl	_snprintf
	ldr	w20, [x20]
	ldr	w8, [x21]
	sub	w21, w8, #1
Lloh16:
	adrp	x22, _cr16_regs_names@GOTPAGE
Lloh17:
	ldr	x22, [x22, _cr16_regs_names@GOTPAGEOFF]
	ldr	x23, [x22]
	mov	x0, x19
	bl	_cr16_get_srcreg
	ldr	x23, [x23, x0, lsl #3]
	ldr	x24, [x22]
	mov	x0, x19
	bl	_cr16_get_dstreg
	add	x8, x24, x0, lsl #3
	ldr	x24, [x8, #8]
	ldr	x22, [x22]
	mov	x0, x19
	bl	_cr16_get_dstreg
	ldr	x8, [x22, x0, lsl #3]
	stp	x24, x8, [sp, #8]
	str	x23, [sp]
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_9:
	mov	x0, x20
	mov	x1, x21
	bl	_snprintf
LBB0_10:
	mov	w0, #2
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_CR16_INSTR_MAXLEN,4,2          ; @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mulsb"

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

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

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

l_.str.4:                               ; @.str.4
	.asciz	"muluw"

.subsections_via_symbols
