	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_best_codebook
_set_best_codebook:                     ## @set_best_codebook
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	32(%rdi), %rax
	movl	(%rax), %ecx
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpl	4(%rax), %ecx
	jbe	LBB0_1
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.27:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r14
	movq	40(%rdi), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_NUM_CODEBOOKS@GOTPCREL(%rip), %r13
                                        ## implicit-def: $eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r8                  ## 8-byte Reload
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	-136(%rbp), %rsp                ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpl	4(%rax), %ecx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	ja	LBB0_26
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_8 Depth 3
                                        ##     Child Loop BB0_24 Depth 2
	movq	%rsp, %r15
	movq	_restart_best_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%r13), %eax
	incl	%eax
	shlq	$4, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_clear_path_counter
	cmpl	$0, (%r14)
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=2
	movslq	%eax, %rdi
	shlq	$4, %rdi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	shlq	$4, %rsi
	addq	%rax, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	incq	%rdx
	movl	(%r14), %r15d
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	cmpq	%r15, %rdx
	movq	_ZERO_PATH@GOTPCREL(%rip), %rdi
	jae	LBB0_22
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_8 Depth 3
	movq	8(%r14), %rax
	movq	(%rax,%rdx,8), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rcx
	cmpl	$0, (%r13)
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rcx, %rsi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	xorl	%r15d, %r15d
	movq	%rdx, %rax
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rbx, %rdi
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	callq	_compare_best_offset
	testq	%rax, %rax
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=3
	movq	-64(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=3
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_best_codebook_path_cost
	movl	%eax, %r14d
	movl	%r15d, %ecx
	movl	%eax, %r12d
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %r14d
	jb	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=3
	movl	%eax, %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ecx
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=3
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	cmpl	-88(%rbp), %r14d                ## 4-byte Folded Reload
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=3
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %rdi
	movq	_path_counter_codebook@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %esi
	movl	$8, %edx
	callq	_av_strlcat
	movl	%r14d, 8(%rbx)
	movl	%r14d, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=3
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=3
	movslq	(%r13), %rbx
	movq	%rbx, %r13
	shlq	$4, %r13
	addq	-96(%rbp), %r13                 ## 8-byte Folded Reload
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	movl	%r15d, %ecx
	callq	_best_codebook_path_cost
	movl	%eax, %r14d
	cmpl	%r12d, %eax
	movl	-64(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	cmovbl	%r15d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmovbl	%r14d, %r12d
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	cmpl	-88(%rbp), %r14d                ## 4-byte Folded Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
	jge	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=3
	cmpq	%rbx, %r15
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=3
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	callq	_memcpy
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=3
	movq	(%r12), %rdi
	movq	_path_counter_codebook@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %esi
	movl	$8, %edx
	callq	_av_strlcat
	movl	%r14d, 8(%r12)
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=3
	incq	%r15
	movq	_NUM_CODEBOOKS@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	cmpq	%rax, %r15
	jae	LBB0_20
## %bb.28:                              ##   in Loop: Header=BB0_8 Depth=3
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	addq	$16, %r12
	movq	-168(%rbp), %rbx                ## 8-byte Reload
	addq	$16, %rbx
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	addq	$16, %rsi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=2
	xorl	%eax, %eax
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r13), %rcx
	shlq	$4, %rcx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rcx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r9
	movq	16(%rax), %rcx
	movl	(%rcx), %r10d
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %r11
	leaq	(%rbx,%rbx,2), %r14
	shlq	$3, %r14
	addq	24(%rax), %r14
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %esi
	leaq	(%rsi,%rsi,2), %rsi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movsbl	1(%rax,%rdx), %r8d
	subl	(%rdi), %r8d
	movq	(%r9,%rdx,8), %rdi
	movq	(%rdi,%rbx,8), %r12
	movq	%r8, %rdi
	shlq	$4, %rdi
	movl	8(%r12,%rdi), %eax
	movl	%eax, 16(%r14,%rsi,8)
	movq	(%r11,%rbx,8), %rax
	addq	(%r12,%rdi), %rax
	movq	_ZERO_PATH@GOTPCREL(%rip), %rdi
	movq	%rax, 8(%r14,%rsi,8)
	movl	%r8d, (%r14,%rsi,8)
	incq	%rdx
	addl	%r10d, %ecx
	cmpq	%rdx, %r15
	jne	LBB0_24
	jmp	LBB0_25
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_restart_best_offset,8,3        ## @restart_best_offset
	.comm	_NUM_CODEBOOKS,4,2              ## @NUM_CODEBOOKS
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_path_counter_codebook,8,3      ## @path_counter_codebook
	.comm	_ZERO_PATH,4,2                  ## @ZERO_PATH
	.no_dead_strip	_set_best_codebook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_best_codebook
_set_best_codebook:                     ; @set_best_codebook
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0, #32]
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
	ldp	w9, w8, [x8]
	stur	w9, [x29, #-96]                 ; 4-byte Folded Spill
	cmp	w9, w8
	b.ls	LBB0_3
LBB0_1:
	ldur	x8, [x29, #-88]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.2:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x26, x0
	ldr	x8, [x0, #40]
	stur	x8, [x29, #-160]                ; 8-byte Folded Spill
Lloh6:
	adrp	x21, _NUM_CODEBOOKS@GOTPAGE
Lloh7:
	ldr	x21, [x21, _NUM_CODEBOOKS@GOTPAGEOFF]
                                        ; implicit-def: $w22
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldur	x4, [x29, #-144]                ; 8-byte Folded Reload
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	sp, x4
	ldur	w9, [x29, #-96]                 ; 4-byte Folded Reload
	add	w9, w9, #1
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	ldr	w8, [x8, #4]
	stur	w9, [x29, #-96]                 ; 4-byte Folded Spill
	cmp	w9, w8
	b.hi	LBB0_1
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
                                        ;     Child Loop BB0_26 Depth 2
	mov	x8, sp
	stur	x8, [x29, #-144]                ; 8-byte Folded Spill
Lloh8:
	adrp	x8, _restart_best_offset@GOTPAGE
Lloh9:
	ldr	x8, [x8, _restart_best_offset@GOTPAGEOFF]
Lloh10:
	ldr	x27, [x8]
	ldr	w8, [x21]
	add	w8, w8, #1
	lsl	x8, x8, #4
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x0, x9, x8
	mov	sp, x0
	stur	x0, [x29, #-112]                ; 8-byte Folded Spill
	bl	_clear_path_counter
	ldr	w8, [x26]
	cbz	w8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, #0
	ldur	w8, [x29, #-96]                 ; 4-byte Folded Reload
	mov	w19, w8
	stur	x19, [x29, #-136]               ; 8-byte Folded Spill
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	ldur	x26, [x29, #-104]               ; 8-byte Folded Reload
	ldur	w22, [x29, #-92]                ; 4-byte Folded Reload
	ldp	x19, x24, [x29, #-136]          ; 16-byte Folded Reload
	ldur	x20, [x29, #-120]               ; 8-byte Folded Reload
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	ldur	x9, [x29, #-112]                ; 8-byte Folded Reload
	add	x0, x9, w8, sxtw #4
	add	x1, x9, w22, uxtw #4
	mov	w2, #16
	bl	_memcpy
	add	x20, x20, #1
	ldr	w8, [x26]
	mov	x27, x24
	cmp	x20, x8
	b.hs	LBB0_24
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	ldr	x8, [x26, #8]
	ldr	x8, [x8, x20, lsl #3]
	ldr	x24, [x8, x19, lsl #3]
	ldr	w8, [x21]
	cbz	w8, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	stur	x20, [x29, #-120]               ; 8-byte Folded Spill
	stur	w22, [x29, #-92]                ; 4-byte Folded Spill
	mov	x23, #0
Lloh13:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh15:
	ldr	x19, [x8]
	stur	x24, [x29, #-128]               ; 8-byte Folded Spill
	mov	x22, x24
	ldur	x25, [x29, #-112]               ; 8-byte Folded Reload
	mov	x20, x19
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x27
	mov	x1, x22
	bl	_compare_best_offset
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	mov	x24, x27
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=3
	mov	x0, x26
	ldur	w1, [x29, #-96]                 ; 4-byte Folded Reload
	mov	x2, x25
	mov	x3, x23
	bl	_best_codebook_path_cost
	cmp	w0, w20
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	csel	w8, w23, w8, lo
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
	csel	w20, w0, w20, lo
	cmp	w0, w19
	b.ge	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=3
	mov	x26, x0
	mov	x24, x27
	ldr	x0, [x25]
Lloh16:
	adrp	x8, _path_counter_codebook@GOTPAGE
Lloh17:
	ldr	x8, [x8, _path_counter_codebook@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	w1, [x8, x23, lsl #2]
	mov	w2, #8
	bl	_av_strlcat
	str	w26, [x25, #8]
	mov	x19, x26
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=3
	mov	x24, x27
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=3
	ldur	x26, [x29, #-104]               ; 8-byte Folded Reload
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=3
	mov	x28, x21
	ldrsw	x21, [x21]
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	add	x27, x8, x21, lsl #4
	mov	x0, x26
	ldur	w1, [x29, #-96]                 ; 4-byte Folded Reload
	mov	x2, x27
	mov	x3, x23
	bl	_best_codebook_path_cost
	cmp	w0, w20
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	csel	w8, w23, w8, lo
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
	csel	w20, w0, w20, lo
	cmp	w0, w19
	b.ge	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=3
	mov	x26, x0
	cmp	x23, x21
	b.eq	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=3
	mov	x0, x25
	mov	x1, x27
	mov	w2, #16
	bl	_memcpy
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=3
	ldr	x0, [x25]
Lloh19:
	adrp	x8, _path_counter_codebook@GOTPAGE
Lloh20:
	ldr	x8, [x8, _path_counter_codebook@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	w1, [x8, x23, lsl #2]
	mov	w2, #8
	bl	_av_strlcat
	str	w26, [x25, #8]
LBB0_22:                                ;   in Loop: Header=BB0_12 Depth=3
	add	x23, x23, #1
	mov	x21, x28
	ldr	w8, [x28]
	cmp	x23, x8
	b.hs	LBB0_8
; %bb.23:                               ;   in Loop: Header=BB0_12 Depth=3
Lloh22:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh23:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh24:
	ldr	x19, [x8]
	add	x25, x25, #16
	mov	x27, x24
	add	x27, x24, #16
	add	x22, x22, #16
	ldur	x26, [x29, #-104]               ; 8-byte Folded Reload
	b	LBB0_12
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w2, #24
Lloh25:
	adrp	x3, _ZERO_PATH@GOTPAGE
Lloh26:
	ldr	x3, [x3, _ZERO_PATH@GOTPAGEOFF]
	ldur	x4, [x29, #-144]                ; 8-byte Folded Reload
	cbz	w8, LBB0_5
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w9, #0
	ldrsw	x10, [x21]
	lsl	x10, x10, #4
	ldur	x11, [x29, #-112]               ; 8-byte Folded Reload
	ldr	x14, [x11, x10]
	ldp	x11, x13, [x26, #16]
	ldr	x10, [x26, #8]
	ldr	w11, [x11]
	ldur	x12, [x29, #-160]               ; 8-byte Folded Reload
	ldr	x12, [x12]
	madd	x13, x19, x2, x13
	add	x14, x14, #1
LBB0_26:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	umaddl	x15, w9, w2, x13
	ldrsb	w16, [x14], #1
	ldr	w17, [x3]
	ldr	x0, [x10], #8
	lsl	x1, x19, #3
	ldr	x0, [x0, x1]
	sub	w22, w16, w17
	add	x16, x0, w22, uxtw #4
	ldr	w17, [x16, #8]
	str	w17, [x15, #16]
	ldr	x17, [x12, x1]
	ldr	x16, [x16]
	add	x16, x17, x16
	str	x16, [x15, #8]
	str	w22, [x15]
	add	w9, w9, w11
	subs	x8, x8, #1
	b.ne	LBB0_26
	b	LBB0_5
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_restart_best_offset,8,3        ; @restart_best_offset
	.comm	_NUM_CODEBOOKS,4,2              ; @NUM_CODEBOOKS
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_path_counter_codebook,8,3      ; @path_counter_codebook
	.comm	_ZERO_PATH,4,2                  ; @ZERO_PATH
	.no_dead_strip	_set_best_codebook
.subsections_via_symbols
