	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RangeDec_Decode
_RangeDec_Decode:                       ## @RangeDec_Decode
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	8(%rdi), %r14d
	imull	%eax, %esi
	subl	%esi, %r14d
	addl	4(%rdi), %esi
	movl	%esi, 4(%rdi)
	movl	%r14d, 8(%rdi)
	imull	%eax, %edx
	movl	%edx, (%rdi)
	movq	_kTop@GOTPCREL(%rip), %r15
	movq	_kBot@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	shll	$8, %r14d
	movq	16(%rbx), %rdi
	callq	*(%rdi)
	orl	%eax, %r14d
	movl	%r14d, 8(%rbx)
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	shll	$8, %edx
	movl	%edx, (%rbx)
	shll	$8, %esi
	movl	%esi, 4(%rbx)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rdx,%rsi), %eax
	xorl	%esi, %eax
	cmpl	(%r15), %eax
	jl	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %eax
	cmpl	%eax, %edx
	jge	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	negl	%esi
	decl	%eax
	andl	%esi, %eax
	movl	%eax, (%rbx)
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kTop,4,2                       ## @kTop
	.comm	_kBot,4,2                       ## @kBot
	.no_dead_strip	_RangeDec_Decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RangeDec_Decode
_RangeDec_Decode:                       ; @RangeDec_Decode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w9, w8, [x0]
	mul	w10, w9, w1
	add	w8, w8, w10
	ldr	w11, [x0, #8]
	sub	w20, w11, w10
	stp	w8, w20, [x0, #4]
	mul	w9, w9, w2
	str	w9, [x0]
Lloh0:
	adrp	x21, _kTop@GOTPAGE
Lloh1:
	ldr	x21, [x21, _kTop@GOTPAGEOFF]
Lloh2:
	adrp	x22, _kBot@GOTPAGE
Lloh3:
	ldr	x22, [x22, _kBot@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #16]
	ldr	x8, [x0]
	blr	x8
	orr	w20, w0, w20, lsl #8
	ldp	w8, w10, [x19]
	lsl	w9, w8, #8
	lsl	w8, w10, #8
	str	w9, [x19]
	stp	w8, w20, [x19, #4]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w10, w9, w8
	eor	w10, w10, w8
	ldr	w11, [x21]
	cmp	w10, w11
	b.lt	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x22]
	cmp	w9, w10
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w9, w10, #1
	neg	w8, w8
	and	w8, w9, w8
	str	w8, [x19]
	b	LBB0_1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_kTop,4,2                       ; @kTop
	.comm	_kBot,4,2                       ; @kBot
	.no_dead_strip	_RangeDec_Decode
.subsections_via_symbols
