	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_block_rate
_get_block_rate:                        ## @get_block_rate
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movq	%rcx, %r14
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %rcx
	movl	%edx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	incl	%r13d
	xorl	%edi, %edi
	movl	$1, %r12d
	xorl	%ebx, %ebx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %edi
	movq	%rcx, %rax
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	(%rax), %ebx
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	cmpq	%r12, %r13
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r14,%r12,4), %rax
	movl	(%r15,%rax,4), %esi
	testl	%esi, %esi
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$64, %esi
	cmpl	$128, %esi
	jae	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rcx), %rax
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rcx), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	notl	%edi
	addl	%r12d, %edi
	callq	_UNI_AC_ENC_INDEX
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,8), %rax
	movl	%r12d, %edi
	jmp	LBB0_10
LBB0_1:
	xorl	%ebx, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_block_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_block_rate
_get_block_rate:                        ; @get_block_rate
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w2, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x3
	mov	x20, x1
	mov	x22, x0
	mov	w8, #0
	mov	w21, #0
	add	w23, w2, #1
	mov	w24, #1
	mov	w25, w2
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x24
	mov	x9, x22
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x9]
	add	w21, w21, w9
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	cmp	x23, x24
	b.eq	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x9, [x19, x24, lsl #2]
	ldr	w9, [x20, x9, lsl #2]
	cbz	w9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w1, w9, #64
	cmp	w1, #128
	b.hs	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x24, x25
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x26, [x22, #16]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x26, [x22, #8]
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mvn	w8, w8
	add	w0, w8, w24
	bl	_UNI_AC_ENC_INDEX
	add	x9, x26, x0, lsl #3
	mov	x8, x24
	b	LBB0_3
LBB0_11:
	mov	w21, #0
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_block_rate
.subsections_via_symbols
