	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcs96_len
_mcs96_len:                             ## @mcs96_len
	.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	%rdx, %r14
	movq	%rdi, %r13
	movslq	(%rdi), %rcx
	cmpq	$254, %rcx
	jne	LBB0_1
## %bb.4:
	xorl	%eax, %eax
	cmpl	$2, %esi
	jl	LBB0_34
## %bb.5:
	movq	_mcs96_op@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movslq	4(%r13), %r8
	movl	(%rdx,%r8,8), %r9d
	movq	_MCS96_FE@GOTPCREL(%rip), %rdi
	testl	%r9d, (%rdi)
	je	LBB0_2
## %bb.6:
	movq	_MCS96_5B_OR_6B@GOTPCREL(%rip), %rcx
	testl	%r9d, (%rcx)
	je	LBB0_7
## %bb.8:
	cmpl	$3, %esi
	jb	LBB0_34
## %bb.9:
	movl	8(%r13), %edx
	andl	$1, %edx
	orl	$6, %edx
	jmp	LBB0_10
LBB0_1:
	movq	_mcs96_op@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_2:
	movl	(%rdx,%rcx,8), %edi
	movq	_MCS96_5B_OR_6B@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_3
## %bb.20:
	xorl	%eax, %eax
	cmpl	$2, %esi
	jl	LBB0_34
## %bb.21:
	movl	4(%r13), %eax
	andl	$1, %eax
	addl	$5, %eax
	jmp	LBB0_22
LBB0_3:
	movl	$1, %eax
LBB0_22:
	movq	_MCS96_4B_OR_5B@GOTPCREL(%rip), %rbx
	testl	%edi, (%rbx)
	je	LBB0_25
## %bb.23:
	xorl	%eax, %eax
	cmpl	$2, %esi
	jl	LBB0_34
## %bb.24:
	movl	4(%r13), %eax
	andl	$1, %eax
	orl	$4, %eax
LBB0_25:
	movq	_MCS96_3B_OR_4B@GOTPCREL(%rip), %rbx
	testl	%edi, (%rbx)
	je	LBB0_28
## %bb.26:
	xorl	%eax, %eax
	cmpl	$2, %esi
	jl	LBB0_34
## %bb.27:
	movl	4(%r13), %eax
	andl	$1, %eax
	addl	$3, %eax
LBB0_28:
	movq	_MCS96_5B@GOTPCREL(%rip), %rbx
	testl	%edi, (%rbx)
	movl	$5, %ebx
	cmovel	%eax, %ebx
	movq	_MCS96_4B@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	movl	$4, %eax
	cmovel	%ebx, %eax
	movq	_MCS96_3B@GOTPCREL(%rip), %rbx
	testl	%edi, (%rbx)
	movl	$3, %ebx
	cmovel	%eax, %ebx
	movq	_MCS96_2B@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	movl	$2, %r15d
	cmovel	%ebx, %r15d
	xorl	%eax, %eax
	cmpl	%esi, %r15d
	jg	LBB0_34
## %bb.29:
	movl	4(%rdx,%rcx,8), %esi
	movq	%r14, %rdi
	callq	_r_strbuf_set
	movq	_mcs96_op@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%r13), %rcx
	movl	(%rax,%rcx,8), %eax
	movq	_MCS96_2OP@GOTPCREL(%rip), %rcx
	movq	_MCS96_REG_8@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%eax
	testl	%eax, %edx
	jne	LBB0_33
## %bb.30:
	movl	4(%r13), %edx
	cmpl	$26, %edx
	jl	LBB0_33
## %bb.31:
	movl	8(%r13), %ecx
	movl	%r15d, %eax
	cmpl	$26, %ecx
	jl	LBB0_34
LBB0_32:
	addl	$-26, %edx
	addl	$-26, %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_r_strbuf_appendf
	jmp	LBB0_33
LBB0_7:
	movl	$1, %edx
LBB0_10:
	movq	_MCS96_4B_OR_5B@GOTPCREL(%rip), %rcx
	testl	%r9d, (%rcx)
	je	LBB0_13
## %bb.11:
	cmpl	$3, %esi
	jb	LBB0_34
## %bb.12:
	movl	8(%r13), %edx
	andl	$1, %edx
	addl	$5, %edx
LBB0_13:
	movl	%r8d, %ecx
	movq	_MCS96_3B_OR_4B@GOTPCREL(%rip), %rdi
	testl	%r9d, (%rdi)
	je	LBB0_16
