	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cr16_decode_loadm_storm        ## -- Begin function cr16_decode_loadm_storm
	.p2align	4, 0x90
_cr16_decode_loadm_storm:               ## @cr16_decode_loadm_storm
	.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
	callq	_r_read_le16
	movl	%eax, %ebx
	movl	%eax, %ecx
	andl	$31, %ecx
	movl	$-1, %eax
	cmpl	$4, %ecx
	jne	LBB0_2
## %bb.1:
	movl	8(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	decq	%rsi
	movq	_instrs_4bit@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	sarl	$7, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rcx
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	4(%r14), %edi
	movq	(%r15), %rsi
	decq	%rsi
	shrl	$5, %ebx
	andl	$3, %ebx
	incl	%ebx
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	movq	_CR16_TYPE_MOV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$2, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CR16_INSTR_MAXLEN,8,3          ## @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_instrs_4bit,8,3                ## @instrs_4bit
L_.str.1:                               ## @.str.1
	.asciz	"$0x%x"

	.comm	_CR16_TYPE_MOV,4,2              ## @CR16_TYPE_MOV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cr16_decode_loadm_storm        ; -- Begin function cr16_decode_loadm_storm
	.p2align	2
_cr16_decode_loadm_storm:               ; @cr16_decode_loadm_storm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	bl	_r_read_le16
	and	w8, w0, #0x1f
	cmp	w8, #4
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x21, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	x8, [x21]
	sub	x1, x8, #1
Lloh2:
	adrp	x8, _instrs_4bit@GOTPAGE
Lloh3:
	ldr	x8, [x8, _instrs_4bit@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	asr	w9, w20, #7
	ldr	x8, [x8, w9, sxtw #3]
	str	x8, [sp]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	ldr	w0, [x19, #4]
	ldr	x8, [x21]
	sub	x1, x8, #1
	ubfx	w8, w20, #5, #2
	add	w8, w8, #1
	str	x8, [sp]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
Lloh9:
	adrp	x8, _CR16_TYPE_MOV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CR16_TYPE_MOV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #2
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CR16_INSTR_MAXLEN,8,3          ; @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_instrs_4bit,8,3                ; @instrs_4bit
l_.str.1:                               ; @.str.1
	.asciz	"$0x%x"

	.comm	_CR16_TYPE_MOV,4,2              ; @CR16_TYPE_MOV
.subsections_via_symbols
