	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rc_bit_price
_rc_bit_price:                          ## @rc_bit_price
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	_lzma_rc_prices@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%edi, %edi
	callq	_UINT32_C
	subl	%ebx, %eax
	movq	_RC_BIT_MODEL_TOTAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	decl	%edx
	andl	%eax, %edx
	xorl	%r14d, %edx
	movq	_RC_MOVE_REDUCING_BITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	movslq	%edx, %rax
	movl	(%r15,%rax,4), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lzma_rc_prices,8,3             ## @lzma_rc_prices
	.comm	_RC_BIT_MODEL_TOTAL,4,2         ## @RC_BIT_MODEL_TOTAL
	.comm	_RC_MOVE_REDUCING_BITS,4,2      ## @RC_MOVE_REDUCING_BITS
	.no_dead_strip	_rc_bit_price
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rc_bit_price
_rc_bit_price:                          ; @rc_bit_price
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _lzma_rc_prices@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lzma_rc_prices@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	mov	w0, #0
	bl	_UINT32_C
Lloh3:
	adrp	x8, _RC_BIT_MODEL_TOTAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RC_BIT_MODEL_TOTAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sub	w8, w8, #1
	sub	w9, w0, w19
	and	w8, w8, w9
Lloh6:
	adrp	x9, _RC_MOVE_REDUCING_BITS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RC_MOVE_REDUCING_BITS@GOTPAGEOFF]
	eor	w8, w8, w20
Lloh8:
	ldr	w9, [x9]
	asr	w8, w8, w9
	ldr	w0, [x21, w8, sxtw #2]
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_lzma_rc_prices,8,3             ; @lzma_rc_prices
	.comm	_RC_BIT_MODEL_TOTAL,4,2         ; @RC_BIT_MODEL_TOTAL
	.comm	_RC_MOVE_REDUCING_BITS,4,2      ; @RC_MOVE_REDUCING_BITS
	.no_dead_strip	_rc_bit_price
.subsections_via_symbols