## %bb.14:
	cmpl	$3, %esi
	jb	LBB0_34
## %bb.15:
	movl	%ecx, %edx
	andl	$1, %edx
	orl	$4, %edx
LBB0_16:
	movq	_MCS96_5B@GOTPCREL(%rip), %rdi
	testl	%r9d, (%rdi)
	movl	$6, %edi
	cmovel	%edx, %edi
	movq	_MCS96_4B@GOTPCREL(%rip), %rdx
	testl	%r9d, (%rdx)
	movl	$5, %edx
	cmovel	%edi, %edx
	movq	_MCS96_3B@GOTPCREL(%rip), %rdi
	testl	%r9d, (%rdi)
	movl	$4, %edi
	cmovel	%edx, %edi
	movq	_MCS96_2B@GOTPCREL(%rip), %rdx
	testl	%r9d, (%rdx)
	movl	$3, %r15d
	cmovel	%edi, %r15d
	cmpl	%esi, %r15d
	jg	LBB0_34
## %bb.17:
	shrl	$4, %ecx
	andl	$7, %ecx
	xorq	$4, %rcx
	movq	_mcs96_fe_op@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %esi
	movq	%r14, %rdi
	callq	_r_strbuf_set
	movq	(%r12), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,8), %eax
	movq	_MCS96_2OP@GOTPCREL(%rip), %rcx
	movq	_MCS96_REG_8@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%eax
	testl	%eax, %edx
	jne	LBB0_33
## %bb.18:
	movl	8(%r13), %edx
	cmpl	$26, %edx
	jl	LBB0_33
## %bb.19:
	movl	12(%r13), %ecx
	movl	%r15d, %eax
	cmpl	$25, %ecx
	jg	LBB0_32
	jmp	LBB0_34
LBB0_33:
	movl	%r15d, %eax
LBB0_34:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mcs96_op,8,3                   ## @mcs96_op
	.comm	_MCS96_FE,4,2                   ## @MCS96_FE
	.comm	_MCS96_5B_OR_6B,4,2             ## @MCS96_5B_OR_6B
	.comm	_MCS96_4B_OR_5B,4,2             ## @MCS96_4B_OR_5B
	.comm	_MCS96_3B_OR_4B,4,2             ## @MCS96_3B_OR_4B
	.comm	_MCS96_5B,4,2                   ## @MCS96_5B
	.comm	_MCS96_4B,4,2                   ## @MCS96_4B
	.comm	_MCS96_3B,4,2                   ## @MCS96_3B
	.comm	_MCS96_2B,4,2                   ## @MCS96_2B
	.comm	_mcs96_fe_op,8,3                ## @mcs96_fe_op
	.comm	_MCS96_2OP,4,2                  ## @MCS96_2OP
	.comm	_MCS96_REG_8,4,2                ## @MCS96_REG_8
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" rb%02x, rb%02x"

	.no_dead_strip	_mcs96_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcs96_len
_mcs96_len:                             ; @mcs96_len
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x0
	ldrsw	x8, [x0]
	cmp	w8, #254
	b.ne	LBB0_6
; %bb.1:
	cmp	w1, #2
	b.lt	LBB0_30
; %bb.2:
Lloh0:
	adrp	x22, _mcs96_op@GOTPAGE
