	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_best_tables
_find_best_tables:                      ## @find_best_tables
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MAX_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MAX_RUN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_rl_length@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%rcx, %rax
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leal	1(%rcx), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r10d, %r10d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movl	%edx, %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %r13d
	movl	%r14d, %r8d
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, %r8d
	cmovll	%r8d, %edx
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	cmovll	%r10d, %ebx
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %r13d
	cmovll	%r13d, %eax
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	cmovll	%r10d, %r15d
	incq	%r10
	cmpq	$3, %r10
	je	LBB0_14
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	testq	%r10, %r10
	setne	%r14b
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	js	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	movl	%r14d, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	%ebx, %r13d
	movl	%r14d, %r8d
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%rcx
	movl	%r8d, %r14d
	movl	%r13d, %ebx
	cmpq	-88(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_13
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %rax
	movq	(%rax), %rsi
	movq	8(%rax), %rax
	movq	(%rsi,%rcx,8), %rdx
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	(%rax,%r11,8), %rsi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	(%rax,%r11,8), %rax
	movl	(%rsi), %r15d
	movl	(%rax), %r8d
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	cmpq	-104(%rbp), %rdx                ## 8-byte Folded Reload
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=3
	movq	(%r12,%r10,8), %rdx
	movq	24(%r12,%r10,8), %rdi
	movq	(%rdx,%rcx,8), %rdx
	movq	(%rdx,%r11,8), %rdx
	imull	(%rdx), %r15d
	movq	(%rdi,%rcx,8), %rdi
	movq	(%rdi,%r11,8), %rdi
	imull	(%rdi), %r8d
	addl	%ebx, %r8d
	movl	4(%rdx), %r9d
	imull	4(%rsi), %r9d
	movl	4(%rdi), %r13d
	imull	4(%rax), %r13d
	addl	%r8d, %r13d
	movl	%r15d, %r8d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=3
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdi
	movq	(%r12,%r10,8), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	(%rdx,%r11,8), %rdx
	imull	(%rdx), %r15d
	movl	4(%rdx), %edx
	imull	4(%rsi), %edx
	movq	(%rdi), %rsi
	movq	(%rsi,%rcx,8), %rsi
	movq	(%rsi,%r11,8), %rsi
	addl	(%rsi), %r8d
	movl	4(%rsi), %r9d
	addl	4(%rax), %r9d
	movq	8(%rdi), %rax
	movq	(%rax,%rcx,8), %rax
	movq	(%rax,%r11,8), %rax
	addl	(%rax), %r8d
	addl	4(%rax), %r9d
	movq	24(%r12,%r10,8), %rax
	movq	(%rax,%rcx,8), %rax
	movq	(%rax,%r11,8), %rax
	imull	(%rax), %r8d
	addl	%r15d, %r8d
	imull	4(%rax), %r9d
	addl	%edx, %r9d
	movl	%ebx, %r13d
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=3
	addl	%r14d, %r8d
	addl	%r9d, %r8d
	addl	%r14d, %ebx
	leal	(%r8,%r13), %eax
	cmpl	%eax, %ebx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=3
	leaq	1(%r11), %rax
	movl	%r8d, %r14d
	movl	%r13d, %ebx
	cmpq	-48(%rbp), %r11                 ## 8-byte Folded Reload
	movq	%rax, %r11
	jl	LBB0_7
	jmp	LBB0_12
LBB0_14:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	8(%r14), %rax
	movq	_AV_PICTURE_TYPE_P@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	cmovel	%ebx, %r15d
	movq	(%r14), %rdi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	4(,%rax,4), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leal	8(,%rcx,8), %edx
	imull	%eax, %edx
	xorl	%esi, %esi
	callq	_memset
	movl	%ebx, 16(%r14)
	movl	%r15d, 20(%r14)
	movq	8(%r14), %rax
	cmpq	24(%r14), %rax
	je	LBB0_16
## %bb.15:
	movl	$2, 16(%r14)
	xorl	%ecx, %ecx
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%cl
	movl	$2, %eax
	subl	%ecx, %eax
	movl	%eax, 20(%r14)
LBB0_16:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_MAX_LEVEL,4,2                  ## @MAX_LEVEL
	.comm	_MAX_RUN,4,2                    ## @MAX_RUN
	.comm	_AV_PICTURE_TYPE_I,8,3          ## @AV_PICTURE_TYPE_I
	.comm	_rl_length,8,3                  ## @rl_length
	.comm	_AV_PICTURE_TYPE_P,8,3          ## @AV_PICTURE_TYPE_P
	.no_dead_strip	_find_best_tables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_best_tables
_find_best_tables:                      ; @find_best_tables
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	mov	x11, #0
	mov	w21, #0
	mov	w8, #0
Lloh0:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x9]
Lloh3:
	adrp	x9, _MAX_LEVEL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_LEVEL@GOTPAGEOFF]
Lloh5:
	ldr	w15, [x9]
Lloh6:
	adrp	x10, _MAX_RUN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MAX_RUN@GOTPAGEOFF]
