	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbc_analyze_audio
_sbc_analyze_audio:                     ## @sbc_analyze_audio
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rsi), %eax
	cmpl	$4, %eax
	je	LBB0_9
## %bb.1:
	cmpl	$8, %eax
	jne	LBB0_16
## %bb.2:
	movl	4(%r14), %edx
	testl	%edx, %edx
	jle	LBB0_18
## %bb.3:
	movl	(%r15), %ecx
	movl	8(%r14), %eax
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	movslq	%edx, %rsi
	cmpq	%rsi, %r12
	jge	LBB0_19
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	testl	%eax, %eax
	jle	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%r15), %rdx
	subl	%ecx, %eax
	shll	$3, %eax
	addl	16(%r15), %eax
	movslq	%eax, %r13
	shlq	$2, %r13
	addq	(%rdx,%r12,8), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rax
	movslq	%ebx, %rbx
	movq	(%rax,%rbx,8), %rcx
	movq	8(%rax,%rbx,8), %rax
	movq	(%rcx,%r12,8), %rdx
	movq	(%rax,%r12,8), %rcx
	subq	%rdx, %rcx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	*8(%r15)
	movslq	(%r15), %rcx
	movq	%rcx, %rax
	shlq	$5, %rax
	subq	%rax, %r13
	addl	%ecx, %ebx
	movl	8(%r14), %eax
	cmpl	%eax, %ebx
	jl	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r14), %edx
	jmp	LBB0_4
LBB0_9:
	movl	4(%r14), %edx
	testl	%edx, %edx
	jle	LBB0_20
## %bb.10:
	movl	(%r15), %ecx
	movl	8(%r14), %eax
	xorl	%r12d, %r12d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r12
	movslq	%edx, %rsi
	cmpq	%rsi, %r12
	jge	LBB0_21
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	testl	%eax, %eax
	jle	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	24(%r15), %rdx
	subl	%ecx, %eax
	shll	$2, %eax
	addl	16(%r15), %eax
	movslq	%eax, %r13
	shlq	$2, %r13
	addq	(%rdx,%r12,8), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rax
	movslq	%ebx, %rbx
	movq	(%rax,%rbx,8), %rcx
	movq	8(%rax,%rbx,8), %rax
	movq	(%rcx,%r12,8), %rdx
	movq	(%rax,%r12,8), %rcx
	subq	%rdx, %rcx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	*32(%r15)
	movslq	(%r15), %rcx
	movq	%rcx, %rax
	shlq	$4, %rax
	subq	%rax, %r13
	addl	%ecx, %ebx
	movl	8(%r14), %eax
	cmpl	%eax, %ebx
	jl	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	4(%r14), %edx
	jmp	LBB0_11
LBB0_16:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_18:
	movl	8(%r14), %eax
LBB0_19:
	shll	$3, %eax
	jmp	LBB0_22
LBB0_20:
	movl	8(%r14), %eax
LBB0_21:
	shll	$2, %eax
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_sbc_analyze_audio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbc_analyze_audio
_sbc_analyze_audio:                     ; @sbc_analyze_audio
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x1]
	cmp	w8, #4
	b.eq	LBB0_9
; %bb.1:
	cmp	w8, #8
	b.ne	LBB0_16
; %bb.2:
	ldr	w10, [x19, #4]
	cmp	w10, #0
	b.le	LBB0_17
; %bb.3:
	mov	x22, #0
	ldr	w8, [x20]
	ldr	w9, [x19, #8]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	cmp	x22, w10, sxtw
	b.ge	LBB0_18
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w23, #0
	ldr	x10, [x20, #24]
	ldr	x10, [x10, x22, lsl #3]
	sub	w8, w9, w8
	ldr	w9, [x20, #16]
	add	w8, w9, w8, lsl #3
	add	x21, x10, w8, sxtw #2
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #16]
	add	x9, x9, w23, sxtw #3
	lsl	x10, x22, #3
	ldp	x11, x9, [x9]
	ldr	x2, [x11, x10]
	ldr	x9, [x9, x10]
	sub	x3, x9, x2
	mov	x0, x20
	mov	x1, x21
	blr	x8
	ldrsw	x8, [x20]
	sub	x21, x21, x8, lsl #5
	ldr	w9, [x19, #8]
	add	w23, w8, w23
	cmp	w23, w9
	b.lt	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x19, #4]
	b	LBB0_4
LBB0_9:
	ldr	w10, [x19, #4]
	cmp	w10, #0
	b.le	LBB0_19
; %bb.10:
	mov	x22, #0
	ldr	w8, [x20]
	ldr	w9, [x19, #8]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	cmp	x22, w10, sxtw
	b.ge	LBB0_20
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w23, #0
	ldr	x10, [x20, #24]
	ldr	x10, [x10, x22, lsl #3]
	sub	w8, w9, w8
	ldr	w9, [x20, #16]
	add	w8, w9, w8, lsl #2
	add	x21, x10, w8, sxtw #2
LBB0_14:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #32]
	ldr	x9, [x19, #16]
	add	x9, x9, w23, sxtw #3
	lsl	x10, x22, #3
	ldp	x11, x9, [x9]
	ldr	x2, [x11, x10]
	ldr	x9, [x9, x10]
	sub	x3, x9, x2
	mov	x0, x20
	mov	x1, x21
	blr	x8
	ldrsw	x8, [x20]
	sub	x21, x21, x8, lsl #4
	ldr	w9, [x19, #8]
	add	w23, w8, w23
	cmp	w23, w9
	b.lt	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w10, [x19, #4]
	b	LBB0_11
LBB0_16:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_17:
	ldr	w9, [x19, #8]
LBB0_18:
	lsl	w0, w9, #3
	b	LBB0_21
LBB0_19:
	ldr	w9, [x19, #8]
LBB0_20:
	lsl	w0, w9, #2
LBB0_21:
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_sbc_analyze_audio
.subsections_via_symbols
