	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arith2_get_consumed_bytes
_arith2_get_consumed_bytes:             ## @arith2_get_consumed_bytes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movswl	2(%rdi), %ebx
	movswl	6(%rdi), %eax
	subl	%eax, %ebx
	movl	8(%rdi), %edi
	callq	_bytestream2_tell
                                        ## kill: def $eax killed $eax def $rax
	movl	$1, %ecx
	testb	$-128, %bl
	jne	LBB0_3
## %bb.1:
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	leal	(%rbx,%rbx), %edx
	testb	$64, %bl
	movl	%edx, %ebx
	je	LBB0_2
LBB0_3:
	leal	(%rcx,%rax,8), %ecx
	addl	$-17, %ecx
	sarl	$3, %ecx
	movswl	6(%r14), %edx
	incl	%edx
	movswl	2(%r14), %esi
	xorl	%eax, %eax
	cmpl	%esi, %edx
	sete	%al
	addl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_arith2_get_consumed_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arith2_get_consumed_bytes
_arith2_get_consumed_bytes:             ; @arith2_get_consumed_bytes
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldrsh	w8, [x0, #2]
	ldrsh	w9, [x0, #6]
	sub	w20, w8, w9
	ldr	w0, [x0, #8]
	bl	_bytestream2_tell
	and	w8, w20, #0x7f
	clz	w8, w8
	sub	w8, w8, #23
	tst	w20, #0x80
	csinc	w8, w8, wzr, eq
	add	w8, w8, w0, lsl #3
	sub	w8, w8, #17
	asr	w8, w8, #3
	ldrsh	w9, [x19, #6]
	add	w9, w9, #1
	ldrsh	w10, [x19, #2]
	cmp	w9, w10
	cinc	w0, w8, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_arith2_get_consumed_bytes
.subsections_via_symbols