Lloh8:
	ldrsw	x10, [x10]
Lloh9:
	adrp	x9, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh11:
	ldr	x13, [x9]
Lloh12:
	adrp	x14, _rl_length@GOTPAGE
Lloh13:
	ldr	x14, [x14, _rl_length@GOTPAGEOFF]
Lloh14:
	ldr	x14, [x14]
	str	w15, [sp, #8]                   ; 4-byte Folded Spill
	add	w15, w15, #1
	mov	x16, x12
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x1
	mov	x24, x1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, w12
	csel	w12, w24, w12, lt
	ldr	w21, [sp, #12]                  ; 4-byte Folded Reload
	csel	w21, w11, w21, lt
	cmp	w23, w16
	csel	w16, w23, w16, lt
	csel	w8, w11, w8, lt
	add	x11, x11, #1
	cmp	x11, #3
	b.eq	LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
	cmp	x11, #0
	cset	w1, ne
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	str	w21, [sp, #12]                  ; 4-byte Folded Spill
	tbnz	w9, #31, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x17, #0
	add	x0, x11, #3
	mov	x2, x1
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x23, x2
	mov	x24, x1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x17, x17, #1
	mov	x1, x24
	mov	x2, x23
	cmp	x17, x15
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
	tbnz	w10, #31, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x4, #0
	ldp	x3, x5, [x19]
	ldr	x7, [x3, #8]
	lsl	x6, x17, #3
	ldp	x22, x23, [x7]
	ldr	x7, [x22, x6]
	ldr	x22, [x23, x6]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=3
	ldr	x9, [x14, x11, lsl #3]
	ldr	x9, [x9, x6]
	ldr	x9, [x9, x25]
	ldr	x20, [x14, x0, lsl #3]
	ldp	w21, w9, [x9]
	mul	w27, w21, w27
	ldr	x20, [x20, x6]
	ldr	x20, [x20, x25]
	ldp	w21, w20, [x20]
	madd	w21, w21, w26, w2
	ldr	w23, [x23, #4]
	ldr	w25, [x24, #4]
	mul	w24, w9, w23
	madd	w23, w20, w25, w21
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=3
	add	w9, w27, w1
	add	w24, w24, w9
	add	w9, w1, w2
	add	w1, w24, w23
	cmp	w9, w1
	ccmp	x4, x10, #0, ne
	add	x4, x4, #1
	mov	x1, x24
	mov	x2, x23
	b.ge	LBB0_6
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	lsl	x25, x4, #3
	ldr	x23, [x7, x25]
	ldr	x24, [x22, x25]
	ldr	w27, [x23]
	ldr	w26, [x24]
	cmp	x5, x13
	b.eq	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=3
	ldr	x28, [x3]
	ldp	x30, x28, [x28]
	ldr	x30, [x30, x6]
	ldr	x30, [x30, x25]
	ldr	x28, [x28, x6]
	ldr	x28, [x28, x25]
	ldr	x20, [x14, x11, lsl #3]
	ldr	x20, [x20, x6]
	ldr	x20, [x20, x25]
	ldp	w9, w20, [x20]
	mul	w9, w9, w27
	ldr	x27, [x14, x0, lsl #3]
	ldr	x27, [x27, x6]
	ldr	x25, [x27, x25]
	ldp	w27, w30, [x30]
	ldp	w21, w28, [x28]
	add	w26, w27, w26
	add	w21, w26, w21
	ldp	w26, w25, [x25]
	madd	w27, w26, w21, w9
	ldr	w9, [x23, #4]
	ldr	w21, [x24, #4]
	mul	w9, w20, w9
	add	w20, w30, w21
	add	w20, w20, w28
	madd	w24, w25, w20, w9
	mov	x23, x2
	b	LBB0_10
LBB0_13:
Lloh15:
	adrp	x9, _AV_PICTURE_TYPE_P@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AV_PICTURE_TYPE_P@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldp	x0, x11, [x19]
	cmp	x11, x9
	csel	w20, w21, w8, eq
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	lsl	w8, w8, #2
	add	w8, w8, #4
	lsl	w9, w10, #3
	add	w9, w9, #8
	mul	w2, w9, w8
	mov	w1, #0
	bl	_memset
	stp	w21, w20, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.14:
	mov	w9, #2
Lloh18:
	adrp	x10, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh19:
	ldr	x10, [x10, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x8, x10
	mov	w8, #1
	cinc	w8, w8, ne
	stp	w9, w8, [x19, #16]
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_MAX_LEVEL,4,2                  ; @MAX_LEVEL
	.comm	_MAX_RUN,4,2                    ; @MAX_RUN
	.comm	_AV_PICTURE_TYPE_I,8,3          ; @AV_PICTURE_TYPE_I
	.comm	_rl_length,8,3                  ; @rl_length
	.comm	_AV_PICTURE_TYPE_P,8,3          ; @AV_PICTURE_TYPE_P
	.no_dead_strip	_find_best_tables
.subsections_via_symbols
