	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_vlc_state
_update_vlc_state:                      ## @update_vlc_state
	.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, %r14
	movl	4(%rdi), %r12d
	movl	(%rdi), %r15d
	addl	%esi, %r15d
	movl	%esi, %edi
	callq	_FFABS
	addl	8(%r14), %eax
	cmpl	$128, %r12d
	movl	$64, %ebx
	cmovnel	%r12d, %ebx
	sete	%cl
	sarl	%cl, %eax
	sarl	%cl, %r15d
	movl	%eax, 8(%r14)
	leal	1(%rbx), %r12d
	movl	%ebx, %eax
	notl	%eax
	cmpl	%eax, %r15d
	jle	LBB0_1
## %bb.2:
	testl	%r15d, %r15d
	jle	LBB0_5
## %bb.3:
	movl	12(%r14), %edi
	incl	%edi
	movl	$127, %esi
	callq	_FFMIN
	movl	%eax, 12(%r14)
	subl	%r12d, %r15d
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_FFMIN
	jmp	LBB0_4
LBB0_1:
	movl	12(%r14), %edi
	decl	%edi
	movl	$-128, %esi
	callq	_FFMAX
	movl	%eax, 12(%r14)
	addl	%r12d, %r15d
	negl	%ebx
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_FFMAX
LBB0_4:
	movq	%rax, %r15
LBB0_5:
	movl	%r15d, (%r14)
	movl	%r12d, 4(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_vlc_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_vlc_state
_update_vlc_state:                      ; @update_vlc_state
	.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, x1
	mov	x19, x0
	ldp	w21, w22, [x0]
	mov	x0, x1
	bl	_FFABS
	ldr	w8, [x19, #8]
	add	w8, w8, w0
	add	w9, w21, w20
	mov	w10, #64
	cmp	w22, #128
	csel	w22, w10, w22, eq
	cset	w10, eq
	asr	w8, w8, w10
	asr	w20, w9, w10
	str	w8, [x19, #8]
	add	w21, w22, #1
	mvn	w8, w22
	cmp	w20, w8
	b.le	LBB0_3
; %bb.1:
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.2:
	ldr	w8, [x19, #12]
	add	w0, w8, #1
	mov	w1, #127
	bl	_FFMIN
	str	w0, [x19, #12]
	sub	w0, w20, w21
	mov	w1, #0
	bl	_FFMIN
	mov	x20, x0
	b	LBB0_4
LBB0_3:
	ldr	w8, [x19, #12]
	sub	w0, w8, #1
	mov	w1, #-128
	bl	_FFMAX
	str	w0, [x19, #12]
	add	w0, w20, w21
	neg	w1, w22
	bl	_FFMAX
	mov	x20, x0
LBB0_4:
	stp	w20, w21, [x19]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_vlc_state
.subsections_via_symbols
