	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function analyze_frame
_analyze_frame:                         ## @analyze_frame
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_perform_dc_correction
LBB0_2:
	movq	(%r15), %rax
	movq	_DBL_EPSILON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_perform_compression
LBB0_4:
	cmpq	$0, 16(%r15)
	je	LBB0_5
## %bb.8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$-1, %edx
	callq	_get_max_local_gain
	cmpl	$0, 8(%r15)
	jle	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_update_gain_history
	incl	%ebx
	cmpl	8(%r15), %ebx
	jl	LBB0_10
	jmp	LBB0_11
LBB0_5:
	cmpl	$0, 8(%r15)
	jle	LBB0_11
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_get_max_local_gain
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_update_gain_history
	incl	%ebx
	cmpl	8(%r15), %ebx
	jl	LBB0_7
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBL_EPSILON,8,3                ## @DBL_EPSILON
	.no_dead_strip	_analyze_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function analyze_frame
_analyze_frame:                         ; @analyze_frame
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_perform_dc_correction
LBB0_2:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _DBL_EPSILON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DBL_EPSILON@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_perform_compression
LBB0_4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #-1
	bl	_get_max_local_gain
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.6:
	fmov	d8, d0
	mov	w20, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	fmov	d0, d8
	bl	_update_gain_history
	add	w20, w20, #1
	ldr	w8, [x19, #8]
	cmp	w20, w8
	b.lt	LBB0_7
	b	LBB0_11
LBB0_8:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	w21, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_get_max_local_gain
	mov	x0, x19
	mov	x1, x21
	bl	_update_gain_history
	add	w21, w21, #1
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.lt	LBB0_10
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DBL_EPSILON,8,3                ; @DBL_EPSILON
	.no_dead_strip	_analyze_frame
.subsections_via_symbols
