	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lme2510_update_stats
_lme2510_update_stats:                  ## @lme2510_update_stats
	.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
	movq	%rdi, %rbx
	callq	_adap_to_priv
	movq	%rax, %r12
	movq	(%rbx), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.1:
	movl	$1, 80(%rbx)
	movq	_FE_SCALE_NOT_AVAILABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	88(%rbx), %rdx
	movq	%rcx, (%rdx)
	movl	$1, 64(%rbx)
	movq	(%rax), %rcx
	movq	72(%rbx), %rdx
	movq	%rcx, (%rdx)
	movl	$1, 48(%rbx)
	movq	(%rax), %rcx
	movq	56(%rbx), %rdx
	movq	%rcx, (%rdx)
	movl	$1, 32(%rbx)
	movq	(%rax), %rcx
	movq	40(%rbx), %rdx
	movq	%rcx, (%rdx)
	cmpq	$0, 16(%r12)
	je	LBB0_3
## %bb.2:
	movl	$1, 16(%rbx)
	movq	(%rax), %rax
	movq	24(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movl	$1, (%rbx)
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	jmp	LBB0_12
LBB0_3:
	movl	(%r12), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_8
## %bb.4:
	cmpl	$130, %eax
	je	LBB0_9
## %bb.5:
	cmpl	$131, %eax
	jne	LBB0_6
## %bb.7:
	movl	$255, %r15d
	movl	$255, %edi
	subl	4(%r12), %edi
	callq	_reg_to_16bits
	movl	%eax, %r14d
	subl	8(%r12), %r15d
	jmp	LBB0_10
LBB0_8:
	movl	4(%r12), %eax
	shll	$9, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, %ecx
	orl	$3, %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movl	$65535, %r14d                   ## imm = 0xFFFF
	subl	%ecx, %r14d
	movl	$94, %eax
	subl	8(%r12), %eax
	leal	(%rax,%rax,2), %r15d
	jmp	LBB0_10
LBB0_9:
	movl	4(%r12), %edi
	callq	_reg_to_16bits
	movl	%eax, %r14d
	movl	8(%r12), %r15d
LBB0_10:
	movl	%r15d, %edi
	callq	_reg_to_16bits
	cltq
	jmp	LBB0_11
LBB0_6:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
LBB0_11:
	movl	$1, 16(%rbx)
	movq	_FE_SCALE_RELATIVE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	24(%rbx), %rsi
	movq	%rdx, 8(%rsi)
	movslq	%r14d, %rdx
	movq	%rdx, (%rsi)
	movl	$1, (%rbx)
	movq	(%rcx), %rcx
	movq	8(%rbx), %rdx
	movq	%rcx, 8(%rdx)
	movq	%rax, (%rdx)
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_SCALE_NOT_AVAILABLE,8,3     ## @FE_SCALE_NOT_AVAILABLE
	.comm	_FE_SCALE_RELATIVE,8,3          ## @FE_SCALE_RELATIVE
	.no_dead_strip	_lme2510_update_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lme2510_update_stats
_lme2510_update_stats:                  ; @lme2510_update_stats
	.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	x20, x0
	bl	_adap_to_priv
	ldr	x8, [x20]
	ldr	x21, [x8]
	cbz	x21, LBB0_12
; %bb.1:
	mov	x19, x0
	mov	w8, #1
	str	w8, [x21, #80]
Lloh0:
	adrp	x9, _FE_SCALE_NOT_AVAILABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FE_SCALE_NOT_AVAILABLE@GOTPAGEOFF]
	ldr	x10, [x9]
	ldr	x11, [x21, #88]
	str	x10, [x11]
	str	w8, [x21, #64]
	ldr	x10, [x9]
	ldr	x11, [x21, #72]
	str	x10, [x11]
	str	w8, [x21, #48]
	ldr	x10, [x9]
	ldr	x11, [x21, #56]
	str	x10, [x11]
	str	w8, [x21, #32]
	ldr	x10, [x9]
	ldr	x11, [x21, #40]
	str	x10, [x11]
	ldr	x10, [x0, #16]
	cbz	x10, LBB0_3
; %bb.2:
	str	w8, [x21, #16]
	ldr	x9, [x9]
	ldr	x10, [x21, #24]
	str	x9, [x10, #8]
	str	w8, [x21]
	ldr	x8, [x21, #8]
	str	x9, [x8, #8]
	b	LBB0_12
LBB0_3:
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_7
; %bb.4:
	cmp	w8, #130
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #131
	b.ne	LBB0_10
; %bb.6:
	ldr	w8, [x19, #4]
	mov	w22, #255
	sub	w0, w22, w8
	bl	_reg_to_16bits
	mov	x20, x0
	ldr	w8, [x19, #8]
	sub	w0, w22, w8
	b	LBB0_9
LBB0_7:
	ldp	w8, w9, [x19, #4]
	add	w8, w8, w8, lsl #2
	lsl	w10, w8, #9
	mov	w11, #3
	bfi	w11, w8, #9, #23
	cmp	w10, #0
	csel	w8, w11, w10, lt
	mov	w10, #65535
	sub	w20, w10, w8, asr #2
	mov	w8, #94
	sub	w8, w8, w9
	add	w0, w8, w8, lsl #1
	b	LBB0_9
LBB0_8:
	ldr	w0, [x19, #4]
	bl	_reg_to_16bits
	mov	x20, x0
	ldr	w0, [x19, #8]
LBB0_9:
	bl	_reg_to_16bits
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	b	LBB0_11
LBB0_10:
	mov	w20, #0
	mov	x8, #0
LBB0_11:
	mov	w9, #1
	str	w9, [x21, #16]
Lloh2:
	adrp	x10, _FE_SCALE_RELATIVE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _FE_SCALE_RELATIVE@GOTPAGEOFF]
	ldr	x11, [x10]
	ldr	x12, [x21, #24]
	sxtw	x13, w20
	stp	x13, x11, [x12]
	str	w9, [x21]
	ldr	x9, [x10]
	ldr	x10, [x21, #8]
	stp	x8, x9, [x10]
LBB0_12:
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_SCALE_NOT_AVAILABLE,8,3     ; @FE_SCALE_NOT_AVAILABLE
	.comm	_FE_SCALE_RELATIVE,8,3          ; @FE_SCALE_RELATIVE
	.no_dead_strip	_lme2510_update_stats
.subsections_via_symbols
