	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lag_decode_prob
_lag_decode_prob:                       ## @lag_decode_prob
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	callq	_get_bits1
	movl	%eax, %r13d
	xorl	%ebx, %ebx
	testl	%eax, %eax
	setne	%bl
	movq	%r15, %rdi
	callq	_get_bits1
	movl	%eax, %r12d
	leal	2(%rbx), %r14d
	testl	%eax, %eax
	cmovel	%ebx, %r14d
	testl	%r13d, %r13d
	cmovnel	%ebx, %r14d
	je	LBB0_3
## %bb.1:
	testl	%r12d, %r12d
	jne	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	callq	_get_bits1
	movl	%eax, %r13d
	leal	3(%r14), %eax
	testl	%r13d, %r13d
	cmovel	%r14d, %eax
	testl	%r12d, %r12d
	cmovel	%eax, %r14d
	je	LBB0_6
## %bb.4:
	testl	%r13d, %r13d
	jne	LBB0_2
LBB0_6:
	movq	%r15, %rdi
	callq	_get_bits1
	movl	%eax, %r12d
	leal	5(%r14), %eax
	testl	%r12d, %r12d
	cmovel	%r14d, %eax
	testl	%r13d, %r13d
	cmovel	%eax, %r14d
	je	LBB0_9
## %bb.7:
	testl	%r12d, %r12d
	jne	LBB0_2
LBB0_9:
	movq	%r15, %rdi
	callq	_get_bits1
	movl	%eax, %r13d
	leal	8(%r14), %eax
	testl	%r13d, %r13d
	cmovel	%r14d, %eax
	testl	%r12d, %r12d
	cmovel	%eax, %r14d
	je	LBB0_12
## %bb.10:
	testl	%r13d, %r13d
	je	LBB0_12
LBB0_2:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_15:
	leal	-33(%r14), %eax
	cmpl	$-32, %eax
	jae	LBB0_17
## %bb.16:
	movl	$-1, %r12d
	jmp	LBB0_19
LBB0_17:
	xorl	%r12d, %r12d
	decl	%r14d
	je	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_get_bits_long
	btsl	%r14d, %eax
	decl	%eax
	jmp	LBB0_20
LBB0_19:
	xorl	%eax, %eax
LBB0_20:
	movl	%eax, (%rbx)
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r15, %rdi
	callq	_get_bits1
	movl	%eax, %r12d
	leal	13(%r14), %eax
	testl	%r12d, %r12d
	cmovel	%r14d, %eax
	testl	%r13d, %r13d
	cmovel	%eax, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_14
## %bb.13:
	testl	%r12d, %r12d
	jne	LBB0_15
LBB0_14:
	movq	%r15, %rdi
	callq	_get_bits1
	leal	21(%r14), %ecx
	testl	%eax, %eax
	cmovel	%r14d, %ecx
	testl	%r12d, %r12d
	cmovnel	%r14d, %ecx
	movl	%ecx, %r14d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lag_decode_prob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lag_decode_prob
_lag_decode_prob:                       ; @lag_decode_prob
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_get_bits1
	mov	x22, x0
	cmp	w0, #0
	cset	w23, ne
	mov	x0, x20
	bl	_get_bits1
	mov	x21, x0
	cmp	w0, #0
	cset	w8, eq
	orr	w8, w23, w8
	orr	w9, w23, #0x2
	cmp	w8, #0
	csel	w23, w23, w9, ne
	cbz	w22, LBB0_2
; %bb.1:
	cbnz	w21, LBB0_11
LBB0_2:
	mov	x0, x20
	bl	_get_bits1
	mov	x22, x0
	cmp	w0, #0
	ccmp	w21, #0, #0, ne
	add	w8, w23, #3
	csel	w23, w23, w8, ne
	cbz	w21, LBB0_4
; %bb.3:
	cbnz	w22, LBB0_11
LBB0_4:
	mov	x0, x20
	bl	_get_bits1
	mov	x21, x0
	cmp	w0, #0
	ccmp	w22, #0, #0, ne
	add	w8, w23, #5
	csel	w23, w23, w8, ne
	cbz	w22, LBB0_6
; %bb.5:
	cbnz	w21, LBB0_11
LBB0_6:
	mov	x0, x20
	bl	_get_bits1
	mov	x22, x0
	cmp	w0, #0
	ccmp	w21, #0, #0, ne
	add	w8, w23, #8
	csel	w23, w23, w8, ne
	cbz	w21, LBB0_8
; %bb.7:
	cbnz	w22, LBB0_11
LBB0_8:
	mov	x0, x20
	bl	_get_bits1
	mov	x21, x0
	cmp	w0, #0
	ccmp	w22, #0, #0, ne
	add	w8, w23, #13
	csel	w23, w23, w8, ne
	cbz	w22, LBB0_10
; %bb.9:
	cbnz	w21, LBB0_11
LBB0_10:
	mov	x0, x20
	bl	_get_bits1
	cmp	w0, #0
	ccmp	w21, #0, #0, ne
	add	w8, w23, #21
	csel	w23, w23, w8, ne
LBB0_11:
	sub	w8, w23, #33
	cmn	w8, #32
	b.hs	LBB0_13
; %bb.12:
	mov	w8, #0
	mov	w0, #-1
	b	LBB0_16
LBB0_13:
	sub	w21, w23, #1
	cbz	w21, LBB0_15
; %bb.14:
	mov	x0, x20
	mov	x1, x21
	bl	_get_bits_long
	mov	x8, x0
	mov	w0, #0
	mov	w9, #1
	lsl	w9, w9, w21
	orr	w8, w8, w9
	sub	w8, w8, #1
	b	LBB0_16
LBB0_15:
	mov	w8, #0
	mov	w0, #0
LBB0_16:
	str	w8, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lag_decode_prob
.subsections_via_symbols
