	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cr16_decode_scond              ## -- Begin function cr16_decode_scond
	.p2align	4, 0x90
_cr16_decode_scond:                     ## @cr16_decode_scond
	.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, %r12d
	movl	$-1, %eax
	testb	$1, %r12b
	jne	LBB0_2
## %bb.1:
	movl	8(%r14), %r15d
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	decq	%rbx
	movq	_cr16_conds@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	%r12d, %edi
	callq	_cr16_get_dstreg
	movq	(%r13,%rax,8), %rcx
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_snprintf
	movl	4(%r14), %r15d
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	decq	%rbx
	movq	_cr16_regs_names@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	%r12d, %edi
	callq	_cr16_get_srcreg
	movq	(%r13,%rax,8), %rcx
	leaq	L_.str.1(%rip), %rdx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_snprintf
	movq	_CR16_TYPE_SCOND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$2, %eax
LBB0_2:
	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	"s%s"

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

	.comm	_cr16_regs_names,8,3            ## @cr16_regs_names
	.comm	_CR16_TYPE_SCOND,4,2            ## @CR16_TYPE_SCOND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cr16_decode_scond              ; -- Begin function cr16_decode_scond
	.p2align	2
_cr16_decode_scond:                     ; @cr16_decode_scond
	.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
	tbnz	w0, #0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x23, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w21, [x19, #8]
	ldr	x8, [x23]
	sub	x22, x8, #1
Lloh2:
	adrp	x8, _cr16_conds@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cr16_conds@GOTPAGEOFF]
Lloh4:
	ldr	x24, [x8]
	bl	_cr16_get_dstreg
	ldr	x3, [x24, x0, lsl #3]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
	ldr	w21, [x19, #4]
	ldr	x8, [x23]
	sub	x22, x8, #1
Lloh7:
	adrp	x8, _cr16_regs_names@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cr16_regs_names@GOTPAGEOFF]
Lloh9:
	ldr	x23, [x8]
	mov	x0, x20
	bl	_cr16_get_srcreg
	ldr	x3, [x23, x0, lsl #3]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
Lloh12:
	adrp	x8, _CR16_TYPE_SCOND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CR16_TYPE_SCOND@GOTPAGEOFF]
Lloh14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.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%s"

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

	.comm	_cr16_regs_names,8,3            ; @cr16_regs_names
	.comm	_CR16_TYPE_SCOND,4,2            ; @CR16_TYPE_SCOND
.subsections_via_symbols
