	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DecideOverLiteralContextModeling
_DecideOverLiteralContextModeling:      ## @DecideOverLiteralContextModeling
	.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	$56, %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)
	cmpq	$64, %rdx
	jb	LBB0_10
## %bb.1:
	movq	_MIN_QUALITY_FOR_CONTEXT_MODELING@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	jg	LBB0_10
## %bb.2:
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	pushq	24(%rbp)
	pushq	16(%rbp)
	movl	%r8d, %ebx
	callq	_ShouldUseComplexStaticContextMap
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.3:
	movl	%ebx, %edi
	addq	%r14, %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movl	$0, -64(%rbp)
	leaq	64(%r14), %r8
	cmpq	%r15, %r8
	movq	24(%rbp), %rcx
	movq	16(%rbp), %rdx
	jbe	LBB0_4
LBB0_9:
	leaq	-96(%rbp), %rsi
	callq	_ChooseContextMap
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	_DecideOverLiteralContextModeling.lut(%rip), %r9
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$4096, %r14                     ## imm = 0x1000
	addq	$4096, %r8                      ## imm = 0x1000
	cmpq	%r15, %r8
	ja	LBB0_9
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	leaq	1(%r14), %rax
	cmpq	%r8, %rax
	jae	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rax
	andq	%r12, %rax
	movl	(%r13,%rax,4), %eax
	sarl	$6, %eax
	cltq
	movl	(%r9,%rax,4), %r10d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%r14,%rbx), %rsi
	leal	(%r10,%r10,2), %eax
	andq	%r12, %rsi
	movl	(%r13,%rsi,4), %esi
	sarl	$6, %esi
	movslq	%esi, %rsi
	movl	(%r9,%rsi,4), %r10d
	addl	%r10d, %eax
	cltq
	incl	-96(%rbp,%rax,4)
	incq	%rbx
	cmpq	$64, %rbx
	jne	LBB0_7
	jmp	LBB0_8
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MIN_QUALITY_FOR_CONTEXT_MODELING,4,2 ## @MIN_QUALITY_FOR_CONTEXT_MODELING
	.section	__TEXT,__const
	.p2align	4                               ## @DecideOverLiteralContextModeling.lut
_DecideOverLiteralContextModeling.lut:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2

	.no_dead_strip	_DecideOverLiteralContextModeling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DecideOverLiteralContextModeling
_DecideOverLiteralContextModeling:      ; @DecideOverLiteralContextModeling
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	cmp	x2, #64
	b.lo	LBB0_5
; %bb.1:
	mov	x21, x4
Lloh3:
	adrp	x8, _MIN_QUALITY_FOR_CONTEXT_MODELING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIN_QUALITY_FOR_CONTEXT_MODELING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w4
	b.gt	LBB0_5
; %bb.2:
	mov	x19, x7
	mov	x20, x6
	mov	x22, x3
	mov	x25, x2
	mov	x23, x1
	mov	x24, x0
	mov	x4, x21
	bl	_ShouldUseComplexStaticContextMap
	cbnz	x0, LBB0_5
; %bb.3:
	str	wzr, [sp, #32]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	add	x8, x23, #64
	add	x9, x25, x23
	cmp	x8, x9
	b.ls	LBB0_7
LBB0_4:
	mov	x1, sp
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	_ChooseContextMap
LBB0_5:
	ldr	x8, [sp, #40]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
Lloh9:
	adrp	x10, _DecideOverLiteralContextModeling.lut@PAGE
Lloh10:
	add	x10, x10, _DecideOverLiteralContextModeling.lut@PAGEOFF
	mov	x11, sp
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #1, lsl #12           ; =4096
	add	x8, x8, #1, lsl #12             ; =4096
	cmp	x8, x9
	b.hi	LBB0_4
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	add	x12, x23, #1
	cmp	x12, x8
	b.hs	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	and	x12, x23, x22
	ldr	w12, [x24, x12, lsl #2]
	asr	w12, w12, #6
	ldr	w13, [x10, w12, sxtw #2]
	mov	w12, #1
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w14, w13, w13, lsl #1
	add	x13, x23, x12
	and	x13, x13, x22
	ldr	w13, [x24, x13, lsl #2]
	asr	w13, w13, #6
	ldr	w13, [x10, w13, sxtw #2]
	add	w14, w13, w14
	sbfiz	x14, x14, #2, #32
	ldr	w15, [x11, x14]
	add	w15, w15, #1
	str	w15, [x11, x14]
	add	x12, x12, #1
	cmp	x12, #64
	b.ne	LBB0_11
	b	LBB0_8
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MIN_QUALITY_FOR_CONTEXT_MODELING,4,2 ; @MIN_QUALITY_FOR_CONTEXT_MODELING
	.section	__TEXT,__const
	.p2align	2                               ; @DecideOverLiteralContextModeling.lut
_DecideOverLiteralContextModeling.lut:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2

	.no_dead_strip	_DecideOverLiteralContextModeling
.subsections_via_symbols