Lloh1:
	ldr	x22, [x22, _mcs96_op@GOTPAGEOFF]
	ldr	x9, [x22]
	ldrsw	x11, [x20, #4]
	lsl	x10, x11, #3
	ldr	w10, [x9, x10]
Lloh2:
	adrp	x12, _MCS96_FE@GOTPAGE
Lloh3:
	ldr	x12, [x12, _MCS96_FE@GOTPAGEOFF]
Lloh4:
	ldr	w12, [x12]
	tst	w12, w10
	b.eq	LBB0_7
; %bb.3:
Lloh5:
	adrp	x8, _MCS96_5B_OR_6B@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MCS96_5B_OR_6B@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w10
	b.eq	LBB0_22
; %bb.4:
	cmp	w1, #3
	b.lo	LBB0_30
; %bb.5:
	ldr	w8, [x20, #8]
	mov	w9, #6
	bfxil	w9, w8, #0, #1
	b	LBB0_23
LBB0_6:
Lloh8:
	adrp	x9, _mcs96_op@GOTPAGE
Lloh9:
	ldr	x9, [x9, _mcs96_op@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
LBB0_7:
	lsl	x10, x8, #3
	ldr	w10, [x9, x10]
Lloh11:
	adrp	x11, _MCS96_5B_OR_6B@GOTPAGE
Lloh12:
	ldr	x11, [x11, _MCS96_5B_OR_6B@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_10
; %bb.8:
	cmp	w1, #2
	b.lt	LBB0_30
; %bb.9:
	ldr	w11, [x20, #4]
	and	w11, w11, #0x1
	add	w11, w11, #5
	b	LBB0_11
LBB0_10:
	mov	w11, #1
LBB0_11:
Lloh14:
	adrp	x12, _MCS96_4B_OR_5B@GOTPAGE
Lloh15:
	ldr	x12, [x12, _MCS96_4B_OR_5B@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	tst	w12, w10
	b.eq	LBB0_14
; %bb.12:
	cmp	w1, #2
	b.lt	LBB0_30
; %bb.13:
	ldr	w12, [x20, #4]
	mov	w11, #4
	bfxil	w11, w12, #0, #1
LBB0_14:
Lloh17:
	adrp	x12, _MCS96_3B_OR_4B@GOTPAGE
Lloh18:
	ldr	x12, [x12, _MCS96_3B_OR_4B@GOTPAGEOFF]
Lloh19:
	ldr	w12, [x12]
	tst	w12, w10
	b.eq	LBB0_17
; %bb.15:
	cmp	w1, #2
	b.lt	LBB0_30
; %bb.16:
	ldr	w11, [x20, #4]
	and	w11, w11, #0x1
	add	w11, w11, #3
LBB0_17:
Lloh20:
	adrp	x12, _MCS96_5B@GOTPAGE
Lloh21:
	ldr	x12, [x12, _MCS96_5B@GOTPAGEOFF]
Lloh22:
	ldr	w12, [x12]
	tst	w12, w10
	mov	w12, #5
Lloh23:
	adrp	x13, _MCS96_4B@GOTPAGE
Lloh24:
	ldr	x13, [x13, _MCS96_4B@GOTPAGEOFF]
	csel	w11, w11, w12, eq
Lloh25:
	ldr	w12, [x13]
	tst	w12, w10
	mov	w12, #4
Lloh26:
	adrp	x13, _MCS96_3B@GOTPAGE
Lloh27:
	ldr	x13, [x13, _MCS96_3B@GOTPAGEOFF]
	csel	w11, w11, w12, eq
Lloh28:
	ldr	w12, [x13]
	tst	w12, w10
	mov	w12, #3
Lloh29:
	adrp	x13, _MCS96_2B@GOTPAGE
Lloh30:
	ldr	x13, [x13, _MCS96_2B@GOTPAGEOFF]
	csel	w11, w11, w12, eq
Lloh31:
	ldr	w12, [x13]
	tst	w12, w10
	mov	w10, #2
	csel	w21, w11, w10, eq
	cmp	w21, w1
	b.gt	LBB0_30
; %bb.18:
	add	x8, x9, x8, lsl #3
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_r_strbuf_set
Lloh32:
	adrp	x8, _mcs96_op@GOTPAGE
Lloh33:
	ldr	x8, [x8, _mcs96_op@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	ldrsw	x9, [x20]
	lsl	x9, x9, #3
	ldr	w8, [x8, x9]
Lloh35:
	adrp	x9, _MCS96_2OP@GOTPAGE
Lloh36:
	ldr	x9, [x9, _MCS96_2OP@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
Lloh38:
	adrp	x10, _MCS96_REG_8@GOTPAGE
Lloh39:
	ldr	x10, [x10, _MCS96_REG_8@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bics	wzr, w9, w8
	b.ne	LBB0_31
; %bb.19:
	ldr	w8, [x20, #4]
	cmp	w8, #26
	b.lt	LBB0_31
; %bb.20:
	ldr	w9, [x20, #8]
	cmp	w9, #26
	b.lt	LBB0_31
LBB0_21:
	sub	w2, w8, #26
	sub	w3, w9, #26
Lloh41:
	adrp	x1, l_.str@PAGE
Lloh42:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_r_strbuf_appendf
	b	LBB0_31
LBB0_22:
	mov	w9, #1
LBB0_23:
Lloh43:
	adrp	x8, _MCS96_4B_OR_5B@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MCS96_4B_OR_5B@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	tst	w8, w10
	b.eq	LBB0_26
; %bb.24:
	cmp	w1, #3
	b.lo	LBB0_30
; %bb.25:
	ldr	w8, [x20, #8]
	and	w8, w8, #0x1
	add	w9, w8, #5
LBB0_26:
	and	x8, x11, #0xffffffff
Lloh46:
	adrp	x11, _MCS96_3B_OR_4B@GOTPAGE
Lloh47:
	ldr	x11, [x11, _MCS96_3B_OR_4B@GOTPAGEOFF]
Lloh48:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_29
; %bb.27:
	cmp	w1, #3
	b.lo	LBB0_30
; %bb.28:
	mov	w9, #4
	bfxil	w9, w8, #0, #1
LBB0_29:
Lloh49:
	adrp	x11, _MCS96_5B@GOTPAGE
Lloh50:
	ldr	x11, [x11, _MCS96_5B@GOTPAGEOFF]
Lloh51:
	ldr	w11, [x11]
	tst	w11, w10
	mov	w11, #6
Lloh52:
	adrp	x12, _MCS96_4B@GOTPAGE
Lloh53:
	ldr	x12, [x12, _MCS96_4B@GOTPAGEOFF]
	csel	w9, w9, w11, eq
Lloh54:
	ldr	w11, [x12]
	tst	w11, w10
	mov	w11, #5
Lloh55:
	adrp	x12, _MCS96_3B@GOTPAGE
Lloh56:
	ldr	x12, [x12, _MCS96_3B@GOTPAGEOFF]
	csel	w9, w9, w11, eq
Lloh57:
	ldr	w11, [x12]
	tst	w11, w10
	mov	w11, #4
Lloh58:
	adrp	x12, _MCS96_2B@GOTPAGE
Lloh59:
	ldr	x12, [x12, _MCS96_2B@GOTPAGEOFF]
	csel	w9, w9, w11, eq
Lloh60:
	ldr	w11, [x12]
	tst	w11, w10
	mov	w10, #3
	csel	w21, w9, w10, eq
	cmp	w21, w1
	b.le	LBB0_32
LBB0_30:
	mov	w21, #0
LBB0_31:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_32:
	ubfx	x8, x8, #4, #3
	eor	x8, x8, #0x4
Lloh61:
	adrp	x9, _mcs96_fe_op@GOTPAGE
Lloh62:
	ldr	x9, [x9, _mcs96_fe_op@GOTPAGEOFF]
Lloh63:
	ldr	x9, [x9]
	ldr	w1, [x9, x8, lsl #2]
	mov	x0, x19
	bl	_r_strbuf_set
	ldr	x8, [x22]
	ldrsw	x9, [x20, #4]
	lsl	x9, x9, #3
	ldr	w8, [x8, x9]
Lloh64:
	adrp	x9, _MCS96_2OP@GOTPAGE
Lloh65:
	ldr	x9, [x9, _MCS96_2OP@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
Lloh67:
	adrp	x10, _MCS96_REG_8@GOTPAGE
Lloh68:
	ldr	x10, [x10, _MCS96_REG_8@GOTPAGEOFF]
Lloh69:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bics	wzr, w9, w8
	b.ne	LBB0_31
; %bb.33:
	ldr	w8, [x20, #8]
	cmp	w8, #26
	b.lt	LBB0_31
; %bb.34:
	ldr	w9, [x20, #12]
	cmp	w9, #25
	b.gt	LBB0_21
	b	LBB0_31
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_mcs96_op,8,3                   ; @mcs96_op
	.comm	_MCS96_FE,4,2                   ; @MCS96_FE
	.comm	_MCS96_5B_OR_6B,4,2             ; @MCS96_5B_OR_6B
	.comm	_MCS96_4B_OR_5B,4,2             ; @MCS96_4B_OR_5B
	.comm	_MCS96_3B_OR_4B,4,2             ; @MCS96_3B_OR_4B
	.comm	_MCS96_5B,4,2                   ; @MCS96_5B
	.comm	_MCS96_4B,4,2                   ; @MCS96_4B
	.comm	_MCS96_3B,4,2                   ; @MCS96_3B
	.comm	_MCS96_2B,4,2                   ; @MCS96_2B
	.comm	_mcs96_fe_op,8,3                ; @mcs96_fe_op
	.comm	_MCS96_2OP,4,2                  ; @MCS96_2OP
	.comm	_MCS96_REG_8,4,2                ; @MCS96_REG_8
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" rb%02x, rb%02x"

	.no_dead_strip	_mcs96_len
.subsections_via_symbols
