	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_band_indexes
_compute_band_indexes:                  ## @compute_band_indexes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	cmpl	$2, (%rsi)
	jne	LBB0_6
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.2:
	movq	%rdi, %r14
	movl	(%rdi), %eax
	cmpl	$8, %eax
	jne	LBB0_4
## %bb.3:
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_avpriv_request_sample
	movl	(%r14), %eax
LBB0_4:
	xorl	%ecx, %ecx
	cmpl	$3, %eax
	setl	%cl
	leal	(%rcx,%rcx), %eax
	addl	$6, %eax
	movl	%eax, 4(%rbx)
	movl	$3, 8(%rbx)
	jmp	LBB0_7
LBB0_6:
	movabsq	$55834574870, %rax              ## imm = 0xD00000016
	movq	%rax, 4(%rbx)
	jmp	LBB0_7
LBB0_5:
	movq	$0, 4(%rbx)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"switch point in 8khz"

	.no_dead_strip	_compute_band_indexes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function compute_band_indexes
lCPI0_0:
	.long	22                              ; 0x16
	.long	13                              ; 0xd
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_compute_band_indexes:                  ; @compute_band_indexes
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	w8, [x1]
	cmp	w8, #2
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, #8
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x20, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_avpriv_request_sample
	ldr	w8, [x20]
LBB0_4:
	mov	w9, #6
	mov	w10, #8
	cmp	w8, #3
	csel	w8, w10, w9, lt
	mov	w9, #3
	stp	w8, w9, [x19, #4]
	b	LBB0_7
LBB0_5:
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #4]
	b	LBB0_7
LBB0_6:
	stp	wzr, wzr, [x19, #4]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"switch point in 8khz"

	.no_dead_strip	_compute_band_indexes
.subsections_via_symbols
