	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cr16_decode_movz               ## -- Begin function cr16_decode_movz
	.p2align	4, 0x90
_cr16_decode_movz:                      ## @cr16_decode_movz
	.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	$-1, %eax
	testb	$1, %bl
	jne	LBB0_6
## %bb.1:
	movl	%ebx, %ecx
	sarl	$9, %ecx
	cmpl	$129, %ecx
	je	LBB0_2
## %bb.3:
	cmpl	$128, %ecx
	jne	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rdx
LBB0_5:
	movl	4(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	decq	%rsi
	xorl	%eax, %eax
	callq	_snprintf
	movl	(%r14), %r14d
	movq	(%r15), %r15
	decq	%r15
	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.2(%rip), %rdx
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	movl	$2, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"movxb"

L_.str.1:                               ## @.str.1
	.asciz	"movzb"

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

	.comm	_cr16_regs_names,8,3            ## @cr16_regs_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cr16_decode_movz               ; -- Begin function cr16_decode_movz
	.p2align	2
_cr16_decode_movz:                      ; @cr16_decode_movz
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	tbnz	w0, #0, LBB0_4
; %bb.1:
	mov	x19, x0
	asr	w8, w0, #9
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
	mov	w0, #-1
	b	LBB0_7
LBB0_5:
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
LBB0_6:
	ldr	w0, [x20, #4]
Lloh4:
	adrp	x21, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh5:
	ldr	x21, [x21, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	x8, [x21]
	sub	x1, x8, #1
	bl	_snprintf
	ldr	w20, [x20]
	ldr	x8, [x21]
	sub	x21, x8, #1
Lloh6:
	adrp	x22, _cr16_regs_names@GOTPAGE
Lloh7:
	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]
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_snprintf
	mov	w0, #2
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CR16_INSTR_MAXLEN,8,3          ; @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"movxb"

l_.str.1:                               ; @.str.1
	.asciz	"movzb"

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

	.comm	_cr16_regs_names,8,3            ; @cr16_regs_names
.subsections_via_symbols
