	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function mpc_set_replay_level
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x45a00000                      ## float 5120
LCPI0_2:
	.long	0xbb800000                      ## float -0.00390625
LCPI0_3:
	.long	0x41a00000                      ## float 20
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mpc_set_replay_level
	.p2align	4, 0x90
_mpc_set_replay_level:                  ## @mpc_set_replay_level
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	xorl	%eax, %eax
	testq	%rdx, %rdx
	setne	%cl
	movq	%r14, %rdx
	orq	%rsi, %rdx
	je	LBB0_10
## %bb.1:
	movq	%rsi, %rbx
	movaps	%xmm0, %xmm1
	movq	%rdi, %r15
	movb	%cl, %al
	movq	8(%rdi,%rax,8), %r12
	movq	24(%rdi,%rax,8), %rax
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm2
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	divss	LCPI0_1(%rip), %xmm0
	movl	$10, %edi
	movss	%xmm1, -36(%rbp)                ## 4-byte Spill
	callq	_pow
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movl	%eax, %ecx
	movl	$32768, %eax                    ## imm = 0x8000
	xorl	%edx, %edx
	idivl	%ecx
	xorps	%xmm2, %xmm2
	cvtsi2ss	%eax, %xmm2
LBB0_3:
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r12, %xmm0
	mulss	LCPI0_2(%rip), %xmm0
	addss	%xmm0, %xmm1
	divss	LCPI0_3(%rip), %xmm1
	movl	$10, %edi
	movaps	%xmm1, %xmm0
	movss	%xmm2, -36(%rbp)                ## 4-byte Spill
	callq	_pow
	movss	-36(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
LBB0_5:
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	minss	%xmm0, %xmm2
LBB0_7:
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	movaps	%xmm2, %xmm0
LBB0_9:
	movl	(%r15), %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mpc_decoder_scale_output       ## TAILCALL
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc_set_replay_level           ; -- Begin function mpc_set_replay_level
	.p2align	2
_mpc_set_replay_level:                  ; @mpc_set_replay_level
	.cfi_startproc
; %bb.0:
	mov	w8, #32
	mov	w9, #24
	cmp	x2, #0
	csel	x8, x9, x8, eq
	mov	w9, #16
	mov	w10, #8
	csel	x9, x10, x9, eq
	orr	x10, x3, x1
	cbz	x10, LBB0_6
; %bb.1:
	stp	d11, d10, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	mov	x19, x3
	mov	x21, x1
	fmov	s8, s0
	mov	x20, x0
	ldr	x8, [x0, x8]
	ldr	x22, [x0, x9]
	fmov	s10, #1.00000000
	fmov	s9, #1.00000000
	cbz	x8, LBB0_3
; %bb.2:
	scvtf	s0, x8
	mov	w8, #1168113664
	fmov	s1, w8
	fdiv	s0, s0, s1
	mov	w0, #10
	bl	_pow
	mov	w8, #32768
	sdiv	w8, w8, w0
	scvtf	s9, w8
LBB0_3:
	cbz	x22, LBB0_5
; %bb.4:
	scvtf	s0, x22
	mov	w8, #-1149239296
	fmov	s1, w8
	fmul	s0, s0, s1
	fadd	s0, s8, s0
	fmov	s1, #20.00000000
	fdiv	s0, s0, s1
	mov	w0, #10
	bl	_pow
	scvtf	s10, w0
LBB0_5:
	fcmp	s9, s10
	ccmp	x21, #0, #4, pl
	ccmp	x19, #0, #4, eq
	fcsel	s0, s10, s9, eq
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	b	_mpc_decoder_scale_output
LBB0_6:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value b8
	.cfi_same_value b9
	.cfi_same_value b10
	.cfi_same_value b11
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
