	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cr16_decode_bcond01i
_cr16_decode_bcond01i:                  ## @cr16_decode_bcond01i
	.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
	andl	$-16383, %ecx                   ## imm = 0xC001
	movl	$-1, %eax
	cmpl	$1, %ecx
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %eax
	shrl	$6, %eax
	andl	$3, %eax
	leaq	l_reltable.cr16_decode_bcond01i(%rip), %rcx
	movslq	(%rcx,%rax,4), %r15
	addq	%rcx, %r15
	movl	8(%r14), %r12d
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	decq	%r13
	movl	%ebx, %edi
	callq	_cr16_get_opcode_i
	testl	%eax, %eax
	movl	$98, %eax
	movl	$119, %r8d
	cmovel	%eax, %r8d
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %edi
	movq	%r13, %rsi
	movq	%r15, %rcx
	callq	_snprintf
	movl	4(%r14), %r15d
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	decq	%r12
	movq	_cr16_regs_names@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	%ebx, %edi
	callq	_cr16_get_dstreg
	movq	(%r13,%rax,8), %rcx
	shrl	%ebx
	andl	$15, %ebx
	leaq	L_.str.5(%rip), %rdx
	movl	%r15d, %edi
	movq	%r12, %rsi
	movl	%ebx, %r8d
	callq	_snprintf
	movq	_CR16_TYPE_BCOND@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%c"

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

L_.str.2:                               ## @.str.2
	.asciz	"beq1"

L_.str.3:                               ## @.str.3
	.asciz	"bne0"

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

L_.str.5:                               ## @.str.5
	.asciz	"%s,0x%x"

	.comm	_cr16_regs_names,8,3            ## @cr16_regs_names
	.comm	_CR16_TYPE_BCOND,4,2            ## @CR16_TYPE_BCOND
	.no_dead_strip	_cr16_decode_bcond01i
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.cr16_decode_bcond01i
l_reltable.cr16_decode_bcond01i:
	.long	L_.str.1-l_reltable.cr16_decode_bcond01i
	.long	L_.str.2-l_reltable.cr16_decode_bcond01i
	.long	L_.str.3-l_reltable.cr16_decode_bcond01i
	.long	L_.str.4-l_reltable.cr16_decode_bcond01i

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cr16_decode_bcond01i
_cr16_decode_bcond01i:                  ; @cr16_decode_bcond01i
	.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
	and	w8, w0, #0xffffc001
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x0
	ubfx	w8, w0, #6, #2
Lloh0:
	adrp	x9, l_switch.table.cr16_decode_bcond01i@PAGE
Lloh1:
	add	x9, x9, l_switch.table.cr16_decode_bcond01i@PAGEOFF
	ldr	x21, [x9, w8, uxtw #3]
	ldr	w22, [x19, #8]
Lloh2:
	adrp	x24, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	x8, [x24]
	sub	x23, x8, #1
	bl	_cr16_get_opcode_i
	mov	w8, #119
	mov	w9, #98
	cmp	w0, #0
	csel	w4, w9, w8, eq
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	mov	x3, x21
	bl	_snprintf
	ldr	w21, [x19, #4]
	ldr	x8, [x24]
	sub	x22, x8, #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_dstreg
	ldr	x3, [x23, x0, lsl #3]
	ubfx	w4, w20, #1, #4
Lloh9:
	adrp	x2, l_.str.5@PAGE
Lloh10:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
Lloh11:
	adrp	x8, _CR16_TYPE_BCOND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CR16_TYPE_BCOND@GOTPAGEOFF]
Lloh13:
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	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%c"

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

l_.str.2:                               ; @.str.2
	.asciz	"beq1"

l_.str.3:                               ; @.str.3
	.asciz	"bne0"

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

l_.str.5:                               ; @.str.5
	.asciz	"%s,0x%x"

	.comm	_cr16_regs_names,8,3            ; @cr16_regs_names
	.comm	_CR16_TYPE_BCOND,4,2            ; @CR16_TYPE_BCOND
	.no_dead_strip	_cr16_decode_bcond01i
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.cr16_decode_bcond01i
l_switch.table.cr16_decode_bcond01i:
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4

.subsections_via_symbols
