	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cr16_decode_bcond_br
_cr16_decode_bcond_br:                  ## @cr16_decode_bcond_br
	.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
	movq	%rdi, %r15
	callq	_r_read_le16
	movl	%eax, %r13d
	movl	$-1, %r12d
	testb	$1, %r13b
	jne	LBB0_16
## %bb.1:
	cmpl	$16383, %r13d                   ## imm = 0x3FFF
	ja	LBB0_3
## %bb.2:
	movl	%r13d, %edi
	callq	_cr16_get_opcode_low
	cmpl	$10, %eax
	jne	LBB0_16
LBB0_3:
	movl	%r13d, %eax
	andl	$480, %eax                      ## imm = 0x1E0
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	decq	%rbx
	movl	12(%r14), %r12d
	cmpl	$448, %eax                      ## imm = 0x1C0
	jne	LBB0_12
## %bb.4:
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_snprintf
	movl	%r13d, %ebx
	shrl	%ebx
	andl	$7, %ebx
	cmpl	$7, %ebx
	jne	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_r_read_at_le16
	andl	$16, %r13d
	shll	$12, %r13d
	orl	%eax, %r13d
	movl	4(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	leaq	L_.str.1(%rip), %rdx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	testl	$65536, %r13d                   ## imm = 0x10000
	je	LBB0_7
## %bb.6:
	orl	$-131072, %r13d                 ## imm = 0xFFFE0000
LBB0_7:
	movl	%r13d, (%r14)
	movl	$4, %r12d
	jmp	LBB0_11
LBB0_12:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_cr16_conds@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	%r13d, %edi
	callq	_cr16_get_cond
	movq	(%r14,%rax,8), %rcx
	leaq	L_.str.3(%rip), %rdx
	movl	%r12d, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_snprintf
	movl	%r13d, %eax
	sarl	$8, %eax
	movq	_CR16_BCOND_2@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_r_read_at_le16
	movl	%eax, %ebx
	movl	$4, %r12d
	movl	%r13d, %edi
	movl	$4, %esi
	callq	_GET_BIT
	shll	$16, %eax
	orl	%ebx, %eax
	movl	%eax, %ecx
	orl	$-1048576, %ecx                 ## imm = 0xFFF00000
	testl	$524288, %eax                   ## imm = 0x80000
	cmovel	%eax, %ecx
	jmp	LBB0_15
LBB0_8:
	movl	%r13d, %edi
	callq	_cr16_get_opcode_i
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_r_read_at_le16
	shll	$17, %ebx
	orl	%eax, %ebx
	andl	$16, %r13d
	shll	$12, %r13d
	orl	%ebx, %r13d
	movl	%r13d, %ecx
	orl	$-1048576, %ecx                 ## imm = 0xFFF00000
	testl	$524288, %ebx                   ## imm = 0x80000
	cmovel	%r13d, %ecx
	movl	%ecx, (%r14)
	movl	4(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	$4, %r12d
	jmp	LBB0_11
LBB0_14:
	movl	%r13d, %eax
	andl	$31, %eax
	movl	%r13d, %ecx
	shrl	$4, %ecx
	andl	$480, %ecx                      ## imm = 0x1E0
	leal	(%rcx,%rax), %edx
	testl	$4096, %r13d                    ## imm = 0x1000
	leal	65024(%rcx,%rax), %ecx
	cmovel	%edx, %ecx
	movl	$2, %r12d
LBB0_15:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
	movq	_CR16_TYPE_BCOND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	4(%rdx), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_16
LBB0_10:
	movl	%r13d, %eax
	andl	$31, %eax
	movl	%r13d, %ecx
	shrl	$4, %ecx
	andl	$480, %ecx                      ## imm = 0x1E0
	leal	(%rcx,%rax), %edx
	testl	$4096, %r13d                    ## imm = 0x1000
	leal	65024(%rcx,%rax), %ecx
	cmovel	%edx, %ecx
	movl	%ecx, (%r14)
	movl	4(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	$2, %r12d
LBB0_11:
	movq	_CR16_TYPE_JUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_16:
	movl	%r12d, %eax
	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	"br"

L_.str.1:                               ## @.str.1
	.asciz	"0x%08x"

L_.str.2:                               ## @.str.2
	.asciz	"0x%04x"

	.comm	_CR16_TYPE_JUMP,4,2             ## @CR16_TYPE_JUMP
L_.str.3:                               ## @.str.3
	.asciz	"b%s"

	.comm	_cr16_conds,8,3                 ## @cr16_conds
	.comm	_CR16_BCOND_2,4,2               ## @CR16_BCOND_2
	.comm	_CR16_TYPE_BCOND,4,2            ## @CR16_TYPE_BCOND
	.no_dead_strip	_cr16_decode_bcond_br
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cr16_decode_bcond_br
_cr16_decode_bcond_br:                  ; @cr16_decode_bcond_br
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	bl	_r_read_le16
	tbnz	w0, #0, LBB0_7
; %bb.1:
	mov	x20, x0
	lsr	w8, w0, #14
	cbnz	w8, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_cr16_get_opcode_low
	cmp	w0, #10
	b.ne	LBB0_7
LBB0_3:
	and	w8, w20, #0x1e0
	ldr	w22, [x19, #12]
Lloh0:
	adrp	x24, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	x9, [x24]
	sub	x23, x9, #1
	cmp	w8, #448
	b.ne	LBB0_8
; %bb.4:
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	bl	_snprintf
	ubfx	w22, w20, #1, #3
	cmp	w22, #7
	b.ne	LBB0_10
; %bb.5:
	mov	x0, x21
	mov	w1, #2
	bl	_r_read_at_le16
	lsl	w8, w20, #12
	and	w8, w8, #0x10000
	orr	w20, w0, w8
	ldr	w0, [x19, #4]
	ldr	x8, [x24]
	sub	x1, x8, #1
	str	x20, [sp]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	tbnz	w20, #16, LBB0_14
; %bb.6:
	str	w20, [x19]
	mov	w21, #4
	b	LBB0_16
LBB0_7:
	mov	w21, #-1
	b	LBB0_17
LBB0_8:
Lloh6:
	adrp	x8, _cr16_conds@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cr16_conds@GOTPAGEOFF]
Lloh8:
	ldr	x25, [x8]
	mov	x0, x20
	bl	_cr16_get_cond
	ldr	x8, [x25, x0, lsl #3]
	str	x8, [sp]
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	bl	_snprintf
Lloh11:
	adrp	x8, _CR16_BCOND_2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CR16_BCOND_2@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w8, w20, asr #8
	b.ne	LBB0_12
; %bb.9:
	mov	x0, x21
	mov	w1, #2
	bl	_r_read_at_le16
	mov	x22, x0
	mov	w21, #4
	mov	x0, x20
	mov	w1, #4
	bl	_GET_BIT
	orr	w8, w22, w0, lsl #16
	orr	w9, w8, #0xfff00000
	tst	w8, #0x80000
	csel	w8, w8, w9, eq
	b	LBB0_13
LBB0_10:
	mov	x0, x20
	bl	_cr16_get_opcode_i
	cbz	x0, LBB0_15
; %bb.11:
	mov	x0, x21
	mov	w1, #2
	bl	_r_read_at_le16
	orr	w8, w0, w22, lsl #17
	lsl	w9, w20, #12
	and	w9, w9, #0x10000
	orr	w9, w8, w9
	orr	w10, w9, #0xfff00000
	tst	w8, #0x80000
	csel	w8, w9, w10, eq
	str	w8, [x19]
	ldr	w0, [x19, #4]
	ldr	x9, [x24]
	sub	x1, x9, #1
	str	x8, [sp]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	mov	w21, #4
	b	LBB0_16
LBB0_12:
	lsr	w8, w20, #4
	and	w8, w8, #0x1e0
	bfxil	w8, w20, #0, #5
	orr	w9, w8, #0xfe00
	tst	w20, #0x1000
	csel	w8, w8, w9, eq
	mov	w21, #2
LBB0_13:
Lloh16:
	adrp	x9, _CR16_TYPE_BCOND@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CR16_TYPE_BCOND@GOTPAGEOFF]
	str	w8, [x19]
Lloh18:
	ldr	w9, [x9]
	str	w9, [x19, #8]
	ldr	w0, [x19, #4]
	ldr	x9, [x24]
	sub	x1, x9, #1
	str	x8, [sp]
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_snprintf
	b	LBB0_17
LBB0_14:
	orr	w8, w20, #0xfffe0000
	str	w8, [x19]
	mov	w21, #4
	b	LBB0_16
LBB0_15:
	lsr	w8, w20, #4
	and	w8, w8, #0x1e0
	bfxil	w8, w20, #0, #5
	orr	w9, w8, #0xfe00
	tst	w20, #0x1000
	csel	w8, w8, w9, eq
	str	w8, [x19]
	ldr	w0, [x19, #4]
	ldr	x9, [x24]
	sub	x1, x9, #1
	str	x8, [sp]
Lloh21:
	adrp	x2, l_.str.2@PAGE
Lloh22:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_snprintf
	mov	w21, #2
LBB0_16:
Lloh23:
	adrp	x8, _CR16_TYPE_JUMP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CR16_TYPE_JUMP@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_17:
	mov	x0, x21
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_CR16_INSTR_MAXLEN,8,3          ; @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"br"

l_.str.1:                               ; @.str.1
	.asciz	"0x%08x"

l_.str.2:                               ; @.str.2
	.asciz	"0x%04x"

	.comm	_CR16_TYPE_JUMP,4,2             ; @CR16_TYPE_JUMP
l_.str.3:                               ; @.str.3
	.asciz	"b%s"

	.comm	_cr16_conds,8,3                 ; @cr16_conds
	.comm	_CR16_BCOND_2,4,2               ; @CR16_BCOND_2
	.comm	_CR16_TYPE_BCOND,4,2            ; @CR16_TYPE_BCOND
	.no_dead_strip	_cr16_decode_bcond_br
.subsections_via_symbols
